/* Shaadi Squad — "The Baraat". Peacock night, ivory paper, their bunting colours. */
:root {
  --ink: #0d2421;
  --ink-2: #133430;
  --ink-3: #1b453f;
  --ivory: #f6eedf;
  --paper: #f3e8d5;
  --paper-2: #eadbc2;
  --text: #10221f;
  --mute-d: #c7bfae;   /* muted on ink, ~9:1 */
  --mute-p: #5b5146;   /* muted on paper, ~6.6:1 */
  --lime: #c8d42a;
  --mari: #f4ae1a;
  --teal: #17a08b;
  --rani: #e62a64;
  --rani-d: #b0144a;   /* rani for small text on paper */
  --line-d: rgba(246, 238, 223, .16);
  --line-p: rgba(16, 34, 31, .16);
  --pad: clamp(16px, 4.4vw, 64px);
  --display: "Rozha One", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--ivory);
  font-family: var(--sans); font-size: 17px; line-height: 1.62; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--mari); outline-offset: 4px; border-radius: 2px; }
[data-theme="paper"] :focus-visible { outline-color: var(--rani-d); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; background: var(--ivory); color: var(--ink); border-radius: 4px; transform: translateY(-200%); }
.skip:focus-visible { transform: none; }

/* pennant glyph: their bunting, as a typographic mark */
.pen { display: inline-block; width: .78em; height: .7em; clip-path: polygon(0 0, 100% 0, 50% 100%); flex: none; }
.pen--lime { background: var(--lime); } .pen--mari { background: var(--mari); }
.pen--teal { background: var(--teal); } .pen--rani { background: var(--rani); }

.eyebrow, .kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow { color: var(--mari); }
[data-theme="paper"] .eyebrow { color: var(--rani-d); }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 4.6vw, 4.2rem); line-height: 1.02; letter-spacing: -.01em; }

