/* =========================================================================
   Site theme overrides
   Loads after composed.css and keeps the active brand colours, surface tones,
   hero phrase styling, and brand-mark sizing in one small place.
   ========================================================================= */

:root {
  /* Brand accent */
  --accent:      #8A6D24;
  --accent-deep: #6E561C;
  --blue:        #8A6D24;   /* legacy alias used in a few places */

  /* Surface tones */
  --paper:   #F5EADF;
  --paper-2: #EFDFD1;
  --card:    #FCF3EB;
  --line:    #E0CBBA;
  --line-2:  #ECDACD;

  /* Hero phrase colour. The `clarity-plain` class controls italic vs roman. */
  --clarity-color: #DBC6A8;
}

/* =========================================================================
   Brand mark
   The mark lives inline as <span class="brand-mark">…</span> inside each
   .brand link (nav + footer) in index.html. It draws with currentColor, so
   the colour rules below place it correctly in every context.
   ========================================================================= */
.brand { gap: 11px; }
.brand-mark {
  display: inline-flex;
  width: 30px; height: 30px;
  color: var(--accent);
  transition: transform .55s var(--ease);
  flex: none;
}
.brand-mark svg { width: 100%; height: 100%; display: block; overflow: visible; }
.brand:hover .brand-mark { transform: translateY(-2px) scale(1.05); }

/* footer sits on the dark base — gold mark beside the cream wordmark */
.footer .brand-mark { width: 31px; height: 31px; color: var(--gold); }

/* over the dark hero image the mark is white; once scrolled onto paper, gold */
.nav--over:not(.scrolled) .brand-mark { color: #fff; }
.nav--over.scrolled .brand-mark { color: var(--gold); }

/* =========================================================================
   Eyebrow contrast
   The default eyebrow text (--ink-faint #948A75) is only ~2.6:1 on the cream
   paper — below WCAG AA for small text. Raise the on-paper eyebrows to the
   deeper ink tone (~6:1). Dark-band eyebrows (.band/.contact/.hero-band) keep
   their own lighter colours via higher specificity, so they're unaffected.
   ========================================================================= */
.eyebrow { color: var(--ink-soft); }

/* Privacy page */
.privacy-page {
  min-height: 100vh;
  background: var(--paper);
}

.privacy-copy {
  padding-bottom: clamp(42px, 6vw, 84px);
}

.privacy-back {
  display: inline-flex;
  margin-bottom: clamp(28px, 4vw, 48px);
  color: var(--ink-soft);
  font-size: 15px;
  text-decoration: none;
}

.privacy-back:hover {
  color: var(--accent-deep);
}

.privacy-copy .lead {
  max-width: 38ch;
  margin-top: 0.8em;
}

.privacy-updated {
  margin-top: 1.2em;
  color: var(--ink-faint);
  font-size: 15px;
}

.privacy-choice {
  display: grid;
  gap: 12px;
  margin-top: clamp(30px, 4vw, 48px);
  padding-block: 18px;
  border-block: 1px solid var(--line);
}

.privacy-copy section {
  padding-top: clamp(30px, 4vw, 46px);
  margin-top: clamp(30px, 4vw, 46px);
  border-top: 1px solid var(--line);
}

.privacy-copy h2 {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.privacy-copy p {
  color: var(--ink-soft);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
}

.privacy-copy p + p {
  margin-top: 0.9em;
}

.privacy-copy strong {
  color: var(--ink);
}

.privacy-copy a:not(.privacy-back) {
  color: var(--accent-deep);
  text-underline-offset: 3px;
}

.privacy-button {
  appearance: none;
  justify-self: start;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--paper);
  cursor: pointer;
  font: 700 15px/1 var(--body);
  padding: 12px 18px;
}

.privacy-button:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.privacy-status {
  color: var(--ink-faint);
  font-size: 16px;
  margin: 0;
}
