:root {
  --paper: #f2ede3;
  --paper-light: #f8f5ee;
  --ink: #1d1c19;
  --muted: #746f66;
  --line: rgba(29, 28, 25, 0.16);
  --red: #a34531;
  --red-dark: #7f3022;
  --tea: #7b644c;
  --night: #1f1d19;
  --page: min(1400px, calc(100vw - 96px));
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  min-width: 320px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(43, 38, 29, 0.25) 0 0.4px, transparent 0.6px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.9) 0 0.5px, transparent 0.8px);
  background-size: 5px 5px, 7px 7px;
  mix-blend-mode: multiply;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

video {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: white;
  background: var(--red);
  transform: translateY(-150%);
  transition: transform 0.25s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: var(--page);
  margin: 0 auto;
}

.section-pad {
  padding: 150px 0;
}

.eyebrow {
  margin-bottom: 26px;
  color: var(--tea);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-content: center;
  justify-items: center;
  color: var(--paper-light);
  background: var(--night);
  transition: opacity 0.7s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.7s;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-family: var(--serif);
  font-size: 28px;
  overflow: hidden;
}

.loader-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loader-line {
  width: 180px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.loader-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red);
  transform-origin: left;
  animation: loader 1.15s cubic-bezier(0.65, 0, 0.35, 1) both;
}

.page-loader p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 9px;
  letter-spacing: 0.28em;
}

@keyframes loader {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 92px;
  padding: 0 48px;
  border-bottom: 1px solid transparent;
  transition: height 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled {
  height: 72px;
  border-color: var(--line);
  background: rgba(242, 237, 227, 0.89);
  backdrop-filter: blur(16px);
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 13px;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--paper-light);
  background: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 13px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 44px;
}

.site-nav a {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.site-nav a::after {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.header-cta span {
  color: var(--red);
}

.arrow-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 12px;
  color: currentColor;
}

.arrow-icon::before,
.arrow-icon::after {
  position: absolute;
  content: "";
}

.arrow-icon::before {
  top: 5px;
  left: 0;
  width: 18px;
  height: 1.5px;
  border-radius: 99px;
  background: currentColor;
}

.arrow-icon::after {
  top: 1px;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

.arrow-icon-diagonal {
  transform: rotate(-45deg);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--paper-light);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  transform: scale(1.035) translate3d(var(--hero-x, 0), var(--hero-y, 0), 0);
  transform-origin: center;
  transition: transform 0.3s ease-out;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media video {
  display: block;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247, 243, 235, 0.78) 0%, rgba(247, 243, 235, 0.7) 27%, rgba(247, 243, 235, 0.3) 50%, rgba(247, 243, 235, 0) 68%),
    linear-gradient(0deg, rgba(18, 16, 13, 0.18), transparent 28%);
}

.steam {
  position: absolute;
  width: 55px;
  height: 240px;
  opacity: 0.2;
  filter: blur(7px);
  border-left: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  animation: steamDrift 7s ease-in-out infinite;
}

.steam-one {
  right: 31%;
  bottom: 37%;
}

.steam-two {
  right: 28%;
  bottom: 40%;
  height: 160px;
  animation-delay: -3.5s;
}

@keyframes steamDrift {
  0%, 100% { transform: translate3d(0, 20px, 0) rotate(-7deg) scaleX(0.8); opacity: 0; }
  30% { opacity: 0.2; }
  60% { transform: translate3d(25px, -35px, 0) rotate(8deg) scaleX(1.15); opacity: 0.14; }
  90% { opacity: 0; }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  align-items: center;
  height: 100%;
  padding-top: 80px;
}

.hero-copy {
  min-width: 0;
  padding-left: 4px;
}

.hero-eyebrow {
  opacity: 0;
}

.hero.is-active .hero-eyebrow {
  animation: fadeUp 0.7s 1.3s ease forwards;
}

