/* ============================================
   CREO DIGITAL — Design System
   Editorial confidence. Asymmetric rhythm. No AI slop.
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* Tinted Neutrals (warm, not pure gray) */
  --ink: #1a1a1f;
  --ink-secondary: #52525a;
  --ink-tertiary: #8e8e96;
  --surface: #fefefe;
  --surface-dim: #f6f5f3;
  --surface-warm: #f0eee9;
  --border: #e8e6e1;
  --border-subtle: #f0eee9;

  /* Accent — one only, used deliberately */
  --accent: #2855db;
  --accent-hover: #1d44b8;
  --accent-subtle: rgba(40, 85, 219, 0.06);

  /* Matte palette — desaturated, editorial */
  --matte-sage: #c8d1c4;
  --matte-sage-bg: #eef1ec;
  --matte-sand: #d9cfc2;
  --matte-sand-bg: #f3efe9;
  --matte-slate: #b8bcc6;
  --matte-slate-bg: #ecedf1;
  --matte-rose: #d4b8b8;
  --matte-rose-bg: #f2ebe9;
  --matte-sky: #b3c5d4;
  --matte-sky-bg: #e9eff4;
  --matte-clay: #c9b9a8;
  --matte-clay-bg: #f0ebe4;
  --matte-lavender: #bdb5cb;
  --matte-lavender-bg: #eeeaf3;

  /* Semantic */
  --success: #1a7f4b;
  --error: #c43232;

  /* Typography */
  --font-display: 'Sentient', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing (4pt system) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Layout */
  --max-width: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);

  /* Motion */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --duration-fast: 150ms;
  --duration-normal: 200ms;
  --duration-slow: 300ms;
}

/* --- Font Face --- */
@font-face {
  font-family: 'Sentient';
  src: url('../assets/fonts/sentient/fonts/Sentient-Variable.woff2') format('woff2');
  font-weight: 200 700;
  font-display: swap;
  font-style: normal;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}
a:hover { color: var(--accent-hover); }

::selection { background: var(--ink); color: var(--surface); }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

p {
  color: var(--ink-secondary);
  max-width: 58ch;
  line-height: 1.7;
}

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
}

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section-space {
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
}

/* --- Page Curtain --- */
.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.page-curtain__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--surface);
  letter-spacing: 0.04em;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-5) 0;
  transition: background-color var(--duration-slow) ease, padding var(--duration-slow) ease;
}

.navbar.scrolled {
  background: rgba(254, 254, 254, 0.9);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  padding: var(--space-3) 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-7);
  list-style: none;
}

.navbar__links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}
.navbar__links a:hover { color: var(--ink); }

.navbar__cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--surface) !important;
  background: var(--ink);
  padding: var(--space-2) var(--space-5);
  border-radius: 6px;
  transition: transform var(--duration-fast) var(--ease-out), background-color var(--duration-normal) ease;
}
.navbar__cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .navbar__cta:hover { background: #2d2d34; color: var(--surface); }
}

/* Mobile Nav */
.navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
}

.navbar__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 5px;
  transition: transform var(--duration-slow) var(--ease-in-out), opacity var(--duration-normal) ease, top var(--duration-slow) var(--ease-in-out);
}
.navbar__toggle span:nth-child(1) { top: 4px; }
.navbar__toggle span:nth-child(2) { top: 11px; }
.navbar__toggle span:nth-child(3) { top: 18px; }
.navbar__toggle.active span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.navbar__toggle.active span:nth-child(2) { opacity: 0; }
.navbar__toggle.active span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

@media (max-width: 768px) {
  .navbar__toggle { display: block; }

  .navbar__links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 280px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-9) var(--space-6) var(--space-6);
    background: var(--surface);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-out);
  }
  .navbar__links.open { transform: translateX(0); }
  .navbar__links li { width: 100%; }
  .navbar__links a {
    display: block;
    padding: var(--space-4) 0;
    font-size: 1rem;
    color: var(--ink);
    border-bottom: 1px solid var(--border-subtle);
  }
  .navbar__cta { margin-top: var(--space-5); width: 100%; text-align: center; display: block; }

  .navbar__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-slow) ease;
    z-index: -1;
  }
  .navbar__backdrop.visible { opacity: 1; pointer-events: auto; }

  .lang-switch { margin-top: var(--space-4); }
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: var(--space-4);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lang-switch__current {
  color: var(--ink);
  padding: var(--space-1) var(--space-2);
}

.lang-switch__link {
  color: var(--ink-tertiary);
  text-decoration: none;
  padding: var(--space-1) var(--space-2);
  border-radius: 4px;
  transition: color var(--duration-normal) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .lang-switch__link:hover { color: var(--ink); }
}

