/* Rianerurkar site layer. Uses tokens.css values; components (rn-btn, rn-seg, rn-ev) come from components.css.
   The whole site is dark (data-theme="dark" on <html>), at Ria's choice. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
body { font-size: 17px; line-height: 1.65; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
p, li, h1, h2, h3, dd { text-wrap: pretty; }
::selection { background: var(--dusty-pink); color: var(--ink); }

:root {
  --wrap: 1240px;
  --gutter: 16px;
  --section-gap: 88px;
  --read: 680px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 720px) { :root { --gutter: 32px; --section-gap: 112px; } }
@media (min-width: 1100px) { :root { --gutter: 56px; --section-gap: 152px; } }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-gap) 0; position: relative; }
.section + .section::before {
  content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter);
  max-width: var(--wrap); margin: 0 auto; border-top: 1px solid var(--rule);
}
.section--tight { padding: 56px 0; }
.section--sunken { background: var(--surface-sunken); }
.section--sunken::before, .section--sunken + .section::before { display: none; }
.section__head { max-width: 820px; margin-bottom: 48px; }
.section__head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section__head--split > div { max-width: 820px; }
.section__head .lead { margin-top: 20px; }
@media (min-width: 1100px) { .section__head { margin-bottom: 72px; } }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Type ---------- */
.display, .h2, .h3, .tagline { font-family: var(--font-serif); font-weight: 400; color: var(--text); }
.display { font-weight: 300; font-size: clamp(44px, 7.6vw, 104px); line-height: 1.0; letter-spacing: -0.028em; }
.h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.022em; font-weight: 300; }
.h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.01em; }
.display em, .h2 em, .h3 em, .tagline em { font-style: italic; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--text-muted); max-width: 34em; }
.muted { color: var(--text-muted); }
.kicker {
  display: flex; align-items: center; gap: 14px; margin: 0 0 20px;
  font-family: var(--font-label); font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted);
}
.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--radius-full);
  border: 1px solid var(--edge); color: var(--text-muted); vertical-align: middle;
  font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
}
.tag--solid { background: var(--action); border-color: var(--action); color: var(--on-action); }

/* Split words (built by motion.js): the heading keeps its accessible text, the words are decoration */
/* room on every side so italic overhangs and descenders are never clipped while the words rise */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.08em 0.14em 0.26em; margin: -0.08em -0.14em -0.26em; }
.split .w__i { display: inline-block; }

/* ---------- Links, buttons, focus ---------- */
.icon { width: 1.15em; height: 1.15em; flex: none; }
.btn-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; white-space: nowrap; }
.rn-btn { min-height: 48px; height: auto; }
.rn-btn--sm { min-height: 44px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-weight: 600; font-size: 16px; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 6px; text-decoration-color: var(--edge); color: var(--text);
  transition: text-decoration-color .3s var(--ease-out);
}
.link-arrow .icon { transition: transform .4s var(--ease-out); }
.link-arrow:hover { text-decoration-color: var(--dusty-pink); }
.link-arrow:hover .icon { transform: translateX(4px); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: var(--radius-sm);
}
.rn-btn:focus-visible { border-radius: var(--radius-full); }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 50;
  background: var(--action); color: var(--on-action); padding: 12px 18px;
  border-radius: var(--radius-full); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Placeholders: visibly unfinished, never mistaken for content */
.placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 20px; border: 1px dashed var(--edge); border-radius: var(--radius-md);
  background: var(--surface-sunken); color: var(--text-muted);
  font-family: var(--font-label); font-size: 12px; line-height: 1.6; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.placeholder--portrait { aspect-ratio: 4 / 5; }
.about-portrait { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 58% 30%; border-radius: var(--radius-lg); }
.placeholder--wide { aspect-ratio: 4 / 3; }
.placeholder--small { width: 200px; max-width: 100%; aspect-ratio: 10 / 7; }
.placeholder-text { color: var(--text-muted); font-style: italic; }

/* ---------- Header: a compact pill floating off the top edge ---------- */
.site-header {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 40;
  padding: 0 12px; display: flex; justify-content: center; pointer-events: none;
  transition: transform .5s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(calc(-100% - 16px)); }
