/* =============================================================
   Lindegaard Byg, main stylesheet
   Architectural Craft palette · EB Garamond / Inter / IBM Plex Mono
   ============================================================= */


/* ─── Design tokens ─────────────────────────────────────────── */
:root {
  /* Colour (Architectural Craft) */
  --c-surface:           #faf9f8;
  --c-surface-raised:    #f4f3f2;
  --c-surface-alt:       #eeeeed;
  --c-surface-contrast:  #ffffff;
  --c-ink:               #1a1c1c;
  --c-ink-muted:         #424847;
  --c-ink-quiet:         #727877;
  --c-border:            #c2c8c6;
  --c-border-soft:       #e3e2e1;
  --c-accent:            #172c29;
  --c-accent-strong:     #2d423f;
  --c-accent-on:         #ffffff;
  --c-error:             #ba1a1a;

  /* Type */
  --f-display: "EB Garamond", Georgia, serif;
  --f-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Radius */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 8px;
  --r-pill: 999px;

  /* Layout */
  --container: 1280px;
  --reading: 680px;
  --gutter-mobile: 20px;
  --gutter-desktop: 64px;

  /* Motion */
  --d-fast: 100ms;
  --d-base: 150ms;
  --d-slow: 250ms;
  --ease: cubic-bezier(.2,.6,.2,1);

  /* Header */
  --header-h-mobile: 64px;
  --header-h-desktop: 80px;
}


/* ─── Reset (modern, minimal) ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { font-size: 18px; } }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}


/* ─── Type roles ────────────────────────────────────────────── */
.display {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--c-accent);
}

h2.section__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--c-accent);
}

h3 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.005em;
  color: var(--c-accent);
}
@media (min-width: 768px) { h3 { font-size: 24px; } }

.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--c-ink-muted);
  max-width: 36ch;
}
@media (min-width: 768px) { .lede { font-size: 20px; } }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
}
.eyebrow--quiet { color: var(--c-ink-quiet); }

.section__lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--c-ink-muted);
  max-width: 56ch;
  margin-top: var(--sp-3);
}

.fine {
  font-size: 14px;
  color: var(--c-ink-muted);
  max-width: var(--reading);
}

.note {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--c-ink-quiet);
  margin-top: 2px;
}


/* ─── Layout helpers ────────────────────────────────────────── */
.section {
  padding: var(--sp-7) var(--gutter-mobile);
  border-top: 1px solid var(--c-border-soft);
}
.section--alt {
  background: var(--c-surface-raised);
}
@media (min-width: 768px) {
  .section { padding: var(--sp-9) var(--gutter-desktop); }
}
.section__inner {
  max-width: var(--container);
  margin: 0 auto;
}


/* ─── Skip link ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-4);
  background: var(--c-accent);
  color: var(--c-accent-on);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  z-index: 1000;
  font-weight: 500;
}
.skip-link:focus-visible {
  top: var(--sp-3);
  outline: none;
}


/* ─── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 248, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border-soft);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter-mobile);
  height: var(--header-h-mobile);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}
@media (min-width: 768px) {
  .site-header__inner {
    padding: 0 var(--gutter-desktop);
    height: var(--header-h-desktop);
  }
}

.wordmark {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .02em;
  color: var(--c-accent);
  text-decoration: none;
}
.wordmark:hover { text-decoration: none; opacity: .85; }
@media (min-width: 768px) { .wordmark { font-size: 22px; } }
.wordmark--small { font-size: 16px; }

.site-header__nav {
  display: none;
  gap: var(--sp-6);
  font-size: 14px;
  color: var(--c-ink-muted);
}
.site-header__nav a:hover { color: var(--c-accent); text-decoration: none; }
@media (min-width: 960px) {
  .site-header__nav { display: flex; }
}

.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--c-accent);
  padding: var(--sp-2);
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}
.site-header__phone:hover { text-decoration: none; opacity: .8; }
.site-header__phone-number {
  display: none;
  font-family: var(--f-mono);
  font-size: 14px;
  font-weight: 500;
}
@media (min-width: 960px) { .site-header__phone-number { display: inline; } }


/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: var(--sp-6) var(--gutter-mobile) var(--sp-8);
}
@media (min-width: 768px) {
  .hero { padding: var(--sp-8) var(--gutter-desktop) var(--sp-9); }
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: var(--sp-6);
}
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--sp-8);
    /* Clamp so min-height never exceeds max-height on tall viewports. */
    min-height: clamp(0px, 70vh, 640px);
  }
}

