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

/* Brooke tokens */
:root {
  /* Color */
  --bk-ink: #1c1c1c;
  --bk-ink-deep: #0d0d0d;
  --bk-ink-soft: #4a4a4a;
  --bk-muted: #7a7a7a;
  --bk-paper: #ffffff;
  --bk-paper-soft: #fafafa;
  --bk-cream: #f7f5e1;
  --bk-nav-bg: #1c1c1c;
  --bk-nav-text: #dbdbdb;
  --bk-nav-text-active: #ffffff;
  --bk-veil-dark: rgba(28, 28, 28, 0.62);
  --bk-veil-light: rgba(220, 214, 214, 0.72);
  --bk-line: #c9b99a;
  --bk-line-soft: #e4dccb;
  --bk-focus: #8a7550;

  /* Type families */
  --bk-font-display: "Forum", "Cormorant Garamond", Georgia, serif;
  --bk-font-body: "Cormorant Garamond", Georgia, serif;
  --bk-font-label: "Jost", "Futura", "Century Gothic", sans-serif;

  /* Type scale */
  --bk-text-xs: 13px;
  --bk-text-sm: 15px;
  --bk-text-md: 18px;
  --bk-text-body: 20px;
  --bk-text-lead: 25px;
  --bk-text-h3: 28px;
  --bk-text-h2: 35px;
  --bk-text-h1: 40px;
  --bk-text-display: 57px;

  /* Letter spacing */
  --bk-track-wordmark: 0.2em;
  --bk-track-banner: 0.3em;
  --bk-track-label: 0.05em;

  /* Spacing */
  --bk-space-1: 4px;
  --bk-space-2: 8px;
  --bk-space-3: 12px;
  --bk-space-4: 16px;
  --bk-space-5: 24px;
  --bk-space-6: 32px;
  --bk-space-7: 48px;
  --bk-space-8: 64px;
  --bk-space-9: 96px;

  /* Layout */
  --bk-content-width: 980px;
  --bk-prose-width: 720px;
  --bk-nav-height: 60px;

  /* Effects */
  --bk-shadow-card: 0 4px 24px rgba(0, 0, 0, 0.12);
  --bk-shadow-glow: 0 0 18px rgba(255, 255, 255, 0.55);
  --bk-radius: 0px;
}

/* Base */
.bk-root {
  font-family: var(--bk-font-body);
  font-size: var(--bk-text-body);
  line-height: 1.45;
  color: var(--bk-ink);
  background: var(--bk-paper);
  -webkit-font-smoothing: antialiased;
}
.bk-root *, .bk-root *::before, .bk-root *::after { box-sizing: border-box; }

/* Layout helpers */
.bk-container { max-width: var(--bk-content-width); margin: 0 auto; padding: 0 var(--bk-space-5); }
.bk-section { padding: var(--bk-space-8) 0; }
.bk-section--cream { background: var(--bk-cream); }
.bk-center { text-align: center; }
.bk-prose { max-width: var(--bk-prose-width); margin: 0 auto; text-align: center; }
.bk-prose p { margin: 0 0 var(--bk-space-4); }

/* Text */
.bk-text { margin: 0; font-family: var(--bk-font-body); color: var(--bk-ink); }
.bk-text--sm { font-size: var(--bk-text-sm); }
.bk-text--md { font-size: var(--bk-text-md); }
.bk-text--body { font-size: var(--bk-text-body); }
.bk-text--lead { font-size: var(--bk-text-lead); font-family: var(--bk-font-display); }
.bk-text--muted { color: var(--bk-ink-soft); }
.bk-text--italic { font-style: italic; }
.bk-text--label { font-family: var(--bk-font-label); font-weight: 400; font-size: 16px; letter-spacing: var(--bk-track-label); }
.bk-text--center { text-align: center; }

/* Headings */
.bk-heading { margin: 0; font-family: var(--bk-font-display); font-weight: 700; color: var(--bk-ink); line-height: 1.15; }
.bk-heading--1 { font-size: var(--bk-text-h1); }
.bk-heading--2 { font-size: var(--bk-text-h2); }
.bk-heading--3 { font-size: var(--bk-text-h3); }
.bk-heading--italic { font-style: italic; letter-spacing: 0.05em; }
.bk-heading--underline { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.bk-heading--caps { text-transform: uppercase; font-family: var(--bk-font-body); font-weight: 400; font-size: var(--bk-text-md); text-decoration: underline; text-underline-offset: 4px; }
.bk-heading--center { text-align: center; }

/* Wordmark */
.bk-wordmark { margin: 0; font-family: var(--bk-font-display); font-weight: 400; text-transform: uppercase; letter-spacing: var(--bk-track-wordmark); line-height: 1.1; }
.bk-wordmark--lg { font-size: clamp(34px, 5vw, var(--bk-text-display)); }
.bk-wordmark--md { font-size: var(--bk-text-h1); }
.bk-wordmark--sm { font-size: var(--bk-text-h3); }
.bk-wordmark--ink { color: var(--bk-ink); }
.bk-wordmark--light { color: var(--bk-paper); }

/* Links */
.bk-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; cursor: pointer; transition: opacity .2s; }
.bk-link:hover { opacity: .65; }
.bk-link--caps { text-transform: uppercase; }
.bk-link--label { font-family: var(--bk-font-label); font-size: 16px; }

