:root {
  color-scheme: light;
  --paper: #f7f4ed;
  --ink: #171721;
  --muted: #595765;
  --line: #dad5cc;
  --accent: #db4b31;
  --wrap: 1360px;
  --gutter: clamp(18px, 4.5vw, 72px);
  --stack-top: 30px;
  --stack-step: 18px;
  font-family: Inter, Geist, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 2px solid #bd4933; outline-offset: 5px; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 20; padding: 10px 14px; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-header { min-height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; justify-self: start; align-items: baseline; letter-spacing: -.105em; font-size: 37px; font-weight: 820; line-height: 1; }
.wordmark span, h1 span, h2 span { color: var(--accent); }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px clamp(14px, 2vw, 28px); font-size: 15px; }
.motion-toggle { padding: 4px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--accent); font-size: 13px; cursor: pointer; }
.motion-toggle[hidden] { display: none; }
.site-header nav a:hover, .text-link:hover { color: var(--accent); }
.site-header > .button { justify-self: end; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 15px; border: 0; border-radius: 100px; padding: 11px 18px; font-weight: 650; font-size: 14px; white-space: nowrap; cursor: pointer; }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover { background: #323241; }
.studio-page {
  --ink: #f5f3ff;
  --muted: #c4cde6;
  --line: #d7dfff38;
  --accent: #ff9a80;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  color: var(--ink);
  background: #080e29;
  pointer-events: none;
}
.studio-page :is(a, button, input, textarea, label, h1, h2, h3, p, dt, dd, .project-inner) { pointer-events: auto; }
.studio-page .button-dark { color: #12172c; background: #f5f3ff; }
.studio-page .button-dark:hover { background: #ffbfac; }
.studio-page .skip-link { background: #141b37; }
.studio-page :focus-visible { outline-color: #ffae99; }
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(500px, 44vw, 670px);
  padding-block: clamp(65px, 8vw, 120px);
}
.hero-copy > * { width: fit-content; }
.eyebrow { font-size: 12px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.signal { display: inline-block; vertical-align: 1px; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin-top: 21px; font-size: clamp(37px, 5.65vw, 94px); line-height: .97; letter-spacing: -.082em; font-weight: 760; }
.hero h1 span { color: #ff927c; }
.hero-lead { margin-top: 27px; font-size: clamp(16px, 1.55vw, 22px); line-height: 1.48; color: #c4cde6; }
.text-link { width: fit-content; display: inline-flex; align-items: center; gap: 10px; padding: 5px 0; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 650; }
.hero .text-link { margin-top: 23px; }
.hero .text-link:hover { color: #ffac9b; }
.star-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 79% -10%, #205058, transparent 66%),
    radial-gradient(ellipse at 83% 83%, #23204d, transparent 54%), #080e29;
}
.star-field::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #05091eb0 0%, #060b2266 31%, transparent 70%); }
.star-field svg { width: 100%; height: 100%; }
.twinkle { animation: twinkle var(--speed) var(--delay) ease-in-out infinite alternate; }
.star-target { pointer-events: all; }
.ambient-meteor, .hover-meteor { opacity: 0; }
.ambient-meteor { animation: meteor-pass 14s var(--delay, .15s) ease-in infinite; }
.reactive-star.is-falling .hover-meteor { animation: meteor-hover 1.25s ease-out; }
.reactive-star.is-falling > .twinkle { animation: none; opacity: 0; }
@keyframes twinkle { 0%, 19% { opacity: .3; } 72%, 100% { opacity: 1; } }
@keyframes meteor-pass {
  0%, 100% { opacity: 0; }
  2%, 6% { opacity: .96; }
  11%, 100% { opacity: 0; transform: translate(245px, 153px); }
}
@keyframes meteor-hover {
  0% { opacity: 0; }
  12%, 38% { opacity: 1; }
  100% { opacity: 0; transform: translate(194px, 121px) scale(.65); }
}
.work { padding-top: clamp(48px, 7vw, 100px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: clamp(22px, 3vw, 44px); }
.section-heading h2, .services h2, .contact h2 { font-size: clamp(36px, 6.05vw, 89px); line-height: .97; letter-spacing: -.075em; font-weight: 730; }
.section-heading p { color: var(--muted); font-size: 15px; padding-bottom: 3px; }
.stack {
  --card-count: 1;
  display: grid;
  gap: clamp(22px, 5vh, 54px);
  padding-block-end: max(clamp(50px, 7vw, 115px), calc((var(--card-count) - 1) * var(--stack-step)));
}
.project {
  --index: 0;
  position: sticky;
  inset-block-start: var(--stack-top);
  padding-block-start: calc(var(--index) * var(--stack-step));
}
.project-inner { min-height: clamp(295px, min(39vw, calc(100svh - 160px)), 552px); display: grid; grid-template-columns: minmax(0, .56fr) minmax(0, 1.44fr); overflow: hidden; position: relative; border: 1px solid #ffffff25; border-radius: clamp(15px, 2vw, 28px); background: var(--project-bg); color: var(--project-ink); transform: scale(var(--scale, 1)); transform-origin: top center; box-shadow: 0 14px 38px #03061178; }
@supports (animation-timeline: view()) and (animation-range: exit-crossing 0% exit-crossing 100%) {
  .stack { view-timeline: --frln-card-stack block; }
  .project-inner {
    animation: stack-scale auto linear both;
    animation-timeline: --frln-card-stack;
    animation-range: exit-crossing calc(var(--index) * 100% / var(--card-count))
      exit-crossing calc((var(--index) + 1) * 100% / var(--card-count));
  }
  @keyframes stack-scale {
    from { transform: scale(1); }
      to { transform: scale(calc(1 - min(.6, (var(--card-count) - var(--index) - 1) * .1))); }
  }
}
.project-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: start; gap: 19px; padding: clamp(18px, 2.8vw, 46px); }
.project-copy h3 { font-size: clamp(26px, 3.3vw, 54px); letter-spacing: -.07em; line-height: .98; text-wrap: balance; overflow-wrap: anywhere; }
.project-media { min-width: 0; display: grid; place-items: center; padding: clamp(8px, 1.35vw, 18px); background: #111628; }
.project-media img { width: 100%; height: auto; max-height: min(39vw, calc(100svh - 185px), 516px); object-fit: contain; }
.project-blue { --project-bg: #152a58; --project-ink: #f5f8ff; }
.project-wine { --project-bg: #4b1425; --project-ink: #fff2e3; }
.project-coal { --project-bg: #252620; --project-ink: #fff2ba; }
.project-rose { --project-bg: #e8c5b5; --project-ink: #321f22; }
.project-sage { --project-bg: #c9dacd; --project-ink: #1e3e35; }
.project-sand { --project-bg: #eadcc9; --project-ink: #372d26; }
.project-theatre { --project-bg: #3d2152; --project-ink: #f5e9fb; }
.promotion { padding-bottom: clamp(52px, 8vw, 106px); }
.promotion-heading { align-items: end; }
.promotion-heading p { max-width: 34ch; line-height: 1.5; }
.promo-carousel {
  position: relative;
  overflow: hidden;
  padding: clamp(12px, 2.8vw, 35px);
  border: 1px solid var(--line);
  border-radius: clamp(16px, 2.3vw, 30px);
  background: radial-gradient(ellipse at 49% 72%, #72529954, transparent 63%), #0d142bda;
}
.promo-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.promo-carousel figure.promo-panel {
  display: block;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cab9ed55;
  border-radius: 12px;
  background: #171c36;
  color: #f5f1ff;
  pointer-events: auto;
}
.promo-panel img { display: block; width: 100%; height: auto; aspect-ratio: 1088 / 700; object-fit: cover; }
.promo-panel figcaption { margin: 0; padding: 9px 12px; color: inherit; font-size: clamp(11px, 1.25vw, 14px); font-weight: 650; line-height: 1.25; }
.promo-carousel[data-orbit] {
  height: clamp(255px, 39vw, 495px);
  padding: 0;
  perspective: var(--promo-perspective);
  perspective-origin: 50% 46%;
}
.promo-carousel[data-orbit] .promo-track {
  position: absolute;
  inset: 46% auto auto 50%;
  width: 0;
  height: 0;
  display: block;
  transform-style: preserve-3d;
  animation: promo-orbit 32s linear infinite;
}
.promo-carousel[data-orbit] figure.promo-panel {
  position: absolute;
  inset: 0 auto auto 0;
  width: var(--promo-panel-width);
  transform: translate(-50%, -50%) rotateY(var(--promo-angle)) translateZ(var(--promo-radius));
  backface-visibility: hidden;
  box-shadow: 0 18px 30px #05081882;
}
@keyframes promo-orbit { to { transform: rotateY(-1turn); } }
.promo-carousel[data-paused] .promo-track { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) {
  .promo-carousel:has(.promo-panel:hover) .promo-track { animation-play-state: paused; }
}
.promo-pause { display: none; }
.promo-carousel[data-orbit] .promo-pause {
  position: absolute;
  right: 14px;
  bottom: 13px;
  z-index: 2;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid #cec5ee65;
  border-radius: 50px;
  background: #10162f;
  color: #f5f1ff;
  font-size: 12px;
  cursor: pointer;
}
.promo-pause:hover { background: #292348; }
.services { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 34px; padding-block: clamp(30px, 4vw, 65px) clamp(65px, 10vw, 148px); }
.services dl > div { display: grid; grid-template-columns: minmax(140px, .75fr) minmax(0, 1.25fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.services dl > div:last-child { border-bottom: 1px solid var(--line); }
.services dt { font-weight: 700; font-size: clamp(17px, 1.85vw, 25px); line-height: 1.12; letter-spacing: -.035em; }
.services dd, .contact p { color: var(--muted); font-size: 16px; line-height: 1.5; }
.contact-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 66px); padding: clamp(22px, 5.4vw, 76px); border: 1px solid var(--line); border-radius: 24px; background: #14162bd6; color: #fff7ed; }
.contact-panel h2 span { color: #ff826b; }
.contact-panel p { color: #d6d0d4; margin-top: 18px; }
.contact-form { display: grid; gap: 13px; }
.contact-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 640; }
.contact-form input, .contact-form textarea { display: block; width: 100%; padding: 10px 12px; color: #fff; background: #222233; border: 1px solid #686575; border-radius: 8px; }
.contact-form textarea { resize: vertical; min-height: 88px; }
.contact-form .button { justify-self: start; background: #ff9a83; color: #251d20; }
.contact-form .button:hover { background: #ffd0c5; }
.contact-form .form-status { margin-top: 0; color: #fff1bb; }
.contact-form .private-field { display: none; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 30px; }
.site-footer p { color: var(--muted); font-size: 14px; }
.entry { padding-block: 40px 70px; max-width: 820px; }
.entry h1 { font-size: clamp(30px, 5vw, 62px); margin-bottom: 22px; }
.entry p { line-height: 1.6; }
.admin-bar { --stack-top: 52px; }
@media (max-width: 860px) {
  .hero h1 { font-size: clamp(38px, 6.3vw, 69px); }
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  :root { --stack-top: 10px; --stack-step: 10px; }
  .admin-bar { --stack-top: 56px; }
  .site-header { min-height: 68px; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 3px; padding-block: 11px; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; }
  .site-header nav a { display: inline-block; padding: 9px 0; }
  .site-header > .button { grid-column: 2; grid-row: 1; }
  .wordmark { font-size: 32px; }
  .hero { min-height: 490px; align-items: start; padding-block: 70px 123px; }
  .hero h1 { font-size: clamp(38px, 10vw, 65px); margin-top: 14px; }
  .hero-lead { margin-top: 18px; }
  .hero .text-link { margin-top: 15px; }
  .star-field::after { background: linear-gradient(150deg, #05091ec4 0%, #060b2266 58%, transparent 85%); }
  .section-heading { display: grid; }
  .stack { gap: 28px; }
  .project-inner { grid-template-columns: 1fr; min-height: 0; }
  .project-media { order: -1; }
  .project-media img { max-height: none; }
  .project-copy { gap: 12px; }
  .promo-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo-panel figcaption { padding: 7px 9px; }
  .contact-panel { grid-template-columns: 1fr; }
  .site-footer { align-items: end; }
  .site-footer p { flex-basis: 100%; order: 1; }
}
@media (max-height: 540px) {
  :root { --stack-step: 8px; --stack-top: 12px; }
  .project-inner { min-height: min(270px, calc(100svh - 110px)); }
  .project-copy { padding-block: 13px; gap: 8px; }
  .project-media img { max-height: max(100px, calc(100svh - 162px)); }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .studio-page:not([data-motion="on"]) :is(.twinkle, .ambient-meteor, .reactive-star.is-falling .hover-meteor) { animation: none; }
  .studio-page:not([data-motion="on"]) .star-target { pointer-events: none; }
  .studio-page:not([data-motion="on"]) .project { position: relative; inset-block-start: auto; padding-block-start: 0; }
  .studio-page:not([data-motion="on"]) .project-inner { animation: none; transform: none; }
  .studio-page:not([data-motion="on"]) .stack { gap: 20px; }
}
