/* ============================================================
   Aktner El & Teknik — Hantverkarfirma, foto-driven, magasin
   ============================================================ */

:root {
  --paper: #F1ECDF;
  --paper-2: #E8E2D0;
  --paper-3: #DDD6C0;
  --ink: #1A1814;
  --ink-2: #2D2A23;
  --muted: #6B6657;
  --line: #C9C2AC;
  --line-soft: #D8D2BD;
  --accent: #2B5BA5;
  --accent-deep: #133062;
  --bolt: #6FA0DA;
  --warn: #B85B2A;

  --serif: 'Fraunces', 'Times New Roman', Georgia, serif;
  --sans:  'Inter', ui-sans-serif, system-ui, -apple-system, 'Helvetica Neue', sans-serif;

  --max: 1280px;
  --gutter: clamp(1rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ============================================================
   Top utility bar — masthead-känsla
   ============================================================ */
.utility {
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: .02em;
}
.utility__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 9px;
  gap: .5rem 1.5rem;
  flex-wrap: wrap;
  min-width: 0;
}
.utility__inner > * { min-width: 0; overflow-wrap: anywhere; }
.utility__short { display: none; }
@media (max-width: 600px) {
  .utility__inner {
    justify-content: center;
    flex-wrap: nowrap;
    padding-block: 8px;
  }
  .utility__full { display: none; }
  .utility__short {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .utility__phone { display: none; }
}
.utility a:hover { color: var(--bolt); }
.utility__phone { font-weight: 600; }
.utility__phone::before { content: "☎  "; opacity: .65; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  position: sticky;
  top: 0; z-index: 50;
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding-block: 18px;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: .04em;
  font-size: 20px;
  color: var(--ink);
}
.brand__logo {
  display: block;
  width: clamp(148px, 18vw, 220px);
  height: auto;
}
.brand--footer .brand__logo {
  width: clamp(168px, 22vw, 240px);
  background: var(--paper);
  border-radius: 2px;
  padding: 8px 10px;
}

.nav {
  display: flex;
  gap: clamp(.75rem, 2.5vw, 2rem);
  font-size: 15px;
  justify-content: center;
}
.nav a { padding: .35em .15em; color: var(--ink-2); position: relative; }
.nav a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 4px;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bars {
  display: block;
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: background .15s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, top .2s ease;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top:  6px; }
.site-header.is-open .nav-toggle__bars { background: transparent; }
.site-header.is-open .nav-toggle__bars::before { transform: rotate( 45deg); top: 0; }
.site-header.is-open .nav-toggle__bars::after  { transform: rotate(-45deg); top: 0; }

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--accent { background: var(--accent); color: white; }
.btn--accent:hover { background: var(--accent-deep); }
.btn--lg { padding: 16px 28px; font-size: 16px; }

/* ============================================================
   Hero — broken grid, magazine
   ============================================================ */
.hero {
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
}
.hero__copy h1 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.5vw, 5.4rem);
  line-height: .96;
  letter-spacing: -.025em;
  margin: 0 0 1.5rem;
  text-wrap: balance;
}
.hero__copy h1 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}
.hero__lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0 0 2rem;
}
.hero__cta { display: flex; gap: .75rem; flex-wrap: wrap; }

.hero__signoff {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.hero__signoff-text { font-size: 14.5px; line-height: 1.4; color: var(--ink-2); }
.hero__signoff-text strong { display: block; font-weight: 600; }
.hero__signoff-text small { color: var(--muted); }

/* Hero photo */
/* Hero photo / gallery container — mjukt, runda hörn, dynamisk */
.hero__photo {
  position: relative;
  background: var(--paper-2);
  overflow: hidden;
  min-height: 520px;
  border-radius: 24px;
  box-shadow: 0 20px 50px -20px rgba(26,24,20,.25), 0 4px 12px -4px rgba(26,24,20,.08);
}
.hero__photo::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 30%, rgba(43,91,165,.08), transparent 60%),
    repeating-linear-gradient(135deg, rgba(26,24,20,.04) 0 1.5px, transparent 1.5px 9px);
}
.hero__photo-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--ink); color: var(--paper);
  padding: 6px 10px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.hero__photo-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(26,24,20,.92));
  color: var(--paper);
  padding: 60px 20px 18px;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: .005em;
}
.hero__photo-cap span { display: block; font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .65; margin-bottom: 4px; }

