/* ───────────────────────────────────────────────────────────────────────
   Sam's Menswear — shared site stylesheet
   Editorial sketchbook aesthetic. Warm ivory paper, fine serif typography,
   restrained sketch accents.
   ─────────────────────────────────────────────────────────────────────── */

:root {
  --paper:        #f2ede1;
  --paper-cream:  #f7f3e9;
  --paper-warm:   #eae3d2;
  --paper-deep:   #ded5c0;
  --ink:          #211c15;
  --ink-soft:     #3b352c;
  --ink-mute:     #6f6656;
  --rule:         rgba(33, 28, 21, 0.16);
  --rule-strong:  rgba(33, 28, 21, 0.45);

  --navy:         #1c2540;
  --navy-deep:    #141a30;
  --charcoal:     #2a2520;
  --espresso:     #4a2a22;
  --oxblood:      #6b2228;
  --oxblood-deep: #4a151b;
  --gold:         #9d7f42;
  --gold-soft:    #bd9d63;

  --max-w:    1320px;
  --gutter:   clamp(20px, 4vw, 56px);

  --serif:    'Cormorant Garamond', 'EB Garamond', Georgia, 'Times New Roman', serif;
  --serif-body: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --mono:     'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --t-fast:   180ms;
  --t-med:    360ms;
  --t-slow:   720ms;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ─── Paper texture background ─────────────────────────────────────── */
body {
  position: relative;
  background:
    radial-gradient(ellipse at 35% 20%, rgba(255, 250, 235, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 85%, rgba(50, 40, 20, 0.03) 0%, transparent 60%),
    var(--paper);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='420' height='420'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='11'/><feColorMatrix values='0 0 0 0 0.42  0 0 0 0 0.32  0 0 0 0 0.18  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(0,0,0,0) 60%, rgba(50,40,20,0.05) 92%, rgba(50,40,20,0.10) 100%);
}

main, header, footer, section { position: relative; z-index: 1; }

/* ─── Typography ──────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 8vw, 132px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.display-italic {
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
}

.h-1 { font-size: clamp(40px, 6.2vw, 92px); line-height: 0.98; }
.h-2 { font-size: clamp(32px, 4.6vw, 64px); line-height: 1.03; }
.h-3 { font-size: clamp(24px, 3vw, 38px); line-height: 1.15; }
.h-4 { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.2; }

.eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow-rule {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow-rule::before,
.eyebrow-rule.both::after {
  content: '';
  display: inline-block;
  width: 56px;
  height: 1px;
  background: var(--rule-strong);
}

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
  color: var(--ink-soft);
  max-width: 28em;
  text-wrap: pretty;
}

.body-prose {
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 32em;
  text-wrap: pretty;
}

.body-prose p + p { margin-top: 1em; }

.small-tag {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.chapter-no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--t-fast) ease;
}
a:hover { color: var(--oxblood); }

/* ─── Layout ──────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(72px, 9vw, 140px) 0;
  position: relative;
}

.section.tight  { padding: clamp(48px, 6vw, 96px) 0; }
.section.flush  { padding: 0; }

.section + .section {
  border-top: 1px solid var(--rule);
}

/* ─── Header ──────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(242, 237, 225, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}

.brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand .brand__ampersand {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
  font-size: 0.9em;
}

.brand .brand__sub {
  font-style: italic;
  font-size: 0.5em;
  letter-spacing: 0.42em;
  color: var(--ink-mute);
  font-weight: 400;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
}

.main-nav a {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
}
.main-nav a.is-current { color: var(--oxblood); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--oxblood);
  transition: width var(--t-med) ease, left var(--t-med) ease;
}
.main-nav a:hover::after,
.main-nav a.is-current::after {
  width: 100%;
  left: 0;
}

.nav-cta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background var(--t-fast), color var(--t-fast);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--ink); color: var(--paper-cream); }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ─── Hero (homepage) ─────────────────────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.hero__frame {
  position: absolute;
  inset: 0;
  border: 0;
  width: 100%;
  height: 100%;
}

/* Page hero (for sub-pages) — non-animation */
.page-hero {
  padding: clamp(80px, 10vw, 160px) 0 clamp(40px, 6vw, 80px);
}
.page-hero .eyebrow-rule { margin-bottom: 24px; }
.page-hero h1 {
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
}
.page-hero h1 em {
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--oxblood);
  letter-spacing: 0.01em;
}
.page-hero .lede {
  margin-top: 28px;
  max-width: 32em;
}

/* ─── Editorial intro split ──────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.split.wide-left  { grid-template-columns: 1.4fr 1fr; }
.split.wide-right { grid-template-columns: 1fr 1.4fr; }

/* ─── Service cards / grid ───────────────────────────────────────── */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
  margin-top: clamp(40px, 5vw, 72px);
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-cream);
  border: 1px solid var(--rule);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-med) ease, box-shadow var(--t-med) ease,
              background var(--t-med) ease;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  background: var(--paper-warm);
  box-shadow: 0 18px 40px -22px rgba(43, 31, 18, 0.45);
  color: inherit;
}

