/* ============================================================
   Hawekotte Summit Advisory — style.css
   Palette: alpine slate/granite + a warm summit-gold accent.
   Fonts: Playfair Display (display) + General Sans (body).
   ============================================================ */

/* ---------- Custom palette (derived from subject) ---------- */
:root,
[data-theme='light'] {
  /* Surfaces — cool alpine slate/cream */
  --color-bg: #f7f6f3;
  --color-surface: #fcfbf9;
  --color-surface-2: #f2f0ec;
  --color-surface-offset: #e9e6e0;
  --color-surface-offset-2: #dfdcd6;
  --color-divider: #e5e1da;
  --color-border: oklch(0.28 0.01 250 / 0.16);

  /* Text — cool charcoal */
  --color-text: #232a31;
  --color-text-muted: #6e747a;
  --color-text-faint: #a6abb0;
  --color-text-inverse: #f7f6f3;

  /* Accent — summit gold (used for CTAs & the summit-metaphor markers only) */
  --color-primary: #a8731c;
  --color-primary-hover: #8a5f15;
  --color-primary-active: #6b4a10;
  --color-primary-highlight: #f1e3c8;
  /* Gold-cream accent on top of the hero photo. Same value in both themes,
     because the photo stays dark in dark mode too. */
  --color-on-photo-accent: #f1e3c8;

  /* Deep alpine blue used sparingly for emphasis */
  --color-blue: #1e3a5f;
  --color-blue-hover: #16293f;

  /* Error */
  --color-error: #a12c2c;
  --color-error-highlight: #eed8d8;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 0.875rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px oklch(0.25 0.01 250 / 0.08);
  --shadow-md: 0 4px 12px oklch(0.25 0.01 250 / 0.12);
  --shadow-lg: 0 12px 32px oklch(0.25 0.01 250 / 0.18);

  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'General Sans', 'Inter', 'Helvetica Neue', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #14171a;
  --color-surface: #1a1e22;
  --color-surface-2: #1f2327;
  --color-surface-offset: #23272b;
  --color-surface-offset-2: #2a2f34;
  --color-divider: #262b30;
  --color-border: oklch(0.85 0.01 250 / 0.18);

  --color-text: #d5d9dc;
  --color-text-muted: #8b9298;
  --color-text-faint: #5f666c;
  --color-text-inverse: #14171a;

  --color-primary: #e0a94e;
  --color-primary-hover: #f2c274;
  --color-primary-active: #f8d795;
  --color-primary-highlight: #4a3c1c;

  --color-blue: #7fa3c7;
  --color-blue-hover: #9bb9d8;

  --color-error: #e07070;
  --color-error-highlight: #4a2828;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.5);
}

/* ---------- Base typography (tokens are in base.css; add font mappings) ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text);
}
p, li, figcaption, small, blockquote, label, input, textarea, button {
  font-family: var(--font-body);
}

/* Type scale (from tokens) */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 8rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (min-width: 1024px) {
  .container { padding-inline: var(--space-8); }
}

.section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
  background: var(--color-bg);
}
.section-alt { background: var(--color-surface); }

.section-head {
  max-width: 68ch;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-16));
}
.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.section-title {
  font-size: var(--text-xl);
  line-height: 1.15;
  margin-bottom: var(--space-4);
}
.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}
.section-lead {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}
.section-lead:last-child { margin-bottom: 0; }
.section-lead strong { color: var(--color-text); font-weight: 600; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-radius: var(--radius-md);
  z-index: 100;
}
.skip-link:focus-visible { top: var(--space-2); }

/* ---------- Header / nav ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background var(--transition-interactive), box-shadow var(--transition-interactive);
}
.site-header.is-scrolled {
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}
/* On the hero, keep the header transparent & text white */
.site-header:not(.is-scrolled) .brand-name,
.site-header:not(.is-scrolled) .nav-link,
.site-header:not(.is-scrolled) .theme-toggle,
.site-header:not(.is-scrolled) .nav-toggle {
  color: #ffffff;
}
.site-header:not(.is-scrolled) .brand-name strong { color: var(--color-on-photo-accent); }
.site-header:not(.is-scrolled) .nav-toggle-bar { background: #ffffff; }

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}
.brand-mark { width: 28px; height: 28px; }
.brand-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
  color: var(--color-text);
  white-space: nowrap;
}
.brand-name strong { font-weight: 700; color: var(--color-primary); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 64px;
  padding-block: var(--space-2);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  list-style: none;
  margin-left: auto;
}
.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding-block: var(--space-2);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--color-primary);
  transition: right var(--transition-interactive);
}
.nav-link:hover { color: var(--color-primary); }
.nav-link:hover::after,
.nav-link:focus-visible::after { right: 0; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  color: var(--color-text);
  background: transparent;
}
.theme-toggle:hover { background: oklch(from var(--color-text) l c h / 0.08); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: var(--radius-full);
  transition: background var(--transition-interactive);
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; margin-left: auto; }
  .theme-toggle { order: 3; }
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--color-bg);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--color-border);
    padding: var(--space-4) var(--space-5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--transition-interactive), transform var(--transition-interactive), visibility var(--transition-interactive);
  }
  .nav-list.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-link {
    display: block;
    width: 100%;
    padding-block: var(--space-3);
    font-size: var(--text-base);
  }
  .nav-link::after { display: none; }
  .brand-name { font-size: var(--text-sm); }
  /* When the mobile menu is open, always give the header a solid surface so
     white hero text doesn't clash with the light menu panel. */
  .site-header.is-scrolled,
  .site-header:has(.nav-list.is-open) {
    background: var(--color-bg);
  }
  .site-header:has(.nav-list.is-open) .brand-name,
  .site-header:has(.nav-list.is-open) .nav-link,
  .site-header:has(.nav-list.is-open) .theme-toggle,
  .site-header:has(.nav-list.is-open) .nav-toggle {
    color: var(--color-text);
  }
  .site-header:has(.nav-list.is-open) .nav-toggle-bar { background: var(--color-text); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-blue);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom,
      oklch(0.18 0.03 250 / 0.42) 0%,
      oklch(0.18 0.03 250 / 0.22) 45%,
      oklch(0.14 0.03 250 / 0.55) 100%
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--space-32) var(--space-16);
  max-width: 900px;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-on-photo-accent);
  margin-bottom: var(--space-4);
}
.hero-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #ffffff;
  text-wrap: balance;
  line-height: 1.1;
  margin-bottom: var(--space-5);
  max-width: 20ch;
  text-shadow: 0 2px 24px oklch(0.15 0.03 250 / 0.5);
}
.hero-sub {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: oklch(0.95 0.01 250);
  max-width: 56ch;
  line-height: 1.6;
  margin-bottom: var(--space-8);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  min-height: 44px;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
}
[data-theme='dark'] .btn-primary { color: var(--color-bg); }
.btn-primary:hover { background: var(--color-primary-hover); }

.btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: oklch(1 0 0 / 0.55);
}
.btn-ghost:hover {
  background: oklch(1 0 0 / 0.14);
  border-color: oklch(1 0 0 / 0.85);
  color: #ffffff;
}

/* ---------- Intro / value prop ---------- */
.section-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: start;
}
@media (min-width: 900px) {
  .section-intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); }
}
.section-intro .section-title { text-align: left; max-width: 24ch; }

.intro-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.intro-card-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.intro-card-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text);
}
.intro-card-list li {
  position: relative;
  padding-left: var(--space-5);
}
.intro-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: var(--space-5);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
@media (min-width: 900px) {
  .service-card--feature { grid-column: span 2; }
  .service-card--wide { grid-column: span 2; }
}
.service-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}
.service-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}
.service-deliverables {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-5);
  margin-top: auto;
}
.service-deliverables li {
  position: relative;
  padding-left: var(--space-5);
}
.service-deliverables li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 0.85em;
}
.service-fee {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  margin-top: auto;
}
.services-note {
  margin-top: var(--space-8);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.services-note a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.services-note a:hover { color: var(--color-primary-hover); }

/* ---------- How We Work ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-6);
  position: relative;
}
.how-step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.how-step-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.7;
  margin-bottom: var(--space-2);
}
.how-step-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}
.how-step-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---------- Story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: center;
}
@media (min-width: 900px) {
  .story-grid { grid-template-columns: minmax(0, 380px) 1fr; }
  .story-media { order: -1; }
}
.story-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.story-copy .section-title { max-width: 22ch; }

/* ---------- Industries ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: var(--space-4);
}
.industry-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.industry-card:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.industry-name {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.industry-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---------- Case Studies ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--space-5);
}
.case-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.case-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  background: var(--color-primary-highlight);
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}
.case-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.case-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}
.section-cases .section-desc a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 760px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-interactive);
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  padding: var(--space-4) var(--space-5);
  padding-right: var(--space-10);
  cursor: pointer;
  position: relative;
  list-style: none;
  -webkit-appearance: none;
  appearance: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: var(--space-5);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--color-primary);
  transition: transform var(--transition-interactive), content var(--transition-interactive);
}
.faq-item[open] summary::after { content: '–'; transform: translateY(-50%) rotate(180deg); }
.faq-item p {
  padding: 0 var(--space-5) var(--space-5);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 70ch;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: start;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr minmax(0, 480px); }
}
.contact-copy .section-title { max-width: 18ch; }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
  font-size: var(--text-base);
  color: var(--color-text);
}
.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-faint);
}
.contact-details a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}
.contact-details a:hover { text-decoration: underline; }

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.form-row { display: flex; flex-direction: column; gap: var(--space-2); }
.form-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}
.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--text-base);
  min-height: 44px;
}
.form-input:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-color: var(--color-primary);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-submit { align-self: flex-start; }
.form-status {
  font-size: var(--text-sm);
  min-height: 1.2em;
  color: var(--color-text-muted);
}
.form-status.is-error { color: var(--color-error); }
.form-status.is-success { color: var(--color-primary); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-blue);
  color: oklch(0.85 0.01 250);
  padding-block: var(--space-12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: var(--space-16);
  }
}
.footer-brand { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-mark { width: 28px; height: 28px; margin-bottom: var(--space-2); }
.footer-name {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: #ffffff;
}
.footer-tag {
  font-size: var(--text-sm);
  color: oklch(0.75 0.01 250);
  line-height: 1.6;
  max-width: 40ch;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: oklch(0.85 0.01 250);
  text-decoration: none;
}
.footer-link:hover { color: #ffffff; }
.footer-legal {
  font-size: var(--text-xs);
  color: oklch(0.65 0.01 250);
  line-height: 1.6;
  margin-top: var(--space-8);
  grid-column: 1 / -1;
}

/* ---------- Scroll reveal (opacity only — no CLS) ---------- */
.fade-in { opacity: 1; }
@supports (animation-timeline: view()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}
@keyframes reveal-fade { to { opacity: 1; } }

/* ---------- Image fallback ---------- */
img { background: var(--color-surface-offset); }

/* Contact form spam trap (honeypot) — visually hidden, kept out of tab order */
.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form { position: relative; }
.form-submit[disabled] { opacity: 0.7; cursor: progress; }