/* Photo placeholder text — make it look intentional */
.photo-needed {
  position: absolute;
  inset: 50% 20px auto 20px;
  transform: translateY(-50%);
  text-align: center;
  font-family: var(--sans);
  color: var(--muted);
  font-size: 18px;
}
.photo-needed strong { display: block; font-family: var(--sans); font-style: normal; font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }

/* ============================================================
   Trust bar (no fake stats — real signals)
   ============================================================ */
.trust-bar {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.trust-bar__row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .75rem 2rem;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-2);
}
.trust-bar__item { display: inline-flex; align-items: center; gap: .55rem; }
.trust-bar__item svg { color: var(--accent); flex-shrink: 0; }

/* ============================================================
   Section header (no roman numerals)
   ============================================================ */
.hero, .section { scroll-margin-top: 96px; }
.section { padding-block: clamp(3.5rem, 6vw, 6rem); }
.section--paper-2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .muted { color: rgba(241,236,223,.6); }

.section__head {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.section--ink .section__head { border-color: rgba(241,236,223,.18); }

.section__kicker {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.section--ink .section__kicker { color: var(--bolt); }

.section__head h2 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
}
.section__head h2 em { font-style: normal; color: var(--accent); font-weight: 500; }
.section--ink .section__head h2 em { color: var(--bolt); }

.section__intro {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 1rem 0 0;
}
.section--ink .section__intro { color: rgba(241,236,223,.78); }

/* ============================================================
   Services — magazine columns
   ============================================================ */
/* Services — index/innehållsförteckning */
.services {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 2px solid var(--ink);
}
.service {
  display: grid;
  grid-template-columns: 80px minmax(0, 1.6fr) minmax(0, 2fr) minmax(140px, auto);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: baseline;
  padding: clamp(1.1rem, 2vw, 1.5rem) 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s, padding-inline .2s;
}
.service:hover {
  background: var(--paper-2);
  padding-inline: 1rem;
}
.service__num {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  color: var(--accent);
  letter-spacing: -.01em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.service__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: -.02em;
  margin: 0;
  line-height: 1.1;
}
.service__desc {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--muted);
}
/* ============================================================
   Spotlight — Laddbox med foto
   ============================================================ */
.spotlight {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
}
.spotlight--copy-first { grid-template-columns: 1fr 1.05fr; }
.spotlight__photo {
  position: relative;
  margin: 0;
  min-height: 480px;
  border-radius: 20px;
  box-shadow: 0 16px 40px -16px rgba(26,24,20,.22);
  background: var(--paper-3);
  border: 1px solid var(--line);
  overflow: hidden;
}
.spotlight__photo::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(140% 80% at 30% 70%, rgba(43,91,165,.1), transparent 60%),
    repeating-linear-gradient(135deg, rgba(26,24,20,.04) 0 1.5px, transparent 1.5px 9px);
}
.spotlight__photo-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: white;
  padding: 6px 10px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.spotlight__copy h3 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 1rem;
}
.spotlight__copy h3 em { font-style: normal; color: var(--accent); font-weight: 500; }
#energi .spotlight__copy h3 em { color: #2F5A3A; }
.spotlight__copy p {
  font-size: 17px; line-height: 1.6; color: var(--ink-2); margin: 0 0 1.25rem;
}
.spotlight__list {
  list-style: none; padding: 0; margin: 1.5rem 0;
  display: grid; gap: 0;
}
.spotlight__list li {
  padding: .9rem 0;
  border-top: 1px solid var(--line-soft);
  font-size: 15.5px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: .75rem;
}
.spotlight__list li:last-child { border-bottom: 1px solid var(--line-soft); }
.spotlight__list li::before {
  content: "→";
  color: var(--accent);
  font-weight: 700;
}
.spotlight__partners {
  margin-top: 1.75rem;
}
.spotlight__partners small {
  display: block;
  font-size: 12px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .75rem;
}
.spotlight__partners-row {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.spotlight__partners-row span {
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 14px; font-weight: 600;
  font-family: var(--sans);
  letter-spacing: -.005em;
}

/* ============================================================
   Brands — typografisk, ingen platta-aktig grid
   ============================================================ */
.brand-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-block: 1px solid var(--line);
}
.section--ink .brand-list { border-color: rgba(241,236,223,.18); }
.brand-list__item {
  padding: 2rem 1.25rem;
  border-right: 1px solid var(--line);
  display: grid;
  gap: .35rem;
  align-content: end;
  min-height: 170px;
}
.section--ink .brand-list__item { border-color: rgba(241,236,223,.18); }
.brand-list__item:last-child { border-right: 0; }
.brand-list__name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -.02em;
  line-height: 1;
}
.brand-list__cat {
  font-size: 13px;
  color: var(--muted);
}
.section--ink .brand-list__cat { color: rgba(241,236,223,.55); }

