:root {
  --ink: #111725;
  --muted: #626b7b;
  --line: #dfe3e9;
  --soft: #f5f7fa;
  --warm: #fbfaf7;
  --blue: #0b63f6;
  --blue-dark: #0848b8;
  --navy: #0a1221;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(17, 23, 37, 0.09);
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--warm);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(11, 99, 246, .34);
  outline-offset: 3px;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}
h1 { font-size: clamp(3.2rem, 7.6vw, 7.3rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 4.35rem); }
h3 { font-size: 1.15rem; line-height: 1.3; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow { max-width: 860px; }
.sr-only {
  position: absolute; 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: 1000; top: 10px; left: 10px; transform: translateY(-150%);
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 9px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; z-index: 100; top: 0;
  background: rgba(251, 250, 247, .92); border-bottom: 1px solid rgba(17, 23, 37, .08);
  backdrop-filter: blur(18px);
}
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 1.23rem; font-weight: 800; letter-spacing: -.035em; }
.brand > span:first-child { width: 11px; height: 11px; border-radius: 3px; background: var(--blue); }
.brand span:last-child { color: var(--blue); }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav a { position: relative; text-decoration: none; font-size: .94rem; font-weight: 700; }
.primary-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: -8px; background: var(--blue); transition: right .18s ease;
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { right: 0; }
.nav-cta { color: var(--white); background: var(--blue); padding: 11px 17px; border-radius: 10px; }
.nav-cta:hover { background: var(--blue-dark); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 9px; }
.menu-toggle i { display: block; width: 24px; height: 2px; margin: 5px; background: var(--ink); transition: .2s ease; }

