/* ==========================================================================
   AAG POLSKA SP Z O O
   Direction: contemporary European / architectural editorial
   Palette: bone paper, deep forest, moss, clay accent
   Type: Newsreader (display serif) + Instrument Sans (body)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bone: #F3EFE7;
  --paper: #FBF9F4;
  --sand: #E6DFD0;
  --sand-deep: #CFC6B2;
  --ink: #141F1B;
  --forest: #1D3128;
  --moss: #2D4A3C;
  --clay: #B4532E;
  --clay-deep: #94421F;
  --clay-soft: #E39A72;
  --muted: #58635D;
  --line: rgba(20, 31, 27, .14);
  --line-strong: rgba(20, 31, 27, .3);
  --error: #A3261C;

  --font-display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 76px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.015em;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid var(--clay-deep);
  outline-offset: 3px;
}
[tabindex="-1"]:focus { outline: none; }

.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: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--bone);
  padding: .7rem 1rem; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* ---------- Shared elements ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  padding: .95rem 1.5rem;
  font-family: var(--font-body); font-size: .9375rem; font-weight: 600;
  line-height: 1.2; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius);
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--primary { background: var(--clay); color: #fff; }
.btn--primary:hover { background: var(--clay-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--bone); }

.arrow {
  width: 1.15em; height: 1.15em;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .3s var(--ease);
}
.btn:hover .arrow, .map-link:hover .arrow { transform: translateX(4px); }

.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .7rem; border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--ink); background: transparent;
}
.chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink);
}
.chip--trade::before { background: var(--moss); }
.chip--build::before { background: var(--clay); }
.chip--retail::before { background: var(--ink); }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.tags li {
  font-size: .8125rem; padding: .25rem .65rem;
  border: 1px solid var(--line-strong); color: var(--muted);
}
.tags--dark li { border-color: rgba(20, 31, 27, .35); color: var(--ink); }

.link-btn {
  background: none; border: 0; padding: 0;
  color: var(--clay-deep); text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--ink); }
.link-btn--light { color: var(--sand); }
.link-btn--light:hover { color: #fff; }

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

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.rise { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0ms); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: var(--sand); font-size: .8125rem; }
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  min-height: 38px;
}
.topbar a { text-decoration: none; color: var(--bone); }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bone);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(20, 31, 27, .08); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; letter-spacing: -.01em; }
.brand-sub { font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }
.brand--light { color: var(--bone); }
.brand--light .brand-sub { color: var(--sand-deep); }

.nav { display: flex; align-items: center; gap: 2.5rem; }
.nav ul { display: flex; gap: 2rem; }
.nav ul a {
  position: relative; display: inline-block; padding: .4rem 0;
  font-size: .9375rem; font-weight: 500; text-decoration: none;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--clay); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav ul a:hover::after, .nav ul a.is-active::after { transform: scaleX(1); }
.nav ul a.is-active { color: var(--clay-deep); }
.nav-cta { padding: .75rem 1.25rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--ink); border-radius: var(--radius);
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(48px, 7vw, 104px) clamp(64px, 8vw, 112px);
  background: var(--bone);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: .4;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
          mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.hero h1 {
  font-size: clamp(2.7rem, 5.6vw, 5.4rem);
  line-height: 1.02; letter-spacing: -.025em;
}
.hero h1 em { font-style: italic; color: var(--clay); }
.hero-lead {
  max-width: 56ch; margin-top: 1.75rem;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
}
.hero-facts div { display: flex; flex-direction: column-reverse; gap: .2rem; }
.hero-facts dd { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.1; }
.hero-facts dt { font-size: .8125rem; color: var(--muted); }

.hero-visual { position: relative; isolation: isolate; }
.hero-visual::before {
  content: ""; position: absolute; z-index: -1;
  inset: 28px -28px -28px 28px; background: var(--moss);
}
.hero-frame {
  position: relative; aspect-ratio: 4 / 5;
  border: 1px solid var(--ink); background: var(--sand); overflow: hidden;
}
.hero-frame svg { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.hero-visual:hover .hero-frame svg { transform: scale(1.03); }

.hero-panel {
  position: absolute; left: -32px; bottom: 44px;
  display: flex; flex-direction: column; gap: .15rem;
  max-width: 280px; padding: 1rem 1.25rem;
  background: var(--paper); border: 1px solid var(--ink);
}
.panel-label { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-deep); }
.hero-panel strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.hero-panel a { font-size: .875rem; color: var(--muted); text-underline-offset: 3px; }
.hero-panel a:hover { color: var(--ink); }

/* ---------- Ribbon ---------- */
.ribbon { background: var(--ink); color: var(--bone); }
.ribbon-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .9rem 2rem;
  padding-block: 1.4rem;
}
.ribbon-inner li {
  display: flex; align-items: center; gap: .8rem;
  font-size: .9375rem; font-weight: 500; letter-spacing: .02em;
}
.ribbon-inner li::before { content: ""; width: 8px; height: 8px; background: var(--clay); flex: none; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 136px); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 5vw, 80px); align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section h2 { font-size: clamp(2rem, 3.8vw, 3.5rem); line-height: 1.08; }
.section-lead { font-size: 1.125rem; color: var(--muted); max-width: 52ch; }