/* Button */
.bk-button { display: inline-flex; align-items: center; justify-content: center; gap: var(--bk-space-2); border: 1px solid transparent; border-radius: var(--bk-radius); cursor: pointer; font-family: var(--bk-font-body); font-size: var(--bk-text-body); line-height: 1; padding: 12px 36px; transition: background .2s, color .2s, box-shadow .2s, opacity .2s; text-decoration: none; }
.bk-button--sm { font-size: var(--bk-text-sm); padding: 9px 24px; }
.bk-button--lg { font-size: var(--bk-text-lead); padding: 14px 48px; }
.bk-button--dark { background: var(--bk-ink); color: var(--bk-paper); }
.bk-button--dark:hover { background: var(--bk-ink-soft); }
.bk-button--light { background: var(--bk-paper); color: var(--bk-ink); box-shadow: var(--bk-shadow-glow); }
.bk-button--light:hover { background: var(--bk-cream); }
.bk-button--outline { background: transparent; color: var(--bk-ink); border-color: var(--bk-ink); }
.bk-button--outline:hover { background: var(--bk-ink); color: var(--bk-paper); }
.bk-button--block { width: 100%; }
.bk-button:disabled { opacity: .45; cursor: not-allowed; }

/* Site nav */
.bk-nav { background: var(--bk-nav-bg); height: var(--bk-nav-height); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #2e2e2e; }
.bk-nav__list { display: flex; gap: clamp(20px, 6vw, 64px); list-style: none; margin: 0; padding: 0 var(--bk-space-5); overflow-x: auto; }
.bk-nav__link { font-family: var(--bk-font-body); font-size: var(--bk-text-body); color: var(--bk-nav-text-active); text-decoration: none; white-space: nowrap; transition: color .2s; }
.bk-nav__link:hover { color: var(--bk-nav-text); }
.bk-nav__link--active { color: var(--bk-nav-text); }

/* Veil panel */
.bk-veil { padding: var(--bk-space-6) var(--bk-space-7); text-align: center; }
.bk-veil--light { background: var(--bk-veil-light); color: var(--bk-ink); }
.bk-veil--dark { background: var(--bk-veil-dark); color: var(--bk-paper); }

/* Hero */
.bk-hero { position: relative; display: flex; align-items: center; justify-content: center; background-color: #3a2a24; background-size: cover; background-position: center; overflow: hidden; }
.bk-hero__panel { position: relative; width: min(760px, 92%); }
.bk-hero__subtitle { margin: var(--bk-space-3) 0 0; font-family: var(--bk-font-display); font-size: var(--bk-text-lead); }
.bk-hero__body { margin: var(--bk-space-4) auto 0; max-width: 440px; font-family: var(--bk-font-label); font-weight: 300; font-size: 16px; line-height: 1.6; }
.bk-hero__actions { margin-top: var(--bk-space-5); }

/* Section banner */
.bk-banner { position: relative; display: flex; align-items: center; justify-content: center; background-color: #bdb8b4; background-size: cover; background-position: center; }
.bk-banner__panel { background: var(--bk-veil-dark); padding: var(--bk-space-6) clamp(24px, 6vw, 64px); }
.bk-banner__label { margin: 0; font-family: var(--bk-font-display); font-weight: 400; font-size: clamp(32px, 5vw, var(--bk-text-display)); letter-spacing: var(--bk-track-banner); text-transform: uppercase; color: var(--bk-paper); text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.bk-banner a { color: inherit; text-decoration: none; }

/* Detail list (label/value grid) */
.bk-details { display: grid; gap: var(--bk-space-5) var(--bk-space-6); text-align: center; margin: 0; }
.bk-details--cols-1 { grid-template-columns: 1fr; }
.bk-details--cols-2 { grid-template-columns: repeat(2, 1fr); }
.bk-details--cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) { .bk-details--cols-2, .bk-details--cols-3 { grid-template-columns: 1fr; } }
.bk-details__item { margin: 0; }
.bk-details__label { font-size: var(--bk-text-md); text-decoration: underline; text-underline-offset: 3px; color: var(--bk-ink); margin: 0 0 var(--bk-space-1); }
.bk-details__value { margin: 0; font-size: var(--bk-text-md); color: var(--bk-ink-soft); white-space: pre-line; }

/* Teaser */
.bk-teaser { text-align: center; max-width: var(--bk-prose-width); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: var(--bk-space-5); }
.bk-teaser__blurb { margin: 0; font-size: var(--bk-text-md); color: var(--bk-ink-soft); }

/* Pull quote */
.bk-quote { margin: 0 auto; max-width: var(--bk-prose-width); text-align: center; font-family: var(--bk-font-display); font-style: italic; font-size: var(--bk-text-lead); line-height: 1.35; color: var(--bk-ink); }
.bk-quote--sm { font-size: 23px; }
.bk-quote__cite { display: block; margin-top: var(--bk-space-3); font-family: var(--bk-font-label); font-style: normal; font-size: var(--bk-text-sm); letter-spacing: var(--bk-track-label); color: var(--bk-muted); }

/* Card */
.bk-card { background: var(--bk-paper); box-shadow: var(--bk-shadow-card); padding: var(--bk-space-7) var(--bk-space-6); }
.bk-card--flat { box-shadow: none; border: 1px solid var(--bk-line-soft); }
.bk-card__title { margin: 0; text-align: center; font-family: var(--bk-font-display); font-size: var(--bk-text-h3); font-weight: 400; }
.bk-card__subtitle { margin: var(--bk-space-1) 0 var(--bk-space-5); text-align: center; font-style: italic; font-size: var(--bk-text-sm); color: var(--bk-ink-soft); }

/* Form fields */
.bk-field { display: flex; flex-direction: column; gap: var(--bk-space-2); margin-bottom: var(--bk-space-5); }
.bk-field__label { font-family: var(--bk-font-label); font-weight: 300; font-size: 14px; color: var(--bk-ink); }
.bk-field__req { margin-left: 2px; }
.bk-field__control { width: 100%; font-family: var(--bk-font-label); font-weight: 300; font-size: 15px; color: var(--bk-ink); background: transparent; border: 0; border-bottom: 1px solid var(--bk-line); border-radius: 0; padding: 6px 0 8px; outline: none; transition: border-color .2s; }
.bk-field__control::placeholder { color: var(--bk-muted); }
.bk-field__control:focus { border-bottom-color: var(--bk-focus); border-bottom-width: 2px; padding-bottom: 7px; }
.bk-field__control--textarea { min-height: 110px; resize: vertical; border: 1px solid var(--bk-line); padding: 10px; }
.bk-field__control--textarea:focus { padding: 9px; border-width: 2px; }
.bk-field__control--select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--bk-ink) 50%), linear-gradient(135deg, var(--bk-ink) 50%, transparent 50%); background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.bk-field__hint { font-family: var(--bk-font-label); font-size: 12px; color: var(--bk-muted); }
.bk-field__error { font-family: var(--bk-font-label); font-size: 12px; color: #9b2c2c; }
.bk-field--invalid .bk-field__control { border-color: #9b2c2c; }

/* Age gate */
.bk-gate { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; background-color: #5a4a44; background-size: cover; background-position: center; padding: var(--bk-space-7) var(--bk-space-4); }
.bk-gate__panel { width: min(690px, 100%); background: rgba(40, 40, 40, 0.85); color: var(--bk-paper); text-align: center; padding: var(--bk-space-7) var(--bk-space-6); }
.bk-gate__title { margin: 0; font-family: var(--bk-font-display); font-weight: 400; font-size: clamp(36px, 6vw, var(--bk-text-display)); text-transform: uppercase; line-height: 1.1; }
.bk-gate__body { margin: var(--bk-space-5) auto var(--bk-space-6); max-width: 440px; font-family: var(--bk-font-label); font-weight: 300; font-size: 16px; line-height: 1.6; color: #e6e6e6; }

/* Split (image + content) */
.bk-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--bk-space-7); align-items: start; }
.bk-split--reverse > :first-child { order: 2; }
@media (max-width: 720px) { .bk-split { grid-template-columns: 1fr; } .bk-split--reverse > :first-child { order: 0; } }
.bk-image { display: block; width: 100%; object-fit: cover; background: #d9d4cf; }

/* Footer */
.bk-footer { background: var(--bk-paper); padding: var(--bk-space-8) var(--bk-space-5) var(--bk-space-7); text-align: center; font-family: var(--bk-font-label); font-size: 15px; color: var(--bk-ink); display: flex; flex-direction: column; align-items: center; gap: var(--bk-space-5); }
.bk-footer__social { display: flex; gap: var(--bk-space-4); justify-content: center; }
.bk-footer__icon { width: 22px; height: 22px; color: var(--bk-muted); transition: color .2s; }
.bk-footer__icon:hover { color: var(--bk-ink); }
.bk-footer__block { margin: 0; line-height: 1.5; }
.bk-footer__block strong { font-weight: 500; }

/* Divider */
.bk-divider { border: 0; height: 1px; background: var(--bk-line); width: 80px; margin: var(--bk-space-6) auto; }
.bk-divider--wide { width: 100%; background: var(--bk-line-soft); }

/* Form fields keep their own alignment inside centred cards */
.bk-field { text-align: left; }
