/* ============================================================
   Crescent Moon Vans — Handcrafted design system
   Paper, graphite, walnut, brass, navy ink.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* paper + material palette */
  --paper:        #f6f0e1;
  --paper-warm:   #f1e8d2;
  --paper-deep:   #e9dfc6;
  --paper-card:   #fbf7ec;
  --ink:          #1d3a56;   /* navy ink, from the logo */
  --ink-soft:     rgba(29, 58, 86, 0.72);
  --graphite:     #4f4c44;
  --pencil:       rgba(60, 56, 46, 0.55);
  --moon:         #e8d77c;   /* crescent gold */
  --brass:        #9a7b2d;
  --brass-deep:   #7c6222;
  --walnut:       #5b3e2a;
  --line:         rgba(29, 58, 86, 0.35);
  --line-faint:   rgba(29, 58, 86, 0.16);
  --tape:         rgba(232, 215, 124, 0.45);

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body:    "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-mono:    "IBM Plex Mono", "Courier New", monospace;
  --font-hand:    "Caveat", "Segoe Script", cursive;

  /* sketchy box radii — intentionally irregular */
  --sketch-radius:    255px 15px 225px 15px / 15px 225px 15px 255px;
  --sketch-radius-sm: 125px 10px 115px 10px / 10px 115px 10px 125px;

  --shadow-paper: 0 1px 2px rgba(50, 40, 20, 0.08), 0 8px 24px rgba(50, 40, 20, 0.12);
  --shadow-print: 0 2px 6px rgba(50, 40, 20, 0.18), 0 12px 28px rgba(50, 40, 20, 0.16);

  --header-height: 76px;
  --section-pad: clamp(1.9rem, 3.2vw, 3rem);
  --section-safe-offset: var(--header-height);
  --measure: 62ch;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--section-safe-offset);
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* paper grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 560;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; max-width: var(--measure); }

::selection { background: var(--moon); color: var(--ink); }

:focus-visible {
  outline: 2px dashed var(--brass);
  outline-offset: 3px;
}

.wrap {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.rel { position: relative; }
.m0 { margin: 0; }
.text-center { text-align: center; }
.stack-top-sm { margin-top: 1.4rem; }
.stack-top-md { margin-top: 1.6rem; }
.stack-top-lg { margin-top: 2rem; }
.stack-top-xl { margin-top: 2.6rem; }
.stack-top-2xl { margin-top: 3rem; }
.stack-top-3xl { margin-top: 3.4rem; }
.max-w-420 { max-width: 420px; }

.note-b-sm { bottom: -0.9rem; }
.note-b-md { bottom: -1rem; }
.note-l-6 { left: 6%; }
.note-l-8 { left: 8%; }
.note-l-10 { left: 10%; }
.note-r-6 { right: 6%; }
.note-r-8 { right: 8%; }
.note-r-10 { right: 10%; }

/* ============================================================
   Type helpers
   ============================================================ */

/* drafting-style eyebrow: SHEET 03 · MOBILE BUSINESS */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background:
    repeating-linear-gradient(90deg, var(--brass) 0 6px, transparent 6px 10px);
}

/* handwritten margin notes */
.hand {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--ink-soft);
  font-weight: 500;
}

.lede {
  font-size: 1.2rem;
  color: var(--graphite);
}

/* sketchy underline on a key word */
.u-sketch {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='10' viewBox='0 0 120 10'%3E%3Cpath d='M2 7 C 20 3, 38 8, 58 5 S 100 4, 118 6' fill='none' stroke='%239a7b2d' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.45em;
  padding-bottom: 0.32em;
}

/* ============================================================
   Hand-drawn furniture
   ============================================================ */

.sketch-box {
  border: 1.6px solid var(--ink);
  border-radius: var(--sketch-radius);
}

/* button drawn with a pen */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  border: 1.6px solid var(--ink);
  border-radius: var(--sketch-radius-sm);
  padding: 0.85em 1.7em;
  cursor: pointer;
  position: relative;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.btn:hover {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(-0.4deg) translateY(-1px);
  box-shadow: 2px 3px 0 rgba(29, 58, 86, 0.25);
}
.btn--solid {
  background: var(--ink);
  color: var(--paper);
}
.btn--solid:hover {
  background: var(--brass);
  border-color: var(--brass-deep);
}
.btn--moon {
  background: var(--moon);
  border-color: var(--ink);
  color: var(--ink);
}
.btn--moon:hover { background: var(--ink); color: var(--moon); }

