/* Louis Peter Photography - Atelier */

@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: optional;
}

:root {
  /* Palette — raw colors, never change */
  --palette-cream: #f3ead7;
  --palette-cream-2: #ebe0c8;
  --palette-cream-warm: #d8c9a8;
  --palette-forest: #1f3a2e;
  --palette-forest-soft: #2c4c3e;
  --palette-forest-deep: #0e1f17;
  --palette-terra: #c45a2e;
  --palette-terra-deep: #b8501f; /* darker terracotta for light text on a terra surface (AA) */
  --palette-rose: #e8c4b0;
  --palette-sky: #b6c8c4;
  --palette-ink: #14201a;
  --palette-strip-accent: #b66b41;

  /* Theme-aware aliases — default = light */
  color-scheme: light;
  --cream: var(--palette-cream);
  --cream-2: var(--palette-cream-2);
  --forest: var(--palette-forest);
  --forest-soft: var(--palette-forest-soft);
  --ink: var(--palette-ink);
  --terra: var(--palette-terra);
  --terra-strong: var(--palette-terra-deep);
  --rose: var(--palette-rose);
  --sky: var(--palette-sky);

  /* Panels that stay dark in both themes (testimonial, footer, primary buttons) */
  --panel-bg: var(--palette-forest);
  --panel-elev: var(--palette-forest-soft);
  --panel-fg: var(--palette-cream);
  --panel-fg-soft: rgba(243, 234, 215, 0.7);
  --panel-line: rgba(243, 234, 215, 0.16);
  --panel-hover: #182d23;

  /* Derived */
  --line: rgba(31, 58, 46, 0.18);
  --line-strong: rgba(31, 58, 46, 0.32);
  --surface-glass: rgba(243, 234, 215, 0.88);
  --surface-muted-glass: rgba(235, 224, 200, 0.8);
  --shadow: 0 22px 60px -28px rgba(20, 32, 26, 0.35), 0 6px 16px -10px rgba(20, 32, 26, 0.18);
  --shadow-soft: 0 18px 40px -22px rgba(20, 32, 26, 0.25);

  --r-xl: 36px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-pill: 999px;
  --edge: clamp(20px, 4vw, 56px);
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Space Grotesk", "Helvetica Neue", system-ui, sans-serif;
  --hand: "Caveat", cursive;
  --max-width: 1240px;
}

[data-theme="dark"] {
  color-scheme: dark;
  /* Flip foreground/background aliases */
  --cream: var(--palette-forest);
  --cream-2: var(--palette-forest-soft);
  --forest: var(--palette-cream);
  --forest-soft: var(--palette-cream-warm);
  --ink: var(--palette-cream);

  /* Panels deepen further so they still lift from page bg */
  --panel-bg: var(--palette-forest-deep);
  --panel-elev: var(--palette-forest);
  --panel-hover: #050c08;
  --line: rgba(243, 234, 215, 0.18);
  --line-strong: rgba(243, 234, 215, 0.32);
  --surface-glass: rgba(31, 58, 46, 0.88);
  --surface-muted-glass: rgba(44, 76, 62, 0.8);

  --shadow: 0 24px 60px -26px rgba(0, 0, 0, 0.7), 0 6px 16px -10px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 18px 40px -22px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: clip;
}
@media (max-width: 880px) {
  html { scroll-padding-top: 72px; }
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--forest);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, video, picture { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
.it { font-family: var(--serif); font-style: italic; font-weight: 400; }
.hand { font-family: var(--hand); font-weight: 500; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 100;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--terra-strong); color: var(--cream);
  font-weight: 500;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============== EYEBROW ============== */
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--forest-soft);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .bullet {
  width: 6px; height: 6px; border-radius: 50%; background: var(--terra);
  display: inline-block;
}

/* ============== NAV ============== */
.site-shell { min-height: 100vh; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 18px max(var(--edge), calc((100% - var(--max-width)) / 2));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 24px;
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: -1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.3s ease;
}
.brand:hover {
  opacity: 0.85;
}
.brand .mark {
  /* Full logo (LP mark + wordmark) — portrait aspect ~0.61 */
  width: 26px;
  height: 42px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("/mark-mask.webp") center / contain no-repeat;
  mask: url("/mark-mask.webp") center / contain no-repeat;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand:hover .mark {
  transform: translateY(-2px) scale(1.05);
}
.brand .name { font-family: var(--serif); font-size: 24px; line-height: 1; }
.brand .name em { font-style: italic; color: var(--forest-soft); margin-left: 2px; }

.nav-links {
  display: flex; justify-content: center; gap: 4px;
  background: var(--surface-muted-glass);
  border: 1px solid var(--line);
  padding: 6px; border-radius: var(--r-pill);
}
.nav-links a {
  padding: 8px 18px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  color: var(--forest);
  transition: background 0.3s ease, color 0.3s ease;
}
.nav-links a:hover { background: var(--cream); }
.nav-links a.active { background: var(--panel-bg); color: var(--panel-fg); }

.nav-actions {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 10px;
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--terra-strong); color: #fff;
  font-weight: 500; font-size: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 18px -8px rgba(196, 90, 46, 0.6);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 22px -10px rgba(196, 90, 46, 0.7); }
.nav-cta .arrow { display: inline-block; transition: transform 0.3s ease; }
.nav-cta:hover .arrow { transform: translate(2px, -2px); }

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  background: var(--cream-2);
  border: 1px solid var(--line);
  color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
  justify-self: end;
}
.theme-toggle:hover { background: var(--cream); transform: translateY(-1px); }
.theme-toggle svg { display: block; }

.pwa-install-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: var(--cream-2);
  border: 1px solid var(--line);
  color: var(--forest);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.3s ease;
}
.pwa-install-button:hover { background: var(--cream); transform: translateY(-1px); }
.pwa-install-button svg { display: block; flex: 0 0 auto; }

