/* Private Catalogue — light ivory, privacy-first */
@import url("fonts.css");

:root {
  --bg: #faf8f4;
  --bg-soft: #f3efe7;
  --white: #ffffff;
  --ink: #111111;
  --ink-soft: #3a3a3a;
  --muted: #4a4640;
  --line: rgba(17, 17, 17, 0.1);
  --line-soft: rgba(17, 17, 17, 0.06);
  --accent: #5c4a28;
  --max: 1120px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-pad: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
ul { list-style: none; }
button, input, select, textarea {
  font: inherit; color: inherit; background: none; border: none; outline: none;
}
button { cursor: pointer; }

/* Container: always padded; never hug viewport edges */
.container,
.container-wide {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}
.container-wide { max-width: 1280px; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.display-xl { font-size: clamp(2.5rem, 5.5vw, 4rem); }
.display-lg { font-size: clamp(2rem, 3.5vw, 2.85rem); }
.display-md { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.lede { font-size: 1.05rem; color: var(--muted); max-width: 34rem; font-weight: 400; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid transparent; transition: 0.25s var(--ease);
  text-decoration: none;
}
.btn-dark { background: var(--ink); color: var(--white) !important; }
.btn-dark:hover { background: #000; color: var(--white) !important; }
.btn-line { background: transparent; color: var(--ink) !important; border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white) !important; }
.btn-block { width: 100%; }

.proto {
  background: var(--ink); color: rgba(255,255,255,0.92);
  text-align: center; font-size: 0.68rem; letter-spacing: 0.08em; padding: 0.45rem var(--page-pad);
}
.proto strong { color: #fff; font-weight: 500; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s var(--ease), background 0.3s;
}
.site-header.scrolled { background: rgba(255,255,255,0.97); box-shadow: 0 1px 0 var(--line); }
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--page-pad);
  width: 100%;
}
.logo {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 400;
  color: var(--ink); letter-spacing: 0.04em; white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  font-family: var(--sans);
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { padding: 0.55rem 1rem !important; }
.nav-toggle { display: none; width: 24px; height: 16px; position: relative; background: transparent; border: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 0; width: 100%; height: 1px; background: var(--ink);
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { content: ""; top: -6px; }
.nav-toggle span::after { content: ""; top: 6px; }

.hero {
  position: relative; min-height: 86vh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; background: #0a0a0a; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.72) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding-block: 4.5rem 3.5rem;
  max-width: 40rem;
}
.hero .eyebrow { color: rgba(255,255,255,0.9); }
.hero .display { color: #fff; margin: 0.85rem 0 1rem; }
.hero .lede { color: rgba(255,255,255,0.88); margin-bottom: 1.75rem; }
/* Hero CTAs: explicit contrast — never white-on-white */
.hero .btn-dark,
.hero a.btn-dark {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: #ffffff !important;
}
.hero .btn-dark:hover,
.hero a.btn-dark:hover {
  background: #f3efe7 !important;
  color: #111111 !important;
}
.hero .btn-line,
.hero a.btn-line {
  background: transparent !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}
.hero .btn-line:hover,
.hero a.btn-line:hover {
  background: #ffffff !important;
  color: #111111 !important;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.section { padding: 6rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-head { max-width: 36rem; margin-bottom: 2.5rem; }
.section-head .display { margin-top: 0.5rem; }
.bg-soft { background: var(--bg-soft); }
.bg-white { background: var(--white); }

.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.cat-card { display: block; }
.cat-card figure {
  aspect-ratio: 4/5; overflow: hidden; background: #e8e4dc; margin-bottom: 0.85rem;
}
.cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.cat-card:hover img { transform: scale(1.04); }
.cat-card h3 {
  font-family: var(--serif); font-size: 1.25rem; color: var(--ink); font-weight: 400;
}
.cat-card p { font-size: 0.88rem; color: var(--muted); margin-top: 0.25rem; }

.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
  border-top: 1px solid var(--line); padding-top: 2.25rem;
}
.pillar h3 {
  font-family: var(--serif); font-size: 1.35rem; color: var(--ink); font-weight: 400; margin-bottom: 0.5rem;
}
.pillar p { color: var(--muted); font-size: 0.95rem; }

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem;
}
.step { border-top: 1px solid var(--ink); padding-top: 1.15rem; }
.step-num {
  font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--accent); margin-bottom: 0.55rem;
}
.step h3 {
  font-family: var(--serif); font-size: 1.2rem; color: var(--ink); font-weight: 400; margin-bottom: 0.4rem;
}
.step p { font-size: 0.92rem; color: var(--muted); }

.page-hero { padding: 3.25rem 0 2rem; border-bottom: 1px solid var(--line-soft); }
.page-hero .display { margin: 0.45rem 0 0.65rem; }
.breadcrumbs { font-size: 0.78rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span[aria-hidden] { margin: 0 0.4rem; }

.prose { max-width: 40rem; color: var(--muted); }
.prose p + p { margin-top: 1rem; }
.prose strong { color: var(--ink); font-weight: 500; }
.note { margin-top: 1.25rem; font-size: 0.88rem; color: var(--muted); max-width: 40rem; }
.draft {
  display: inline-block; margin-left: 0.35rem; font-size: 0.58rem; letter-spacing: 0.1em;
  text-transform: uppercase; border: 1px solid var(--line); padding: 0.1rem 0.35rem; color: var(--accent); vertical-align: middle;
}

.fee-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; }
.fee-table th, .fee-table td {
  text-align: left; padding: 0.85rem 0; border-bottom: 1px solid var(--line-soft); font-size: 0.92rem;
}
.fee-table th {
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.fee-table td:nth-child(2) { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }

.form-wrap { max-width: 640px; }
.form-stack { display: flex; flex-direction: column; gap: 0.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; min-width: 140px; }
.field label {
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500;
}
.field input, .field select, .field textarea {
  padding: 0.7rem 0.8rem; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field select { appearance: none; }
.form-msg {
  display: none; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink); font-size: 0.95rem;
}
.form-msg.show { display: block; }
.fee-hint { font-family: var(--serif); color: var(--accent); font-size: 1rem; min-height: 1.3em; }

.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item:first-child { border-top: 1px solid var(--line-soft); }
.faq-q {
  width: 100%; text-align: left; padding: 1.15rem 0;
  font-family: var(--serif); font-size: 1.2rem; color: var(--ink);
  display: flex; justify-content: space-between; gap: 1rem;
  background: transparent; border: 0;
}
.faq-q::after { content: "+"; color: var(--accent); font-family: var(--sans); }
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; color: var(--muted); font-size: 0.95rem; transition: max-height 0.35s var(--ease); }
.faq-item.open .faq-a { max-height: 280px; padding-bottom: 1.15rem; }

.cta {
  text-align: center; padding: 4.5rem 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
}
.cta .display { margin: 0.6rem auto 1rem; max-width: 26rem; }
.cta .lede { margin: 0 auto 1.5rem; }

.site-footer {
  padding: 3rem 0 1.5rem; border-top: 1px solid var(--line-soft); margin-top: 1rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem;
}
.footer-brand .logo { display: inline-block; margin-bottom: 0.6rem; }
.footer-brand p { font-size: 0.9rem; color: var(--muted); max-width: 16rem; }
.footer-col .footer-label, .footer-col h4 {
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem; font-weight: 600;
}
.footer-col a { display: block; font-size: 0.9rem; color: var(--muted); margin-bottom: 0.4rem; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  padding-top: 1.15rem; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem;
  font-size: 0.78rem; color: var(--muted);
}

/*
  Progressive reveal:
  - Default: content VISIBLE (no JS / file:// / crawlers)
  - Only html.js (without reduced-motion) hides .reveal until .in or .is-visible
*/
.reveal { opacity: 1; transform: none; }
html.js:not(.reduce-motion) .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js:not(.reduce-motion) .reveal.in,
html.js:not(.reduce-motion) .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

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

.cat-split {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: start;
}

@media (max-width: 960px) {
  .cat-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .pillars, .footer-grid, .about-grid, .cat-split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --nav-h: 64px; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; background: var(--white);
    flex-direction: column; align-items: stretch; padding: 1rem var(--page-pad) 1.5rem; gap: 0;
    border-bottom: 1px solid var(--line); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: 0.3s var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 0.85rem 0; border-bottom: 1px solid var(--line-soft); }
  .nav-cta { margin-top: 0.75rem; width: 100%; text-align: center; }
  .nav-toggle { display: block; }
  .cat-grid, .steps, .pillars, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 72vh; }
  .section { padding: 3.75rem 0; }
}