/* arch: the jharokha every photo sits in */
.arch { display: block; position: relative; overflow: hidden; border-radius: 999px 999px 6px 6px; background: var(--ink-3); isolation: isolate; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--wide { border-radius: 40% 40% 6px 6px / 56% 56% 6px 6px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px;
  background: #cf1a4f; color: #fff; font-weight: 600; font-size: 16px; letter-spacing: .01em;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: #b3123f; transform: translateY(-2px); }
.btn--light { background: var(--ivory); color: var(--ink); }
.btn--light:hover { background: var(--mari); }
.link { display: inline-flex; gap: 8px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link span { transition: transform .3s var(--ease); }
.link:hover span { transform: translateX(4px); }

/* ---------- bunting ---------- */
.bunting { display: block; width: 100%; overflow: visible; pointer-events: none; }
.bunting .string { fill: none; stroke: rgba(246, 238, 223, .55); stroke-width: 1.4; }
.bunting .p { transform-box: fill-box; transform-origin: 50% 0; rotate: var(--kick, 0deg); animation: sway 3.4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.37s); animation-play-state: paused; }
.bunting.is-on .p { animation-play-state: running; }
body.is-loading .bunting .p { animation-play-state: paused; }
@keyframes sway { from { transform: rotate(-3.5deg); } to { transform: rotate(3.5deg); } }
html.rm .bunting .p { animation: none; rotate: none; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 150; background: var(--ink); display: grid; place-items: center; clip-path: inset(0 0 0 0); }
.bunting--loader { position: absolute; top: 0; left: 0; height: 160px; }
.loader__word { display: grid; justify-items: center; gap: 4px; opacity: 0; }
.loader__deva { font-family: var(--display); font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1; color: var(--mari); }
.loader__name { font-family: var(--display); font-size: clamp(2.6rem, 8vw, 5.6rem); line-height: 1; letter-spacing: -.01em; }
html.rm .loader, html:not(.js) .loader { display: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90; height: 72px; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--ivory);
  transition: color .35s var(--ease), background-color .35s var(--ease);
}
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(13, 36, 33, .8), rgba(13, 36, 33, 0)); transition: opacity .35s; }
.nav.is-paper { color: var(--text); }
.nav.is-paper::before { background: linear-gradient(to bottom, rgba(243, 232, 213, .97) 55%, rgba(243, 232, 213, 0)); }
.nav__mark { display: flex; align-items: center; gap: 3px; font-family: var(--display); font-size: 22px; line-height: 1; }
.nav__mark span { margin-left: 10px; }
.nav__mark .pen { width: 11px; height: 12px; }
.nav__links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { font-size: 15px; font-weight: 600; padding: 9px 18px; border: 1px solid currentColor; border-radius: 999px; transition: background .3s, color .3s; }
.nav__cta:hover { background: var(--mari); border-color: var(--mari); color: var(--ink); }
@media (max-width: 860px) { .nav__links { display: none; } }
@media (max-width: 400px) { .nav__mark { font-size: 19px; } .nav__cta { padding: 8px 14px; font-size: 14px; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 112px var(--pad) 56px; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.bunting--hero { position: absolute; top: 58px; left: 0; height: 110px; z-index: 3; }
.hero__grid { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; align-items: center; }
.hero__copy { grid-column: 1 / span 7; grid-row: 1; align-self: end; padding-top: 40px; }
.kicker { color: var(--mute-d); margin-bottom: 26px; }
.hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(3.1rem, 7.4vw, 7.6rem); line-height: .94; letter-spacing: -.02em; max-width: 11ch; }
.hero__sub { margin-top: 28px; font-size: clamp(1.1rem, 1.5vw, 1.32rem); color: var(--mute-d); max-width: 34ch; }
.hero__cta { grid-column: 1 / span 7; grid-row: 2; align-self: start; margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.hero__arch { grid-column: 8 / span 4; grid-row: 1 / span 2; justify-self: end; width: 100%; max-width: 440px; }
.hero__arch .arch { aspect-ratio: 3 / 4; max-height: 70svh; width: 100%; }
.hero__arch img { object-position: 30% 45%; }
.hero__arch figcaption, .float__cap, .counter { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute-d); }
.hero__arch figcaption { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero__arch figcaption span { color: var(--ivory); }
.hero__media { display: none; }
.hero__after, .hero__hint { display: none; }

html.js:not(.rm) .hero { height: 100svh; }
html.js:not(.rm) .hero__media {
  display: block; position: absolute; z-index: 1; overflow: hidden; left: 0; top: 0; width: 0; height: 0;
  border-radius: 999px 999px 6px 6px; will-change: left, top, width, height;
}
html.js:not(.rm) .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; }
html.js:not(.rm) .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 26, 24, .88) 0%, rgba(10, 26, 24, .25) 45%, rgba(10, 26, 24, 0) 70%); opacity: var(--shade, 0); }
html.js:not(.rm) .hero__arch .arch { visibility: hidden; }
html.js:not(.rm) .hero__after {
  display: block; position: absolute; z-index: 4; left: var(--pad); right: var(--pad); bottom: 9svh; margin: 0;
  font-family: var(--display); font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1.02; max-width: 17ch; opacity: 0;
}
html.js:not(.rm) .hero__after span { color: var(--mari); }
html.js:not(.rm) .hero__hint { display: block; position: absolute; z-index: 4; right: var(--pad); bottom: 28px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute-d); }
html.js:not(.rm) .hero__hint::after { content: ""; display: block; width: 1px; height: 36px; margin: 10px auto 0; background: var(--mute-d); transform-origin: top; animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 860px) {
  .hero { padding-top: 132px; align-items: flex-start; }
  .hero__grid { grid-template-columns: 1fr 42%; gap: 28px 16px; align-items: end; }
  .hero__cta .btn { padding: 13px 20px; font-size: 15px; white-space: nowrap; }
  .hero__cta .link { font-size: 15px; white-space: nowrap; }
  .hero__copy { grid-column: 1 / -1; padding-top: 0; }
  .hero__title { font-size: clamp(2.9rem, 12.4vw, 4.6rem); }
  .hero__sub { margin-top: 18px; }
  .hero__cta { grid-column: 1; grid-row: 2; margin-top: 0; flex-direction: column; align-items: flex-start; gap: 20px; align-self: end; padding-bottom: 30px; }
  .hero__arch { grid-column: 2; grid-row: 2; justify-self: end; width: 100%; max-width: 260px; }
  .hero__arch .arch { aspect-ratio: 3 / 4; max-height: 38svh; }
  .hero__arch figcaption { font-size: 11px; margin-top: 10px; }
  .bunting--hero { top: 64px; height: 80px; }
  html.js:not(.rm) .hero__hint { display: none; }
}
@media (max-width: 860px) and (max-height: 700px) { .hero { padding-top: 116px; } .hero__title { font-size: 2.7rem; } }