.hero__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-surface-raised);
  border: 1px solid var(--c-border-soft);
}
@media (min-width: 1024px) {
  .hero__media {
    aspect-ratio: 4 / 3;
    order: 2;
  }
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.hero__copy .lede { margin-top: var(--sp-1); }
.hero__cta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-top: var(--sp-3);
  align-items: flex-start;
}
@media (min-width: 768px) {
  .hero__cta { flex-direction: row; align-items: center; gap: var(--sp-5); }
}


/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity var(--d-fast) var(--ease), transform var(--d-fast) var(--ease);
  min-height: 48px;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--c-accent-strong);
  color: var(--c-accent-on);
}
.btn--primary:hover { opacity: .9; }

.btn--ghost {
  background: var(--c-surface);
  color: var(--c-ink);
  border-color: var(--c-border);
}
.btn--ghost:hover { border-color: var(--c-accent); color: var(--c-accent); }

.btn--large { padding: var(--sp-4) var(--sp-6); font-size: 14px; }
.btn--block { width: 100%; }

.link-quiet {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-ink-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: var(--sp-2) 0;
}
.link-quiet:hover { color: var(--c-accent); }


/* ─── Pill (availability) ───────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px var(--sp-3);
  border-radius: var(--r-pill);
  background: var(--c-surface-alt);
  border: 1px solid var(--c-border-soft);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--c-ink);
  align-self: flex-start;
}
.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent-strong);
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .pill__dot { animation: pulse 2s ease-in-out infinite; }
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: .35; }
  }
}


/* ─── Services ──────────────────────────────────────────────── */
.services {
  display: grid;
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}
@media (min-width: 768px) {
  .services { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .services { grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
  .service--flagship { grid-column: span 3; }
}

.service {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--d-base) var(--ease), transform var(--d-base) var(--ease);
}
.service:hover {
  border-color: var(--c-border);
  transform: translateY(-2px);
}

.service__media {
  aspect-ratio: 3 / 2;
  background: var(--c-surface-raised);
  border-bottom: 1px solid var(--c-border-soft);
}
.service--flagship .service__media {
  aspect-ratio: 16 / 9;
}
@media (min-width: 1024px) {
  .service--flagship {
    display: grid;
    grid-template-columns: 5fr 4fr;
  }
  .service--flagship .service__media {
    aspect-ratio: auto;
    height: 100%;
    border-bottom: 0;
    border-right: 1px solid var(--c-border-soft);
  }
}

.service__body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.service__body h3 { margin-top: 0; }
.service__body p { color: var(--c-ink-muted); }
.service--flagship .service__body { padding: var(--sp-6); }
@media (min-width: 1024px) {
  .service--flagship .service__body { padding: var(--sp-7); justify-content: center; }
}


/* ─── Gallery ───────────────────────────────────────────────── */
.gallery {
  display: grid;
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}
@media (min-width: 768px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
}
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

.gallery > li, .gallery .tile-slot {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.tile {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-surface);
  text-align: left;
  transition: transform var(--d-base) var(--ease), border-color var(--d-base) var(--ease);
}
.tile:hover {
  border-color: var(--c-border);
  transform: translateY(-2px);
}
.tile__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.tile__cap, .tile-slot .tile__cap {
  display: block;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--c-ink-muted);
  letter-spacing: .03em;
}