.hero h1 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(58px, 5.8vw, 100px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.title-line {
  display: block;
  max-width: 100%;
  overflow: hidden;
}

.title-line > span {
  display: block;
  transform: translateY(115%);
}

.hero.is-active .title-line > span {
  animation: titleReveal 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero.is-active .title-line:nth-child(1) > span { animation-delay: 1.05s; }
.hero.is-active .title-line:nth-child(2) > span { animation-delay: 1.14s; }
.hero.is-active .title-line:nth-child(3) > span { animation-delay: 1.23s; }

.hero h1 .accent {
  color: var(--red);
}

.hero-lead,
.hero-actions,
.hero-proof {
  opacity: 0;
}

.hero.is-active .hero-lead,
.hero.is-active .hero-actions,
.hero.is-active .hero-proof {
  animation: fadeUp 0.8s 1.45s ease forwards;
}

.hero[data-replay="true"].is-active .hero-eyebrow { animation-delay: 0.08s; }
.hero[data-replay="true"].is-active .title-line:nth-child(1) > span { animation-delay: 0.06s; }
.hero[data-replay="true"].is-active .title-line:nth-child(2) > span { animation-delay: 0.14s; }
.hero[data-replay="true"].is-active .title-line:nth-child(3) > span { animation-delay: 0.22s; }
.hero[data-replay="true"].is-active .hero-lead,
.hero[data-replay="true"].is-active .hero-actions,
.hero[data-replay="true"].is-active .hero-proof { animation-delay: 0.32s; }

.hero-lead {
  width: 100%;
  max-width: 520px;
  margin-bottom: 34px;
  color: #5d584f;
  font-size: clamp(15px, 1.3vw, 18px);
  letter-spacing: 0.05em;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

@keyframes titleReveal {
  to { transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 190px;
  min-height: 56px;
  padding: 0 22px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  letter-spacing: 0.08em;
}

.button::before {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--red-dark);
  transform: translateY(102%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.button:hover::before {
  transform: translateY(0);
}

.button span {
  position: relative;
  z-index: 1;
}

.button-primary {
  color: #fffaf1;
  background: var(--red);
}

.showreel-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border: 0;
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.play-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(29, 28, 25, 0.45);
  border-radius: 50%;
  font-size: 9px;
  transition: color 0.3s, background 0.3s, transform 0.3s;
}

.play-icon::before {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  content: "";
}

.showreel-button:hover .play-icon {
  color: white;
  background: var(--ink);
  transform: scale(1.08);
}

.hero-proof {
  display: flex;
  gap: 28px;
  margin-top: 46px;
  color: #5f5b53;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof i {
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
}

.hero-note {
  align-self: end;
  justify-self: end;
  margin-bottom: 95px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.82);
}

.hero-note span {
  font-size: 9px;
  letter-spacing: 0.2em;
}

.hero-note p {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.08em;
}

.hero-note.is-switching {
  animation: shotNote 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes shotNote {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 48px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(29, 28, 25, 0.5);
  font-size: 8px;
  letter-spacing: 0.22em;
  transform: rotate(-90deg) translateX(100%);
  transform-origin: left bottom;
}

.scroll-cue i {
  display: block;
  width: 42px;
  height: 1px;
  overflow: hidden;
  background: rgba(29, 28, 25, 0.25);
}

.scroll-cue i::after {
  display: block;
  width: 20px;
  height: 1px;
  content: "";
  background: var(--red);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: translateX(-22px); }
  100% { transform: translateX(44px); }
}

.manifesto {
  background: var(--paper-light);
}

.manifesto-grid,
.fit-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 70px;
}

.section-index {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-top: 5px;
}

.section-index span {
  color: var(--red);
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
}

.section-index p {
  margin: 3px 0 0;
  padding-left: 18px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.16em;
  line-height: 1.75;
}

.manifesto-copy h2,
.fit h2 {
  max-width: 1000px;
  margin-bottom: 55px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.2vw, 70px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.35;
}

.manifesto-copy h2 span {
  color: var(--red);
}

.manifesto-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  max-width: 900px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.manifesto-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.services {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 74px;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.section-heading > p {
  max-width: 390px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-item {
  position: relative;
  display: grid;
  grid-template-columns: 100px 1.3fr 0.8fr 50px;
  align-items: center;
  gap: 36px;
  min-height: 190px;
  padding: 38px 24px 38px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.service-item::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: var(--paper-light);
  transform: translateX(-102%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-item:hover::before {
  transform: translateX(0);
}

.service-number {
  align-self: start;
  color: var(--red);
  font-family: var(--serif);
  font-size: 15px;
}

.service-item h3 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.service-item p {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.service-item ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-item li,
.fit-tags span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.service-arrow {
  justify-self: end;
  width: 20px;
  height: 14px;
  transition: color 0.3s, transform 0.3s;
}

.service-arrow::before {
  width: 20px;
}

.service-item:hover .service-arrow {
  color: var(--red);
  transform: translate(3px, -3px) rotate(-45deg);
}

.work {
  color: var(--paper-light);
  background: var(--night);
}

.work .eyebrow,
.work .section-heading > p {
  color: rgba(246, 241, 232, 0.55);
}

.work-heading {
  align-items: flex-start;
}

.work-heading h2 {
  font-size: clamp(44px, 5vw, 78px);
}

.work-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.filter-group {
  display: flex;
  gap: 8px;
}

.filter-button {
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.55);
  background: transparent;
  font-size: 11px;
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--red);
  color: white;
  background: var(--red);
}

.case-count {
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  letter-spacing: 0.18em;
}

.case-count b {
  margin-right: 8px;
  color: white;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 64px 24px;
  margin-top: 50px;
}

.case-card {
  grid-column: span 5;
  transition: opacity 0.35s, transform 0.35s;
}

.case-card:nth-child(3) {
  grid-column: 2 / span 5;
}

.case-card-wide {
  grid-column: span 7;
}

.case-card.is-hidden {
  display: none;
}

.case-open {
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: left;
  background: none;
}

.case-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #302b24;
}

.case-card-wide .case-image {
  aspect-ratio: 16 / 9;
}

.case-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.38));
  opacity: 0;
  transition: opacity 0.45s;
}

.case-image::before {
  position: absolute;
  inset: -20%;
  z-index: 1;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 239, 211, 0.22) 49%, transparent 66%);
  transform: translateX(-55%);
  animation: caseLight 11s ease-in-out infinite;
}