/* ============================================================
   Cases — magazine card
   ============================================================ */
.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.case {
  display: grid;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.case__photo {
  aspect-ratio: 5/4;
  position: relative;
  border-radius: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.case__photo::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(26,24,20,.05) 0 1.5px, transparent 1.5px 9px);
}
.case__photo-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--ink); color: var(--paper);
  padding: 5px 8px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.case__client {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.case__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 0;
  text-align: left;
}
.case__meta {
  display: flex;
  gap: 1rem;
  font-size: 13.5px;
  color: var(--muted);
}
.case__meta span::before { content: ""; }
.case__meta span + span::before { content: "·"; margin-right: .75rem; }

/* ============================================================
   Pull quote — Dennis röst
   ============================================================ */
.pullquote {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}
.pullquote__inner {
  max-width: 920px;
  margin-inline: auto;
  text-align: left;
}
.pullquote__mark {
  font-family: var(--sans);
  font-size: 8rem;
  line-height: .6;
  color: var(--bolt);
  margin: 0;
  display: block;
}
.pullquote__text {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -.015em;
  margin: 1rem 0 2rem;
  text-wrap: pretty;
}
.pullquote__attr { font-size: 14px; letter-spacing: .04em; color: rgba(241,236,223,.7); }
.pullquote__attr strong { color: var(--paper); display: block; font-size: 16px; letter-spacing: -.005em; margin-bottom: 2px; }