.site-header__inner {
  pointer-events: auto; position: relative; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  width: 100%; max-width: 1120px; min-height: 60px; padding: 8px 8px 8px 22px;
}
/* The blurred pill lives on a layer behind the content, so the fixed mobile menu isn't trapped inside it */
.site-header__inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border: 1px solid var(--rule); border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.site-header__logo, .site-header__actions { position: relative; z-index: 2; }
.site-header__logo { flex: none; display: flex; align-items: center; min-height: 44px; margin-right: auto; }
.site-header__logo img { height: 26px; width: auto; }
.site-header__actions { display: flex; align-items: center; gap: 4px; }
.site-header__cta { padding: 0 18px; min-height: 44px; font-size: 15px; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 15px; height: 44px; min-width: 44px; padding: 0 12px;
  background: transparent; border: 1px solid transparent; color: var(--text); cursor: pointer;
  border-radius: var(--radius-full); white-space: nowrap;
}
.menu-toggle__icon { position: relative; width: 18px; height: 12px; flex: none; }
.menu-toggle__icon span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .5s var(--ease-out);
}
.menu-toggle__icon span:first-child { top: 2px; }
.menu-toggle__icon span:last-child { bottom: 2px; }
.site-header.is-open .menu-toggle__icon span:first-child { transform: translateY(3.25px) rotate(45deg); }
.site-header.is-open .menu-toggle__icon span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.site-nav a {
  display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--text);
  font-size: 15px; font-weight: 500; border-radius: var(--radius-full);
}
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-color: var(--dusty-pink); }
.site-nav__n { font-family: var(--font-label); font-size: 11px; letter-spacing: 0.14em; color: var(--text-muted); }

@media (max-width: 919px) {
  .site-nav {
    position: fixed; inset: 0; z-index: 1; pointer-events: auto;
    padding: 120px var(--gutter) 48px; background: var(--surface);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease-out), visibility 0s linear .35s;
  }
  .site-header.is-open .site-nav { opacity: 1; visibility: visible; transition: opacity .35s var(--ease-out); }
  .site-nav li { border-bottom: 1px solid var(--rule); opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
  .site-header.is-open .site-nav li { opacity: 1; transform: none; }
  .site-header.is-open .site-nav li:nth-child(2) { transition-delay: 60ms; }
  .site-header.is-open .site-nav li:nth-child(3) { transition-delay: 120ms; }
  .site-header.is-open .site-nav li:nth-child(4) { transition-delay: 180ms; }
  .site-nav a { font-family: var(--font-serif); font-weight: 300; font-size: 40px; line-height: 1.1; min-height: 84px; gap: 16px; }
  .site-nav__n { font-size: 12px; }
  .site-header.is-open .site-header__cta { display: none; }
}
@media (max-width: 399px) {
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .site-header__cta { padding: 0 14px; }
  .site-header__inner { padding-left: 16px; }
  .site-header__logo img { height: 22px; }
}
@media (min-width: 920px) {
  .site-header { top: 16px; }
  .site-header__inner { width: auto; gap: 36px; }
  .site-header__logo { margin-right: 0; }
  .site-nav ul { display: flex; gap: 26px; }
  .site-nav__n { display: none; }
  .site-nav a:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-color: var(--edge); }
  .menu-toggle { display: none; }
}

/* ---------- The Instrument (WebGL orb) ---------- */
.instrument { position: relative; aspect-ratio: 1; margin: 0; }
.instrument canvas, .instrument__poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.instrument__poster { object-fit: contain; transition: opacity .8s var(--ease-out); }
.instrument canvas { opacity: 0; transition: opacity .8s var(--ease-out); }
.instrument.is-live canvas { opacity: 1; }
.instrument.is-live .instrument__poster { opacity: 0; }
.instrument.is-static canvas { display: none; }
.instrument__caption {
  position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 12px;
  font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted);
}

