@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-normal-100-900-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-normal-100-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-italic-100-900-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/fraunces-italic-100-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-normal-100-900-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-normal-100-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-italic-100-900-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-italic-100-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/geist-mono-normal-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/geist-mono-normal-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-normal-200-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {

  --ivory: #f3f7f8;
  --stone: #e2ecef;
  --stone-2: #d3e1e6;
  --card: #ffffff;
  --ink: #0d2238;
  --ink-2: #324b63;
  --muted: #4f647a;
  --hair: #cbd9e0;
  --hair-soft: #dde7eb;
  --emerald: #0f5f8f;
  --emerald-deep: #0a486e;
  --emerald-soft: #dcecf5;
  --on-emerald: #ffffff;
  --champagne: #d2ab6c;
  --champagne-soft: #f3e8d4;

  --max: 1280px;
  --gutter: 20px;
  --header-h: 68px;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-1: 0 1px 0 rgba(13, 34, 56, 0.04), 0 12px 32px rgba(13, 34, 56, 0.08);
  --shadow-2: 0 2px 0 rgba(13, 34, 56, 0.04), 0 30px 70px rgba(13, 34, 56, 0.18);

  color-scheme: light;
}

:root[data-theme="dark"] {
  --ivory: #071523;
  --stone: #0d1f30;
  --stone-2: #142a3e;
  --card: #10243a;
  --ink: #e8f0f5;
  --ink-2: #b9c9d6;
  --muted: #7f95a8;
  --hair: #22394d;
  --hair-soft: #1a2f41;
  --emerald: #5ab4ea;
  --emerald-deep: #7cc5f0;
  --emerald-soft: #12324a;
  --on-emerald: #06202f;
  --champagne: #dcb97a;
  --champagne-soft: #2b2416;
  --shadow-1: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 30px 70px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

@media (min-width: 760px) {
  :root {
    --gutter: 40px;
    --header-h: 76px;
  }
}

@media (min-width: 1200px) {
  :root {
    --gutter: 56px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

@media (min-width: 760px) {
  body {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-property: opacity, color, background-color, border-color, outline-color, text-decoration-color, fill, stroke !important;
    transition-duration: 0.15s !important;
    transition-delay: 0s !important;
    transition-timing-function: ease !important;
    scroll-behavior: auto !important;
  }
}

a {
  color: inherit;
}

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

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

::selection {
  background: var(--champagne-soft);
  color: var(--ink);
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--ivory);
  text-decoration: none;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 2px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.0;
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
  hanging-punctuation: first;
}

h1,
h2 {
  font-weight: 380;
  font-variation-settings: "opsz" 144;
}

h1 {
  font-size: clamp(44px, 7vw, 104px);
}

h2 {
  font-size: clamp(34px, 4.8vw, 64px);
  max-width: 20ch;
}

h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -0.012em;
  line-height: 1.1;
}

h4 {
  font-size: 22px;
  letter-spacing: -0.006em;
  line-height: 1.18;
}

@media (max-width: 759px) {
  h1,
  h2 {
    font-weight: 420;
    font-variation-settings: "opsz" 96;
  }
}

em,
.it,
h1 em,
h2 em,
h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1 em,
h2 em,
h3 em {
  color: var(--emerald);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 18px;
}

.eyebrow b {
  font-weight: 500;
  color: var(--emerald);
}

.lede {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
  font-weight: 400;
}

.body-copy {
  max-width: 62ch;
  color: var(--ink-2);
  text-wrap: pretty;
}

.body-copy p {
  margin: 0;
}

.body-copy p + p {
  margin-top: 1.1em;
}

.body-copy a {
  text-decoration-color: var(--champagne);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

p {
  text-wrap: pretty;
}

.section-head {
  margin-bottom: clamp(36px, 5vw, 64px);
  max-width: 62ch;
}

.section-head .lede {
  margin-top: 20px;
}

.small {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.num {
  font-variant-numeric: tabular-nums;
}

.mono {
  font-family: var(--mono);
}

.hair {
  border: 0;
  border-top: 1px solid var(--hair);
  margin: 0;
}

.champ {
  color: var(--champagne);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

.no-reveal [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease) var(--reveal-delay, 0ms), transform 0.9s var(--ease-out) var(--reveal-delay, 0ms);
}

.js body {
  animation: page-in 0.5s var(--ease) both;
}

.js body > main {
  animation: page-rise 0.5s var(--ease) backwards;
}

.js:not(.seen) body,
.js:not(.seen) body > main {
  animation: none;
}

.js body.is-leaving {
  animation: page-out 0.26s var(--ease) forwards;
}

@keyframes page-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes page-rise {
  from { transform: translateY(8px); }
}

@keyframes page-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

.js .hero-title .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em);
  filter: blur(6px);
}

.js .hero-title.is-in .w {
  opacity: 1;
  transform: none;
  filter: none;
  transition: opacity 0.9s var(--ease) var(--d), transform 0.9s var(--ease-out) var(--d), filter 0.9s var(--ease) var(--d);
}

.no-reveal .hero-title .w {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

.loader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  background: var(--ivory);
  color: var(--ink);
}

.js:not(.seen) .loader {
  display: flex;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s;
}

.loader-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.loader .brand-word {
  font-size: 34px;
}

@media (max-width: 559px) {
  .loader-brand { gap: 12px; }
  .loader-mark { width: 44px; height: 44px; }
  .loader .brand-word { font-size: 26px; }
}

.wordmark {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 450;
  letter-spacing: -0.015em;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.wordmark i {
  font-style: italic;
  color: var(--emerald);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  line-height: 1;
}

.brand svg {
  display: block;
  flex: none;
}

.brand-word {
  font-family: "Manrope", var(--sans);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--ink);
  font-style: normal;
}

.brand-word span {
  font-weight: 400;
  letter-spacing: -0.035em;
  color: var(--emerald);
}

.brand-word i {
  display: inline-block;
  width: 0.26em;
  height: 0.26em;
  margin-left: 0.08em;
  background: var(--emerald);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--ivory) 90%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--hair);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.is-solid,
.site-header.is-open {
  background: color-mix(in srgb, var(--ivory) 92%, transparent);
}

body[data-page="home"] .site-header:not(.is-solid):not(.is-open) {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
body[data-page="home"] .site-header:not(.is-solid):not(.is-open) .brand-word {
  color: #ffffff;
}
body[data-page="home"] .site-header:not(.is-solid):not(.is-open) .brand-word span {
  color: #9bd3f5;
}
body[data-page="home"] .site-header:not(.is-solid):not(.is-open) .brand-word i {
  background: #9bd3f5;
}
body[data-page="home"] .site-header:not(.is-solid):not(.is-open) .brand-mark > rect:first-child {
  fill: rgba(255, 255, 255, 0.1);
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.5;
}
@media (min-width: 960px) {
  body[data-page="home"] .site-header:not(.is-solid):not(.is-open) .site-nav a:not(.nav-cta) {
    color: #ffffff;
    text-shadow: 0 1px 12px rgba(4, 14, 26, 0.45);
  }
}
@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  body[data-page="home"] .site-header:not(.is-solid):not(.is-open) .site-nav a:not(.nav-cta):hover {
    color: #9bd3f5;
  }
}
body[data-page="home"] .site-header:not(.is-solid):not(.is-open) .lang {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(8, 24, 42, 0.25);
}
body[data-page="home"] .site-header:not(.is-solid):not(.is-open) .lang button {
  color: rgba(255, 255, 255, 0.78);
}
body[data-page="home"] .site-header:not(.is-solid):not(.is-open) .lang button[aria-pressed="true"] {
  background: #ffffff;
  color: var(--ink);
}
body[data-page="home"] .site-header:not(.is-solid):not(.is-open) .nav-toggle {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}
.brand-word,
.brand-word span,
.brand-word i,
.brand-mark > rect:first-child,
.site-nav a,
.lang,
.lang button,
.nav-toggle {
  transition: color 0.4s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease), fill 0.4s var(--ease);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.header-inner .wordmark {
  margin-right: auto;
}

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

.site-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.site-nav a[aria-current="page"] {
  color: var(--emerald);
}
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover {
    color: var(--emerald);
  }
}

.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover::after {
    transform: scaleX(1);
  }
}

@media (min-width: 960px) {
  .site-nav .nav-cta {
    display: none;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  gap: 1px;
  background: color-mix(in srgb, var(--ivory) 70%, transparent);
}

.lang button {
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
  color: var(--muted);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .lang button:hover {
    color: var(--ink);
  }
}

.lang button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--ivory);
}

