
@layer reset, base, components, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
  ul, ol { margin: 0; padding: 0; }
  img, picture, svg { display: block; max-width: 100%; }
  input, button, textarea, select { font: inherit; }
  button, a { -webkit-tap-highlight-color: transparent; }
}

@layer base {
  :root {
    --ink: #071116;
    --ink-2: #0d1b21;
    --ink-3: #13262e;
    --paper: #f4f7f4;
    --white: #ffffff;
    --muted: #5f6f75;
    --line: rgba(7,17,22,.13);
    --green: #70c416;
    --green-2: #9ae63a;
    --green-deep: #4f9f0f;
    --blue: #7ac8f3;
    --yellow: #e9bd52;
    --radius: 22px;
    --radius-sm: 14px;
    --shadow: 0 28px 80px rgba(0,0,0,.16);
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --container: min(1240px, calc(100vw - 48px));
    --header-h: 92px;
  }

  html { background: var(--ink); }
  body {
    min-width: 320px;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font);
    line-height: 1.55;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }
  ::selection { background: var(--green); color: var(--ink); }
  a { color: inherit; text-decoration: none; }
  button { border: 0; }
  :focus-visible { outline: 3px solid var(--green-2); outline-offset: 3px; }
  .container { width: var(--container); margin-inline: auto; }
  .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; top: 12px; left: 12px; z-index: 9999; padding: 10px 14px;
    background: var(--green); color: var(--ink); transform: translateY(-150%);
  }
  .skip-link:focus { transform: translateY(0); }
}