/* ============================================================
   Contact / footer combined
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.contact__copy h2 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: .98;
  letter-spacing: -.025em;
  margin: 1rem 0 1.25rem;
}
.contact__copy h2 em { font-style: normal; color: var(--accent); font-weight: 500; }
.contact__copy p { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 50ch; }
.contact__direct {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
}
.contact__direct-row { display: grid; grid-template-columns: 90px 1fr; align-items: baseline; gap: 1rem; font-size: 17px; }
.contact__direct-row small { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.contact__direct-row a { font-family: var(--sans); font-size: 22px; letter-spacing: -.01em; }
.contact__direct-row a:hover { color: var(--accent); }

.form {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  gap: 1rem;
}
.form[hidden] { display: none; }
.form h3 { font-family: var(--sans); font-weight: 500; font-size: 22px; margin: 0 0 .25rem; letter-spacing: -.01em; }
.form p { margin: 0 0 1rem; font-size: 14.5px; color: var(--muted); }
.form label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 14px;
  font: 16px var(--sans);
  color: var(--ink);
  letter-spacing: -.005em;
  text-transform: none;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper);
}
.form textarea {
  min-height: 120px;
  resize: vertical;
  /* Auto-grow as user types — no JS. Baseline 2025. */
  field-sizing: content;
  max-height: 60vh;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.form button { margin-top: .25rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(241,236,223,.15);
}
.site-footer h4 { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(241,236,223,.55); margin: 0 0 .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 14.5px; color: rgba(241,236,223,.85); }
.site-footer__bottom { padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 13px; color: rgba(241,236,223,.55); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid, .spotlight, .contact { grid-template-columns: 1fr; }
  .hero__photo, .spotlight__photo { min-height: 320px; }
  .hero__grid > .gallery { width: 100%; }
  .section__head { grid-template-columns: 1fr; }
  .cases { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .service { grid-template-columns: 48px 1fr; gap: .35rem 1rem; }
  .service__title { grid-column: 2; }
  .service__desc { grid-column: 2; }
  .contact__direct-row a {
    min-height: 44px;
    display: flex;
    align-items: center;
    overflow-wrap: anywhere;
  }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .site-header__inner {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding-block: 12px;
    position: relative;
  }
  .brand { min-height: 44px; flex: 0 0 auto; }
  .brand__logo { width: clamp(118px, 24vw, 146px); }
  .nav-toggle { display: inline-flex; flex: 0 0 44px; }
  .site-header__cta { min-height: 44px; margin-left: auto; padding: 10px 14px; font-size: 13px; }

  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--ink);
    padding: .25rem var(--gutter) .75rem;
    gap: 0;
    z-index: 60;
    box-shadow: 0 12px 24px -8px rgba(26,24,20,.18);
  }
  .site-header.is-open .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 17px;
    color: var(--ink);
  }
  .site-header.is-open .nav a:last-child { border-bottom: 0; }
  .videoband__btn { width: 44px; height: 44px; }
}
@media (max-width: 600px) {
  .nav { display: none; }
  .site-header__inner {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding-block: 12px;
    position: relative;
  }
  .brand { min-height: 44px; }
  .brand__logo { width: clamp(118px, 38vw, 146px); }
  .nav-toggle { display: inline-flex; }
  .site-header__cta { min-height: 44px; margin-left: auto; padding: 10px 14px; font-size: 13px; }

  .site-header.is-open .nav {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--ink);
    padding: .25rem var(--gutter) .75rem;
    gap: 0;
    z-index: 60;
    box-shadow: 0 12px 24px -8px rgba(26,24,20,.18);
  }
  .site-header.is-open .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 17px;
    color: var(--ink);
  }
  .site-header.is-open .nav a:last-child { border-bottom: 0; }
  .gallery__stage { max-height: min(58vh, 520px); }
  .cases { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .contact__direct-row { grid-template-columns: 1fr; gap: .25rem; }
  .contact__direct-row a {
    min-height: 44px;
    display: flex;
    align-items: center;
    overflow-wrap: anywhere;
  }
  .site-footer__grid { grid-template-columns: 1fr; }
  .brand-list__item { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .section--ink .brand-list__item { border-color: rgba(241,236,223,.18); }
  .hero, .section { scroll-margin-top: 112px; }
}
@media (max-width: 380px) {
  .service {
    grid-template-columns: 1fr;
    gap: .55rem;
  }
  .service__title,
  .service__desc {
    grid-column: auto;
  }
}

/* ============================================================
   Gallery — image-driven sizing
   ============================================================ */
.gallery { display: grid; gap: .85rem; outline: none; }
.gallery__stage {
  position: relative;
  width: 100%;
  /* Adapts to current slide; updated via --ar from JS */
  aspect-ratio: var(--ar, 16 / 9);
  max-height: min(72vh, 720px);
  border-radius: 22px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 24px 60px -28px rgba(26,24,20,.35), inset 0 0 0 1px rgba(255,255,255,.06);
  transition: aspect-ratio .5s cubic-bezier(.4,0,.2,1);
}
.gallery__track { position: absolute; inset: 0; }
.gallery__slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0;
  transition: opacity .55s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.gallery__slide.is-active { opacity: 1; pointer-events: auto; }
.gallery__slide img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.gallery__slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent 10%, rgba(26,24,20,.85) 90%);
  padding: 70px 22px 18px;
  color: var(--paper);
  font-size: 14.5px;
  line-height: 1.4;
  pointer-events: none;
}
.gallery__slide figcaption strong {
  display: block; font-size: 17px; font-weight: 600; margin-bottom: 3px; letter-spacing: -.01em;
}
.gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(241,236,223,.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-size: 26px; line-height: 1;
  border: 0;
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
  box-shadow: 0 4px 14px rgba(26,24,20,.18);
}
.gallery__nav:hover { background: var(--ink); color: var(--paper); transform: translateY(-50%) scale(1.06); }
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
.gallery__thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.gallery__thumb {
  padding: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 1;
  display: grid;
  place-items: center;
  transition: transform .2s;
}
.gallery__thumb::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(26,24,20,.28);
  transition: width .2s, background .2s;
}
.gallery__thumb:hover { transform: translateY(-2px); }
.gallery__thumb:hover::before { background: rgba(26,24,20,.46); }
.gallery__thumb.is-active::before { width: 28px; background: var(--accent); }
@media (max-width: 700px) {
  .gallery__nav { width: 44px; height: 44px; font-size: 24px; }
  .gallery__stage { max-height: 60vh; }
}

/* ============================================================
   Video band — frameless, floating
   ============================================================ */