.lang-note {
  display: none;
  background: var(--stone);
  border-bottom: 1px solid var(--hair-soft);
  font-size: 13.5px;
  color: var(--ink-2);
  text-align: center;
  padding: 9px var(--gutter);
}

.lang-note.is-on {
  display: block;
}

.nav-toggle {
  display: none;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: transparent;
  padding: 0 14px;
  font-size: 13.5px;
  cursor: pointer;
}

@media (max-width: 959px) {
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--hair);
    padding: 8px var(--gutter) 20px;
    box-shadow: var(--shadow-1);
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    font-size: 19px;
    font-family: var(--serif);
    letter-spacing: -0.01em;
    padding: 14px 0;
    border-bottom: 1px solid var(--hair-soft);
  }
  .site-nav a::after {
    display: none;
  }
  .site-nav .nav-cta {
    margin-top: 14px;
    border-bottom: none;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }
  .header-actions .header-cta {
    padding: 8px 12px;
  }
  .lang button {
    padding: 6px 8px;
  }
}

@media (max-width: 759px) {
  .header-inner {
    gap: 8px;
  }
  .header-actions {
    gap: 6px;
  }
  .brand {
    gap: 7px;
  }
  .brand svg {
    width: 26px;
    height: 26px;
  }
  .brand-word {
    font-size: 15px;
  }
  .lang {
    padding: 2px;
  }
  .lang button {
    padding: 7px 7px;
    min-height: 28px;
    font-size: 12px;
    letter-spacing: 0.03em;
  }
  .header-actions .header-cta {
    display: none;
  }
  .nav-toggle {
    position: relative;
    height: 32px;
    padding: 0 10px;
    font-size: 13px;
  }

  .nav-toggle::after {
    content: "";
    position: absolute;
    inset: -6px 0;
  }
}

@media (max-width: 379px) {
  .header-inner {
    padding: 0 16px;
  }
  .brand-word {
    font-size: 14px;
  }
  .lang button {
    padding: 7px 6px;
  }
}

@media (max-width: 339px) {
  .header-inner {
    padding: 0 12px;
  }
  .brand-word {
    font-size: 13px;
  }
  .lang button {
    padding: 7px 5px;
  }
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  line-height: 1.2;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.4s var(--ease-out), box-shadow 0.3s var(--ease);
}

.btn:active {
  transform: scale(0.97);
  transition-duration: 0.16s;
  transition-timing-function: var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background: var(--ink);
    color: var(--ivory);
  }
}

.btn-primary {
  background: var(--emerald);
  color: var(--on-emerald);
  border-color: var(--emerald);
  box-shadow: 0 12px 28px rgba(15, 95, 143, 0.28);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--emerald-deep);
    border-color: var(--emerald-deep);
    color: var(--on-emerald);
  }
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--ivory);
}

@media (hover: hover) and (pointer: fine) {
  .btn-light:hover {
    background: var(--ivory);
    color: var(--ink);
    border-color: var(--ivory);
  }
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover .arrow {
    transform: translateX(4px);
  }
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

button.link {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--champagne);
  padding-bottom: 2px;
  transition: border-color 0.3s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .link:hover {
    border-color: var(--ink);
  }
}

section {
  position: relative;
  padding: clamp(72px, 9vw, 128px) 0;
}

.on-stone {
  background: var(--stone);
}

section.on-stone {
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.on-card {
  background: var(--card);
}

.hero {
  position: relative;
  padding: 0;
  min-height: min(100svh, 1100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #0d2238;
}

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

.hero-media video {
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}

.hero-media video.is-playing {
  opacity: 1;
}

.hero-fade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 24, 42, 0.78) 0%, rgba(8, 24, 42, 0.55) 34%, rgba(8, 24, 42, 0.08) 68%, rgba(8, 24, 42, 0) 100%),
    linear-gradient(180deg, rgba(8, 24, 42, 0.35) 0%, rgba(8, 24, 42, 0) 30%);
}

:root[data-theme="dark"] .hero-fade {
  background:
    linear-gradient(100deg, rgba(4, 14, 26, 0.85) 0%, rgba(4, 14, 26, 0.6) 34%, rgba(4, 14, 26, 0.1) 68%, rgba(4, 14, 26, 0) 100%),
    linear-gradient(180deg, rgba(4, 14, 26, 0.35) 0%, rgba(4, 14, 26, 0) 30%);
}

.hero-copy {
  position: relative;
  padding-top: calc(var(--header-h) + 48px);

  padding-bottom: 250px;
}

@media (max-width: 759px) {
  .hero-copy {
    padding-bottom: 200px;
  }
}

.hero-eyebrow {
  color: #cfe6f5;
  margin-bottom: 22px;
  text-shadow: 0 1px 14px rgba(4, 14, 26, 0.5);
}

.hero-title {
  color: #ffffff;
  max-width: 12ch;
  text-shadow: 0 2px 30px rgba(4, 14, 26, 0.5);
  font-size: clamp(44px, 7.4vw, 108px);
}

.hero-title em {
  color: #9bd3f5;
}

:root[lang="xh"] .hero-title {
  max-width: 20ch;
}

.hero-title .w {
  margin-right: 0;
}

.hero-title .w-unused {
  margin-right: 0.22em;
}

.hero-sub {
  margin: 28px 0 0;
  max-width: 54ch;
  color: #e2eef6;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.55;
  text-shadow: 0 1px 18px rgba(4, 14, 26, 0.3);
}

.hero-sub .hero-facts {
  display: block;
  margin-top: 6px;
}

.hero-sub .sep {
  color: var(--champagne);
  margin: 0 8px;
}

.hero-sub .nw,
.hero-eyebrow .nw {
  white-space: nowrap;
}

@media (max-width: 759px) {
  .hero-sub .sep {
    display: none;
  }
  .hero-sub .nw {
    display: block;
  }
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 759px) {
  .hero-copy {
    padding-top: calc(var(--header-h) + 48px);
  }
  .hero-title {
    font-size: clamp(40px, 11vw, 60px);
  }
  .hero-sub {
    margin-top: 20px;
    font-size: 16px;
  }
}

.showroom-section {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.rail-wrap {
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
}

.rail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 22px;
}

.rail-head .eyebrow {
  margin: 0;
}

.rail-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.rail-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px var(--emerald-soft);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--emerald-soft); }
  50% { box-shadow: 0 0 0 7px transparent; }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  padding: 8px 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: transparent;
  font-size: 13.5px;
  cursor: pointer;
  color: var(--ink-2);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .chip:hover {
    border-color: var(--ink);
    color: var(--ink);
  }
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

.rail {
  --card-w: 400px;
  --frame-w: 1200px;
  --frame-h: 1480px;
  display: flex;
  gap: 28px;
  padding: 20px calc(50vw - var(--card-w) / 2) 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  perspective: 1600px;
  perspective-origin: 50% 40%;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail-card {
  flex: 0 0 var(--card-w);
  scroll-snap-align: center;
  transform: rotateY(var(--ry, 0deg)) translateZ(var(--tz, 0px));
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}

.rail-frame {
  position: relative;
  width: var(--card-w);
  height: calc(var(--card-w) * 1.18);
  overflow: hidden;
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-2), 0 0 0 1px rgba(13, 34, 56, 0.06);
  cursor: pointer;
}

.rail-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--frame-w);
  height: var(--frame-h);
  border: 0;
  transform: scale(calc(var(--card-w) / var(--frame-w)));
  transform-origin: 0 0;
  pointer-events: none;
  background: #fff;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.rail-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.rail-frame.is-live iframe {
  opacity: 1;
}

.rail-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.rail-open {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  border: none;
  background: rgba(13, 34, 56, 0.82);
  color: var(--ivory);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease-out), background-color 0.3s var(--ease);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.rail-card:focus-within .rail-open,
.rail-card.is-active .rail-open {
  opacity: 1;
  transform: none;
}
@media (hover: hover) and (pointer: fine) {
  .rail-card:hover .rail-open {
    opacity: 1;
    transform: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .rail-open:hover {
    background: var(--emerald);
  }
}

.rail-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 0 4px;
}

.rail-meta b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.015em;
}

.rail-meta span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: auto;
}

.rail-visit {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.rail-visit::after {
  content: " \2197";
}

@media (hover: hover) and (pointer: fine) {
  .rail-visit:hover {
    color: var(--emerald);
  }
}

.rail-hint {
  text-align: center;
  margin-top: 6px;
}

@media (max-width: 759px) {
  .rail {
    --card-w: min(78vw, 360px);
    gap: 18px;
    perspective: none;
  }
  .rail-card {
    transform: none !important;
  }
  .rail-wrap {
    padding-bottom: 0;
  }
}

.showroom-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  background: rgba(13, 34, 56, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 16px;
}

.showroom-modal.is-open {
  display: block;
}

.showroom-modal .modal-bar {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ivory);
  padding: 0 6px;
}