/* ---------- 01 Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px 0 64px; overflow: hidden; isolation: isolate;
}
.instrument--hero { position: absolute; z-index: -2; width: 112vw; max-width: 620px; top: 56px; right: -38vw; }
.instrument--hero .instrument__caption { left: auto; right: 42vw; bottom: 14%; }
/* The orb is decoration: a fade keeps the words over it at full contrast */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, transparent 30%, color-mix(in srgb, var(--surface) 86%, transparent) 54%, var(--surface) 72%);
}
.hero__inner { position: relative; }
.memo {
  display: grid; width: 100%; max-width: 420px; margin-bottom: 32px;
  border-top: 1px solid var(--text); border-bottom: 1px solid var(--rule);
}
.memo div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.5; }
.memo div:first-child { border-top: 0; }
.memo dt { font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); padding-top: 3px; }
.hero__title { max-width: 13.5em; font-size: clamp(42px, min(5.6vw, 9.4vh), 88px); }
.hero__title em { color: var(--dusty-pink); }
.hero__lead { margin-top: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
.hero__note { margin-top: 14px; font-size: 15px; color: var(--text-muted); }
.hero__scroll { display: none; }
/* Phones and tablets: the orb gets its own space above the words, so nothing is read over it */
@media (max-width: 1099px) {
  .hero { min-height: 0; justify-content: flex-start; padding: calc(96px + min(76vw, 44vh)) 0 72px; }
  .hero::after { display: none; }
  .instrument--hero { width: min(76vw, 44vh); top: 72px; right: max(-16vw, calc(min(76vw, 44vh) * -0.2)); }
  .instrument--hero .instrument__caption { left: auto; right: 30%; bottom: -4px; white-space: nowrap; }
  .memo { display: none; }
}
@media (min-width: 1100px) {
  .hero { justify-content: center; padding: 112px 0 88px; }
  .memo { margin-bottom: 28px; }
  .hero::after { background: linear-gradient(to right, var(--surface) 34%, color-mix(in srgb, var(--surface) 40%, transparent) 54%, transparent 70%); }
  .instrument--hero { width: min(44vw, 92vh); max-width: 900px; top: 50%; right: -8vw; margin-top: calc(min(44vw, 92vh) / -2); }
  .instrument--hero .instrument__caption { right: 30%; bottom: 4%; }
  .hero__inner { padding-right: 40%; }
  .hero__title { font-size: clamp(42px, min(4.9vw, 8.6vh), 84px); }
  .hero__scroll {
    display: flex; align-items: center; gap: 12px; position: absolute; left: var(--gutter); bottom: 32px;
    font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted);
  }
  .hero__scroll span { width: 1px; height: 40px; background: var(--rule); position: relative; overflow: hidden; }
  .hero__scroll span::after { content: ""; position: absolute; left: 0; top: -40px; width: 1px; height: 40px; background: var(--dusty-pink); animation: scroll-cue 2.4s var(--ease-out) infinite; }
}
@keyframes scroll-cue { to { transform: translateY(80px); } }
/* Until motion.js plays the intro, the hero's opening words and the orb wait off-stage */
.intro-pending [data-split="hero"], .intro-pending [data-hero-in], .intro-pending [data-hero-orb] { opacity: 0; }

/* ---------- 02 Proof strip ---------- */
.proof__list { display: grid; margin-top: 8px; }
.proof__list li { padding: 24px 0; border-top: 1px solid var(--rule); }
.proof__name { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; }
.proof__fact { margin-top: 10px; color: var(--text-muted); font-size: 16px; }
.proof__figure { display: block; font-family: var(--font-serif); font-weight: 300; font-size: clamp(56px, 6vw, 80px); line-height: 1; letter-spacing: -0.03em; color: var(--text); margin-bottom: 8px; }
@media (min-width: 900px) {
  .proof__list { grid-template-columns: repeat(3, 1fr); }
  .proof__list li { padding: 28px 32px 8px 0; }
  .proof__list li + li { padding-left: 32px; border-left: 1px solid var(--rule); }
}

/* ---------- 03 Paths ---------- */
.paths__grid { display: grid; gap: 20px; }
.path {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: 32px 24px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-raised-md); border: 1px solid var(--rule);
}
.path p:not(.path__num) { color: var(--text-muted); max-width: 32em; }
.path .rn-btn { margin-top: auto; }
.path__num { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--dusty-pink); }
@media (min-width: 900px) { .paths__grid { grid-template-columns: 1fr 1fr; gap: 32px; } .path { padding: 48px 44px; } }

/* ---------- 04 Selected work ---------- */
.work__grid { display: grid; gap: 56px; }
.case-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.case-card__media { display: block; width: 100%; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface-sunken); aspect-ratio: 4 / 3; }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease-out); }
.case-card:hover .case-card__media img { transform: scale(1.07); }
.case-card__caption { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 8px; }
.case-card__title { margin-top: 4px; }
.case-card .placeholder-text { font-size: 16px; }
@media (min-width: 900px) {
  .work__grid { grid-template-columns: 1.25fr 1fr; gap: 48px 56px; }
  .case-card--lead { grid-row: span 2; }
  .case-card--lead .case-card__media { aspect-ratio: 4 / 5; }
  .case-card:not(.case-card--lead) .case-card__media { aspect-ratio: 16 / 9; }
}