.mobile-menu-toggle {
  display: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--panel-bg);
  border: 1px solid rgba(243, 234, 215, 0.14);
  color: var(--panel-fg);
  align-items: center; justify-content: center;
  box-shadow: 0 6px 14px -8px rgba(20, 32, 26, 0.5);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.mobile-menu-toggle:hover {
  background: var(--panel-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px -12px rgba(20, 32, 26, 0.55);
}
.mobile-menu-toggle .bar,
.mobile-menu-toggle .bar::before,
.mobile-menu-toggle .bar::after {
  content: ""; display: block;
  width: 18px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform 0.45s cubic-bezier(0.2,0.8,0.2,1), top 0.3s ease, opacity 0.2s ease, width 0.3s ease;
}
.mobile-menu-toggle .bar { position: relative; }
.mobile-menu-toggle .bar::before { position: absolute; top: -6px; left: 0; }
.mobile-menu-toggle .bar::after { position: absolute; top: 6px; left: 0; width: 13px; }
.mobile-menu-toggle[aria-expanded="true"] .bar { background: transparent; }
.mobile-menu-toggle[aria-expanded="true"] .bar::before { top: 0; transform: rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] .bar::after { top: 0; width: 18px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 12px; padding: 14px var(--edge); }
  .nav-links { display: none; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
  .pwa-install-button {
    width: 40px;
    min-height: 40px;
    padding: 0;
  }
  .pwa-install-button span { display: none; }
  .brand .name { font-size: 20px; white-space: nowrap; }
  .brand .mark { width: 20px; height: 32px; }
  .mobile-menu-toggle { display: inline-flex; }
}
@media (max-width: 480px) {
  .nav-cta .label-full { display: none; }
}
@media (min-width: 481px) {
  .nav-cta .label-short { display: none; }
}
@media (max-width: 640px) {
  .nav-actions:has(.pwa-install-button) .nav-cta {
    display: none;
  }
}

.mobile-menu-layer {
  display: none;
}

@media (max-width: 880px) {
  .site-header.menu-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 70;
    transform: translateZ(0);
  }

  .mobile-menu-layer {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: block;
    visibility: hidden;
    pointer-events: none;
  }

  .mobile-menu-layer.is-open {
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
    display: flex;
    flex-direction: column;
    padding: clamp(88px, 12dvh, 106px) var(--edge) max(16px, env(safe-area-inset-bottom));
    background:
      linear-gradient(150deg, rgba(232, 196, 176, 0.16), transparent 42%),
      linear-gradient(330deg, rgba(182, 200, 196, 0.18), transparent 48%),
      var(--cream);
    color: var(--forest);
    visibility: hidden;
    pointer-events: none;
  }

  .mobile-menu > * {
    position: relative;
    z-index: 1;
  }

  .mobile-menu-layer.is-open .mobile-menu {
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu-curtain {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--cream);
    transform: translateY(-100%);
    transition: transform 0.65s cubic-bezier(0.7, 0, 0.2, 1);
  }

  .mobile-menu-layer.is-open .mobile-menu-curtain {
    transform: translateY(0);
  }

  .mobile-menu-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: clamp(8px, 1.8dvh, 14px);
  }

  .mobile-menu-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--forest-soft);
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.22em;
  }

  .mobile-menu-eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--terra);
    animation: pulse 1.8s ease-in-out infinite;
  }

  .mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
  }

  .mobile-menu-item {
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2,0.8,0.2,1);
  }

  .mobile-menu-layer.is-open .mobile-menu-item {
    opacity: 1;
    transform: none;
  }

  .mobile-menu-layer.is-open .mobile-menu-item:nth-child(1) { transition-delay: 0.30s; }
  .mobile-menu-layer.is-open .mobile-menu-item:nth-child(2) { transition-delay: 0.38s; }
  .mobile-menu-layer.is-open .mobile-menu-item:nth-child(3) { transition-delay: 0.46s; }
  .mobile-menu-layer.is-open .mobile-menu-item:nth-child(4) { transition-delay: 0.54s; }
  .mobile-menu-layer.is-open .mobile-menu-item:nth-child(5) { transition-delay: 0.62s; }

  @keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
  }

  .mobile-menu-link {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: clamp(58px, 8.2dvh, 76px);
    padding: clamp(6px, 1.1dvh, 10px) 4px;
    color: var(--forest);
    position: relative;
    transition: padding-left 0.4s ease, color 0.3s ease;
  }

  .mobile-menu-count {
    font-family: var(--sans);
    color: var(--forest-soft);
    font-size: 11px;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.16em;
  }

  .mobile-menu-label {
    min-width: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(34px, 10.4vw, 42px);
    line-height: 1;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  .mobile-menu-label .it {
    color: var(--terra);
    font-style: italic;
  }

  .mobile-menu-thumb {
    width: clamp(42px, 12vw, 56px);
    height: clamp(42px, 12vw, 56px);
    border-radius: clamp(10px, 3vw, 14px);
    overflow: hidden;
    position: relative;
    background: var(--cream-2);
    box-shadow: 0 8px 18px -10px rgba(20, 32, 26, 0.45);
    transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.3s ease;
  }
  .mobile-menu-thumb img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1);
  }
  .mobile-menu-link:hover .mobile-menu-thumb img,
  .mobile-menu-link.active .mobile-menu-thumb img {
    transform: scale(1.08);
  }

  .mobile-menu-thumb.work { background: linear-gradient(135deg, var(--terra), var(--rose)); }
  .mobile-menu-thumb.services { background: linear-gradient(135deg, var(--panel-bg), var(--sky)); }
  .mobile-menu-thumb.about { background: linear-gradient(135deg, var(--cream-2), var(--terra)); }
  .mobile-menu-thumb.words { background: linear-gradient(135deg, var(--rose), var(--panel-bg)); }
  .mobile-menu-thumb.contact { background: linear-gradient(135deg, var(--sky), var(--terra)); }

  .mobile-menu-link::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--terra);
    transform: translateY(-50%) scale(0);
    transition: transform 0.3s ease;
  }

  .mobile-menu-link:hover,
  .mobile-menu-link.active {
    padding-left: 12px;
  }

  .mobile-menu-link:hover::before,
  .mobile-menu-link.active::before {
    transform: translateY(-50%) scale(1);
  }

  .mobile-menu-link:hover .mobile-menu-thumb,
  .mobile-menu-link.active .mobile-menu-thumb,
  .mobile-menu-link:active .mobile-menu-thumb {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 14px 26px -10px rgba(20, 32, 26, 0.5);
  }

  .mobile-menu-foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(8px, 1.7dvh, 18px);
    margin-top: auto;
    padding-top: clamp(10px, 2.2dvh, 24px);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.72s, transform 0.6s cubic-bezier(0.2,0.8,0.2,1) 0.72s;
  }

  .mobile-menu-layer.is-open .mobile-menu-foot {
    opacity: 1;
    transform: none;
  }

  .mobile-menu-cta {
    grid-column: 1 / -1;
    min-height: clamp(48px, 7dvh, 64px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: clamp(10px, 1.8dvh, 16px) 22px;
    border-radius: var(--r-pill);
    background: var(--panel-bg);
    color: var(--panel-fg);
    font-size: 17px;
    font-weight: 500;
    transition: transform 0.3s ease, background 0.3s ease;
  }

  .mobile-menu-cta:hover {
    transform: translateY(-2px);
    background: var(--panel-hover);
  }

  .mobile-menu-cta .arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--panel-fg);
    color: var(--panel-bg);
    font-size: 13px;
    transition: transform 0.3s ease;
  }

  .mobile-menu-cta:hover .arrow {
    transform: rotate(-45deg);
  }

  .mobile-menu-scribble {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    position: static;
    justify-self: end;
    max-width: min(220px, 56vw);
    color: var(--terra);
    font-family: var(--hand);
    font-size: clamp(20px, 6vw, 25px);
    line-height: 1.05;
    text-align: center;
    transform: rotate(-8deg);
    pointer-events: none;
    margin: -4px 8px -2px 0;
  }

  .mobile-menu-scribble svg {
    display: block;
    width: clamp(46px, 14vw, 60px);
    height: clamp(26px, 8vw, 36px);
    margin: 2px auto 0;
  }

  .mobile-menu-layer.is-open .mobile-menu-scribble .scribble-ink {
    animation: write-wipe 1.7s cubic-bezier(0.6, 0, 0.3, 1) forwards;
    animation-delay: 0.8s;
  }
  .mobile-menu-layer.is-open .mobile-menu-scribble svg path {
    animation: write-draw 1.2s ease forwards;
  }
  .mobile-menu-layer.is-open .mobile-menu-scribble svg path:nth-of-type(1) { animation-delay: 2s; }
  .mobile-menu-layer.is-open .mobile-menu-scribble svg path:nth-of-type(2) { animation-delay: 3.1s; }

  .mobile-menu-contact {
    display: contents;
  }

  .mobile-menu-contact > div:first-child {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    min-width: 0;
  }

  .mobile-menu-contact > div:last-child {
    grid-column: 1 / -1;
    grid-row: 3;
    min-width: 0;
  }

  .mobile-menu-contact .h {
    margin-bottom: clamp(5px, 0.9dvh, 8px);
    color: var(--forest-soft);
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.22em;
  }

  .mobile-menu-contact a,
  .mobile-menu-contact div:not(.h):not(.mobile-menu-socials) {
    color: var(--forest);
    font-family: var(--serif);
    font-size: clamp(15px, 4.35vw, 18px);
    line-height: 1.15;
  }

  .mobile-menu-contact a {
    overflow-wrap: anywhere;
  }

  .mobile-menu-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .mobile-menu-socials a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 14px;
    background: var(--cream-2);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    color: var(--forest);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  }

  .mobile-menu-socials a:hover {
    background: var(--panel-bg);
    border-color: var(--panel-bg);
    color: var(--panel-fg);
  }

  .mobile-menu-meta {
    grid-column: 1 / -1;
    grid-row: 4;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-top: clamp(8px, 1.6dvh, 16px);
    border-top: 1px solid var(--line);
    color: var(--forest-soft);
    font-size: 11px;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 380px) {
  .mobile-menu-label { font-size: 36px; }
  .mobile-menu-thumb { width: 48px; height: 48px; border-radius: 12px; }
}

