:root {
  /* Same fonts as the Coriven project (loaded from Google Fonts in each page's head). */
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Montserrat", Helvetica, Arial, sans-serif;
  --font-display: var(--serif);
  --font-body: var(--sans);

  --ink: #0a0a0a;
  --muted: #555555;
  --line: #e6e6e6;
  --paper: #fcfcfb;
  --card: #ffffff;
  --flame: #0a0a0a;       /* buttons */
  --flame-dark: #000000;
  --focus: #00a3a3;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, .brand { font-family: var(--serif); font-weight: 500; }

a { color: var(--ink); }

/* Homepage hero */
.home-hero { padding: clamp(48px, 9vw, 96px) 0 clamp(48px, 8vw, 88px); text-align: center; }
.eyebrow, .subhero {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.4;
  padding-left: 0.1em;               /* balances trailing letter-spacing when centered */
}
.eyebrow { font-size: clamp(0.95rem, 2vw, 1.35rem); }
.eyebrow { position: relative; z-index: 2; }   /* stays crisp above the flame */
.wordmark {
  position: relative; display: inline-block; z-index: 1;
  font-size: clamp(4.5rem, 23vw, 13rem);
  margin-top: 0.12em; padding: 0 0.06em;
}
.wordmark h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1em;
  line-height: 0.92;
  letter-spacing: -0.01em;
}
/* The flame box rises above the word so the tongues can lick upward. */
.flame-zone { position: absolute; left: 0; right: 0; bottom: 0.04em; top: -0.62em; pointer-events: none; }
.subhero { margin-top: clamp(14px, 2.4vw, 26px); font-size: clamp(1rem, 2.6vw, 1.6rem); letter-spacing: 0.32em; padding-left: 0.32em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--card); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px; flex-wrap: wrap;
}
.brand {
  font-family: var(--serif); font-weight: 400; font-size: 1.75rem; line-height: 1;
  color: var(--ink); text-decoration: none;
}
.site-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15;
  margin: 0 0 16px; letter-spacing: -0.02em;
}
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0; }

.about { padding: 8px 0 40px; }
.about p { max-width: 680px; }
.about h2, .contact h2 { font-size: 1.5rem; margin: 0 0 12px; }

/* Contact form */
.contact { padding: 40px 0 64px; border-top: 1px solid var(--line); }
.contact > .wrap > p { color: var(--muted); margin-top: 0; }

form.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 28px; max-width: 640px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; padding: 11px 12px;
  border: 1px solid #cfc6bb; border-radius: 8px; background: #fff; color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }

fieldset.consent { border: 0; padding: 0; margin: 24px 0 8px; }
fieldset.consent legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.consent-option {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  padding: 14px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px;
  background: #fffdfa;
}
.consent-option input { width: 20px; height: 20px; margin: 3px 0 0; }
.consent-option strong { display: block; margin-bottom: 4px; }
.consent-option p { margin: 0; font-size: 0.92rem; color: var(--muted); }
.consent-links { font-size: 0.92rem; margin: 6px 0 22px; }

button.primary {
  font: inherit; font-weight: 700; color: #fff; background: var(--flame);
  border: 0; border-radius: 8px; padding: 13px 26px; cursor: pointer;
}
button.primary:hover { background: var(--flame-dark); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Policy pages */
.policy { padding: 48px 0 64px; }
.policy h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 6px; letter-spacing: -0.01em; }
.policy .date { color: var(--muted); margin: 0 0 32px; }
.policy h2 { font-size: 1.2rem; margin: 36px 0 10px; }
.policy h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.policy address { font-style: normal; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--card); padding: 28px 0; font-size: 0.92rem; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

@media (max-width: 560px) {
  form.card { padding: 20px; }
  .hero { padding: 44px 0 28px; }
}
