/* ==========================================================================
   Alkraft Fabricators — main stylesheet
   Design tokens taken from the approved page designs.
   Order: tokens, base, layout, type, buttons, chrome, sections, responsive.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fonts (self-hosted variable font, weight axis 400–900)
   -------------------------------------------------------------------------- */

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

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

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* surfaces */
  --a-bg: #f1f0ec;
  --a-bg-alt: #e9e7e1;
  --a-bg-dark: #151f1d;
  --a-bg-footer: #111a18;
  --a-bg-swatch-a: #dedbd3;
  --a-bg-swatch-b: #e5e2db;

  /* ink */
  --a-ink: #151f1d;
  --a-ink-inv: #f1f0ec;
  --a-muted: #5d6763;
  --a-muted-strong: #3f4a47;
  --a-muted-soft: #6f7873;
  --a-accent: #b5613e;
  --a-accent-dark: #9e5334;
  --a-success: #a9d0b4;

  /* ink on dark */
  --a-inv-70: rgba(241, 240, 236, .72);
  --a-inv-62: rgba(241, 240, 236, .62);
  --a-inv-60: rgba(241, 240, 236, .6);
  --a-inv-30: rgba(241, 240, 236, .3);

  /* rules */
  --a-line: rgba(21, 31, 29, .14);
  --a-line-strong: rgba(21, 31, 29, .2);
  --a-line-inv: rgba(241, 240, 236, .22);
  --a-line-inv-soft: rgba(241, 240, 236, .1);

  /* metrics */
  --a-maxw: 1440px;
  --a-gutter: clamp(20px, 4vw, 52px);
  --a-sec-y: clamp(56px, 7vw, 120px);
  --a-sec-y-sm: clamp(48px, 6vw, 100px);
  --a-header-h: 84px;

  /* type scale */
  --a-fs-h1: clamp(34px, 4.9vw, 70px);
  --a-fs-h2: clamp(26px, 3.4vw, 46px);
  --a-fs-h2-lg: clamp(28px, 3.6vw, 50px);
  --a-fs-h2-sm: clamp(24px, 3vw, 40px);
  --a-fs-h3: clamp(20px, 1.9vw, 26px);
  --a-fs-lead: clamp(16px, 1.3vw, 19px);

  /* motion */
  --a-ease: cubic-bezier(.22, .61, .36, 1);

  /* Contextual ink. Dark sections override these two so that bare links and
     underline buttons stay legible without every rule being duplicated. */
  --a-ink-local: var(--a-ink);
  --a-muted-local: var(--a-muted);
}

.a-hero,
.a-strip,
.a-sec--dark,
.a-quote-sec,
.a-footer,
.a-drawer {
  --a-ink-local: var(--a-ink-inv);
  --a-muted-local: var(--a-inv-70);
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@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;
  }
}

body {
  margin: 0;
  background: var(--a-bg);
  color: var(--a-ink);
  font-family: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, video, svg { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--a-ink-local); text-decoration: none; transition: color .35s var(--a-ease), opacity .35s var(--a-ease); }
a:hover { color: var(--a-accent); }

input, select, textarea, button { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--a-accent);
  outline-offset: 3px;
}

.a-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--a-ink);
  color: var(--a-ink-inv);
  padding: 14px 22px;
  font-weight: 500;
}
.a-skip:focus { left: 0; color: var(--a-ink-inv); }

.a-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

.a-wrap { max-width: var(--a-maxw); margin-inline: auto; }

.a-sec { padding: var(--a-sec-y) var(--a-gutter); }
.a-sec--sm { padding: var(--a-sec-y-sm) var(--a-gutter); }
.a-sec--flush { padding-inline: 0; }
.a-sec--alt { background: var(--a-bg-alt); }
.a-sec--dark { background: var(--a-bg-dark); color: var(--a-ink-inv); }

.a-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(30px, 4vw, 80px);
}
.a-grid-2--top { align-items: start; }