@media (max-width: 430px) {
  .mobile-menu {
    padding-top: clamp(88px, 10.8dvh, 96px);
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .mobile-menu-link {
    min-height: clamp(58px, 7.4dvh, 66px);
  }

  .mobile-menu-label {
    font-size: clamp(34px, 9.8vw, 39px);
  }

  .mobile-menu-thumb {
    width: clamp(42px, 11.4vw, 50px);
    height: clamp(42px, 11.4vw, 50px);
  }

  .mobile-menu-foot {
    gap: clamp(7px, 1.2dvh, 10px);
    padding-top: clamp(9px, 1.8dvh, 14px);
  }

  .mobile-menu-scribble {
    max-width: min(170px, 45vw);
    font-size: clamp(18px, 5vw, 20px);
    margin: 0 4px 0 0;
    transform: rotate(-6deg);
  }

  .mobile-menu-contact a,
  .mobile-menu-contact div:not(.h):not(.mobile-menu-socials) {
    font-size: clamp(13px, 3.7vw, 15px);
    line-height: 1.08;
  }

  .mobile-menu-scribble svg {
    width: clamp(38px, 11vw, 44px);
    height: clamp(20px, 6vw, 24px);
    margin-top: 0;
  }

  .mobile-menu-socials {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  .mobile-menu-socials a {
    justify-content: center;
    gap: 4px;
    min-height: 30px;
    padding: 5px 3px;
    font-size: 10.5px;
  }
}

@media (max-width: 380px), (max-height: 640px) {
  .site-header {
    padding-block: 10px;
  }

  .brand .mark {
    width: 18px;
    height: 29px;
  }

  .theme-toggle,
  .pwa-install-button,
  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
  }

  .nav-actions {
    gap: 7px;
  }

  .nav-cta {
    padding: 7px 12px;
  }

  .mobile-menu {
    padding: 70px var(--edge) 6px;
  }

  .mobile-menu-head {
    margin-bottom: 6px;
  }

  .mobile-menu-eyebrow {
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .mobile-menu-link {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 44px;
    padding: 4px 2px;
  }

  .mobile-menu-label {
    font-size: 27px;
  }

  .mobile-menu-thumb {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .mobile-menu-cta {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 14px;
  }

  .mobile-menu-cta .arrow {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .mobile-menu-foot {
    gap: 4px;
    padding-top: 7px;
  }

  .mobile-menu-scribble {
    max-width: 118px;
    font-size: 14px;
    line-height: 0.98;
    margin: 0 3px 0 0;
    transform: rotate(-5deg);
  }

  .mobile-menu-scribble svg {
    width: 30px;
    height: 16px;
    margin-top: 0;
  }

  .mobile-menu-contact {
    display: contents;
  }

  .mobile-menu-contact .h {
    margin-bottom: 3px;
    font-size: 9px;
  }

  .mobile-menu-contact a,
  .mobile-menu-contact div:not(.h):not(.mobile-menu-socials) {
    font-size: 12px;
    line-height: 1.04;
  }

  .mobile-menu-socials {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .mobile-menu-socials a {
    justify-content: center;
    gap: 3px;
    min-height: 23px;
    padding: 3px 2px;
    font-size: 9px;
  }

  .mobile-menu-meta {
    padding-top: 5px;
    font-size: 9px;
  }
}

/* ============== SECTION SHELL ============== */
main { display: block; }

.section {
  padding: clamp(32px, 5vh, 56px) var(--edge) clamp(80px, 12vh, 140px);
  position: relative;
}
.section--tight { padding-top: 0; }

.sec-head {
  max-width: var(--max-width);
  margin: 0 auto clamp(48px, 7vh, 80px);
}
.sec-head-row {
  display: flex; justify-content: space-between; align-items: end; gap: 40px;
  flex-wrap: wrap;
}
.sec-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 6vw, 96px); line-height: 0.95;
  letter-spacing: -0.025em; max-width: 16ch;
  margin: 18px 0 0;
}
.sec-head h2 .it { color: var(--terra); }
.sec-head .right {
  max-width: 36ch; color: var(--forest-soft); font-size: 17px; line-height: 1.55; margin: 0;
}

/* ============== BUTTONS ============== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px; border-radius: var(--r-pill);
  background: var(--panel-bg); color: var(--panel-fg);
  font-size: 15px; font-weight: 500;
  transition: transform 0.3s ease, background 0.3s ease;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--panel-hover); }
.btn-primary .arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--panel-fg); color: var(--panel-bg);
  display: grid; place-items: center;
  transition: transform 0.3s ease;
}
.btn-primary:hover .arrow { transform: rotate(-45deg); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px; border-radius: var(--r-pill);
  border: 1px solid var(--line); color: var(--forest);
  font-size: 15px; font-weight: 500;
  transition: background 0.3s ease;
}
.btn-ghost:hover { background: var(--cream-2); }
.btn-ghost .play {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--terra-strong); color: var(--cream);
  display: grid; place-items: center; font-size: 9px;
}

/* ============== HERO ============== */
.hero {
  padding: 60px var(--edge) 80px;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  min-height: calc(100vh - 80px);
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero-left { position: relative; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cream-2); border: 1px solid var(--line);
  padding: 8px 14px 8px 8px; border-radius: var(--r-pill);
  margin-bottom: 32px;
  font-size: 13px; color: var(--forest-soft);
}
.hero-badge .avatars { display: flex; }
.hero-badge .avatars > * {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--cream-2);
  background-size: cover; background-position: center;
  margin-left: -8px;
  overflow: hidden;
}
.hero-badge .avatars > *:first-child { margin-left: 0; }
.hero-badge .avatars img { width: 100%; height: 100%; object-fit: cover; }

.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(54px, 7.8vw, 132px); line-height: 0.95;
  letter-spacing: 0;
  margin: 0 0 28px;
}
.hero h1 .it { color: var(--terra); font-style: italic; }
.hero h1 .underline { position: relative; display: inline-block; }
.hero h1 .underline::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: 6%;
  height: 18%; background: var(--rose); z-index: -1; opacity: 0.85;
  border-radius: 8px;
}