/* ---------- About ---------- */
.about { background: var(--paper); }

.about-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 88px); align-items: start;
}
.about-figure { position: sticky; top: calc(var(--header-h) + 32px); }
.figure-media { aspect-ratio: 5 / 5.2; border: 1px solid var(--ink); background: var(--sand); overflow: hidden; }
.figure-media svg { width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.about-figure:hover .figure-media svg { transform: scale(1.04); }
.about-figure figcaption {
  padding-top: .8rem; font-size: .8125rem; color: var(--muted);
}

.about-copy p + p { margin-top: 1.25rem; }
.about-copy p { font-size: 1.0625rem; line-height: 1.75; color: #2B3732; }
.about-copy .lead-copy {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.35; color: var(--ink); letter-spacing: -.01em;
}

.highlights {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem;
  margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid var(--line-strong);
}
.highlights h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.highlights p { font-size: .9375rem; color: var(--muted); line-height: 1.6; margin: 0; }

.glance {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 88px);
  border: 1px solid var(--ink); background: var(--bone);
}
.glance div { padding: 1.5rem 1.75rem; border-left: 1px solid var(--line-strong); }
.glance div:first-child { border-left: 0; }
.glance dt { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.glance dd { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; overflow-wrap: anywhere; }
.glance a { text-underline-offset: 3px; }
.glance a:hover { color: var(--clay-deep); }

/* ---------- Services ---------- */
.services { background: var(--bone); }
.services-layout {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 6vw, 104px); align-items: start;
}
.services-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.services-intro p:not(.eyebrow) { margin-top: 1.5rem; color: var(--muted); font-size: 1.0625rem; }
.area-legend { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.75rem 0 2rem; }

.service-list { border-top: 1px solid var(--ink); }
.service {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) 40px;
  gap: 1.5rem; padding: 2.25rem 0;
  border-bottom: 1px solid var(--line-strong);
  transition: background .4s var(--ease), padding .4s var(--ease);
}
.service:hover { background: var(--paper); padding-inline: 1.25rem; }
.service-num { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; color: var(--muted); padding-top: .55rem; transition: color .3s; }
.service:hover .service-num { color: var(--clay); }
.service-body h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; margin: .9rem 0 .7rem; }
.service-body p { color: var(--muted); max-width: 60ch; }
.service-icon {
  width: 32px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  transition: stroke .3s, transform .4s var(--ease);
}
.service:hover .service-icon { stroke: var(--clay); transform: translateY(-3px); }

/* ---------- Approach ---------- */
.approach { background: var(--sand); }
.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem;
}
.steps::before {
  content: ""; position: absolute; top: 22px; left: 22px; right: 22px;
  height: 1px; background: var(--ink);
}
.step { position: relative; }
.step-num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--ink); color: var(--bone);
  font-family: var(--font-display); font-size: 1.2rem;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.step:hover .step-num { background: var(--clay); transform: translateY(-3px); }