/* hand-drawn horizontal rule with a little moon */
.rule-hand {
  border: none;
  height: 14px;
  margin: 0 auto;
  width: min(420px, 70%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='14' viewBox='0 0 420 14'%3E%3Cpath d='M4 8 C 60 5, 120 10, 186 7' fill='none' stroke='%231d3a56' stroke-width='1.4' stroke-linecap='round' opacity='0.55'/%3E%3Cpath d='M234 7 C 300 10, 360 5, 416 8' fill='none' stroke='%231d3a56' stroke-width='1.4' stroke-linecap='round' opacity='0.55'/%3E%3Cpath d='M213 1.5 a 5.5 5.5 0 1 0 0 11 a 4.4 4.4 0 1 1 0 -11 z' fill='%239a7b2d'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* masking-tape strips */
.tape {
  position: relative;
}
.tape::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 96px;
  height: 26px;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--tape);
  border-left: 1px dashed rgba(124, 98, 34, 0.25);
  border-right: 1px dashed rgba(124, 98, 34, 0.25);
  box-shadow: 0 1px 2px rgba(80, 60, 20, 0.12);
  z-index: 3;
}
.tape--corners::before {
  left: -28px; top: -12px;
  transform: rotate(-45deg);
  width: 86px;
}
.tape--corners::after {
  content: "";
  position: absolute;
  right: -28px; bottom: -12px;
  width: 86px; height: 26px;
  transform: rotate(-45deg);
  background: var(--tape);
  border-left: 1px dashed rgba(124, 98, 34, 0.25);
  border-right: 1px dashed rgba(124, 98, 34, 0.25);
  box-shadow: 0 1px 2px rgba(80, 60, 20, 0.12);
  z-index: 3;
}

/* photo treated like a workshop print */
.print {
  background: #fff;
  padding: 10px 10px 12px;
  box-shadow: var(--shadow-print);
  overflow: hidden;
  position: relative;
}
.print img { width: 100%; height: 100%; object-fit: cover; }

.tilt-l { transform: rotate(-1.1deg); }
.tilt-r { transform: rotate(0.9deg); }

/* drafting corner ticks on a section */
.plate {
  position: relative;
  background: var(--paper-card);
  border: 1px solid var(--line-faint);
  box-shadow: var(--shadow-paper);
}
.plate::before, .plate::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border-color: var(--line);
  border-style: solid;
}
.plate::before {
  top: 8px; left: 8px;
  border-width: 1.4px 0 0 1.4px;
}
.plate::after {
  bottom: 8px; right: 8px;
  border-width: 0 1.4px 1.4px 0;
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 240, 225, 0.94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-faint);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-faint);
  box-shadow: 0 1px 3px rgba(50, 40, 20, 0.18);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand-mark img { width: 86%; height: 86%; object-fit: contain; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 620;
  font-size: 1.18rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.05;
  text-transform: uppercase;
}
.brand-name small {
  display: block;
  font-family: var(--font-hand);
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--brass);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.site-nav a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 0.4em 0.1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='8' viewBox='0 0 100 8'%3E%3Cpath d='M2 5 C 25 2, 50 7, 75 4 S 95 3, 98 5' fill='none' stroke='%239a7b2d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 0.35em;
  transition: background-size 220ms ease;
}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn)[aria-current="page"] {
  background-size: 100% 0.35em;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1.4px solid var(--ink);
  border-radius: var(--sketch-radius-sm);
  padding: 0.45em 0.7em;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
    background: var(--paper-card);
    border-bottom: 1.6px solid var(--ink);
    padding: 1.4rem clamp(1.5rem, 6vw, 3rem) 1.8rem;
    display: none;
  }
  .site-nav.open { display: flex; }
}

@media (max-width: 560px) {
  :root { --header-height: 68px; }

  .site-header .wrap {
    gap: 0.8rem;
    min-height: var(--header-height);
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-name { font-size: 0.95rem; }
  .brand-name small { font-size: 0.82rem; }
}

@media (max-width: 400px) {
  .brand-name small { display: none; }
}

/* ============================================================
   Hero slideshow
   ============================================================ */

.hero {
  position: relative;
  min-height: max(560px, calc(100svh - var(--header-height)));
  overflow: hidden;
  background: var(--ink);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1100ms ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.hero-slide.active img {
  animation: kenburns 9s ease-out forwards;
}
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.1); }
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(15deg, rgba(20, 32, 46, 0.55) 0%, rgba(20, 32, 46, 0.08) 55%, rgba(20, 32, 46, 0.15) 100%);
}