.hero p.sub {
  max-width: 46ch; font-size: 18px; line-height: 1.55;
  color: var(--forest-soft); margin: 0 0 36px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-stats {
  margin-top: 56px;
  display: flex; gap: 40px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 24px;
}
.stat .n { font-family: var(--serif); font-size: 40px; line-height: 1; }
.stat .n .it { color: var(--terra); font-style: italic; }
.stat .l {
  font-size: 12px; color: var(--forest-soft); text-transform: uppercase;
  letter-spacing: 0.18em; margin-top: 4px;
}

/* hero collage */
.hero-right { position: relative; min-height: 560px; }
.ph-card {
  position: absolute; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1);
}
.ph-card picture, .ph-card img { width: 100%; height: 100%; object-fit: cover; }
.ph-card .tag {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(243, 234, 215, 0.92); color: var(--palette-forest);
  font-size: 11px; font-weight: 500; padding: 6px 10px; border-radius: var(--r-pill);
  letter-spacing: 0.04em;
}
.ph-main { width: 62%; height: 78%; right: 0; top: 6%; transform: rotate(2deg); }
.ph-main .tag { left: auto; right: 12px; }
.ph-side { width: 42%; height: 38%; left: 0; top: 16%; transform: rotate(-6deg); }
.ph-foot {
  width: 46%; height: 30%; left: 12%; bottom: 4%;
  transform: rotate(3deg); border: 6px solid var(--cream);
}
.ph-card:hover { transform: rotate(0deg) translateY(-6px); }

.scribble {
  position: absolute; top: -4%; left: 0; right: auto;
  font-family: var(--hand); color: var(--terra);
  font-size: 28px; line-height: 1.1;
  transform: rotate(-8deg);
  text-align: center; white-space: nowrap;
  z-index: 3; pointer-events: none;
}
.scribble svg { display: block; margin: 6px auto 0; width: 70px; height: 40px; color: var(--terra); }

/* ============== HANDWRITE DRAW ============== */
.scribble-ink { display: inline-block; }

/* Hidden start state only when JS is present, so it degrades to fully visible
   if scripting is off (these are decorative, aria-hidden accents). */
.js .handwrite .scribble-ink,
.js .mobile-menu-scribble .scribble-ink {
  clip-path: inset(0 100% 0 0);
}
.js .handwrite svg path,
.js .mobile-menu-scribble svg path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

/* Hero + contact scribbles: drawn when scrolled into view (observer adds .active) */
.handwrite.active .scribble-ink {
  animation: write-wipe 1.7s cubic-bezier(0.6, 0, 0.3, 1) forwards;
}
.handwrite.active svg path {
  animation: write-draw 1.2s ease forwards;
}
.handwrite.active svg path:nth-of-type(1) { animation-delay: 1.2s; }
.handwrite.active svg path:nth-of-type(2) { animation-delay: 2.3s; }

@keyframes write-wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes write-draw { to { stroke-dashoffset: 0; } }