.a-grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(28px, 3.5vw, 56px);
}

/* Section head: title left, supporting note right */
.a-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(28px, 3.5vw, 56px);
}
.a-head__note { max-width: 34ch; }

/* --------------------------------------------------------------------------
   5. Typography
   -------------------------------------------------------------------------- */

.a-h1 {
  font-size: var(--a-fs-h1);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.a-h2 {
  font-size: var(--a-fs-h2);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -.035em;
}
.a-h2--lg { font-size: var(--a-fs-h2-lg); max-width: 22ch; }
.a-h2--sm { font-size: var(--a-fs-h2-sm); line-height: 1.14; letter-spacing: -.03em; }
.a-h2--wide { max-width: 30ch; line-height: 1.18; }
.a-h3 {
  font-size: var(--a-fs-h3);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.a-h4 { font-size: 18px; font-weight: 500; letter-spacing: -.01em; }

.a-lead {
  font-size: var(--a-fs-lead);
  line-height: 1.7;
  color: var(--a-muted-local);
  max-width: 52ch;
}

.a-body { font-size: 16.5px; line-height: 1.75; color: var(--a-muted-local); max-width: 46ch; }
.a-body--wide { max-width: 62ch; }

.a-note { font-size: 15px; line-height: 1.65; color: var(--a-muted-local); }
.a-fine { font-size: 13.5px; line-height: 1.7; color: var(--a-muted-local); opacity: .9; }

.a-eyebrow {
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--a-inv-60);
}

.a-num {
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--a-muted-local);
  opacity: .85;
  font-variant-numeric: tabular-nums;
}

/* Long-form prose inside editor-managed pages */
.a-prose { max-width: 70ch; }
.a-prose > * + * { margin-top: 1.1em; }
.a-prose h2 { font-size: var(--a-fs-h2-sm); font-weight: 400; letter-spacing: -.03em; margin-top: 1.8em; }
.a-prose h3 { font-size: var(--a-fs-h3); font-weight: 500; margin-top: 1.5em; }
.a-prose p, .a-prose li { font-size: 16.5px; line-height: 1.75; color: var(--a-muted); }
.a-prose ul, .a-prose ol { padding-left: 1.2em; }
.a-prose li + li { margin-top: .45em; }
.a-prose a { text-decoration: underline; text-underline-offset: 3px; }
.a-prose img { margin-block: 1.6em; }
.a-prose blockquote {
  border-left: 2px solid var(--a-accent);
  padding-left: 22px;
  font-size: 18px;
  color: var(--a-ink);
}

/* --------------------------------------------------------------------------
   6. Buttons and links
   -------------------------------------------------------------------------- */

.a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 17px 32px;
  font-size: 16px;
  font-weight: 500;
  border: 0;
  cursor: pointer;
  text-align: center;
  transition: background .35s var(--a-ease), color .35s var(--a-ease), border-color .35s var(--a-ease);
}
/* Doubled class so a button always beats the contextual link colour. */
.a-btn.a-btn--solid { background: var(--a-ink); color: var(--a-ink-inv); }
.a-btn.a-btn--solid:hover { background: var(--a-accent); color: var(--a-ink-inv); }
.a-btn.a-btn--light { background: var(--a-ink-inv); color: var(--a-ink); }
.a-btn.a-btn--light:hover { background: var(--a-accent); color: var(--a-ink-inv); }
.a-btn.a-btn--accent { background: var(--a-accent); color: var(--a-ink-inv); }
.a-btn.a-btn--accent:hover { background: var(--a-accent-dark); color: var(--a-ink-inv); }

.a-btn-line {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 17px 8px;
  font-size: 16px;
  color: var(--a-ink-local);
  border-bottom: 1px solid currentColor;
}
.a-btn-line--muted { color: var(--a-muted-local); border-bottom-color: currentColor; opacity: .82; }
.a-btn-line:hover, .a-btn-line--muted:hover { color: var(--a-accent); opacity: 1; }

.a-link-more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
}

