:root {
  --navy: #0b1220;
  --navy-deep: #070d18;
  --navy-soft: #111c2e;
  --green: #6ee63f;
  --green-strong: #1db954;
  --green-on-light: #137a3a;
  --white: #ffffff;
  --off-white: #f4f7f2;
  --ink: #101827;
  --muted: #647084;
  --line: rgba(11, 18, 32, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --max-width: 1240px;
  --shadow: 0 24px 70px rgba(2, 8, 18, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { width: 100%; max-width: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { width: 100%; max-width: 100%; margin: 0; color: var(--ink); background: var(--off-white); font-family: "Tajawal", Arial, sans-serif; font-size: 16px; line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, summary, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.skip-link { position: fixed; top: 12px; right: 12px; z-index: 1000; padding: 12px 18px; border-radius: 10px; color: var(--navy); background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.section-inner { width: min(calc(100% - 48px), var(--max-width)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 100; min-height: 84px; display: flex; align-items: center; color: var(--white); background: rgba(11, 18, 32, 0.97); border-bottom: 1px solid var(--line-dark); }
.nav-shell { width: min(calc(100% - 48px), var(--max-width)); min-height: 84px; margin-inline: auto; display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 32px; }
.nav-shell > * { min-width: 0; }
.brand { width: 210px; display: block; }
.brand-logo { width: 100%; height: auto; }
.brand-icon { display: none; }
.desktop-nav { display: flex; justify-content: center; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.desktop-nav a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: #dce5ef; font-weight: 600; transition: color 180ms ease; }
.desktop-nav a:hover { color: var(--green); }
.header-cta, .mobile-cta { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border: 1px solid var(--green); border-radius: 12px; color: var(--navy); background: var(--green); font-weight: 800; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.header-cta:hover, .mobile-cta:hover { background: var(--white); transform: translateY(-1px); }
.mobile-menu { display: none; position: relative; }

.hero { position: relative; overflow: hidden; padding: 72px 0 64px; color: var(--white); background-color: var(--navy); background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 40px 40px; }
.hero::before { content: ""; position: absolute; z-index: 0; width: min(62vw, 820px); aspect-ratio: 1; inset: 50% -12% auto auto; border-radius: 50%; background: radial-gradient(circle, rgba(110, 230, 63, .13) 0, rgba(37, 107, 76, .08) 30%, transparent 68%); transform: translateY(-50%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,18,32,.16), rgba(11,18,32,.72) 75%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, .92fr); align-items: center; gap: clamp(40px, 5vw, 72px); }
.hero-copy, .project-window, .featured-visual, .featured-content, .why-header, .why-cards { min-width: 0; }
.eyebrow { margin: 0 0 14px; color: var(--green-on-light); font-size: 0.9rem; font-weight: 800; letter-spacing: 0.04em; }
.hero .eyebrow { color: #c9d4df; }
.portfolio-section .eyebrow { color: var(--green); }
.hero h1 { max-width: 690px; margin: 0; font-family: "Alexandria", "Tajawal", sans-serif; font-size: clamp(2.55rem, 3.6vw, 3.3rem); font-weight: 700; line-height: 1.28; letter-spacing: -0.025em; text-wrap: balance; }
.hero h1 span { color: #78d957; }
.hero-text { max-width: 610px; margin: 20px 0 0; color: #c4cfdb; font-size: 1.08rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--navy); background: var(--green); border-color: var(--green); box-shadow: 0 10px 28px rgba(110, 230, 63, .16); }
.button-primary:hover { background: var(--white); border-color: var(--white); }
.button-secondary { color: #d7e0e9; background: rgba(255,255,255,.025); border-color: rgba(255, 255, 255, 0.22); font-weight: 700; }
.button-secondary:hover { border-color: var(--green); color: var(--green); }
.hero-note { display: flex; align-items: flex-start; gap: 10px; max-width: 560px; margin: 20px 0 0; color: #a9b6c6; font-size: 0.9rem; }
.hero-note span { flex: 0 0 auto; width: 6px; height: 6px; margin-top: .65em; border-radius: 50%; background: #9cabbc; }
.project-window { position: relative; overflow: hidden; display: block; padding: 8px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 24px; background: rgba(17, 28, 46, .82); box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255,255,255,.035) inset; transform: translateY(0); transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease; }
.project-window:hover { transform: translateY(-4px); border-color: rgba(110, 230, 63, 0.36); box-shadow: 0 34px 90px rgba(0,0,0,.44), 0 0 42px rgba(110,230,63,.06); }
.window-bar { min-height: 38px; display: flex; direction: ltr; align-items: center; gap: 7px; padding: 0 12px; border-radius: 15px 15px 0 0; background: #121b29; border-bottom: 1px solid var(--line-dark); }
.window-bar span { width: 9px; height: 9px; border-radius: 50%; background: #536174; }
.window-bar span:first-child { background: var(--green); }
.window-bar small { min-width: 0; overflow: hidden; margin-left: 10px; color: #8492a6; font-size: 0.7rem; text-overflow: ellipsis; white-space: nowrap; }
.project-window > img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 1.48 / 1; object-fit: cover; object-position: top; border-radius: 0 0 15px 15px; }
.preview-label { position: absolute; right: 18px; bottom: 18px; padding: 10px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: rgba(11,18,32,.9); color: #b8c4d3; font-size: .75rem; }
.preview-label strong { display: block; color: var(--white); font-size: .92rem; }

.trust-strip { color: var(--white); background: var(--navy-deep); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { min-height: 116px; display: grid; grid-template-columns: auto 1fr; align-content: center; column-gap: 14px; padding: 20px 24px; border-inline-start: 1px solid var(--line-dark); }
.trust-grid > div:last-child { border-inline-end: 1px solid var(--line-dark); }
.trust-grid span { grid-row: span 2; color: var(--green); font-size: .75rem; font-weight: 800; }
.trust-grid strong { font-size: 1rem; }
.trust-grid small { color: #8492a6; }

.section { padding: 112px 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr); align-items: end; gap: 48px; margin-bottom: 48px; }
.section-heading h2, .why-copy h2, .contact h2 { max-width: 720px; margin: 0; color: var(--navy); font-family: "Alexandria", "Tajawal", sans-serif; font-size: clamp(2.35rem, 4vw, 3.75rem); font-weight: 700; line-height: 1.22; letter-spacing: -0.025em; }

@keyframes hero-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero-copy > * { animation: hero-enter 420ms both ease-out; }
.hero-copy > :nth-child(2) { animation-delay: 50ms; }
.hero-copy > :nth-child(3) { animation-delay: 90ms; }
.hero-copy > :nth-child(4) { animation-delay: 130ms; }
.hero-copy > :nth-child(5) { animation-delay: 170ms; }
.project-window { animation: hero-enter 480ms 160ms both ease-out; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); }
.services { background: var(--off-white); }
.services .section-heading { width: min(100%, 1040px); grid-template-columns: minmax(0, 1.1fr) minmax(300px, .8fr); gap: 28px; margin-inline-end: auto; margin-bottom: 40px; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; align-items: stretch; gap: 16px; }
.service-card { min-width: 0; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); outline: 0; transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease; }
.service-card:hover { transform: translateY(-3px); border-color: rgba(29, 185, 84, .36); box-shadow: 0 18px 48px rgba(11, 18, 32, .075); }
.service-card:focus-visible { border-color: var(--green-strong); box-shadow: 0 0 0 3px rgba(29, 185, 84, .18), 0 18px 48px rgba(11, 18, 32, .075); }
.service-card-top { min-height: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-number { color: var(--green-on-light); font-size: .875rem; font-weight: 800; }
.service-badge { padding: 4px 9px; border: 1px solid rgba(29, 185, 84, .24); border-radius: 999px; color: #176b39; background: rgba(110, 230, 63, .08); font-size: .7rem; font-weight: 700; white-space: nowrap; }
.service-card h3 { margin: 24px 0 10px; color: var(--navy); font-size: 1.25rem; line-height: 1.45; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.75; }
.service-card ul { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.service-card li { position: relative; padding-inline-start: 18px; color: #334155; font-size: .86rem; line-height: 1.55; }
.service-card li::before { content: ""; position: absolute; top: .7em; inset-inline-start: 0; width: 6px; height: 6px; border-radius: 50%; background: #7f8d9d; transform: translateY(-50%); }

.portfolio-section { color: var(--white); background: var(--navy); }
.section-heading-light h2 { color: var(--white); }
.section-heading-light > p { color: #9aa9bc; }
.portfolio-section .section-heading { gap: 32px; }
.portfolio-grid { display: grid; gap: 64px; }
.project-card { position: relative; min-width: 0; display: grid; direction: ltr; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); grid-template-areas: "visual content"; align-items: center; gap: clamp(32px, 4vw, 64px); padding-block: 32px; border-top: 1px solid rgba(255, 255, 255, .075); }
.project-card:last-child { border-bottom: 1px solid rgba(255, 255, 255, .075); }
.project-card-reverse { grid-template-columns: minmax(300px, .75fr) minmax(0, 1.45fr); grid-template-areas: "content visual"; }
.project-card:hover .project-visual, .project-card:focus-within .project-visual { border-color: rgba(110, 230, 63, .34); box-shadow: 0 24px 64px rgba(0, 0, 0, .24); }
.project-visual { position: static; overflow: hidden; grid-area: visual; display: block; aspect-ratio: 8 / 5; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--navy-deep); box-shadow: 0 16px 44px rgba(0, 0, 0, .16); transition: border-color 200ms ease, box-shadow 200ms ease; }
.project-visual::after { position: absolute; z-index: 1; inset: 0; content: ""; }
.project-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 260ms ease, opacity 200ms ease; }
.project-card-reverse .project-visual { background: #071426; }
.project-card-reverse .project-visual img { opacity: .9; filter: saturate(.9) contrast(.96); }
.project-visual:hover img { transform: scale(1.018); }
.project-visual:focus-visible, .project-link:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.project-card-body { min-width: 0; grid-area: content; display: flex; direction: rtl; flex-direction: column; padding-block: 16px; }
.project-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.project-category, .project-status { width: fit-content; padding: 5px 10px; border-radius: 999px; font-size: .875rem; font-weight: 700; line-height: 1.4; }
.project-category { color: var(--green); background: rgba(110, 230, 63, .08); border: 1px solid rgba(110, 230, 63, .2); }
.project-status { color: #aab7c7; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); }
.project-card h3 { margin: 20px 0 12px; font-family: "Alexandria", "Tajawal", sans-serif; font-size: clamp(1.8rem, 2.5vw, 2.45rem); line-height: 1.3; }
.project-card-description { margin: 0; color: #aab7c7; line-height: 1.75; }
.project-outcomes { display: grid; gap: 10px; margin: 24px 0 28px; padding: 0; list-style: none; }
.project-outcomes li { position: relative; padding-inline-start: 20px; color: #c7d1dc; font-size: .9rem; }
.project-outcomes li::before { position: absolute; inset-inline-start: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); content: ""; }
.project-link { position: relative; z-index: 2; width: fit-content; min-height: 44px; display: inline-flex; align-items: center; gap: 9px; margin-top: auto; color: var(--green); font-weight: 800; transition: color 180ms ease; }
.project-link:hover { color: var(--white); }
.portfolio-note { max-width: 680px; margin: 28px auto 0; color: #aab7c7; text-align: center; line-height: 1.7; }

.process { background: var(--white); }
.compact-heading { grid-template-columns: 1fr; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-grid li { min-width: 0; display: flex; flex-direction: column; padding: 30px 26px 28px; border-inline-start: 1px solid var(--line); }
.process-grid li:last-child { border-inline-end: 1px solid var(--line); }
.process-number { color: var(--green-on-light); font-size: .875rem; font-weight: 800; }
.process-grid h3 { margin: 28px 0 10px; font-size: 1.25rem; }
.process-grid p { margin: 0; color: var(--muted); font-size: .92rem; }
.process-grid .process-outcome { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); line-height: 1.65; }
.process-outcome strong { color: var(--green-on-light); }
.process-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 40px; padding: 28px 32px; border-radius: var(--radius); background: var(--off-white); }
.process-cta p { max-width: 620px; margin: 0; color: var(--muted); }
.process-cta .button { flex: 0 0 auto; }

.why-us { background: #e9efe9; }
.why-header { max-width: 850px; margin-bottom: 48px; }
.why-header h2 { max-width: 760px; margin: 0; color: var(--navy); font-family: "Alexandria", "Tajawal", sans-serif; font-size: clamp(2.35rem, 4vw, 3.75rem); font-weight: 700; line-height: 1.22; letter-spacing: -0.025em; text-wrap: balance; }
.why-intro { max-width: 780px; margin: 20px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.why-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
.why-card { min-width: 0; height: 100%; padding: 26px; border: 1px solid rgba(11, 18, 32, .1); border-radius: var(--radius); background: rgba(255, 255, 255, .62); transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease; }
.why-card:hover { border-color: rgba(29, 185, 84, .28); box-shadow: 0 14px 36px rgba(11, 18, 32, .055); transform: translateY(-2px); }
.why-card-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(29, 185, 84, .22); border-radius: 12px; color: var(--green-on-light); background: rgba(110, 230, 63, .07); }
.why-card-icon svg { display: block; }
.why-card h3 { margin: 22px 0 10px; color: var(--navy); font-size: 1.18rem; line-height: 1.45; }
.why-card p { margin: 0; color: var(--muted); line-height: 1.75; }
.why-action { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(11, 18, 32, .12); }
.why-closing { max-width: 720px; margin: 0; color: var(--ink); font-size: 1.02rem; line-height: 1.75; }
.why-action .button { flex: 0 0 auto; }

.contact { background: var(--off-white); }
.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(440px, 1fr); align-items: start; gap: clamp(48px, 6vw, 88px); padding: clamp(40px, 5vw, 64px); border-radius: var(--radius-lg); color: var(--white); background: var(--navy); }
.contact-copy { min-width: 0; padding-top: 8px; }
.contact h2 { max-width: 620px; margin: 0; color: var(--white); font-size: clamp(2.2rem, 4vw, 3.5rem); text-wrap: balance; }
.contact-intro { max-width: 600px; margin: 20px 0 0; color: #b8c4d3; font-size: 1.05rem; line-height: 1.8; }
.contact-reassurance { display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.contact-reassurance li { position: relative; padding-inline-start: 26px; color: #d5dee8; }
.contact-reassurance li::before { position: absolute; inset-inline-start: 0; top: .55em; width: 9px; height: 9px; border: 2px solid var(--green); border-radius: 50%; content: ""; }
.contact-form { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 28px; border: 1px solid rgba(255, 255, 255, .11); border-radius: var(--radius); background: rgba(255, 255, 255, .055); }
.form-field { min-width: 0; display: grid; gap: 8px; }
.form-field-wide, .form-submit, .form-reassurance, .contact-email, .form-status { grid-column: 1 / -1; }
.form-field label { color: #e5ebf1; font-size: .92rem; font-weight: 700; }
.field-help { display: block; margin-top: -2px; color: #aebaca; font-size: .875rem; line-height: 1.55; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; color: var(--white); background: #152136; font: inherit; line-height: 1.5; transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
.form-field textarea { min-height: 132px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #8f9caf; opacity: 1; }
.form-field select { cursor: pointer; }
.form-field select option { color: var(--ink); background: var(--white); }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: rgba(255, 255, 255, .32); }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-color: var(--green); box-shadow: 0 0 0 4px rgba(110, 230, 63, .1); }
.contact-form.was-validated .form-field input:invalid, .contact-form.was-validated .form-field select:invalid, .contact-form.was-validated .form-field textarea:invalid { border-color: #f1a6a6; }
.form-submit { width: 100%; min-height: 52px; margin-top: 4px; }
.form-reassurance { margin: -4px 0 0; color: #aebaca; font-size: .86rem; line-height: 1.65; }
.contact-email { margin: 0; color: #aebaca; font-size: .9rem; }
.contact-email a { min-height: 44px; display: inline-flex; align-items: center; color: var(--green); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.contact-email a:hover { color: var(--white); }
.form-status { margin: 0; color: #dce6ef; font-size: .88rem; }
.form-status:empty { display: none; }

.site-footer { color: #94a2b5; background: var(--navy-deep); border-top: 1px solid var(--line-dark); }
.footer-main { display: grid; grid-template-columns: minmax(260px, 1.35fr) minmax(150px, .7fr) minmax(170px, .7fr); align-items: start; gap: clamp(40px, 6vw, 88px); padding-block: 56px; }
.footer-brand-group { min-width: 0; }
.footer-brand { width: 180px; }
.footer-brand img { width: 100%; height: auto; }
.footer-description { max-width: 390px; margin: 18px 0 0; line-height: 1.75; }
.footer-group-title { margin: 0 0 14px; color: var(--white); font-family: "Tajawal", Arial, sans-serif; font-size: 1rem; line-height: 1.5; }
.footer-links { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.footer-links a { min-width: 44px; min-height: 44px; width: fit-content; display: inline-flex; align-items: center; justify-content: center; color: #aeb9c8; transition: color 180ms ease; }
.footer-links a:hover { color: var(--green); }
.footer-links a:focus-visible, .footer-brand:focus-visible { color: var(--white); outline: 3px solid var(--green); outline-offset: 4px; }
.footer-bottom { border-top: 1px solid var(--line-dark); }
.footer-bottom .section-inner { min-height: 64px; display: flex; align-items: center; }
.copyright { margin: 0; color: #7f8da0; font-size: .85rem; }

@media (max-width: 1100px) {
  .nav-shell { grid-template-columns: 185px 1fr auto; gap: 20px; }
  .brand { width: 180px; }
  .desktop-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .hero h1 { font-size: 2.65rem; }
}

@media (min-width: 901px) {
  .portfolio-section .section-heading h2 { font-size: clamp(2.2rem, 3.75vw, 3.5rem); }
}

@media (max-width: 1199px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 84px; }
  .site-header, .nav-shell { min-height: 84px; }
  .nav-shell { grid-template-columns: 175px 1fr auto; }
  .brand { width: 170px; }
  .desktop-nav { display: none; }
  .header-cta { justify-self: end; }
  .mobile-menu { display: block; }
  .mobile-menu summary { width: 48px; height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line-dark); border-radius: 10px; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 20px; height: 2px; background: var(--white); transition: transform 180ms ease, opacity 180ms ease; }
  .mobile-menu[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-menu[open] summary span:nth-child(2) { opacity: 0; }
  .mobile-menu[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu-panel { position: absolute; z-index: 20; top: 60px; inset-inline-end: 0; width: min(320px, calc(100vw - 48px)); max-width: calc(100vw - 48px); display: grid; padding: 14px; border: 1px solid var(--line-dark); border-radius: 14px; background: var(--navy-soft); box-shadow: var(--shadow); }
  .mobile-menu-panel > a { min-height: 48px; display: flex; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line-dark); }
  .mobile-menu-panel .mobile-cta { margin-top: 10px; border-bottom: 0; }
  .hero { padding: 44px 0 52px; }
  .hero::before { width: 760px; inset: auto 50% -36% auto; transform: translateX(50%); }
  .hero::after { background: rgba(11,18,32,.38); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-copy { max-width: 680px; }
  .project-window { max-width: 720px; transform: none; }
  .project-window > img { aspect-ratio: 16 / 10; object-fit: contain; object-position: center top; background: #fbf7ed; }
  .portfolio-grid { gap: 40px; }
  .project-card, .project-card-reverse { direction: rtl; grid-template-columns: minmax(0, 1fr); grid-template-areas: "visual" "content"; gap: 24px; padding-block: 28px; }
  .project-card-body { padding-block: 0 8px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid li { border-bottom: 1px solid var(--line); }
  .process-cta { align-items: flex-start; flex-direction: column; }
  .why-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; padding: 48px; }
}

@media (max-width: 767px) {
  .services .section-heading { width: 100%; grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 44px; padding: 22px; }
  .service-card h3 { margin: 16px 0 8px; }
  .service-card p { line-height: 1.7; }
  .service-card ul { gap: 8px; margin-top: 18px; }
  .portfolio-grid { gap: 24px; }
  .project-card h3 { font-size: 1.55rem; }
  .project-outcomes { gap: 8px; margin: 22px 0 16px; }
  .why-header { margin-bottom: 32px; }
  .why-cards { grid-template-columns: 1fr; }
  .why-card { padding: 24px; }
  .why-action { align-items: flex-start; flex-direction: column; gap: 22px; margin-top: 28px; }
}

@media (max-width: 640px) {
  .section-inner, .nav-shell { width: min(calc(100% - 40px), var(--max-width)); }
  html { scroll-padding-top: 72px; }
  .site-header, .nav-shell { min-height: 64px; }
  .nav-shell { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
  .brand { width: 44px; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .brand-logo { position: absolute; width: 0; height: 0; display: none; }
  .brand-icon { display: block; width: 36px; height: 44px; object-fit: contain; }
  .header-cta { min-height: 44px; padding: 8px 12px; font-size: .8rem; }
  .mobile-menu summary { width: 44px; height: 44px; }
  .header-cta { justify-self: center; white-space: nowrap; }
  .mobile-menu-panel { top: 54px; inset-inline-end: 0; width: calc(100vw - 40px); max-width: calc(100vw - 40px); }
  .hero { padding: 36px 0 44px; }
  .hero-copy { width: 100%; max-width: 100%; }
  .hero h1 { max-width: 100%; overflow-wrap: break-word; font-size: clamp(2rem, 9.3vw, 2.25rem); line-height: 1.35; letter-spacing: -0.02em; }
  .hero-text, .hero-note { min-width: 0; max-width: 100%; overflow-wrap: break-word; }
  .hero-text { margin-top: 16px; font-size: 1rem; line-height: 1.7; }
  .hero-note { color: #b3bfcc; }
  .hero-actions { margin-top: 22px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .project-window { padding: 5px; border-radius: 18px; }
  .project-window > img { aspect-ratio: 16 / 9; }
  .preview-label { right: 10px; bottom: 10px; padding: 8px 10px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { min-height: 92px; border-inline-end: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
  .section { padding: 72px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
  .section-heading h2, .why-header h2, .contact h2 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: 0; padding: 26px 22px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .process-grid h3 { margin-top: 20px; }
  .process-grid .process-outcome { margin-top: 18px; padding-top: 14px; }
  .process-cta { gap: 20px; margin-top: 28px; padding: 24px 20px; }
  .contact-layout { padding: 32px 24px; }
  .contact-form { grid-template-columns: 1fr; padding: 22px 18px; }
  .form-field-wide, .form-submit, .form-reassurance, .contact-email, .form-status { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; padding-block: 44px; }
  .footer-description { max-width: 420px; }
  .footer-bottom .section-inner { min-height: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .project-window, .service-card, .why-card, .button { transform: none !important; }
  .hero-copy > *, .project-window { animation: none !important; }
  .project-visual img { transform: none !important; }
}
