/* Alexandria variable font — self-hosted (SIL Open Font License 1.1) */
@font-face {
    font-family: "Alexandria";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/alexandria-arabic-wght-normal.woff2") format("woff2");
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

@font-face {
    font-family: "Alexandria";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/alexandria-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Alexandria";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/alexandria-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --navy-950: #081a26;
    --navy-900: #0d2638;
    --navy-800: #12354b;
    --navy-700: #19465e;
    --teal-600: #138a86;
    --teal-500: #19a39c;
    --teal-300: #79d2cc;
    --teal-100: #dff4f1;
    --sand-100: #f6f3ed;
    --cream: #fbfaf7;
    --white: #fff;
    --ink: #17232c;
    --muted: #5f6e77;
    --line: #d9e0e2;
    --soft: #eef3f3;
    --danger: #a33a3a;
    --success: #167150;
    --shadow-sm: 0 12px 30px rgba(8, 26, 38, .08);
    --shadow-lg: 0 35px 80px rgba(5, 19, 29, .22);
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 34px;
    --container: 1180px;
    --header-height: 82px;
    --ease: cubic-bezier(.2, .75, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: "Alexandria", "Segoe UI", Tahoma, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ul, ol { margin-top: 0; }
h1, h2, h3 { line-height: 1.38; letter-spacing: 0; }
h1 { font-size: clamp(2.6rem, 5.2vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.7rem); }
h3 { font-size: 1.22rem; }
::selection { background: var(--teal-300); color: var(--navy-950); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(76px, 9vw, 128px); }
.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; z-index: 9999; top: 12px; right: 12px; transform: translateY(-150%);
    background: var(--white); color: var(--navy-950); padding: 10px 16px; border-radius: 10px;
    box-shadow: var(--shadow-sm); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
    color: var(--teal-600); font-size: .8rem; font-weight: 800;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--teal-300); }
.eyebrow--light span { width: 8px; height: 8px; background: currentColor; border-radius: 50%; box-shadow: 0 0 0 5px rgba(121,210,204,.12); }
.eyebrow--light span + * { display: none; }

.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 12px 22px; border: 1px solid var(--teal-600); border-radius: 999px;
    background: var(--teal-600); color: var(--white); font-weight: 800; cursor: pointer;
    transition: transform .25s var(--ease), background .25s ease, color .25s ease, box-shadow .25s ease;
    box-shadow: 0 12px 28px rgba(19,138,134,.2);
}
.button:hover { transform: translateY(-2px); background: var(--navy-900); border-color: var(--navy-900); box-shadow: var(--shadow-sm); }
.button:focus-visible, .text-link:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid var(--teal-300); outline-offset: 3px;
}
.button svg, .text-link svg, .card-link svg { width: 18px; height: 18px; transform: rotate(180deg); transition: transform .25s var(--ease); }
.button:hover svg, .text-link:hover svg, .card-link:hover svg { transform: rotate(180deg) translateX(4px); }
.button--small { min-height: 44px; padding: 8px 17px; font-size: .9rem; }
.button--light { background: var(--white); border-color: var(--white); color: var(--navy-950); box-shadow: 0 15px 35px rgba(0,0,0,.18); }
.button--light:hover { background: var(--teal-300); border-color: var(--teal-300); color: var(--navy-950); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-600); font-weight: 800; }
.text-link--light { color: var(--white); }

