/* PWA Portfolio — page styles layered on the shared DS tokens. */

html, body { margin: 0; padding: 0; background: var(--color-neutral-0); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-family: var(--font-sans, 'DM Sans', system-ui, sans-serif); color: var(--color-neutral-700); }
a { text-decoration: none; color: var(--color-sky-800); cursor: pointer; }
a:hover { color: var(--color-navy-900); }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--color-sky-800); outline-offset: 2px; border-radius: 4px; }
.hero :focus-visible, .p-hero :focus-visible, .cta-copy :focus-visible, .footer :focus-visible { outline-color: var(--color-sky-200); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--color-navy-900); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0; font-size: 14px; }
.skip-link:focus { left: 0; color: #fff; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: 1120px; margin: 0 auto; }
.wrap--narrow { max-width: 760px; }
.p-col { max-width: 680px; }
a[href^="tel:"] { white-space: nowrap; }
h1, h2, h3 { font-family: var(--font-display, 'Outfit', system-ui, sans-serif); color: var(--color-navy-900); margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 var(--space-5); border-radius: var(--radius-button); border: 0; font-family: var(--font-sans); font-size: var(--text-base); font-weight: var(--weight-medium); letter-spacing: -0.01em; white-space: nowrap; cursor: pointer; transition: transform var(--duration-base) var(--ease-spring), box-shadow var(--duration-base) var(--ease-out), background var(--duration-base) var(--ease-out); }
.btn--sm { height: 34px; padding: 0 var(--space-4); font-size: var(--text-sm); }
.btn--lg { height: 52px; padding: 0 var(--space-7); font-size: var(--text-md); }
.btn--primary { background: linear-gradient(180deg, var(--color-navy-800), var(--color-navy-900)); color: #fff; border: 1px solid rgba(255,255,255,.08); box-shadow: var(--shadow-navy-sm); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-navy-md); color: #fff; }
.btn--secondary { background: linear-gradient(180deg, var(--color-sky-400), var(--color-sky-500)); color: var(--color-navy-900); border: 1px solid rgba(255,255,255,.15); box-shadow: var(--shadow-sky-sm); }
.btn--secondary:hover { transform: translateY(-1px); box-shadow: var(--shadow-sky-md); color: var(--color-navy-900); }
.btn--hero-ghost { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn--hero-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-1px); color: #fff; }
.btn--outline { background: #fff; border: 1px solid var(--color-navy-200); color: var(--color-navy-900); }
.btn--outline:hover { border-color: var(--color-navy-400); transform: translateY(-1px); color: var(--color-navy-900); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* Nav */
.site-nav { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 48px; background: rgba(255,255,255,.88); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid rgba(0,0,0,.06); }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo { height: 44px; width: auto; }
.nav-tag { background: var(--color-navy-50); color: var(--color-navy-800); border: 1px solid var(--color-navy-100); border-radius: 9999px; padding: 3px 12px; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.nav-menu { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-book { margin-left: 24px; flex: none; }
.nav-menu > a:not(.btn) { font-size: 15px; font-weight: 500; color: var(--color-neutral-900); }
.nav-menu > a:not(.btn):hover { color: var(--color-sky-800); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--color-navy-900); margin: 5px 0; border-radius: 2px; }

/* Shared type */
.section { padding: 100px 48px; }
.section--tint { background: var(--color-navy-50); }
.section--gray { background: var(--color-neutral-50); }
.section--flush { padding-top: 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { margin: 14px 0 12px; }
.section-head h2:first-child { margin-top: 0; }
.section-sub { font-size: 17px; color: var(--color-neutral-600); max-width: 620px; margin: 0 auto; line-height: 1.6; }
.h-display { font-size: clamp(32px, 3.6vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; }
.h-sub { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.18; }
.h-small { font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-neutral-600); margin-bottom: 14px; }
.eyebrow { display: inline-flex; background: var(--color-sky-50); color: var(--color-sky-800); border: 1px solid var(--color-sky-100); border-radius: 8px; padding: 4px 12px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.body-copy { font-size: 17px; color: var(--color-neutral-700); line-height: 1.75; margin: 16px 0 0; }
.body-copy--lead { font-size: 19px; color: var(--color-neutral-800); margin-top: 20px; }
.body-copy--problem { margin-top: 20px; padding: 18px 22px; background: var(--color-sky-50); border-left: 3px solid var(--color-sky-400); border-radius: 0 12px 12px 0; color: var(--color-navy-900); }

/* Navy bands: the deep-current gradient and glow, with only its wave, tiled along the bottom padding so it never crosses text */
.hero, .p-hero, .cta-band { background: url('img/wave.svg') left bottom / auto clamp(48px, 8vw, 120px) repeat-x, radial-gradient(60% 60% at 82% 20%, rgba(77,196,232,.28), rgba(77,196,232,0)), linear-gradient(to bottom right, #0B174F, #132272 72%, #1A278A); }

/* Home hero */
.hero { position: relative; overflow: hidden; padding: 150px 48px 110px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; max-width: none; align-items: center; }
.hero-inner { max-width: 580px; justify-self: end; width: 100%; }
.hero-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 14px; border-radius: 9999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .03em; }
.hero-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-sky-400); animation: pwa-pulse-glow 2.4s ease-in-out infinite; }
.hero h1 { color: #fff; font-size: clamp(36px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.07; }
.hero-sub { color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.65; margin: 22px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-note { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.5; margin: 14px 0 0; }
.hero-note--small { font-size: 14px; margin-top: 6px; color: rgba(255,255,255,.7); }
.hero-note a, .cta-contact a { color: var(--color-sky-200); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(154,226,245,.45); }
.hero-note a:hover, .cta-contact a:hover { color: #fff; }
.hero-stats { display: flex; gap: 40px; margin: 36px 0 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.18); }
.hero-stats > div { display: flex; flex-direction: column; justify-content: space-between; }
.hero-stats dt { color: rgba(255,255,255,.7); font-size: 13px; font-weight: 500; }
.hero-stats dd { margin: 4px 0 0; color: #fff; font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.hero-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 640px; width: 100%; }
.hero-fig { margin: 0; min-width: 0; }
.hero-fig--s1 { grid-column: 1 / -1; }
.hero-fig a { display: block; color: inherit; }
.hero-fig .frame { box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); transition: transform var(--duration-base) var(--ease-out); }
.hero-fig a:hover .frame { transform: translateY(-4px); }
.hero-fig figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
/* the two thumbnails keep their flags; the status is in the caption and on the project page */
.hero-fig--s2 .frame-status, .hero-fig--s3 .frame-status, .hero-fig--s2 .frame-dots, .hero-fig--s3 .frame-dots { display: none; }
.hero-fig--s2 .frame-bar, .hero-fig--s3 .frame-bar { gap: 6px; padding: 6px 8px; }

/* Browser frame */
.frame { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--color-neutral-100); }
.frame-bar { display: flex; align-items: center; gap: 10px; min-height: 30px; padding: 6px 10px 6px 12px; box-sizing: border-box; background: var(--color-neutral-50); border-bottom: 1px solid var(--color-neutral-100); }
.frame-dots { display: flex; gap: 6px; flex: none; }
.frame-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--color-neutral-200); }
.frame-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--color-neutral-600); }
.frame-label strong { color: var(--color-navy-900); font-weight: 600; }
.frame-flag { margin-left: auto; flex: none; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--color-neutral-700); background: #fff; border: 1px solid var(--color-neutral-200); border-radius: 9999px; padding: 2px 8px; line-height: 1.4; }
.frame-flag + .frame-flag { margin-left: -4px; }
.frame-flag--beta { color: var(--color-warning-dark); background: var(--color-warning-light); border-color: transparent; }
.frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; }

/* Filters + grid */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.chip { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--color-navy-900); background: #fff; border: 1px solid var(--color-neutral-200); border-radius: 9999px; padding: 9px 16px; min-height: 44px; cursor: pointer; transition: background var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out); }
.chip span { color: var(--color-neutral-600); font-weight: 500; margin-left: 4px; }
.chip:hover { border-color: var(--color-navy-300); }
.chip.is-active { background: var(--color-navy-900); border-color: var(--color-navy-900); color: #fff; }
.chip.is-active span { color: rgba(255,255,255,.75); }
.filters-note { max-width: 760px; margin: -16px auto 36px; text-align: center; font-size: 15px; line-height: 1.6; color: var(--color-neutral-600); }
.filters-note a { font-weight: 600; color: var(--color-navy-800); text-decoration: underline; text-decoration-color: var(--color-navy-200); text-underline-offset: 3px; }
.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.more-wrap { text-align: center; }
.more-wrap .btn { margin-top: 28px; }
.more-wrap .btn[hidden] { display: none; }
.grid .card { flex: 0 0 calc((100% - 56px) / 3); min-width: 0; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-neutral-100); border-radius: 16px; overflow: hidden; color: inherit; box-shadow: var(--shadow-xs); transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.card[hidden] { display: none; }
.card-media { aspect-ratio: 16 / 10; background: var(--color-neutral-50); overflow: hidden; border-bottom: 1px solid var(--color-neutral-100); }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.03); }
.card-media--flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: center; gap: 22px 0; padding: 20px 12px; background: linear-gradient(135deg, var(--color-navy-900), var(--color-navy-700)); }
.card-media--flow span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #fff; font-size: 13px; font-weight: 600; text-align: center; }
.card-media--flow b { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--color-navy-900); font-size: 13px; font-weight: 700; }
.card-media--flow span:not(:nth-child(3n))::after { content: ""; position: absolute; top: 14px; left: calc(50% + 21px); right: calc(-50% + 21px); height: 2px; background: var(--color-sky-400); opacity: .75; }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.card-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--color-neutral-600); }
.status { font-size: 12px; font-weight: 600; color: var(--color-warning-dark); background: var(--color-warning-light); padding: 3px 10px; border-radius: 9999px; white-space: nowrap; }
.status--live { color: var(--color-success-dark); background: var(--color-success-light); }
.status-note { font-weight: 500; }
.card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--color-neutral-600); }
.card-more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--color-sky-800); }