.service-card__sketch {
  aspect-ratio: 4 / 5;
  margin: -10px -10px 20px;
  border: 1px solid var(--rule);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.service-card__sketch svg { width: 80%; height: 80%; }

.service-card__no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.service-card__title {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  margin-top: 6px;
  line-height: 1.05;
  color: var(--navy);
}
.service-card__title em {
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--ink);
}
.service-card__copy {
  margin-top: 14px;
  font-family: var(--serif-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.service-card__more {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.service-card__more::after {
  content: '→';
  font-style: normal;
  letter-spacing: 0;
  transition: transform var(--t-fast) ease;
}
.service-card:hover .service-card__more::after {
  transform: translateX(6px);
  color: var(--oxblood);
}

/* ─── Process strip ──────────────────────────────────────────────── */

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 1.8vw, 28px);
  margin-top: clamp(40px, 5vw, 72px);
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 5%;
  right: 5%;
  height: 0;
  border-top: 1px dashed var(--rule-strong);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.step__no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}
.step__icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--paper-cream);
  border: 1px solid var(--rule-strong);
  display: flex; align-items: center; justify-content: center;
}
.step__icon svg { width: 38px; height: 38px; color: var(--navy); }
.step__title {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}
.step__copy {
  font-family: var(--serif-body);
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 18em;
  line-height: 1.5;
}

/* ─── Lookbook grid ──────────────────────────────────────────────── */

.lookbook {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 110px;
  gap: clamp(12px, 1.4vw, 20px);
  margin-top: clamp(40px, 5vw, 72px);
}

.lb-tile {
  position: relative;
  background: var(--paper-deep);
  overflow: hidden;
  border: 1px solid var(--rule);
  transition: transform var(--t-med) ease, box-shadow var(--t-med) ease;
}
.lb-tile:hover {
  transform: scale(1.02);
  z-index: 2;
  box-shadow: 0 24px 48px -28px rgba(43, 31, 18, 0.5);
}

/* Photo placeholder treatment */
.lb-tile .placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      rgba(43, 31, 18, 0.15) 0%,
      rgba(43, 31, 18, 0.04) 35%,
      rgba(180, 138, 58, 0.10) 100%),
    repeating-linear-gradient(
      45deg,
      rgba(43, 31, 18, 0.04) 0px,
      rgba(43, 31, 18, 0.04) 1px,
      transparent 1px,
      transparent 12px),
    var(--paper-deep);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px;
  color: var(--ink-soft);
}

.lb-tile .placeholder .corner {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.lb-tile .placeholder .label {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink);
}
.lb-tile .placeholder .meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}

/* Lookbook layout — varied tile sizes for editorial rhythm */
.lb-1 { grid-column: span 6; grid-row: span 3; }
.lb-2 { grid-column: span 3; grid-row: span 2; }
.lb-3 { grid-column: span 3; grid-row: span 2; }
.lb-4 { grid-column: span 4; grid-row: span 2; }
.lb-5 { grid-column: span 4; grid-row: span 3; }
.lb-6 { grid-column: span 4; grid-row: span 2; }
.lb-7 { grid-column: span 6; grid-row: span 2; }
.lb-8 { grid-column: span 3; grid-row: span 3; }
.lb-9 { grid-column: span 3; grid-row: span 3; }

