/* Sheridan Orr site. Brand Guide v2: mostly white, navy for weight, aqua and berry as small deliberate marks. */
:root {
  --navy: #0A2F6B; --aqua: #1CCBC0; --berry: #D6336C; --berry-blue: #DE3A76;
  --white: #FFFFFF; --mist: #E4F7F6; --slate: #45597A; --teal: #08706D;
  --ice: #F1FBFB; --fog: #B8CCE6; --rule: #D3E4E8; --panel: #14407F;
  --head: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --script: "Caveat Brush", cursive;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--white); color: var(--navy); font-family: var(--body); font-size: 1.125rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.navy :focus-visible { outline-color: var(--aqua); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.navy { background: var(--navy); color: var(--ice); }
.mist { background: var(--mist); }
.muted { color: var(--slate); }
.navy .muted { color: var(--fog); }

/* Type */
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -0.025em; line-height: 1.2; }
p { margin: 0 0 1.1em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.navy .eyebrow { color: var(--aqua); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.script { font-family: var(--script); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1; color: var(--teal); display: inline-block; position: relative; }
.navy .script { color: var(--aqua); }
.script .ul { display: block; width: 100%; height: 14px; margin-top: 2px; }
.script .ul path { stroke: var(--aqua); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.1s var(--ease) .5s; }
.script.in .ul path, .is-in .script .ul path { stroke-dashoffset: 0; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.6; max-width: 34em; }

/* Buttons: berry, white text. Lighter berry on blue bands. */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 1rem; background: var(--berry); color: #fff; padding: 16px 28px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.navy .btn { background: var(--berry-blue); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(214,51,108,.7); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn.small { padding: 11px 20px; font-size: .92rem; }
.link { font-family: var(--head); font-weight: 700; text-decoration: none; color: var(--teal); display: inline-flex; gap: 8px; align-items: center; background: linear-gradient(var(--aqua), var(--aqua)) left bottom / 0 2px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease); }
.link:hover { background-size: 100% 2px; }
.navy .link { color: var(--aqua); }
.btn-row { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-head.scrolled { border-bottom-color: var(--rule); box-shadow: 0 6px 24px -18px rgba(10,47,107,.5); }
.site-head .bar { display: flex; align-items: center; justify-content: space-between; height: 78px; transition: height .3s var(--ease); }
.site-head.scrolled .bar { height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand:hover .spark { transform: rotate(90deg) scale(1.15); }
.spark { transform-origin: 35px 14px; transition: transform .5s var(--ease); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { font-family: var(--head); font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--slate); position: relative; padding: 6px 0; }
.nav ul a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--aqua); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--navy); }
.nav ul a:hover::after, .nav ul a[aria-current]::after { transform: scaleX(1); }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-btn span:nth-child(1) { top: 15px; } .menu-btn span:nth-child(2) { top: 21px; } .menu-btn span:nth-child(3) { top: 27px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }
.rv-l { transform: translateX(-30px); } .rv-r { transform: translateX(30px); }
.rv-s { transform: scale(.94); }

/* Sections */
section { padding: clamp(72px, 10vw, 136px) 0; position: relative; }
.sec-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head p { margin: 0; color: var(--slate); max-width: 32em; }
.navy .sec-head p { color: var(--fog); }
.sec-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 120px) 0 clamp(80px, 10vw, 140px); isolation: isolate; }
.hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); }
.phero h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }
.hero .grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(40px) rotate(2deg); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * .07s + .15s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero .script { margin: 22px 0 26px; opacity: 0; animation: fadein .8s var(--ease) .75s forwards; }
.hero .script .ul path { stroke-dashoffset: 220; animation: draw 1.1s var(--ease) 1.1s forwards; transition: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
.hero .lede, .hero .btn-row, .hero .eyebrow { opacity: 0; animation: fadeup .9s var(--ease) forwards; }
.hero .eyebrow { animation-delay: .05s; } .hero .lede { animation-delay: .95s; } .hero .btn-row { animation-delay: 1.15s; }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero .glow { position: absolute; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(28,203,192,.16), transparent 62%); left: var(--gx, 70%); top: var(--gy, 40%); transform: translate(-50%, -50%); z-index: -1; transition: left .6s var(--ease), top .6s var(--ease); pointer-events: none; }
.stars { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--fog); opacity: .25; animation: tw 4s ease-in-out infinite; animation-delay: var(--t); }
@keyframes tw { 50% { opacity: .75; transform: scale(1.6); } }