.case-card:nth-child(2) .case-image::before { animation-delay: -3s; }
.case-card:nth-child(3) .case-image::before { animation-delay: -6s; }
.case-card:nth-child(4) .case-image::before { animation-delay: -8s; }

@keyframes caseLight {
  0%, 24% { transform: translateX(-60%); opacity: 0; }
  44% { opacity: 0.2; }
  64%, 100% { transform: translateX(60%); opacity: 0; }
}

.case-image img,
.case-image video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.case-image video {
  pointer-events: none;
}

.case-open:hover .case-image img,
.case-open:hover .case-image video {
  transform: scale(1.045);
  filter: saturate(0.9);
}

.case-open:hover .case-image::after {
  opacity: 1;
}

.case-play {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
  background: rgba(20, 18, 15, 0.68);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s, transform 0.35s, background 0.35s;
}

.case-open:hover .case-play {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(163, 69, 49, 0.92);
  opacity: 1;
  transform: translateY(0);
}

.case-play i {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
  font-style: normal;
  transform: rotate(-45deg);
}

.case-play i::before,
.case-play i::after {
  position: absolute;
  content: "";
}

.case-play i::before {
  top: 5px;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 99px;
}

.case-play i::after {
  top: 1px;
  right: 0;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

.case-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
}

.case-meta > span:first-child {
  display: grid;
}

.case-meta b {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.case-meta small,
.case-meta > span:last-child {
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.case-meta small {
  margin-top: 5px;
}

.case-meta > span:last-child {
  padding-top: 8px;
}

.method {
  position: relative;
  overflow: hidden;
  padding: 150px 0 130px;
  color: #eee7da;
  background: #342b23;
}

.method::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
}

.method-glow {
  position: absolute;
  top: -300px;
  right: -100px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(163, 69, 49, 0.24);
  filter: blur(100px);
  animation: methodGlow 10s ease-in-out infinite alternate;
}

@keyframes methodGlow {
  from { transform: translate3d(0, 0, 0) scale(0.96); opacity: 0.72; }
  to { transform: translate3d(-70px, 80px, 0) scale(1.12); opacity: 1; }
}

.method-inner {
  position: relative;
  z-index: 1;
}

.method-heading {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  margin-bottom: 88px;
}

.method-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.45);
}

.method-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 4.7vw, 74px);
  font-weight: 400;
  line-height: 1.25;
}

