/* ════════════════════════════════════════════════════════════════════
   Sable Search — Master Stylesheet
   Brand bible: 04-website/05-sable-search-brand-launch.html
   Last updated: 2026-05-25
   ════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Instrument+Sans:ital,wght@0,300;0,400;0,500;1,300&family=Courier+Prime:ital,wght@0,400;0,700&display=swap');

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

:root {
  /* PALETTE — exact match to brand bible */
  --sable:        #0A0A0A;
  --sable-2:      #141414;
  --gold:         #C8960A;
  --gold-l:       #E0AC1A;
  --warm-white:   #F5F0EB;
  --parchment:    #E8DDD0;
  --light:        #C4B8A8;
  --muted:        #8A7A6A;
  --xlight:       #6A5A4A;
  --charcoal:     #2A2A2A;
  --border:       #2A2A2A;
  --card:         #1C1C1C;

  /* TYPOGRAPHY */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Instrument Sans', system-ui, -apple-system, sans-serif;
  --mono:  'Courier Prime', 'Courier New', monospace;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--warm-white);
  color: var(--sable);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--sable);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 300; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 400; margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 0.4em; }
h4 { font-size: 1rem; font-weight: 600; }
p  { margin-bottom: 1rem; max-width: 65ch; }
a  { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; transition: color 0.15s; }
a:hover, a:focus { color: var(--gold-l); }

em { color: var(--gold); font-style: italic; }
strong { font-weight: 500; color: var(--sable); }

/* SECTION LABEL — mono caps eyebrow */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* LAYOUT */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 4rem 0; }
section.tight { padding: 2.5rem 0; }
section.dark { background: var(--sable); color: var(--warm-white); }
section.dark h1, section.dark h2, section.dark h3 { color: var(--warm-white); }
section.dark p { color: var(--light); }
section.dark .eyebrow { color: var(--gold); }
section.dark a { color: var(--gold-l); }

/* NAVIGATION */
.site-nav {
  background: var(--warm-white);
  border-bottom: 1px solid var(--parchment);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(245, 240, 235, 0.95);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-nav .logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--sable);
}
.site-nav .logo img {
  height: 40px;
  width: auto;
  display: block;
}
.site-nav .logo .wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sable);
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  align-items: center;
}
.site-nav ul a {
  color: var(--sable);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  transition: color 0.15s;
}
.site-nav ul a:hover { color: var(--gold); }
.site-nav .nav-cta {
  background: var(--sable);
  color: var(--warm-white) !important;
  padding: 0.5rem 1rem;
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.site-nav .nav-cta:hover { background: var(--gold); color: var(--sable) !important; }

@media (max-width: 760px) {
  .site-nav ul { gap: 1rem; flex-wrap: wrap; }
  .site-nav ul li.nav-mobile-hide { display: none; }
}

/* HERO */
.hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--parchment);
}
.hero .container { max-width: 900px; }
.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  margin-bottom: 1.2rem;
}
.hero .lede {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 2rem;
  max-width: 760px;
}
.hero .cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 2px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.15s;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--sable);
  color: var(--warm-white);
  border-color: var(--sable);
}
.btn-primary:hover { background: var(--gold); color: var(--sable); border-color: var(--gold); }
.btn-secondary {
  background: transparent;
  color: var(--sable);
  border-color: var(--sable);
}
.btn-secondary:hover { background: var(--sable); color: var(--warm-white); }
.btn-gold {
  background: var(--gold);
  color: var(--sable);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-l); border-color: var(--gold-l); }

/* STATS BAND */
.stats {
  background: var(--sable);
  color: var(--warm-white);
  padding: 2rem 0;
}
.stats .grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.stat-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  display: block;
  line-height: 1.3;
}
@media (max-width: 760px) {
  .stats .grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* TIER CARDS */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  background: var(--warm-white);
  border: 1px solid var(--charcoal);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.tier.featured {
  background: var(--sable);
  color: var(--warm-white);
  position: relative;
}
.tier.featured h3 { color: var(--warm-white); }
.tier.featured .tier-desc { color: var(--light); }
.tier.featured::before {
  content: 'Recommended';
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--gold);
  color: var(--sable);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  font-weight: 700;
}
.tier h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}
.tier-price {
  font-family: var(--mono);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}
.tier-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}
.tier .btn {
  align-self: flex-start;
  font-size: 0.85rem;
  padding: 0.6rem 1.2rem;
}

/* PILLARS — 7-pillar grid */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  margin-top: 1.5rem;
}
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}
.pillar-num {
  font-family: var(--mono);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--sable);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pillar-body { flex: 1; }
.pillar-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1rem;
  color: var(--sable);
  display: block;
  margin-bottom: 0.2rem;
}
.pillar-text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* FORM */
.form {
  background: var(--warm-white);
  border: 1px solid var(--parchment);
  padding: 2rem;
  border-radius: 2px;
  max-width: 560px;
  margin: 0 auto;
}
.form-row { margin-bottom: 1.2rem; }
.form-row label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--charcoal);
  background: white;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--sable);
  border-radius: 2px;
  transition: border-color 0.15s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-row .hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.3rem;
  font-family: var(--sans);
  letter-spacing: 0;
  text-transform: none;
}
.form button[type=submit] {
  width: 100%;
  font-size: 1rem;
  padding: 1rem;
  margin-top: 0.5rem;
}

/* CALLOUT BLOCK */
.callout {
  background: var(--gold);
  color: var(--sable);
  padding: 2rem 2.5rem;
  margin: 3rem 0;
  border-radius: 2px;
}
.callout .eyebrow { color: var(--sable); opacity: 0.7; }
.callout p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.45; margin: 0; max-width: none; }
.callout p strong { color: var(--sable); }

/* PROSE — long-form content */
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.8rem; color: var(--sable); }
.prose p, .prose ul, .prose ol { margin-bottom: 1.1rem; }
.prose ul, .prose ol { padding-left: 1.5rem; }
.prose li { margin-bottom: 0.4rem; }
.prose code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--parchment);
  padding: 0.1em 0.4em;
  border-radius: 2px;
}
.prose pre {
  background: var(--sable);
  color: var(--warm-white);
  padding: 1rem 1.2rem;
  border-radius: 2px;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-family: var(--mono);
  font-size: 0.85rem;
  line-height: 1.6;
}
.prose pre code { background: transparent; padding: 0; color: var(--gold); }
.prose blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1.2rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--muted);
}

/* FOOTER */
.site-footer {
  background: var(--sable);
  color: var(--light);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  font-size: 0.88rem;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 760px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 0.4rem; }
.site-footer a { color: var(--light); text-decoration: none; transition: color 0.15s; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand-block img { height: 50px; width: auto; display: block; margin-bottom: 0.8rem; filter: brightness(0) invert(1); }
.site-footer .brand-block p { color: var(--muted); font-size: 0.85rem; max-width: 320px; }
.site-footer .legal {
  border-top: 1px solid var(--charcoal);
  padding-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--xlight);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.8;
}
.site-footer .motto {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 0.3rem;
  display: inline-block;
}

/* UTILITY */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none; }

/* ACCESSIBILITY */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.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;
}

/* PRINT */
@media print {
  .site-nav, .site-footer { display: none; }
  body { background: white; color: black; }
}