/* ============== MARQUEE STRIP ============== */
.strip {
  background: var(--panel-bg); color: var(--panel-fg);
  padding: 22px 0;
  overflow: hidden;
  display: flex;
  border-top: 1px solid var(--panel-line);
  border-bottom: 1px solid var(--panel-line);
}
.strip-track {
  display: flex; gap: 60px;
  animation: scroll 50s linear infinite;
  flex-shrink: 0; padding-right: 60px;
}
.strip-item {
  font-family: var(--serif); font-size: 38px; letter-spacing: -0.01em;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 60px;
}
.strip-item em { font-style: italic; color: var(--palette-strip-accent); }
.strip-item .star { color: var(--palette-strip-accent); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============== SERVICES ============== */
.services { max-width: var(--max-width); margin: 0 auto; display: grid; gap: 22px; }
.svc-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.svc-pill {
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--cream-2); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.3s ease;
  color: var(--forest);
}
.svc-pill.active { background: var(--panel-bg); color: var(--panel-fg); border-color: var(--panel-bg); }
.svc-pill:hover:not(.active) { background: var(--cream); }

.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.svc {
  background: var(--cream-2); border-radius: var(--r-xl); overflow: hidden;
  position: relative; aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1);
  display: block;
  color: var(--palette-cream);
}
.svc:hover { transform: translateY(-6px); }
.svc picture, .svc img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2,0.8,0.2,1);
}
.svc:hover img { transform: scale(1.05); }
.svc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20,32,26,0.78));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
}
.svc-overlay .num {
  position: absolute; top: 20px; left: 20px;
  background: rgba(243,234,215,0.92); color: var(--palette-forest);
  font-size: 12px; font-weight: 500;
  padding: 5px 11px; border-radius: var(--r-pill); letter-spacing: 0.06em;
}
.svc-overlay .price {
  position: absolute; top: 20px; right: 20px;
  background: var(--terra-strong); color: var(--cream);
  font-size: 12px; font-weight: 500;
  padding: 5px 11px; border-radius: var(--r-pill);
}
.svc-overlay h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 32px; line-height: 1; letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.svc-overlay h3 .it { font-style: italic; color: var(--rose); }
.svc-overlay p {
  font-size: 14px; opacity: 0.85; line-height: 1.5; max-width: 28ch;
  margin: 0;
}

@media (max-width: 1024px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .svc-grid { grid-template-columns: 1fr; } }

/* ============== BENTO ============== */
.bento {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(92px, 7.4vw, 120px);
  gap: 18px;
}
.b {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  cursor: pointer; box-shadow: var(--shadow-soft);
  margin: 0;
  background: var(--cream-2);
}
.b button {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0;
}
.b picture, .b img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2,0.8,0.2,1);
}
.b:hover img { transform: scale(1.05); }
.b .cap {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(243,234,215,0.92); color: var(--palette-forest);
  font-size: 12px; font-weight: 500;
  padding: 6px 12px; border-radius: var(--r-pill);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.b:hover .cap, .b:focus-within .cap { opacity: 1; transform: translateY(0); }
.b1 { grid-column: 1 / 7; grid-row: 1 / 4; }
.b2 { grid-column: 7 / 13; grid-row: 1 / 3; }
.b3 { grid-column: 7 / 13; grid-row: 3 / 5; }
.b4 { grid-column: 1 / 7; grid-row: 4 / 6; }
.b5 { grid-column: 7 / 13; grid-row: 5 / 7; }
.b6 { grid-column: 1 / 7; grid-row: 6 / 9; }
.b7 { grid-column: 1 / 5; grid-row: 9 / 11; }
.b8 { grid-column: 7 / 13; grid-row: 7 / 9; }
.b9 { grid-column: 5 / 9; grid-row: 9 / 11; }
.b10 { grid-column: 9 / 13; grid-row: 9 / 11; }
.b2 img { object-position: 50% 22%; }
.b3 img { object-position: 54% 38%; }
.b5 img { object-position: 50% 16%; }
.b6 img { object-position: 52% 42%; }
.b7 img { object-position: 50% 42%; }
.b9 img { object-position: 45% 48%; }
.b10 img { object-position: 42% 22%; }
@media (max-width: 1024px) {
  .bento {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: clamp(86px, 12vw, 112px);
  }
  .b1 { grid-column: 1 / 4; grid-row: 1 / 4; }
  .b2 { grid-column: 4 / 7; grid-row: 1 / 3; }
  .b3 { grid-column: 4 / 7; grid-row: 3 / 5; }
  .b4 { grid-column: 1 / 4; grid-row: 4 / 6; }
  .b5 { grid-column: 4 / 7; grid-row: 5 / 7; }
  .b6 { grid-column: 1 / 4; grid-row: 6 / 9; }
  .b7 { grid-column: 4 / 7; grid-row: 7 / 9; }
  .b8 { grid-column: 1 / 4; grid-row: 9 / 11; }
  .b9 { grid-column: 4 / 7; grid-row: 9 / 11; }
  .b10 { grid-column: 1 / 7; grid-row: 11 / 13; }
}
@media (max-width: 640px) {
  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .b1, .b2, .b3, .b4, .b5, .b6, .b7, .b8, .b9, .b10 {
    grid-column: auto; grid-row: auto;
    aspect-ratio: 4 / 3;
  }
}

.view-all {
  max-width: var(--max-width); margin: 36px auto 0;
  display: flex; justify-content: center;
}

/* ============== BEHIND THE SCENES ============== */
.bts-strip {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px;
  align-items: end;
}
.bts-card {
  position: relative; margin: 0;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1);
}
.bts-card picture, .bts-card img {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.bts-card:hover { transform: translateY(-6px) rotate(0deg); }
.bts-card .bts-cap {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  background: rgba(20, 32, 26, 0.72); color: var(--palette-cream);
  font-size: 11px; letter-spacing: 0.04em;
  padding: 6px 10px; border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}

.bts-video {
  max-width: var(--max-width); margin: 28px auto 0;
  position: relative; aspect-ratio: 16 / 9;
  border-radius: var(--r-xl); overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-soft);
}
.bts-video iframe {
  width: 100%; height: 100%; border: 0; display: block;
}

