/* ============================================================
   Manistee ONE stylesheet
   ------------------------------------------------------------
   BRAND TOKENS LIVE HERE. To match your business cards exactly,
   change the two groups below (colors + fonts) and nothing else.
   ============================================================ */

:root {
  /* --- COLOR (swap these to match the card) ------------------ */
  --bone:        #EDEEE9;   /* page background, cool pale paper   */
  --bone-soft:   #E4E6DF;   /* subtle panel / input fill           */
  --ink:         #1A1D1B;   /* primary text, near-black           */
  --pine:        #1E3A33;   /* primary deep field (bands, footer)  */
  --pine-deep:   #16291F;   /* darkest pine                        */
  --pewter:      #707A72;   /* labels, captions, hairlines         */
  --brass:       #9C8A5E;   /* restrained metallic spark           */
  --on-pine:     #E9EAE3;   /* text on pine fields                 */

  /* --- TYPE (swap family names to match the card) ----------- */
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* --- SCALE -------------------------------------------------- */
  --measure: 64rem;          /* max content width */
  --gutter: clamp(1.5rem, 5vw, 5rem);
}

/* ---------- Self-hosted fonts (no third-party calls) -------- */
@font-face {
  font-family: "Spectral"; font-style: normal; font-weight: 300;
  font-display: swap; src: url("fonts/spectral-latin-300-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Spectral"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("fonts/spectral-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Spectral"; font-style: italic; font-weight: 400;
  font-display: swap; src: url("fonts/spectral-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Spectral"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("fonts/spectral-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2");
}

/* ---------------------- Reset / base ----------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* Shared layout shell */
.shell { width: 100%; max-width: var(--measure); margin: 0 auto; padding-inline: var(--gutter); }

/* small uppercase eyebrow label */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pewter);
  margin: 0;
}

/* ------------------------- Header -------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bone) 88%, transparent);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--pewter) 35%, transparent);
}
.site-header .shell {
  display: flex; align-items: center; justify-content: space-between;
  height: 4.25rem;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 0.42em;
}
.wordmark .one {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.62em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pewter);
  transform: translateY(-0.15em);
}
.nav-link {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, color .25s ease;
}
.nav-link:hover, .nav-link:focus-visible { border-color: var(--brass); }

/* -------------------------- Hero --------------------------- */
.hero { padding-top: clamp(4.5rem, 12vh, 9rem); padding-bottom: clamp(4rem, 10vh, 8rem); }
.hero .eyebrow { margin-bottom: 1.75rem; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.9rem, 9vw, 6.25rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 14ch;
}
.hero h1 .br2 { color: var(--pine); }
.hero .lede {
  margin: 2.25rem 0 0;
  max-width: 46ch;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.6;
  color: color-mix(in srgb, var(--ink) 78%, var(--bone));
}

/* ------------------- Pine statement band ------------------- */
.statement {
  background: var(--pine);
  color: var(--on-pine);
  padding-block: clamp(4.5rem, 12vh, 8.5rem);
  position: relative;
  overflow: hidden;
}
.statement::before {     /* faint vertical hairline, the quiet plumb-line */
  content: ""; position: absolute; top: 0; bottom: 0;
  left: max(var(--gutter), calc((100% - var(--measure)) / 2 + var(--gutter)));
  width: 1px; background: color-mix(in srgb, var(--on-pine) 22%, transparent);
}
.statement .eyebrow { color: color-mix(in srgb, var(--brass) 92%, white); margin-bottom: 1.5rem; }
.statement p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 4.3vw, 2.9rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 22ch;
}

/* ------------------------ Principles ----------------------- */
.principles { padding-block: clamp(4rem, 11vh, 7.5rem); }
.principles .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
}
.principle { border-top: 1px solid color-mix(in srgb, var(--pewter) 45%, transparent); padding-top: 1.5rem; }
.principle h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.42rem;
  letter-spacing: 0;
  margin: 0.9rem 0 0.65rem;
}
.principle .mark {
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brass);
}
.principle p { margin: 0; color: color-mix(in srgb, var(--ink) 82%, var(--bone)); }

