@font-face { font-family: Figtree; src: url("assets/Figtree-latin.woff2") format("woff2"); font-style: normal; font-weight: 300 900; font-display: swap; }
@font-face { font-family: Inter; src: url("assets/Inter-latin-variable.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
:root { --nav-top: max(10px, env(safe-area-inset-top)); --nav-gutter: clamp(28px, 5vw, 80px); --nav-control: 44px; --menu-width: 108px; --scene-gutter: clamp(44px, 13.5vw, 232px); --paper: #fff; --opening-duration: 1250ms; --ink: #fff; --muted: #fff; --accent: #fff; --glass-menu-fill: rgb(7 9 15 / 28%); --glass-rim: rgb(255 255 255 / 44%); --ease: cubic-bezier(.22, 1, .36, 1); color-scheme: light; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-top) + var(--nav-control) + 8px); }
* { box-sizing: border-box; }
html { min-width: 320px; overflow-x: clip; background: var(--paper); }
body { position: relative; isolation: isolate; min-width: 320px; margin: 0; overflow-x: clip; color: var(--ink); background: #fff; font-family: Inter, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; font: inherit; background: none; border: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
::selection { color: #10251b; background: #e7f0c5; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 110; padding: 12px; color: #173f5a; background: var(--ink); transform: translateY(-200%); }
.skip:focus { transform: none; }

.header { position: fixed; z-index: 60; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: var(--nav-top) var(--nav-gutter) 8px; pointer-events: none; }
.header > :is(.wordmark, .menu-toggle) { pointer-events: auto; }
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 600 22px/1 Figtree, Arial, sans-serif;
  letter-spacing: -1px;
}
.menu-toggle { min-width: var(--menu-width); justify-content: space-between; }
.menu-symbol { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .65; transition: transform .25s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-symbol { transform: rotate(180deg); }
.menu { position: fixed; z-index: 50; top: calc(var(--nav-top) + var(--nav-control) + 5px); right: var(--nav-gutter); width: var(--menu-width); border-radius: 18px; color: var(--ink); background: var(--glass-menu-fill); backdrop-filter: blur(5px); box-shadow: 0 12px 40px rgba(13, 41, 63, .14); }
.menu-content { max-height: calc(100dvh - var(--nav-top) - var(--nav-control) - 17px); overflow-y: auto; padding: 6px; border-radius: inherit; }
.menu-open .header :focus-visible { outline-color: #f9f5fa; }
.menu-pages, .menu-account { display: grid; gap: 2px; text-align: left; }
.menu-content a { display: flex; align-items: center; min-height: 44px; padding: 8px 10px; border-radius: 11px; transition: background .2s; }
.menu-content a:hover { background: rgb(255 255 255 / 12%); }
.menu-content a:focus-visible { outline: none; background: #415a78; transition: none; }
.lottie-glint svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lottie-ready > .lottie-fallback { display: none; }
.menu:is(:not([data-glass-popup]), [data-glass-off]):not([hidden]) .menu-pages a { animation: menu-arrive .3s cubic-bezier(.2, .8, .2, 1) both; }
.menu-pages a:nth-child(2) { --glass-i: 1; animation-delay: 35ms; }
.menu-pages a:nth-child(3) { --glass-i: 2; animation-delay: 70ms; }
.menu:is(:not([data-glass-popup]), [data-glass-off]):not([hidden]) .menu-pages a:focus-visible { animation: none; }
@keyframes menu-arrive { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
.menu-word { font-size: 16px; font-weight: 500; line-height: 1.3; }
.menu-account { margin-top: 4px; }
.menu-account[hidden] { display: none; }
.menu-account a { font-size: 14px; }

.world { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #07090f; }
/* Open the matte over the composed frame so the photo and the glass share one crop. */
:is(.scene-loading, .scene-ready) body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 4;
  background: #07090f;
  pointer-events: none;
}
.scene-ready body::after { visibility: hidden; }
.scene-aperture { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .scene-ready body::after { animation: scene-exposure var(--opening-duration) var(--ease) both; }
  .scene-ready.scene-no-art body::after { animation-duration: 360ms; }
  .scene-ready:not(.scene-no-art) .scene-aperture {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
  }
  .scene-aperture::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 11vmin / 15.4vmin;
    box-shadow: 0 0 0 100vmax #07090f;
    animation: scene-window var(--opening-duration) var(--ease) both;
  }
}
@keyframes scene-window {
  from { transform: scale(.74, .52); }
  to { transform: scale(1); border-radius: 0; visibility: hidden; }
}
@keyframes scene-exposure {
  from { opacity: 1; visibility: visible; }
  55%, to { opacity: 0; visibility: hidden; }
}
/* Register the lamp and the responsive photo crop at the same point in the source. */
:root { --lamp-x: 70.8%; --lamp-y: 76.3%; }
.world-art { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--lamp-x) var(--lamp-y); }
.tail-light { display: grid; place-items: center; position: fixed; z-index: 2; left: var(--lamp-x); top: var(--lamp-y); width: 54px; height: 54px; padding: 0; border-radius: 50%; transform: translate(-50%, -50%); touch-action: manipulation; }
.tail-light::after { content: ''; width: 5px; height: 3px; border-radius: 40%; background: #ff9e65; box-shadow: 0 0 4px 1px rgb(255 90 42 / 72%); }
main { position: relative; z-index: 1; outline: none; }
.scene {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: start center;
  padding: clamp(113px, 17svh, 175px) var(--scene-gutter) clamp(92px, 19svh, 192px);
}
.scene :is(a, button):focus-visible { outline-color: currentColor; }
.scene-content { width: 100%; display: flex; flex-direction: column; align-items: flex-start; text-align: left; transform: translate3d(0, var(--content-y, 0px), 0); }
.hero { align-items: stretch; padding-top: clamp(88px, 12svh, 138px); }
.hero-content {
  align-items: center;
  gap: 20px;
  text-align: center;
}
.hero-intro { width: min(100%, 330px); }
.lottie-glint { display: block; position: relative; flex: none; width: 32px; height: 32px; filter: drop-shadow(0 2px 8px rgba(5, 16, 18, .65)); }
.hero-title, .about-title { margin: 0; font-size: clamp(42px, 5vw, 72px); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.hero-title, .about-title, .contact-title { font-weight: 400; }
.hero-title .hero-opening, .hero-title .serif.hero-curiosity, .hero-title .hero-closing { font-size: 1em; line-height: inherit; font-style: normal; letter-spacing: inherit; }
.hero-title > span, .about-title > span, .contact-title > span, .contact-title > em { display: block; }
/* Each animated layer needs paint room for italic overhangs and descenders, including the idle transform. */
.word-frame, .word-motion, .word-idle { display: inline-block; padding: .16em .2em .24em; margin: -.16em -.2em -.24em; }
.word-frame + .word-frame { margin-left: .08em; }
.hero-opening .word-frame + .word-frame { margin-left: -.12em; }
.word-frame { transform: perspective(800px) rotateX(var(--warp-x, 0deg)) rotateY(var(--warp-y, 0deg)) skewX(var(--warp-skew, 0deg)); }
.word-motion { translate: var(--word-x, 0px) var(--word-y, 0px); rotate: var(--word-angle, 0deg); scale: var(--word-scale, 1); }
.hero-title .serif, .about-title .serif, .hero-title em, .about-title em, .contact-title em { font-weight: 400; font-style: italic; letter-spacing: -.045em; }
.hero-title .serif, .about-title .serif { font-size: 1.12em; word-spacing: .12em; }
.hero-title em, .about-title em { color: var(--accent); }
.hero-copy, .section-copy, .contact-intro p { max-width: 500px; margin: 22px 0 0; color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; text-wrap: balance; }
.hero-copy { max-width: 340px; margin: 0; font-size: clamp(15px, 1.15vw, 17px); }
.glass-action { justify-content: center; }
.glass-action svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; opacity: .65; }
.contact-cta { min-width: 132px; margin-top: 24px; }
.about .contact-cta { margin-top: 30px; }
.contact-cta svg { transition: transform .35s var(--ease); }
.contact-cta:is(:hover, :focus-visible) svg { transform: translateX(4px); }
.scroll-cue { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px; font-size: 12px; font-weight: 400; }
.about-title { font-size: clamp(52px, 7vw, 100px); }
.contact-inner { width: min(1180px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); align-items: start; gap: clamp(32px, 6vw, 96px); }
.contact-intro { text-align: left; }
.contact-title { margin: 0; font-size: clamp(60px, 6vw, 100px); font-weight: 400; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.contact-title em { display: block; color: var(--accent); }
/* Flexible verification needs 300px, including on narrow phones. */
.contact-form {
  position: relative;
  isolation: isolate;
  --card-shadow: 0 16.5px 36px rgba(0, 0, 0, .08), 0 26.4px 55.9px rgba(0, 0, 0, .08);
  width: max(100%, 310px);
  justify-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--glass-rim);
  border-radius: 28px;
  color: var(--ink);
  background: rgb(9 12 21 / 21%);
  backdrop-filter: blur(8px);
  box-shadow: var(--card-shadow);
  text-align: left;
}
.contact-form > :not(canvas, [aria-hidden="true"], .contact-trap) { z-index: 1; }
.contact-glass-light {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(140deg, rgb(205 225 255 / 11%), rgb(12 15 28 / 22%) 53%, rgb(255 176 109 / 6%));
}
.contact-glass-light::before,
.contact-glass-light::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.contact-glass-light::before {
  background: radial-gradient(235px circle at var(--light-x, 0px) var(--light-y, 0px), rgb(255 225 193 / 12%), transparent);
  opacity: var(--glass-lit, 0);
}
.contact-glass-light::after {
  padding: 1px;
  background:
    radial-gradient(195px circle at var(--light-x, 0px) var(--light-y, 0px), rgb(255 238 205 / var(--glass-lit, 0)), transparent),
    linear-gradient(140deg, rgb(230 241 255 / 47%), transparent 36%, transparent 65%, rgb(255 194 142 / 26%));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
@property --glass-lit { syntax: '<number>'; inherits: true; initial-value: 0; }
@media (prefers-reduced-motion: no-preference) {
  .contact-glass-light { transition: --glass-lit 150ms ease-out; }
}
.contact-glass-shadow { position: absolute; inset: 0; z-index: -2; border-radius: inherit; pointer-events: none; }
.contact-form[data-glass-ready] > .contact-glass-shadow { box-shadow: var(--card-shadow); }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 700; line-height: 1.4; }
.contact-form label small { color: var(--muted); font-size: inherit; font-weight: 400; }
.contact-form input, .contact-form textarea { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid var(--glass-rim); border-radius: 10px; background: rgb(0 0 0 / 16%); color: var(--ink); font: inherit; font-size: 16px; font-weight: 400; line-height: 1.5; }
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form :is(input, textarea):focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.contact-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#contact-verification { width: max(300px, 100%); min-width: 0; justify-self: center; display: flex; justify-content: center; }
.contact-form .contact-privacy { min-height: 0; color: var(--muted); font-size: 12px; text-align: center; }
.contact-privacy summary { display: flex; align-items: center; width: max-content; min-height: 32px; margin-inline: auto; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.contact-privacy p { max-width: 330px; margin: 6px auto 0; font-size: 12px; line-height: 1.6; text-align: center; }
#contact-availability { width: 100%; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: center; }
#contact-availability:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.send-button { justify-self: center; min-width: min(208px, 100%); }
.send-button:disabled { cursor: not-allowed; }
.send-button:disabled > span { opacity: .65; }
.send-button:disabled > svg { opacity: .45; }
@media (prefers-reduced-motion: no-preference) {
  .send-button > svg { transition: transform .35s var(--ease); }
  .send-button:enabled:is(:hover, :focus-visible) > svg { transform: translate(2px, -2px); }
  .glass-action:not([data-glass-ready]):active:not(:disabled) { scale: .98; }
}
.footer { position: relative; z-index: 1; display: flex; justify-content: flex-end; padding: 18px var(--nav-gutter) max(22px, env(safe-area-inset-bottom)); }
.return-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.return-link svg { width: 48px; height: 48px; overflow: visible; }
.return-horizon { fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; opacity: .7; }
.return-star { fill: currentColor; }
@media (prefers-reduced-motion: no-preference) {
  .return-star { transition: transform 260ms cubic-bezier(.4, 0, .2, 1); }
  .return-link:focus-visible .return-star { transform: translateY(-4px); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .return-link:hover .return-star { transform: translateY(-4px); }
}

.has-reveal [data-reveal] { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity 1s cubic-bezier(.18, .75, .18, 1), transform 1.2s cubic-bezier(.18, .75, .18, 1); }
.has-reveal [data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.has-reveal .word-motion { --entry-x: -72px; --entry-rotation: -8deg; --entry-tilt: -24deg; opacity: 0; }
.has-reveal .word-frame:nth-child(even) .word-motion { --entry-x: 72px; --entry-rotation: 8deg; --entry-tilt: 24deg; }
.has-reveal [data-reveal].is-visible .word-motion { animation: word-arrive 1.3s cubic-bezier(.18, .75, .18, 1) both; animation-delay: calc(var(--word-index) * 80ms); }
@keyframes word-arrive {
  0% { opacity: 0; transform: perspective(800px) translate3d(var(--entry-x), 50px, -100px) rotateX(-15deg) rotateY(var(--entry-tilt)) rotateZ(var(--entry-rotation)) scale(.9); }
  100% { opacity: 1; transform: perspective(800px) translate3d(0, 0, 0) rotateX(0) rotateY(0) rotateZ(0) scale(1); }
}
.has-reveal .section-copy, .has-reveal .contact-intro p { transition-delay: 180ms; }
@media (max-width: 650px) {
  :root { --nav-gutter: 24px; --scene-gutter: clamp(26px, 9vw, 58px); }
  .wordmark { font-size: 20px; }
  .scene { padding-block: clamp(98px, 15.6svh, 134px) clamp(90px, 18svh, 146px); }
  .hero-content { gap: 16px; }
  .has-reveal .word-motion { --entry-x: -52px; }
  .has-reveal .word-frame:nth-child(even) .word-motion { --entry-x: 52px; }
  .lottie-glint { width: 28px; height: 28px; }
  .about-title { font-size: clamp(38px, 11vw, 60px); }
  .hero-copy, .section-copy, .contact-intro p { max-width: 320px; margin-top: 24px; font-size: 16px; }
  .hero-copy { margin-top: 0; font-size: 15px; }
  .scroll-cue { font-size: 11px; white-space: nowrap; }
  .contact-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .contact-title { font-size: clamp(42px, 11vw, 61px); }
  .contact-form { padding: 18px; }
  .contact-fields { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  :root { --nav-gutter: 14px; }
  .contact-form { width: 100%; padding: 12px; }
  #contact-verification { width: 100%; }
}

.hero-title, .about-title, .contact-title, .menu-word { font-weight: 560; }
.hero-title .serif.hero-curiosity, .about-title .serif, .contact-title em { font-style: italic; font-weight: 400; }
.hero-copy, .section-copy, .contact-intro p { font-weight: 500; }
.hero-title { font-size: clamp(43px, min(6.1vw, 7.5svh), 85px); line-height: 1.03; letter-spacing: -.045em; }
.hero-title .word-frame + .word-frame { margin-left: -.1em; }
.hero-title .serif.hero-curiosity { word-spacing: normal; }
.lottie-glint { filter: none; }
.scroll-cue { position: absolute; bottom: 0; left: 50%; translate: -50% 0; min-height: 44px; padding: 0; color: #fff; background: transparent; }
.menu:is(:not([data-glass-popup]), [data-glass-off]):not([hidden]):not(.is-closing) { animation: cloud-menu-in .22s cubic-bezier(.2, .8, .2, 1) both; }
.menu.is-closing { pointer-events: none; }
.menu:is(:not([data-glass-popup]), [data-glass-off]).is-closing { animation: cloud-menu-out .16s cubic-bezier(.7, 0, .84, 0) both; }
.menu[data-glass-popup][data-glass-off] { border: 0; background: var(--glass-menu-fill); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.menu[data-glass-popup]:not([data-glass-off]) { background: transparent; backdrop-filter: none; box-shadow: none; }
.menu[data-glass-popup]:not([data-glass-off]) .menu-content { background: rgb(7 9 15 / 16%); }
@keyframes cloud-menu-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cloud-menu-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-4px); } }
.word-idle { transform-origin: 50% 70%; animation: cloud-words 8.4s ease-in-out infinite; animation-delay: calc(var(--word-index) * -1.1s); }
.hero-title.headline-replay .word-idle { animation: headline-replay 1.15s var(--ease) both; animation-delay: calc(var(--word-index) * 65ms); }
@keyframes cloud-words {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  25% { transform: translate3d(2px, -4px, 0) rotate(-.8deg); }
  50% { transform: translate3d(4px, 0, 0) rotate(.5deg); }
  75% { transform: translate3d(1px, 4px, 0) rotate(1deg); }
}
@keyframes headline-replay {
  from { opacity: .2; transform: translate3d(0, .45em, 0) scale(.96); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@media (max-width: 900px) and (min-width: 651px) {
  :root { --scene-gutter: clamp(32px, 7vw, 64px); }
  .contact-title { font-size: clamp(42px, 6vw, 60px); }
}
@media (max-width: 650px) {
  .hero-title { font-size: clamp(36px, min(10.8vw, 7.15svh), 58px); }
}

/* The same face stays painted from the first frame. */
.menu-toggle, .glass-action {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: var(--nav-control);
  padding-inline: 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
:is(.menu-toggle, .glass-action)::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border: 1px solid rgb(8 12 19 / 34%);
  border-radius: inherit;
  background: rgb(8 12 19 / 5%);
  box-shadow: inset 1px 0 3px rgb(255 255 255 / 24%), inset -1px 0 2px rgb(255 255 255 / 10%), inset 0 0 0 2px rgb(8 12 19 / 18%);
  pointer-events: none;
}
/* Only reveal the canvas faces when the opening committed to glass. */
.scene-glass :is(.menu-toggle, .glass-action)[data-glass-ready]::before,
:is(.menu-open, .menu-closing) .menu-toggle[data-glass-ready]::before { visibility: hidden; }
.glass-action > canvas, .menu-toggle > canvas { visibility: hidden; }
.scene-glass :is(.menu-toggle, .glass-action)[data-glass-ready] > canvas,
:is(.menu-open, .menu-closing) .menu-toggle[data-glass-ready] > canvas { visibility: visible; }

.cue-grains {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 136px;
  height: 112px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .lottie-glint[data-dissolving] > :not(.cue-grains) { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cue-grains { display: none; }
}