/* Hero map art */
.map { width: 100%; height: auto; display: block; overflow: visible; }
.map .force-line { stroke: #3B6AAE; stroke-width: 1.5; fill: none; stroke-dasharray: 4 6; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.map .path { stroke: var(--aqua); stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: drawpath 1.8s var(--ease) 1s forwards; }
@keyframes drawpath { to { stroke-dashoffset: 0; } }
.map .node { fill: var(--ice); opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .5s var(--ease) forwards; animation-delay: var(--t); }
@keyframes pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
.map .lbl { font-family: var(--head); font-weight: 700; font-size: 15px; fill: var(--ice); opacity: 0; animation: fadein .6s ease forwards; animation-delay: var(--t); }
.map .cap { font-size: 13px; fill: var(--fog); letter-spacing: .08em; text-transform: uppercase; }
.map .star { fill: var(--aqua); transform-box: fill-box; transform-origin: center; opacity: 0; animation: starin .8s var(--ease) 2.7s forwards, spin 14s linear 3.5s infinite; }
@keyframes starin { from { opacity: 0; transform: scale(0) rotate(-90deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
.map .halo { fill: var(--aqua); opacity: 0; transform-box: fill-box; transform-origin: center; animation: halo 2.6s ease-out 3s infinite; }
@keyframes halo { 0% { opacity: .35; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }

/* Moments ticker */
.ticker { border-bottom: 1px solid var(--rule); padding: 26px 0; }
.ticker .wrap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ticker .lbl { font-family: var(--head); font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.ticker .rot { position: relative; height: 1.6em; flex: 1; min-width: 260px; overflow: hidden; font-family: var(--head); font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.45rem); letter-spacing: -0.02em; }
.ticker .rot span { position: absolute; inset: 0; transform: translateY(100%); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); white-space: nowrap; }
.ticker .rot span.on { transform: none; opacity: 1; }
.ticker .rot span.off { transform: translateY(-100%); opacity: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--rule); border-radius: 20px; padding: 30px; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(10,47,107,.45); border-color: var(--aqua); }
.card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--mist); display: grid; place-items: center; margin-bottom: 22px; transition: background .35s, transform .35s var(--ease); }
.card:hover .ic { background: var(--navy); transform: rotate(-6deg); }
.card .ic svg { width: 26px; height: 26px; stroke: var(--teal); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.card:hover .ic svg { stroke: var(--aqua); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--slate); margin: 0; }
.card .num { font-family: var(--head); font-weight: 800; font-size: .85rem; letter-spacing: .14em; color: var(--teal); }
.navy .card { background: var(--panel); border-color: rgba(184,204,230,.18); color: var(--ice); }
.navy .card p { color: var(--fog); }

/* Flow (approach) */
.flow-ctl { display: inline-flex; background: var(--mist); border-radius: 999px; padding: 6px; gap: 4px; margin-bottom: 40px; }
.flow-ctl button { font-family: var(--head); font-weight: 700; font-size: .95rem; border: 0; background: transparent; color: var(--slate); padding: 12px 22px; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s; }
.flow-ctl button.on { background: var(--navy); color: var(--ice); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; }
.flow::before { content: ""; position: absolute; left: 13px; right: calc((100% - 70px) / 6 - 13px); top: 34px; height: 3px; background: var(--rule); border-radius: 3px; }
.flow .bar { position: absolute; left: 0; top: 34px; height: 3px; background: var(--aqua); border-radius: 3px; width: 0; transition: width 1.4s var(--ease), left 1.4s var(--ease); }
.stage { position: relative; padding-top: 64px; }
.stage .dot { position: absolute; top: 22px; left: 0; width: 27px; height: 27px; border-radius: 50%; background: #fff; border: 3px solid var(--rule); transition: border-color .4s, background .4s, transform .4s var(--ease); transition-delay: var(--d, 0s); }
.stage b { display: block; font-family: var(--head); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; transition: color .4s; transition-delay: var(--d, 0s); color: var(--slate); }
.stage span { display: block; font-size: .98rem; color: var(--slate); line-height: 1.4; margin-top: 4px; }
.stage.lit .dot { border-color: var(--aqua); background: var(--navy); transform: scale(1.12); }
.stage.lit b { color: var(--navy); }
.stage.skip { opacity: .4; }
.stage.skip .dot { border-style: dashed; }
.stage .flag { position: absolute; top: -12px; left: 0; font-family: var(--script); font-size: 1.5rem; color: var(--berry); white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.stage .flag.show { opacity: 1; transform: none; }
.flow-note { margin-top: 36px; font-size: 1.2rem; max-width: 36em; min-height: 3.4em; transition: opacity .3s; }

/* Quote band */
.quote { text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 20em; font-family: var(--head); font-weight: 800; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.12; letter-spacing: -0.035em; }
.quote blockquote .hl { background: linear-gradient(transparent 62%, rgba(28,203,192,.45) 62%) left / 0 100% no-repeat; transition: background-size 1.2s var(--ease) .4s; }
.quote.is-in blockquote .hl, .is-in .hl { background-size: 100% 100%; }
.quote cite { display: block; margin-top: 26px; font-style: normal; font-family: var(--head); font-weight: 700; color: var(--slate); }
.quote .mark { width: 54px; height: 54px; margin: 0 auto 26px; display: block; }

/* Proof */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.stat { border-top: 3px solid var(--aqua); padding-top: 22px; }
.stat .n { font-family: var(--head); font-weight: 800; font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: 1; letter-spacing: -0.05em; display: flex; align-items: baseline; gap: 6px; }
.stat .n small { font-size: .38em; letter-spacing: -0.02em; color: var(--aqua); }
.stat p { margin: 12px 0 0; color: var(--fog); max-width: 18em; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; }
.chip { font-family: var(--head); font-weight: 700; font-size: .9rem; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(184,204,230,.35); color: var(--ice); }
.chip.light { border-color: var(--rule); color: var(--navy); background: #fff; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.chip.light.on, .chip.light:hover { background: var(--navy); color: var(--ice); border-color: var(--navy); }

/* Services list */
.svc { display: grid; grid-template-columns: 70px 1.2fr 1.6fr auto; gap: 32px; align-items: center; padding: 34px 0; border-top: 1px solid var(--rule); text-decoration: none; position: relative; }
.svc:last-child { border-bottom: 1px solid var(--rule); }
.svc::before { content: ""; position: absolute; inset: 0 -28px; background: var(--mist); border-radius: 18px; opacity: 0; transform: scaleY(.85); transition: opacity .35s, transform .35s var(--ease); z-index: -1; }
.svc:hover::before { opacity: 1; transform: none; }
.svc .k { font-family: var(--head); font-weight: 800; color: var(--teal); font-size: 1rem; }
.svc h3 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); }
.svc p { margin: 0; color: var(--slate); }
.svc .go { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--rule); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .35s var(--ease); }
.svc .go svg { width: 20px; height: 20px; stroke: var(--navy); fill: none; stroke-width: 2.4; transition: stroke .3s; }
.svc:hover .go { background: var(--berry); border-color: var(--berry); transform: rotate(-45deg); }
.svc:hover .go svg { stroke: #fff; }
.svc .when { font-family: var(--head); font-weight: 700; font-size: .85rem; color: var(--teal); display: block; margin-top: 8px; }

/* Story cards */
.story { display: grid; grid-template-columns: 1fr 1fr; border-radius: 24px; overflow: hidden; border: 1px solid var(--rule); background: #fff; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.story:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(10,47,107,.55); }
.story .vis { background: var(--navy); color: var(--ice); padding: 40px; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; position: relative; overflow: hidden; }
.story .vis .big { font-family: var(--head); font-weight: 800; font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -0.05em; }
.story .vis .big + span { color: var(--fog); }
.story .txt { padding: 40px; }
.story .txt p { color: var(--slate); }
.tag { display: inline-block; font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--mist); color: var(--teal); }
.navy .tag, .vis .tag { background: rgba(28,203,192,.16); color: var(--aqua); }
.sample { display: inline-block; font-family: var(--head); font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--berry); border: 1.5px dashed var(--berry); border-radius: 6px; padding: 4px 8px; margin-left: 8px; vertical-align: middle; }

/* Posts */
.post { display: flex; flex-direction: column; text-decoration: none; border-radius: 20px; overflow: hidden; border: 1px solid var(--rule); background: #fff; transition: transform .35s var(--ease), box-shadow .35s; }
.post:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -28px rgba(10,47,107,.45); }
.post .art { aspect-ratio: 16 / 10; background: var(--navy); position: relative; overflow: hidden; }
.post .art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s var(--ease); }
.post:hover .art svg { transform: scale(1.06); }
.post .body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.post h3 { font-size: 1.3rem; }
.post p { color: var(--slate); margin: 0; font-size: 1rem; }
.post .meta { margin-top: auto; font-size: .9rem; color: var(--slate); font-family: var(--head); font-weight: 600; }
.post.hidden { display: none; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 86px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: var(--aqua); display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 1.4rem; }
.steps .line { position: absolute; top: 29px; left: 60px; right: 0; height: 2px; background: linear-gradient(90deg, var(--aqua) 50%, transparent 50%) 0 0 / 14px 2px repeat-x; transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s; }
.steps.is-in .line { transform: scaleX(1); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--slate); margin: 0; }
.navy .steps p { color: var(--fog); }