.hero-plate {
  position: absolute;
  left: clamp(1.2rem, 5vw, 4.5rem);
  bottom: clamp(1rem, 4vh, 2.8rem);
  z-index: 5;
  width: fit-content;
  max-width: min(640px, calc(100vw - 2.4rem));
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--paper-card);
  padding: clamp(0.9rem, 1.5vw, 1.25rem) clamp(1.1rem, 2.2vw, 1.7rem);
  box-shadow: var(--shadow-print);
  transform: rotate(-0.5deg);
}
.hero-plate::before {
  /* tape on the plate */
  content: "";
  position: absolute;
  top: -13px;
  left: 38px;
  width: 110px;
  height: 28px;
  transform: rotate(-3deg);
  background: var(--tape);
  border-left: 1px dashed rgba(124, 98, 34, 0.25);
  border-right: 1px dashed rgba(124, 98, 34, 0.25);
  box-shadow: 0 1px 2px rgba(80, 60, 20, 0.12);
}
.hero-plate h1, .hero-plate .hero-title {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 600;
  line-height: 1.04;
  margin: 0;
  letter-spacing: -0.012em;
  white-space: nowrap;
  flex: 0 1 auto;
}
.hero-plate p {
  margin-bottom: 1.15em;
  color: var(--graphite);
  font-size: 1rem;
}
.hero-actions { display: flex; flex-wrap: nowrap; gap: 0.65rem; flex: 0 0 auto; }
.hero-plate .btn {
  padding: 0.72em 1.15em;
  font-size: 0.72rem;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .hero-plate h1,
  .hero-plate .hero-title {
    white-space: normal;
  }

  .hero-actions { width: 100%; flex-wrap: wrap; }
  .hero-plate .btn { flex: 1 1 100%; text-align: center; }
}

@media (max-width: 760px) {
  .hero {
    min-height: max(500px, calc(100svh - var(--header-height)));
  }

  .hero-plate {
    max-width: min(520px, calc(100vw - 2rem));
    padding: 0.95rem 1.1rem 1.05rem;
  }

  .hero-tagline {
    width: min(190px, 42vw);
    top: clamp(4.6rem, 11vh, 6rem);
    right: 1rem;
  }
}

@media (max-width: 460px) {
  .hero-tagline { display: none; }
}

.hero-tagline {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  top: clamp(3.6rem, 9vh, 5.8rem);
  z-index: 5;
  width: min(310px, calc(100vw - 2rem));
  height: auto;
  transform: rotate(10deg);
  filter: drop-shadow(0 1rem 1.6rem rgba(16, 22, 29, 0.28));
}