.a-cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Segmented pill group (areas covered) */
.a-seg { display: flex; flex-wrap: wrap; gap: 0; margin-top: 8px; }
.a-seg > * {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 13px 20px;
  font-size: 15px;
  border: 1px solid var(--a-line-strong);
  margin-left: -1px;
}
.a-seg > *:first-child { margin-left: 0; }
.a-seg > *:hover { background: var(--a-ink); color: var(--a-ink-inv); }

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */

.a-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding: 26px var(--a-gutter);
  color: var(--a-ink-inv);
  transition: background .4s var(--a-ease), padding .4s var(--a-ease), color .4s var(--a-ease);
}
.a-header__inner {
  max-width: var(--a-maxw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 36px;
}
.a-header.is-stuck {
  background: var(--a-bg);
  color: var(--a-ink);
  padding-block: 15px;
  box-shadow: 0 1px 0 var(--a-line);
}
/* Pages whose hero is light start with dark header text */
.a-header--solid {
  position: sticky;
  background: var(--a-bg);
  color: var(--a-ink);
}

.a-logo { display: flex; flex-direction: column; gap: 1px; color: inherit; line-height: 1.02; }
.a-logo:hover { color: inherit; opacity: .78; }
.a-logo__a { font-size: 19px; font-weight: 700; letter-spacing: .17em; }
.a-logo__b { font-size: 10.5px; font-weight: 400; letter-spacing: .34em; opacity: .85; }
.a-logo img { max-height: 46px; width: auto; }

.a-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 14.5px;
  white-space: nowrap;
  color: inherit;
}
.a-nav a { color: inherit; opacity: .82; }
.a-nav a:hover, .a-nav .current-menu-item > a { opacity: 1; color: inherit; }

.a-header__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  color: inherit;
}
.a-header__tel { color: inherit; font-size: 15px; font-weight: 500; }
.a-header__cta {
  color: inherit;
  font-size: 14.5px;
  font-weight: 500;
  padding: 11px 0 9px;
  border-bottom: 1px solid currentColor;
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* Mobile drawer toggle */
.a-burger {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  background: none; border: 0; padding: 0;
  cursor: pointer; color: inherit;
}
.a-burger span {
  display: block;
  height: 1.5px;
  background: currentColor;
  margin: 5px auto;
  width: 24px;
  transition: transform .3s var(--a-ease), opacity .3s var(--a-ease);
}
.a-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.a-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.a-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.a-drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--a-bg-dark);
  color: var(--a-ink-inv);
  padding: 96px var(--a-gutter) 110px;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  gap: 4px;
}
.a-drawer.is-open { display: flex; }
.a-drawer a {
  color: var(--a-ink-inv);
  font-size: 21px;
  padding: 15px 0;
  border-bottom: 1px solid var(--a-line-inv);
  display: block;
}
.a-drawer__group { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--a-inv-60); margin-top: 26px; }
body.a-drawer-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */

.a-hero {
  position: relative;
  background: var(--a-bg-dark);
  color: var(--a-ink-inv);
  min-height: min(94vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.a-hero--short { min-height: min(78vh, 700px); }

.a-hero__media { position: absolute; inset: 0 0 0 auto; width: 56%; }
.a-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.a-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--a-bg-dark) 0%, rgba(21, 31, 29, .55) 34%, rgba(21, 31, 29, .12) 100%);
}
/* Fallback pattern where no photograph is set */
.a-hero__media--pattern {
  background: repeating-linear-gradient(118deg, #1e2926 0 14px, #232f2b 14px 28px);
}

.a-hero__inner {
  position: relative;
  width: 100%;
  max-width: var(--a-maxw);
  margin-inline: auto;
  padding: clamp(140px, 18vh, 220px) var(--a-gutter) clamp(44px, 6vh, 72px);
}
.a-hero__copy {
  max-width: min(62%, 860px);
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3vh, 34px);
}
.a-hero__eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--a-inv-60); }