/* ─── Placeholder system ────────────────────────────────────── */
.placeholder {
  width: 100%;
  height: 100%;
  background: var(--c-surface-raised);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-5);
  text-align: center;
  color: var(--c-ink-quiet);
}
.placeholder--tile, .placeholder--service {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
}
.placeholder--service { aspect-ratio: 3 / 2; border: 0; border-radius: 0; }
.placeholder--hero, .placeholder--about {
  aspect-ratio: 4 / 5;
}
.placeholder__wordmark {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: .04em;
  color: var(--c-accent);
  opacity: .25;
}
.placeholder__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink-quiet);
}


/* ─── About ─────────────────────────────────────────────────── */
.about {
  display: grid;
  gap: var(--sp-6);
}
@media (min-width: 1024px) {
  .about {
    grid-template-columns: 4fr 6fr;
    gap: var(--sp-8);
    align-items: center;
  }
}
.about__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-border-soft);
}

.hero__media > img,
.about__media > img,
.service__media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-slot > .tile__img {
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
}
.about__copy {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: var(--reading);
}
.about__copy p { color: var(--c-ink-muted); }
.about__copy strong { color: var(--c-ink); font-weight: 500; }


/* ─── Process ───────────────────────────────────────────────── */
.process {
  display: grid;
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}
@media (min-width: 1024px) {
  .process {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--sp-5);
    position: relative;
  }
  .process::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--c-border-soft);
    z-index: 0;
  }
}
.process > li {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  background: var(--c-surface);
  padding: var(--sp-5);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
  position: relative;
  z-index: 1;
}
.process__num {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1;
  color: var(--c-accent);
  opacity: .4;
}
.process > li h3 { font-size: 18px; margin-top: 0; }
.process > li p { font-size: 15px; color: var(--c-ink-muted); }


/* ─── Reviews ───────────────────────────────────────────────── */
.reviews {
  display: grid;
  gap: var(--sp-5);
  margin-top: var(--sp-6);
}
@media (min-width: 768px) {
  .reviews { grid-template-columns: repeat(3, 1fr); }
}
.review {
  padding: var(--sp-6);
  background: var(--c-surface);
  border: 1px dashed var(--c-border);
  border-radius: var(--r-md);
}
.review--placeholder p {
  color: var(--c-ink-quiet);
  font-size: 15px;
  line-height: 1.5;
}


/* ─── Pricing ───────────────────────────────────────────────── */
.pricing { max-width: 760px; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--sp-6);
  font-variant-numeric: tabular-nums;
}
.price-table th,
.price-table td {
  text-align: left;
  padding: var(--sp-4) var(--sp-3);
  border-bottom: 1px solid var(--c-border-soft);
  vertical-align: top;
}
.price-table thead th {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink-quiet);
  padding-bottom: var(--sp-3);
}
.price-table tbody th {
  font-family: var(--f-body);
  font-weight: 500;
  color: var(--c-ink);
}
.price-table tfoot th,
.price-table tfoot td {
  border-bottom: 0;
  border-top: 2px solid var(--c-ink);
  padding-top: var(--sp-4);
  font-weight: 500;
}
.num { text-align: right; }
.num--muted { color: var(--c-ink-quiet); }
.rate {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 16px;
  color: var(--c-ink);
}
.rate--total { color: var(--c-accent); font-size: 18px; }
.num--muted .rate, .num--muted span {
  font-family: var(--f-mono);
  font-size: 13px;
}

.pricing .fine { margin-top: var(--sp-5); }


/* ─── Contact ───────────────────────────────────────────────── */
.contact {
  display: grid;
  gap: var(--sp-7);
}
@media (min-width: 1024px) {
  .contact { grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: start; }
}

.contact__intro { display: flex; flex-direction: column; gap: var(--sp-5); }