.hero-controls {
  position: absolute;
  right: clamp(1.2rem, 4vw, 4rem);
  bottom: clamp(1.4rem, 6vh, 4rem);
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.hero-dot {
  width: 26px;
  height: 10px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.hero-dot::after {
  content: "";
  position: absolute;
  inset: 3px 0;
  background: rgba(253, 248, 231, 0.55);
  transform: rotate(-2deg);
  transition: background 200ms ease, transform 200ms ease;
}
.hero-dot.active::after {
  background: var(--moon);
  transform: rotate(2deg) scaleY(1.4);
}

/* ============================================================
   Sections
   ============================================================ */

.section {
  position: relative;
  padding: var(--section-pad) 0;
  scroll-margin-top: 0;
}
.section > .wrap {
  display: grid;
  gap: clamp(1.1rem, 2.2vw, 1.8rem);
}
.hero + .section { padding-top: var(--section-pad); }
.section--tint { background: var(--paper-warm); }
.section-head { max-width: 720px; margin-bottom: clamp(1.2rem, 2.4vw, 2rem); position: relative; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-head .hand { display: block; margin-top: 0.4rem; }

@media (max-width: 760px) {
  .section {
    padding: clamp(1.5rem, 6vw, 2.1rem) 0;
  }

  .section > .wrap {
    gap: 1rem;
  }
}

/* legacy section markers intentionally hidden */
.sheet-no { display: none !important; }

/* ---------- category cards (pinned drawings) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
}
.cat-card {
  text-decoration: none;
  color: inherit;
  display: block;
  background: var(--paper-card);
  box-shadow: var(--shadow-paper);
  padding: 12px 12px 1.2rem;
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.cat-card:nth-child(odd) { transform: rotate(-0.7deg); }
.cat-card:nth-child(even) { transform: rotate(0.6deg) translateY(10px); }
.cat-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: var(--shadow-print);
}
.cat-card figure { margin: 0; }
.cat-card .ph { aspect-ratio: 4 / 3.1; overflow: hidden; background: var(--paper-deep); }
.cat-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.cat-card:hover .ph img { transform: scale(1.05); }
.cat-card figcaption { padding: 1rem 0.6rem 0; }
.cat-no {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--brass);
  text-transform: uppercase;
}
.cat-card h3 {
  font-size: 1.25rem;
  margin: 0.35em 0 0.3em;
}
.cat-card p { font-size: 0.95rem; margin: 0; color: var(--graphite); }
.cat-card .hand { font-size: 1.25rem; display: inline-block; margin-top: 0.5rem; color: var(--brass); }

/* ---------- collage ---------- */
.collage {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.8rem);
  grid-template-columns: repeat(12, 1fr);
  align-items: stretch;
}
.collage > * { position: relative; }
.collage .c-a { grid-column: 1 / span 7; }
.collage .c-b { grid-column: 8 / span 5; align-self: start; margin-top: 2.5rem; }
.collage .c-c { grid-column: 1 / span 4; margin-top: -1.5rem; }
.collage .c-d { grid-column: 5 / span 4; margin-top: 1.5rem; }
.collage .c-e { grid-column: 9 / span 4; }
@media (max-width: 760px) {
  .collage .c-a, .collage .c-b, .collage .c-c, .collage .c-d, .collage .c-e {
    grid-column: 1 / -1;
    margin-top: 0;
  }
}
.collage .print { height: auto; }
.collage .print img { height: auto; aspect-ratio: 3 / 2; }

/* margin annotation with arrow */
.annotation {
  position: absolute;
  z-index: 4;
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--ink);
  background: var(--paper-card);
  border: 1px dashed var(--line);
  padding: 0.2em 0.7em;
  transform: rotate(-2deg);
  box-shadow: 0 2px 8px rgba(50, 40, 20, 0.15);
  white-space: nowrap;
}

.photo-note {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 4;
  display: inline-block;
  width: fit-content;
  max-width: calc(100% - 2rem);
  padding: 0.55rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(251, 247, 236, 0.94);
  border: 1px solid rgba(29, 58, 86, 0.18);
  box-shadow: 0 0.45rem 1rem rgba(20, 24, 29, 0.2);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* split feature row */
.split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
.split--flip { grid-template-columns: 6fr 5fr; }
@media (max-width: 860px) {
  .split, .split--flip { grid-template-columns: 1fr; }
}

.split > div,
.cta-board > div {
  min-width: 0;
}

.split .print {
  height: clamp(260px, 46svh, 500px);
}

.split .print img {
  height: 100%;
}

@media (max-width: 860px) {
  .split .print {
    height: clamp(220px, 48svh, 360px);
  }
}

@media (max-width: 560px) {
  .split .print {
    height: clamp(200px, 42svh, 300px);
  }
}

/* checklists set in mono, like a build sheet */
.spec-list {
  list-style: none;
  margin: 1.4rem 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  columns: 2;
  column-gap: 2.4rem;
}
.spec-list li {
  break-inside: avoid;
  padding: 0.5em 0;
  border-bottom: 1px dashed var(--line-faint);
  display: flex;
  gap: 0.7em;
  align-items: baseline;
}
.spec-list li::before {
  content: "—";
  color: var(--brass);
  flex: none;
}
.blueprint .spec-list,
.spec-list--light { color: #ece5d2; }
@media (max-width: 640px) { .spec-list { columns: 1; } }

/* spec sheet table */
.spec-sheet {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.83rem;
  color: var(--ink);
  background: var(--paper-card);
  border: 1.4px solid var(--ink);
}
.spec-sheet caption {
  caption-side: top;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  padding-bottom: 0.7em;
}
.spec-sheet th, .spec-sheet td {
  text-align: left;
  padding: 0.65em 0.9em;
  border-bottom: 1px dashed var(--line-faint);
  vertical-align: top;
}
.spec-sheet th {
  width: 38%;
  font-weight: 500;
  color: var(--pencil);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}
.spec-sheet tr:last-child th, .spec-sheet tr:last-child td { border-bottom: none; }

/* ============================================================
   Blueprint band (navy with drafting grid)
   ============================================================ */

.blueprint {
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(253, 248, 231, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253, 248, 231, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(253, 248, 231, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253, 248, 231, 0.028) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  color: #ece5d2;
}
.blueprint h2, .blueprint h3 { color: #f6f0e1; }
.blueprint .eyebrow { color: var(--moon); }
.blueprint .eyebrow::before {
  background: repeating-linear-gradient(90deg, var(--moon) 0 6px, transparent 6px 10px);
}
.blueprint p { color: rgba(236, 229, 210, 0.85); }
.blueprint .hand { color: var(--moon); }

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1.6rem, 3vw, 2.6rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.4rem 1.2rem 1.2rem;
  border: 1px dashed rgba(253, 248, 231, 0.4);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -1.1rem;
  left: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--ink);
  background: var(--moon);
  padding: 0.35em 0.8em;
  transform: rotate(-2deg);
}
.step h3 { font-size: 1.12rem; margin: 0.4rem 0 0.4rem; }
.step p { font-size: 0.92rem; margin: 0; }

/* ============================================================
   Testimonials — pinned to the wall
   ============================================================ */

.pinboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: start;
}
.pinned {
  background: #fff;
  padding: 10px;
  box-shadow: var(--shadow-print);
  position: relative;
}
.pinned:nth-child(1) { transform: rotate(-1.6deg); }
.pinned:nth-child(2) { transform: rotate(1.1deg) translateY(14px); }
.pinned:nth-child(3) { transform: rotate(-0.7deg); }
.pinned:hover { z-index: 5; }

blockquote.quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 56ch;
}
blockquote.quote::before {
  content: "“";
  display: block;
  font-size: 3rem;
  line-height: 0.6;
  color: var(--brass);
  margin-bottom: 0.3rem;
}
.quote-cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--brass);
}