/* Hero crossfade slideshow + Ken Burns */
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0a0a0a;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}
.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.hero-slide picture,
.hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hero-slide img {
  transform: scale(1.05);
  transition: none;
}
.hero-slide.is-active img {
  animation: heroKenBurns 7.5s ease-out forwards;
}
@keyframes heroKenBurns {
  from { transform: scale(1.05); }
  to { transform: scale(1.14); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-slide.is-active img { animation: none; transform: scale(1.05); }
  .hero[data-hero-slideshow] .hero-slide:not(.is-active) { display: none; }
}


/* live: draft labels — shown only when html.show-draft-labels */
.draft, [data-draft-label] { display: none; }
html.show-draft-labels .draft,
html.show-draft-labels [data-draft-label] { display: inline; }

/* FormSubmit honeypot — visually hidden, not display:none (some bots skip that) */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Footer grid: up to 5 columns on wide screens */
.footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.legal-prose { max-width: 42rem; }
.legal-prose h2 { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; margin: 2rem 0 0.75rem; }
.legal-prose h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; margin: 1.5rem 0 0.5rem; }
.legal-prose p, .legal-prose li { color: var(--muted); font-size: 0.98rem; line-height: 1.65; }
.legal-prose ul { padding-left: 1.2rem; margin: 0.5rem 0 1rem; }
.legal-prose li { margin: 0.35rem 0; }