.method-heading > p {
  align-self: end;
  max-width: 420px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 2;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
}

.process-item {
  min-height: 270px;
  padding: 28px 30px 30px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.process-item:not(:first-child) {
  padding-left: 30px;
}

.process-item:last-child {
  border-right: 0;
}

.process-item > span {
  display: block;
  margin-bottom: 92px;
  color: #d5826d;
  font-family: var(--serif);
  font-size: 14px;
}

.process-item h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.process-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
  line-height: 1.8;
}

.method-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 70px;
  background: rgba(255, 255, 255, 0.15);
}

.method-stats div {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 28px 32px;
  background: #342b23;
}

.method-stats strong {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 400;
}

.method-stats span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

.fit {
  background: var(--paper-light);
}

.fit h2 {
  max-width: 850px;
  margin-bottom: 44px;
}

.fit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 820px;
  margin-bottom: 62px;
}

.fit-tags span {
  padding: 10px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
}

.notice {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 35px;
  max-width: 850px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.notice span {
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.15em;
}

.notice p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.contact {
  position: relative;
  overflow: hidden;
  color: var(--paper-light);
  background: #181715;
}

.contact-ink {
  position: absolute;
  top: -250px;
  left: -160px;
  width: 720px;
  height: 720px;
  opacity: 0.22;
  border: 1px solid var(--red);
  border-radius: 43% 57% 47% 53%;
  box-shadow: inset 0 0 110px rgba(163, 69, 49, 0.85);
  filter: blur(1px);
  animation: inkMorph 14s ease-in-out infinite alternate;
}

@keyframes inkMorph {
  to { transform: rotate(14deg) scale(1.08); border-radius: 58% 42% 62% 38%; }
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 110px;
}

.contact-copy h2 {
  margin-bottom: 34px;
  font-family: var(--serif);
  font-size: clamp(46px, 5vw, 80px);
  font-weight: 400;
  line-height: 1.2;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 400px;
  margin-bottom: 44px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
  line-height: 2;
}

.contact-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.contact-copy > a .arrow-icon {
  color: var(--red);
}

.project-form {
  display: grid;
  gap: 28px;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-form label {
  display: grid;
  gap: 9px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.project-form input,
.project-form select,
.project-form textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 0;
  outline: none;
  color: white;
  background: transparent;
  font-size: 13px;
  letter-spacing: 0;
  resize: vertical;
  transition: border-color 0.25s;
}

.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus {
  border-color: #d5826d;
}

.project-form input::placeholder,
.project-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.project-form select option {
  color: var(--ink);
}

.project-form .button {
  margin-top: 8px;
}

.form-status {
  min-height: 24px;
  margin: -10px 0 0;
  color: #d9a392;
  font-size: 12px;
}

.site-footer {
  padding: 60px 0 24px;
  color: rgba(255, 255, 255, 0.7);
  background: #11110f;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding-bottom: 55px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-family: var(--serif);
  overflow: hidden;
}

.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-brand strong {
  font-size: 12px;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.footer-top > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 9px;
  letter-spacing: 0.15em;
  line-height: 1.8;
}

.footer-top nav {
  display: flex;
  justify-self: end;
  gap: 30px;
  font-size: 11px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.28);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.reveal {
  opacity: 0;
  transform: translateY(38px) scale(0.99);
  will-change: opacity, transform;
}

.reveal.is-visible {
  animation: revealBounce 0.86s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms) both;
}

@keyframes revealBounce {
  0% { opacity: 0; transform: translateY(38px) scale(0.99); }
  72% { opacity: 1; transform: translateY(-5px) scale(1.002); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.case-dialog,
.showreel-dialog {
  width: min(1180px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  padding: 0;
  overflow: auto;
  border: 0;
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
}

.case-dialog::backdrop,
.showreel-dialog::backdrop {
  background: rgba(19, 17, 14, 0.82);
  backdrop-filter: blur(8px);
}

.case-dialog.is-fallback-open,
.showreel-dialog.is-fallback-open {
  position: fixed;
  inset: 24px;
  z-index: 1000;
  display: block;
  margin: auto;
}

.case-dialog.is-fallback-open::before,
.showreel-dialog.is-fallback-open::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(19, 17, 14, 0.82);
}

.dialog-shell {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  min-height: 650px;
}

.dialog-shell > * {
  min-width: 0;
}

.dialog-close {
  position: fixed;
  top: 26px;
  right: 30px;
  z-index: 5;
  display: grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: white;
  background: rgba(18, 17, 15, 0.5);
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
  font-size: 0;
  line-height: 0;
  appearance: none;
  -webkit-appearance: none;
}

.dialog-close::before,
.dialog-close::after {
  position: absolute;
  width: 17px;
  height: 1.5px;
  content: "";
  background: currentColor;
  border-radius: 99px;
}

.dialog-close::before {
  transform: rotate(45deg);
}

.dialog-close::after {
  transform: rotate(-45deg);
}

.dialog-media {
  min-height: 650px;
  background: #3a3027;
}

.dialog-media img,
.dialog-media video {
  width: 100%;
  height: 100%;
}

.dialog-media img {
  object-fit: cover;
}

.dialog-media video {
  display: block;
  object-fit: contain;
  background: #141310;
}

.dialog-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 56px;
}

.dialog-content h2 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 400;
}

.dialog-summary {
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.dialog-facts {
  display: grid;
  gap: 0;
  margin-bottom: 40px;
}

.dialog-facts div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}

.dialog-facts strong {
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

.dialog-facts span {
  color: var(--muted);
}

.dialog-note {
  padding: 18px;
  border-left: 2px solid var(--red);
  background: rgba(163, 69, 49, 0.06);
}

.dialog-note span {
  color: var(--red);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.dialog-note p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.showreel-dialog {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  overflow: hidden;
  color: white;
  background: #000;
}

.showreel-dialog::backdrop {
  background: #000;
}

.showreel-dialog.is-fallback-open {
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
}

.showreel-player {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: #000;
}

.showreel-player video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

@media (max-width: 1100px) {
  :root { --page: min(100% - 56px, 1000px); }

  .site-header { padding: 0 28px; }
  .site-nav { gap: 26px; }
  .header-cta { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { justify-self: end; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { width: 68%; }
  .hero-note { display: none; }
  .hero-wash { background: linear-gradient(90deg, rgba(247,243,235,.8) 0%, rgba(247,243,235,.65) 36%, rgba(247,243,235,.14) 72%); }

  .manifesto-grid,
  .fit-grid { grid-template-columns: 160px 1fr; gap: 40px; }
  .section-heading { align-items: flex-start; }
  .service-item { grid-template-columns: 60px 1.2fr 0.8fr 36px; gap: 22px; }
  .contact-grid { gap: 60px; }
  .dialog-content { padding: 55px 38px; }
}

@media (max-width: 760px) {
  :root { --page: calc(100vw - 40px); }

  .section-pad { padding: 96px 0; }
  .site-header,
  .site-header.is-scrolled {
    height: calc(70px + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px));
  }
  .brand-copy small { display: none; }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    justify-self: end;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--ink);
    transition: transform 0.3s;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    justify-self: stretch;
    gap: 18px;
    width: 100%;
    padding: 70px 38px;
    visibility: hidden;
    opacity: 0;
    background: rgba(242, 237, 227, 0.98);
    transition: opacity 0.3s, visibility 0.3s;
  }

  .site-nav.is-open { visibility: visible; opacity: 1; }
  .site-nav a { font-family: var(--serif); font-size: 38px; }

  .hero {
    height: auto;
    min-height: 720px;
    min-height: max(720px, 100vh);
    min-height: max(720px, 100svh);
  }
  .hero-media video,
  .hero-media img { object-position: 63% center; }
  .hero-wash { background: linear-gradient(90deg, rgba(247,243,235,.78) 0%, rgba(247,243,235,.6) 58%, rgba(247,243,235,.12) 100%); }
  .hero-grid {
    min-height: 720px;
    min-height: max(720px, 100vh);
    min-height: max(720px, 100svh);
    height: auto;
    padding-top: calc(88px + env(safe-area-inset-top, 0px));
    padding-bottom: max(42px, env(safe-area-inset-bottom, 0px));
  }
  .hero-copy { width: 100%; }
  .hero-eyebrow {
    margin-bottom: 20px;
    font-size: 10px;
    letter-spacing: 0.22em;
    line-height: 1.6;
  }
  .hero h1 {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: clamp(44px, 13vw, 58px);
    letter-spacing: -0.065em;
    line-height: 1.08;
  }
  .hero-lead {
    max-width: 30em;
    margin-bottom: 26px;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.85;
  }
  .hero-lead br { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
  .showreel-button { white-space: nowrap; }
  .hero-proof { flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; }
  .scroll-cue { display: none; }
  .steam { display: none; }

  .manifesto-grid,
  .fit-grid { grid-template-columns: 1fr; gap: 55px; }
  .section-index { display: none; }
  .manifesto-copy h2,
  .fit h2 { font-size: 38px; margin-bottom: 38px; }
  .manifesto-detail { grid-template-columns: 1fr; gap: 24px; }

  .section-heading { display: grid; gap: 24px; margin-bottom: 50px; }
  .section-heading h2 { font-size: 39px; }

  .service-item {
    grid-template-columns: 44px 1fr 28px;
    min-height: 0;
    padding: 30px 0;
  }
  .service-item ul { grid-column: 2 / 4; }
  .service-item h3 { font-size: 24px; }
  .service-arrow { grid-column: 3; grid-row: 1; }

  .work-toolbar { align-items: flex-start; flex-direction: column; gap: 22px; }
  .filter-group { max-width: 100%; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .filter-button { white-space: nowrap; }
  .case-grid { grid-template-columns: 1fr; gap: 48px; }
  .case-card,
  .case-card-wide,
  .case-card:nth-child(3) { grid-column: 1; }
  .case-image,
  .case-card-wide .case-image { aspect-ratio: 16 / 9; }
  .case-meta > span:last-child { display: none; }
  .case-play {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
    opacity: 1;
    transform: none;
  }

  .method { padding: 100px 0 90px; }
  .method-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 60px; }
  .method-heading .eyebrow { grid-column: 1; }
  .method-heading h2 { font-size: 40px; }
  .process-list { grid-template-columns: 1fr; }
  .process-item,
  .process-item:not(:first-child) {
    display: grid;
    grid-template-columns: 50px 1fr;
    min-height: 0;
    gap: 20px;
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
  .process-item > span { margin: 4px 0 0; }
  .method-stats { grid-template-columns: 1fr; }

  .notice { grid-template-columns: 1fr; gap: 12px; }

  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .project-form { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-top nav { justify-self: start; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 10px; }

  .case-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }
  .dialog-shell { grid-template-columns: 1fr; }
  .dialog-media { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .dialog-content { padding: 38px 24px; }
  .dialog-content h2 { font-size: 40px; }
  .dialog-close {
    top: max(16px, env(safe-area-inset-top, 0px));
    right: max(16px, env(safe-area-inset-right, 0px));
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
  }
  .dialog-facts div {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
  }
}

@media (max-width: 380px) {
  :root { --page: calc(100vw - 32px); }

  .site-header,
  .site-header.is-scrolled {
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
  }

  .brand { gap: 10px; }
  .brand-copy strong { font-size: 11px; letter-spacing: 0.13em; }
  .hero,
  .hero-grid { min-height: 690px; min-height: max(690px, 100svh); }
  .hero h1 { font-size: clamp(41px, 12.8vw, 48px); }
  .hero-lead { font-size: 13px; }
  .button { min-width: 170px; min-height: 52px; }
  .hero-proof { gap: 8px 14px; font-size: 10px; }
  .section-heading h2,
  .manifesto-copy h2,
  .fit h2 { font-size: 34px; }
  .method-heading h2 { font-size: 36px; }
  .dialog-content { padding-right: 18px; padding-left: 18px; }
}

@media (orientation: landscape) and (max-height: 600px) and (max-width: 960px) {
  .hero,
  .hero-grid {
    min-height: 620px;
  }

  .hero-grid {
    padding-top: calc(76px + env(safe-area-inset-top, 0px));
    padding-bottom: 28px;
  }

  .hero h1 { font-size: clamp(42px, 8vw, 58px); }
  .hero-lead { margin-bottom: 18px; line-height: 1.7; }
  .hero-actions { flex-direction: row; align-items: center; }
  .hero-proof { margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-media { transform: none; }
}