/* ---------- 05 Reviews ---------- */
.reviews { overflow: hidden; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.reviews__viewport { overflow-x: auto; padding: 16px 0 32px; scrollbar-width: none; }
.reviews__viewport::-webkit-scrollbar { display: none; }
.reviews__track { display: flex; gap: 24px; width: max-content; padding: 0 var(--gutter); }
.review {
  width: min(84vw, 440px); flex: none; display: flex; flex-direction: column; gap: 16px; justify-content: space-between;
  padding: 32px 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--rule); box-shadow: var(--shadow-raised-md);
}
.review blockquote { display: flex; flex-direction: column; gap: 20px; height: 100%; justify-content: space-between; margin: 0; }
.review__quote { font-family: var(--font-serif); font-size: 21px; line-height: 1.45; }
.review__quote--small { font-size: 19px; color: var(--text-muted); }
.review__score { font-family: var(--font-serif); font-weight: 300; font-size: 88px; line-height: 1; letter-spacing: -0.03em; }
.review__by { font-size: 15px; font-weight: 600; }
.review__project { display: block; font-weight: 400; color: var(--text-muted); }
.review--placeholder { justify-content: center; border-style: dashed; border-color: var(--edge); box-shadow: none; background: var(--surface-sunken); }
.reviews.is-moving .reviews__viewport { overflow: hidden; }
.reviews.is-moving .reviews__track { animation: reviews-scroll var(--reviews-duration, 60s) linear infinite; }
.reviews.is-moving .reviews__viewport:hover .reviews__track,
.reviews.is-moving .reviews__viewport:focus-within .reviews__track,
.reviews.is-paused .reviews__track { animation-play-state: paused; }
@keyframes reviews-scroll { to { transform: translateX(var(--reviews-shift, -50%)); } }

/* ---------- 06 Evidence ---------- */
.tagline { font-weight: 300; font-size: clamp(52px, 11vw, 168px); line-height: 0.95; letter-spacing: -0.035em; margin: 8px 0 56px; }
.tagline em { color: var(--dusty-pink); }
.tagline.is-scrubbed .w__i { opacity: 0.16; transition: opacity .25s linear; }
.tagline.is-scrubbed .w__i.is-lit { opacity: 1; }
.evidence__body { display: grid; gap: 20px; max-width: var(--read); margin-left: auto; font-size: 18px; }
.evidence__labels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ---------- 07 Stages (Home): the orb stays put while the steps scroll past ---------- */
.stages__grid { display: grid; gap: 24px; }
.stages__sticky {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 16px;
  margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter);
  background: color-mix(in srgb, var(--surface) 94%, transparent); border-bottom: 1px solid var(--rule);
}
.instrument--stages { width: 104px; flex: none; }
.instrument--stages .instrument__caption { left: calc(100% + 16px); bottom: 50%; transform: translateY(50%); flex-direction: column; align-items: flex-start; gap: 8px; white-space: nowrap; }
.stages__count { font-family: var(--font-label); font-size: 12px; letter-spacing: 0.18em; color: var(--text-muted); }
.stage { padding: 36px 0 48px; border-top: 1px solid var(--rule); transition: opacity .5s var(--ease-out); }
.stage:first-child { border-top: 0; }
.stage__num { display: block; font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: var(--dusty-pink); margin-bottom: 12px; }
.stage .h3 { font-size: clamp(34px, 4vw, 56px); font-weight: 300; letter-spacing: -0.02em; }
.stage p { margin-top: 12px; color: var(--text-muted); max-width: 30em; font-size: 18px; }
.stage .link-arrow { margin-top: 28px; }
.stages.is-scrubbed .stage { opacity: 0.3; }
.stages.is-scrubbed .stage.is-active { opacity: 1; }
@media (min-width: 900px) {
  .stages__grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .stages__sticky { top: 0; height: 100vh; margin: 0; padding: 0; border: 0; background: none; justify-content: center; order: 2; }
  .instrument--stages { width: min(100%, 70vh, 560px); }
  .instrument--stages .instrument__caption { left: 0; bottom: -4px; transform: none; flex-direction: row; align-items: center; gap: 16px; }
  .stages__list { order: 1; }
  .stage { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 48px 0; }
}