/* ---------- word masks ---------- */
[data-words] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-words] .w > span { display: inline-block; }
html.js:not(.rm) [data-words] .w > span { transform: translateY(110%); }

/* ---------- about (paper) ---------- */
.about { position: relative; z-index: 2; background: var(--paper); color: var(--text); padding: clamp(96px, 14vw, 180px) var(--pad) clamp(80px, 10vw, 140px); }
.about__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.about__grid .eyebrow { grid-column: 1 / span 3; align-self: start; padding-top: 14px; }
.about__text { grid-column: 4 / span 8; }
.about__lead { font-family: var(--display); font-size: clamp(2rem, 4.1vw, 3.9rem); line-height: 1.06; letter-spacing: -.01em; }
.about__body { margin-top: 36px; max-width: 58ch; font-size: 18px; color: var(--mute-p); }
.about__promise { margin-top: 22px; max-width: 40ch; font-size: 20px; font-weight: 600; padding-left: 18px; border-left: 3px solid var(--rani); }

.collage { position: relative; height: clamp(420px, 52vw, 720px); margin: clamp(56px, 8vw, 110px) 0 0; }
.collage figure { position: absolute; }
.collage__a { left: 2%; top: 6%; width: 24%; }
.collage__a .arch { aspect-ratio: 3 / 4; }
.collage__b { left: 31%; top: 24%; width: 38%; }
.collage__b .arch { aspect-ratio: 4 / 3; }
.collage__c { right: 3%; top: 0; width: 22%; }
.collage__c .arch { aspect-ratio: 3 / 4.4; }
.collage__a img { object-position: 46% 50%; }
.collage__c img { object-position: 55% 50%; }

.vow { margin: clamp(48px, 7vw, 96px) auto 0; max-width: 980px; text-align: center; }
.vow p { font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 3.2rem); line-height: 1.1; }
.vow p::before { content: "“"; display: block; color: var(--rani); font-size: 1.8em; line-height: .6; margin-bottom: .1em; }
.vow footer { margin-top: 24px; font-size: 16px; color: var(--mute-p); }

.squad { margin-top: clamp(110px, 14vw, 200px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.squad__head { grid-column: 1 / span 5; align-self: end; }
.squad__head .h2 { margin-top: 18px; }
.squad__founders { grid-column: 6 / span 7; }
.squad__founders img { width: 100%; border-radius: 6px; aspect-ratio: 16 / 9; object-fit: cover; }
.squad__founders figcaption { margin-top: 12px; font-size: 14px; color: var(--mute-p); }
.squad__list { grid-column: 1 / -1; margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px 24px; }
.member .arch { aspect-ratio: 4 / 5; background: #c9cdd2; }
.member img { object-position: 50% 30%; }
.member h3 { margin-top: 16px; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.1; }
.member__role { margin-top: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--rani-d); font-weight: 600; line-height: 1.4; }
.member p:last-child { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--mute-p); }

.spot { margin-top: clamp(96px, 12vw, 170px); border-top: 1px solid var(--line-p); padding-top: 28px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.spot__title { grid-column: 1 / span 3; display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; }
.spot__list { grid-column: 4 / span 9; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.spot__list a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line-p); font-size: 16px; line-height: 1.4; transition: color .25s; }
.spot__list a span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--rani-d); margin-bottom: 4px; }
.spot__list a:hover { color: var(--rani-d); }