.a-hero__stats {
  margin-top: clamp(40px, 7vh, 80px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 64px);
  padding-top: 22px;
  border-top: 1px solid rgba(241, 240, 236, .16);
}
.a-stat { display: flex; flex-direction: column; gap: 4px; }
.a-stat__v { font-size: clamp(24px, 2.4vw, 33px); font-weight: 400; letter-spacing: -.02em; }
.a-stat__k { font-size: 13.5px; color: var(--a-inv-60); }

/* Credential strip under the hero */
.a-strip { padding: clamp(18px, 2vw, 26px) var(--a-gutter); background: var(--a-bg-dark); color: var(--a-inv-60); }
.a-strip ul {
  max-width: var(--a-maxw);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  font-size: 12.5px;
  letter-spacing: .06em;
  list-style: none;
}

/* Breadcrumb */
.a-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  font-size: 13.5px;
  color: var(--a-inv-60);
  list-style: none;
  margin-bottom: 6px;
}
.a-crumb a { color: inherit; }
.a-crumb a:hover { color: var(--a-ink-inv); }
.a-crumb li::after { content: '/'; margin-left: 9px; opacity: .5; }
.a-crumb li:last-child::after { content: none; }

/* --------------------------------------------------------------------------
   9. Service index (numbered rows)
   -------------------------------------------------------------------------- */

.a-rows { display: flex; flex-direction: column; }

.a-row {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) clamp(96px, 11vw, 150px) auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: clamp(22px, 2.4vw, 32px) 0;
  border-top: 1px solid var(--a-line);
  color: var(--a-ink);
}
.a-row:last-child { border-bottom: 1px solid var(--a-line); }
.a-row:hover { color: var(--a-ink); }
.a-row:hover .a-row__t { color: var(--a-accent); }
.a-row:hover .a-row__arrow { transform: translateX(5px); }
.a-row__n { font-size: 13px; letter-spacing: .1em; color: var(--a-muted-soft); font-variant-numeric: tabular-nums; }
.a-row__c { display: flex; flex-direction: column; gap: 7px; max-width: 60ch; }
.a-row__t { transition: color .35s var(--a-ease); }
.a-row__d { font-size: 15.5px; line-height: 1.6; color: var(--a-muted); }
.a-row__p { font-size: 15.5px; color: var(--a-ink); white-space: nowrap; }
.a-row__arrow { font-size: 18px; color: var(--a-muted-soft); transition: transform .35s var(--a-ease); }

/* --------------------------------------------------------------------------
   10. Feature columns (why us / process)
   -------------------------------------------------------------------------- */

.a-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(28px, 3.5vw, 56px); }
.a-col { display: flex; flex-direction: column; gap: 12px; }
.a-col__k { font-size: 13px; letter-spacing: .1em; color: var(--a-muted-soft); }
.a-col p { font-size: 16px; line-height: 1.7; color: var(--a-muted-strong); }