/* ============================================
   HERO — Asymmetric, editorial, confident
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: var(--space-10) 0 var(--space-9);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: end;
}

.hero__headline {
  grid-column: 1 / -1;
}

.hero__headline h1 {
  max-width: 14ch;
}

.hero__headline h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--matte-slate);
}

.hero__left p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
  max-width: 44ch;
}

.hero__right {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  justify-self: end;
}

@media (max-width: 768px) {
  .hero {
    align-items: center;
    padding-top: var(--space-10);
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  .hero__right { justify-self: start; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform var(--duration-fast) var(--ease-out), background-color var(--duration-normal) ease, border-color var(--duration-normal) ease;
}
.btn:active { transform: scale(0.97); transition-duration: 100ms; }

.btn--primary { background: var(--ink); color: var(--surface); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: #2d2d34; color: var(--surface); }
  .btn--ghost:hover { border-color: var(--ink); }
}

/* ============================================
   SERVICES — Bento grid, NOT 6 identical cards
   ============================================ */
.services {
  background: var(--surface-dim);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-9);
  align-items: end;
}

.services__header p {
  justify-self: end;
  text-align: right;
  max-width: 38ch;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: var(--space-3);
}

.bento__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--duration-normal) ease;
}

@media (hover: hover) and (pointer: fine) {
  .bento__item:hover { border-color: var(--ink-tertiary); }
}

/* Bento layout — asymmetric, diverse sizes + matte colors */
.bento__item:nth-child(1) { grid-column: span 7; grid-row: span 1; background: var(--matte-sage-bg); border-color: var(--matte-sage); }
.bento__item:nth-child(2) { grid-column: span 5; grid-row: span 1; background: var(--matte-sand-bg); border-color: var(--matte-sand); }
.bento__item:nth-child(3) { grid-column: span 4; grid-row: span 1; background: var(--matte-slate-bg); border-color: var(--matte-slate); }
.bento__item:nth-child(4) { grid-column: span 4; grid-row: span 1; background: var(--matte-sky-bg); border-color: var(--matte-sky); }
.bento__item:nth-child(5) { grid-column: span 4; grid-row: span 1; background: var(--matte-rose-bg); border-color: var(--matte-rose); }
.bento__item:nth-child(6) { grid-column: span 5; grid-row: span 1; background: var(--matte-lavender-bg); border-color: var(--matte-lavender); }
.bento__item:nth-child(7) { grid-column: span 7; grid-row: span 1; background: var(--matte-clay-bg); border-color: var(--matte-clay); }

.bento__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--border);
  line-height: 1;
  letter-spacing: -0.04em;
}

/* Number color matches card accent */
.bento__item:nth-child(1) .bento__number { color: var(--matte-sage); }
.bento__item:nth-child(2) .bento__number { color: var(--matte-sand); }
.bento__item:nth-child(3) .bento__number { color: var(--matte-slate); }
.bento__item:nth-child(4) .bento__number { color: var(--matte-sky); }
.bento__item:nth-child(5) .bento__number { color: var(--matte-rose); }
.bento__item:nth-child(6) .bento__number { color: var(--matte-lavender); }
.bento__item:nth-child(7) .bento__number { color: var(--matte-clay); }

.bento__content { margin-top: auto; }
.bento__content h3 { margin-bottom: var(--space-2); }
.bento__content p { font-size: 0.9rem; line-height: 1.6; }

@media (max-width: 768px) {
  .services__header { grid-template-columns: 1fr; }
  .services__header p { justify-self: start; text-align: left; }

  .bento { grid-template-columns: 1fr; }
  .bento__item { grid-column: span 1 !important; }
}

/* ============================================
   PACKAGES — Horizontal scroll (desktop), stack (mobile)
   ============================================ */
.packages {
  background: var(--surface-dim);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.packages__header {
  margin-bottom: var(--space-8);
  max-width: 48ch;
}

/* Scroll wrapper — pinned on desktop by GSAP */
.packages__scroll {
  overflow: hidden;
  width: 100%;
}

.packages__track {
  display: flex;
  gap: var(--space-7);
  width: max-content;
  /* Center first card: 50vw - half card width. JS overrides this precisely. */
  padding-left: calc(50vw - 240px);
  padding-right: calc(50vw - 240px);
  padding-top: var(--space-6);
  padding-bottom: var(--space-9);
}

/* Individual package card — square-ish, wider */
.package {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 480px;
  min-height: 480px;
  flex-shrink: 0;
  padding: var(--space-8);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 0.25s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .package:hover { border-color: var(--ink-tertiary); }
}

.package__top { margin-bottom: var(--space-6); }

.package__name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  margin-top: var(--space-2);
}

