/* Divine Cleaning LLC homepage.
   Layout concept: a light, airy page in white and sky blue with black type from the logo.
   Oversized headlines with a serif italic accent (from the brand objective artwork), real job
   photos carrying their camera time stamps, and motion tied to scrolling. */
:root {
  --sky: #87CEEB;        /* brand sky blue */
  --sky-deep: #5BC2F2;   /* logo blue */
  --sky-wash: #EEF8FD;
  --sky-soft: #DFF2FB;
  --ink: #0B141C;
  --ink-2: #364656;
  --muted: #64768A;
  --fade: #C3D3DE;
  --line: #D6E7F1;
  --white: #ffffff;
  --ok: #12965A;
  --head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --body: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --gutter: clamp(18px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p, h1, h2, h3, h4, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--head); letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.6vw, 64px); font-weight: 600; }
h3 { font-size: clamp(21px, 2vw, 26px); font-weight: 600; letter-spacing: -0.015em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; font-size: 1.1em; line-height: 1; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 16px; top: 16px; }

.eyebrow { font: 600 13px/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sky-deep); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sky-deep); flex: none; display: inline-block; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 4px #DBF3E6; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font: 600 15.5px/1.1 var(--head); text-decoration: none; border: 1.5px solid var(--ink); cursor: pointer; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s, transform .35s var(--ease); will-change: transform; }
.btn svg, .link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg, .link:hover svg { transform: translateX(4px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--sky-deep); border-color: var(--sky-deep); color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 18px 30px; font-size: 16.5px; }
.link { display: inline-flex; align-items: center; gap: 8px; font: 600 16px var(--head); text-decoration: none; border-bottom: 2px solid var(--sky-deep); padding-bottom: 4px; }

/* Scroll progress */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; width: 100%; background: var(--sky-deep); transform: scaleX(0); transform-origin: 0 50%; }

/* Floating navigation */
.nav { position: fixed; z-index: 50; top: calc(14px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%); width: min(1240px, calc(100% - 24px)); display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border: 1px solid rgba(214,231,241,.9); box-shadow: 0 10px 30px -18px rgba(11,20,28,.25); transition: box-shadow .3s, background-color .3s, transform .45s var(--ease); }
.nav.scrolled { background: rgba(255,255,255,.93); box-shadow: 0 16px 40px -20px rgba(11,20,28,.35); }
.nav.hide { transform: translate(-50%, -140%); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 17px var(--head); letter-spacing: -0.02em; white-space: nowrap; }
.nav-logo img { width: 52px; height: 52px; }
.nav-logo em { font-family: var(--head); font-style: normal; font-weight: 500; color: var(--muted); font-size: 1em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--ink-2); padding: 9px 13px; border-radius: 999px; transition: background-color .2s, color .2s; white-space: nowrap; }
.nav-links a:hover { background: var(--sky-wash); color: var(--ink); }
.nav-links .nav-staff { color: var(--muted); font-weight: 600; }
.nav-phone { font: 600 14.5px var(--head); text-decoration: none; white-space: nowrap; padding: 0 6px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; padding: 0; position: relative; flex: none; }
.nav-toggle i { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle i:first-child { top: 17px; } .nav-toggle i:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 1120px) { .nav-phone { display: none; } .nav-links .nav-staff { display: none; } }
@media (max-width: 920px) {
  .nav { gap: 8px; }
  .nav-toggle { display: block; }
  .nav-cta { margin-left: auto; padding: 12px 18px; }
  .nav-links { position: absolute; top: calc(100% + 10px); left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 10px; box-shadow: 0 30px 60px -30px rgba(11,20,28,.4); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .35s var(--ease), visibility .25s; }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 16px; font-size: 17px; border-radius: 14px; }
  .nav-links .nav-staff { display: block; }
}
@media (max-width: 460px) { .nav-logo span { display: none; } }