.step h3 { font-size: 1.6rem; margin: 1.5rem 0 .6rem; }
.step p { color: #3F4A45; font-size: .9875rem; max-width: 30ch; }

/* ---------- Why us ---------- */
.why { background: var(--forest); color: var(--bone); }
.why .eyebrow { color: var(--clay-soft); }
.why .section-lead { color: rgba(243, 239, 231, .75); }

.bento {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px; background: rgba(243, 239, 231, .2);
  border: 1px solid rgba(243, 239, 231, .2);
}
.benefit {
  grid-column: span 3;
  padding: clamp(1.5rem, 2.6vw, 2.75rem);
  background: var(--forest);
  transition: background .4s var(--ease);
}
.benefit:hover { background: var(--moss); }
.benefit--lead { grid-row: span 2; background: var(--sand); color: var(--ink); }
.benefit--lead:hover { background: var(--paper); }
.benefit-icon {
  width: 36px; height: 36px; margin-bottom: 1.5rem;
  fill: none; stroke: var(--clay-soft); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.benefit--lead .benefit-icon { stroke: var(--clay); width: 44px; height: 44px; }
.benefit h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.15; margin-bottom: .75rem; }
.benefit--lead h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.benefit p { color: rgba(243, 239, 231, .78); max-width: 46ch; }
.benefit--lead p { color: #33403A; font-size: 1.0625rem; max-width: 50ch; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-layout {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 104px); align-items: start;
}
.faq-layout > div:first-child p:not(.eyebrow) { margin-top: 1.5rem; color: var(--muted); }
.faq-layout a { color: var(--clay-deep); text-underline-offset: 3px; }
.faq-layout a:hover { color: var(--ink); }

.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.3;
  transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex: none; display: grid; place-items: center;
  width: 36px; height: 36px; border: 1px solid var(--ink); border-radius: 50%;
  font-family: var(--font-body); font-size: 1.3rem; line-height: 1;
  transition: transform .35s var(--ease), background .3s, color .3s;
}
.faq-item summary:hover { color: var(--clay-deep); }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--bone); }
.faq-body { padding: 0 3.5rem 1.6rem 0; color: var(--muted); animation: faq-in .4s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Contact ---------- */
.contact { background: var(--bone); padding-bottom: clamp(56px, 7vw, 96px); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 3vw, 48px); align-items: stretch;
}