.showroom-modal .modal-bar b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.015em;
}

.showroom-modal .modal-bar span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-left: 12px;
}

.showroom-modal .modal-bar .right {
  display: flex;
  gap: 8px;
}

.showroom-modal iframe {
  width: 100%;
  height: calc(100% - 52px);
  border: 0;
  border-radius: 12px;
  background: #fff;
}

@media (max-width: 759px) {
  .showroom-modal {
    padding: 10px;
  }
  .showroom-modal .modal-bar {
    height: 48px;
    padding: 0 4px 6px;
  }
  .showroom-modal .modal-bar > div:first-child {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .showroom-modal .modal-bar b {
    font-size: 18px;
  }
  .showroom-modal .modal-bar span,
  .showroom-modal .modal-bar [data-m-tab] {
    display: none;
  }
  .showroom-modal iframe {
    height: calc(100% - 48px);
  }
}

.operate-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.note-hand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--champagne);
  letter-spacing: -0.01em;
  transform: rotate(-3deg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.note-hand svg {
  width: 44px;
  height: 28px;
  stroke: var(--champagne);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.operate {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(28px, 4vw, 48px);
}

.tile {
  background: var(--card);
  border: 1px solid var(--hair-soft);
  border-radius: 20px;
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-1);
  min-height: 460px;
}

.tile-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.tile-head h3 {
  font-size: 26px;
}

.tile-head .eyebrow {
  margin: 0;
}

.tile-foot {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
}

@media (max-width: 959px) {
  .operate {
    grid-template-columns: 1fr;
  }
  .tile {
    min-height: 0;
  }
}

.book-month {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.book-month button {
  border: 1px solid var(--hair);
  background: transparent;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.book-grid .dow {
  font-family: var(--mono);
  font-size: 12px;
  text-align: center;
  color: var(--muted);
  padding: 4px 0;
}

.book-grid button {
  aspect-ratio: 1;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 13.5px;
  cursor: pointer;
  color: var(--ink);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .book-grid button:hover {
    background: var(--stone);
  }
}

.book-grid button:disabled {
  color: var(--hair);
  cursor: default;
  background: transparent;
}

.book-grid button[aria-pressed="true"] {
  background: var(--emerald);
  color: var(--on-emerald);
}

.book-grid .pad {
  aspect-ratio: 1;
}

.book-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.book-slots button {
  padding: 9px 0;
  border: 1px solid var(--hair);
  background: transparent;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12.5px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .book-slots button:hover {
    border-color: var(--ink);
  }
}

.book-slots button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--ivory);
  border-color: var(--ink);
}

.book-confirm {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.book-result {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--emerald-soft);
  color: var(--emerald-deep);
  font-size: 14px;
  display: none;
}

.book-result.is-on {
  display: block;
}

.q-field {
  margin-bottom: 14px;
}

.q-field label,
.q-label {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.q-field label b,
.q-label b {
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--emerald);
  margin: 0;
}

.q-toggles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.q-toggles label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--hair);
  border-radius: 10px;
  font-size: 13.5px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
  user-select: none;
}

.q-toggles label:has(input:checked) {
  border-color: var(--emerald);
  background: var(--emerald-soft);
}

.q-toggles input {
  accent-color: var(--emerald);
  margin: 0;
}

.q-seg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--hair);
  border-radius: 12px;
}

.q-seg button {
  border: none;
  background: transparent;
  border-radius: 9px;
  padding: 8px 4px;
  font-size: 13px;
  cursor: pointer;
  color: var(--ink-2);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.q-seg button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--ivory);
}

.q-out {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--hair-soft);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: end;
}

.q-price {
  font-family: var(--serif);
  font-size: clamp(36px, 3.4vw, 46px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.q-price small {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-top: 8px;
}

.q-date {
  text-align: right;
  font-size: 13.5px;
  color: var(--ink-2);
}

.q-date b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.q-tier {
  grid-column: 1 / -1;
  font-size: 13.5px;
  color: var(--muted);
}

.q-nudge {
  grid-column: 1 / -1;
  font-size: 13.5px;
  color: var(--emerald);
}

.q-nudge[hidden] { display: none; }

.q-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

[data-gallery] .chips {
  flex-wrap: nowrap;
  gap: 5px;
}

[data-gallery] .chip {
  padding: 7px 12px;
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 374px) {
  .tile {
    padding: 22px 20px 20px;
  }
  [data-gallery] .chips {
    flex-wrap: wrap;
  }
  [data-gallery] .chip {
    padding: 7px 10px;
  }
}

.tile-lede {
  text-wrap: balance;
  margin: -6px 0 16px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.gal-item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--stone);
  cursor: zoom-in;
  isolation: isolate;
  opacity: 1;
  transform: none;
  transition: opacity 0.55s var(--ease) calc(var(--o, 0) * 70ms), transform 0.75s var(--ease-out) calc(var(--o, 0) * 70ms), box-shadow 0.4s var(--ease);
}

.gal-item[hidden] {
  display: none;
}

.gal-item.is-lead {
  grid-column: span 2;
  grid-row: span 2;
}

.gal-item.is-tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gal-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}

.gal-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(13, 34, 56, 0.62) 0%, rgba(13, 34, 56, 0.18) 34%, rgba(13, 34, 56, 0) 58%);
  pointer-events: none;
}

.gal-cap {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 9px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  color: #fff;
  pointer-events: none;
}