/* asymmetric polaroid layout */
.bts-a { grid-column: span 3; aspect-ratio: 3 / 4; transform: rotate(-2deg); }
.bts-b { grid-column: span 4; aspect-ratio: 4 / 5; transform: rotate(1.5deg); margin-bottom: 18px; }
.bts-c { grid-column: span 2; aspect-ratio: 3 / 4; transform: rotate(-1deg); }
.bts-d { grid-column: span 3; aspect-ratio: 4 / 3; transform: rotate(2deg); margin-bottom: 32px; }

@media (max-width: 880px) {
  .bts-strip {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .bts-a, .bts-b, .bts-c, .bts-d {
    grid-column: 1; aspect-ratio: 4 / 3;
    transform: none; margin-bottom: 0;
  }
}

/* ============== WATCH ============== */
.watch-strip {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; gap: 22px;
}
.watch-strip--shorts { grid-template-columns: repeat(4, 1fr); }
.watch-strip--features {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
}
.watch-card {
  position: relative; aspect-ratio: 9 / 16;
  border-radius: var(--r-xl); overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-soft);
}
.watch-card--wide { aspect-ratio: 16 / 9; }
.watch-card iframe {
  width: 100%; height: 100%; border: 0; display: block;
}
.watch-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  padding: 0; border: 0; background: transparent;
  cursor: pointer; color: var(--palette-cream);
  transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1);
}
.watch-thumb:hover { transform: scale(1.02); }
.watch-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(20,32,26,0) 35%,
    rgba(20,32,26,0.55) 80%,
    rgba(20,32,26,0.8) 100%);
  pointer-events: none;
}
.watch-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2,0.8,0.2,1);
}
.watch-thumb:hover img { transform: scale(1.05); }
.watch-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: rgba(243, 234, 215, 0.92);
  color: var(--palette-forest);
  border-radius: 50%;
  box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 1;
}
.watch-thumb:hover .watch-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--palette-cream);
}
.watch-play svg { margin-left: 3px; }
.watch-cap {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  font-size: 13px; letter-spacing: -0.005em;
  color: var(--palette-cream);
  text-align: left;
  z-index: 1;
}
.watch-strip > .reveal:nth-child(2) { transition-delay: 80ms; }
.watch-strip > .reveal:nth-child(3) { transition-delay: 160ms; }
.watch-strip > .reveal:nth-child(4) { transition-delay: 220ms; }

@media (max-width: 1024px) {
  .watch-strip--shorts { grid-template-columns: repeat(2, 1fr); }
}
.watch-shorts-wrap { position: relative; }
.watch-arrow {
  display: none;
  position: absolute; top: 50%; z-index: 2;
  width: 40px; height: 40px;
  transform: translateY(-50%);
  background: rgba(243, 234, 215, 0.92);
  color: var(--palette-forest);
  border: 0; border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.45);
  display: grid; place-items: center;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.watch-arrow--prev { left: 8px; }
.watch-arrow--next { right: 8px; }
.watch-arrow:hover {
  background: var(--palette-cream);
  transform: translateY(-50%) scale(1.06);
}
.watch-arrow.is-disabled {
  opacity: 0; pointer-events: none;
  transform: translateY(-50%) scale(0.8);
}

@media (min-width: 881px) {
  .watch-arrow { display: none; }
}

@media (max-width: 880px) {
  .watch-arrow { display: grid; }
  .watch-strip--features { grid-template-columns: 1fr; gap: 18px; }
  .watch-strip--features .watch-card { aspect-ratio: 16 / 9; max-width: 560px; margin: 0 auto; width: 100%; }

  /* Shorts: horizontal swipeable carousel */
  .watch-strip--shorts {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px var(--edge) 14px;
    margin: 0 calc(var(--edge) * -1);
    scroll-padding-inline: var(--edge);
  }
  .watch-strip--shorts::-webkit-scrollbar { display: none; }
  .watch-strip--shorts .watch-card {
    flex: 0 0 72%;
    max-width: 280px;
    scroll-snap-align: start;
    aspect-ratio: 9 / 16;
  }
}

/* ============== ABOUT ============== */
.about-section { background: var(--cream-2); }
.about-wrap {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.about-img {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img picture, .about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img .tape {
  position: absolute; top: -14px; left: 36px;
  background: var(--rose); color: var(--palette-forest);
  font-family: var(--hand); font-size: 22px;
  padding: 6px 30px; transform: rotate(-3deg);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 2;
}
.about-body h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5vw, 76px); line-height: 0.98;
  letter-spacing: -0.02em; margin: 16px 0 28px;
}
.about-body h2 .it { color: var(--terra); font-style: italic; }
.about-body p {
  font-size: 17px; line-height: 1.65; color: var(--forest-soft);
  margin: 0 0 16px;
  max-width: 48ch;
}
.about-meta {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.about-meta .k {
  font-family: var(--serif); font-size: 32px; line-height: 1; margin-bottom: 6px;
}
.about-meta .k .it { color: var(--terra); font-style: italic; }
.about-meta .v { font-size: 13px; color: var(--forest-soft); letter-spacing: 0.05em; }
.signature {
  margin-top: 32px; display: flex; align-items: center; gap: 18px;
}
.signature .sig {
  font-family: var(--hand); font-size: 44px; color: var(--forest);
  line-height: 1;
}
.signature .role {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--forest-soft);
}
@media (max-width: 880px) {
  .about-wrap { grid-template-columns: 1fr; }
  .about-meta { grid-template-columns: 1fr 1fr; }
}

/* ============== TESTIMONIAL ============== */
.testify-bg {
  background: var(--panel-bg); color: var(--panel-fg);
  margin: 0; padding: clamp(80px, 12vh, 140px) var(--edge);
  position: relative; overflow: hidden;
}
.testify-bg::before {
  content: "❝"; position: absolute;
  top: -40px; left: -10px;
  font-family: var(--serif); font-size: 480px;
  color: var(--panel-elev); opacity: 0.4; line-height: 1;
  pointer-events: none;
}
.testify {
  max-width: 1000px; margin: 0 auto;
  position: relative; z-index: 2;
  text-align: center;
}
.testify .eyebrow { color: var(--rose); }
.testify .eyebrow .bullet { background: var(--terra); }
.testify blockquote {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 4vw, 54px); line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 28px 0 36px;
  text-wrap: pretty;
  transition: opacity 0.4s ease;
}
.testify blockquote .it { color: var(--rose); font-style: italic; }
.testify .who {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--panel-elev);
  border: 1px solid var(--panel-line);
  padding: 10px 18px 10px 10px; border-radius: var(--r-pill);
  transition: opacity 0.4s ease;
}
.testify .who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.testify .who .n { font-weight: 500; font-size: 14px; text-align: left; }
.testify .who .r { font-size: 12px; opacity: 0.7; text-align: left; }
.testify-dots { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.testify-dots button {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--panel-elev);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
  padding: 0; border: 0;
}
.testify-dots button.active {
  background: var(--rose); width: 22px; border-radius: 4px;
}