@media (max-width: 860px) {
  .about__grid, .squad, .spot { grid-template-columns: 1fr; }
  .about__grid .eyebrow, .about__text, .squad__head, .squad__founders, .squad__list, .spot__title, .spot__list { grid-column: 1; }
  .about__body { font-size: 17px; margin-top: 26px; }
  .about__promise { font-size: 18px; }
  .collage { height: 118vw; }
  .collage__a { left: 0; top: 0; width: 46%; }
  .collage__b { left: 10%; top: 50%; width: 80%; }
  .collage__c { right: 0; top: 8%; width: 44%; }
  .squad__list { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .member h3 { font-size: 20px; }
  .member__role { font-size: 11px; }
  .member p:last-child { font-size: 14px; }
  .spot__list { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-width: 1180px) { .squad__list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- work: the procession ---------- */
.work { position: relative; z-index: 2; background: var(--ink); padding-top: clamp(96px, 12vw, 160px); }
.work__head { padding: 0 var(--pad); display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px 24px; align-items: end; }
.work__head .eyebrow { grid-column: 1 / -1; }
.work__title { grid-column: 1 / span 7; font-family: var(--display); font-weight: 400; font-size: clamp(3.4rem, 10vw, 10rem); line-height: .88; letter-spacing: -.02em; }
html.rm .work__hint, html:not(.js) .work__hint { display: none; }
.work__sub { grid-column: 9 / span 4; color: var(--mute-d); font-size: 18px; max-width: 34ch; padding-bottom: 12px; }

.procession { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.bunting--route { height: 90px; position: relative; z-index: 2; }
.track { display: flex; align-items: center; gap: clamp(36px, 4vw, 64px); padding: 30px var(--pad) 40px; width: max-content; }
.track > li { flex: none; position: relative; }
.float { will-change: transform; }
.float--tall { width: clamp(220px, 22vw, 340px); }
.float--wide { width: clamp(290px, 31vw, 470px); }
.float--tall .arch { aspect-ratio: 3 / 4; }
.float--wide .arch { aspect-ratio: 4 / 3.3; border-radius: 40% 40% 6px 6px / 50% 50% 6px 6px; }
.float--high { margin-top: -9vh; } .float--low { margin-top: 9vh; }
.float__btn { display: block; width: 100%; border-radius: 999px 999px 6px 6px; }
.float__btn .arch img { transition: transform .9s var(--ease), filter .5s; }
.float__btn:hover .arch img, .float__btn:focus-visible .arch img { transform: scale(1.05); }
.float__cap { margin-top: 14px; display: grid; grid-template-columns: auto 1fr; gap: 0 12px; }
.float__cap b, .names b { font-weight: 600; color: var(--mari); font-variant-numeric: tabular-nums; grid-row: span 2; padding-top: 6px; }
.float__cap .name, .names .name { font-family: var(--display); font-size: clamp(1.5rem, 2.1vw, 2rem); letter-spacing: -.005em; text-transform: none; color: var(--ivory); line-height: 1.12; }
.float__cap .place, .names .place { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute-d); }
.names { display: grid; gap: 30px; width: clamp(220px, 19vw, 300px); }
.names p { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding-top: 18px; border-top: 1px solid var(--line-d); }
.names b { font-size: 13px; }
.track__end { width: clamp(260px, 28vw, 420px); display: grid; gap: 26px; justify-items: start; }
.track__next { font-family: var(--display); font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1; }
.route { position: absolute; left: 0; right: 0; bottom: 18px; height: 1px; background: var(--line-d); }
.route i { position: absolute; inset: 0; background: var(--mari); transform-origin: left; transform: scaleX(0); }
.counter { position: absolute; right: var(--pad); top: 98px; display: none; align-items: baseline; gap: 8px; }
.counter b { font-family: var(--display); font-weight: 400; font-size: 34px; letter-spacing: 0; color: var(--ivory); font-variant-numeric: tabular-nums; }
.counter em { font-style: normal; margin-left: 10px; color: var(--mari); }

/* pinned horizontal procession (motion only) */
html.js:not(.rm) .procession { height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; margin-top: 0; }
html.js:not(.rm) .bunting--route { position: absolute; top: 0; left: 0; }
html.js:not(.rm) .counter { display: flex; }
html.js:not(.rm) .route { bottom: 46px; }

/* without motion: a wrapping grid you can read top to bottom */
html:not(.js) .track, html.rm .track { width: auto; flex-wrap: wrap; align-items: flex-start; gap: 48px 32px; }
html:not(.js) .float--high, html.rm .float--high, html:not(.js) .float--low, html.rm .float--low { margin-top: 0; }
html:not(.js) .route, html.rm .route { display: none; }

@media (max-width: 860px) {
  .work__title, .work__sub { grid-column: 1 / -1; }
  .work__sub { font-size: 16px; padding-bottom: 0; }
  .float--tall { width: 58vw; } .float--wide { width: 74vw; }
  .names { width: 62vw; gap: 22px; }
  .float--high { margin-top: -6vh; } .float--low { margin-top: 6vh; }
  .counter { top: 88px; font-size: 11px; }
  .counter b { font-size: 26px; }
  .bunting--route { height: 64px; }
  html:not(.js) .track, html.rm .track { flex-direction: column; }
  html:not(.js) .float, html.rm .float, html:not(.js) .names, html.rm .names { width: 100%; }
}

/* testimonials */
.words { padding: clamp(100px, 12vw, 170px) var(--pad) clamp(100px, 12vw, 160px); }
.words__lead { margin-top: 28px; max-width: 1180px; }
.words__lead p { font-family: var(--display); font-size: clamp(2.2rem, 5.4vw, 5.4rem); line-height: 1.02; letter-spacing: -.015em; }
.words__lead p::before { content: "“"; color: var(--rani); }
.words__lead p::after { content: "”"; color: var(--rani); }
.words__lead figcaption { margin-top: 26px; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--mari); font-weight: 600; }
.words__grid { margin-top: clamp(64px, 8vw, 110px); columns: 3 300px; column-gap: 40px; }
.quote { break-inside: avoid; padding: 26px 0 34px; border-top: 1px solid var(--line-d); }
.quote p { font-size: 18px; line-height: 1.55; }
.quote--big p { font-family: var(--display); font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.12; }
.quote .quote__who { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--mari); }
.quote__who span { display: block; font-weight: 400; color: var(--mute-d); }

/* ---------- services (paper) ---------- */
.services { position: relative; z-index: 2; background: var(--paper); color: var(--text); padding: clamp(100px, 12vw, 170px) var(--pad) clamp(100px, 12vw, 170px); }
.services__head { max-width: 1000px; }
.services__head .h2 { margin-top: 20px; }
.services__grid { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.stage { grid-column: 1 / span 5; position: sticky; top: 14svh; align-self: start; display: none; }
.stage__frame { aspect-ratio: 4 / 5; max-height: 72svh; width: 100%; }
.stage__frame img { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease); }
.stage__frame img.is-on { clip-path: inset(0 0 0 0); }
.stage__frame img.is-under { clip-path: inset(0 0 0 0); transition: none; }
.stage__count { margin-top: 14px; font-size: 13px; letter-spacing: .14em; color: var(--mute-p); font-variant-numeric: tabular-nums; }
.stage__count b { font-family: var(--display); font-weight: 400; font-size: 26px; letter-spacing: 0; color: var(--text); }
.plan { grid-column: 1 / -1; counter-reset: s; }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 6px 20px; padding: 30px 0 34px; border-top: 1px solid var(--line-p); }
.step:last-child { border-bottom: 1px solid var(--line-p); }
.step__thumb { grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 120px 120px 6px 6px; margin-bottom: 18px; }
.step__n { font-weight: 600; font-size: 14px; color: var(--rani-d); font-variant-numeric: tabular-nums; padding-top: 10px; transition: color .3s; }
.step__n::before { content: ""; display: inline-block; width: 12px; height: 11px; margin-right: 8px; background: currentColor; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: 50% 0; transition: transform .5s var(--ease); }
.step h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 2.8vw, 2.7rem); line-height: 1.04; }
.step p { grid-column: 2; max-width: 56ch; color: var(--mute-p); font-size: 17px; }
@media (min-width: 861px) {
  html.js:not(.rm) .stage { display: block; }
  html.js:not(.rm) .plan { grid-column: 7 / span 6; }
  html.js:not(.rm) .step__thumb { display: none; }
  html.js:not(.rm) .step h3 { color: var(--mute-p); transition: color .5s var(--ease); }
  html.js:not(.rm) .step::before { content: ""; position: absolute; left: -22px; top: 30px; bottom: 34px; width: 3px; background: var(--rani); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
  html.js:not(.rm) .step.is-active h3 { color: var(--text); }
  html.js:not(.rm) .step.is-active::before { transform: scaleY(1); }
  html.js:not(.rm) .step.is-active .step__n::before { transform: rotate(-14deg); color: var(--rani); }
  .plan { grid-column: 2 / span 10; }
  .step__thumb { grid-column: 2; max-width: 520px; }
}

/* ---------- contact ---------- */
.contact { position: relative; z-index: 2; background: var(--ink); padding: 150px var(--pad) clamp(100px, 12vw, 150px); text-align: center; overflow: hidden; }
.bunting--contact { position: absolute; top: 0; left: 0; height: 120px; }
.contact__inner { max-width: 1100px; margin: 0 auto; display: grid; justify-items: center; }
.contact__logo { width: 132px; height: auto; background: var(--ivory); border-radius: 26px; padding: 16px 18px 12px; box-sizing: content-box; aspect-ratio: auto; }
.contact__title { margin-top: 34px; font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem, 7.6vw, 7.4rem); line-height: .96; letter-spacing: -.02em; max-width: 13ch; }
.contact__sub { margin-top: 22px; color: var(--mute-d); font-size: 18px; max-width: 44ch; }
.contact__links { margin-top: 40px; display: grid; gap: 14px; justify-items: center; }
.contact__links a { font-size: 20px; font-weight: 600; border-bottom: 1px solid var(--line-d); padding-bottom: 4px; transition: color .25s, border-color .25s; }
.contact__links a:hover { color: var(--mari); border-color: var(--mari); }
.contact__links .contact__mail { font-family: var(--display); font-weight: 400; font-size: clamp(1.7rem, 4.2vw, 3rem); color: var(--mari); border-bottom-color: rgba(244, 174, 26, .45); }
.contact__mail:hover { color: var(--ivory) !important; }
.contact__where { margin-top: 36px; font-size: 14px; color: var(--mute-d); max-width: 52ch; line-height: 1.6; }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 2; background: #091a18; color: var(--mute-d); padding: 30px var(--pad) 34px; display: flex; justify-content: space-between; gap: 24px; align-items: end; font-size: 13px; line-height: 1.6; border-top: 1px solid var(--line-d); }
.footer__concept { max-width: 82ch; }
.footer a { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(246, 238, 223, .4); }
.footer__studio { flex: none; font-size: 12px; letter-spacing: .08em; }
@media (max-width: 720px) { .footer { flex-direction: column; align-items: start; } }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(9, 24, 22, .95); display: grid; place-items: center; padding: 64px var(--pad) 40px; }
.lightbox[hidden] { display: none; }
.lightbox__close { position: absolute; top: 18px; right: var(--pad); color: var(--ivory); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; padding: 10px 0; display: flex; gap: 10px; align-items: center; }
.lightbox__close i { font-style: normal; border: 1px solid var(--line-d); border-radius: 4px; padding: 2px 6px; font-size: 11px; color: var(--mute-d); }
.lightbox__fig { max-width: min(1400px, 100%); display: grid; gap: 14px; justify-items: center; }
.lightbox__fig img { max-height: calc(100svh - 170px); width: auto; border-radius: 6px; }
.lightbox__fig figcaption { font-family: var(--display); font-size: 22px; color: var(--ivory); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