.videoband {
  position: relative;
  width: 100%;
  background: transparent;
  padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 3vw, 3rem);
}
.videoband__inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}
.videoband__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background: transparent;
}
.videoband__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.6) 100%);
  color: var(--paper);
  z-index: 2;
  pointer-events: none;
}
.videoband__kicker {
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(241,236,223,.85);
  font-weight: 600;
  margin-bottom: .55rem;
}
.videoband__title {
  font-family: var(--sans);
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 .55rem;
  max-width: 22ch;
  text-wrap: balance;
}
.videoband__title em {
  font-style: normal;
  color: var(--accent-soft, #d6c79a);
  font-weight: 500;
}
.videoband__lede {
  font-size: clamp(.92rem, 1.05vw, 1.05rem);
  line-height: 1.5;
  max-width: 56ch;
  color: rgba(241,236,223,.92);
  margin: 0;
  text-wrap: pretty;
}
.videoband__controls {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  display: flex; gap: 6px;
  opacity: 0;
  transition: opacity .25s ease;
}
.videoband__inner:hover .videoband__controls,
.videoband__controls:focus-within { opacity: 1; }
.videoband__btn {
  width: 32px; height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(241,236,223,.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.videoband__btn:hover { background: var(--paper); transform: scale(1.06); }
@media (max-width: 700px) {
  .videoband__inner { aspect-ratio: 4 / 3; }
  .videoband__title { font-size: 1.4rem; }
  .videoband__controls { opacity: 1; }
  .videoband__btn { width: 44px; height: 44px; }
}
@media (max-width: 860px) {
  .videoband__controls { opacity: 1; }
  .videoband__btn { width: 44px; height: 44px; }
}

/* ============================================================
   Moving header variant — full-bleed cinematic banner at top
   Uses CSS scroll-driven animations; no JS. Falls back to a
   static full-bleed banner where animation-timeline is unsupported.
   ============================================================ */
.videoband--header {
  padding: 0;
  height: 85vh;
  min-height: 480px;
  max-height: 820px;
  overflow: clip;
  background: var(--ink, #111);
}
.videoband--header .videoband__inner {
  position: sticky;
  top: 0;
  max-width: none;
  width: 100%;
  height: 100vh;
  max-height: 100%;
  aspect-ratio: auto;
}
.videoband--header .videoband__video {
  will-change: transform;
  transform: scale(1.08);
}
.videoband--header .videoband__overlay {
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%);
  padding: clamp(1.5rem, 5vw, 4rem);
  will-change: transform, opacity;
}
.videoband--header .videoband__title {
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  max-width: 26ch;
}
.videoband--header .videoband__lede {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
}
.videoband--header .videoband__controls {
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  gap: 14px;
  opacity: 1;
  pointer-events: auto;
}
.videoband--header .videoband__btn {
  width: clamp(52px, 6vw, 64px);
  height: clamp(52px, 6vw, 64px);
  background: rgba(241,236,223,.92);
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
}
.videoband--header .videoband__btn svg {
  width: 18px;
  height: 18px;
}

@supports (animation-timeline: view()) {
  .videoband--header .videoband__video {
    animation: aktner-videoband-parallax linear both;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
  }
  .videoband--header .videoband__overlay {
    animation: aktner-videoband-fade linear both;
    animation-timeline: view();
    animation-range: exit 0% exit 80%;
  }
  @keyframes aktner-videoband-parallax {
    from { transform: translateY(-8%) scale(1.12); }
    to   { transform: translateY( 8%) scale(1.12); }
  }
  @keyframes aktner-videoband-fade {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-32px); }
  }
}

@media (max-width: 700px) {
  .videoband--header { height: 70vh; min-height: 420px; }
  .videoband--header .videoband__title { font-size: clamp(1.5rem, 7vw, 2rem); }
}

@media (prefers-reduced-motion: reduce) {
  .videoband--header .videoband__video,
  .videoband--header .videoband__overlay {
    animation: none !important;
    transform: none;
  }
}

.tweaks {
  position: fixed; right: 16px; bottom: 16px; z-index: 80;
  background: rgba(241,236,223,.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--ink);
  padding: 14px 16px;
  display: none;
  width: 240px;
  font-size: 13px;
}
.tweaks.is-open { display: block; }
.tweaks h5 { margin: 0 0 8px; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.tweaks__row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); }
.tweaks__row:first-of-type { border-top: 0; }
.tweaks__swatches { display: flex; gap: 6px; }
.tweaks__swatch { width: 22px; height: 22px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.tweaks__swatch.is-active { border-color: var(--ink); }

/* ============================================================
   Scroll-driven animations — CSS-only, no JS, no IntersectionObserver
   Spec: animation-timeline: scroll() | view() — Baseline Chrome/Edge 115+ (2024)
   Pattern: ceduix lab /lab/scroll-driven.html (2026-05-18)
   Replaces any side-mounted scroll indicator with a top progress bar
   plus per-section reveal-on-entry.
   ============================================================ */

@supports (animation-timeline: scroll()) {

  /* Top progress bar — tracks root scroll, 0%→100% */
  .scroll-progress {
    position: fixed;
    inset: 0 0 auto 0;
    height: 6px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
    z-index: 100;
    pointer-events: none;
    animation: aktner-progress linear;
    animation-timeline: scroll(root block);
    will-change: transform;
  }
  .scroll-progress::after {
    content: '';
    position: absolute;
    right: 0; top: 0;
    width: 60px; height: 100%;
    background: linear-gradient(to right, transparent, var(--bolt));
    filter: blur(3px);
    opacity: .8;
  }
  @keyframes aktner-progress {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
  }

  /* Section reveal — animates as element enters viewport */
  .section,
  .trust-bar,
  .pullquote,
  .videoband {
    animation: aktner-section-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }
  @keyframes aktner-section-reveal {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Service tile stagger — each card reveals on its own view() timeline */
  .service,
  .case {
    animation: aktner-card-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 80%;
  }
  @keyframes aktner-card-reveal {
    from { opacity: 0; transform: translateY(36px) scale(.985); filter: blur(3px); }
    to   { opacity: 1; transform: translateY(0)   scale(1);     filter: blur(0); }
  }

  /* Spotlight photo parallax — bound to root scroll */
  .spotlight__photo img {
    animation: aktner-parallax linear;
    animation-timeline: view();
    animation-range: cover 0% cover 100%;
    will-change: transform;
  }
  @keyframes aktner-parallax {
    from { transform: translateY(-6%) scale(1.06); }
    to   { transform: translateY( 6%) scale(1.06); }
  }

  /* Hero copy fades + softens as user scrolls past */
  .hero__copy {
    animation: aktner-hero-fade linear;
    animation-timeline: scroll(root block);
    animation-range: 0 70vh;
  }
  @keyframes aktner-hero-fade {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: .35; transform: translateY(-18px); }
  }

  /* Reduce-motion: keep the progress bar (UI affordance, not vestibular motion)
     and keep gentle opacity-only fades on reveals; drop big transforms + parallax. */
  @media (prefers-reduced-motion: reduce) {
    .spotlight__photo img,
    .hero__copy {
      animation: none !important;
    }
    .section, .trust-bar, .pullquote, .videoband,
    .service, .case {
      animation-name: aktner-reveal-opacity;
    }
    @keyframes aktner-reveal-opacity {
      from { opacity: 0; }
      to   { opacity: 1; }
    }
  }
}

/* ============================================================
   Magazine-quality typography — text-wrap balance/pretty
   Baseline 2024. Browsers without support get default wrapping.
   ============================================================ */
h1, h2, h3,
.section__kicker,
.videoband__title,
.pullquote__attr strong {
  text-wrap: balance;
}
.hero__lede,
.section__intro,
.pullquote__text,
.spotlight__copy p,
.contact__copy p,
.service__desc,
.case__desc {
  text-wrap: pretty;
}

/* ============================================================
   Native <dialog> photo lightbox — opens on gallery slide click
   Uses ::backdrop, focus trap is built-in, Esc closes by default.
   ============================================================ */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 96vw;
  max-height: 94vh;
  width: auto;
  margin: auto;
  color: var(--paper);
}
.lightbox::backdrop {
  background: rgba(10, 9, 7, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox img {
  max-width: 96vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox__caption {
  margin-top: .75rem;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
  text-align: center;
  color: rgba(241,236,223,.92);
}
.lightbox__caption strong { display: block; font-weight: 500; }
.lightbox__caption span   { display: block; font-size: 14px; color: rgba(241,236,223,.65); }
.lightbox__close {
  position: fixed;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(241,236,223,.12);
  color: var(--paper);
  font-size: 22px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  transition: background .15s;
}
.lightbox__close:hover { background: rgba(241,236,223,.24); }
.gallery__slide.is-active { cursor: zoom-in; }
