:root {
  color-scheme: light;
  --paper: #f5f4f0;
  --ink: #191b1d;
  --muted: #525354;
  --copper: #a44c24;
  --glow: #e5a27a;
  --line: #d7d6d1;
  --edge: clamp(20px, 5vw, 88px);
  --header-height: 68px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body, p, h1, h2, h3, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #e7945c; outline-offset: 4px; }
.wrap { width: min(100% - 2 * var(--edge), 1520px); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 10px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(12px, 2vw, 24px);
  height: var(--header-height);
  padding-inline: var(--edge);
  background: #111316;
  color: #fff;
  border-bottom: 1px solid #ffffff22;
}
.brand { justify-self: start; display: block; mix-blend-mode: screen; }
.brand-crop { position: relative; display: block; width: 124px; height: 50px; overflow: hidden; }
.brand-crop img { position: absolute; width: 145px; height: auto; left: -9px; top: -46px; }
.header nav { display: flex; justify-content: center; gap: clamp(12px, 2.3vw, 36px); font-size: 13px; }
.header nav a { padding-block: 14px; color: #d8d8d8; white-space: nowrap; }
.header nav a:hover, .header nav a[aria-current] { color: var(--glow); }
.header-actions { display: flex; align-items: center; justify-self: end; gap: 12px; }
.header-contact { justify-self: end; display: flex; gap: 12px; align-items: center; min-height: 42px; padding: 6px 7px 6px 13px; font-size: 13px; font-weight: 650; white-space: nowrap; }
.language-switch { display: flex; gap: 2px; padding: 2px; border: 1px solid #ffffff30; border-radius: 10px; background: #17191b; }
.language-switch[hidden] { display: none; }
.language-switch button {
  min-width: 36px;
  height: 34px;
  padding: 0 6px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #e0ded9;
  font-size: 12px;
  font-weight: 650;
}
.language-switch button:hover { background: #ffffff15; }
.language-switch button[aria-pressed="true"] {
  border-color: #f5d7c3;
  background: linear-gradient(150deg, #fff1e7, #e6b291);
  color: #241a14;
  box-shadow: 0 2px 4px #0005;
}
.language-switch button:focus-visible { outline-offset: 1px; }

.hero { position: relative; isolation: isolate; background: #101316; color: white; }
.hero-image, .hero::after { position: absolute; inset: 0; z-index: -1; }
.hero-image { background: radial-gradient(ellipse at 72% 58%, #252b33, #101316 77%); }
.hero-poster, .scene-poster { position: absolute; inset: 0; }
.hero-poster img, .scene-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-canvas { display: block; width: 100%; height: 100%; visibility: hidden; }
.hero-image.ready .hero-canvas { visibility: visible; }
.ready .hero-poster, .ready .scene-poster { visibility: hidden; }
.hero::after {
  content: "";
  background:
    linear-gradient(0deg, #080a0cd9, transparent 25%),
    linear-gradient(90deg, #0a0c0eeb 0%, #0a0c0e93 24%, #0a0c0e26 52%, transparent 76%);
}
.hero-inner { min-height: clamp(620px, calc(100svh - 143px), 960px); display: grid; grid-template-rows: 1fr auto; }
.hero-copy { align-self: center; padding-block: 60px; }
.eyebrow, .micro {
  font: 600 11px/1.4 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow i, .scene-meta i { width: 7px; height: 7px; background: var(--copper); display: inline-block; flex: none; }
.hero .eyebrow i, .contact .eyebrow i, .social-gallery .eyebrow i, .scene-meta i { background: var(--glow); }
.sep, .micro b { color: var(--copper); font-weight: 600; }
.hero .sep, .hero .micro b, .contact .sep, .social-gallery .sep, .footer b { color: var(--glow); }
h1, h2 { font-weight: 500; letter-spacing: -.075em; line-height: .98; }
h1 { font-size: clamp(72px, 8.5vw, 148px); margin: 25px 0 28px; }
h1 span:last-child, .contact h2 span:last-child { color: var(--glow); }
h2 span:last-child { color: var(--copper); }
.hero-text { color: #e0e2e2; max-width: 360px; font-size: clamp(15px, 1.28vw, 19px); line-height: 1.55; }
.button {
  min-height: 50px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-size: 14px;
  font-weight: 650;
  transition: background-color .2s;
}
.button.raised { min-height: 56px; padding-inline: 16px 12px; gap: 14px; }
.raised {
  --control-face: linear-gradient(155deg, #303438, #1b1e21 82%);
  --control-rim: linear-gradient(145deg, #63686b, #34383b 42%, #141618 83%);
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--control-face) padding-box, var(--control-rim) border-box;
  color: #fff;
  box-shadow: inset 0 1px 0 #ffffff14, inset 0 -1px 0 #00000048, 0 4px 9px #00000033;
  transition: filter .2s;
}
.raised-light {
  --control-face: linear-gradient(155deg, #fffaf1, #e3dbce 86%);
  --control-rim: linear-gradient(145deg, #fffdf7, #d6c7b5 50%, #aaa194);
  color: #16181a;
}
.raised:hover:not([aria-disabled="true"]) { filter: brightness(1.12); }
.raised:focus-visible { outline-color: #f0c6aa; outline-offset: 3px; }
.raised-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  height: 28px;
  border-radius: 7px;
  background: #ffffff0d;
  box-shadow: inset 0 1px 0 #ffffff12;
  color: var(--glow);
  font-size: 16px;
}
.raised-light .raised-arrow { background: #28221b10; color: #30251d; }
.visit-links .raised:focus-visible { outline-color: var(--copper); }
.visit-links .raised-light:hover { filter: brightness(.96); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 16px; margin-top: 29px; }
.hero-work-link { font-size: 13px; padding-block: 10px; }
.hero-work-link:hover { text-decoration: underline; }
.hero-work-link span[aria-hidden="true"] { color: var(--glow); }
.hero-foot { min-height: 60px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid #ffffff47; color: #e3e2de; }
.hero-foot a { display: inline-flex; gap: 10px; align-items: center; }
.hero-foot a:hover { color: var(--glow); }
.hero-foot a span[aria-hidden="true"] { font-size: 19px; color: var(--glow); }

.service-notes li > span:first-child { color: var(--copper); font: 600 11px Consolas, monospace; }

.chapter, .contact { scroll-margin-top: var(--header-height); }
.chapter { padding-block: clamp(74px, 9vw, 140px); }
.section-intro { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: clamp(20px, 5vw, 90px); margin-bottom: clamp(26px, 4vw, 52px); }
.section-intro h2, .contact h2 { font-size: clamp(45px, 7.2vw, 109px); margin-top: 17px; }
.section-intro > p, .contact address { max-width: 415px; font-size: clamp(15px, 1.23vw, 18px); line-height: 1.65; color: var(--muted); }
.scene-scroll { position: relative; }
.scene-scroll:is(.loading, .ready) { height: calc(var(--stage-height) + 100svh); }
.scene-scroll { --stage-height: clamp(460px, 70svh, 840px); --sticky-top: calc(var(--header-height) + 13px); }
.scene {
  position: sticky;
  top: var(--sticky-top);
  isolation: isolate;
  height: var(--stage-height);
  overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse at 50% 43%, #34383b, #1c2023 45%, #101214 88%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.scene::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, #101214, transparent 23%, transparent 83%, #101214b0);
  pointer-events: none;
}
.scene-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; visibility: hidden; }
.scene-canvas, .scene-poster { z-index: -1; }
.ready .scene-canvas { visibility: visible; }
.scene-status { position: absolute; inset: 52px 16px auto; text-align: center; color: #d4d7da; font-size: 12px; }
.ready .scene-status { display: none; }
.scene-meta, .scene-caption { margin: 23px clamp(15px, 2.7vw, 40px); display: flex; align-items: center; gap: 10px; }
.scene-meta { color: #ddd; }
.scene-meta a:hover, .scene-meta a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.scene-meta span { margin-left: auto; }
.scene-caption { justify-content: space-between; gap: 14px; padding-top: 16px; border-top: 1px solid #ffffff46; }
.scene-caption p { font-size: clamp(17px, 2.25vw, 32px); letter-spacing: -.04em; }
.scene-steps { display: none; gap: 6px; }
.ready .scene-steps { display: flex; }
.scene-steps button { border: 1px solid #ffffff4d; background: #11161be0; color: #e6e6e6; min-height: 39px; padding: 8px 13px; font-size: 12px; }
.scene-steps button:hover { border-color: var(--glow); }
.scene-steps button[aria-pressed="true"] { background: #f2c5a9; color: #24170f; border-color: transparent; }
.scene-progress { display: none; position: absolute; inset: auto 0 0; height: 3px; background: #ffffff30; }
.ready .scene-progress { display: block; }
.scene-progress::after { content: ""; display: block; height: 100%; background: var(--glow); transform: scaleX(var(--progress, 0)); transform-origin: left center; }
.service-notes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.service-notes li { padding: 19px 12px 19px 0; font-size: clamp(13px, 1.17vw, 16px); display: flex; align-items: baseline; gap: 12px; }
.service-notes li + li { border-left: 1px solid var(--line); padding-left: 19px; }

.media-showcase { background: #15181b; color: #f7f5ef; }
.media-showcase .work { padding-top: clamp(30px, 5vw, 70px); }
.work .section-intro > p, .work-card p { color: #c9c7c2; }
.work h2 span:last-child, .work .micro b, .social-gallery h2 span:last-child { color: var(--glow); }
.work .eyebrow i { background: var(--glow); }
.gallery-track {
  --gallery-gap: clamp(14px, 2vw, 30px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--gallery-gap)) / 3);
  gap: var(--gallery-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track > * { min-width: 0; scroll-snap-align: start; }
.gallery-actions { display: flex; justify-content: end; align-items: center; gap: 8px; margin-bottom: 14px; }
.gallery-actions[hidden] { display: none; }
.gallery-actions button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  font: 22px/1 Helvetica, Arial, sans-serif;
}
.gallery-actions button[aria-disabled="true"] { opacity: .38; cursor: default; }
.work-card { display: flex; flex-direction: column; align-items: stretch; padding-top: 16px; border-top: 1px solid #ffffff45; }
.work-card h3, .visit-steps h3 { margin: 15px 0 7px; font-size: clamp(19px, 2.3vw, 28px); letter-spacing: -.035em; }
.work-card p, .visit-steps p { line-height: 1.55; }
.case-player { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; margin-block: 8px 14px; background: #101214; }
.media-source { display: inline-block; align-self: flex-start; padding-block: 8px; font-size: 13px; color: #f7f5ef; text-decoration: underline; text-underline-offset: 4px; }
.media-source:hover, .media-source span[aria-hidden="true"] { color: var(--glow); }

.service-intro { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: start; }
.service-intro h2 { max-width: 12ch; font-size: clamp(39px, 5.9vw, 88px); }
.service-intro-copy { max-width: 57ch; font-size: clamp(15px, 1.23vw, 18px); line-height: 1.65; color: var(--muted); }
.service-intro-copy p + p { margin-top: 1em; }
.service-signature { color: var(--ink); }
.visit-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; }
.visit-steps li { border-top: 1px solid var(--line); padding-top: 20px; }
.visit-steps .micro { color: var(--copper); }
.visit-steps p, .visit-translations p { color: var(--muted); }
.visit-links { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 9px; }
.visit-translations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin-top: 26px; }
.visit-translations details { border-top: 1px solid var(--line); }
.visit-translations summary { padding: 12px 0; cursor: pointer; font-size: 14px; font-weight: 600; }
.visit-translations p { padding-bottom: 12px; max-width: 48ch; line-height: 1.5; }
.visit-translations a { text-decoration: underline; }

.contact { background: #15181b; color: #fff; }
.contact-inner { display: flex; align-items: end; justify-content: space-between; gap: 25px; padding-block: clamp(55px, 8vw, 115px); }
.contact address { margin-top: 18px; color: #d3d3d0; font-style: normal; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; }
.contact-socials { grid-column: 1 / -1; display: flex; gap: 10px; padding-top: 12px; }
.contact-socials a { display: grid; place-items: center; width: 54px; height: 54px; }
.contact-socials img { display: block; }
.social-gallery { scroll-margin-top: var(--header-height); border-top: 1px solid #ffffff32; padding-block: clamp(35px, 6vw, 78px); }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; column-gap: 16px; margin-block: 13px 26px; }
.gallery-heading .gallery-actions { margin: 0 0 4px auto; }
.social-gallery h2 { font-size: clamp(32px, 5vw, 64px); font-weight: 500; letter-spacing: -.065em; }
.photo-row a { display: block; overflow: hidden; background: #202326; }
.photo-row a:focus-visible { outline-offset: -3px; }
.photo-row img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-row a:hover img { filter: brightness(1.08); }
.footer { background: #15181b; color: #bfc2c5; }
.footer-inner { min-height: 68px; display: flex; gap: 20px; justify-content: space-between; align-items: center; border-top: 1px solid #ffffff32; }
.footer a:hover { color: var(--glow); }

@media (max-width: 1100px) {
  .hero-inner { min-height: max(810px, calc(100svh - var(--header-height))); }
  .hero-image {
    inset: auto 0 34px;
    height: min(98vw, 510px);
    mask-image: linear-gradient(180deg, transparent, #000 23%, #000 83%, transparent);
  }
  .hero::after { background: linear-gradient(0deg, #0a0c0ee6, transparent 30%, transparent 49%, #101316 74%); }
  .hero-copy { align-self: start; padding-block: 56px 40px; }
}

@media (min-width: 761px) and (max-width: 980px) {
  :root { --header-height: 105px; }
  .header { grid-template-columns: auto 1fr; grid-template-rows: 62px 1fr; }
  .header nav { grid-column: 1 / -1; grid-row: 2; }
  .header nav a { padding-block: 10px; }
  .header-actions { grid-column: 2; grid-row: 1; }
}

@media (max-width: 760px) {
  :root { --header-height: 59px; }
  .header { grid-template-columns: auto 1fr; }
  .header nav { display: none; }
  .brand-crop { transform: scale(.85); transform-origin: left; }
  .hero-inner { min-height: max(635px, calc(100svh - var(--header-height))); }
  .hero-image { height: min(98vw, 600px); }
  h1 { font-size: clamp(54px, 12vw, 86px); margin: 18px 0; }
  .hero-actions { margin-top: 20px; }
  .hero-text { max-width: 325px; }
  .hero-foot { font-size: 9px; letter-spacing: .07em; }
  .chapter { padding-block: 64px; }
  .section-intro { grid-template-columns: 1fr; gap: 17px; }
  .scene-scroll { --sticky-top: calc(var(--header-height) + 10px); --stage-height: clamp(385px, 63svh, 600px); }
  .scene-caption { align-items: flex-start; flex-direction: column; }
  .scene-steps { flex-wrap: wrap; }
  .scene-steps button { min-height: 36px; padding-inline: 9px; }
  .service-notes { grid-template-columns: 1fr; }
  .service-notes li, .service-notes li + li { border-left: 0; padding: 11px 0; }
  .service-notes li + li { border-top: 1px solid var(--line); }
  .visit-steps, .visit-translations { grid-template-columns: 1fr; }
  .gallery-track { grid-auto-columns: min(78%, 350px); }
  .gallery-heading { row-gap: 10px; }
  .contact-inner { align-items: start; flex-direction: column; }
  .contact-actions { grid-template-columns: 1fr; width: min(100%, 410px); }
}

@media (max-width: 480px) {
  :root { --header-height: 96px; }
  .header { grid-template-rows: 56px 1fr; }
  .header-actions { display: contents; }
  .header-contact { grid-column: 2; grid-row: 1; }
  .language-switch { grid-column: 1 / -1; grid-row: 2; justify-self: end; align-self: start; }
  .language-switch button { min-width: 40px; height: 32px; }
}

@media (max-width: 340px) {
  .header { padding-inline: 10px; column-gap: 6px; }
  .brand { width: 104px; }
  h1 { font-size: clamp(36px, 14vw, 49px); }
}

@media (max-width: 280px) {
  .header-contact { padding-inline: 9px; }
  .header-contact .raised-arrow { display: none; }
}

@media (max-height: 560px) and (orientation: landscape) {
  .scene-scroll { --stage-height: 72svh; --sticky-top: calc(var(--header-height) + 8px); }
  .scene-meta, .scene-caption { margin-block: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .scene-scroll:is(.loading, .ready) { height: auto; }
  .scene { position: relative; top: auto; }
  .button, .raised { transition: none; }
}