/* ============== CTA + CONTACT FORM ============== */
.cta-wrap {
  max-width: var(--max-width); margin: 0 auto;
  background: var(--cream-2);
  border-radius: var(--r-xl);
  padding: clamp(48px, 8vw, 100px);
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-wrap::before {
  content: ""; position: absolute;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, var(--rose) 0%, transparent 70%);
  top: -200px; right: -120px; opacity: 0.6;
  pointer-events: none;
}
.cta-wrap::after {
  content: ""; position: absolute;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, var(--sky) 0%, transparent 70%);
  bottom: -160px; left: -100px; opacity: 0.5;
  pointer-events: none;
}
.cta-wrap > * { position: relative; z-index: 2; }
.cta-wrap h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 7.5vw, 130px); line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 24px 0 20px;
}
.cta-wrap h2 .it { color: var(--terra); display: inline-block; font-style: italic; }
.cta-wrap h2 .arrow-inline {
  display: inline-block; transform: translateY(-12px); margin: 0 6px;
}
.cta-wrap p {
  font-size: 18px; color: var(--forest-soft); max-width: 50ch;
  margin: 0 auto 36px;
}
.cta-row { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.scribble2 {
  display: block;
  font-family: var(--hand); font-size: 24px; color: var(--terra);
  transform: rotate(-3deg);
  margin: 18px 0 0;
  text-align: center;
  position: relative; z-index: 3;
}

.contact-form {
  max-width: 640px; margin: 48px auto 0;
  display: grid; gap: 18px;
  text-align: left;
}
.contact-form .row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .contact-form .row { grid-template-columns: 1fr; } }
.contact-form label {
  display: block;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--forest-soft); margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--cream);
  font-family: var(--sans); font-size: 16px;
  color: var(--forest);
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea {
  background: rgba(31, 58, 46, 0.8);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(196, 90, 46, 0.15);
}
.contact-form .submit-row {
  display: flex; justify-content: center; margin-top: 12px;
}
.hidden-field { position: absolute; left: -9999px; }

.contact-form button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.contact-form input[disabled],
.contact-form textarea[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-error {
  margin: 0;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: rgba(196, 90, 46, 0.14);
  color: var(--terra);
  font-size: 14px;
  text-align: left;
}

.turnstile-box {
  display: grid;
  gap: 10px;
}

.contact-success {
  max-width: 640px; margin: 48px auto 0;
  text-align: center;
}
.contact-success-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--terra);
  margin: 0 0 12px;
}
.contact-success-body {
  font-size: 17px;
  color: var(--forest-soft);
  margin: 0;
}

/* ============== FOOTER ============== */
.site-footer {
  padding: 60px var(--edge) 28px;
  background: var(--panel-bg); color: var(--panel-fg);
}
.foot-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--panel-line);
}
.foot-grid h3 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--rose); margin: 0 0 16px; font-weight: 500;
}
.foot-grid ul { list-style: none; display: grid; gap: 10px; padding: 0; margin: 0; }
.foot-grid li,
.foot-grid a {
  min-width: 0;
  overflow-wrap: anywhere;
}
.foot-grid a { transition: color 0.3s ease; }
.foot-grid a:hover { color: var(--rose); }
.foot-brand {
  font-family: var(--serif); font-size: 48px; line-height: 1; margin-bottom: 16px;
}
.foot-brand em { color: var(--rose); font-style: italic; }
.foot-tagline {
  font-size: 14px;
  color: var(--panel-fg-soft);
  max-width: 28ch; margin: 0;
}
.foot-bottom {
  max-width: var(--max-width); margin: 28px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--panel-fg-soft);
  letter-spacing: 0.05em;
  flex-wrap: wrap; gap: 14px;
}
@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .site-footer {
    padding: 44px 20px 22px;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    row-gap: 34px;
    padding-bottom: 34px;
  }

  .foot-grid > div:nth-child(1),
  .foot-grid > div:nth-child(2) {
    grid-column: 1 / -1;
  }

  .foot-brand {
    font-size: clamp(44px, 16vw, 58px);
    margin-bottom: 14px;
  }

  .foot-tagline {
    max-width: 22ch;
    font-size: 15px;
    line-height: 1.48;
  }

  .foot-grid h3 {
    margin-bottom: 12px;
  }

  .foot-grid ul {
    gap: 8px;
  }

  .foot-grid > div:nth-child(2) ul {
    font-size: 17px;
    line-height: 1.45;
  }

  .foot-bottom {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    font-size: 11px;
    line-height: 1.5;
  }
}

/* ============== REVEAL ============== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.2,0.8,0.2,1);
  will-change: opacity, transform;
}
.reveal--left { transform: translateX(-32px); }
.reveal--right { transform: translateX(32px); }
.reveal--scale { transform: translateY(16px) scale(0.96); }
.reveal.active, .reveal.in { opacity: 1; transform: none; }

/* Above-the-fold hero reveals via CSS only — no IntersectionObserver gating,
   so the LCP content paints even if JS is slow or fails. */
.reveal-hero {
  opacity: 1;
  transform: none;
  animation: none;
}
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* Stagger children inside grids and rows */
.svc-grid > .reveal:nth-child(2),
.bento > .reveal:nth-child(2),
.bts-strip > .reveal:nth-child(2) { transition-delay: 80ms; }
.svc-grid > .reveal:nth-child(3),
.bento > .reveal:nth-child(3),
.bts-strip > .reveal:nth-child(3) { transition-delay: 160ms; }
.svc-grid > .reveal:nth-child(4),
.bento > .reveal:nth-child(4),
.bts-strip > .reveal:nth-child(4) { transition-delay: 220ms; }
.svc-grid > .reveal:nth-child(5),
.bento > .reveal:nth-child(5) { transition-delay: 280ms; }
.svc-grid > .reveal:nth-child(6),
.bento > .reveal:nth-child(6) { transition-delay: 340ms; }
.svc-grid > .reveal:nth-child(7),
.bento > .reveal:nth-child(7) { transition-delay: 400ms; }
.svc-grid > .reveal:nth-child(8),
.bento > .reveal:nth-child(8) { transition-delay: 460ms; }
.svc-grid > .reveal:nth-child(9),
.bento > .reveal:nth-child(9) { transition-delay: 520ms; }
.bento > .reveal:nth-child(10) { transition-delay: 580ms; }