/* CTA band */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.cta h2 { max-width: 16em; margin: 0 auto; }
.cta p { color: var(--fog); max-width: 34em; margin: 22px auto 34px; font-size: 1.2rem; }
.cta .script { margin-top: 10px; }
.cta .orbit { position: absolute; width: 900px; height: 900px; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(184,204,230,.12); border-radius: 50%; z-index: -1; animation: spin 80s linear infinite; }
.cta .orbit::after { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 20px var(--aqua); }
.cta .orbit.o2 { width: 620px; height: 620px; animation-duration: 50s; animation-direction: reverse; }

/* Page hero (inner pages) */
.phero { padding: clamp(64px, 8vw, 112px) 0 clamp(64px, 8vw, 104px); position: relative; overflow: hidden; isolation: isolate; }
.phero h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); max-width: 14em; }
.phero .lede { margin-top: 26px; color: var(--fog); }
.phero .script { margin-top: 18px; }

/* Detail blocks (services page) */
.detail { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 88px); padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--rule); }
.detail:first-of-type { border-top: 0; }
.detail .side { position: sticky; top: 110px; align-self: start; }
.detail .side .k { font-family: var(--head); font-weight: 800; color: var(--teal); margin-bottom: 14px; display: block; }
.detail .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.detail .facts div { background: var(--mist); border-radius: 14px; padding: 16px 18px; }
.detail .facts b { display: block; font-family: var(--head); font-size: 1.05rem; }
.detail .facts span { font-size: .92rem; color: var(--slate); }
.detail h4 { font-size: 1.05rem; letter-spacing: -0.01em; margin: 30px 0 12px; }
.detail h4:first-child { margin-top: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 34px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2308706D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.detail.feature { background: var(--navy); color: var(--ice); border-radius: 28px; padding-left: clamp(24px, 4vw, 56px); padding-right: clamp(24px, 4vw, 56px); border: 0; }
.detail.feature .muted, .detail.feature p { color: var(--fog); }
.detail.feature .k { color: var(--aqua); }
.detail.feature .facts div { background: var(--panel); }
.detail.feature .facts span { color: var(--fog); }
.detail.feature .ticks li::before { background-color: var(--panel); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231CCBC0' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 56px 26px 0; position: relative; font-family: var(--head); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%230A2F6B' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--aqua); }
.faq .ans { padding: 0 56px 26px 0; color: var(--slate); }