.hero { overflow: hidden; padding-top: clamp(70px, 10vw, 135px); }
.hero-copy { max-width: 1000px; text-align: center; }
.hero h1 { max-width: 1000px; margin: 24px auto 28px; }
.hero-lead { max-width: 790px; margin-inline: auto; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.status-pill {
  display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .88rem; font-weight: 700;
}
.status-pill span { width: 8px; height: 8px; border-radius: 50%; background: #19a961; box-shadow: 0 0 0 4px rgba(25, 169, 97, .1); }
.button-row { display: flex; align-items: center; justify-content: flex-start; gap: 12px; flex-wrap: wrap; }
.hero .button-row { justify-content: center; margin-top: 36px; }
.button {
  display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 21px; border: 1px solid var(--blue); border-radius: 12px; background: var(--blue); color: var(--white);
  text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--blue-dark); border-color: var(--blue-dark); }
.button-secondary { color: var(--ink); background: transparent; border-color: #cfd4dc; }
.button-secondary:hover { color: var(--white); }
.button-small { min-height: 40px; padding: 9px 14px; font-size: .9rem; }
.button-light { color: var(--ink); background: var(--white); border-color: var(--white); }
.button-light:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }
.button-ghost-light { color: var(--white); background: transparent; border-color: rgba(255,255,255,.5); }
.button-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.text-link { color: var(--blue); font-weight: 800; text-decoration: none; }
.text-link span { display: inline-block; transition: transform .18s ease; }
.text-link:hover span { transform: translateX(4px); }

.comparison { margin-top: clamp(55px, 8vw, 95px); }
.comparison-stage { --position: 52%; position: relative; overflow: hidden; min-height: 420px; aspect-ratio: 16 / 8.7; border-radius: 28px 28px 0 0; background: #dbe4f0; }
.comparison-stage > img, .comparison-before img { width: 100%; height: 100%; object-fit: cover; }
.comparison-before { position: absolute; inset: 0; width: var(--position); overflow: hidden; }
.comparison-before img { width: calc(100vw - 40px); max-width: 1180px; object-position: left center; }
.comparison-stage input { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.compare-handle { position: absolute; z-index: 4; top: 0; bottom: 0; left: var(--position); width: 3px; transform: translateX(-50%); background: var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,.1); }
.compare-handle::after { content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--ink); font-weight: 800; box-shadow: var(--shadow); }
.compare-label { position: absolute; z-index: 3; bottom: 22px; padding: 7px 11px; border-radius: 7px; color: var(--white); background: rgba(10,18,33,.7); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.compare-label.before { left: 22px; } .compare-label.after { right: 22px; }
.trust-strip { background: var(--navy); color: var(--white); }
.trust-strip .shell { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-block: 19px; text-align: center; font-size: .82rem; font-weight: 750; }
.trust-strip span + span { border-left: 1px solid rgba(255,255,255,.18); }

.section { padding-block: clamp(75px, 10vw, 130px); }
.section-tint { background: var(--soft); }
.section-dark { background: var(--navy); color: var(--white); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .52fr); gap: 45px; align-items: end; margin-bottom: 50px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -18px; }
.section-heading h2 { margin: 0; }
.section-heading > p:last-child { margin: 0; color: var(--muted); }
.eyebrow { color: var(--blue); font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.section-action { margin-top: 42px; text-align: center; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 7px 28px rgba(17,23,37,.04); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { position: relative; display: block; aspect-ratio: 1.25; overflow: hidden; background: var(--soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-card:hover .card-media img { transform: scale(1.035); }
.card-media > span { position: absolute; top: 14px; left: 14px; padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: .72rem; font-weight: 800; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.card-body h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.card-body h3 a { text-decoration: none; }
.card-body > p { min-height: 76px; color: var(--muted); }
.price-row { display: flex; align-items: baseline; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.price-row span { color: var(--muted); font-size: .82rem; }
.price-row strong { font-size: 1.8rem; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }

.portfolio-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.portfolio-card { position: relative; overflow: hidden; min-height: 360px; grid-column: span 4; border-radius: var(--radius); background: var(--navy); color: var(--white); text-decoration: none; }
.portfolio-card:nth-child(1), .portfolio-card:nth-child(5) { grid-column: span 8; }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .4s ease, opacity .4s ease; }
.portfolio-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 26%, rgba(6,12,23,.88)); }
.portfolio-card:hover img { transform: scale(1.04); opacity: 1; }
.portfolio-overlay { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; display: flex; flex-direction: column; align-items: flex-start; }
.portfolio-overlay > span { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.portfolio-overlay strong { margin-top: 5px; font: 600 clamp(1.35rem, 2.3vw, 2rem)/1.1 Georgia, serif; }
.portfolio-overlay small { margin-top: 7px; max-width: 520px; color: rgba(255,255,255,.8); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { position: relative; padding: 32px 30px 0 0; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: -4px; right: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.steps span { color: var(--blue); font-weight: 850; }
.steps h3 { margin-top: 18px; }
.steps p { color: var(--muted); }
.split-feature { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(50px, 9vw, 120px); align-items: start; }
.split-feature > div:first-child { position: sticky; top: 120px; }
.split-feature > div:first-child > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.feature-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature-list article { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.feature-list article > span { color: var(--blue); font-weight: 850; }
.feature-list h3 { margin-bottom: 7px; }
.feature-list p { margin: 0; color: var(--muted); }
.pricing-callout { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(60px, 10vw, 130px); align-items: center; }
.pricing-callout > div:first-child p:last-child { color: #aeb9c9; max-width: 640px; }
.price-feature { padding: 40px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.06); }
.price-feature span, .price-feature small { display: block; color: #aeb9c9; }
.price-feature strong { display: block; margin: 8px 0; font: 600 5.5rem/1 Georgia, serif; }
.price-feature .button { margin-top: 26px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; list-style: none; cursor: pointer; font-weight: 800; font-size: 1.05rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--blue); font-size: 1.35rem; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 780px; padding: 0 0 25px; margin: 0; color: var(--muted); }
.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 45px; padding: clamp(36px, 6vw, 68px); border-radius: 28px; color: var(--white); background: linear-gradient(130deg, var(--blue-dark), var(--blue)); }
.cta-panel h2 { max-width: 760px; margin-bottom: 12px; }
.cta-panel p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.8); }
.cta-panel .eyebrow { color: #bcd4ff; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 32px; color: var(--muted); font-size: .83rem; }
.breadcrumbs a { text-decoration: none; }
.page-hero { max-width: 990px; padding-top: clamp(75px, 10vw, 130px); padding-bottom: clamp(55px, 7vw, 90px); text-align: center; }
.page-hero h1 { font-size: clamp(3.2rem, 7vw, 6.5rem); margin: 14px 0 24px; }
.page-hero > p:last-child { max-width: 780px; margin-inline: auto; color: var(--muted); font-size: 1.16rem; }
.detail-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 90px); align-items: center; padding-block: clamp(70px, 9vw, 120px); }
.detail-hero h1 { font-size: clamp(3.1rem, 6.5vw, 6.1rem); margin: 15px 0 24px; }
.detail-hero > div > p:not(.eyebrow) { color: var(--muted); font-size: 1.12rem; }
.detail-hero .button-row { margin-top: 30px; }
.detail-hero > img { width: 100%; aspect-ratio: .95; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.detail-grid { display: grid; grid-template-columns: 1fr .72fr; gap: clamp(45px, 8vw, 100px); }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 20px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 27px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }
.service-facts { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.service-facts div { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.service-facts span { color: var(--muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.service-facts strong { line-height: 1.4; }
.service-facts p { margin: 20px 0 0; color: var(--muted); font-size: .9rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { overflow: hidden; aspect-ratio: 1.18; padding: 0; border: 0; border-radius: 15px; background: #e9edf2; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-full .gallery-item:nth-child(7n + 1) { grid-column: span 2; aspect-ratio: 1.65; }
.lightbox { width: min(1100px, calc(100% - 28px)); max-width: none; height: min(800px, calc(100% - 28px)); max-height: none; padding: 0; border: 0; border-radius: 20px; background: #060b14; color: var(--white); }
.lightbox::backdrop { background: rgba(3, 7, 13, .88); backdrop-filter: blur(8px); }
.lightbox[open] { display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; }
.lightbox figure { display: grid; place-items: center; margin: 0; height: 100%; min-height: 0; }
.lightbox figure img { max-width: 100%; max-height: calc(100% - 62px); object-fit: contain; }
.lightbox figcaption { padding: 13px; color: #b9c2d0; font-size: .85rem; }
.lightbox button { border: 0; background: transparent; color: var(--white); cursor: pointer; font-size: 1.7rem; }
.lightbox-close { position: absolute; z-index: 2; top: 12px; right: 16px; width: 44px; height: 44px; border-radius: 50% !important; background: rgba(255,255,255,.1) !important; }
.lightbox-prev, .lightbox-next { height: 100%; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.pricing-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.pricing-table caption { padding: 22px; text-align: left; font-weight: 800; }
.pricing-table th, .pricing-table td { padding: 20px 22px; border-top: 1px solid var(--line); text-align: left; }
.pricing-table thead th { background: var(--soft); color: var(--muted); font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; }
.pricing-table tbody th a { text-decoration: none; }
.fine-print { margin: 22px 0 0; color: var(--muted); }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier-grid article { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.tier-grid span { color: var(--blue); font-weight: 850; }
.tier-grid h2 { margin: 16px 0; font-size: 2rem; }
.tier-grid p { color: var(--muted); }

.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(45px, 8vw, 90px); align-items: start; }
.project-form { display: grid; gap: 21px; padding: clamp(25px, 5vw, 45px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; }
.field label { font-weight: 800; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid #cbd1da; border-radius: 10px; background: var(--white); color: var(--ink); padding: 13px 14px;
}
.field textarea { resize: vertical; }
.field small { color: var(--muted); }
.field-error { color: #bb2533; font-size: .83rem; min-height: 1px; }
.field [aria-invalid="true"] { border-color: #bb2533; box-shadow: 0 0 0 3px rgba(187,37,51,.1); }
.check-field { grid-template-columns: 20px 1fr; align-items: start; }
.check-field input { width: 18px; height: 18px; margin-top: 4px; }
.check-field .field-error { grid-column: 2; }
.form-note { margin: -5px 0 0; color: var(--muted); font-size: .86rem; }
.form-status { display: none; padding: 13px 15px; border-radius: 9px; }
.form-status.is-error { display: block; color: #8f1c2a; background: #fff0f2; }
.form-status.is-success { display: block; color: #0b6b3a; background: #eaf8f0; }
.form-aside { position: sticky; top: 115px; padding: 30px; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.form-aside h2 { font-size: 2rem; }
.form-aside ol { padding-left: 22px; }
.form-aside li { margin-bottom: 13px; color: #c1cad8; }
.form-aside .text-link { color: #8ab5ff; }
.honeypot { position: absolute; left: -9999px; }

.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.profile-grid a { display: grid; gap: 9px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.profile-grid a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.profile-grid strong { font: 600 1.8rem/1.2 Georgia, serif; }
.profile-grid span { color: var(--blue); font-weight: 750; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 95px); align-items: start; }
.contact-options { display: grid; gap: 15px; }
.contact-options a { display: grid; gap: 5px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); text-decoration: none; }
.contact-options span { color: var(--blue); font-size: .76rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.contact-options strong { font-size: 1.08rem; overflow-wrap: anywhere; }
.contact-options small { color: var(--muted); }
.legal { max-width: 850px; }
.legal h2 { margin: 48px 0 14px; font-size: 2rem; letter-spacing: -.025em; }
.legal p { color: var(--muted); }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.security-grid article { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.security-grid span { color: var(--blue); font-weight: 850; }
.security-grid h2 { margin-top: 35px; font-size: 2rem; }
.security-grid p { color: var(--muted); }
.not-found { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.not-found h1 { max-width: 930px; margin: 14px 0 24px; }
.not-found > p:not(.eyebrow) { color: var(--muted); font-size: 1.15rem; }

.site-footer { padding-top: 75px; background: var(--navy); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 55px; padding-bottom: 60px; }
.brand-light { color: var(--white); }
.footer-grid > div:first-child > p { max-width: 390px; margin-top: 20px; color: #aeb9c9; }
.footer-grid h2 { margin-bottom: 22px; font: 800 .76rem/1.2 Inter, sans-serif; color: #8190a5; letter-spacing: .1em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-grid a { color: #d8deea; text-decoration: none; }
.footer-grid a:hover { color: var(--white); }
.contact-stack { display: grid; gap: 7px; margin-top: 20px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-block: 23px; border-top: 1px solid rgba(255,255,255,.13); color: #8e9aab; font-size: .82rem; }
.footer-bottom p { margin: 0; }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { color: #b7c0ce; }

@media (max-width: 960px) {
  .menu-toggle { position: relative; z-index: 102; display: block; cursor: pointer; }
  .menu-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav {
    position: fixed; z-index: 101; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    width: 100vw; height: 100dvh; gap: 0; padding: 95px 30px 35px; transform: translateX(100%); visibility: hidden; opacity: 0; pointer-events: none;
    background: var(--warm); transition: transform .24s ease, opacity .18s ease, visibility .24s;
  }
  .primary-nav.is-open { transform: translateX(0); visibility: visible; opacity: 1; pointer-events: auto; }
  .primary-nav a { width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line); font: 600 2rem/1.1 Georgia, serif; }
  .primary-nav a::after { display: none; }
  .primary-nav .nav-cta { width: auto; margin-top: 24px; padding: 14px 20px; border: 0; font: 800 1rem/1 Inter, sans-serif; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-card, .portfolio-card:nth-child(1), .portfolio-card:nth-child(5) { grid-column: span 6; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 45px; }
  .split-feature, .pricing-callout, .detail-hero, .detail-grid, .form-layout, .contact-grid { grid-template-columns: 1fr; }
  .split-feature > div:first-child, .form-aside { position: static; }
  .detail-hero > img { max-height: 620px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .tier-grid, .security-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 28px, 1180px); --radius: 17px; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.3rem); }
  h2 { font-size: clamp(2.15rem, 11vw, 3.1rem); }
  .nav-wrap { height: 68px; }
  .hero { padding-top: 68px; }
  .hero h1 { margin-top: 21px; }
  .button-row, .hero .button-row { align-items: stretch; }
  .button-row .button { flex: 1 1 180px; }
  .comparison-stage { min-height: 440px; aspect-ratio: .78; border-radius: 20px 20px 0 0; }
  .comparison-before img { width: calc(100vw - 28px); }
  .trust-strip .shell { grid-template-columns: 1fr 1fr; text-align: left; }
  .trust-strip span + span { border-left: 0; }
  .section { padding-block: 75px; }
  .card-grid, .portfolio-grid, .gallery-grid, .tier-grid, .profile-grid, .security-grid { grid-template-columns: 1fr; }
  .portfolio-card, .portfolio-card:nth-child(1), .portfolio-card:nth-child(5) { grid-column: span 1; min-height: 340px; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { padding-bottom: 25px; }
  .steps li:not(:last-child)::after { display: none; }
  .check-list { grid-template-columns: 1fr; }
  .gallery-full .gallery-item:nth-child(7n + 1) { grid-column: span 1; aspect-ratio: 1.18; }
  .cta-panel { align-items: stretch; flex-direction: column; padding: 32px 24px; }
  .lightbox[open] { grid-template-columns: 45px 1fr 45px; }
  .page-hero { text-align: left; }
  .page-hero > p:last-child { margin-inline: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 26px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

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