/* ---------- 08 Services panel ---------- */
.services__panel {
  background: var(--panel); color: var(--text-on-panel); border-radius: var(--radius-lg);
  padding: 36px 20px; display: grid; gap: 28px;
}
.services__panel .kicker { color: var(--text-on-panel); }
.services__panel .h2 { color: var(--text-on-panel); font-size: clamp(32px, 4.4vw, 56px); }
.services__head { display: grid; gap: 24px; align-content: start; }
.currency { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.currency__label { font-size: 15px; }
.currency__note { flex-basis: 100%; font-size: 14px; color: inherit; }
.rn-seg__opt { min-height: 44px; }
.services__panel .rn-seg { background: color-mix(in srgb, var(--ink) 40%, transparent); }
.tiers { width: 100%; border-collapse: collapse; font-size: 16px; }
.tiers th, .tiers td { text-align: left; padding: 16px 12px 16px 0; border-top: 1px solid color-mix(in srgb, var(--text-on-panel) 24%, transparent); vertical-align: top; }
.tiers thead th { font-family: var(--font-label); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; border-top: 0; padding-bottom: 10px; }
.tiers tbody th { font-weight: 600; }
.tiers td:last-child { text-align: right; padding-right: 0; white-space: nowrap; font-family: var(--font-serif); font-size: 21px; }
.tiers thead th:last-child { text-align: right; }
.tiers .tag { margin-left: 4px; }
.services__extra, .services__small { max-width: 44em; }
.services__small { font-size: 15px; }
.services__panel .rn-btn { justify-self: start; }
@media (max-width: 599px) {
  .tiers thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tiers tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-top: 1px solid color-mix(in srgb, var(--text-on-panel) 24%, transparent); }
  .tiers th, .tiers td { border: 0; padding: 0; }
  .tiers tbody th { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .services__panel { padding: 64px; grid-template-columns: 1fr 1.2fr; gap: 32px 64px; }
  .services__head { grid-row: span 4; }
}

/* ---------- 09 FAQ ---------- */
.faq__grid { display: grid; gap: 32px; }
.faq__list { border-bottom: 1px solid var(--rule); }
.faq__list details { border-top: 1px solid var(--rule); }
.faq__list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0;
  cursor: pointer; list-style: none; font-family: var(--font-serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.3;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary .icon { transition: transform .4s var(--ease-out); color: var(--text-muted); }
.faq__list details[open] summary .icon { transform: rotate(180deg); }
.faq__list details > p { padding: 0 0 24px; color: var(--text-muted); max-width: 40em; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 1fr 1.4fr; gap: 64px; } }

/* ---------- Booking ---------- */
.booking__grid { display: grid; gap: 40px; }
.booking__intro { display: grid; gap: 20px; align-content: start; justify-items: start; }
.booking__sub { color: var(--text-muted); font-size: 18px; }
.calendar-open { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: var(--ink); }
.calendar-open img { width: 100%; height: auto; transition: transform .8s var(--ease-out); }
.calendar-open:hover img { transform: scale(1.03); }
.calendar-open__label { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-full); background: var(--dusty-pink); color: var(--ink); font-weight: 600; font-size: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.calendar-open__label svg { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.calendar-open:hover .calendar-open__label svg { transform: translateX(4px); }
.calendar-open:focus-visible { outline: none; box-shadow: var(--focus-ring); }
@media (prefers-reduced-motion: reduce) { .calendar-open img, .calendar-open__label svg { transition: none; } }
.calendar {
  min-height: 460px; border-radius: var(--radius-lg); border: 1px dashed var(--edge); background: var(--surface-sunken);
  box-shadow: var(--shadow-inset); display: grid; place-items: center; padding: 28px; text-align: center;
}
.calendar__state { display: grid; justify-items: center; gap: 16px; max-width: 30em; }
.calendar__state[hidden] { display: none; }
.calendar__state--booked { justify-items: start; text-align: left; }
.calendar.has-frame { padding: 0; border-style: solid; place-items: stretch; overflow: hidden; }
.calendar__frame { width: 100%; height: 100%; min-height: 620px; border: 0; }
.calendar__spinner { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--rule); border-top-color: var(--dusty-pink); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.note {
  display: grid; gap: 20px; padding: 28px 20px; border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--rule); box-shadow: var(--shadow-raised-md); transition: border-color .4s var(--ease-out);
}
.note.is-highlighted { border: 2px solid var(--dusty-pink); }
.note[hidden] { display: none; }
.note__title { font-family: var(--font-serif); font-weight: 400; font-size: 24px; line-height: 1.25; }
.note__summary:empty, .note__status:empty { display: none; }
.note__summary { color: var(--dusty-pink); font-weight: 600; }
.note__status { font-size: 15px; color: var(--text); padding: 12px 16px; border-radius: var(--radius-md); border: 1px solid var(--dusty-pink); }
.note__send { justify-self: start; }
.note-sent { display: grid; gap: 20px; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--rule); }
.note-sent[hidden] { display: none; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 16px; }
.field__help { font-size: 15px; color: var(--text-muted); margin-top: -2px; }
.field input, .field textarea {
  font: inherit; font-size: 17px; color: var(--text); min-height: 52px; padding: 12px 16px; width: 100%;
  border-radius: var(--radius-md); border: 1px solid var(--edge); background: var(--surface-sunken); box-shadow: var(--shadow-inset);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--dusty-pink); border-width: 2px; }