.package__price { margin-top: var(--space-4); }

.package__price .amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

.package__price .period {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-tertiary);
  margin-top: var(--space-1);
}

.package__features {
  list-style: none;
  flex: 1;
}

.package__features li {
  padding: var(--space-2) 0;
  font-size: 0.9rem;
  color: var(--ink-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.package__features li:last-child { border-bottom: none; }

.package__cta {
  margin-top: var(--space-6);
}

/* Package color accents */
.package:nth-child(1) { background: var(--matte-sage-bg); border-color: var(--matte-sage); }
.package:nth-child(2) { background: var(--matte-sky-bg); border-color: var(--matte-sky); }
.package:nth-child(3) { background: var(--matte-sand-bg); border-color: var(--matte-sand); }

/* Featured package */
.package--featured {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: var(--surface);
}

.package--featured .label { color: var(--matte-sky); }
.package--featured .package__name { color: var(--surface); }
.package--featured .package__price .amount { color: var(--surface); }
.package--featured .package__price .period { color: rgba(255, 255, 255, 0.5); }
.package--featured .package__features li { color: rgba(255, 255, 255, 0.7); border-bottom-color: rgba(255, 255, 255, 0.1); }
.package--featured .btn--primary { background: var(--surface); color: var(--ink); }
.package--featured .btn--ghost { color: var(--surface); border-color: rgba(255, 255, 255, 0.2); }

/* Mobile: vertical stack, native scroll */
@media (max-width: 768px) {
  .packages__track {
    flex-direction: column;
    width: 100%;
    gap: var(--space-5);
    padding: var(--space-4) var(--gutter) var(--space-7);
  }

  .package {
    width: 100%;
    min-height: auto;
  }
}

/* ============================================
   WHY US — Horizontal layout with numbers, not icon cards
   ============================================ */
.why-us { border-bottom: 1px solid var(--border); }

.why-us__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-9);
  align-items: end;
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.why-item {
  padding-top: var(--space-6);
  border-top: 2px solid var(--border);
}

.why-item:nth-child(1) { border-color: var(--matte-sage); }
.why-item:nth-child(2) { border-color: var(--matte-sky); }
.why-item:nth-child(3) { border-color: var(--matte-sand); }
.why-item:nth-child(4) { border-color: var(--matte-rose); }

.why-item__number {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--ink-tertiary);
  margin-bottom: var(--space-5);
}

.why-item:nth-child(1) .why-item__number { color: var(--matte-sage); }
.why-item:nth-child(2) .why-item__number { color: var(--matte-sky); }
.why-item:nth-child(3) .why-item__number { color: var(--matte-sand); }
.why-item:nth-child(4) .why-item__number { color: var(--matte-rose); }

.why-item h3 { margin-bottom: var(--space-3); }
.why-item p { font-size: 0.875rem; line-height: 1.65; }

@media (max-width: 768px) {
  .why-us__header { grid-template-columns: 1fr; }
  .why-us__grid { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
}

@media (max-width: 480px) {
  .why-us__grid { grid-template-columns: 1fr; }
}

/* ============================================
   REFERENCES — Asymmetric project grid
   ============================================ */
.references { border-bottom: 1px solid var(--border); }

.references__header {
  margin-bottom: var(--space-9);
  max-width: 48ch;
}

.references__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  grid-template-rows: auto auto;
  gap: var(--space-5);
}

/* Large card spans full left column height */
.ref-card--large {
  grid-row: 1 / -1;
}

/* Cards */
.ref-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-7);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.25s var(--ease-out), transform 0.15s var(--ease-out);
}

/* Reference card color accents */
.ref-card:nth-child(1) { background: var(--matte-sand-bg); border-color: var(--matte-sand); }
.ref-card:nth-child(2) { background: var(--matte-lavender-bg); border-color: var(--matte-lavender); }
.ref-card:nth-child(3) { background: var(--matte-slate-bg); border-color: var(--matte-slate); }
.ref-card:nth-child(4) { background: var(--matte-sage-bg); border-color: var(--matte-sage); }

.ref-card:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .ref-card:hover { border-color: var(--ink-tertiary); }
  .ref-card:hover .ref-card__link { color: var(--accent); }
}

.ref-card__type {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
  margin-bottom: var(--space-5);
}