.gal-cap b {
  display: none;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.gal-cap small {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.gal-item:not(.is-lead):not(.is-tall) .gal-cap,
.gal-item:not(.is-lead):not(.is-tall)::after {
  display: none;
}

.gal-cap small i {
  font-style: normal;
}

.gal-grid.is-filtered .gal-cap small i {
  display: none;
}

.q-price small {
  white-space: nowrap;
}

.gal-item.is-tall .gal-cap {
  left: 12px;
  right: 10px;
}

.gal-item.is-tall .gal-cap b {
  font-size: 16px;
}

.gal-item.is-lead .gal-cap,
.gal-item.is-tall .gal-cap {
  left: 14px;
  bottom: 13px;
}

.gal-item.is-lead .gal-cap b,
.gal-item.is-tall .gal-cap b {
  display: block;
}

.gal-item:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .gal-item:hover img {
    transform: scale(1.045);
  }
  .gal-item:hover {
    box-shadow: 0 14px 30px rgba(13, 34, 56, 0.16);
  }
}

.gal-grid.is-swapping .gal-item {
  opacity: 0;
  transform: translateY(8px) scale(0.985);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.gal-grid.is-settled .gal-item {
  animation: none !important;
}

.gal-box {
  width: fit-content;
  max-width: calc(100vw - 32px);
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  color: #fff;
}

.gal-box::backdrop {
  background: rgba(7, 21, 35, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gal-box figure {
  margin: 0;
}

.gal-box img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1180px, calc(100vw - 32px));
  max-height: calc(100vh - 140px);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.gal-box figcaption {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 14px;
}

.gal-box figcaption b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.gal-box figcaption small {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.gal-box-nav,
.gal-box-close {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(13, 34, 56, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .gal-box-nav:hover,
  .gal-box-close:hover {
    background: rgba(13, 34, 56, 0.75);
    border-color: rgba(255, 255, 255, 0.5);
  }
}

.gal-box-nav {
  top: calc(50% - 46px);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}

.gal-box-nav.prev { left: 14px; }
.gal-box-nav.next { right: 14px; }

.gal-box-close {
  top: 14px;
  right: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13.5px;
}

.gal-box[open] figure {
  animation: gal-box-in 0.45s var(--ease-out);
}

@keyframes gal-box-in {
  from { opacity: 0; transform: scale(0.975); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .gal-item,
  .gal-item img,
  .gal-grid.is-swapping .gal-item {
    transition: none;
  }
  .gal-box[open] figure {
    animation: none;
  }
}

.chapters {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.chapters-stage {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.stage-frame {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--hair-soft);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.art {
  position: absolute;
  inset: 0;
  padding: 28px;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.55s var(--ease), transform 0.6s var(--ease-out);
  pointer-events: none;
}

.art.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.art-cap {
  position: absolute;
  left: 28px;
  bottom: 22px;
  right: 28px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.chapter {
  padding: 34px 0 38px;
  border-top: 1px solid var(--hair);
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
}

.chapter:last-child {
  border-bottom: 1px solid var(--hair);
}

.chapter .n {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  padding-top: 8px;
}

.chapter h3 {
  font-size: clamp(28px, 2.8vw, 38px);
}

.chapter p {
  margin: 12px 0 0;
  color: var(--ink-2);
  max-width: 46ch;
}

.chapter .artefact {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.chapter .artefact b {
  font-weight: 500;
  color: var(--ink);
}

.chapter.is-active .n {
  color: var(--emerald);
}

.sitemap {
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.sitemap .node {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--hair);
  border-radius: 10px;
  background: var(--ivory);
  position: relative;
}

.sitemap .node.l2 {
  margin-left: 28px;
}

.sitemap .node.l2::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--hair);
}

.sitemap .node small {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.sitemap .pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--champagne);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: -8px;
  top: -8px;
}

.stylesheet {
  display: grid;
  gap: 14px;
}

.ss-label {
  margin: 0 0 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.swatches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.art-inline .swatches {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 8px;
}

.art-inline .swatches span {
  font-size: 12px;
  overflow-wrap: normal;
}

.swatches span {
  display: grid;
  gap: 6px;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.2;
}

.swatches i {
  display: block;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(13, 34, 56, 0.08);
}

.ss-preview {
  padding: 14px 16px 16px;
  border: 1px solid rgba(13, 34, 56, 0.08);
  border-radius: 12px;
  background: #faf6ef;
  color: #163b3b;
}

.ss-preview small {
  display: block;
  margin: 10px 0 3px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6e685d;
}

.ss-preview small:first-child {
  margin-top: 0;
}

.ss-preview b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 23px;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.ss-preview span {
  display: block;
  font-size: 13px;
  color: #44605f;
}

.ss-preview em {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ad5a34;
  color: #fff;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
}

.ss-approve {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ss-approve button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 7px 13px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  background: var(--card);
  cursor: pointer;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.ss-approve button i {
  font-style: normal;
  font-size: 12px;
}

.art.is-on:not(.has-choice) .ss-approve .ok,
.ss-approve button[aria-pressed="true"] {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--on-emerald);
}

.art.is-on:not(.has-choice) .ss-approve .ok {
  transition-delay: 0.9s;
}

.phone {
  width: 190px;
  margin: 0 auto;
  border-radius: 30px;
  background: #1c1c1e;
  padding: 8px;
  box-shadow: var(--shadow-2);
}

.phone .screen {
  border-radius: 24px;
  background: #faf6ef;
  height: 330px;
  overflow: hidden;
  position: relative;
}

.phone .bar {
  height: 10px;
  background: #faf6ef;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.phone .bar i {
  width: 60px;
  height: 5px;
  border-radius: 999px;
  background: #1c1c1e;
}

.phone .blk {
  margin: 10px 12px 0;
  border-radius: 6px;
  background: #e9e1d3;
  height: 10px;
  transform-origin: left;
  animation: build 3.2s var(--ease) infinite;
}

.phone .blk.img {
  height: 90px;
  background: linear-gradient(180deg, #cfe3ea 0%, #9cc3cf 48%, #1f5a5a 48.5%, #2f6f6b 100%);
}

.phone .blk.h {
  height: 22px;
  width: 70%;
  background: #163b3b;
}

.phone .blk.btn-b {
  height: 26px;
  width: 50%;
  border-radius: 999px;
  background: #ad5a34;
}

.phone .blk:nth-child(2) { animation-delay: 0.1s; }
.phone .blk:nth-child(3) { animation-delay: 0.3s; }
.phone .blk:nth-child(4) { animation-delay: 0.45s; }
.phone .blk:nth-child(5) { animation-delay: 0.6s; }
.phone .blk:nth-child(6) { animation-delay: 0.75s; }
.phone .blk:nth-child(7) { animation-delay: 0.9s; }

@keyframes build {
  0% { transform: scaleX(0); opacity: 0; }
  18% { transform: scaleX(1); opacity: 1; }
  82% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--hair);
  border-radius: 10px;
  background: var(--ivory);
  font-size: 13.5px;
}

.checklist li i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--hair);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: transparent;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.art.is-on .checklist li i {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--on-emerald);
  transition-delay: calc(var(--i) * 160ms);
}

.checklist li small {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.report {
  display: grid;
  gap: 10px;
}

.report-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.report-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--hair);
  border-radius: 10px;
  background: var(--ivory);
  font-size: 13.5px;
  align-items: center;
}

.report-row b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.report-row .bar {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 999px;
  background: var(--stone-2);
  overflow: hidden;
}

.report-row .bar i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  background: var(--emerald);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s var(--ease-out) 0.2s;
}

.art.is-on .report-row .bar i {
  transform: none;
}

.art-inline {
  position: relative;
  margin-top: 20px;
  border: 1px solid var(--hair-soft);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.art-inline .art {
  position: relative;
  inset: auto;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  padding: 20px;
  display: block;
}

.art-inline .art-cap {
  position: static;
  margin-top: 16px;
  flex-wrap: wrap;
  gap: 4px 12px;
}

@media (max-width: 959px) {
  .chapters {
    grid-template-columns: 1fr;
  }
  .chapters-stage.is-moved {
    display: none;
  }
  .chapter {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }
  .chapters-stage {
    position: relative;
    top: 0;
  }
  .stage-frame {
    aspect-ratio: auto;
    min-height: 420px;
  }
  .chapters-stage .art {
    position: relative;
    display: none;
  }
  .chapters-stage .art.is-on {
    display: block;
  }
  .art-cap {
    position: static;
    margin-top: 18px;
  }
}

.savings {
  max-width: 640px;
  margin-top: clamp(32px, 4vw, 56px);
}

.scorecard {
  background: var(--card);
  border: 1px solid var(--hair-soft);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow-1);
}

.scorecard-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.scorecard-head h3 {
  font-size: 26px;
}

.scorecard-head a {
  text-decoration: none;
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .scorecard-head a:hover {
    color: var(--emerald);
  }
}

.scorecard-rows {
  display: grid;
  gap: 0;
}

.score-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 11px 0;
  border-top: 1px solid var(--hair-soft);
  font-size: 14px;
  color: var(--ink-2);
}

.score-row b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.score-row b small {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 4px;
}

.score-row .pending {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.scorecard-foot {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

@media (max-width: 374px) {
  .scorecard {
    padding: 22px 20px;
  }
  .scorecard-head {
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .scorecard-head h3 {
    font-size: 23px;
  }
}

.stop-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stop-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--hair-soft);
  font-size: 14.5px;
  color: var(--ink-2);
  align-items: baseline;
}

.stop-list li span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  white-space: nowrap;
}

.stop-list li s {
  color: var(--muted);
  text-decoration-color: var(--champagne);
}

.stop-total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.stop-total b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: -0.02em;
}

@media (max-width: 639px) {
  .stop-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .stop-list li span {
    white-space: normal;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
}

.service-card {
  padding: 28px 28px 30px;
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  transition: background-color 0.35s var(--ease);
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    background: var(--card);
  }
}

.service-card .eyebrow {
  margin: 0;
}

.service-card h3 {
  font-size: 26px;
}

.service-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  max-width: 34ch;
}

.service-card .from {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.service-card .from small {
  font-size: 12px;
  color: var(--muted);
  margin-left: 6px;
}

.service-card .only {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  background: var(--emerald-soft);
  padding: 4px 8px;
  border-radius: 999px;
}

.services-grid.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 959px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 639px) {
  .services-grid,
  .services-grid.is-two {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 0;
  }
}

.svc-group {
  padding: 40px 0;
  border-top: 1px solid var(--hair);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
}

.svc-group h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.svc-group > p {
  margin: 12px 0 0;
  color: var(--ink-2);
  max-width: 40ch;
}

.svc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.svc-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--hair-soft);
  align-items: baseline;
}

.svc-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.svc-list b {
  font-weight: 500;
  display: block;
}