/* Hero */
.hero { position: relative; padding: clamp(118px, 11vw, 150px) 0 0; background: radial-gradient(120% 70% at 85% 0%, var(--sky-soft) 0%, rgba(223,242,251,0) 60%), linear-gradient(180deg, var(--sky-wash) 0%, #fff 78%); overflow: clip; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid var(--line); font-weight: 700; font-size: clamp(12.5px, 3.2vw, 14.5px); color: var(--ink-2); margin-bottom: clamp(20px, 3vw, 34px); }
.display { font-size: clamp(46px, 8.6vw, 136px); font-weight: 600; letter-spacing: -0.045em; line-height: .96; }
.display em { letter-spacing: -0.02em; color: var(--ink); font-size: 1.08em; }
.display .line { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.display .line > span { display: inline-block; }
.motion .display .line > span { transform: translateY(108%); animation: rise 1.1s var(--ease) forwards; }
.motion .display .line:nth-child(2) > span { animation-delay: .1s; }
.motion .display .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { to { transform: none; } }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 56px; flex-wrap: wrap; margin-top: clamp(26px, 3.4vw, 46px); }
.lede { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); max-width: 44ch; line-height: 1.5; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stage { position: relative; margin-top: clamp(40px, 4.4vw, 60px); padding-inline: var(--gutter); --p: 0; }
.hero-frame { position: relative; margin-inline: auto; width: calc(88% + 12% * var(--p)); max-width: 1640px; aspect-ratio: 16 / 8.6; border-radius: calc(36px - 14px * var(--p)); overflow: hidden; background: var(--sky-soft); box-shadow: 0 60px 100px -60px rgba(11,59,140,.5); }
.hero-img, .hero-video { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; transform: translateY(calc(var(--p) * 6%)) scale(1.02); }
.motion .hero-img { animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { from { scale: 1; } to { scale: 1.09; } }
.hero-video { z-index: 1; }
.hero-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,20,28,0) 55%, rgba(11,20,28,.28) 100%); pointer-events: none; z-index: 1; }
.stamp { position: absolute; right: 14px; bottom: 12px; z-index: 2; pointer-events: none; color: #fff; font: 500 13px/1.3 var(--mono); text-align: right; text-shadow: 0 1px 3px rgba(0,0,0,.65); }
.stamp-lg { right: clamp(16px, 2.4vw, 34px); bottom: clamp(14px, 2vw, 28px); font-size: clamp(13px, 1.2vw, 17px); }
.float { position: absolute; z-index: 2; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-radius: 18px; box-shadow: 0 20px 40px -22px rgba(11,20,28,.55); font-weight: 700; font-size: 15px; }
.float-a { left: clamp(14px, 2.4vw, 34px); top: clamp(14px, 2.4vw, 34px); padding: 13px 18px; display: flex; align-items: center; gap: 12px; }
.float-b { left: clamp(14px, 2.4vw, 34px); bottom: clamp(14px, 2.4vw, 34px); padding: 16px 20px; display: grid; }
.float-b b { font: 700 clamp(26px, 3vw, 40px)/1 var(--head); letter-spacing: -0.03em; }
.float-b span { color: var(--muted); font-size: 14px; font-weight: 600; margin-top: 4px; }
.motion .float { animation: bob 6s ease-in-out infinite alternate; }
.motion .float-b { animation-delay: -3s; }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -10px; } }
.spin { position: absolute; right: calc(var(--gutter) + 5%); top: -64px; z-index: 3; width: 132px; height: 132px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; text-decoration: none; box-shadow: 0 20px 40px -20px rgba(11,59,140,.6); transition: scale .4s var(--ease), background-color .3s; }
.spin:hover { scale: 1.07; background: var(--sky-deep); }
.spin > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: turn 18s linear infinite; }
.spin text { font: 600 15.5px var(--head); letter-spacing: .08em; fill: var(--ink); }
.spin span { width: 50px; height: 50px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.spin span svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes turn { to { rotate: 360deg; } }
@media (max-width: 760px) {
  .hero-frame { aspect-ratio: 4 / 4.6; width: 100%; border-radius: 26px; }
  .float-a { font-size: 13px; padding: 10px 13px; }
  .float-b { display: none; }
  .spin { width: 104px; height: 104px; top: -52px; right: calc(var(--gutter) + 8px); }
  .spin span { width: 40px; height: 40px; }
  .hero-row .ctas { width: 100%; } .hero-row .btn { flex: 1 1 auto; }
}

/* Marquee */
.marquee { margin-top: clamp(48px, 6vw, 88px); background: var(--sky); padding: 20px 0; overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; font: 600 clamp(18px, 2vw, 26px)/1 var(--head); letter-spacing: -0.02em; white-space: nowrap; padding-left: 34px; }
.marquee-track i { font-style: normal; font-size: .7em; opacity: .6; }
.marquee-track.run { animation: slide 38s linear infinite; }
.marquee:hover .marquee-track.run { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Stats */
.stats { padding: clamp(56px, 7vw, 100px) 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 6px 24px 6px 28px; border-left: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.stat b { font: 600 clamp(44px, 6.4vw, 96px)/1 var(--head); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.stat > span { color: var(--muted); font-weight: 600; font-size: 15.5px; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 34px 0; } .stat { padding-left: 18px; } }

/* Statement */
.statement { padding: clamp(80px, 11vw, 170px) 0; }
.statement-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 80px); align-items: center; }
.reels { display: flex; gap: clamp(12px, 1.6vw, 22px); align-items: flex-start; }
.reel-b { margin-top: clamp(28px, 5vw, 72px); }
.reel { position: relative; width: clamp(150px, 22vw, 310px); flex: none; margin-bottom: 0; aspect-ratio: 9 / 16; border-radius: clamp(26px, 3vw, 40px); overflow: hidden; background: var(--sky-soft); box-shadow: 0 60px 90px -50px rgba(11,59,140,.55); border: 8px solid #fff; outline: 1px solid var(--line); }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.reel .stamp { right: 16px; bottom: 16px; font-size: 13.5px; }
.reel-tag { left: 14px; top: 14px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.motion .reel-tag { animation: none; }
.reel-toggle { position: absolute; left: 14px; bottom: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 24px -12px rgba(11,20,28,.6); transition: scale .3s var(--ease); }
.reel-toggle:hover { scale: 1.08; }
.reel-toggle svg { width: 18px; height: 18px; fill: var(--ink); grid-area: 1 / 1; }
.reel-toggle .i-pause, .reel-toggle[aria-pressed="true"] .i-play { display: none; }
.reel-toggle[aria-pressed="true"] .i-pause { display: block; }
@media (max-width: 860px) { .statement-grid { grid-template-columns: 1fr; } .reels { justify-content: center; } .reel { width: min(300px, calc(50% - 6px)); border-width: 5px; } }
@media (max-width: 520px) { .reel-tag { font-size: 11.5px; padding: 7px 10px; gap: 7px; left: 8px; top: 8px; } .reel .stamp { font-size: 10.5px; right: 9px; bottom: 10px; } .reel-toggle { width: 36px; height: 36px; left: 8px; bottom: 8px; } .reel-tag .dot.ok { box-shadow: none; } }
.statement-grid .fill { font-size: clamp(28px, 3.5vw, 52px); }
.fill { font: 600 clamp(28px, 4.7vw, 70px)/1.12 var(--head); letter-spacing: -0.035em; max-width: 20ch; max-width: 1080px; text-wrap: balance; }
.motion .fill .w { color: var(--fade); transition: color .35s ease; }
.motion .fill .w.on { color: var(--ink); }

/* Section scaffolding */
.band { padding: clamp(72px, 9vw, 140px) 0; }
.band.wash { background: var(--sky-wash); }
.head { max-width: 900px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 60px; flex-wrap: wrap; }
.head-row > div { max-width: 760px; min-width: 0; }
.head-note { color: var(--ink-2); font-size: 17.5px; max-width: 40ch; }
.head-note a { font-weight: 700; }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.2' fill='none' stroke='%230B141C' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }

/* Reveal on scroll */
.motion .rv { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.motion .rv.in { opacity: 1; transform: none; }

/* Who we serve */
.serve { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.serve-tabs { display: grid; }
.serve-tabs button { display: flex; align-items: baseline; gap: 18px; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); padding: 22px 4px; cursor: pointer; font: 600 clamp(20px, 2.3vw, 31px)/1.15 var(--head); letter-spacing: -0.025em; color: var(--fade); transition: color .3s, padding-left .45s var(--ease); }
.serve-tabs button:last-child { border-bottom: 1px solid var(--line); }
.serve-tabs button span { font: 500 13px var(--mono); letter-spacing: 0; color: var(--muted); }
.serve-tabs button:hover { color: var(--ink-2); }
.serve-tabs button[aria-selected="true"] { color: var(--ink); padding-left: 18px; }
.serve-stage { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; background: var(--sky-wash); border-radius: 32px; padding: clamp(16px, 2vw, 26px); }
.serve-photos { position: relative; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: var(--sky-soft); }
.serve-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.08; transition: opacity .7s ease, scale 1.4s var(--ease); }
.serve-photos img.on { opacity: 1; scale: 1; }
.serve-panels article { display: grid; gap: 16px; justify-items: start; padding: 8px clamp(4px, 1vw, 14px) 8px 0; }
.motion .serve-panels article { animation: panel .6s var(--ease); }
@keyframes panel { from { opacity: 0; transform: translateY(16px); } }
.serve-panels p { color: var(--ink-2); font-size: 18px; }
.serve-panels .link { margin-top: 8px; }
@media (max-width: 980px) {
  .serve { grid-template-columns: 1fr; }
  .serve-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .serve-tabs::-webkit-scrollbar { display: none; }
  .serve-tabs button, .serve-tabs button:last-child { border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 18px; font-size: 15.5px; white-space: nowrap; color: var(--ink-2); letter-spacing: -0.01em; }
  .serve-tabs button span { display: none; }
  .serve-tabs button[aria-selected="true"] { padding-left: 18px; background: var(--ink); border-color: var(--ink); color: #fff; }
}
@media (max-width: 620px) { .serve-stage { grid-template-columns: 1fr; } .serve-photos { aspect-ratio: 16 / 11; } .serve-panels article { padding: 4px 6px 10px; } }

/* Services: horizontal track */
.hscroll { position: relative; padding: clamp(72px, 9vw, 120px) 0; background: var(--white); }
.hscroll .head { margin-bottom: clamp(26px, 3vw, 44px); }
.htrack { display: flex; gap: 22px; padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.htrack::-webkit-scrollbar { display: none; }
.svc { flex: none; width: min(860px, 84vw); scroll-snap-align: center; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); background: var(--sky-wash); border-radius: 32px; overflow: hidden; min-height: 400px; }
.svc-img { position: relative; overflow: hidden; }
.svc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.svc:hover .svc-img img { scale: 1.06; }
.svc-body { padding: clamp(24px, 3vw, 44px); display: grid; gap: 14px; align-content: center; justify-items: start; }
.svc-body .num { font: 500 13px var(--mono); color: var(--muted); }
.svc-body .tag { font-size: 13px; font-weight: 800; background: #fff; border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }
.svc-body h3 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.03em; }
.svc-body > p { color: var(--ink-2); font-size: 17.5px; }
.svc-cta { width: min(440px, 84vw); grid-template-columns: 1fr; background: var(--sky); padding: clamp(28px, 3vw, 48px); align-content: center; justify-items: start; gap: 16px; }
.svc-cta h3 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.03em; }
.svc-cta p { font-size: 17.5px; }
.hbar { display: none; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; min-height: 0; } .svc-img { aspect-ratio: 16 / 11; } }
/* Pinned mode, switched on by the script on wide screens */
.hscroll.pin { padding: 0; }
.hscroll.pin .hscroll-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 70px; }
.hscroll.pin .htrack { overflow: visible; scroll-snap-type: none; will-change: transform; }
.hscroll.pin .hbar { display: block; width: min(320px, 50%); height: 3px; background: var(--line); border-radius: 3px; margin: 34px auto 0; overflow: hidden; }
.hscroll.pin .hbar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }

/* How it works */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.flow-steps li { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 2.4vw, 34px); padding: clamp(26px, 3.4vw, 46px) 0; border-top: 1px solid var(--line); transition: opacity .5s ease; }
.flow-steps li:last-child { border-bottom: 1px solid var(--line); }
.motion .flow-steps li { opacity: .32; }
.motion .flow-steps li.on { opacity: 1; }
.flow-steps .n { font: 600 clamp(38px, 5vw, 72px)/.9 var(--head); letter-spacing: -0.05em; color: var(--sky-deep); font-variant-numeric: tabular-nums; min-width: 1.5em; }
.flow-steps h3 { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.025em; }
.flow-steps p { color: var(--ink-2); margin-top: 10px; font-size: 18px; max-width: 42ch; }
.flow-visual { position: sticky; top: 110px; display: grid; justify-items: center; padding-block: 10px; }
.phone { width: min(340px, 100%); background: #fff; border: 10px solid var(--ink); border-radius: 48px; padding: 26px 20px 22px; box-shadow: 0 60px 90px -50px rgba(11,59,140,.55); display: grid; gap: 16px; --s: 1; }
.phone-top { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.phone-top b { font-family: var(--head); font-weight: 600; }
.phone-top span { margin-left: auto; color: var(--muted); font: 500 12px var(--mono); }
.phone-bar { height: 6px; background: var(--sky-wash); border-radius: 6px; overflow: hidden; }
.phone-bar i { display: block; height: 100%; background: var(--sky-deep); border-radius: 6px; width: calc(var(--s) / 6 * 100%); transition: width .6s var(--ease); }
.phone-rows { display: grid; gap: 4px; }
.phone-rows li { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; font-weight: 700; font-size: 15px; color: var(--fade); transition: color .35s, background-color .35s; }
.phone-rows li i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--fade); flex: none; transition: background-color .35s, border-color .35s; background: center / 100% no-repeat; }
.phone-rows li.done { color: var(--ink-2); }
.phone-rows li.done i { border-color: var(--ok); background-color: var(--ok); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.phone-rows li.now { color: var(--ink); background: var(--sky-wash); }
.phone-rows li.now i { border-color: var(--sky-deep); box-shadow: 0 0 0 4px var(--sky-soft); }
.phone-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.phone-photos span { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--sky-wash); }
.phone-photos img { width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.15; transition: opacity .5s ease, scale .8s var(--ease); }
.phone-photos em { position: absolute; right: 4px; bottom: 3px; font: 500 7.5px var(--mono); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.7); opacity: 0; transition: opacity .4s .3s; }
.phone.photos .phone-photos img { opacity: 1; scale: 1; }
.phone.photos .phone-photos span:nth-child(2) img { transition-delay: .12s; } .phone.photos .phone-photos span:nth-child(3) img { transition-delay: .24s; }
.phone.photos .phone-photos em { opacity: 1; }
.phone-done { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 13.5px; padding: 11px 12px; border-radius: 12px; background: #EAF7F0; color: #0B5F39; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.phone.paid .phone-done { opacity: 1; transform: none; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } .flow-visual { display: none; } .motion .flow-steps li { opacity: 1; } }

/* Our work */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 22px); align-items: start; }
.gcol { display: grid; gap: clamp(10px, 1.6vw, 22px); will-change: transform; }
.gcol-mid { margin-top: clamp(30px, 6vw, 90px); }
.gallery button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--sky-soft); border-radius: clamp(14px, 1.8vw, 24px); overflow: hidden; cursor: zoom-in; }
.gallery img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: scale 1.1s var(--ease); }
.gallery button:hover img { scale: 1.05; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gcol:last-child { display: none; } .gallery .stamp { font-size: 11px; right: 9px; bottom: 8px; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(11,20,28,.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 20px; }
.lightbox figure { display: grid; justify-items: center; gap: 12px; min-width: 0; }
.lightbox img { max-height: 84vh; max-width: 100%; width: auto; border-radius: 16px; animation: zoom .45s var(--ease); }
@keyframes zoom { from { opacity: 0; scale: .94; } }
.lightbox figcaption { color: #fff; font-weight: 600; font-size: 15px; text-align: center; }
.lightbox button { width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; display: grid; place-items: center; font-size: 26px; line-height: 1; }
.lightbox button svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { position: absolute; right: 20px; top: 20px; z-index: 2; }

/* Brand objective */
.objective { background: var(--sky); padding: clamp(72px, 9vw, 130px) 0; overflow: hidden; }
.objective-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.objective-logo { width: clamp(150px, 20vw, 260px); height: auto; filter: drop-shadow(0 24px 34px rgba(11,59,140,.35)); }
.objective .eyebrow { color: var(--ink); }
.objective .eyebrow::before { background: var(--ink); }
.objective-text { font: 500 clamp(22px, 2.9vw, 42px)/1.22 var(--head); letter-spacing: -0.028em; max-width: 26em; }
@media (max-width: 700px) { .objective-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 100px); align-items: start; }
.faq-grid .head { margin-bottom: 0; position: sticky; top: 120px; }
.faq-grid .head-note { margin-top: 22px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; font: 600 clamp(18px, 1.8vw, 23px)/1.25 var(--head); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' fill='none' stroke='%230B141C' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 20px no-repeat; transition: rotate .4s var(--ease), background-color .3s, border-color .3s; }
.faq details[open] summary::after { rotate: 45deg; background-color: var(--sky); border-color: var(--sky); }
.faq details p { color: var(--ink-2); font-size: 18px; max-width: 58ch; padding: 0 60px 28px 4px; }
.motion .faq details[open] p { animation: panel .5s var(--ease); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .head { position: static; } .faq details p { padding-right: 10px; } }

/* Call to action */
.cta { padding: 0 0 clamp(60px, 8vw, 120px); }
.cta-panel { position: relative; overflow: hidden; border-radius: clamp(28px, 4vw, 56px); padding: clamp(44px, 8vw, 120px) clamp(24px, 6vw, 90px); background: radial-gradient(90% 120% at 100% 0%, #fff 0%, rgba(255,255,255,0) 55%), linear-gradient(135deg, var(--sky) 0%, var(--sky-deep) 100%); display: grid; gap: 20px; justify-items: start; }
.cta-panel .eyebrow { color: var(--ink); margin: 0; } .cta-panel .eyebrow::before { background: var(--ink); }
.cta-panel h2 { font-size: clamp(38px, 7vw, 104px); letter-spacing: -0.045em; line-height: .98; max-width: 11em; }
.cta-panel > p:not(.eyebrow) { font-size: clamp(18px, 1.7vw, 22px); color: #0E3149; }
.cta-panel .ctas { margin-top: 14px; }
.cta-panel .btn-line:hover { background: var(--ink); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) 0 0; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr 1fr; gap: 34px; }
.foot-grid > * { min-width: 0; }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand p { font: 600 19px/1.25 var(--head); letter-spacing: -0.02em; max-width: 14em; }
.foot h4 { font: 600 13px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-grid a, .foot-grid div > p { display: block; text-decoration: none; color: var(--ink-2); font-size: 15.5px; margin-bottom: 8px; overflow-wrap: anywhere; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--sky-deep); text-underline-offset: 4px; }
.foot-word { font: 700 clamp(44px, 12.6vw, 210px)/.8 var(--head); letter-spacing: -0.06em; white-space: nowrap; text-align: center; color: var(--sky-wash); margin-top: clamp(30px, 5vw, 70px); user-select: none; -webkit-text-stroke: 1px var(--line); }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-block: 22px 26px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.foot-base a { margin-left: 18px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

.mobile-bar { display: none; }
@media (max-width: 700px) {
  .mobile-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transition: transform .45s var(--ease); }
  .motion .mobile-bar { transform: translateY(110%); }
  .motion .mobile-bar.show { transform: none; }
  .mobile-bar .btn { flex: 1; padding: 14px; }
  .mobile-bar .btn-ink { flex: 2; }
  .foot-base { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