/* ------------------------- Contact ------------------------- */
.contact { padding-block: clamp(4rem, 11vh, 7rem); }
.contact .inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 1.25rem 0 0;
}
.contact .note { margin-top: 1.5rem; max-width: 34ch; color: var(--pewter); font-size: 0.95rem; }

.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--pewter);
  margin-bottom: 0.5rem;
}
.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bone-soft);
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 0.8rem 0.9rem;
  transition: border-color .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--pine);
  background: color-mix(in srgb, var(--bone-soft) 60%, white);
}
.hp { position: absolute; left: -9999px; }   /* honeypot */

.btn {
  appearance: none; cursor: pointer;
  font-family: var(--sans); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--on-pine); background: var(--pine);
  border: 1px solid var(--pine);
  border-radius: 2px;
  padding: 0.85rem 1.9rem;
  transition: background .25s ease, transform .15s ease;
}
.btn:hover { background: var(--pine-deep); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

/* -------------------------- Footer ------------------------- */
.site-footer {
  background: var(--pine-deep);
  color: var(--on-pine);
  padding-block: clamp(2.5rem, 6vh, 4rem);
}
.site-footer .inner {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem;
  align-items: center; justify-content: space-between;
}
.site-footer .mk { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.site-footer .mk .one {
  font-family: var(--sans); font-size: 0.6em; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: color-mix(in srgb, var(--on-pine) 65%, transparent);
  margin-left: 0.45em;
}
.site-footer .meta { color: color-mix(in srgb, var(--on-pine) 68%, transparent); font-size: 0.85rem; }
.site-footer .links { display: flex; gap: 1.6rem; }
.site-footer .links a {
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--on-pine);
  padding-bottom: 2px; border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.site-footer .links a:hover, .site-footer .links a:focus-visible { border-color: var(--brass); }

/* ---------------------- Legal / content pages -------------- */
.doc { padding-block: clamp(3.5rem, 9vh, 6rem); }
.doc .eyebrow { margin-bottom: 1.25rem; }
.doc h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1.08;
  letter-spacing: -0.015em; margin: 0 0 0.5rem;
}
.doc .updated { color: var(--pewter); font-size: 0.85rem; margin: 0 0 2.75rem; }
.doc h2 {
  font-family: var(--serif); font-weight: 600; font-size: 1.3rem;
  margin: 2.5rem 0 0.6rem;
}
.doc p, .doc li { max-width: 64ch; color: color-mix(in srgb, var(--ink) 88%, var(--bone)); }
.doc ul { padding-left: 1.1rem; }
.doc li { margin-bottom: 0.4rem; }
.doc a { color: var(--pine); text-underline-offset: 3px; }
.back {
  display: inline-block; margin-top: 3rem;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  color: var(--pewter); border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}
.back:hover { color: var(--ink); border-color: var(--brass); }

/* ----------------------- Thank-you ------------------------- */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 5rem; }
.thanks .eyebrow { color: var(--brass); margin-bottom: 1.25rem; }
.thanks h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 7vw, 4rem); line-height: 1.05;
  letter-spacing: -0.015em; margin: 0;
}
.thanks p { margin: 1.5rem auto 0; max-width: 42ch; color: var(--pewter); }

/* ------------------------ Animation ------------------------ */
.reveal { opacity: 0; transform: translateY(14px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal.d1 { animation-delay: .08s; }
.reveal.d2 { animation-delay: .18s; }
.reveal.d3 { animation-delay: .30s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  * { scroll-behavior: auto !important; }
}

/* ------------------------ Responsive ----------------------- */
@media (max-width: 820px) {
  .principles .grid { grid-template-columns: 1fr; gap: 0; }
  .principle { padding-top: 1.4rem; padding-bottom: 1.6rem; }
  .contact .inner { grid-template-columns: 1fr; gap: 2.25rem; }
}
@media (max-width: 540px) {
  .site-footer .inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .nav-link { font-size: 0.74rem; }
}