/* ─── Testimonials / pull quote ──────────────────────────────────── */

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
  margin-top: clamp(40px, 5vw, 72px);
}
.quote {
  position: relative;
  padding: 0 0 0 28px;
  border-left: 1px solid var(--rule-strong);
}
.quote__mark {
  position: absolute;
  left: -3px;
  top: -28px;
  font-family: var(--serif);
  font-size: 80px;
  line-height: 1;
  color: var(--gold);
  font-style: italic;
}
.quote__text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.4;
  color: var(--ink);
}
.quote__attr {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ─── Booking CTA block ──────────────────────────────────────────── */

.booking-block {
  background: var(--navy-deep);
  color: var(--paper-cream);
  padding: clamp(56px, 8vw, 120px) clamp(32px, 5vw, 80px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  border: 1px solid var(--navy);
}
.booking-block::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='9'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  pointer-events: none;
}
.booking-block h2 {
  color: var(--paper-cream);
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 500;
}
.booking-block h2 em {
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--gold-soft);
}
.booking-block .lede {
  color: rgba(247, 238, 215, 0.78);
}
.booking-block .actions {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  position: relative; z-index: 1;
}

.btn {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 18px 32px;
  border: 1px solid currentColor;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 14px;
  background: transparent;
  color: var(--paper-cream);
  transition: background var(--t-fast), color var(--t-fast);
  text-decoration: none;
}
.btn::after { content: '→'; font-family: var(--serif-body); letter-spacing: 0; }
.btn.is-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}
.btn.is-primary:hover { background: var(--gold-soft); }
.btn.is-ghost { color: var(--paper-cream); }
.btn.is-ghost:hover { background: var(--paper-cream); color: var(--navy-deep); }
.btn.is-dark { color: var(--ink); }
.btn.is-dark:hover { background: var(--ink); color: var(--paper-cream); }

.contact-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(247, 238, 215, 0.6);
  display: flex; flex-direction: column; gap: 4px;
}
.contact-tag .num {
  font-style: normal; letter-spacing: 0.16em; font-size: 22px;
  color: var(--paper-cream);
}

/* ─── Visit / location block ─────────────────────────────────────── */

.visit-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 80px);
  align-items: center;
}
.visit-map {
  position: relative;
  aspect-ratio: 5 / 4;
  border: 1px solid var(--rule);
  background:
    linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 100%);
  overflow: hidden;
}

/* ─── Visit block · framed invitation (map matted like a card) ─────── */
.visit-envelope {
  background:
    radial-gradient(150% 120% at 50% -8%, var(--paper-cream) 0%, var(--paper-warm) 62%, var(--paper-deep) 100%);
  box-shadow:
    0 34px 66px -40px rgba(33, 28, 21, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
/* faint diagonal envelope seams (kept subtle, behind the card) */
.visit-envelope::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom right, transparent calc(50% - 0.5px), rgba(33, 28, 21, 0.035) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(to bottom left,  transparent calc(50% - 0.5px), rgba(33, 28, 21, 0.035) 50%, transparent calc(50% + 0.5px));
}
/* the map, matted like an invitation card — nothing overlaps its body */
.env-card {
  position: absolute;
  z-index: 1;
  top: clamp(20px, 5%, 34px);
  left: clamp(20px, 5%, 34px);
  right: clamp(20px, 5%, 34px);
  bottom: clamp(56px, 15%, 82px);   /* deeper lower mat holds the wax seal */
  background: var(--paper);
  border: 1px solid rgba(33, 28, 21, 0.3);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.45),
    0 18px 34px -22px rgba(33, 28, 21, 0.6);
  overflow: hidden;
}
.env-card::after {           /* gold invitation keyline */
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 3;
  border: 1px solid rgba(157, 127, 66, 0.5);
  pointer-events: none;
}
.env-map-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.95) contrast(1.01);
}
/* wax seal — centered on the lower mat, below the map */
.env-seal {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  bottom: clamp(6px, 2.4%, 18px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(38px, 9.5%, 46px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 4.6%, 22px);
  line-height: 1;
  color: rgba(247, 243, 233, 0.95);
  background: radial-gradient(circle at 36% 30%, #93343a 0%, var(--oxblood) 45%, var(--oxblood-deep) 100%);
  border: 1px solid rgba(74, 21, 27, 0.5);
  box-shadow:
    0 6px 14px -5px rgba(74, 21, 27, 0.6),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.4),
    inset 0 -3px 6px rgba(0, 0, 0, 0.38);
}
.env-seal::before {          /* embossed inner ring */
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px dashed rgba(247, 243, 233, 0.45);
}
/* postage stamp — small accent tucked in the top-right corner */
.env-stamp {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  top: clamp(8px, 2.2%, 14px);
  right: clamp(8px, 2.2%, 14px);
  width: clamp(32px, 8.5%, 40px);
  height: clamp(38px, 10%, 48px);
  transform: rotate(3deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: var(--paper-cream);
  border: 1.5px dashed rgba(33, 28, 21, 0.3);
  box-shadow: 0 4px 9px -5px rgba(33, 28, 21, 0.5);
}
.env-stamp::before {         /* inner oxblood frame */
  content: "";
  position: absolute;
  inset: 3px;
  border: 0.8px solid rgba(107, 34, 40, 0.4);
}
.env-stamp__mono {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(12px, 3.2%, 15px);
  color: var(--oxblood);
  line-height: 1;
}
.env-stamp__loc {
  font-family: var(--serif);
  font-size: clamp(5px, 1.5%, 6.5px);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .env-card { transition: box-shadow 0.4s ease, transform 0.4s ease; }
  .visit-envelope:hover .env-card { transform: translateY(-2px); box-shadow: 0 4px 0 rgba(255,255,255,0.45), 0 26px 44px -22px rgba(33,28,21,0.66); }
}

/* ─── Fabric library teaser ──────────────────────────────────────── */

.swatch-rail {
  display: flex;
  gap: clamp(12px, 1.6vw, 24px);
  margin-top: clamp(40px, 5vw, 72px);
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: thin;
}
.swatch-rail::-webkit-scrollbar { height: 4px; }
.swatch-rail::-webkit-scrollbar-thumb { background: var(--rule-strong); }

.swatch {
  flex: 0 0 220px;
  aspect-ratio: 3 / 4;
  position: relative;
  border: 1px solid var(--rule);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px;
  overflow: hidden;
  transition: transform var(--t-med);
}
.swatch:hover { transform: translateY(-3px); }
.swatch__name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative; z-index: 1;
}
.swatch__meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative; z-index: 1;
}
.swatch--dark { color: var(--paper-cream); }
.swatch--dark .swatch__name { color: var(--paper-cream); }