/* ============================================================
   Instagram strip
   ============================================================ */

.insta-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
@media (max-width: 880px) { .insta-strip { grid-template-columns: repeat(3, 1fr); } }
.insta-strip a {
  display: block;
  background: #fff;
  padding: 6px;
  box-shadow: var(--shadow-paper);
  transition: transform 180ms ease;
}
.insta-strip a:nth-child(odd) { transform: rotate(-0.8deg); }
.insta-strip a:nth-child(even) { transform: rotate(0.7deg); }
.insta-strip a:hover { transform: rotate(0) translateY(-4px); z-index: 2; }
.insta-strip img { aspect-ratio: 1; object-fit: cover; width: 100%; }

/* ============================================================
   CTA + form
   ============================================================ */

.cta-board {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(1.4rem, 3vw, 2.8rem);
  align-items: center;
}
@media (max-width: 860px) { .cta-board { grid-template-columns: 1fr; } }

#contact.section {
  padding-block: clamp(1.4rem, 2.6vw, 2.4rem);
}

.form-plate {
  background: var(--paper-card);
  border: 1px solid rgba(29, 58, 86, 0.1);
  border-radius: 0.25rem;
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
  box-shadow: 0 6px 20px rgba(50, 40, 20, 0.1);
  position: relative;
  transform: rotate(-0.35deg);
}
.form-plate .hand {
  display: inline-block;
  position: static;
  background: transparent;
  padding: 0;
  margin: 0 0 0.8rem;
  color: var(--brass);
}

.field { margin-bottom: 0.95rem; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pencil);
  margin-bottom: 0.45em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 1.68em,
    rgba(29, 58, 86, 0.16) 1.68em,
    rgba(29, 58, 86, 0.16) calc(1.68em + 1px)
  );
  background-color: transparent;
  border: none;
  padding: 0.38em 0.2em 0.55em;
  outline: none;
}
.field textarea { resize: vertical; min-height: 5.4em; line-height: 1.75; }
.field input:focus, .field select:focus, .field textarea:focus {
  background-color: rgba(232, 215, 124, 0.12);
}
.form-note {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  color: var(--brass);
  margin-top: 0.55rem;
}
.form-success {
  display: none;
  border: 1.6px dashed var(--brass);
  padding: 1.2rem 1.4rem;
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.1rem;
  transform: rotate(-0.5deg);
  margin-top: 1rem;
}
.form-success.show { display: block; }

