@font-face { font-family: "DM Sans"; src: url("assets/fonts/DMSans-variable.ttf") format("truetype"); font-style: normal; font-weight: 400 700; font-display: swap; }
@font-face { font-family: Outfit; src: url("assets/fonts/Outfit-variable.ttf") format("truetype"); font-style: normal; font-weight: 400 700; font-display: swap; }
:root {
  --paper: #f3efe8;
  --ink: #1a2734;
  --muted: #606a70;
  --copper: #a36d52;
  --line: rgba(26, 39, 52, .19);
  --header-height: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; scroll-snap-type: y mandatory; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: "DM Sans", Arial, Helvetica, sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--copper); outline-offset: 5px; }
::selection { background: #dcc2b0; color: var(--ink); }
.skip-link { position: fixed; z-index: 30; top: -100px; left: 20px; padding: 12px 18px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 15px; }

.site-header {
  position: fixed; z-index: 20; top: 0; left: 0; right: 0;
  height: var(--header-height); padding: 0 clamp(24px, 4.8vw, 88px);
  display: grid; grid-template-columns: 1fr auto auto; gap: clamp(20px, 2.5vw, 44px);
  align-items: center; border-bottom: 1px solid var(--line);
  background: rgba(243, 239, 232, .94); backdrop-filter: blur(12px);
}
.brand { width: max-content; display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 132px; height: auto; display: block; }
.accent { color: var(--copper); }
.header-caption, .header-nav, .language-switch { font-size: 14px; font-weight: 700; letter-spacing: .045em; }
.header-caption { position: absolute; left: 50%; transform: translateX(-50%); color: var(--muted); white-space: nowrap; }
.header-nav { justify-self: end; display: flex; gap: clamp(17px, 2.2vw, 34px); align-items: center; }
.header-nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; transition: color .2s; }
.header-nav a:hover, .header-nav a.is-active { color: var(--copper); }
.language-switch { display: flex; align-items: center; gap: 5px; padding-left: clamp(10px, 1.6vw, 26px); border-left: 1px solid var(--line); }
.language-switch a { min-width: 36px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: #878b8b; font: inherit; letter-spacing: .08em; text-decoration: none; transition: color .2s; }
.language-switch a[aria-current="page"], .language-switch a:hover { color: var(--ink); }
.language-switch span { color: #b5aaa0; }

.story { position: relative; isolation: isolate; }
.sticky-scene {
  position: sticky; top: 0; z-index: 0; height: 100svh; margin-bottom: -100svh;
  overflow: hidden; pointer-events: none; isolation: isolate;
  --move-x: 0px; --tilt: 0deg; --ring-x: 0px; --ring-y: 0px;
}
.scene-field {
  position: absolute; left: 50%; top: 49%; width: min(47vw, 690px); aspect-ratio: 1;
  border-radius: 50%; background: #e8e1d7; transform: translate(-50%, -50%);
  box-shadow: 0 0 0 1px rgba(163, 109, 82, .1);
}
.scene-ring {
  position: absolute; left: 50%; top: 49%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(163, 109, 82, .22);
  transform: translate(calc(-50% + var(--ring-x)), calc(-50% + var(--ring-y)));
}
.scene-ring-one { width: min(57vw, 820px); }
.scene-ring-two { width: min(66vw, 960px); opacity: .45; }
.scene-orbit { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--copper); top: 22%; left: calc(50% + min(27vw, 385px)); opacity: .75; }
.scene-floor { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.scene-character {
  position: absolute; z-index: 1; left: 50%; bottom: 0;
  width: min(53vw, 710px); aspect-ratio: 1;
  transform-origin: 50% 83%;
  transform: translate3d(calc(-50% + var(--move-x)), 0, 0) rotate(var(--tilt));
  will-change: transform;
}
.portrait { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; user-select: none; }
.portrait.is-active { opacity: 1; }
.chapters { position: relative; z-index: 1; }
.chapter {
  position: relative; min-height: 100svh; padding: var(--header-height) clamp(28px, 5.2vw, 95px) 0;
  display: grid; grid-template-columns: minmax(0, 31%) minmax(0, 38%) minmax(0, 31%);
  align-items: center; scroll-margin-top: 0; scroll-snap-align: start; scroll-snap-stop: always;
}
.chapter-side { position: relative; z-index: 2; max-width: 450px; }
.chapter-left { grid-column: 1; }
.chapter-right { grid-column: 3; justify-self: end; width: 100%; max-width: 300px; }
.hero-right { max-width: 390px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; color: var(--copper); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.eyebrow-line { display: inline-block; flex: 0 0 28px; height: 1px; background: currentColor; }
h1, h2, p { margin-top: 0; }
h1, h2, .hero-statement { font-family: Outfit, "DM Sans", sans-serif; font-weight: 500; letter-spacing: -.055em; }
h1 { font-size: clamp(67px, 7.05vw, 116px); line-height: .9; margin: 0 0 29px; white-space: nowrap; }
.hero-identity { font-size: clamp(16px, 1.24vw, 19px); line-height: 1.52; font-weight: 500; color: var(--muted); max-width: 340px; margin: 0; }
.hero-identity a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 0; transition: color .2s; }
.hero-identity a:hover { color: var(--copper); }
.chapter-number { display: block; margin-bottom: clamp(22px, 5vh, 60px); color: var(--copper); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.hero-statement { font-size: clamp(29px, 2.7vw, 39px); line-height: 1.08; margin-bottom: 36px; }
.hero-statement .hero-line { display: block; white-space: nowrap; }
.hero-statement em, h2 em { color: var(--copper); font-weight: 400; }
.hero-statement em:not(.hero-line) { margin-right: .14em; }
.fine-line { display: block; width: 58px; height: 1px; background: var(--copper); margin-bottom: 23px; }
.scroll-link { position: absolute; bottom: 34px; left: clamp(28px, 5.2vw, 95px); min-height: 44px; display: inline-flex; align-items: center; gap: 38px; color: var(--muted); text-decoration: none; text-transform: uppercase; letter-spacing: .19em; font-size: 10px; font-weight: 700; }
.scroll-link span { color: var(--copper); font-size: 19px; }
h2 { font-size: clamp(52px, 5vw, 76px); line-height: 1.04; margin-bottom: 0; }
.chapter-copy { font-size: clamp(17px, 1.28vw, 20px); line-height: 1.65; color: #465159; max-width: 390px; }
.about-copy > p { font-family: "DM Sans", Arial, Helvetica, sans-serif; font-size: 18px; font-weight: 400; line-height: 1.6; color: #465159; }
.about-copy .chapter-copy { margin-bottom: 0; }
.about-copy .chapter-copy + .chapter-copy { margin-top: 18px; }
.chapter-small { max-width: 310px; margin-top: 25px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.text-link { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; padding-bottom: 5px; border-bottom: 1px solid var(--copper); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 700; }
.text-link span { color: var(--copper); font-size: 18px; }
.text-link:hover, .contact-email:hover, .contact-links a:hover { color: var(--copper); }
.expertise-list { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.expertise-list li { display: flex; align-items: baseline; gap: 20px; padding: 16px 0 17px; border-bottom: 1px solid var(--line); }
.expertise-list li span { color: var(--copper); font-size: 10px; letter-spacing: .12em; }
.expertise-list strong { font: 500 clamp(18px, 1.55vw, 25px)/1.2 Outfit, "DM Sans", sans-serif; letter-spacing: -.025em; }
.contact-email { display: inline-block; max-width: 100%; padding: 0 0 8px; margin: 13px 0 29px; border-bottom: 1px solid var(--copper); text-decoration: none; overflow-wrap: anywhere; font-size: clamp(15px, 1.15vw, 18px); font-weight: 700; transition: color .2s; }
.contact-email span { color: var(--copper); }
.contact-links { display: flex; flex-direction: column; }
.contact-links a { min-height: 43px; display: inline-flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; transition: color .2s; }
.contact-links a:last-child { border-bottom: 0; }
.contact-links img { display: block; width: 20px; height: 20px; flex: 0 0 20px; object-fit: contain; }
.contact-links a span { margin-left: auto; color: var(--copper); font-size: 16px; }
.site-footer { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 76px; padding: 15px clamp(28px, 5.2vw, 95px); color: var(--muted); font-size: 12px; letter-spacing: .035em; }
.site-footer a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--copper); }

@media (prefers-reduced-motion: no-preference) {
  body.is-enhanced .chapter-side { transition: opacity .55s ease, transform .65s cubic-bezier(.2,.75,.2,1); }
  body.is-enhanced .chapter:not(.is-visible) .chapter-left { opacity: .6; transform: translate3d(-24px, 24px, 0); }
  body.is-enhanced .chapter:not(.is-visible) .chapter-right { opacity: .6; transform: translate3d(24px, 24px, 0); }
}
@media (max-width: 1160px) {
  .header-caption { display: none; }
  .site-header { grid-template-columns: 1fr auto auto; }
  .chapter { grid-template-columns: minmax(0, 34%) minmax(0, 32%) minmax(0, 34%); }
  .scene-character { width: min(58vw, 670px); bottom: 0; }
  h1 { font-size: clamp(62px, 7.3vw, 90px); }
  h2 { font-size: clamp(49px, 5.8vw, 73px); }
}
@media (max-width: 760px) {
  :root { --header-height: 70px; }
  .site-header { padding-inline: 22px; gap: 14px; grid-template-columns: auto 1fr auto; }
  .brand img { width: 116px; }
  .header-nav { gap: 15px; }
  .header-nav a { font-size: 11px; letter-spacing: .01em; }
  .language-switch { padding-left: 9px; }
  .language-switch a { min-width: 26px; font-size: 11px; }
  .sticky-scene { top: var(--header-height); height: 38svh; margin-bottom: -38svh; }
  .scene-field { top: 47%; width: min(86vw, 420px); }
  .scene-ring { top: 47%; }
  .scene-ring-one { width: min(104vw, 510px); }
  .scene-ring-two { width: min(124vw, 600px); }
  .scene-orbit { top: 9%; left: 82%; }
  .scene-character { width: min(82vw, 430px); bottom: 0; }
  .chapter { min-height: 100svh; padding: calc(var(--header-height) + 38svh) 25px 52px; display: block; }
  .chapter-side { max-width: 620px; }
  .chapter-right { justify-self: auto; max-width: 620px; margin-top: 26px; }
  .chapter-contact .chapter-right { margin-top: 12px; }
  .eyebrow { margin-bottom: 15px; font-size: 9px; }
  h1 { font-size: clamp(59px, 13.4vw, 100px); margin-bottom: 15px; }
  .hero-identity { font-size: clamp(14px, 3.7vw, 18px); }
  .chapter-number { display: none; }
  .hero-statement { font-size: clamp(25px, 5.9vw, 37px); max-width: 540px; margin-bottom: 16px; }
  .fine-line { margin-bottom: 14px; }
  .scroll-link { display: none; }
  h2 { font-size: clamp(43px, 9.5vw, 70px); }
  .chapter-copy { font-size: 16px; line-height: 1.55; }
  .about-copy > p { font-size: 16px; line-height: 1.55; }
  .chapter-small { margin-top: 14px; font-size: 14px; }
  .expertise-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .expertise-list li { gap: 8px; padding: 12px 0; }
  .expertise-list strong { font-size: clamp(16px, 4.2vw, 23px); }
  .contact-email { margin: 6px 0 8px; font-size: 16px; }
  .contact-links { gap: 0; }
  .site-footer { min-height: 60px; padding-inline: 25px; font-size: 10px; }
  .site-footer span:nth-child(2) { display: none; }
  body.is-enhanced .chapter:not(.is-visible) .chapter-side { opacity: 1; transform: none; }
}
@media (max-width: 420px) {
  .site-header { padding-inline: 16px; gap: 8px; }
  .brand img { width: 106px; }
  .header-nav { gap: 9px; }
  .header-nav a:not(:last-child) { display: none; }
  .header-nav a { font-size: 11px; }
  .language-switch { gap: 2px; }
  .language-switch a { min-width: 22px; }
  .chapter { padding-inline: 19px; }
  h1 { font-size: clamp(54px, 12.8vw, 70px); }
  .scene-character { bottom: 0; }
}
@media (max-width: 360px) {
  .sticky-scene { height: 35svh; margin-bottom: -35svh; }
  .scene-character { width: 79vw; }
  .chapter { padding-top: calc(var(--header-height) + 35svh); }
  .expertise-list { grid-template-columns: 1fr; }
  .expertise-list li { padding: 7px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html { scroll-snap-type: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .scene-character { transform: translateX(-50%) !important; }
}