.contact-card {
  display: flex; flex-direction: column;
  background: var(--ink); color: var(--bone);
  padding: clamp(28px, 3.6vw, 56px);
}
.contact-card h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); margin-bottom: 2rem; }
.contact-list { display: grid; gap: 1.6rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list svg {
  width: 26px; height: 26px; flex: none; margin-top: .15rem;
  fill: none; stroke: var(--clay-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.contact-list span { display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sand-deep); margin-bottom: .2rem; }
.contact-list strong { font-weight: 500; font-size: 1.0625rem; line-height: 1.5; overflow-wrap: anywhere; }
.contact-list a { text-underline-offset: 3px; }
.contact-list a:hover { color: var(--clay-soft); }
.map-link {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: auto; padding-top: 2.5rem;
  font-weight: 600; font-size: .9375rem; color: var(--clay-soft); text-underline-offset: 4px;
}
.map-link:hover { color: #fff; }

.form {
  background: var(--paper); border: 1px solid var(--ink);
  padding: clamp(24px, 3.6vw, 56px);
}
.form h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.form-intro { color: var(--muted); font-size: .9375rem; margin: .4rem 0 1.75rem; }

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
.field { margin-bottom: .4rem; }
.field label:not(.check) { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .4rem; }
.optional { font-weight: 400; color: var(--muted); }

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%; padding: .85rem 1rem;
  font: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(180, 83, 46, .2);
}
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { min-height: 1.4rem; padding-top: .25rem; font-size: .8125rem; color: var(--error); }

.check { display: flex; align-items: flex-start; gap: .75rem; font-size: .9375rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .15rem; flex: none; accent-color: var(--clay); }
.form-note { font-size: .875rem; color: var(--muted); margin-top: .1rem; }
.form .btn { margin-top: .75rem; }

.form-status { margin-top: 1.25rem; font-size: .9375rem; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 1rem 1.25rem; background: #E9EFEA; border-left: 3px solid var(--moss); }
.form-status.is-error { padding: 1rem 1.25rem; background: #F8E9E4; border-left: 3px solid var(--error); }

/* ---------- Skyline ---------- */
.skyline { background: var(--bone); line-height: 0; }
.skyline svg { width: 100%; height: clamp(70px, 10vw, 140px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--sand); padding-top: clamp(56px, 6vw, 88px); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: clamp(28px, 4vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer-brand p { margin-top: 1.25rem; max-width: 40ch; color: var(--sand-deep); font-size: .9375rem; }
.site-footer h4 {
  font-family: var(--font-body); font-size: .75rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--clay-soft); margin-bottom: 1.1rem;
}
.site-footer li, .site-footer address { font-size: .9375rem; line-height: 1.9; color: var(--sand-deep); }
.site-footer a { text-decoration: none; }
.site-footer li a:hover, .site-footer address a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer address a { color: var(--bone); }

.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem 2rem;
  padding-block: 1.5rem; border-top: 1px solid rgba(243, 239, 231, .16);
  font-size: .8125rem; color: var(--sand-deep);
}
.footer-bottom a:hover { color: #fff; }
.footer-bottom p { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }

/* ---------- Privacy dialog ---------- */
.privacy-dialog {
  width: min(640px, calc(100% - 40px)); max-height: calc(100vh - 40px);
  padding: 0; border: 1px solid var(--ink); background: var(--paper); color: var(--ink);
}
.privacy-dialog::backdrop { background: rgba(20, 31, 27, .6); }
.privacy-inner { padding: clamp(24px, 4vw, 44px); }
.privacy-inner h2 { font-size: 2rem; margin-bottom: 1.25rem; }
.privacy-inner p { margin-bottom: .9rem; color: #33403A; font-size: .9875rem; }
.privacy-inner a { color: var(--clay-deep); text-underline-offset: 3px; }
.privacy-inner .btn { margin-top: 1rem; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance div:nth-child(3) { border-left: 0; }
  .glance div:nth-child(n+3) { border-top: 1px solid var(--line-strong); }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    padding: 1rem var(--gutter) 1.75rem;
    background: var(--bone); border-bottom: 1px solid var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a {
    display: block; padding: .9rem 0; width: 100%;
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 400;
    border-bottom: 1px solid var(--line);
  }
  .nav ul a::after { display: none; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: 12px 28px; }
  .hero-visual::before { inset: 20px -20px -20px 20px; }
  .hero-frame { aspect-ratio: 4 / 4.4; }
  .hero-panel { left: 12px; bottom: 28px; }

  .section-head { grid-template-columns: 1fr; align-items: start; }

  .about-grid { grid-template-columns: 1fr; }
  .about-figure { position: static; }
  .figure-media { aspect-ratio: 16 / 10; }

  .services-layout, .faq-layout, .contact-grid { grid-template-columns: 1fr; }
  .services-intro { position: static; }

  .steps { grid-template-columns: 1fr; gap: 2.25rem; }
  .steps::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 1px; height: auto; }
  .step { padding-left: 70px; }
  .step-num { position: absolute; left: 0; top: 0; }
  .step h3 { margin-top: .5rem; }
  .step p { max-width: 52ch; }

  .benefit, .benefit--lead { grid-column: 1 / -1; grid-row: auto; }
}

@media (max-width: 640px) {
  .topbar-inner > p { display: none; }
  .topbar-inner { justify-content: center; }

  .hero-facts { grid-template-columns: 1fr; gap: 1rem; }
  .hero-facts div { flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: .9rem; }
  .hero-actions .btn { flex: 1 1 100%; }

  .ribbon-inner { flex-direction: column; }

  .highlights { grid-template-columns: 1fr; }
  .glance { grid-template-columns: 1fr; }
  .glance div, .glance div:nth-child(3) { border-left: 0; }
  .glance div + div { border-top: 1px solid var(--line-strong); }

  .service { grid-template-columns: 36px minmax(0, 1fr); gap: 1rem; padding: 1.75rem 0; }
  .service-icon { display: none; }
  .service:hover { padding-inline: .6rem; }

  .field-row { grid-template-columns: 1fr; }
  .faq-body { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

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