.svc-list span {
  display: block;
  margin-top: 3px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.svc-list .price {
  font-family: var(--mono);
  font-size: 12.5px;
  white-space: nowrap;
  color: var(--ink);
}

.svc-list .tag {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  background: var(--emerald-soft);
  padding: 3px 7px;
  border-radius: 999px;
  vertical-align: middle;
}

@media (max-width: 959px) {
  .svc-group {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 639px) {
  .svc-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .svc-list .price {
    white-space: normal;
    color: var(--emerald);
  }
}

.review {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding: 36px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--hair-soft);
  box-shadow: var(--shadow-1);
  align-items: center;
}

@media (max-width: 959px) {
  .review {
    grid-template-columns: 1fr;
    padding: 26px;
  }
}

.statement {
  text-align: center;
}

.statement h2 {
  margin: 0 auto;
  font-size: clamp(36px, 5.6vw, 76px);
  max-width: 18ch;
}

.statement .lede {
  margin: 24px auto 0;
}

.statement .hero-actions {
  justify-content: center;
}

.statement.on-stone {
  background: var(--ink);
  color: var(--ivory);
  border: 0;
}

:root[data-theme="dark"] .statement.on-stone {
  background: var(--emerald-soft);
}

.statement.on-stone h2,
.statement.on-stone .lede,
.statement.on-stone p,
.statement.on-stone .eyebrow {
  color: var(--ivory);
}

.statement.on-stone h2 em {
  color: #9bd3f5;
}

.statement.on-stone .btn-light,
.statement.on-stone .btn:not(.btn-primary) {
  border-color: rgba(243, 247, 248, 0.6);
  color: var(--ivory);
}

@media (hover: hover) and (pointer: fine) {
  .statement.on-stone .btn-light:hover,
  .statement.on-stone .btn:not(.btn-primary):hover {
    background: var(--ivory);
    color: var(--ink);
    border-color: var(--ivory);
  }
}

.page-hero {
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 110px));
  padding-bottom: clamp(40px, 5vw, 64px);
}

.page-hero h1 {
  font-size: clamp(40px, 6vw, 88px);
  max-width: 16ch;
}

.page-hero .lede {
  margin-top: 24px;
}

.page-hero .hero-actions {
  margin-top: 30px;
}

.price-table {
  border-top: 1px solid var(--hair);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) auto;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--hair);
  align-items: baseline;
}

.price-row h3 {
  font-size: 28px;
}

.price-row .what {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
}

.price-row .what .motion {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-2);
}

.price-row .what .motion b {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-right: 10px;
}

.price-row .price {
  text-align: right;
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price-row .price small {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.price-row.is-feature {
  background: var(--card);
  margin: 0 -20px;
  padding: 26px 20px;
  border-radius: 14px;
  border-bottom-color: transparent;
}

@supports (grid-template-columns: subgrid) {
  @media (min-width: 760px) {
    .price-table {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) auto;
      column-gap: 24px;
    }
    .price-row {
      grid-column: 1 / -1;
      grid-template-columns: subgrid;
    }
  }
}

@media (min-width: 760px) and (max-width: 1023px) {
  .price-row .price.is-multi {
    font-size: 20px;
  }
}

@media (max-width: 759px) {
  .price-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .price-row .price {
    text-align: left;
    margin-top: 6px;
  }
  .price-row.is-feature {
    margin: 0;
    padding: 22px 0;
  }
}

.quote-builder {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
}

.quote-builder .tile {
  min-height: 0;
}

.quote-summary {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.quote-lines {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-size: 14px;
}

.quote-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--hair-soft);
  color: var(--ink-2);
}

.quote-lines li span:last-child {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
  white-space: nowrap;
}

.quote-lines li.total {
  border-top: 1px solid var(--hair);
  color: var(--ink);
  font-weight: 500;
}

.quote-lines li.total span:last-child {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.02em;
}

@media (max-width: 959px) {
  .quote-builder {
    grid-template-columns: 1fr;
  }
  .quote-summary {
    position: relative;
    top: 0;
  }
}

.faq {
  border-top: 1px solid var(--hair);
  max-width: 860px;
}

.faq details {
  border-bottom: 1px solid var(--hair);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 25px);
  letter-spacing: -0.015em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 300;
  font-size: 26px;
  color: var(--emerald);
  transition: transform 0.35s var(--ease-out);
  flex-shrink: 0;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 24px;
  color: var(--ink-2);
  max-width: 64ch;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.split-title {
  margin-bottom: 24px;
}

.photo-slot {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  background: linear-gradient(160deg, var(--stone) 0%, var(--stone-2) 100%);
  border: 1px solid var(--hair-soft);
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.facts {
  margin-top: 24px;
  border-top: 1px solid var(--hair);
}

.fact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair-soft);
  font-size: 14.5px;
  color: var(--ink-2);
}

.fact b {
  font-weight: 500;
  color: var(--ink);
  text-align: right;
}

@media (max-width: 959px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.form {
  display: grid;
  gap: 18px;
}

.field label {
  display: block;
  font-size: 13.5px;
  margin-bottom: 8px;
  color: var(--ink-2);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px var(--emerald-soft);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

.form-privacy {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact-detail {
  padding: 20px 0;
  border-top: 1px solid var(--hair);
}

.contact-detail .label-line {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-detail .value-line {
  font-family: var(--serif);

  font-size: min(26px, calc((100vw - 40px) / 14));
  letter-spacing: -0.015em;
  margin-top: 6px;
}

.contact-detail a {
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .contact-detail a:hover {
    color: var(--emerald);
  }
}

@media (max-width: 959px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.portal {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  border: 1px solid var(--hair-soft);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  min-height: 560px;
}

.portal-side {
  border-right: 1px solid var(--hair-soft);
  padding: 22px 16px;
  background: var(--ivory);
}

.portal-side .client {
  padding: 0 10px 18px;
  border-bottom: 1px solid var(--hair-soft);
  margin-bottom: 12px;
}

.portal-side .client b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.015em;
  display: block;
}

.portal-side .client span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.portal-tabs {
  display: grid;
  gap: 2px;
}

.portal-tabs button {
  text-align: left;
  border: none;
  background: transparent;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.portal-tabs button[aria-selected="true"] {
  background: var(--stone);
  color: var(--ink);
}

.portal-tabs .badge {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--champagne);
  color: var(--ink);
  border-radius: 999px;
  padding: 2px 7px;
}

.portal-main {
  padding: 28px;
}

.portal-panel {
  display: none;
}

.portal-panel.is-on {
  display: block;
}

.portal-panel h2 {
  font-size: 30px;
}

.portal-panel > p {
  color: var(--ink-2);
  margin: 10px 0 22px;
  max-width: 54ch;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.timeline li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--hair-soft);
  border-radius: 12px;
  font-size: 14.5px;
}

.timeline li i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--hair);
}

.timeline li.done i {
  background: var(--emerald);
  border-color: var(--emerald);
}

.timeline li.now i {
  border-color: var(--champagne);
  box-shadow: inset 0 0 0 4px var(--champagne-soft);
}

.timeline li small {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.approval {
  padding: 18px;
  border: 1px solid var(--hair-soft);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
}

.approval b {
  display: block;
  font-weight: 500;
}

.approval span {
  display: block;
  font-size: 13.5px;
  color: var(--ink-2);
  margin-top: 3px;
}

.approval .acts {
  display: flex;
  gap: 8px;
}

.approval.is-approved {
  background: var(--emerald-soft);
  border-color: transparent;
}

.approval.is-changes {
  background: var(--champagne-soft);
  border-color: transparent;
}

.approval .state {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.inv {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  padding: 14px 16px;
  border-top: 1px solid var(--hair-soft);
  font-size: 14.5px;
  align-items: center;
}

.inv:last-child {
  border-bottom: 1px solid var(--hair-soft);
}

.inv .amt {
  font-family: var(--mono);
  font-size: 13px;
}

.inv .st {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--stone);
  color: var(--ink-2);
}

.inv .st.paid {
  background: var(--emerald-soft);
  color: var(--emerald-deep);
}

.inv .st.due {
  background: var(--champagne-soft);
  color: var(--ink);
}

@media (max-width: 560px) {
  .inv {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  .inv > div:first-child {
    flex-basis: 100%;
  }
  .inv .st {
    white-space: nowrap;
  }
}

.changes-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.changes-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--hair-soft);
  border-radius: 10px;
  font-size: 14px;
}

.changes-list li small {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.changes-form {
  display: flex;
  gap: 8px;
}

.changes-form input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--ivory);
}

@media (max-width: 759px) {
  .portal {
    grid-template-columns: 1fr;
  }
  .portal-side {
    border-right: none;
    border-bottom: 1px solid var(--hair-soft);
  }
  .portal-tabs {
    grid-template-columns: 1fr 1fr;
  }
  .portal-main {
    padding: 20px;
  }
  .approval {
    grid-template-columns: 1fr;
  }
}

.ba {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--stone);
  box-shadow: var(--shadow-2);
  --x: 50%;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.ba img {
  width: 100%;
  height: auto;
}

.ba-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--x)) 0 0);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--x);
  width: 2px;
  background: var(--champagne);
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--champagne);
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-1);
}

.ba input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.footer-brand {
  text-decoration: none;
}

.footer-brand .brand-word {
  font-size: 22px;
}

.footer-social {
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14.5px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
}

.footer-social svg {
  flex: none;
}

@media (hover: hover) and (pointer: fine) {
  .footer-social a:hover {
    color: var(--emerald);
  }
}