/* Problems we have already solved */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cap { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-navy-100); border-radius: 16px; padding: 28px; }
.cap h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.cap p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--color-neutral-600); }
.cap .cap-problem { color: var(--color-navy-900); font-weight: 500; padding-left: 14px; border-left: 3px solid var(--color-sky-400); }
.cap .cap-built { margin-top: 16px; }
.cap-built summary { list-style: none; pointer-events: none; }
.cap-built summary::-webkit-details-marker { display: none; }
.cap-k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--color-sky-800); margin-bottom: 6px; }
.cap-links { list-style: none; margin: auto 0 0; padding: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cap-links li { display: flex; }
.cap-links a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; font-size: 14px; font-weight: 600; background: var(--color-navy-50); color: var(--color-navy-800); border-radius: 10px 0 0 10px; padding: 6px 10px 6px 12px; }
.cap-links a:hover { background: var(--color-navy-100); color: var(--color-navy-900); }
.cap-status { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; color: var(--color-warning-dark); background: var(--color-warning-light); border-radius: 0 10px 10px 0; padding: 0 10px; }
.cap-status--live { color: var(--color-success-dark); background: var(--color-success-light); }

/* Mid-page CTA strip */
.strip { background: #fff; border-top: 1px solid var(--color-neutral-100); border-bottom: 1px solid var(--color-neutral-100); padding: 36px 48px; }
.strip-actions { max-width: 1040px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.strip-actions .btn { height: 48px; }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.trust-col { background: #fff; border: 1px solid var(--color-navy-100); border-radius: 18px; padding: 32px 32px 28px; box-shadow: var(--shadow-xs); }
.trust-col h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 12px 0 12px 34px; font-size: 15px; line-height: 1.6; color: var(--color-neutral-700); border-top: 1px solid var(--color-neutral-100); }
.ticks li:first-child { border-top: 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--color-sky-50); border: 1px solid var(--color-sky-200); box-sizing: border-box; }
.ticks li::after { content: ""; position: absolute; left: 8px; top: 19px; width: 5px; height: 9px; border: solid var(--color-sky-800); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ticks a { font-weight: 600; color: var(--color-navy-800); text-decoration: underline; text-decoration-color: var(--color-navy-200); text-underline-offset: 3px; }
.ticks a:hover { color: var(--color-sky-800); }

/* Ways to work with us */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.offer { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--color-neutral-100); border-radius: 18px; padding: 34px; box-shadow: var(--shadow-sm); }
.offer h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.offer p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--color-neutral-700); }
.offer--build { background: linear-gradient(160deg, var(--color-navy-900), var(--color-navy-700)); border-color: transparent; box-shadow: var(--shadow-navy-md); }
.offer--build h3 { color: #fff; }
.offer--build p { color: rgba(255,255,255,.84); }
.offer-links { list-style: none; margin: auto 0 0; padding: 24px 0 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.offer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--color-sky-800); }
.offer-links a::after { content: "\2192"; margin-left: 6px; }
.offer--build .offer-links a { color: var(--color-sky-200); }
.offer--build .offer-links a:hover { color: #fff; }
.offers-note { max-width: 760px; margin: 32px auto 0; text-align: center; font-size: 15px; line-height: 1.7; color: var(--color-neutral-600); }
.offers-note a { font-weight: 600; color: var(--color-navy-800); text-decoration: underline; text-decoration-color: var(--color-navy-200); text-underline-offset: 3px; }

/* How the free assessment works */
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { background: #fff; border: 1px solid var(--color-neutral-100); border-radius: 16px; padding: 26px 26px 28px; }
.step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-navy-900); color: #fff; font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.steps p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--color-navy-900); font-weight: 500; }
.steps-cta { text-align: center; margin-top: 40px; }

/* FAQ */
.faq { max-width: 1040px; margin: 0 auto; columns: 2; column-gap: 56px; }
.faq-item { break-inside: avoid; padding: 26px 0; border-top: 1px solid var(--color-neutral-200); }
.faq-item h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.35; margin-bottom: 10px; }
.faq-item p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--color-neutral-700); }
.faq-item a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* CTA band + lead form */
.cta-band { padding: 96px 48px; }
.cta-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; }
.cta-copy > p { color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.6; margin: 16px 0 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cta-copy .cta-note { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 12px; }
.cta-contact { list-style: none; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255,255,255,.16); display: grid; gap: 4px; color: rgba(255,255,255,.72); font-size: 15px; }
.cta-contact li { min-height: 32px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cta-band--solo .cta-inner { grid-template-columns: minmax(0, 1fr); max-width: 760px; text-align: center; }
.cta-band--solo .cta-actions, .cta-band--solo .cta-contact li { justify-content: center; }
.cta-form { background: #fff; border-radius: 20px; padding: 34px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.lead-form h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.form-intro { margin: 8px 0 22px; font-size: 15px; line-height: 1.6; color: var(--color-neutral-600); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--color-navy-900); }
.form-field input, .form-field select, .form-field textarea { font-family: var(--font-sans); font-size: 16px; color: var(--color-neutral-900); background: var(--color-neutral-0); border: 1px solid var(--color-neutral-200); border-radius: 12px; padding: 12px 14px; width: 100%; box-sizing: border-box; min-height: 48px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--color-sky-800); box-shadow: 0 0 0 3px var(--color-sky-100); }
.form-field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.form-actions { margin-top: 22px; }
.form-actions .btn { width: 100%; }
.form-status { font-size: 14px; color: var(--color-neutral-600); margin: 12px 0 0; min-height: 1.4em; line-height: 1.5; }
.form-status--ok { color: var(--color-success-dark); }
.form-status--err { color: var(--color-error-dark); }

/* Project page */
.p-hero { padding: 120px 48px 150px; }
.p-hero-inner { max-width: 880px; margin: 0 auto; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: rgba(255,255,255,.8); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.back:hover { color: #fff; }
.kicker { margin: 0 0 12px; color: var(--color-sky-300); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.p-hero h1 { color: #fff; font-size: clamp(38px, 5vw, 62px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.p-hero h1 .kicker { display: block; font-family: var(--font-sans); line-height: 1.4; letter-spacing: .08em; }
.p-sub { color: rgba(255,255,255,.85); font-size: 20px; line-height: 1.55; margin: 20px 0 0; max-width: 680px; }
.p-shot { max-width: 1040px; margin: -90px auto 0; padding: 0 24px; position: relative; z-index: 2; }
.frame--hero { box-shadow: 0 40px 80px -24px rgba(19,34,114,.45), 0 0 0 1px rgba(19,34,114,.08); border-radius: 14px; }
.caption, figcaption { font-size: 14px; color: var(--color-neutral-600); line-height: 1.5; margin: 14px 0 0; text-align: center; }
.wrap--split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.p-body .h-sub:not(:first-child) { margin-top: 56px; }
.facts { position: sticky; top: 96px; background: var(--color-neutral-50); border: 1px solid var(--color-neutral-100); border-radius: 16px; padding: 8px 24px; }
.facts dl { margin: 0; }
.facts dl > div { padding: 16px 0; border-bottom: 1px solid var(--color-neutral-100); }
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-neutral-600); }
.facts dd { margin: 6px 0 0; font-size: 16px; color: var(--color-navy-900); font-weight: 500; line-height: 1.45; }
.facts dd a { display: inline-flex; align-items: center; min-height: 32px; overflow-wrap: anywhere; font-weight: 600; color: var(--color-sky-800); text-decoration: underline; text-underline-offset: 3px; }
.facts dd a::after { content: "\2197"; margin-left: 4px; text-decoration: none; }
.facts-note { display: block; font-size: 14px; color: var(--color-neutral-600); font-weight: 400; }
.stack { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stack li { font-size: 13px; font-weight: 600; background: #fff; border: 1px solid var(--color-neutral-200); border-radius: 8px; padding: 4px 10px; color: var(--color-neutral-800); }
.section--tech { padding-top: 56px; padding-bottom: 56px; border-top: 1px solid var(--color-neutral-100); }
.does { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.does li { background: #fff; border: 1px solid var(--color-neutral-100); border-radius: 14px; padding: 24px 26px; }
.does h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
.does p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--color-neutral-700); }
.does li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; max-width: 1040px; margin: 0 auto; }
.gallery figure { margin: 0; }
.gallery a { display: block; cursor: zoom-in; }
.gallery .frame { transition: transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out); }
.gallery a:hover .frame { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.faq--two { max-width: 1040px; }
.quote { margin: 28px 0 0; padding: 24px 28px; background: var(--color-navy-50); border-radius: 16px; }
.quote p { margin: 0; font-family: var(--font-display); font-size: 21px; line-height: 1.5; color: var(--color-navy-900); }
.quote footer { margin-top: 12px; font-size: 14px; color: var(--color-neutral-600); }
.grid--related .card { flex-basis: calc((100% - 56px) / 3); }
.pager { display: grid; grid-template-columns: 1fr 1fr; max-width: 1040px; margin: 0 auto; padding: 64px 48px 80px; gap: 20px; }
.pager a { display: block; border: 1px solid var(--color-neutral-200); border-radius: 14px; padding: 18px 22px; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--color-navy-900); transition: border-color var(--duration-base) var(--ease-out); }
.pager a:hover { border-color: var(--color-navy-400); }
.pager a:last-child { text-align: right; }
.pager span { display: block; font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-neutral-600); margin-bottom: 4px; }

/* Flow diagram (platform pages) */
.flow { list-style: none; margin: 0 auto; padding: 36px; max-width: 1040px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; background: #fff; border: 1px solid var(--color-neutral-100); border-radius: 18px; box-shadow: var(--shadow-md); counter-reset: s; }
.flow li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 0 14px 0 0; font-size: 14px; line-height: 1.45; color: var(--color-neutral-600); }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: 38px; right: 6px; height: 2px; background: linear-gradient(90deg, var(--color-sky-400), var(--color-sky-200)); }
.flow-n { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--color-navy-900); color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.flow strong { font-family: var(--font-display); font-size: 17px; color: var(--color-navy-900); }

/* Footer */
.footer { background: var(--color-navy-900); padding: 72px 48px 32px; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { color: rgba(255,255,255,.75); font-size: 15px; line-height: 1.6; margin: 18px 0 0; max-width: 340px; }
.footer-h { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 8px; font-family: var(--font-sans); font-weight: 700; }
.footer-col a { display: flex; align-items: center; min-height: 44px; color: rgba(255,255,255,.8); font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: 1120px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 32px; }
.footer-copy { margin: 0; flex: 1 1 420px; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.6; }
.footer-legal { margin: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-legal a { display: inline-flex; align-items: center; min-height: 32px; color: rgba(255,255,255,.75); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); }
.footer-legal a:hover { color: #fff; }

/* Reveal (gated on html.js, so no-JS shows everything) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .hero-chip-dot { animation: none; } html { scroll-behavior: auto; } .card, .card-media img, .hero-fig .frame { transition: none; } }
[id] { scroll-margin-top: 84px; }

@media (max-width: 1100px) {
  .site-nav { padding: 0 24px; }
  .nav-toggle { display: block; order: 2; margin-right: -10px; }
  .nav-book { order: 1; margin-left: auto; }
  .nav-menu { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; background: #fff; border-bottom: 1px solid rgba(0,0,0,.08); }
  .nav-menu.is-open { display: flex; }
  .nav-menu > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--color-neutral-100); }
  .nav-menu > a:last-child { border-bottom: 0; }
  .hero { grid-template-columns: 1fr; padding: 124px 24px 72px; gap: 40px; }
  .hero-inner { justify-self: start; max-width: 680px; }
  .hero-stack { margin: 0 auto; }
  .grid .card { flex-basis: calc((100% - 28px) / 2); }
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; max-width: 680px; }
}
@media (max-width: 768px) {
  .site-nav { padding: 0 20px; }
  .nav-menu { padding: 12px 20px 24px; }
  .section { padding: 72px 20px; }
  .section--flush { padding-top: 0; }
  .section--tech { padding-top: 44px; padding-bottom: 44px; }
  .hero { padding: 108px 20px 56px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .hero-stats dd { font-size: 28px; }
  .btn { max-width: 100%; white-space: normal; text-align: center; height: auto; min-height: 44px; padding-top: 10px; padding-bottom: 10px; overflow-wrap: anywhere; }
  .btn--lg { min-height: 52px; padding-left: var(--space-5); padding-right: var(--space-5); }
  .hero-actions .btn, .cta-actions .btn, .strip-actions .btn { flex: 1 1 100%; }
  .hero-stack { display: block; }
  .hero-fig--s2, .hero-fig--s3 { display: none; }
  .hero-fig figcaption { position: static; width: auto; height: auto; overflow: visible; clip: auto; clip-path: none; white-space: normal; text-align: left; margin-top: 14px; color: rgba(255,255,255,.78); }
  .hero-fig figcaption strong { color: #fff; }
  .does, .gallery, .wrap--split, .trust, .offers, .steps { grid-template-columns: minmax(0, 1fr); }
  .faq { columns: 1; }
  .does li:last-child:nth-child(odd) { grid-column: auto; }
  .cap, .trust-col, .offer { padding: 24px; }
  .wrap--split { gap: 32px; }
  .facts { position: static; }
  .p-hero { padding: 100px 20px 120px; }
  .p-shot { margin-top: -72px; padding: 0 12px; }
  .flow { grid-template-columns: 1fr; padding: 24px; gap: 22px; }
  .flow li { padding: 0 0 0 48px; min-height: 40px; }
  .flow .flow-n { position: absolute; left: 0; top: 0; margin: 0; }
  .flow li:not(:last-child)::after { top: 36px; bottom: -18px; left: 15px; right: auto; width: 2px; height: auto; background: var(--color-sky-200); }
  .strip { padding: 32px 20px; }
  .cta-band { padding: 72px 20px; }
  .cta-form { padding: 24px 20px; border-radius: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; padding: 48px 20px 56px; }
  .pager a:last-child { text-align: left; }
  .footer { padding: 56px 20px 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .nav-tag { display: none; } /* keeps the Book button and the menu in one row down to 320px */
}
@media (max-width: 640px) {
  .grid .card, .grid--related .card { flex-basis: 100%; }
  .caps { grid-template-columns: minmax(0, 1fr); }
  .grid .card-media { aspect-ratio: 16 / 7; } /* a short screenshot strip keeps the proof on phones without the full height */
  .grid .card-media--flow { padding: 12px; gap: 12px 0; }
  .filters-note { margin-top: -12px; text-align: left; }
  .cap-built summary { pointer-events: auto; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin: 0; border-top: 1px solid var(--color-navy-100); }
  .cap-built summary::after { content: "+"; font-size: 20px; font-weight: 500; color: var(--color-sky-800); }
  .cap-built[open] summary::after { content: "\2212"; }
  .cap .cap-built { margin-top: 12px; }
  .cap-links { padding-top: 12px; }
}

/* Full-size screenshot dialog (portfolio.js); without JS the gallery link opens the image file */
.lightbox { padding: 0; border: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: transparent; overflow: auto; }
.lightbox::backdrop { background: rgba(11, 23, 79, .9); }
.lightbox img { display: block; width: min(1600px, 94vw); height: auto; margin: 64px auto 32px; border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
.lightbox-close { position: fixed; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--color-navy-900); font-size: 26px; line-height: 1; cursor: pointer; }
@media (max-width: 768px) { .lightbox img { width: 1200px; max-width: none; margin: 64px 16px 24px; } }