/* Bordered process grid (dark) */
.a-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; }
.a-step {
  padding: clamp(22px, 2.4vw, 32px) clamp(18px, 2vw, 30px);
  border-top: 1px solid var(--a-line-inv);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.a-step:first-child { padding-left: 0; }
.a-step:last-child { padding-right: 0; }
.a-step p { font-size: 15px; line-height: 1.7; color: var(--a-muted-local); }
.a-sec:not(.a-sec--dark) .a-step { border-top-color: var(--a-line); }

/* --------------------------------------------------------------------------
   11. Media band
   -------------------------------------------------------------------------- */

.a-band {
  margin-top: clamp(36px, 4vw, 64px);
  aspect-ratio: 21 / 8;
  overflow: hidden;
  background: repeating-linear-gradient(118deg, var(--a-bg-swatch-a) 0 12px, var(--a-bg-swatch-b) 12px 24px);
}
.a-band img { width: 100%; height: 100%; object-fit: cover; }

.a-figure { overflow: hidden; background: repeating-linear-gradient(118deg, #e4e2db 0 12px, #ecebe5 12px 24px); }
.a-figure img { width: 100%; height: 100%; object-fit: cover; }
.a-figure--3-2 { aspect-ratio: 3 / 2; }
.a-figure--4-5 { aspect-ratio: 4 / 5; }

/* --------------------------------------------------------------------------
   12. Project gallery (horizontal scroller)
   -------------------------------------------------------------------------- */

.a-gal { padding: var(--a-sec-y) 0 clamp(48px, 6vw, 96px); }
.a-gal__head {
  max-width: var(--a-maxw);
  margin-inline: auto;
  padding-inline: var(--a-gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.a-gal__tools { display: flex; align-items: center; gap: 26px; }
.a-gal__nav { display: flex; gap: 0; }
.a-gal__btn {
  width: 52px; height: 52px;
  background: transparent;
  border: 1px solid var(--a-line-strong);
  color: var(--a-ink);
  font-size: 16px;
  cursor: pointer;
  transition: background .3s var(--a-ease), color .3s var(--a-ease);
}
.a-gal__btn + .a-gal__btn { border-left: 0; }
.a-gal__btn:hover { background: var(--a-ink); color: var(--a-ink-inv); }
.a-gal__btn[disabled] { opacity: .35; cursor: default; }
.a-gal__btn[disabled]:hover { background: transparent; color: var(--a-ink); }

.a-gal__track {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 var(--a-gutter) 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.a-gal__track::-webkit-scrollbar { display: none; }

.a-shot { flex: 0 0 clamp(260px, 30vw, 440px); scroll-snap-align: start; }
.a-shot__cap { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; margin-top: 14px; }
.a-shot__t { font-size: 15.5px; }
.a-shot__l { font-size: 13.5px; color: var(--a-muted-soft); }

/* --------------------------------------------------------------------------
   13. Price list
   -------------------------------------------------------------------------- */

.a-price { border-top: 1px solid var(--a-line); }
.a-price__r {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--a-line);
  font-size: 16px;
}
.a-price__r span:last-child { white-space: nowrap; color: var(--a-ink); }
.a-price__r span:first-child { color: var(--a-muted); }

/* Factors that move the price */
.a-factors { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.a-factor {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--a-line);
  font-size: 15.5px;
}
.a-factor span:last-child { color: var(--a-muted-soft); font-size: 14px; white-space: nowrap; }

/* --------------------------------------------------------------------------
   14. Types / spec cards (service pages)
   -------------------------------------------------------------------------- */

.a-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 3vw, 52px); }
.a-type { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--a-line); }
.a-type__media { margin-bottom: 4px; }
.a-type p { font-size: 15.5px; line-height: 1.72; color: var(--a-muted); }
.a-specs { display: flex; flex-direction: column; margin-top: 4px; }
.a-spec {
  display: grid;
  grid-template-columns: minmax(72px, 88px) 1fr;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--a-line);
  font-size: 14.5px;
}
.a-spec dt { color: var(--a-muted-soft); }
.a-spec dd { margin: 0; color: var(--a-ink); }

/* Three-up explainer cards */
.a-explain { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(26px, 3vw, 52px); }
.a-explain > div { display: flex; flex-direction: column; gap: 11px; }
.a-explain p { font-size: 15.5px; line-height: 1.72; color: var(--a-muted); }

/* Inline cross-link paragraph */
.a-crosslink {
  margin-top: clamp(30px, 3.5vw, 52px);
  padding-top: 24px;
  border-top: 1px solid var(--a-line);
  font-size: 16px;
  line-height: 1.75;
  color: var(--a-muted);
  max-width: 68ch;
}
.a-crosslink a { color: var(--a-ink); border-bottom: 1px solid var(--a-line-strong); }
.a-crosslink a:hover { color: var(--a-accent); border-bottom-color: currentColor; }

/* --------------------------------------------------------------------------
   15. Reviews
   -------------------------------------------------------------------------- */

.a-rating { display: flex; align-items: baseline; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--a-line); }
.a-rating__v { font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.03em; }
.a-quotes { display: flex; flex-direction: column; gap: 22px; }
.a-quote { display: flex; flex-direction: column; gap: 8px; }
.a-quote blockquote { font-size: 16px; line-height: 1.7; color: var(--a-ink); }
.a-quote figcaption { font-size: 14px; color: var(--a-muted-soft); }