.contact-side .hand { font-size: 1.45rem; }
.contact-side ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink);
}
.contact-side li {
  padding: 0.48em 0;
  border-bottom: 1px dashed var(--line-faint);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 480px;
}
.contact-side li span:first-child {
  color: var(--pencil);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  padding-top: 0.25em;
  flex: none;
}

.award-mini {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.9rem;
  align-items: center;
  max-width: 520px;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line-faint);
}
.award-mini img {
  width: 96px;
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  background: var(--paper-card);
  border: 1px solid rgba(29, 58, 86, 0.12);
  box-shadow: var(--shadow-paper);
}
.award-mini strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.25rem;
}
.award-mini p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.award-callout {
  display: grid;
  grid-template-columns: minmax(180px, 320px) 1fr;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
  background: var(--paper-card);
  border: 1px solid var(--line-faint);
  box-shadow: var(--shadow-paper);
  padding: clamp(1.2rem, 3vw, 2rem);
}
.award-callout img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--paper-deep);
  box-shadow: var(--shadow-print);
}
.award-callout p:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .award-mini { grid-template-columns: 82px 1fr; }
  .award-mini img { width: 82px; }
  .award-callout { grid-template-columns: 1fr; }
  .award-callout img { max-width: 320px; }
}

/* ============================================================
   Page hero (interior pages)
   ============================================================ */

.page-hero {
  position: relative;
  min-height: clamp(300px, 42vh, 440px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.page-hero--compact {
  min-height: clamp(210px, 30vh, 320px);
}
.page-hero img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(10deg, rgba(20, 32, 46, 0.6) 0%, rgba(20, 32, 46, 0.05) 60%);
}
.page-hero .wrap { position: relative; z-index: 3; padding-bottom: 1.6rem; }
.page-hero--compact .wrap { padding-bottom: 1rem; }
.page-hero .plate-title {
  display: inline-block;
  background: var(--paper-card);
  padding: 1.3rem 2rem 1.4rem;
  box-shadow: var(--shadow-print);
  transform: rotate(-0.6deg);
  position: relative;
}
.page-hero--compact .plate-title {
  padding: 1rem 1.7rem 1.1rem;
}
.page-hero .plate-title::before {
  content: "";
  position: absolute;
  top: -12px; left: 30px;
  width: 90px; height: 24px;
  transform: rotate(-3deg);
  background: var(--tape);
  border-left: 1px dashed rgba(124, 98, 34, 0.25);
  border-right: 1px dashed rgba(124, 98, 34, 0.25);
}
.page-hero h1 { margin: 0.15em 0 0; font-size: clamp(1.9rem, 4.6vw, 3rem); }
.page-hero--compact h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
.page-hero--compact + .section { padding-top: clamp(1.4rem, 3vw, 2.2rem); }
.page-hero--compact + .section .section-head { margin-bottom: clamp(0.8rem, 1.6vw, 1.2rem); }

@media (max-width: 760px) {
  .page-hero { min-height: clamp(240px, 36svh, 340px); }
  .page-hero--compact { min-height: clamp(190px, 28svh, 260px); }
  .page-hero .plate-title { padding: 0.9rem 1.25rem 1rem; }
}

/* sub-nav chips for in-page sections */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.6rem 0 0;
}
.page-hero--compact .subnav { margin-top: 1rem; }
.subnav a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border: 1.3px solid var(--ink);
  border-radius: var(--sketch-radius-sm);
  padding: 0.55em 1.1em;
  background: var(--paper-card);
  transition: background 150ms ease, color 150ms ease;
}
.subnav a:hover { background: var(--ink); color: var(--paper); }

@media (max-width: 560px) {
  .subnav {
    gap: 0.5rem;
    margin-top: 0.8rem;
  }

  .subnav a {
    font-size: 0.66rem;
    padding: 0.5em 0.8em;
  }
}