/* About */
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; background: var(--panel); overflow: hidden; display: grid; place-items: center; }
.portrait .ph { text-align: center; color: var(--fog); font-family: var(--head); font-weight: 700; font-size: .95rem; padding: 20px; }
.portrait .ph b { display: block; font-size: 5rem; color: var(--ice); letter-spacing: -0.05em; line-height: 1; margin-bottom: 10px; }
.portrait .ring { position: absolute; inset: 22px; border: 1.5px dashed rgba(28,203,192,.5); border-radius: 22px; }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.prose { max-width: 38em; }
.prose p { font-size: 1.15rem; }
.prose p.big { font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.5; font-family: var(--head); font-weight: 600; letter-spacing: -0.015em; }
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 40px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--rule); }
.timeline .fill { position: absolute; left: 11px; top: 8px; width: 2px; background: var(--aqua); height: var(--h, 0); transition: height .2s linear; }
.timeline li { position: relative; padding: 0 0 40px; }
.timeline li::before { content: ""; position: absolute; left: -36px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--aqua); }
.timeline li:last-child::before { background: var(--aqua); box-shadow: 0 0 0 6px rgba(28,203,192,.2); }
.timeline .when { font-family: var(--head); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.timeline h3 { margin: 6px 0 6px; }
.timeline p { color: var(--slate); margin: 0; max-width: 34em; }

/* Article */
.progress { position: fixed; top: 0; left: 0; height: 4px; background: var(--aqua); width: 0; z-index: 60; }
.article { max-width: 720px; margin: 0 auto; }
.article p { font-size: 1.2rem; line-height: 1.75; }
.article h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 56px 0 18px; }
.article .pull { margin: 48px 0; padding: 8px 0 8px 28px; border-left: 4px solid var(--aqua); font-family: var(--head); font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.2; letter-spacing: -0.03em; }
.article .note { background: var(--mist); border-radius: 18px; padding: 26px 28px; margin: 40px 0; }
.article .note p { font-size: 1.05rem; margin: 0; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-family: var(--head); font-weight: 600; color: var(--fog); }
.byline .av { width: 46px; height: 46px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-weight: 800; color: var(--aqua); }