/* swatch texture patterns */
.swatch--navy {
  background:
    repeating-linear-gradient(45deg,
      rgba(0,0,0,0.18) 0 2px, transparent 2px 6px),
    var(--navy);
}
.swatch--charcoal {
  background:
    repeating-linear-gradient(0deg,
      rgba(0,0,0,0.16) 0 1px, transparent 1px 4px),
    #2a2520;
}
.swatch--oxblood {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.06), transparent 60%),
    var(--oxblood);
}
.swatch--espresso { background: var(--espresso); }
.swatch--cream {
  color: var(--ink);
  background:
    repeating-linear-gradient(90deg,
      rgba(43,31,18,0.06) 0 1px, transparent 1px 3px),
    var(--paper-cream);
}
.swatch--cream .swatch__meta { color: var(--ink-mute); }
.swatch--check {
  color: var(--paper-cream);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 14px),
    #353c2c;
}
.swatch--herringbone {
  color: var(--paper-cream);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.07) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(45deg, rgba(0,0,0,0.10) 0 2px, transparent 2px 6px),
    #4a3a30;
}

/* ─── Section heading layout helpers ─────────────────────────────── */

.section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: baseline;
  margin-bottom: 18px;
}
.section-head .h-2 { max-width: 14ch; }
.section-head .h-2 em {
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--oxblood);
}
.section-head .right {
  text-align: right;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}

/* ─── Footer ─────────────────────────────────────────────────────── */

.site-footer {
  background: var(--ink);
  color: var(--paper-cream);
  padding: clamp(56px, 7vw, 120px) 0 32px;
  margin-top: clamp(60px, 8vw, 120px);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='5'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  pointer-events: none;
}

.site-footer .container { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 3vw, 56px);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(247, 238, 215, 0.15);
}
.footer-grid h4 {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(247, 238, 215, 0.55);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-grid a { color: var(--paper-cream); font-family: var(--serif); font-size: 16px; letter-spacing: 0.04em; }
.footer-grid a:hover { color: var(--gold-soft); }

.footer-brand {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--paper-cream);
}
.footer-brand em { font-style: italic; color: var(--gold-soft); letter-spacing: 0.04em; text-transform: none; font-size: 0.8em; }
.footer-prose {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: rgba(247, 238, 215, 0.7);
  max-width: 28ch;
  line-height: 1.5;
}