.field__error { font-size: 15px; font-weight: 600; color: var(--dusty-pink); }
.field__error:empty { display: none; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 900px) {
  .booking__grid { grid-template-columns: 0.9fr 1.1fr; gap: 48px 72px; align-items: start; }
  .calendar-open { grid-column: 2; grid-row: 1 / span 2; align-self: start; position: sticky; top: 100px; }
  .calendar { grid-column: 2; grid-row: 2; min-height: 640px; position: sticky; top: 100px; }
  .booking__intro, .note, .note-sent { grid-column: 1; }
  .booking__intro { align-self: center; }
  .note, .note-sent { grid-row: 2; }
  .note, .note-sent { padding: 36px; }
}

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 40px; border-top: 1px solid var(--rule); background: var(--surface-sunken); }
.site-footer__grid { display: grid; gap: 40px; }
.site-footer__brand img { width: 168px; height: auto; margin-bottom: 12px; }
.site-footer__email { display: inline-block; padding: 6px 0; font-family: var(--font-serif); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.25; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; text-decoration-color: var(--edge); overflow-wrap: anywhere; }
.site-footer__email:hover { text-decoration-color: var(--dusty-pink); }
.site-footer__mail .rn-eyebrow { margin-bottom: 8px; }
.site-footer__links { display: grid; gap: 2px; }
.site-footer__links a, .link-pending { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; text-underline-offset: 6px; }
.link-pending { gap: 10px; color: var(--text-muted); }
.link-pending__note { font-size: 14px; font-style: italic; }
.site-footer__fine { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--text-muted); max-width: 60em; }
@media (min-width: 900px) {
  .site-footer { padding-top: 96px; }
  .site-footer__grid { grid-template-columns: 1fr 1.4fr auto; align-items: start; gap: 64px; }
}