.phone-block {
  display: inline-flex;
  flex-direction: column;
  padding: var(--sp-5) var(--sp-6);
  background: var(--c-accent);
  color: var(--c-accent-on);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: opacity var(--d-base) var(--ease);
  align-self: flex-start;
}
.phone-block:hover { opacity: .92; text-decoration: none; }
.phone-block__label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .8;
}
.phone-block__num {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -.01em;
  margin-top: 4px;
}
@media (min-width: 768px) {
  .phone-block__num { font-size: 32px; }
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.contact__list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--c-ink-muted);
  font-size: 15px;
}
.contact__list a { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
.contact__list a:hover { color: var(--c-accent); }


/* ─── Form ──────────────────────────────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  background: var(--c-surface);
  padding: var(--sp-6);
  border: 1px solid var(--c-border-soft);
  border-radius: var(--r-md);
}
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--c-ink);
  transition: border-color var(--d-fast) var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(23, 44, 41, .08);
}
.field textarea { resize: vertical; min-height: 100px; }

.contact-form__actions {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}
@media (min-width: 480px) {
  .contact-form__actions { grid-template-columns: 1fr 1fr; }
}

.contact-form__note {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--c-ink-quiet);
  text-align: center;
  margin-top: var(--sp-2);
}


/* ─── Trust + footer ────────────────────────────────────────── */
.site-footer {
  background: var(--c-ink);
  color: var(--c-surface);
  padding: var(--sp-7) var(--gutter-mobile) var(--sp-6);
  margin-top: var(--sp-7);
}
@media (min-width: 768px) {
  .site-footer { padding: var(--sp-8) var(--gutter-desktop) var(--sp-6); }
}

.site-footer__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-5);
  padding-bottom: var(--sp-6);
  margin-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}
.trust__badge {
  height: 40px;
  width: auto;
  background: #fff;
  padding: 6px 10px;
  border-radius: var(--r-sm);
}
.trust__item {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .75);
}

.site-footer__main {
  display: grid;
  gap: var(--sp-6);
  max-width: var(--container);
  margin: 0 auto;
}
@media (min-width: 768px) {
  .site-footer__main { grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-7); }
}

.site-footer__brand .wordmark { color: var(--c-surface); }
.site-footer__brand p {
  margin-top: var(--sp-2);
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
}
.site-footer__address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
}
.site-footer__address a { text-decoration: underline; text-underline-offset: 3px; }

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-size: 14px;
}
.site-footer__links a { color: rgba(255, 255, 255, .85); text-underline-offset: 3px; }
.site-footer__links a:hover { color: #fff; }

.site-footer__legal {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .6);
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}


/* ─── Sticky mobile CTA ─────────────────────────────────────── */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  gap: 0;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border-soft);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .06);
}
.mobile-cta[hidden] { display: none; }
@media (min-width: 768px) {
  .mobile-cta { display: none !important; }
}

.mobile-cta__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-4);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  min-height: 56px;
  transition: opacity var(--d-fast) var(--ease);
}
.mobile-cta__btn:hover { text-decoration: none; opacity: .9; }
.mobile-cta__btn--primary {
  background: var(--c-accent);
  color: var(--c-accent-on);
}
.mobile-cta__btn--ghost {
  background: var(--c-surface);
  color: var(--c-accent);
}


/* ─── Modal ─────────────────────────────────────────────────── */
.modal {
  border: 0;
  padding: 0;
  background: var(--c-surface);
  color: var(--c-ink);
  border-radius: var(--r-md);
  max-width: 92vw;
  max-height: 90vh;
  width: 1100px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
.modal::backdrop {
  background: rgba(26, 28, 28, .65);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.modal__close {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  width: 44px;
  height: 44px;
  background: var(--c-surface);
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink);
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
  z-index: 1;
}
.modal__close:hover { background: var(--c-surface-alt); }

.modal__figure { margin: 0; }
.modal__img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: var(--c-surface-alt);
}
.modal__figure figcaption {
  padding: var(--sp-5) var(--sp-6) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.modal__figure figcaption h3 { font-size: 20px; }
.modal__desc { color: var(--c-ink-muted); font-size: 15px; }


/* ─── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ─── Smooth scroll (anchor links) ──────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h-mobile) + 12px); }
  @media (min-width: 768px) {
    html { scroll-padding-top: calc(var(--header-h-desktop) + 12px); }
  }
}


/* ─── Mobile bottom padding to clear sticky CTA ─────────────── */
@media (max-width: 767px) {
  body { padding-bottom: 72px; }
}