/* gallery grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
}
.gallery--spaced { margin-top: 3rem; }
.gallery .print img { height: auto; aspect-ratio: 4 / 3; }
.gallery .print:nth-child(3n+1) { transform: rotate(-0.7deg); }
.gallery .print:nth-child(3n+2) { transform: rotate(0.5deg); }
.gallery .print:nth-child(3n)   { transform: rotate(-0.3deg); }
.gallery .print { transition: transform 200ms ease; }
.gallery .print:hover { transform: rotate(0) scale(1.02); z-index: 2; }

@media (max-width: 760px) {
  .gallery--spaced { margin-top: 1.6rem; }
}

/* price tags */
.price-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--moon);
  padding: 0.5em 1em;
  transform: rotate(-1.4deg);
  box-shadow: 1px 2px 0 rgba(29, 58, 86, 0.3);
  position: relative;
}
.price-tag::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 50%;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.4px solid var(--ink);
  transform: translateY(-50%);
}

/* floorplan cards */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(1.6rem, 3.4vw, 2.6rem);
}
.plan-card {
  background: var(--paper-card);
  border: 1.4px solid var(--ink);
  border-radius: var(--sketch-radius);
  padding: 1.8rem 1.6rem 1.6rem;
  position: relative;
  box-shadow: 4px 5px 0 rgba(29, 58, 86, 0.12);
}
.plan-card:nth-child(2) { transform: rotate(0.5deg); }
.plan-card:nth-child(3) { transform: rotate(-0.5deg); }
.plan-card h3 { font-size: 1.3rem; margin-bottom: 0.2em; }
.plan-card .moonphase {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}
.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink);
}
.plan-card li {
  padding: 0.45em 0;
  border-bottom: 1px dashed var(--line-faint);
}
.plan-card li:last-child { border-bottom: none; }

/* ============================================================
   FAQ accordion
   ============================================================ */

.faq { max-width: 800px; }
.faq details {
  border-bottom: 1.4px dashed var(--line);
  padding: 0.4rem 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0.2rem;
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--ink);
  font-weight: 560;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+";
  font-family: var(--font-hand);
  font-size: 1.6rem;
  color: var(--brass);
  flex: none;
  width: 1em;
  transition: transform 200ms ease;
}
.faq details[open] summary::before {
  content: "–";
}
.faq .faq-a {
  padding: 0 0.2rem 1.2rem 2.1rem;
  color: var(--graphite);
}
.faq .faq-a p { margin-bottom: 0.7em; }

.quote--featured {
  margin: 2.4rem auto;
  max-width: 46ch;
  font-size: 1.45rem;
}

/* ============================================================
   Team
   ============================================================ */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(1.6rem, 3.4vw, 2.6rem);
}
.team-grid--spaced { margin-top: 3.4rem; }
.team-card { text-align: center; }
.team-card .print { display: inline-block; padding: 8px 8px 10px; }
.team-card .print img { aspect-ratio: 1; height: auto; width: 100%; }
.team-card:nth-child(odd) .print { transform: rotate(-1.6deg); }
.team-card:nth-child(even) .print { transform: rotate(1.4deg); }
.team-card .hand { display: block; font-size: 1.55rem; margin-top: 0.8rem; color: var(--ink); }
.team-card .role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(253, 248, 231, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253, 248, 231, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  color: rgba(236, 229, 210, 0.85);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand .brand-mark { width: 64px; height: 64px; flex: none; }
.footer-brand h3 {
  color: #f6f0e1;
  font-size: 1.2rem;
  margin-bottom: 0.2em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-brand .hand { color: var(--moon); font-size: 1.35rem; }
.site-footer h4 {
  color: var(--moon);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.3em 0; }
.site-footer a { color: rgba(236, 229, 210, 0.9); text-decoration: none; }
.site-footer a:hover { color: var(--moon); text-decoration: underline; }
.footer-bottom {
  margin-top: clamp(2rem, 5vw, 3.4rem);
  padding-top: 1.4rem;
  border-top: 1px dashed rgba(253, 248, 231, 0.25);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(236, 229, 210, 0.6);
}

/* ============================================================
   Reveal on scroll
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(26px) rotate(0.001deg);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 120ms; }
.reveal[data-delay="2"] { transition-delay: 240ms; }
.reveal[data-delay="3"] { transition-delay: 360ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide, .hero-slide.active img { animation: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