/* Header */
.site-header {
    position: sticky; z-index: 1000; top: 0; height: var(--header-height);
    background: rgba(251,250,247,.9); border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    transition: height .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { height: 70px; border-color: rgba(13,38,56,.08); box-shadow: 0 8px 30px rgba(8,26,38,.06); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand__mark {
    display: block; flex: 0 0 auto; width: auto; height: 48px; object-fit: contain;
}
.brand__text { display: grid; line-height: 1; gap: 6px; }
.brand__text strong { font-size: 1.2rem; color: var(--navy-950); }
.brand__text small { font-size: .58rem; letter-spacing: .24em; color: var(--muted); font-weight: 800; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 30px; margin-inline: auto; }
.primary-nav > a, .nav-dropdown__toggle { position: relative; color: #35434c; font-size: .95rem; font-weight: 700; }
.primary-nav > a::after, .nav-dropdown__toggle::after {
    content: ""; position: absolute; inset-inline: 0; bottom: -9px; width: 0; height: 2px; margin-inline: auto;
    background: var(--teal-600); transition: width .25s ease;
}
.primary-nav > a:hover::after, .primary-nav > a.is-active::after, .nav-dropdown__toggle:hover::after, .nav-dropdown__toggle.is-active::after, .nav-dropdown.is-open .nav-dropdown__toggle::after { width: 100%; }
.primary-nav > a.is-active, .nav-dropdown__toggle.is-active { color: var(--navy-950); }
.nav-dropdown { position: relative; }
.nav-dropdown__toggle { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.nav-dropdown__toggle svg { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .25s ease; }
.nav-dropdown.is-open .nav-dropdown__toggle svg { transform: rotate(-90deg); }
.nav-dropdown__menu {
    position: absolute; z-index: 20; top: calc(100% + 20px); right: -24px; width: min(340px, 82vw); display: grid;
    padding: 12px; border: 1px solid rgba(13,38,56,.1); border-radius: 18px; background: rgba(255,255,255,.98);
    box-shadow: 0 22px 55px rgba(8,26,38,.16); visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: visibility .2s ease, opacity .2s ease, transform .2s ease;
}
.nav-dropdown__menu a { padding: 11px 13px; border-radius: 10px; color: #35434c; font-size: .86rem; font-weight: 700; transition: background .2s ease, color .2s ease; }
.nav-dropdown__menu a:hover, .nav-dropdown__menu a:focus-visible { background: var(--soft); color: var(--teal-600); }
.nav-dropdown.is-open .nav-dropdown__menu { visibility: visible; opacity: 1; transform: translateY(0); }
.primary-nav__mobile-cta { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--soft); color: var(--navy-900); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }
.nav-toggle__close { display: none; }

/* Hero */
.hero {
    position: relative; min-height: min(790px, calc(100svh - var(--header-height))); overflow: hidden;
    background: var(--navy-950); color: var(--white); isolation: isolate;
}
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .14;
    background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
    background-size: 70px 70px; mask-image: linear-gradient(to left, black, transparent 78%);
}
.hero__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(10px); }
.hero__glow--one { width: 560px; height: 560px; left: -230px; top: -220px; background: radial-gradient(circle, rgba(25,163,156,.35), transparent 65%); }
.hero__glow--two { width: 420px; height: 420px; right: 30%; bottom: -300px; background: radial-gradient(circle, rgba(121,210,204,.2), transparent 70%); }
.hero__grid { min-height: inherit; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(50px, 8vw, 110px); padding-block: 74px; }
.hero__content { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 24px; max-width: 700px; font-weight: 850; }
.hero h1 em { color: var(--teal-300); font-style: normal; }
.hero__lead { max-width: 660px; margin-bottom: 34px; color: #c6d2d9; font-size: clamp(1.08rem, 1.6vw, 1.35rem); line-height: 1.8; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 24px; margin: 42px 0 0; padding: 0; list-style: none; color: #9fb0bb; font-size: .88rem; }
.hero__proof li { display: flex; align-items: center; gap: 7px; }
.hero__proof svg { width: 16px; height: 16px; color: var(--teal-300); }

.hero-visual { position: relative; min-height: 540px; perspective: 1000px; }
.hero-visual__orbit { position: absolute; inset: 5% -5% 0; border: 1px solid rgba(121,210,204,.17); border-radius: 50%; transform: rotate(-14deg); }
.hero-visual__orbit::after { content: ""; position: absolute; top: 12%; right: 12%; width: 11px; height: 11px; border-radius: 50%; background: var(--teal-300); box-shadow: 0 0 28px var(--teal-300); }
.browser-card {
    position: absolute; width: 92%; top: 11%; left: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 24px;
    background: #f4f7f7; box-shadow: var(--shadow-lg); transform: rotateY(7deg) rotateZ(-2deg); animation: float-card 7s ease-in-out infinite;
}
.browser-card__bar { height: 43px; display: flex; align-items: center; gap: 7px; padding: 0 15px; background: #dde8e9; color: #71818a; direction: ltr; }
.browser-card__bar span { width: 9px; height: 9px; border-radius: 50%; background: #90a1a9; }
.browser-card__bar b { margin-left: auto; margin-right: auto; font-size: .58rem; letter-spacing: .1em; font-weight: 700; }
.browser-card__canvas { padding: 24px; min-height: 355px; background: linear-gradient(145deg, #f5f8f7, #e8efee); }
.mini-nav { display: flex; align-items: center; gap: 12px; direction: rtl; }
.mini-nav i { width: 52px; height: 16px; border-radius: 5px; background: var(--navy-900); margin-left: auto; }
.mini-nav span { width: 38px; height: 7px; border-radius: 999px; background: #aab7bc; }
.mini-hero { position: relative; margin-top: 34px; padding: 28px; min-height: 185px; overflow: hidden; border-radius: 18px; background: var(--navy-900); }
.mini-hero::after { content: ""; position: absolute; width: 180px; height: 180px; left: -40px; bottom: -90px; border: 28px solid rgba(25,163,156,.33); border-radius: 50%; }
.mini-hero span { display: block; color: var(--teal-300); font-size: .72rem; }
.mini-hero strong { display: block; margin-top: 8px; color: var(--white); font-size: 1.55rem; letter-spacing: 0; direction: rtl; text-align: right; }
.mini-hero i { display: block; width: 90px; height: 24px; margin-top: 18px; background: var(--teal-500); border-radius: 999px; }
.mini-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 17px; }
.mini-grid span { height: 70px; border-radius: 12px; background: var(--white); box-shadow: 0 8px 22px rgba(8,26,38,.08); }
.floating-card {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; min-width: 170px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.16);
    border-radius: 17px; background: rgba(13,38,56,.88); box-shadow: 0 18px 50px rgba(0,0,0,.28); backdrop-filter: blur(12px); animation: float-mini 6s ease-in-out infinite;
}
.floating-card--top { right: -8%; top: 12%; }
.floating-card--bottom { left: 3%; bottom: 9%; animation-delay: -2.4s; }
.floating-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(121,210,204,.14); color: var(--teal-300); }
.floating-card__icon svg { width: 22px; height: 22px; }
.floating-card small, .floating-card strong { display: block; }
.floating-card small { color: #91a4af; font-size: .68rem; }
.floating-card strong { color: var(--white); font-size: .86rem; }
@keyframes float-card { 0%,100% { transform: rotateY(7deg) rotateZ(-2deg) translateY(0); } 50% { transform: rotateY(7deg) rotateZ(-2deg) translateY(-12px); } }
@keyframes float-mini { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.value-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.value-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.value-strip__grid > div { position: relative; display: grid; gap: 2px; padding: 28px 34px; }
.value-strip__grid > div:not(:last-child)::after { content: ""; position: absolute; left: 0; top: 28%; width: 1px; height: 44%; background: var(--line); }
.value-strip strong { color: var(--navy-900); font-size: .95rem; }
.value-strip span { color: var(--muted); font-size: .8rem; }

/* Shared headings and cards */
.section-heading { max-width: 800px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; color: var(--navy-950); }
.section-heading--split { max-width: none; display: grid; grid-template-columns: 1.1fr .75fr; align-items: end; gap: 80px; }
.section-heading--split p { margin: 0 0 8px; color: var(--muted); font-size: 1.08rem; }
.services-preview { background: var(--cream); }
.services-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 20px; }
.service-card {
    position: relative; grid-column: span 2; min-height: 330px; display: flex; flex-direction: column; padding: 30px;
    border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.72); overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s ease, border-color .35s ease;
}
.service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 3; }
.service-card::after { content: ""; position: absolute; width: 160px; height: 160px; left: -100px; bottom: -100px; border-radius: 50%; background: var(--teal-100); transition: transform .45s var(--ease); }
.service-card:hover { transform: translateY(-7px); border-color: rgba(19,138,134,.35); box-shadow: var(--shadow-sm); }
.service-card:hover::after { transform: scale(1.6); }
.service-card__top { display: flex; justify-content: flex-start; align-items: center; margin-bottom: 35px; }
.service-card__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--soft); color: var(--teal-600); }
.service-card__icon svg { width: 25px; height: 25px; }
.service-card h3 { margin-bottom: 12px; color: var(--navy-950); font-size: 1.35rem; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.service-card p { position: relative; z-index: 1; color: var(--muted); font-size: .94rem; }
.card-link { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 7px; margin-top: auto; color: var(--teal-600); font-size: .88rem; font-weight: 800; }
.card-link svg { width: 16px; height: 16px; }

/* Home about */
.home-about { background: var(--sand-100); }
.home-about__grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: clamp(55px, 9vw, 125px); }
.home-about h2 { margin: 0; color: var(--navy-950); font-size: clamp(2.2rem, 4vw, 4.1rem); }
.home-about__copy { max-width: 760px; padding-right: clamp(24px, 4vw, 48px); border-right: 2px solid var(--teal-500); }
.home-about__copy p { margin: 0; color: #42515a; font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 2; }

/* Approach */
.approach { background: var(--sand-100); }
.approach__grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(60px, 9vw, 130px); }
.approach__visual { position: relative; min-height: 560px; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy-900); color: var(--white); }
.approach__visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(25,163,156,.28), transparent 55%); }
.approach__label { position: absolute; top: 28px; right: 30px; color: var(--teal-300); font-size: .75rem; font-weight: 800; }
.approach__rings, .approach__rings i { position: absolute; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; }
.approach__rings { width: 410px; height: 410px; }
.approach__rings i:nth-child(1) { inset: 50px; }
.approach__rings i:nth-child(2) { inset: 100px; }
.approach__rings i:nth-child(3) { inset: 150px; background: rgba(121,210,204,.08); }
.approach__center { position: relative; z-index: 2; display: grid; place-items: center; }
.approach__center strong { display: grid; place-items: center; width: 82px; height: 82px; border-radius: 26px; background: var(--teal-500); font-size: 2.8rem; font-weight: 750; box-shadow: 0 18px 50px rgba(25,163,156,.3); }
.approach__center span { margin-top: 12px; color: #a8bac2; font-size: .75rem; letter-spacing: .15em; direction: ltr; }
.approach__tag { position: absolute; z-index: 3; padding: 8px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(8,26,38,.74); color: #d6e1e4; font-size: .74rem; }
.approach__tag--one { top: 24%; left: 9%; }
.approach__tag--two { bottom: 23%; right: 7%; }
.approach__tag--three { bottom: 9%; left: 22%; }
.approach__content h2 { margin-bottom: 22px; color: var(--navy-950); }
.approach__content > p { max-width: 620px; color: var(--muted); font-size: 1.05rem; }
.principles { margin-top: 38px; }
.principles article { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding-block: 22px; border-top: 1px solid #cfd7d7; }
.principles article > span { color: var(--teal-600); font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.principles h3 { margin-bottom: 5px; color: var(--navy-950); }
.principles p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Process */
.process { background: var(--white); }
.process__steps { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process__steps li { position: relative; min-height: 230px; padding: 30px 26px 10px; border-left: 1px solid var(--line); }
.process__steps li:last-child { border-left: 0; }
.process__steps li::before { content: ""; position: absolute; top: -4px; right: 26px; width: 7px; height: 7px; background: var(--teal-500); border-radius: 50%; box-shadow: 0 0 0 6px var(--white); }
.process__steps span { color: var(--teal-600); font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.process__steps h3 { margin: 42px 0 10px; color: var(--navy-950); font-size: 1.35rem; }
.process__steps p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Page heroes */
.page-hero, .service-hero { position: relative; overflow: hidden; padding-block: clamp(85px, 10vw, 140px); background: var(--navy-950); color: var(--white); }
.page-hero::after, .service-hero::after { content: ""; position: absolute; width: 540px; height: 540px; left: -210px; top: -260px; border: 100px solid rgba(25,163,156,.13); border-radius: 50%; }
.page-hero__grid, .service-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .6fr; align-items: end; gap: 90px; }
.page-hero h1, .service-hero h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(2.8rem, 5.2vw, 5rem); }
.page-hero p, .service-hero p { max-width: 750px; margin: 0; color: #b8c8cf; font-size: 1.12rem; }
.page-hero__aside { display: flex; align-items: center; gap: 18px; padding: 22px 0; border-block: 1px solid rgba(255,255,255,.16); }
.page-hero__aside strong { color: var(--teal-300); font-size: 3.5rem; line-height: 1; }
.page-hero__aside span { color: #c4d0d5; font-size: .9rem; }
.page-hero__quote { padding: 30px; border-right: 2px solid var(--teal-300); background: rgba(255,255,255,.05); border-radius: 0 18px 18px 0; }
.page-hero__quote p { color: var(--white); font-size: 1.1rem; }

/* Services page */
.services-list { background: var(--cream); }
.service-row { display: grid; grid-template-columns: 70px 66px 1fr 58px; align-items: center; gap: 30px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.service-row:first-child { border-top: 1px solid var(--line); }
.service-row__number { color: #91a0a7; font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.service-row__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--soft); color: var(--teal-600); }
.service-row__icon svg { width: 27px; height: 27px; }
.service-row__content > span { color: var(--teal-600); font-size: .76rem; font-weight: 800; }
.service-row h2 { margin: 4px 0 10px; font-size: clamp(1.5rem,2.5vw,2.4rem); }
.service-row h2 a:hover { color: var(--teal-600); }
.service-row p { max-width: 800px; margin: 0; color: var(--muted); font-size: .92rem; }
.service-row__link { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--line); border-radius: 50%; color: var(--teal-600); transition: .25s var(--ease); }
.service-row__link:hover { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); transform: translateX(-5px); }
.service-row__link svg { width: 20px; height: 20px; transform: rotate(180deg); }
.scope-note { padding-top: 0; }
.scope-note__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; padding: clamp(35px,5vw,62px); border-radius: var(--radius-lg); background: var(--sand-100); }
.scope-note h2 { margin: 0; font-size: clamp(1.8rem,3vw,3rem); }
.check-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: #35434c; }
.check-list svg { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 5px; color: var(--teal-600); }

/* Service detail */
.service-hero { padding-block: clamp(70px, 8vw, 115px); }
.service-hero__grid { align-items: center; }
.service-hero h1 { max-width: 850px; font-size: clamp(2.7rem,5vw,4.9rem); }
.back-link { display: flex; align-items: center; gap: 8px; width: fit-content; margin-bottom: 28px; color: #9fb0b9; font-size: .82rem; font-weight: 700; }
.back-link svg { width: 16px; height: 16px; }
.service-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.service-hero__mark { position: relative; display: grid; place-items: center; min-height: 340px; }
.service-hero__mark::before, .service-hero__mark::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.service-hero__mark::before { width: 300px; height: 300px; }
.service-hero__mark::after { width: 220px; height: 220px; }
.service-hero__mark > span { position: absolute; top: 15px; right: 15px; color: var(--teal-300); font-size: .78rem; font-weight: 800; letter-spacing: .15em; }
.service-hero__mark > div { position: relative; z-index: 2; display: grid; place-items: center; width: 115px; height: 115px; border-radius: 34px; background: var(--teal-500); box-shadow: 0 25px 70px rgba(25,163,156,.3); }
.service-hero__mark svg { width: 52px; height: 52px; }
.service-overview { background: var(--cream); }
.service-overview__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: end; }
.service-overview h2 { margin: 0; font-size: clamp(2rem,3.4vw,3.5rem); }
.lead-copy p { margin: 0; padding-right: 30px; border-right: 2px solid var(--teal-500); color: var(--muted); font-size: 1.15rem; }
.benefits-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 58px; }
.benefit-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); }
.benefit-card > span { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 24px; border-radius: 50%; background: var(--teal-100); color: var(--teal-600); }
.benefit-card svg { width: 18px; height: 18px; }
.benefit-card h3 { margin-bottom: 8px; }
.benefit-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.service-includes { background: var(--sand-100); }
.service-includes__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(55px,8vw,110px); align-items: start; }
.service-includes__intro { position: sticky; top: 110px; }
.service-includes__intro h2 { margin-bottom: 18px; font-size: clamp(2rem,3.4vw,3.4rem); }
.service-includes__intro p { color: var(--muted); }
.includes-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #cfd8d7; }
.includes-list li { display: grid; grid-template-columns: 50px 1fr; gap: 25px; padding: 22px 0; border-bottom: 1px solid #cfd8d7; }
.includes-list span { color: var(--teal-600); font-size: .76rem; font-weight: 800; letter-spacing: .1em; }
.includes-list p { margin: 0; font-weight: 650; }
.deliverables { padding-top: 0; background: var(--sand-100); }
.deliverables__panel { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; padding: clamp(36px,6vw,72px); border-radius: var(--radius-lg); background: var(--navy-900); color: var(--white); }
.deliverables h2 { margin: 0; font-size: clamp(2rem,3vw,3.2rem); }
.deliverables ul { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 0; padding: 0; list-style: none; }
.deliverables li { display: flex; align-items: center; gap: 10px; color: #d2dde1; }
.deliverables li svg { width: 18px; height: 18px; color: var(--teal-300); }
.faq { background: var(--white); }
.faq__grid { display: grid; grid-template-columns: .6fr 1.4fr; gap: 90px; align-items: start; }
.faq__intro { position: sticky; top: 110px; }
.faq__intro h2 { margin-bottom: 14px; }
.faq__intro p { color: var(--muted); }
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion h3 { margin: 0; }
.accordion button { width: 100%; display: flex; justify-content: space-between; gap: 20px; padding: 25px 4px; border: 0; background: transparent; color: var(--navy-950); text-align: right; font-weight: 800; cursor: pointer; }
.accordion button i { display: grid; flex: 0 0 24px; place-items: center; width: 24px; height: 24px; font-style: normal; color: var(--teal-600); font-size: 1.5rem; line-height: 1; transition: transform .25s ease; }
.accordion button[aria-expanded="true"] i { transform: rotate(45deg); }
.accordion__panel { padding: 0 0 24px; }
.accordion__panel p { margin: 0; color: var(--muted); }

/* About */
.about-story__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.about-story h2 { margin: 0; font-size: clamp(2.1rem,3.6vw,3.7rem); }
.prose { color: #42515a; font-size: 1.04rem; }
.prose p { margin-bottom: 1.4em; }
.prose a { color: var(--teal-600); text-decoration: underline; text-underline-offset: 3px; }
.values-section { background: var(--sand-100); }
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #ccd6d5; }
.values-grid article { padding: 30px 25px; border-left: 1px solid #ccd6d5; }
.values-grid article:last-child { border-left: 0; }
.values-grid span { color: var(--teal-600); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.values-grid h3 { margin: 45px 0 10px; }
.values-grid p { margin: 0; color: var(--muted); font-size: .9rem; }
.ownership { background: var(--white); }
.ownership__panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; padding: clamp(38px,6vw,70px); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.ownership h2 { margin: 0; font-size: clamp(2rem,3.5vw,3.5rem); }
.ownership p { color: var(--muted); font-size: 1.05rem; }

/* Contact */
.contact-quick { display: grid; gap: 14px; }
.contact-quick a { display: flex; align-items: center; gap: 15px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; background: rgba(255,255,255,.05); transition: background .2s ease; }
.contact-quick a:hover { background: rgba(255,255,255,.1); }
.contact-quick svg { width: 22px; height: 22px; color: var(--teal-300); }
.contact-quick small, .contact-quick strong { display: block; }
.contact-quick small { color: #8fa2ac; font-size: .7rem; }
.contact-quick strong { color: var(--white); font-size: .9rem; }
.contact-section { background: var(--cream); }
.contact-section__grid { display: grid; grid-template-columns: .62fr 1.38fr; align-items: start; gap: clamp(50px,8vw,105px); }
.contact-section--form-only .contact-section__grid { display: block; max-width: 900px; }
.contact-copy { position: sticky; top: 110px; }
.contact-copy h2 { margin-bottom: 20px; font-size: clamp(2rem,3.3vw,3.4rem); }
.contact-copy > p { color: var(--muted); }
.contact-copy .check-list { margin-top: 30px; }
.form-wrap { padding: clamp(28px,4.5vw,52px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--navy-950); font-size: .87rem; font-weight: 800; }
.field label span { color: var(--teal-600); }
.field input, .field textarea, .field select {
    width: 100%; border: 1px solid #cbd5d8; border-radius: 12px; background: #fcfcfa; color: var(--ink); padding: 13px 15px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field input, .field select { min-height: 51px; }
.field textarea { min-height: 180px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #9babb0; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal-600); background: var(--white); box-shadow: 0 0 0 4px rgba(25,163,156,.09); outline: 0; }
.field small { color: var(--muted); font-size: .72rem; text-align: left; direction: ltr; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; color: var(--muted); font-size: .82rem; cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 5px; accent-color: var(--teal-600); }
.checkbox a { color: var(--teal-600); text-decoration: underline; }
.form-actions { display: flex; align-items: center; gap: 20px; margin-top: 28px; }
.form-actions p { margin: 0; color: var(--muted); font-size: .74rem; }
.honeypot {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.alert { display: flex; gap: 14px; margin-bottom: 24px; padding: 16px 18px; border-radius: 13px; font-size: .88rem; }
.alert svg { width: 21px; height: 21px; }
.alert strong, .alert p { margin: 0; }
.alert--success { background: #e7f5ed; color: var(--success); }
.alert--error { display: block; background: #f8eaea; color: var(--danger); }
.alert--error ul { margin: 8px 0 0; padding-right: 20px; }

/* Legal and 404 */
.legal-hero { padding-block: 90px 70px; background: var(--sand-100); border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin-bottom: 10px; color: var(--navy-950); font-size: clamp(2.6rem,4vw,4.2rem); }
.legal-hero p { color: var(--muted); }
.legal-content { padding-top: 65px; }
.prose--legal { max-width: 800px; margin-inline: auto; }
.prose--legal h2 { margin: 45px 0 12px; color: var(--navy-950); font-size: 1.6rem; }
.not-found { min-height: 70vh; display: grid; place-items: center; padding-block: 80px; text-align: center; }
.not-found__content { max-width: 720px; }
.not-found__content > span { display: block; color: var(--teal-600); font-size: clamp(5rem,15vw,10rem); font-weight: 900; line-height: 1; opacity: .18; }
.not-found h1 { margin: -20px 0 16px; font-size: clamp(2.3rem,4vw,4rem); }
.not-found p { color: var(--muted); }
.not-found__content > div { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 30px; }

/* Footer */
.footer-cta { padding-block: 70px; background: var(--cream); }
.footer-cta__panel { position: relative; display: grid; grid-template-columns: 1.1fr .65fr; align-items: center; gap: 70px; overflow: hidden; padding: clamp(40px,6vw,76px); border-radius: var(--radius-lg); background: var(--navy-900); color: var(--white); }
.footer-cta__panel::after { content: ""; position: absolute; width: 330px; height: 330px; left: -150px; bottom: -230px; border: 60px solid rgba(121,210,204,.12); border-radius: 50%; }
.footer-cta h2 { margin-bottom: 14px; font-size: clamp(2.1rem,3.5vw,3.6rem); line-height: 1.52; }
.footer-cta p { margin: 0; color: #b9c8ce; }
.footer-cta__actions { position: relative; z-index: 1; display: grid; justify-items: start; gap: 20px; }
.site-footer { padding-top: 76px; background: var(--navy-950); color: #b7c4ca; }
.footer__grid { display: grid; grid-template-columns: 1.45fr repeat(3,1fr); gap: 60px; padding-bottom: 60px; }
.brand--footer .brand__mark { height: 56px; }
.brand--footer .brand__text strong { color: var(--white); }
.brand--footer .brand__text small { color: #82959f; }
.footer__brand p { max-width: 350px; margin: 24px 0; color: #90a2ab; font-size: .9rem; }
.social-links { display: flex; gap: 9px; direction: ltr; }
.social-links a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; color: #a8b8bf; font-size: .75rem; font-weight: 800; transition: .2s ease; }
.social-links a:hover { background: var(--teal-500); border-color: var(--teal-500); color: var(--navy-950); transform: translateY(-2px); }
.footer__title { margin: 7px 0 21px; color: var(--white); font-size: .98rem; }
.footer__links, .footer__contact { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: .86rem; }
.footer__links a:hover, .footer__contact a:hover { color: var(--teal-300); }
.footer__contact li { display: flex; align-items: center; gap: 9px; }
.footer__contact svg { width: 17px; height: 17px; color: var(--teal-300); }
.site-footer .text-link { margin-top: 18px; font-size: .8rem; }
.footer__bottom { display: flex; justify-content: center; gap: 20px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #718690; font-size: .74rem; text-align: center; }
.footer__bottom p { margin: 0; }
.back-to-top { position: fixed; z-index: 500; left: 22px; bottom: 22px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--navy-900); color: var(--white); box-shadow: var(--shadow-sm); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 19px; height: 19px; transform: rotate(-90deg); }

/* Motion */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
    :root { --header-height: 72px; }
    .header__cta { display: none; }
    .nav-toggle { display: grid; place-items: center; margin-right: auto; }
    .primary-nav {
        position: fixed; inset: var(--header-height) 0 auto; display: grid; align-content: start; gap: 0; margin: 0;
        height: calc(100svh - var(--header-height)); padding: 28px 20px; overflow-y: auto; background: var(--cream);
        visibility: hidden; opacity: 0; transform: translateY(-12px); transition: .25s var(--ease);
    }
    .primary-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
    .primary-nav > a, .nav-dropdown__toggle { width: 100%; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 1.1rem; text-align: right; }
    .primary-nav > a::after, .nav-dropdown__toggle::after { display: none; }
    .nav-dropdown__toggle svg { width: 17px; height: 17px; }
    .nav-dropdown__menu {
        position: static; width: 100%; max-height: 0; padding: 0 13px; border: 0; border-radius: 0; background: var(--sand-100);
        box-shadow: none; visibility: hidden; opacity: 0; overflow: hidden; transform: none; transition: max-height .3s ease, padding .3s ease, opacity .2s ease;
    }
    .nav-dropdown.is-open .nav-dropdown__menu { max-height: 420px; padding-block: 8px; visibility: visible; opacity: 1; }
    .nav-dropdown__menu a { padding: 12px 10px; border-bottom: 1px solid rgba(13,38,56,.08); border-radius: 0; font-size: .92rem; }
    .nav-dropdown__menu a:last-child { border-bottom: 0; }
    .primary-nav__mobile-cta { display: flex; align-items: center; justify-content: center !important; gap: 9px; margin-top: 18px; border: 0 !important; border-radius: 999px; background: var(--teal-600); color: var(--white) !important; }
    .primary-nav__mobile-cta svg { width: 18px; height: 18px; transform: rotate(180deg); }
    .nav-open .nav-toggle__open { display: none; }
    .nav-open .nav-toggle__close { display: block; }
    .hero__grid { grid-template-columns: 1fr; padding-top: 85px; }
    .hero__content { max-width: 770px; }
    .hero-visual { min-height: 470px; max-width: 670px; width: 100%; margin-inline: auto; }
    .section-heading--split { grid-template-columns: 1fr; gap: 20px; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: auto; }
    .service-card:last-child { grid-column: 1 / -1; }
    .approach__grid, .home-about__grid { grid-template-columns: 1fr; }
    .approach__visual { min-height: 500px; }
    .page-hero__grid, .service-hero__grid { grid-template-columns: 1fr; gap: 55px; }
    .page-hero__aside, .contact-quick, .service-hero__mark { max-width: 520px; }
    .service-hero__mark { width: 100%; min-height: 300px; margin-inline: auto; }
    .service-overview__grid, .service-includes__grid, .faq__grid, .about-story__grid, .ownership__panel, .contact-section__grid { grid-template-columns: 1fr; gap: 45px; }
    .service-includes__intro, .faq__intro, .contact-copy { position: static; }
    .home-about__copy { max-width: none; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .values-grid article:nth-child(2) { border-left: 0; }
    .values-grid article:nth-child(-n+2) { border-bottom: 1px solid #ccd6d5; }
    .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
    .footer__grid > :last-child { grid-column: 2 / 4; }
}

@media (max-width: 760px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .section { padding-block: 76px; }
    h1 { font-size: clamp(2.45rem,12vw,3.7rem); line-height: 1.43; }
    h2 { font-size: clamp(2rem,9vw,3rem); line-height: 1.42; }
    .site-header .brand__mark { height: 42px; }
    .hero { min-height: auto; }
    .hero__grid { padding-block: 72px 55px; gap: 45px; }
    .hero__actions { align-items: stretch; flex-direction: column; }
    .hero__actions .button { width: 100%; }
    .hero__proof { display: grid; gap: 10px; margin-top: 30px; }
    .hero-visual { min-height: 340px; }
    .browser-card { width: 96%; }
    .browser-card__canvas { min-height: 250px; padding: 15px; }
    .mini-hero { min-height: 120px; margin-top: 20px; padding: 18px; }
    .mini-grid span { height: 45px; }
    .floating-card { min-width: 145px; padding: 10px 12px; }
    .floating-card--top { right: -1%; top: 2%; }
    .floating-card--bottom { left: 0; bottom: 1%; }
    .value-strip__grid { grid-template-columns: 1fr; }
    .value-strip__grid > div { padding: 20px 4px; border-bottom: 1px solid var(--line); }
    .value-strip__grid > div::after { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card:last-child { grid-column: auto; }
    .service-card { min-height: 290px; padding: 25px; }
    .home-about__copy { padding-right: 20px; }
    .approach__visual { min-height: 410px; }
    .approach__rings { width: 320px; height: 320px; }
    .process__steps { grid-template-columns: 1fr; border-top: 0; }
    .process__steps li { min-height: auto; padding: 24px 0; border-top: 1px solid var(--line); border-left: 0; }
    .process__steps h3 { margin: 18px 0 8px; }
    .process__steps li::before { right: 0; }
    .page-hero, .service-hero { padding-block: 72px; }
    .page-hero h1, .service-hero h1 { font-size: clamp(2.45rem,12vw,3.6rem); }
    .back-link { margin-bottom: 24px; }
    .service-row { grid-template-columns: 38px 52px 1fr; gap: 13px; padding: 28px 0; }
    .service-row__icon { width: 48px; height: 48px; }
    .service-row__content { grid-column: 3; }
    .service-row__link { display: none; }
    .service-row h2 { font-size: 1.45rem; }
    .service-row p { font-size: .88rem; }
    .scope-note__grid, .deliverables__panel, .footer-cta__panel { grid-template-columns: 1fr; gap: 35px; }
    .service-hero__mark { min-height: 250px; }
    .service-hero__mark::before { width: 245px; height: 245px; }
    .service-hero__mark::after { width: 175px; height: 175px; }
    .service-hero__actions { align-items: stretch; flex-direction: column; }
    .service-hero__actions .button { width: 100%; }
    .benefits-grid { grid-template-columns: 1fr; }
    .lead-copy p { padding-right: 18px; }
    .deliverables ul { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .values-grid article { border-left: 0; border-bottom: 1px solid #ccd6d5; }
    .values-grid article:last-child { border-bottom: 0; }
    .form-grid { grid-template-columns: 1fr; }
    .field--full { grid-column: auto; }
    .form-wrap { padding: 24px 18px; border-radius: 22px; }
    .form-actions { align-items: stretch; flex-direction: column; }
    .form-actions .button { width: 100%; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 44px 28px; }
    .footer__brand { grid-column: 1 / -1; }
    .footer__grid > :last-child { grid-column: 1 / -1; }
    .footer__bottom { align-items: center; flex-direction: column; text-align: center; }
    .not-found__content > div { align-items: stretch; flex-direction: column; }
}

@media (max-width: 460px) {
    .footer__grid { grid-template-columns: 1fr; }
    .footer__brand, .footer__grid > :last-child { grid-column: auto; }
    .approach__tag--one { left: 3%; }
    .approach__tag--two { right: 3%; }
}

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