/* ---------- Inner page heroes ---------- */
.page-hero { padding: 132px 0 64px; position: relative; overflow: hidden; }
.page-hero__grid { display: grid; gap: 40px; align-items: center; }
.page-hero .display { font-size: clamp(56px, 9vw, 128px); }
.page-hero .lead { margin-top: 24px; }
.page-hero .currency { margin-top: 28px; }
.page-hero__fact { margin-top: 20px; font-weight: 600; }
.page-hero__art .instrument { width: min(100%, 520px); margin-left: auto; }
.page-hero__img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
/* Work film: a short desk clip beside the Work title; muted, pausable, still for reduced motion */
.film { position: relative; margin: 0; border-radius: 24px; overflow: hidden; background: var(--surface-sunken, #151210); aspect-ratio: 16 / 9; }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film__toggle { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(238,235,227,.35); background: rgba(21,18,16,.6); color: #eeebe3; display: grid; place-items: center; cursor: pointer; }
.film__toggle span { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.film__toggle[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 13px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.film__toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.page-hero__art .instrument__caption { position: static; margin-top: 12px; justify-content: flex-end; }
.page-hero .tag { margin-bottom: 16px; }
@media (min-width: 900px) {
  .page-hero { padding: 180px 0 112px; }
  .page-hero__grid { grid-template-columns: 1.15fr 1fr; gap: 64px; }
}

/* ---------- Work page: zig-zag rows ---------- */
.work-rows { display: grid; gap: 88px; }
.work-row { display: grid; gap: 24px; align-items: center; }
.work-row__media { display: block; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; background: var(--surface-sunken); }
.work-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.work-row:hover .work-row__media img { transform: scale(1.05); }
.work-row__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.work-row__index { font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: var(--dusty-pink); }
.work-row .h2 { font-size: clamp(40px, 5vw, 64px); }
@media (min-width: 900px) {
  .work-rows { gap: 144px; }
  .work-row { grid-template-columns: 1.2fr 1fr; gap: 72px; }
  .work-row:nth-child(even) .work-row__media { order: 2; }
}

/* ---------- Case study ---------- */
.case-meta { display: grid; gap: 20px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--rule); }
.case-meta dt { font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.case-meta dd { font-size: 16px; }
@media (min-width: 600px) { .case-meta { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.ran__stage { display: grid; gap: 24px; padding: 48px 0; border-top: 1px solid var(--rule); }
.ran__stage:last-child { border-bottom: 1px solid var(--rule); }
.ran__marker { display: flex; align-items: center; gap: 16px; }
.ran__marker img { width: 64px; height: 64px; }
.ran__marker .h3 { font-size: 28px; }
.ran__marker .stage__num { margin: 0 0 4px; }
.ran__body { display: grid; gap: 24px; }
.finding { display: grid; gap: 16px; padding: 20px; border-radius: var(--radius-lg); border: 1px solid var(--rule); background: var(--surface); box-shadow: var(--shadow-raised-md); }
.finding__alt { font-size: 14px; color: var(--text-muted); }
.finding__source { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 15px; }
@media (min-width: 900px) {
  .ran__stage { grid-template-columns: 240px 1fr; gap: 56px; padding: 64px 0; }
  .ran__marker { flex-direction: column; align-items: flex-start; position: sticky; top: 112px; align-self: start; }
  .ran__marker img { width: 96px; height: 96px; }
  .finding { padding: 28px; }
}
.built { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .built { grid-template-columns: 240px 1fr; gap: 56px; } }
.built .h3 { font-size: 28px; }
.finding__quote { margin: 0; font-family: var(--font-serif); font-weight: 300; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; letter-spacing: -0.01em; }
.finding__quote p { margin: 0; }
.finding__source { color: var(--text-muted); }
.shifts { display: grid; gap: 0; }
.shifts li { padding: 18px 0; border-top: 1px solid var(--rule); }
.shifts li:last-child { border-bottom: 1px solid var(--rule); }
.shifts__was { display: block; color: var(--text-muted); text-decoration: line-through; text-decoration-color: var(--dusty-pink); text-decoration-thickness: 1px; margin-bottom: 4px; }
.case-pdf { margin-top: 28px; }
.page-hero__img--tall { max-height: 72vh; object-fit: cover; object-position: 50% 28%; }
.next-case { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.next-case .h2 { font-size: clamp(30px, 4vw, 52px); }

/* ---------- Services page ---------- */
.tier-cards { display: grid; gap: 24px; align-items: start; }
.tier-card {
  display: grid; gap: 18px; padding: 28px 22px; border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--rule); box-shadow: var(--shadow-raised-md);
}
.tier-card--flagship { border: 2px solid var(--dusty-pink); }
.tier-card__logo { width: 64px; height: auto; }
.tier-card__head { display: grid; gap: 10px; justify-items: start; }
.tier-card__name { font-family: var(--font-serif); font-weight: 400; font-size: 26px; line-height: 1.2; }
.tier-card__fee { font-family: var(--font-serif); font-weight: 300; font-size: clamp(40px, 4vw, 52px); line-height: 1; letter-spacing: -0.02em; }
.tier-card__meta { display: grid; border-top: 1px solid var(--rule); }
.tier-card__meta div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.tier-card__meta dt { color: var(--text-muted); }
.tier-card__meta dd { text-align: right; }
.tier-card__for { color: var(--text-muted); }
.tier-card__note { font-size: 15px; color: var(--text-muted); }
.tier-card .rn-btn { justify-self: start; }
@media (min-width: 1000px) {
  .tier-cards { grid-template-columns: 1fr 1.18fr 1fr; }
  .tier-card { padding: 32px 28px; }
  .tier-card--flagship { padding: 44px 32px; margin-top: -16px; }
}
.terms-grid { display: grid; gap: 28px; }
.terms-grid h3 { font-family: var(--font-sans); font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.terms-grid p { color: var(--text-muted); }
@media (min-width: 800px) { .terms-grid { grid-template-columns: 1fr 1fr; gap: 36px 64px; } }
.reach { display: grid; gap: 40px; align-items: center; }
.reach__body { display: grid; gap: 20px; justify-items: start; }
.reach__body .evidence__labels { margin: 0; }
.reach__body > .reach__lead { font-size: 19px; }
.reach__art { display: grid; gap: 16px; justify-items: start; }
.reach__sample { display: block; width: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-raised-md); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.reach__sample img { width: 100%; height: auto; }
.reach__sample:hover { transform: translateY(-4px); }
.reach__sample:focus-visible { outline: none; box-shadow: var(--focus-ring); }
@media (prefers-reduced-motion: reduce) { .reach__sample { transition: none; } }
@media (min-width: 900px) { .reach { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.extra-cards { display: grid; gap: 20px; }
.extra-card { display: grid; gap: 12px; align-content: start; padding: 28px 24px; border-radius: var(--radius-lg); border: 1px solid var(--rule); background: var(--surface-sunken); }
.extra-card__name { font-family: var(--font-serif); font-weight: 400; font-size: 24px; line-height: 1.25; }
.extra-card__fee { font-family: var(--font-serif); font-size: 26px; }
.extra-card .tag { justify-self: start; }
@media (min-width: 900px) { .extra-cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- How I work page: step selector ---------- */
.stepper { display: grid; gap: 28px; }
.stepper__tabs {
  display: grid; grid-auto-flow: column; grid-auto-columns: max-content; gap: 8px;
  overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px;
}
.stepper__tabs::-webkit-scrollbar { display: none; }
.stepper__tab {
  font: inherit; text-align: left; color: var(--text); cursor: pointer; display: grid; gap: 6px; min-height: 56px; align-content: center;
  padding: 12px 18px; border-radius: var(--radius-md); border: 1px solid var(--edge); background: var(--surface);
  box-shadow: var(--shadow-raised-sm); transition: background .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.stepper__tab:hover { box-shadow: var(--shadow-raised-md); }
.stepper__tab[aria-selected="true"] { background: var(--action); color: var(--on-action); border-color: var(--action); box-shadow: none; }
.stepper__tab-name { font-family: var(--font-serif); font-size: 20px; line-height: 1.2; }
.stepper__tab-line { font-size: 14px; color: var(--text-muted); line-height: 1.45; display: none; }
.stepper__tab[aria-selected="true"] .stepper__tab-line { color: var(--on-action); }
.stepper__stage { display: grid; gap: 24px; }
.stepper__orb { width: min(52vw, 400px); justify-self: center; }
.stepper__orb { margin-bottom: 40px; }
.stepper__orb .instrument__caption { top: calc(100% + 8px); bottom: auto; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.stepper__panel { display: grid; gap: 28px; padding: 28px 22px; border-radius: var(--radius-lg); border: 1px solid var(--rule); background: var(--surface); box-shadow: var(--shadow-raised-md); }
.stepper__panel[hidden] { display: none; }
.stepper__panel > p { font-size: 19px; }
.stepper__cols { display: grid; gap: 24px; }
.stepper__cols h4 { font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 8px; }
.stepper__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--rule); }
.stepper__count { font-size: 15px; color: var(--text-muted); }
.stepper:not(.is-enhanced) .stepper__tabs, .stepper:not(.is-enhanced) .stepper__count, .stepper:not(.is-enhanced) [data-step-next] { display: none; }
.stepper:not(.is-enhanced) .stepper__panels { display: grid; gap: 24px; }
@media (min-width: 720px) { .stepper__tabs { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; } .stepper__tab { align-content: start; } .stepper__tab-line { display: block; } }
@media (min-width: 1000px) {
  .stepper__stage { grid-template-columns: 1.6fr 1fr; align-items: center; gap: 56px; }
  .stepper__panel { padding: 44px; }
  .stepper__cols { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .stepper__orb { order: 2; }
}

/* ---------- About ---------- */
.about-hero { display: grid; gap: 40px; }
.about-hero__story { display: grid; gap: 20px; align-content: start; }
@media (min-width: 900px) { .about-hero { grid-template-columns: 1fr 1.2fr; gap: 72px; } }
.facts { display: grid; gap: 40px; margin-top: 48px; }
.facts__group { padding-top: 24px; border-top: 1px solid var(--rule); }
.facts__list { display: grid; gap: 10px; }
.facts__list li { font-family: var(--font-serif); font-weight: 300; font-size: clamp(22px, 2vw, 26px); line-height: 1.3; }
.facts__note { font-family: var(--font-sans); font-size: 16px; color: var(--text-muted); }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; } }
.split-row { display: grid; gap: 40px; align-items: center; }
.split-row__body { display: grid; gap: 20px; justify-items: start; }
@media (min-width: 900px) { .split-row { grid-template-columns: 1.2fr 1fr; gap: 72px; } }
.split-row__img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); }
@media (min-width: 900px) { .split-row--media-first { grid-template-columns: 1.1fr 1fr; } }

/* ---------- 404 and simple pages ---------- */
.notfound { min-height: 86svh; display: grid; place-items: center; text-align: center; padding: 132px 0 80px; }
.notfound__inner { display: grid; justify-items: center; gap: 24px; }
.notfound__img { width: min(64vw, 280px); height: auto; border-radius: var(--radius-lg); }
.notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* the Rianerurkar petals: a sparse drift behind the opening of each page (assets/js/petals.js) */
[data-petals] { position: relative; isolation: isolate; }
[data-petals] > .petals { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.prose { max-width: var(--read); display: grid; gap: 20px; }
.legal .h3 { margin-top: 24px; font-size: 26px; }
.legal a { color: var(--dusty-pink); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero__scroll { display: none !important; }
}