.site-footer {
  background: var(--stone);
  color: var(--ink);
  padding: clamp(64px, 8vw, 112px) 0 28px;
  border-top: 1px solid var(--hair);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-close {
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: "opsz" 144;
  font-size: clamp(32px, 4.6vw, 60px);
  letter-spacing: -0.02em;
  line-height: 1.02;
  max-width: 22ch;
  margin: 0 0 clamp(40px, 6vw, 72px);
  text-wrap: balance;
}

.footer-close i {
  color: var(--emerald);
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--champagne);
}

.footer-label {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.footer-list a {
  text-decoration: none;
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .footer-list a:hover {
    color: var(--emerald);
  }
}

.footer-line {
  margin: 14px 0 0;
  color: var(--ink-2);
  max-width: 34ch;
  font-size: 16px;
}

.footer-legal {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--hair);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.footer-legal a {
  color: var(--ink);
  text-decoration: none;
}

@media (max-width: 959px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 559px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 40;
  display: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--ivory);
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(15, 95, 143, 0.35);
  text-decoration: none;
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 959px) {
  .wa-float {
    display: flex;
  }

  .site-footer {
    padding-bottom: 92px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.mt-0 { margin-top: 0; }
.center { text-align: center; }
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.js .loader {
  clip-path: circle(142% at 50% 50%);
}

.js .loader.is-done {
  opacity: 1;
  visibility: hidden;
  clip-path: circle(0% at 50% 52%);
  transition: clip-path 1.05s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s linear 1.05s;
}

.js .loader.is-done .loader-brand {
  animation: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

@media (prefers-reduced-motion: no-preference) {

  .js .hero-eyebrow,
  .js .hero-sub,
  .js .hero-actions {
    opacity: 0;
    transform: translateY(18px);
  }
  .js.hero-go .hero-eyebrow { animation: rise 0.9s var(--ease-out) 0.55s both; }
  .js.hero-go .hero-sub { animation: rise 0.9s var(--ease-out) 0.8s both; }
  .js.hero-go .hero-actions { animation: rise 0.9s var(--ease-out) 0.95s both; }

  .js .hero-media {
    transform: scale(1.1);
  }
  .js.hero-go .hero-media {
    transform: scale(calc(1 + var(--sp, 0) * 0.12));
    animation: settle 2.8s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }

  .js.hero-go .hero-copy {
    transform: translateY(calc(var(--sp, 0) * 150px));
    opacity: calc(1 - var(--sp, 0) * 1.5);
  }

  .js [data-lines] .lw {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.5em);
    filter: blur(5px);
  }
  .js [data-lines].is-in .lw {
    opacity: 1;
    transform: none;
    filter: none;
    transition: opacity 0.9s var(--ease) var(--d, 0ms), transform 1.05s var(--ease-out) var(--d, 0ms), filter 0.9s var(--ease) var(--d, 0ms);
  }

  .js .eyebrow[data-reveal] {
    letter-spacing: 0.34em;
  }
  .js .eyebrow[data-reveal].is-revealed {
    letter-spacing: 0.14em;
    transition: opacity 0.9s var(--ease) var(--reveal-delay, 0ms), transform 0.9s var(--ease-out) var(--reveal-delay, 0ms), letter-spacing 1.3s var(--ease-out) var(--reveal-delay, 0ms);
  }

  .js .tile.is-revealed .book-grid > * {
    animation: pop 0.55s var(--ease-out) backwards;
    animation-delay: calc(0.25s + var(--i, 0) * 14ms);
  }
  .js .tile.is-revealed .book-slots button {
    animation: pop 0.5s var(--ease-out) backwards;
    animation-delay: calc(0.8s + var(--i, 0) * 70ms);
  }
  .js .tile.is-revealed .gal-item {
    animation: pop 0.6s var(--ease-out) backwards;
    animation-delay: calc(0.2s + var(--i, 0) * 60ms);
  }

  .note-hand svg path {
    stroke-dasharray: 90;
    stroke-dashoffset: 90;
  }
  .js .note-hand.is-revealed svg path {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1.1s var(--ease-out) 0.5s;
  }

  .js .rail:not(.is-in) .rail-frame {
    opacity: 0;
    transform: translateY(44px) scale(0.97);
  }
  .js .rail .rail-frame {
    transition: opacity 1s var(--ease) var(--d, 0ms), transform 1.1s var(--ease-out) var(--d, 0ms);
  }

  .brand-mark path { stroke-dasharray: 1; }
  .loader-mark .bm-f { animation: brand-draw 0.32s var(--ease-out) 0.08s both; }
  .loader-mark .bm-w { animation: brand-draw 0.42s var(--ease-out) 0.3s both; }
  .loader-mark .bm-stop { animation: brand-stop 0.24s var(--ease-out) 0.68s both; }
  .loader .brand-word { animation: brand-word 0.5s var(--ease-out) 0.2s both; }
  @keyframes brand-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes brand-stop { from { opacity: 0; transform: translateX(-3px); } to { opacity: 1; transform: none; } }
  @keyframes brand-word { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }

  .bm-stop { transition: transform 0.2s var(--ease-out); }
  @media (hover: hover) and (pointer: fine) { .brand:hover .bm-stop { transform: translateX(1.5px); } }

  .statement.on-stone::before,
  .statement.on-stone::after {
    animation: drift-a 22s ease-in-out infinite alternate;
  }
  .statement.on-stone::after {
    animation-name: drift-b;
    animation-duration: 27s;
  }
}

.rail.is-drifting,
.rail.is-free {
  scroll-snap-type: none;
}

.site-header {
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .js .tile.is-revealed,
  .js .service-card.is-revealed,
  .js .scorecard.is-revealed {
    transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
    transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease), opacity 0.9s var(--ease) var(--reveal-delay, 0ms);
  }
  .js .tile.is-tilting,
  .js .service-card.is-tilting,
  .js .scorecard.is-tilting {
    transition: transform 0.14s linear, box-shadow 0.7s var(--ease);
    box-shadow: var(--shadow-2);
  }
  .js .btn {
    transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  }

  .js .btn:active {
    transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(0.97);
  }
  @media (hover: hover) and (pointer: fine) {
    .js .btn:hover {
      transition-duration: 0.3s, 0.3s, 0.3s, 0.16s, 0.3s;
    }
  }
}

.chapters-stage {
  position: sticky;
}

.stage-ghost {
  position: absolute;
  right: -0.04em;
  top: -0.46em;
  z-index: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  font-size: clamp(150px, 15vw, 230px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--hair);
  pointer-events: none;
  overflow: hidden;
  user-select: none;
}

.stage-ghost span {
  display: block;
  transition: transform 0.7s var(--ease-out), opacity 0.5s var(--ease);
}

.stage-ghost.is-flip span {
  transform: translateY(0.35em);
  opacity: 0;
  transition: none;
}

.stage-frame {
  position: relative;
  z-index: 1;
}

.stage-tag {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  margin: 0;
  padding: 4px 10px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.chapters-stage .art {
  padding-top: 52px;
}

@media (min-width: 960px) {
  .chapters-stage .stage-frame {
    width: 100%;
    min-height: 610px;
  }
}

.art-inline .stage-tag {
  position: static;
  display: inline-block;
  margin: 16px 0 0 20px;
}

.chapters-stage.is-scrub .art {
  transition: none;
  will-change: opacity, transform;
}

@media (min-width: 960px) {
  .chapters:has(.is-scrub) .chapter {
    padding: clamp(44px, 7vh, 72px) 0;
  }
}

.statement.on-stone {
  position: relative;
  overflow: hidden;
}

.statement.on-stone .wrap {
  position: relative;
  z-index: 1;
}

.statement.on-stone::before,
.statement.on-stone::after {
  content: "";
  position: absolute;
  width: 52vmax;
  height: 52vmax;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.32;
  pointer-events: none;
}

.statement.on-stone::before {
  left: -24vmax;
  top: -34vmax;
  background: radial-gradient(circle, rgba(15, 95, 143, 0.9), rgba(15, 95, 143, 0) 60%);
}

.statement.on-stone::after {
  right: -26vmax;
  bottom: -36vmax;
  background: radial-gradient(circle, rgba(90, 180, 234, 0.45), rgba(90, 180, 234, 0) 60%);
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  transform: translateY(101%);
  pointer-events: none;
}

:root[data-theme="dark"] .veil {
  background: #0f5f8f;
}

.veil svg {
  width: 64px;
  height: auto;
  color: #9bd3f5;
  opacity: 0;
}

.js body.is-leaving {
  animation: none;
}

.js body.is-leaving .veil {
  transform: translateY(0);
  transition: transform 0.55s cubic-bezier(0.7, 0, 0.2, 1);
}

.js body.is-leaving .veil svg {
  opacity: 1;
  transition: opacity 0.3s var(--ease) 0.25s;
}

.veil-in body,
.veil-in body > main {
  animation: none;
}

.veil-in .veil {
  transform: translateY(0);
}

.veil-in .veil svg {
  opacity: 1;
}

.veil-in.veil-go .veil {
  transform: translateY(-101%);
  transition: transform 0.75s cubic-bezier(0.7, 0, 0.2, 1) 0.08s;
}

.veil-in.veil-go .veil svg {
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.no-reveal .hero-eyebrow,
.no-reveal .hero-sub,
.no-reveal .hero-actions,
.no-reveal [data-lines] .lw,
.no-reveal .rail-frame {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
}

.no-reveal .hero-media {
  transform: none !important;
}

.no-reveal .veil {
  display: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes settle {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: none; }
}

@keyframes wave {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-2.6px); }
  70% { transform: translateX(2.6px); }
}

@keyframes wave-again {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(-2.6px); }
  70% { transform: translateX(2.6px); }
}