.a-verified { display: flex; flex-direction: column; }
.a-verified__r {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 13px 0;
  border-top: 1px solid var(--a-line);
  font-size: 15px;
}
.a-verified__r span:last-child { color: var(--a-muted-soft); font-size: 14px; }

/* --------------------------------------------------------------------------
   16. FAQ
   -------------------------------------------------------------------------- */

.a-faq { max-width: 1000px; margin-inline: auto; }
.a-faq details { border-top: 1px solid var(--a-line); padding: clamp(20px, 2.2vw, 28px) 0; }
.a-faq details:last-of-type { border-bottom: 1px solid var(--a-line); }
.a-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.4;
  letter-spacing: -.01em;
}
.a-faq summary::-webkit-details-marker { display: none; }
.a-faq summary::after {
  content: '+';
  flex: none;
  font-size: 20px;
  line-height: 1;
  color: var(--a-muted-soft);
  transition: transform .3s var(--a-ease);
}
.a-faq details[open] summary::after { transform: rotate(45deg); }
.a-faq details p { margin-top: 16px; font-size: 16px; line-height: 1.75; color: var(--a-muted); max-width: 70ch; }

/* --------------------------------------------------------------------------
   17. Quote block
   -------------------------------------------------------------------------- */

.a-quote-sec { background: var(--a-bg-dark); color: var(--a-ink-inv); }
.a-quote-sec .a-grid-2 { gap: clamp(36px, 5vw, 100px); grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.a-quote-sec h2 { font-size: clamp(30px, 4vw, 56px); line-height: 1.06; }
.a-quote-sec .a-lead { font-size: 17.5px; max-width: 42ch; }

.a-contact { display: flex; flex-direction: column; gap: 16px; margin-top: 6px; }
.a-contact__r { display: flex; gap: 16px; font-size: 15px; }
.a-contact__k { flex: none; width: 88px; color: var(--a-inv-60); }
.a-contact__v { color: var(--a-ink-inv); }
.a-contact__v a { color: var(--a-ink-inv); border-bottom: 1px solid var(--a-inv-30); }

/* Native form fallback (used when no Fluent Forms shortcode is set) */
.a-form { display: flex; flex-direction: column; gap: 24px; }
.a-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; }
.a-field { display: flex; flex-direction: column; gap: 9px; }
.a-field label { font-size: 13.5px; letter-spacing: .05em; color: var(--a-inv-60); }
.a-field input, .a-field select, .a-field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--a-line-inv);
  color: var(--a-ink-inv);
  padding: 11px 0;
  font-size: 16px;
  min-height: 46px;
  border-radius: 0;
  appearance: none;
}
.a-field textarea { resize: vertical; min-height: 92px; }
.a-field input:focus, .a-field select:focus, .a-field textarea:focus {
  outline: 0;
  border-bottom-color: var(--a-ink-inv);
}
.a-field select option { color: #151f1d; }
.a-form__hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.a-form__msg { font-size: 14.5px; color: var(--a-success); }
.a-form__err { font-size: 14.5px; color: #e5a08a; }

/* Fluent Forms living inside the dark quote block */
.a-ff-dark .fluentform label,
.a-ff-dark .fluentform .ff-el-input--label label { color: var(--a-inv-60) !important; font-weight: 400 !important; }
.a-ff-dark .fluentform input:not([type="submit"]),
.a-ff-dark .fluentform select,
.a-ff-dark .fluentform textarea {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--a-line-inv) !important;
  border-radius: 0 !important;
  color: var(--a-ink-inv) !important;
  padding-inline: 0 !important;
  box-shadow: none !important;
}
.a-ff-dark .fluentform input:focus, .a-ff-dark .fluentform textarea:focus, .a-ff-dark .fluentform select:focus {
  border-bottom-color: var(--a-ink-inv) !important;
}
.a-ff-dark .fluentform .ff-btn-submit {
  background: var(--a-accent) !important;
  color: var(--a-ink-inv) !important;
  border: 0 !important;
  border-radius: 0 !important;
  min-height: 56px;
  padding: 17px 34px !important;
  font-weight: 500 !important;
}
.a-ff-dark .fluentform .ff-btn-submit:hover { background: var(--a-accent-dark) !important; }
.a-ff-dark .fluentform .ff-el-form-check-label, .a-ff-dark .fluentform .ff-el-help-message { color: var(--a-inv-62) !important; }

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */

.a-footer { background: var(--a-bg-footer); color: var(--a-inv-62); }
.a-footer a { color: inherit; }
.a-footer a:hover { color: var(--a-ink-inv); }
.a-footer__top {
  max-width: var(--a-maxw);
  margin-inline: auto;
  padding: clamp(44px, 5vw, 80px) var(--a-gutter) 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.a-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.a-footer__brand .a-logo { color: var(--a-ink-inv); }
.a-footer__addr { font-size: 13px; line-height: 1.8; }
.a-footer__addr a { border-bottom: 1px solid var(--a-line-inv-soft); }
.a-footer__col { display: flex; flex-direction: column; gap: 13px; }
.a-footer__col h2, .a-footer__col .a-footer__h {
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--a-inv-60);
  font-weight: 400;
  margin-bottom: 3px;
}
.a-footer__col a { font-size: 15px; }
.a-footer__bot {
  max-width: var(--a-maxw);
  margin-inline: auto;
  padding: 24px var(--a-gutter) 36px;
  border-top: 1px solid var(--a-line-inv-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   19. Sticky mobile action bar
   -------------------------------------------------------------------------- */

.a-mobilebar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 70;
  background: var(--a-bg-dark);
  padding: 10px;
  gap: 10px;
  display: none;
}
.a-mobilebar a {
  flex: 1;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 16px;
}
.a-mobilebar a:first-child { background: var(--a-ink-inv); color: var(--a-ink); }
.a-mobilebar a:last-child { background: var(--a-accent); color: var(--a-ink-inv); }

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .a-row { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .a-row__arrow { display: none; }
}

@media (max-width: 860px) {
  .a-nav, .a-header__actions { display: none; }
  .a-burger { display: block; }
  .a-mobilebar { display: flex; }
  body { padding-bottom: 72px; }

  .a-hero__media { width: 100%; opacity: .5; }
  .a-hero__media::after {
    background: linear-gradient(180deg, rgba(21, 31, 29, .82) 0%, rgba(21, 31, 29, .7) 45%, var(--a-bg-dark) 100%);
  }
  .a-hero__copy { max-width: 100%; }
  .a-hero { min-height: auto; }
  .a-hero__inner { padding-top: clamp(120px, 20vh, 170px); }

  .a-step, .a-step:first-child, .a-step:last-child { padding-inline: 0; }
  .a-gal__tools { width: 100%; justify-content: space-between; }
  .a-shot { flex-basis: 78vw; }
  .a-footer__bot { flex-direction: column; gap: 8px; }
}

@media (max-width: 620px) {
  .a-row { grid-template-columns: 30px minmax(0, 1fr); row-gap: 6px; }
  .a-row__p { grid-column: 2; }
  .a-seg > * { flex: 1 1 auto; justify-content: center; }
  .a-factor { padding-block: 13px; }
}

@media print {
  .a-header, .a-mobilebar, .a-gal__nav, .a-drawer { display: none !important; }
  body { background: #fff; }
  .a-sec--dark, .a-hero, .a-footer { background: #fff !important; color: #000 !important; }
}