.ref-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.ref-card--large .ref-card__name {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.ref-card__role {
  font-size: 0.875rem;
  color: var(--ink-secondary);
  margin-top: var(--space-1);
}

.ref-card__scope {
  list-style: none;
  margin-top: auto;
  padding-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.ref-card__scope li {
  font-size: 0.75rem;
  color: var(--ink-secondary);
  padding: var(--space-1) var(--space-3);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 4px;
}

.ref-card__link {
  margin-top: var(--space-4);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-tertiary);
  transition: color 0.2s var(--ease-out);
}

@media (max-width: 768px) {
  .references__grid {
    grid-template-columns: 1fr;
  }

  .ref-card--large {
    grid-row: auto;
  }
}

/* ============================================
   ABOUT — Full-width editorial split
   ============================================ */
.about {
  background: var(--ink);
  color: var(--surface);
}

.about__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-9);
  align-items: center;
}

.about__image {
  aspect-ratio: 3 / 4;
  background: #2d2d34;
  border-radius: 8px;
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__text .label { color: var(--ink-tertiary); margin-bottom: var(--space-5); display: block; }

.about__text h2 {
  color: var(--surface);
  margin-bottom: var(--space-6);
}

.about__text p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-4);
  font-size: 1rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
  .about__image { max-height: 320px; }
}

/* ============================================
   CONTACT — Asymmetric, editorial
   ============================================ */
.contact { border-bottom: 1px solid var(--border); }

.contact__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-9);
}

.contact__info .label { margin-bottom: var(--space-5); display: block; }
.contact__info h2 { margin-bottom: var(--space-4); }

.contact__info p {
  margin-bottom: var(--space-6);
  line-height: 1.8;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  font-size: 0.9rem;
  color: var(--ink-secondary);
}
.contact__detail a {
  color: var(--ink-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}
.contact__detail a:hover { color: var(--ink); }

/* Calendar Embed */
.contact__calendar {
  border-radius: 12px;
  overflow: hidden;
  background: var(--matte-sky-bg);
  border: 1px solid var(--matte-sky);
  min-height: 660px;
}

.contact__calendar iframe {
  display: block;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .contact__inner { grid-template-columns: 1fr; gap: var(--space-7); }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER — Minimal
   ============================================ */
.footer {
  padding: var(--space-7) 0 var(--space-6);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-5);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.footer__links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}

.footer__links a {
  font-size: 0.825rem;
  color: var(--ink-tertiary);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}
.footer__links a:hover { color: var(--ink); }

.footer__bottom {
  font-size: 0.75rem;
  color: var(--ink-tertiary);
}

@media (max-width: 768px) {
  .footer__inner { flex-direction: column; gap: var(--space-4); align-items: flex-start; }
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: var(--space-5);
  right: var(--space-5);
  z-index: 5000;
  width: 380px;
  max-width: calc(100% - var(--space-7));
  padding: var(--space-5);
  background: var(--ink);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  pointer-events: none;
  transition: opacity var(--duration-slow) ease, transform var(--duration-slow) var(--ease-out);
}

.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cookie-banner.hiding {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  transition-duration: 200ms;
}

.cookie-banner h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-2);
}

.cookie-banner p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-4);
}

.cookie-banner a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-2);
}

.cookie-banner__actions button {
  flex: 1;
  padding: var(--space-2) var(--space-4);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: transform var(--duration-fast) var(--ease-out), background-color var(--duration-normal) ease;
}
.cookie-banner__actions button:active { transform: scale(0.97); }

.cookie-btn--accept { background: var(--surface); color: var(--ink); }
.cookie-btn--accept:hover { background: #f0f0f0; }

.cookie-btn--reject {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
}
.cookie-btn--reject:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
  min-height: 100vh;
}
.legal-page h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: var(--space-2); }
.legal-page .legal-updated { font-size: 0.8rem; color: var(--ink-tertiary); margin-bottom: var(--space-9); }
.legal-page h2 { font-size: 1.25rem; font-weight: 600; margin-top: var(--space-8); margin-bottom: var(--space-3); }
.legal-page h3 { font-size: 1.05rem; font-weight: 600; margin-top: var(--space-5); margin-bottom: var(--space-2); }
.legal-page p { margin-bottom: var(--space-4); max-width: 68ch; }
.legal-page ul { margin: var(--space-2) 0 var(--space-4) var(--space-5); color: var(--ink-secondary); }
.legal-page li { margin-bottom: var(--space-1); font-size: 0.925rem; }
.legal-page a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ============================================
   GSAP ANIMATION STATES
   ============================================ */
.hero-fade { opacity: 0; transform: translateY(16px); }
.fade-up { opacity: 0; transform: translateY(20px); }

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; }
  .hero-fade, .fade-up { opacity: 1; transform: none; }
  .btn:hover, .btn:active { transform: none !important; }
  .page-curtain { display: none !important; }
}

/* ============================================
   UTILITY
   ============================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}