.hero-stats > .stat.reveal:nth-child(2) { transition-delay: 120ms; }
.hero-stats > .stat.reveal:nth-child(3) { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal--scale { opacity: 1; transform: none; transition: none; }
  .reveal-hero { opacity: 1; transform: none; animation: none; }
  .js .handwrite .scribble-ink,
  .js .mobile-menu-scribble .scribble-ink { clip-path: none; animation: none; }
  .js .handwrite svg path,
  .js .mobile-menu-scribble svg path { stroke-dashoffset: 0; animation: none; }
}

/* ============== LIGHTBOX ============== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(14, 31, 23, 0.96);
  display: grid; place-items: center;
  padding: 32px;
  animation: fade 0.3s ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-stage {
  max-width: min(1200px, 92vw);
  max-height: 80vh;
}
.lightbox-image {
  max-height: 80vh; max-width: 100%;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--r-md);
}
.lightbox-stage picture { display: contents; }
.lightbox-control {
  position: absolute;
  z-index: 1;
  background: rgba(243, 234, 215, 0.9);
  color: var(--palette-forest-deep);
  border: 1px solid rgba(243, 234, 215, 0.75);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-size: 28px; line-height: 1;
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(14, 31, 23, 0.24);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.lightbox-control:hover {
  background: var(--palette-cream);
  border-color: var(--palette-cream);
}
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  padding: 8px 14px;
  color: var(--palette-cream); font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; margin: 0;
  background: rgba(14, 31, 23, 0.72);
  border: 1px solid rgba(243, 234, 215, 0.22);
  border-radius: var(--r-pill);
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.8);
}

/* ============== GALLERY PAGE ============== */
.gallery-page {
  max-width: var(--max-width); margin: 0 auto;
  padding: clamp(64px, 10vh, 120px) var(--edge);
}
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 40px 0;
}
.gallery-filter {
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--cream-2); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--forest);
  cursor: pointer; transition: all 0.3s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.gallery-filter:hover:not(:disabled) { background: var(--cream); }
.gallery-filter.is-active {
  background: var(--panel-bg); color: var(--panel-fg); border-color: var(--panel-bg);
}
.gallery-filter:disabled { opacity: 0.4; cursor: not-allowed; }
.gallery-filter-count {
  font-size: 11px; padding: 2px 8px; border-radius: var(--r-pill);
  background: rgba(31, 58, 46, 0.08);
  color: var(--forest-soft);
}
.gallery-filter.is-active .gallery-filter-count {
  background: rgba(243, 234, 215, 0.24);
  color: var(--panel-fg);
}

.gallery-columns {
  columns: 3 280px;
  column-gap: 18px;
}
.gallery-tile {
  break-inside: avoid;
  margin: 0 0 18px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.gallery-tile-button {
  display: block; width: 100%; padding: 0;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--cream-2);
}
.gallery-tile picture, .gallery-tile img {
  width: 100%; height: auto; display: block;
  transition: transform 0.7s cubic-bezier(0.2,0.8,0.2,1);
}
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-empty {
  text-align: center; padding: 80px 24px;
  color: var(--forest-soft); font-family: var(--serif);
  font-size: 24px; font-style: italic;
}
.back-to-top {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 48px auto 0;
  padding: 12px 22px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--cream-2);
  font-size: 14px; font-weight: 500;
  transition: background 0.3s ease;
}
.back-to-top:hover { background: var(--cream); }
.gallery-foot { display: flex; justify-content: center; }

/* ============== LEGAL / GENERIC PAGE ============== */
.page-shell {
  max-width: 820px; margin: 0 auto;
  padding: clamp(64px, 10vh, 120px) var(--edge);
}
.page-shell .eyebrow { margin-bottom: 16px; }
.page-shell h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 6vw, 96px); line-height: 0.98;
  letter-spacing: -0.02em; margin: 0 0 24px;
}
.page-shell h1 .it { color: var(--terra); font-style: italic; }
.page-shell .lead {
  font-size: 18px; line-height: 1.6; color: var(--forest-soft);
  margin: 0 0 48px; max-width: 60ch;
}
.legal-card {
  background: var(--cream-2);
  border-radius: var(--r-xl);
  padding: 48px;
  display: grid; gap: 32px;
}
.legal-section h3 {
  font-family: var(--serif); font-size: 24px; font-weight: 400;
  margin: 0 0 12px;
}
.legal-section p { margin: 0 0 8px; color: var(--forest-soft); line-height: 1.6; }

.page-actions {
  display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px;
}

/* ============== COOKIE CONSENT ============== */
.cookie-consent {
  position: fixed; left: 50%; bottom: 24px;
  transform: translate(-50%, calc(100% + 40px));
  width: min(720px, calc(100% - 32px));
  background: var(--panel-bg); color: var(--panel-fg);
  border-radius: var(--r-xl);
  padding: 18px 22px;
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 18px 50px -16px rgba(0,0,0,0.45);
  z-index: 60;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}
.cookie-consent.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-consent p { margin: 0; max-width: 48ch; }
.cookie-consent a { color: var(--rose); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions button {
  padding: 8px 16px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500;
  transition: background 0.3s ease;
}
.cookie-actions .accept { background: var(--terra-strong); color: #fff; }
.cookie-actions .accept:hover { background: var(--palette-ink); }
.cookie-actions .decline {
  background: transparent; color: var(--panel-fg);
  border: 1px solid var(--panel-line);
}
.cookie-actions .decline:hover { background: rgba(243, 234, 215, 0.1); }

/* ============== RESPONSIVE TWEAKS ============== */
@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 36px; padding-bottom: 48px;
    min-height: auto;
  }
  .hero-right { min-height: 460px; }
  .scribble { display: none; }
  .section { padding: 28px 20px 64px; }
  .sec-head h2 { font-size: 40px; }
  .strip-item { font-size: 28px; gap: 30px; }
  .site-footer { padding: 48px 20px 24px; }
}