@keyframes drift-a {
  from { transform: translate(0, 0); }
  to { transform: translate(20vmax, 12vmax); }
}

@keyframes drift-b {
  from { transform: translate(0, 0); }
  to { transform: translate(-18vmax, -10vmax); }
}

.brief-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.brief-hero h1 {
  max-width: 14ch;
}

.b-talk {
  padding: 22px 24px;
  border: 1px solid var(--hair);
  border-radius: 18px;
  background: var(--card);
}

.b-talk h2 {
  font-size: 22px;
  margin: 0 0 8px;
}

.b-talk p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
}

.b-talk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 16px;
}

section.brief {
  padding-top: 0;
}

.brief-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.b-noscript {
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--champagne-soft);
}

.b-card {
  background: var(--card);
  border: 1px solid var(--hair-soft);
  border-radius: 22px;
  box-shadow: var(--shadow-1);
  padding: clamp(22px, 3.4vw, 40px);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.b-top {
  margin-bottom: clamp(22px, 3vw, 32px);
}

.b-count {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.b-mini {
  color: var(--ink);
  letter-spacing: 0.04em;
  display: none;
}

.b-track {
  height: 3px;
  border-radius: 3px;
  background: var(--hair-soft);
  overflow: hidden;
}

.b-track span {
  display: block;
  height: 100%;
  background: var(--emerald);
  transform: scaleX(0.16);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-out), background-color 0.3s var(--ease-out);
}

.b-track span.is-detail {
  background: var(--champagne);
}

.b-resume {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}

.b-resume .link {
  margin-left: 6px;
}

.js .b-step[hidden] {
  display: none;
}

.b-step h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  margin: 0 0 clamp(20px, 2.6vw, 28px);
  max-width: 18ch;
}

.b-step h2:focus {
  outline: none;
}

.b-step > .eyebrow {
  margin-bottom: 10px;
}

.b-step .field + .field,
.b-step .b-group + .field,
.b-step .field + .b-group,
.b-step .b-group + .b-group,
.b-step .b-row + .field,
.b-step .field + .b-row {
  margin-top: 22px;
}

.b-group {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.b-group legend {
  padding: 0;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 62ch;
}

.b-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.b-row .field + .field {
  margin-top: 0;
}

.b-hint {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 62ch;
}

.b-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.b-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 18px 10px 14px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), transform 0.16s var(--ease-out);
}

.b-chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.b-chip i {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--ink-2);
  border-radius: 50%;
  transition: background-color 0.16s var(--ease-out), border-color 0.16s var(--ease-out);
}

.b-chip:has(input[type="checkbox"]) i {
  border-radius: 5px;
}

.b-chip i::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1.5px;
  width: 5px;
  height: 9px;
  border: solid var(--on-emerald);
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg) scale(0.6);
  transition: opacity 0.16s var(--ease-out), transform 0.2s var(--ease-out);
}

.b-chip:has(input[type="radio"]) i::after {
  left: 4px;
  top: 4px;
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  background: var(--on-emerald);
  transform: scale(0.6);
}

.b-chip:has(input:checked) {
  border-color: var(--emerald);
  background: var(--emerald-soft);
}

.b-chip:has(input:checked) i {
  background: var(--emerald);
  border-color: var(--emerald);
}

.b-chip:has(input:checked) i::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.b-chip:has(input[type="radio"]:checked) i::after {
  transform: scale(1);
}

.b-chip:has(input:focus-visible),
.b-tier:has(input:focus-visible),
.b-look:has(input:focus-visible) {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

.b-chip:active,
.b-tier:active,
.b-look:active {
  transform: scale(0.97);
}

.b-chip[hidden] {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .b-chip:hover,
  .b-tier:hover {
    border-color: var(--ink-2);
  }
  .b-chip:has(input:checked):hover,
  .b-tier:has(input:checked):hover {
    border-color: var(--emerald-deep);
  }
}

.b-tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.b-tier {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-content: start;
  padding: 16px 18px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  background: var(--card);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), transform 0.16s var(--ease-out);
}

.b-tier input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.b-tier b {
  font-size: 16px;
  font-weight: 600;
}

.b-tier-price {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  text-align: right;
  line-height: 1.1;
}

.b-tier-what {
  grid-column: 1 / -1;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.b-tier:has(input:checked) {
  border-color: var(--emerald);
  background: var(--emerald-soft);
  box-shadow: inset 0 0 0 1px var(--emerald);
}

.b-tier:has(input:checked) .b-tier-what {
  color: var(--ink-2);
}

.b-tier-wide {
  grid-column: 1 / -1;
}

.b-pages {
  margin-top: 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px 18px;
}

.b-pages[hidden] {
  display: none;
}

.b-pages > label {
  font-size: 15px;
  color: var(--ink-2);
}

.b-pages .b-hint {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.b-stepper {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: var(--card);
}

.b-stepper button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.16s var(--ease-out), transform 0.16s var(--ease-out);
}

.b-stepper button:active {
  transform: scale(0.92);
}

@media (hover: hover) and (pointer: fine) {
  .b-stepper button:hover {
    background: var(--stone);
  }
}

.b-stepper input {
  width: 3.2ch;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}

.b-stepper input::-webkit-outer-spin-button,
.b-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.b-looks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.b-look {
  position: relative;
  display: grid;
  gap: 2px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: 14px;
  transition: transform 0.16s var(--ease-out);
}

.b-look input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  z-index: 2;
  cursor: pointer;
}

.b-look input:disabled {
  cursor: not-allowed;
}

.b-look img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
  border: 1px solid var(--hair-soft);
  margin-bottom: 8px;
  transition: opacity 0.2s var(--ease-out);
}

.b-look b {
  font-size: 14px;
  font-weight: 600;
}

.b-look span {
  font-size: 13px;
  color: var(--muted);
}

.b-look::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 14px no-repeat;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.16s var(--ease-out), transform 0.2s var(--ease-out);
}

.b-look:has(input:checked) img {
  outline: 3px solid var(--emerald);
  outline-offset: 2px;
}

.b-look:has(input:checked)::after {
  opacity: 1;
  transform: none;
}

.b-look:has(input:disabled) img {
  opacity: 0.45;
}

.b-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: clamp(28px, 3.4vw, 40px);
  padding-top: 20px;
  border-top: 1px solid var(--hair-soft);
}

.b-nav [data-b-next] {
  margin-left: auto;
}

.b-nav [hidden] {
  display: none;
}

.b-error {
  margin: 0;
  font-size: 15px;
  color: #a3332a;
}

.b-error:empty {
  display: none;
}

.b-est-out {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: end;
}

.b-est .q-price {
  font-size: clamp(48px, 5.2vw, 72px);
}

.b-est .q-date b {
  font-size: clamp(22px, 2vw, 28px);
}

.b-est-lines {
  margin-top: 22px;
}

.b-warn {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--champagne-soft);
  font-size: 15px;
  color: var(--ink);
}

.b-warn[hidden] {
  display: none;
}

.b-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.b-choice > div {
  padding: 22px;
  border: 1px solid var(--hair);
  border-radius: 18px;
}

.b-choice > div:first-child {
  border-color: var(--emerald);
  background: var(--emerald-soft);
}

.b-choice h3 {
  font-size: 22px;
  margin: 0 0 6px;
}

.b-choice p {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--ink-2);
}

.b-send {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.b-est .form-note,
#send .form-note {
  margin-top: 16px;
}

.b-voice {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}