.footer-meta {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(247, 238, 215, 0.5);
}
.footer-meta em { font-style: italic; letter-spacing: 0.08em; text-transform: none; color: rgba(247, 238, 215, 0.7); }
.footer-legal {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(247, 238, 215, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 238, 215, 0.4);
}
.footer-legal a { color: rgba(247, 238, 215, 0.6); }
.footer-legal a:hover { color: var(--gold-soft); }
.footer-legal__credit { margin-left: auto; letter-spacing: 0.1em; color: rgba(247, 238, 215, 0.5); }
.footer-legal__credit a { color: var(--gold-soft); border-bottom: 1px solid rgba(180, 138, 58, 0.4); }
@media (max-width: 560px) { .footer-legal__credit { margin-left: 0; } }

/* ─── Tape divider (a thin tape strip used as a section break) ──── */

.tape-divider {
  position: relative;
  height: 26px;
  margin: 0 auto;
  width: min(720px, 70%);
  pointer-events: none;
}
.tape-divider svg { width: 100%; height: 100%; }

/* Chalk-mark divider */
.chalk-rule {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 24px 0;
}
.chalk-rule::before, .chalk-rule::after {
  content: '';
  display: inline-block;
  width: 80px; height: 1px;
  background:
    linear-gradient(90deg, transparent 0, var(--rule-strong) 40%, var(--rule-strong) 60%, transparent 100%);
}

/* ─── Decorative corner marks for hero sections ──────────────────── */

.crop-marks {
  position: absolute;
  inset: 20px;
  pointer-events: none;
}
.crop-marks::before, .crop-marks::after {
  position: absolute;
  width: 24px; height: 24px;
  content: '';
}
.crop-marks::before {
  top: 0; left: 0;
  border-top: 1px solid var(--rule-strong);
  border-left: 1px solid var(--rule-strong);
}
.crop-marks::after {
  bottom: 0; right: 0;
  border-bottom: 1px solid var(--rule-strong);
  border-right: 1px solid var(--rule-strong);
}

/* ─── Scroll reveal hook ─────────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1 !important;
  transform: none !important;
}
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
[data-reveal-stagger].is-visible > * {
  opacity: 1 !important;
  transform: none !important;
}
[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay:   0ms; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 120ms; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 240ms; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 360ms; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 480ms; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 600ms; }
[data-reveal-stagger].is-visible > *:nth-child(7) { transition-delay: 720ms; }
[data-reveal-stagger].is-visible > *:nth-child(8) { transition-delay: 840ms; }
[data-reveal-stagger].is-visible > *:nth-child(9) { transition-delay: 960ms; }

/* ─── Mobile menu drawer ─────────────────────────────────────────── */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 60;
  padding: 24px var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;                 /* long menus scroll inside — never overflow the box */
  transform: translateY(-100%);
  visibility: hidden;               /* don't paint at all while closed */
  transition: transform 380ms cubic-bezier(0.5, 0, 0.2, 1), visibility 0s linear 380ms;
  pointer-events: none;
}
.mobile-menu.is-open {
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition: transform 380ms cubic-bezier(0.5, 0, 0.2, 1), visibility 0s;
}
.mobile-menu__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.mobile-menu nav {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 18px;
}
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--navy);
}
.mobile-menu nav a em { color: var(--oxblood); font-style: italic; font-weight: 400; text-transform: none; }

.mobile-menu .nav-cta { font-size: 14px; padding: 14px 22px; }

/* ─── Responsive ─────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .process::before { display: none; }
  .lookbook { grid-auto-rows: 88px; }
  .booking-block { grid-template-columns: 1fr; text-align: left; }
  .visit-block, .split, .split.wide-left, .split.wide-right { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 720px) {
  body { font-size: 17px; }
  .service-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .lookbook { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 80px; }
  .lb-1 { grid-column: span 6; grid-row: span 3; }
  .lb-2, .lb-3, .lb-4, .lb-5, .lb-6, .lb-7, .lb-8, .lb-9 { grid-column: span 3; grid-row: span 2; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .section-head .right { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero h1 { font-size: clamp(44px, 12vw, 72px); }
  .hero { aspect-ratio: 4 / 5; }
}

/* ─── Photography ────────────────────────────────────────────────── */

.service-card__sketch img,
.lb-tile img,
.visit-map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-card__sketch img { filter: saturate(0.92) contrast(1.02); }
.lb-tile img {
  filter: saturate(0.92) contrast(1.02);
  transition: transform var(--t-slow) ease;
}
.lb-tile:hover img { transform: scale(1.04); }

/* ─── Print-safe / reduced motion ───────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
  }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1; transform: none; }
}
