/* ============================================================
   FOUNDATION 1 — LANDING PAGE STYLES (self-contained build)
   Brand tokens + the few components this one page uses, combined
   so the page needs no build step. Generated from the
   Foundation 1 Design System.
   ============================================================ */

/* Foundation 1 webfonts — web substitutes for the proprietary brand faces.
   Cinzel → marks (Perpetua Titling MT)   ·   Caladea → text (Cambria) */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caladea:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ============================================================
   FOUNDATION 1 · COLOR
   One ink. White paper. No tints, no grays in the brand itself.
   The neutral steps exist ONLY for chrome (footer, hairlines) —
   they are not brand colors and never appear inside a mark.
   ============================================================ */
:root {
  /* ---- Brand: the only two colors that matter ---- */
  --ink:        #141414;   /* the one ink — all marks, all body text */
  --paper:      #fef8f2;   /* warm ivory paper stock — inspired by, distinct from, Apollo's #fef8f3 */

  /* ---- Neutrals (chrome only, NOT brand ink) ---- */
  --ink-60:     #595959;   /* footer / secondary text */
  --rule:       #d8d8d8;   /* hairline */

  /* ---- Semantic aliases ---- */
  --text-body:   var(--ink);
  --text-muted:  var(--ink-60);
  --line:        var(--rule);
}


/* ============================================================
   FOUNDATION 1 · TYPOGRAPHY
   Two faces. Marks in the titling face; everything else in the
   text face.
   ============================================================ */
:root {
  /* The MARKS face — Perpetua Titling MT (sub: Cinzel). True capitals only. */
  --font-mark:  'Cinzel', 'Perpetua Titling MT', Perpetua, Georgia, serif;
  /* The TEXT face — Cambria (sub: Caladea). Everything that is not a mark. */
  --font-text:  'Caladea', Cambria, Georgia, 'Times New Roman', serif;

  /* The "two voices" of a mark: F and 1 FULL, every other letter THREE-QUARTER. */
  --mark-tracking: 0.02em;

  /* Line heights */
  --lh-tight:   1.1;
  --lh-body:    1.55;

  /* Weights */
  --fw-regular: 400;

  /* Tracking */
  --track-foot: 0.20em;   /* uppercase footer */
}


/* ============================================================
   FOUNDATION 1 · GEOMETRY & MOTION
   Square corners, hairline rules, flat. Motion is quiet.
   ============================================================ */
:root {
  --rule-hair:  0.5px;   /* softest hairline */
  --rule-thin:  1px;     /* standard rule */
  --rule-plate: 1.5px;   /* the Plate around a mark */
  --radius:     0;       /* no rounded corners, ever */
  --ease:       cubic-bezier(0.2, 0, 0, 1);
  --dur-quiet:  140ms;
}


/* ===================== PAGE ===================== */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: var(--lh-body);
}

.page {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Full-height column: header at top, statement centered, footer at base */
.site-main {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

/* ---------- Marks (type-driven, two voices) ---------- */
.mark {
  font-family: var(--font-mark);
  letter-spacing: var(--mark-tracking);
  line-height: 1;
  color: var(--ink);
  text-transform: uppercase;
  white-space: nowrap;
}
.mark .full { font-size: 1em; }
.mark .tq   { font-size: 0.75em; }

/* The Plate — the ruled box around the firm's name (the Plaque) */
.plate {
  display: inline-block;
  border: var(--rule-plate) solid var(--ink);
  padding: 0.5em 0.7em;
  line-height: 1;
}

/* ---------- Header — logo pinned to the top-left, every width ----------
   The bar is full-bleed (not the centered .page column), so the logo
   always hugs the left gutter instead of drifting inward on wide screens. */
.site-header { border-bottom: var(--rule-thin) solid var(--ink); }
.site-header .bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 26px 48px 20px;
}
.site-header .brand {
  font-size: 22px;
  text-decoration: none;
}

/* ---------- Login — engraved label, hairline box, upper-right ---------- */
.site-header .login {
  font-family: var(--font-text);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border: var(--rule-thin) solid var(--ink);
  padding: 8px 16px;
  line-height: 1;
  transition: background-color var(--dur-quiet) var(--ease),
              color var(--dur-quiet) var(--ease);
}
.site-header .login:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Hero — centered statement + email ---------- */
.hero {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 0;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
/* The centered Plaque — the page's primary mark */
.hero .hero-mark { font-size: 46px; line-height: 1; }
.hero .statement {
  font-size: 34px;
  line-height: 1.3;
  max-width: 20em;
  text-wrap: pretty;
  margin: 0;
}
.hero .hero-email {
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: var(--rule-thin) solid var(--line);
  padding-bottom: 2px;
  transition: border-color var(--dur-quiet) var(--ease);
}
.hero .hero-email:hover { border-bottom-color: var(--ink); }

/* ---------- Footer — hairline spans the full page width ---------- */
.site-footer { border-top: var(--rule-hair) solid var(--line); }
.site-footer .legal {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 16px 0 26px;
  font-size: 12px;
  letter-spacing: var(--track-foot);
  text-transform: uppercase;
  color: var(--text-muted);
}
.site-footer .legal .sm {
  font-size: 0.7em;
  letter-spacing: 0;
  vertical-align: super;
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .page { padding: 0 24px; }
  .site-header .bar { padding: 22px 24px 18px; }
  .site-header .brand { font-size: 20px; }
  .hero { padding: 64px 0; }
  .hero .hero-mark { font-size: 32px; }
  .hero .statement { font-size: 24px; }
  .hero .hero-email { font-size: 17px; }
}