.b-doc {
  margin: 22px 0 24px;
  border: 1px solid var(--hair);
  border-radius: 16px;
  padding: 6px 22px 10px;
  background: var(--ivory);
}

.b-doc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 14px 0 6px;
}

.b-doc-head b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.015em;
}

.b-doc-head span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.b-doc section {
  padding: 14px 0 8px;
  border-top: 1px solid var(--hair);
}

.b-doc h3 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  margin: 0 0 8px;
}

.b-doc dl {
  margin: 0;
}

.b-doc dl > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  padding: 5px 0;
  font-size: 15px;
}

.b-doc dt {
  color: var(--muted);
}

.b-doc dd {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.b-side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.b-sum .eyebrow {
  margin-bottom: 14px;
}

.b-steps {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  border-top: 1px solid var(--hair);
}

.b-steps li {
  border-bottom: 1px solid var(--hair-soft);
}

.b-steps button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 2px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
  transition: color 0.16s var(--ease-out);
}

.b-steps button span {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  width: 2ch;
}

.b-steps button:disabled {
  cursor: default;
  color: var(--muted);
  opacity: 0.7;
}

.b-steps button[aria-current="step"] {
  color: var(--ink);
  font-weight: 600;
}

.b-steps button[aria-current="step"] span {
  color: var(--emerald);
}

@media (hover: hover) and (pointer: fine) {
  .b-steps button:not(:disabled):hover {
    color: var(--ink);
  }
}

.b-steps .b-steps-group {
  padding: 16px 0 6px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.b-sum-out {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: end;
}

.b-sum-out .q-price {
  font-size: 34px;
}

.b-sum-out .q-date b {
  font-size: 18px;
}

.brief .form-privacy {
  margin-top: 16px;
  font-size: 13px;
}

@media (max-width: 1099px) {
  .b-looks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 959px) {
  .brief-hero-grid,
  .brief-grid {
    grid-template-columns: 1fr;
  }
  .b-side {
    display: none;
  }
  .b-mini {
    display: inline;
  }
}

@media (max-width: 640px) {

  .brief-hero {
    padding-top: calc(var(--header-h) + 28px);
    padding-bottom: 24px;
  }
  .brief-hero .lede {
    margin-top: 14px;
    font-size: 16px;
  }
  .brief-hero-grid {
    gap: 16px;
  }
  .b-talk {
    padding: 0;
    border: 0;
    background: none;
  }
  .b-talk h2 {
    display: inline;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
  }
  .b-talk p {
    display: none;
  }
  .b-talk-actions {
    display: inline-flex;
    margin: 0 0 0 8px;
    gap: 6px 14px;
    vertical-align: baseline;
  }
  .b-talk-actions .btn {
    padding: 0;
    border: 0;
    background: none;
    font-weight: 500;
    font-size: 15px;
    border-bottom: 1px solid var(--champagne);
    border-radius: 0;
    padding-bottom: 2px;
  }
  body[data-page="brief"] .wa-float {
    display: none;
  }
  .b-tiers,
  .b-choice,
  .b-row {
    grid-template-columns: 1fr;
  }
  .b-looks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .b-doc {
    padding: 4px 16px 8px;
  }
  .b-doc dl > div {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .b-nav .btn {
    padding: 13px 20px;
  }
}

@media print {
  body[data-page="brief"] > :not(main),
  body[data-page="brief"] .brief-hero,
  body[data-page="brief"] .b-side,
  body[data-page="brief"] .b-top,
  body[data-page="brief"] .b-nav,
  body[data-page="brief"] .b-step:not(#send),
  body[data-page="brief"] #send > :not(.b-doc),
  body[data-page="brief"] .form-privacy {
    display: none !important;
  }
  body[data-page="brief"] #send {
    display: block !important;
  }
  body[data-page="brief"] section.brief,
  body[data-page="brief"] .b-card {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: #fff;
  }
  body[data-page="brief"] .b-doc {
    margin: 0;
    border: 0;
    background: #fff;
  }
}

.brief-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin: 0 0 28px;
  padding: 16px 20px;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: var(--card);
  font-size: 16px;
  color: var(--ink);
}

.brief-offer-note {
  flex-basis: 100%;
  font-size: 15px;
  color: var(--ink-2);
}

.b-sum-out[hidden] {
  display: none;
}

.legal-date {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.legal-copy h2 {
  font-size: clamp(26px, 3vw, 34px);
  max-width: none;
  margin: 2.2em 0 0.7em;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy ul {
  margin: 1em 0 0;
  padding-left: 1.2em;
}

.legal-copy li + li {
  margin-top: 0.5em;
}

.legal-copy ul + p {
  margin-top: 1.1em;
}

.sr-index {
  list-style: none;
  margin: clamp(36px, 5vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 56px);
  border-top: 1px solid var(--hair);
}

.sr-index a {
  display: grid;
  grid-template-columns: 2.4em minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 12px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--hair-soft);
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.sr-index b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.sr-ix-n,
.sr-ix-k,
.sr-ix-p {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.sr-ix-k {
  grid-column: 2;
  grid-row: 2;
}

.sr-ix-p {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .sr-index a:hover {
    color: var(--emerald);
  }
}

.sr-show {
  padding-top: clamp(24px, 4vw, 48px);
}

.sr-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: start;
}

.sr-item {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vh 0;
  scroll-margin-top: var(--header-h);
}

.sr-body {
  position: relative;
}

.sr-num {
  position: absolute;
  top: -0.42em;
  right: 0;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(110px, 11vw, 168px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  opacity: 0.06;
  pointer-events: none;
}

.sr-body > :not(.sr-num) {
  position: relative;
}

.sr-item .eyebrow {
  margin: 0 0 14px;
}

.sr-name {
  margin: 0;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.04;
}

.sr-desc {
  margin: 18px 0 0;
  max-width: 34em;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
}

.sr-try-label {
  margin: 26px 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.sr-try {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.sr-try li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15.5px;
}

.sr-try li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 1px;
  background: var(--emerald);
  transform: translateY(-4px);
}

.sr-pkg {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  max-width: 30em;
  margin: 28px 0 0;
  padding: 14px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.sr-pkg span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.sr-pkg b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.01em;
}

.sr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.sr-stage {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  height: calc(100vh - var(--header-h) - 40px);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sr-meter {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.sr-meter-track {
  position: relative;
  flex: 1;
  height: 2px;
  background: var(--hair);
  border-radius: 2px;
}

.sr-meter-fill {
  position: absolute;
  inset: 0;
  background: var(--emerald);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.sr-meter-knob {
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -13px;
  height: 26px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ivory);
  font-weight: 400;
  white-space: nowrap;
  will-change: transform;
}

.sr-window {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow-2), 0 0 0 1px rgba(13, 34, 56, 0.08);
}

.sr-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  background: var(--stone);
  border-bottom: 1px solid var(--hair-soft);
}

.sr-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hair);
}

.sr-addr {
  flex: 1;
  min-width: 0;
  margin: 0 12px;
  padding: 5px 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--card);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sr-count {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.sr-screen {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.sr-shot {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity, transform;
}

.sr-shot:first-child {
  opacity: 1;
}

.sr-shot img {
  display: block;
  width: 100%;
  height: auto;
  will-change: transform;
}

.sr-open-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(13, 34, 56, 0.82);
  color: var(--ivory);
  font-size: 12.5px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease-out);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

@media (hover: hover) and (pointer: fine) {
  .sr-screen:hover .sr-open-hint {
    opacity: 1;
    transform: none;
  }
}

.sr-inline {
  display: none;
}

.sr-note {
  margin-top: clamp(24px, 4vw, 48px);
  color: var(--muted);
}

@media (min-width: 960px) {
  .js .sr-item {
    opacity: 0.28;
    transition: opacity 0.5s var(--ease);
  }
  .js .sr-item.is-on,
  .fcw-edit .sr-item {
    opacity: 1;
  }
}

@media (max-width: 959px) {
  .sr-index {
    grid-template-columns: minmax(0, 1fr);
  }
  .sr-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .sr-stage {
    display: none;
  }
  .sr-item {
    min-height: 0;
    padding: clamp(48px, 9vw, 72px) 0 0;
  }
  .sr-num {
    font-size: clamp(96px, 26vw, 150px);
  }
  .sr-inline {
    display: block;
    position: relative;
    margin-top: 28px;
    aspect-ratio: 4 / 5;
    max-height: 78vh;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-2), 0 0 0 1px rgba(13, 34, 56, 0.08);
    cursor: pointer;
  }
  .sr-inline img {
    display: block;
    width: 100%;
    height: auto;
    will-change: transform;
  }
}
