/* ============================================================
   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;
}
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: 9px 0;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.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 svg { color: var(--bolt); }
.brand small { font-weight: 500; letter-spacing: .14em; font-size: 11px; color: var(--muted); margin-left: 4px; }

.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); }

.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);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: center;
}
.hero__signoff-img {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--sans);
  color: var(--muted);
  font-size: 22px;
}
.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)
   ============================================================ */
.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);
}
.service__cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-align: right;
  white-space: nowrap;
}

/* ============================================================
   Spotlight — Laddbox med foto
   ============================================================ */
.spotlight {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
}
.spotlight__photo {
  position: relative;
  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; }
.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(3, minmax(0, 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.25rem, 1.8vw, 1.45rem);
  letter-spacing: -.015em;
  line-height: 1.2;
  margin: .35rem 0;
}
.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(--muted); }
.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 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; }
.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; }
  .service__cat { grid-column: 2; text-align: left; white-space: normal; font-size: 11px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav { display: none; }
  .cases { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .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); }
}

/* ============================================================
   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: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}
.gallery__thumb {
  padding: 0;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--paper-2);
  cursor: pointer;
  opacity: .55;
  transition: opacity .2s, border-color .2s, transform .2s;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: .85; transform: translateY(-2px); }
.gallery__thumb.is-active { opacity: 1; border-color: var(--accent); }
@media (max-width: 700px) {
  .gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .gallery__nav { width: 38px; height: 38px; font-size: 22px; }
  .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; }
}

.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); }