@layer components {
  /* Header */
  .site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1000;
    height: var(--header-h);
    transition: background .35s ease, box-shadow .35s ease, height .35s ease;
  }
  .site-header::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: rgba(255,255,255,.16);
  }
  .site-header.is-scrolled {
    height: 74px;
    background: rgba(5, 15, 19, .86);
    backdrop-filter: blur(22px) saturate(130%);
    -webkit-backdrop-filter: blur(22px) saturate(130%);
    box-shadow: 0 16px 45px rgba(0,0,0,.18);
  }
  .header-shell {
    height: 100%; width: min(1400px, calc(100vw - 48px)); margin-inline: auto;
    display: grid; grid-template-columns: 195px 1fr auto; align-items: center; gap: 28px;
  }
  .brand { position: relative; width: 182px; height: 74px; overflow: visible; display: flex; align-items: center; }
  .brand img {
    width: 178px; height: auto; max-height: 78px; object-fit: contain; object-position: left center;
    filter: drop-shadow(0 3px 12px rgba(0,0,0,.30));
    transition: transform .35s ease;
  }
  .site-header.is-scrolled .brand img { transform: scale(.88); transform-origin: left center; }
  .primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.2vw, 38px); }
  .primary-nav a {
    position: relative; color: rgba(255,255,255,.88); font-size: 13px; font-weight: 650;
    letter-spacing: .055em; text-transform: uppercase; padding: 9px 0;
  }
  .primary-nav a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px;
    background: var(--green-2); transition: right .25s ease;
  }
  .primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { right: 0; }
  .primary-nav a[aria-current="page"] { color: var(--white); }
  .header-cta {
    display: inline-flex; align-items: center; gap: 13px; padding: 12px 15px 12px 18px;
    color: var(--white); border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
    font-size: 13px; font-weight: 700; letter-spacing: .02em;
    background: rgba(255,255,255,.07); backdrop-filter: blur(12px);
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
  }
  .header-cta:hover { background: rgba(112,196,22,.16); border-color: rgba(154,230,58,.65); transform: translateY(-1px); }
  .header-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
  .nav-toggle { display: none; background: transparent; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
  .nav-toggle > span:not(.sr-only) { height: 2px; width: 100%; background: #fff; margin: 5px 0; transition: transform .25s, opacity .25s; }

  .scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 2000; background: transparent; pointer-events: none; }
  .scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--green), var(--green-2)); box-shadow: 0 0 14px rgba(112,196,22,.7); }

  /* Hero */
  .hero {
    position: relative; min-height: 100svh; color: white; isolation: isolate; overflow: clip;
    display: grid; align-items: center;
  }
  .hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
  .hero-media picture, .hero-media img { width: 100%; height: 100%; }
  .hero-media img {
    object-fit: cover; object-position: 50% 57%;
    transform: scale(1.065); will-change: transform;
  }
  .hero-scrim {
    position: absolute; inset: 0;
    background:
      linear-gradient(90deg, rgba(3,12,16,.90) 0%, rgba(4,13,17,.72) 31%, rgba(4,13,17,.26) 59%, rgba(4,13,17,.10) 100%),
      linear-gradient(0deg, rgba(2,9,12,.58) 0%, transparent 38%, rgba(3,10,13,.20) 100%);
  }
  .hero-gridlines {
    position: absolute; inset: 0; opacity: .16; mix-blend-mode: screen; pointer-events: none;
    background-image:
      linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 62%);
  }
  .hero-content { padding-top: calc(var(--header-h) + 44px); padding-bottom: 90px; }
  .hero-kicker, .eyebrow {
    display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase;
    letter-spacing: .16em; font-size: 11px; font-weight: 800;
  }
  .hero-kicker { color: rgba(255,255,255,.8); margin-bottom: 24px; }
  .status-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--green-2);
    box-shadow: 0 0 0 5px rgba(154,230,58,.13), 0 0 20px rgba(154,230,58,.65);
  }
  .hero h1 {
    max-width: 940px; font-size: clamp(48px, 6.3vw, 96px); line-height: .95;
    font-weight: 760; letter-spacing: -.057em; text-wrap: balance;
    text-shadow: 0 4px 30px rgba(0,0,0,.25);
  }
  .hero h1 span { color: var(--green-2); }
  .hero-lead {
    max-width: 710px; margin-top: 30px; font-size: clamp(17px, 1.45vw, 21px);
    color: rgba(255,255,255,.78); line-height: 1.55;
  }
  .hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px;
    padding: 0 22px; border-radius: 999px; font-size: 14px; font-weight: 760; letter-spacing: .01em;
    transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
    cursor: pointer;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn-primary { background: var(--green); color: #071116; box-shadow: 0 12px 34px rgba(78,148,13,.24); }
  .btn-primary:hover { background: var(--green-2); }
  .btn-ghost { color: white; border: 1px solid rgba(255,255,255,.32); background: rgba(255,255,255,.06); backdrop-filter: blur(10px); }
  .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); }
  .btn-ghost-light { color: white; border: 1px solid rgba(255,255,255,.30); }
  .btn-dark { background: var(--ink); color: white; }
  .btn-outline { color: white; border: 1px solid rgba(255,255,255,.25); }
  .btn.disabled { opacity: .45; pointer-events: none; }
  .hero-trust {
    margin-top: 52px; display: flex; flex-wrap: wrap; gap: 10px 22px; max-width: 820px;
    color: rgba(255,255,255,.64); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; font-weight: 700;
  }
  .hero-trust span { position: relative; padding-left: 15px; }
  .hero-trust span::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--green-2); transform: translateY(-50%); }
  .hero-scroll {
    position: absolute; right: 28px; bottom: 34px; display: flex; align-items: center; gap: 11px;
    color: rgba(255,255,255,.65); font-size: 10px; text-transform: uppercase; letter-spacing: .18em;
    writing-mode: vertical-rl;
  }
  .hero-scroll i { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--green-2), rgba(255,255,255,.08)); animation: pulseLine 1.8s ease-in-out infinite; }
  @keyframes pulseLine { 50% { opacity: .35; transform: scaleY(.68); transform-origin: top; } }

  /* Generic sections */
  .section { padding: clamp(82px, 9vw, 145px) 0; position: relative; }
  .section-light { background: var(--paper); }
  .eyebrow { color: var(--green-deep); margin-bottom: 22px; }
  .eyebrow.light { color: var(--green-2); }
  .display-title {
    font-size: clamp(42px, 5vw, 72px); line-height: 1.02; letter-spacing: -.047em; font-weight: 735;
  }
  .display-title span { color: var(--green-deep); }
  .display-title.light { color: white; }
  .display-title.light span { color: var(--green-2); }
  .split-intro {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .62fr); gap: clamp(48px, 8vw, 120px); align-items: end;
  }
  .intro-copy { font-size: 18px; color: #3d4d53; }
  .intro-copy p + p { margin-top: 16px; }
  .text-link {
    display: inline-flex; gap: 10px; align-items: center; color: var(--ink); font-size: 13px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .08em; margin-top: 28px; border-bottom: 1px solid rgba(7,17,22,.35); padding-bottom: 5px;
  }
  .text-link span { color: var(--green-deep); }
  .big-link { margin-top: 44px; font-size: 14px; }

  /* Ticker */
  .signal-strip { background: var(--green); color: var(--ink); overflow: hidden; border-block: 1px solid rgba(7,17,22,.15); }
  .marquee { overflow: hidden; }
  .marquee-track {
    width: max-content; display: flex; align-items: center; gap: 26px; padding: 14px 0;
    animation: marquee 32s linear infinite;
    font-size: 11px; font-weight: 850; letter-spacing: .16em;
  }
  .marquee-track b { font-size: 8px; opacity: .55; }
  @keyframes marquee { to { transform: translateX(-50%); } }

  /* Feature cards */
  .service-feature-grid {
    margin-top: 76px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  }
  .feature-card {
    min-height: 370px; padding: 26px; border: 1px solid var(--line); background: rgba(255,255,255,.56);
    border-radius: var(--radius); position: relative; overflow: hidden;
    display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  }
  .feature-card::before {
    content: ""; position: absolute; inset: auto -25% -35% 25%; height: 66%; border-radius: 50%;
    background: radial-gradient(circle, rgba(112,196,22,.19), transparent 65%); transform: translateY(15%);
    transition: transform .35s ease;
  }
  .feature-card:hover { transform: translateY(-7px); box-shadow: 0 24px 50px rgba(9,28,34,.10); background: white; }
  .feature-card:hover::before { transform: translateY(0); }
  .feature-index { font: 700 10px/1 var(--mono); color: #75858b; letter-spacing: .12em; }
  .feature-icon {
    width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin-top: 62px;
    background: var(--ink); color: var(--green-2); font: 500 26px/1 var(--mono); box-shadow: 0 14px 35px rgba(0,0,0,.15);
  }
  .feature-card h3 { font-size: 23px; letter-spacing: -.025em; line-height: 1.1; margin-top: 24px; }
  .feature-card p { color: #64747a; font-size: 14px; margin-top: 12px; max-width: 30ch; }
  .feature-link { margin-top: auto; padding-top: 24px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
  .feature-link b { color: var(--green-deep); margin-left: 5px; }

  /* Dark panel */
  .dark-panel {
    background:
      radial-gradient(circle at 85% 12%, rgba(112,196,22,.12), transparent 26%),
      linear-gradient(135deg, #071116 0%, #0b181d 56%, #0d2026 100%);
    color: white; overflow: hidden;
  }
  .dark-panel::after {
    content:""; position:absolute; inset:0; pointer-events:none; opacity:.10;
    background-image: linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
    background-size: 72px 72px; mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
  }
  .value-grid { display: grid; grid-template-columns: .92fr 1fr; gap: clamp(60px, 9vw, 130px); position: relative; z-index: 2; }
  .sticky-copy { align-self: start; position: sticky; top: 120px; }
  .sticky-copy > p { margin-top: 28px; color: rgba(255,255,255,.65); max-width: 55ch; font-size: 17px; }
  .sticky-copy .btn { margin-top: 34px; }
  .value-list { border-top: 1px solid rgba(255,255,255,.16); }
  .value-item { display: grid; grid-template-columns: 54px 1fr; gap: 28px; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .value-item > span { font: 600 11px/1 var(--mono); color: var(--green-2); margin-top: 8px; }
  .value-item h3 { font-size: 25px; letter-spacing: -.03em; }
  .value-item p { color: rgba(255,255,255,.58); margin-top: 8px; max-width: 52ch; }

  /* Experience */
  .section-heading { max-width: 920px; }
  .experience-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 66px; }
  .experience-card {
    padding: 30px; min-height: 330px; border: 1px solid var(--line); border-radius: var(--radius); background: white;
    display: flex; flex-direction: column; position: relative; overflow: hidden;
  }
  .experience-card::after { content: ""; width: 120px; height: 120px; position: absolute; right: -50px; top: -50px; border: 24px solid rgba(112,196,22,.09); border-radius: 50%; }
  .experience-card .country { color: var(--green-deep); font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: .13em; }
  .experience-card time { font: 600 12px/1 var(--mono); color: #7a888d; margin-top: 18px; }
  .experience-card h3 { margin-top: auto; font-size: 26px; line-height: 1.08; letter-spacing: -.032em; }
  .experience-card p { margin-top: 13px; color: #66767c; font-size: 14px; }

  /* CTA */
  .cta-panel { background: #0c2028; color: white; overflow: hidden; }
  .cta-panel::before {
    content: ""; position: absolute; width: 55vw; height: 55vw; right: -20vw; top: -28vw; border-radius: 50%;
    border: 1px solid rgba(154,230,58,.15); box-shadow: 0 0 0 70px rgba(154,230,58,.025), 0 0 0 140px rgba(154,230,58,.018);
  }
  .cta-inner { position: relative; display: grid; grid-template-columns: 1.15fr .72fr; gap: 80px; align-items: center; }
  .cta-inner h2 { font-size: clamp(45px, 5.6vw, 82px); line-height: .98; letter-spacing: -.052em; }
  .cta-inner h2 span { color: var(--green-2); }
  .cta-inner p { color: rgba(255,255,255,.66); font-size: 18px; max-width: 50ch; }
  .cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

  /* Inner hero */
  .page-hero {
    position: relative; min-height: 62svh; padding-top: var(--header-h); display: grid; align-items: end;
    color: white; overflow: hidden; isolation: isolate;
  }
  .page-hero-bg {
    position: absolute; inset: 0; z-index: -2;
    background-image:
      linear-gradient(90deg, rgba(3,12,16,.88) 0%, rgba(3,12,16,.54) 48%, rgba(3,12,16,.24) 100%),
      linear-gradient(0deg, rgba(3,12,16,.80) 0%, transparent 60%),
      url("../img/deltafrog-hero.webp");
    background-size: cover; background-position: center 58%;
    transform: scale(1.035);
  }
  .page-hero-content { padding-bottom: 74px; }
  .page-hero h1 { max-width: 940px; font-size: clamp(48px, 6vw, 88px); line-height: .97; letter-spacing: -.055em; }
  .page-hero h1 span { color: var(--green-2); }
  .page-hero p { max-width: 730px; color: rgba(255,255,255,.72); font-size: 18px; margin-top: 22px; }
  .page-hero-small { min-height: 48svh; }

  /* Services detail */
  .services-detailed { padding-top: 60px; }
  .service-row {
    display: grid; grid-template-columns: 90px .9fr 1fr; gap: 55px; align-items: start;
    padding: 60px 0; border-bottom: 1px solid var(--line);
  }
  .service-number { font: 650 12px/1 var(--mono); color: var(--green-deep); padding-top: 8px; }
  .service-tag { color: #7a898e; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
  .service-copy h2 { font-size: clamp(34px, 3.3vw, 50px); line-height: 1.02; letter-spacing: -.045em; margin-top: 8px; }
  .service-copy p { color: #65767b; margin-top: 16px; max-width: 54ch; }
  .service-points { list-style: none; border-top: 1px solid var(--line); }
  .service-points li { position: relative; padding: 15px 0 15px 25px; border-bottom: 1px solid var(--line); font-size: 14px; color: #33444a; }
  .service-points li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 7px; height: 7px; background: var(--green); border-radius: 2px; transform: rotate(45deg); }
  .compact-dark { padding-block: 110px; }
  .capability-matrix { display: grid; grid-template-columns: .9fr 1fr; gap: 90px; position: relative; z-index: 2; }
  .matrix { border-top: 1px solid rgba(255,255,255,.15); }
  .matrix-item { display: grid; grid-template-columns: 64px 1fr; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .matrix-item strong { color: var(--green-2); font: 600 11px/1.5 var(--mono); }
  .matrix-item span { color: rgba(255,255,255,.78); font-size: 17px; }

  /* Timeline */
  .timeline-layout { display: grid; grid-template-columns: .58fr 1fr; gap: clamp(50px,8vw,120px); }
  .timeline-intro { align-self: start; position: sticky; top: 115px; }
  .timeline-intro h2 { font-size: clamp(34px,3.8vw,54px); line-height: 1.05; letter-spacing: -.045em; }
  .timeline-intro p { margin-top: 22px; color: #66777c; max-width: 50ch; }
  .timeline { position: relative; }
  .timeline::before { content:""; position:absolute; left: 138px; top: 10px; bottom: 0; width: 1px; background: var(--line); }
  .timeline-entry { position: relative; display: grid; grid-template-columns: 115px 20px 1fr; gap: 15px; padding: 0 0 62px; }
  .timeline-entry time { font: 600 11px/1.4 var(--mono); color: #6f7e83; padding-top: 6px; }
  .timeline-dot { width: 11px; height: 11px; background: var(--green); border: 3px solid var(--paper); box-shadow: 0 0 0 1px rgba(79,159,15,.4); border-radius: 50%; margin-top: 4px; z-index: 2; }
  .timeline-entry .location { color: var(--green-deep); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
  .timeline-entry h3 { margin-top: 8px; font-size: 28px; letter-spacing: -.035em; line-height: 1.08; }
  .timeline-entry p { margin-top: 13px; color: #617278; }
  .tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
  .tag-row span { padding: 7px 9px; background: white; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
  .qualification-grid { position:relative; z-index:2; display:grid; grid-template-columns:.75fr 1fr; gap:80px; }
  .qualification-cards { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
  .glass-card { min-height: 245px; padding: 26px; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); background: rgba(255,255,255,.045); backdrop-filter: blur(8px); }
  .q-level { color:var(--green-2); font:700 11px/1 var(--mono); text-transform:uppercase; letter-spacing:.1em; }
  .glass-card h3 { margin-top: 52px; font-size: 23px; line-height:1.1; letter-spacing:-.025em; }
  .glass-card p { margin-top:12px; color:rgba(255,255,255,.55); font-size:13px; }
  .note-panel { display:grid; grid-template-columns:1fr 1fr; gap:70px; padding:44px; border:1px solid var(--line); border-radius:var(--radius); background:white; }
  .note-panel h2 { font-size:32px; line-height:1.1; letter-spacing:-.035em; }
  .note-panel > p { color:#65757b; align-self:center; }

  /* About */
  .about-grid { display:grid; grid-template-columns:1fr .82fr; gap:100px; }
  .about-statement h2 { font-size:clamp(42px,5vw,70px); line-height:1.02; letter-spacing:-.05em; }
  .about-body { font-size:17px; color:#57686e; }
  .about-body .lead { color:var(--ink); font-size:23px; line-height:1.42; letter-spacing:-.02em; }
  .about-body p + p { margin-top:20px; }
  .principles-section { background:#eaf0eb; }
  .principles-grid { margin-top:60px; display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
  .principle-card { min-height:270px; padding:26px; border:1px solid rgba(7,17,22,.10); border-radius:var(--radius); background:rgba(255,255,255,.55); }
  .principle-card > span { color:var(--green-deep); font:700 11px/1 var(--mono); }
  .principle-card h3 { margin-top:80px; font-size:23px; letter-spacing:-.03em; }
  .principle-card p { margin-top:11px; color:#66777c; font-size:14px; }
  .about-callout { position:relative; z-index:2; max-width:1000px; text-align:center; }
  .big-quote { font:700 110px/.7 Georgia,serif; color:var(--green-2); opacity:.75; }
  .about-callout blockquote { font-size:clamp(35px,4.4vw,62px); line-height:1.07; letter-spacing:-.045em; }
  .about-callout > span { display:block; margin-top:28px; color:rgba(255,255,255,.48); text-transform:uppercase; letter-spacing:.14em; font-size:10px; }
  .two-col-cta { display:grid; grid-template-columns:1fr auto; gap:70px; align-items:end; }
  .two-col-cta h2 { font-size:clamp(36px,4vw,56px); line-height:1.06; letter-spacing:-.04em; max-width:820px; }
  .two-col-cta > div:last-child { display:flex; flex-direction:column; align-items:flex-start; }

  /* Contact form */
  .contact-layout { display:grid; grid-template-columns:1.05fr .72fr; gap:80px; align-items:start; }
  .contact-form { padding:36px; background:white; border:1px solid var(--line); border-radius:var(--radius); box-shadow:0 22px 60px rgba(8,25,31,.07); }
  .form-head { margin-bottom:30px; }
  .step-label { color:var(--green-deep); font-size:10px; text-transform:uppercase; letter-spacing:.14em; font-weight:800; }
  .form-head h2 { margin-top:8px; font-size:38px; letter-spacing:-.04em; }
  .form-head p { margin-top:8px; color:#718086; font-size:13px; }
  .field-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
  .contact-form label > span { display:block; margin-bottom:8px; color:#3e4d53; font-size:11px; font-weight:750; text-transform:uppercase; letter-spacing:.08em; }
  input, textarea, select {
    width:100%; border:1px solid rgba(7,17,22,.16); border-radius:12px; background:#f7f9f7; color:var(--ink);
    padding:14px 14px; transition:border-color .2s, box-shadow .2s, background .2s;
  }
  input:focus, textarea:focus, select:focus { outline:none; border-color:var(--green-deep); background:white; box-shadow:0 0 0 4px rgba(112,196,22,.10); }
  textarea { resize:vertical; min-height:130px; }
  .full-field { display:block; margin-top:16px; }

  .contact-info h2 { font-size:clamp(40px,4.5vw,62px); line-height:1.02; letter-spacing:-.047em; }
  .contact-info > p { margin-top:20px; color:#607278; max-width:50ch; }
  .contact-methods { margin-top:36px; border-top:1px solid var(--line); }
  .contact-methods a { display:grid; grid-template-columns:48px 1fr 20px; align-items:center; gap:14px; padding:20px 0; border-bottom:1px solid var(--line); }
  .contact-icon { width:42px; height:42px; border-radius:12px; background:var(--ink); color:var(--green-2); display:grid; place-items:center; font:700 15px/1 var(--mono); }
  .contact-methods small { display:block; color:#738388; text-transform:uppercase; letter-spacing:.1em; font-size:9px; }
  .contact-methods strong { display:block; margin-top:3px; font-size:16px; }
  .contact-methods b { color:var(--green-deep); }
  .consent { display:flex !important; align-items:flex-start; gap:10px; margin:18px 0; }
  .consent input { width:16px; height:16px; margin-top:2px; accent-color:var(--green-deep); }
  .consent span { text-transform:none !important; letter-spacing:0 !important; font-size:12px !important; color:#68787d !important; }
  .consent a { text-decoration:underline; }
  .submit-btn { border:0; }
  .hp-field { position:absolute !important; left:-9999px !important; }
  .form-alert { margin:0 0 20px; padding:14px 16px; border-radius:12px; font-size:13px; }
  .form-alert.success { background:#e8f5dc; color:#244a0e; border:1px solid #b7df8f; }
  .form-alert.warning { background:#fff4d7; color:#634c0f; border:1px solid #ebd081; }
  .form-alert.error { background:#fae6e4; color:#6c2924; border:1px solid #e9b5b0; }
  .form-alert ul { margin:8px 0 0 18px; }

  /* Legal / 404 */
  .legal-content { max-width:850px; }
  .legal-content h2 { margin-top:38px; font-size:28px; letter-spacing:-.025em; }
  .legal-content h2:first-child { margin-top:0; }
  .legal-content p { margin-top:12px; color:#596a70; }
  .legal-content a { color:var(--green-deep); text-decoration:underline; }
  .not-found {
    min-height:80svh; display:grid; place-items:center; color:white; padding-top:var(--header-h);
    background:
      linear-gradient(90deg,rgba(3,12,16,.88),rgba(3,12,16,.48)),
      url("../img/deltafrog-hero.webp") center/cover;
  }
  .not-found h1 { font-size:clamp(60px,8vw,115px); line-height:.9; letter-spacing:-.06em; }
  .not-found h1 span { color:var(--green-2); }
  .not-found p { color:rgba(255,255,255,.68); margin:22px 0 30px; }

  /* Footer */
  .site-footer { background:#050d10; color:white; padding:75px 0 24px; }
  .footer-grid { display:grid; grid-template-columns:1.45fr .7fr .7fr 1fr; gap:58px; padding-bottom:55px; }
  .footer-brand img { width:230px; height:auto; margin-left:-15px; }
  .footer-brand p { max-width:36ch; margin-top:15px; color:rgba(255,255,255,.48); font-size:13px; }
  .site-footer h2 { font-size:10px; text-transform:uppercase; letter-spacing:.14em; color:var(--green-2); margin-bottom:17px; }
  .site-footer a { display:block; width:max-content; max-width:100%; color:rgba(255,255,255,.66); font-size:13px; padding:5px 0; transition:color .2s; }
  .site-footer a:hover { color:white; }
  .footer-contact p { color:rgba(255,255,255,.42); font-size:12px; margin-top:13px; max-width:28ch; }
  .footer-bottom { display:flex; justify-content:space-between; gap:30px; padding-top:22px; border-top:1px solid rgba(255,255,255,.10); color:rgba(255,255,255,.34); font-size:10px; text-transform:uppercase; letter-spacing:.08em; }
  .floating-whatsapp {
    position:fixed; right:22px; bottom:22px; z-index:900; width:54px; height:54px; border-radius:50%;
    display:grid; place-items:center; background:var(--green); color:var(--ink); box-shadow:0 15px 40px rgba(0,0,0,.28);
    transition:transform .25s, background .25s;
  }
  .floating-whatsapp:hover { transform:translateY(-3px) scale(1.03); background:var(--green-2); }
  .floating-whatsapp svg { width:27px; height:27px; fill:currentColor; }

  /* Reveal */
  .reveal { opacity:0; transform:translateY(24px); transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.is-visible { opacity:1; transform:none; }
  .no-js .reveal { opacity:1; transform:none; }
}

@layer utilities {
  @media (max-width: 1100px) {
    :root { --header-h: 80px; }
    .header-shell { grid-template-columns: 170px 1fr auto; gap:18px; }
    .brand { width:165px; }
    .brand img { width:160px; }
    .primary-nav { gap:17px; }
    .primary-nav a { font-size:11px; }
    .header-cta { padding:10px 12px; }
    .header-cta span { display:none; }
    .service-feature-grid { grid-template-columns:repeat(2,1fr); }
    .feature-card { min-height:330px; }
    .principles-grid { grid-template-columns:repeat(2,1fr); }
    .footer-grid { grid-template-columns:1.3fr 1fr 1fr; }
    .footer-contact { grid-column:2 / 4; }
  }

  @media (max-width: 820px) {
    :root { --container:min(100% - 32px, 720px); --header-h:72px; }
    .site-header, .site-header.is-scrolled { height:72px; }
    .header-shell { width:calc(100vw - 28px); grid-template-columns:1fr auto; }
    .brand { width:150px; height:62px; z-index:1002; }
    .brand img, .site-header.is-scrolled .brand img { width:146px; transform:none; }
    .header-cta { display:none; }
    .nav-toggle { display:block; z-index:1002; }
    .primary-nav {
      position:fixed; inset:0; display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
      padding:90px 34px 40px; gap:8px; background:rgba(4,13,17,.97); backdrop-filter:blur(22px);
      opacity:0; visibility:hidden; transform:translateY(-10px); transition:opacity .25s, visibility .25s, transform .25s;
    }
    .primary-nav.is-open { opacity:1; visibility:visible; transform:none; }
    .primary-nav a { font-size:clamp(28px,8vw,44px); letter-spacing:-.03em; text-transform:none; padding:5px 0; }
    .primary-nav a::after { bottom:3px; }
    .nav-toggle[aria-expanded="true"] > span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity:0; }
    .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

    .hero { min-height:100svh; }
    .hero-media img { object-position:58% 55%; }
    .hero-scrim {
      background:
        linear-gradient(0deg,rgba(3,12,16,.90) 0%,rgba(3,12,16,.50) 52%,rgba(3,12,16,.20) 100%),
        linear-gradient(90deg,rgba(3,12,16,.72) 0%,rgba(3,12,16,.14) 100%);
    }
    .hero-content { align-self:end; padding:110px 0 72px; }
    .hero h1 { font-size:clamp(47px,12vw,76px); }
    .hero-lead { font-size:16px; max-width:580px; }
    .hero-trust { margin-top:34px; gap:9px 15px; }
    .hero-scroll { display:none; }
    .split-intro, .value-grid, .cta-inner, .capability-matrix, .timeline-layout, .qualification-grid, .about-grid, .contact-layout, .note-panel { grid-template-columns:1fr; }
    .split-intro { gap:34px; }
    .service-feature-grid { margin-top:50px; }
    .sticky-copy, .timeline-intro { position:relative; top:auto; }
    .value-grid { gap:55px; }
    .experience-rail { grid-template-columns:1fr; }
    .experience-card { min-height:250px; }
    .cta-inner { gap:35px; }
    .page-hero { min-height:54svh; }
    .page-hero-content { padding-bottom:52px; }
    .service-row { grid-template-columns:46px 1fr; gap:20px; }
    .service-points { grid-column:2; margin-top:10px; }
    .timeline-layout { gap:60px; }
    .timeline-intro { max-width:650px; }
    .qualification-grid { gap:45px; }
    .about-grid { gap:42px; }
    .contact-layout { gap:45px; }
    .two-col-cta { grid-template-columns:1fr; gap:35px; }
    .footer-grid { grid-template-columns:1fr 1fr; }
    .footer-brand { grid-column:1 / -1; }
    .footer-contact { grid-column:auto; }
  }

  @media (max-width: 560px) {
    :root { --container:calc(100vw - 28px); }
    .section { padding:76px 0; }
    .hero h1 { font-size:clamp(43px,12.6vw,66px); }
    .hero-actions { flex-direction:column; align-items:stretch; max-width:360px; }
    .hero-actions .btn { width:100%; }
    .service-feature-grid, .principles-grid, .qualification-cards, .field-grid { grid-template-columns:1fr; }
    .feature-card { min-height:290px; }
    .feature-icon { margin-top:42px; }
    .page-hero h1 { font-size:clamp(45px,12.5vw,68px); }
    .page-hero p { font-size:16px; }
    .service-row { grid-template-columns:1fr; padding:46px 0; }
    .service-points { grid-column:1; }
    .service-number { padding:0; }
    .timeline::before { left:5px; }
    .timeline-entry { grid-template-columns:20px 1fr; gap:14px; }
    .timeline-entry time { grid-column:2; order:1; margin-bottom:-3px; }
    .timeline-dot { grid-column:1; grid-row:1 / 3; }
    .timeline-entry > div:last-child { grid-column:2; order:2; }
    .contact-form { padding:23px; }
    .footer-grid { grid-template-columns:1fr; gap:34px; }
    .footer-contact { grid-column:auto; }
    .footer-bottom { flex-direction:column; }
    .floating-whatsapp { width:50px; height:50px; right:15px; bottom:15px; }
    .about-body .lead { font-size:20px; }
  }

  /* Responsive refinement: phones, tablets, landscape and safe areas */
  @media (max-width: 1100px) {
    .section { padding-block: clamp(78px, 8vw, 112px); }
    .display-title { font-size: clamp(40px, 5.6vw, 62px); }
    .page-hero h1 { font-size: clamp(46px, 7vw, 72px); }
    .service-row { gap: clamp(28px, 4vw, 48px); }
    .contact-layout { gap: clamp(42px, 6vw, 70px); }
  }

  @media (max-width: 900px) {
    .hero-media img { object-position: 43% 55%; }
    .page-hero-bg {
      background-image:
        linear-gradient(0deg, rgba(3,12,16,.88) 0%, rgba(3,12,16,.50) 55%, rgba(3,12,16,.18) 100%),
        linear-gradient(90deg, rgba(3,12,16,.54) 0%, rgba(3,12,16,.12) 100%),
        url("../img/deltafrog-hero-1200.webp");
      background-position: 43% 56%;
    }
    .hero-gridlines { background-size: 64px 64px; opacity: .11; }
  }

  @media (max-width: 820px) {
    body { font-size: 15.5px; }
    .site-header, .site-header.is-scrolled { padding-top: env(safe-area-inset-top); height: calc(72px + env(safe-area-inset-top)); }
    .header-shell { height: 72px; }
    .primary-nav {
      padding-top: calc(92px + env(safe-area-inset-top));
      padding-bottom: calc(34px + env(safe-area-inset-bottom));
      overflow-y: auto; overscroll-behavior: contain;
    }
    .nav-toggle { min-width: 48px; min-height: 48px; margin-right: -6px; }
    .hero { min-height: 100svh; min-height: 100dvh; }
    .hero-content { padding-top: calc(96px + env(safe-area-inset-top)); padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
    .hero h1 { max-width: 11.5em; font-size: clamp(44px, 9.4vw, 68px); line-height: .97; }
    .hero-lead { margin-top: 22px; line-height: 1.52; }
    .hero-actions { margin-top: 28px; }
    .hero-trust { margin-top: 30px; font-size: 10px; }
    .section { padding-block: clamp(70px, 10vw, 94px); }
    .eyebrow { margin-bottom: 16px; }
    .display-title { font-size: clamp(38px, 7.2vw, 58px); }
    .intro-copy, .sticky-copy > p, .cta-inner p { font-size: 16px; }
    .service-feature-grid { margin-top: 42px; gap: 12px; }
    .feature-card { min-height: 0; padding: 24px; }
    .feature-icon { margin-top: 34px; }
    .experience-rail { margin-top: 44px; gap: 12px; }
    .experience-card { min-height: 235px; padding: 26px; }
    .value-item { padding: 28px 0; gap: 18px; }
    .page-hero { min-height: 52svh; min-height: 52dvh; padding-top: calc(var(--header-h) + env(safe-area-inset-top)); }
    .page-hero-content { padding-bottom: 44px; }
    .page-hero h1 { font-size: clamp(42px, 8.7vw, 64px); }
    .page-hero p { font-size: 16px; line-height: 1.55; }
    .contact-info h2 { font-size: clamp(36px, 7vw, 52px); }
    .contact-form { padding: clamp(24px, 4vw, 32px); }
    .form-head h2 { font-size: clamp(32px, 5vw, 38px); }
    input, textarea, select { font-size: 16px; }
    .site-footer { padding-top: 60px; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
    .floating-whatsapp { bottom: calc(18px + env(safe-area-inset-bottom)); }
  }

  @media (max-width: 560px) {
    :root { --container: calc(100vw - 28px); }
    .header-shell { width: calc(100vw - 24px); }
    .brand { width: 138px; }
    .brand img, .site-header.is-scrolled .brand img { width: 136px; }
    .primary-nav { padding-inline: 22px; }
    .primary-nav a { font-size: clamp(27px, 9vw, 38px); padding-block: 7px; }
    .hero-media img { object-position: 37% 55%; transform: scale(1.04); }
    .hero-scrim {
      background:
        linear-gradient(0deg, rgba(3,12,16,.94) 0%, rgba(3,12,16,.66) 46%, rgba(3,12,16,.22) 80%, rgba(3,12,16,.12) 100%),
        linear-gradient(90deg, rgba(3,12,16,.48) 0%, rgba(3,12,16,.08) 100%);
    }
    .hero-content { padding-top: calc(92px + env(safe-area-inset-top)); padding-bottom: calc(42px + env(safe-area-inset-bottom)); }
    .hero-kicker { margin-bottom: 18px; font-size: 10px; letter-spacing: .13em; }
    .hero h1 { font-size: clamp(39px, 11.4vw, 56px); line-height: .98; letter-spacing: -.052em; }
    .hero-lead { font-size: 15.5px; max-width: 34ch; margin-top: 20px; }
    .hero-actions { max-width: none; margin-top: 24px; gap: 10px; }
    .btn { min-height: 50px; padding-inline: 18px; font-size: 13px; }
    .hero-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 8px 12px; margin-top: 25px; font-size: 9px; line-height: 1.35; }
    .hero-trust span { padding-left: 11px; }
    .section { padding-block: 64px; }
    .display-title { font-size: clamp(35px, 10vw, 48px); line-height: 1.04; }
    .split-intro { gap: 26px; }
    .intro-copy { font-size: 15.5px; }
    .service-feature-grid { margin-top: 36px; }
    .feature-card { min-height: 0; padding: 22px; }
    .feature-icon { width: 52px; height: 52px; margin-top: 28px; border-radius: 16px; }
    .feature-card h3 { font-size: 21px; margin-top: 20px; }
    .feature-link { padding-top: 28px; }
    .value-item { grid-template-columns: 34px 1fr; gap: 12px; padding: 24px 0; }
    .value-item h3 { font-size: 22px; }
    .experience-card { min-height: 215px; padding: 23px; }
    .experience-card h3 { font-size: 23px; }
    .cta-inner h2 { font-size: clamp(38px, 11vw, 54px); }
    .cta-buttons { flex-direction: column; align-items: stretch; }
    .cta-buttons .btn { width: 100%; }
    .page-hero { min-height: 50svh; min-height: 50dvh; }
    .page-hero-bg { background-position: 37% 56%; }
    .page-hero-content { padding-bottom: 34px; }
    .page-hero h1 { font-size: clamp(38px, 10.5vw, 52px); line-height: 1; }
    .page-hero p { margin-top: 16px; font-size: 15px; }
    .service-row { padding: 36px 0; }
    .service-copy h2 { font-size: clamp(30px, 8vw, 40px); }
    .timeline-entry h3 { font-size: 24px; }
    .qualification-cards { gap: 10px; }
    .glass-card { min-height: 0; padding: 22px; }
    .glass-card h3 { margin-top: 36px; font-size: 21px; }
    .note-panel { padding: 26px 22px; gap: 22px; }
    .note-panel h2 { font-size: 28px; }
    .about-statement h2 { font-size: clamp(36px, 9.8vw, 48px); }
    .about-body { font-size: 15.5px; }
    .about-body .lead { font-size: 19px; }
    .principles-grid { margin-top: 38px; }
    .principle-card { min-height: 0; padding: 22px; }
    .principle-card h3 { margin-top: 46px; font-size: 21px; }
    .about-callout blockquote { font-size: clamp(31px, 8.8vw, 44px); }
    .big-quote { font-size: 84px; }
    .two-col-cta h2 { font-size: clamp(32px, 9vw, 44px); }
    .contact-layout { gap: 36px; }
    .contact-info h2 { font-size: clamp(34px, 9.5vw, 46px); }
    .contact-methods { margin-top: 26px; }
    .contact-methods a { grid-template-columns: 42px minmax(0, 1fr) 18px; gap: 11px; padding: 17px 0; }
    .contact-icon { width: 38px; height: 38px; border-radius: 10px; }
    .contact-methods strong { font-size: 14px; overflow-wrap: anywhere; }
    .contact-form { padding: 20px; border-radius: 18px; }
    .form-head { margin-bottom: 24px; }
    .form-head h2 { font-size: 31px; }
    .field-grid { gap: 13px; }
    input, textarea, select { padding: 13px; border-radius: 11px; }
    .submit-btn { width: 100%; }
    .site-footer { padding-top: 50px; }
    .footer-brand img { width: 205px; margin-left: -11px; }
    .footer-bottom { gap: 12px; line-height: 1.5; }
    .floating-whatsapp { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); }
  }

  @media (max-width: 390px) {
    :root { --container: calc(100vw - 22px); }
    .header-shell { width: calc(100vw - 20px); }
    .brand { width: 128px; }
    .brand img, .site-header.is-scrolled .brand img { width: 126px; }
    .hero h1 { font-size: clamp(36px, 10.8vw, 44px); }
    .hero-lead { font-size: 15px; }
    .hero-trust { grid-template-columns: 1fr 1fr; }
    .display-title { font-size: clamp(33px, 9.4vw, 42px); }
    .page-hero h1 { font-size: clamp(36px, 10vw, 44px); }
    .contact-form { padding: 18px; }
  }

  /* Device-adaptive layout: tablets and phones */
  @media (max-width: 980px) {
    :root {
      --container: min(100% - 40px, 900px);
      --header-h: 76px;
    }

    body { font-size: 16px; }
    .header-shell {
      width: min(100% - 32px, 920px);
      grid-template-columns: 1fr auto;
      gap: 18px;
    }
    .site-header, .site-header.is-scrolled {
      height: calc(76px + env(safe-area-inset-top));
      padding-top: env(safe-area-inset-top);
    }
    .brand { width: 158px; height: 68px; z-index: 1002; }
    .brand img, .site-header.is-scrolled .brand img { width: 154px; transform: none; }
    .header-cta { display: none; }
    .nav-toggle { display: block; z-index: 1002; min-width: 48px; min-height: 48px; }
    .primary-nav {
      position: fixed;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      gap: 8px;
      padding: calc(100px + env(safe-area-inset-top)) max(28px, env(safe-area-inset-left)) calc(44px + env(safe-area-inset-bottom));
      background: rgba(4,13,17,.975);
      backdrop-filter: blur(24px) saturate(125%);
      -webkit-backdrop-filter: blur(24px) saturate(125%);
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateY(-10px);
      transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
      overflow-y: auto;
      overscroll-behavior: contain;
    }
    .primary-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
    .primary-nav a {
      font-size: clamp(30px, 6.6vw, 48px);
      line-height: 1.08;
      letter-spacing: -.035em;
      text-transform: none;
      padding: 7px 0;
    }
    .nav-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero { min-height: 100svh; min-height: 100dvh; }
    .hero-media img { object-position: 42% 55%; transform: scale(1.035); will-change: auto; }
    .hero-content {
      align-self: end;
      padding-top: calc(112px + env(safe-area-inset-top));
      padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }
    .hero h1 { max-width: 11.8em; font-size: clamp(46px, 8vw, 72px); }
    .hero-lead { max-width: 58ch; font-size: clamp(16px, 2.1vw, 19px); }
    .hero-scroll { display: none; }

    .split-intro,
    .value-grid,
    .cta-inner,
    .capability-matrix,
    .timeline-layout,
    .qualification-grid,
    .about-grid,
    .contact-layout,
    .note-panel { grid-template-columns: 1fr; }

    .split-intro { gap: 34px; }
    .value-grid { gap: 58px; }
    .sticky-copy, .timeline-intro { position: relative; top: auto; }
    .timeline-layout { gap: 54px; }
    .qualification-grid, .about-grid, .contact-layout { gap: 44px; }
    .cta-inner { gap: 34px; }
    .service-row { grid-template-columns: 48px minmax(0, 1fr); gap: 22px; }
    .service-points { grid-column: 2; }
    .experience-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .experience-card:last-child { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 38px; }
    .footer-brand, .footer-contact { grid-column: auto; }
    input, textarea, select { font-size: 16px; }
    .btn, .header-cta, .nav-toggle, .primary-nav a, .contact-methods a { touch-action: manipulation; }
  }

  @media (max-width: 680px) {
    :root { --container: calc(100% - 28px); }
    .experience-rail { grid-template-columns: 1fr; }
    .experience-card:last-child { grid-column: auto; }
    .qualification-cards, .principles-grid, .service-feature-grid, .field-grid { grid-template-columns: 1fr; }
    .service-row { grid-template-columns: 1fr; }
    .service-points { grid-column: 1; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: clamp(39px, 11vw, 56px); }
    .hero-lead { max-width: 35ch; }
    .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 390px; }
    .hero-actions .btn { width: 100%; }
    .page-hero { min-height: 50svh; min-height: 50dvh; }
  }

  @media (max-width: 430px) {
    :root { --container: calc(100% - 22px); }
    .header-shell { width: calc(100% - 20px); }
    .brand { width: 130px; }
    .brand img, .site-header.is-scrolled .brand img { width: 128px; }
    .primary-nav { padding-inline: 22px; }
    .primary-nav a { font-size: clamp(28px, 9.4vw, 38px); }
    .section { padding-block: 62px; }
    .hero-content { padding-top: calc(94px + env(safe-area-inset-top)); padding-bottom: calc(42px + env(safe-area-inset-bottom)); }
    .hero-kicker { font-size: 10px; margin-bottom: 17px; }
    .hero h1 { font-size: clamp(36px, 10.7vw, 48px); line-height: .99; }
    .hero-lead { font-size: 15px; margin-top: 18px; }
    .hero-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 9px; gap: 8px 10px; }
    .display-title { font-size: clamp(33px, 9.6vw, 44px); }
    .page-hero h1 { font-size: clamp(36px, 10vw, 46px); }
    .contact-form { padding: 18px; }
    .contact-methods strong { overflow-wrap: anywhere; }
  }

  @media (min-width: 681px) and (max-width: 980px) and (orientation: landscape) {
    .hero { min-height: 680px; }
    .hero-content { padding-top: 108px; padding-bottom: 46px; }
    .hero h1 { font-size: clamp(44px, 6vw, 62px); max-width: 12em; }
    .hero-lead { max-width: 52ch; margin-top: 18px; }
    .hero-actions, .hero-trust { margin-top: 20px; }
  }

  @media (max-height: 650px) and (orientation: landscape) {
    .primary-nav { justify-content: flex-start; padding-top: calc(78px + env(safe-area-inset-top)); }
    .primary-nav a { font-size: 28px; }
    .hero { min-height: 680px; }
    .hero-content { padding-top: calc(90px + env(safe-area-inset-top)); padding-bottom: 36px; }
    .hero h1 { font-size: clamp(40px, 7vw, 58px); max-width: 12em; }
    .hero-lead { font-size: 15px; max-width: 52ch; margin-top: 16px; }
    .hero-actions { margin-top: 18px; }
    .hero-trust { margin-top: 18px; }
    .page-hero { min-height: 430px; }
  }

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