/* Contact */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-family: var(--head); font-weight: 700; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; font-size: 1.05rem; padding: 15px 16px; border-radius: 12px; border: 1.5px solid var(--rule); background: #fff; color: var(--navy); transition: border-color .25s, box-shadow .25s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(28,203,192,.2); }
.form textarea { min-height: 150px; resize: vertical; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts label { display: inline-block; cursor: pointer; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--rule); font-weight: 600; font-size: .92rem; transition: background .25s, color .25s, border-color .25s; }
.opts input:checked + label { background: var(--navy); color: var(--ice); border-color: var(--navy); }
.opts input:focus-visible + label { outline: 3px solid var(--teal); outline-offset: 2px; }
.sent { display: none; background: var(--mist); border-radius: 18px; padding: 28px; }
.sent.show { display: block; animation: fadeup .6s var(--ease); }

/* Footer */
.site-foot { padding: 72px 0 36px; }
.site-foot .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(184,204,230,.18); }
.site-foot .brand { color: var(--ice); }
.site-foot .script { margin-top: 18px; font-size: 2rem; }
.site-foot h4 { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fog); margin-bottom: 16px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-foot ul a { text-decoration: none; color: var(--ice); }
.site-foot ul a:hover { color: var(--aqua); }
.site-foot .bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; color: var(--fog); font-size: .95rem; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 980px) {
  .hero .grid, .sec-head, .about-grid, .detail, .story { grid-template-columns: 1fr; }
  .detail .side { position: static; }
  .cards.three, .cards.four { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .flow::before, .flow .bar { display: none; }
  .svc { grid-template-columns: 50px 1fr auto; }
  .svc p { grid-column: 2 / -1; }
  .site-foot .top { grid-template-columns: 1fr 1fr; }
  .site-foot .top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 64px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 26px; border-bottom: 1px solid var(--rule); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--rule); }
  .nav ul a::after { display: none; }
  .nav .btn { margin-top: 18px; justify-content: center; }
  .cards, .cards.three, .cards.four, .stats, .steps, .form .row, .detail .facts { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .steps .line { display: none; }
  .svc { grid-template-columns: 1fr auto; gap: 14px; }
  .svc .k { display: none; }
  .svc p { grid-column: 1 / -1; }
  .story .vis, .story .txt { padding: 28px; }
  .site-foot .top { grid-template-columns: 1fr; }
  .ticker .rot span { white-space: normal; }
  .ticker .rot { height: 3.2em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
.detail.feature .script { color: var(--aqua); }
.detail.feature h2, .detail.feature h4 { color: var(--ice); }
@media (max-width: 760px) {
  .map .lbl { font-size: 23px; }
  .map .cap { font-size: 18px; }
  .hero .grid > div:last-child { margin: 8px -8px 0; }
}
