/* ==========================================================================
   DemetricAGould.com · Site styles
   Brand: Demetric A. Gould Personal Identity System v1.2 (Classic register)
   ========================================================================== */

/* Fonts (SIL Open Font License, self-hosted from the brand kit) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic-variable-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Chakra Petch";
  src: url("../fonts/chakra-petch-regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Brand tokens ---------------------------------------------------------- */
:root {
  --navy: #0F1E36;        /* Gould Navy · primary */
  --gold: #B8924A;        /* Signature Gold · accent on light */
  --gold-light: #CDAA62;  /* Gold Light · accent on dark */
  --ink: #14181F;         /* Ink · text */
  --bone: #F6F3EC;        /* Bone · background */
  --slate: #3A4150;       /* body copy on bone */
  --muted: #5A6272;       /* labels on bone (5.6:1) */

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-classic: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-label: "Chakra Petch", "Inter", system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); }
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
::selection { background: var(--navy); color: var(--bone); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--bone);
  z-index: 10;
}
.skip-link:focus { left: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* Header ---------------------------------------------------------------- */
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: clamp(24px, 4vw, 36px);
}
.site-header__logo { display: inline-block; line-height: 0; }
.site-header__logo img { width: 200px; }   /* brand minimum: 180 px */
.label-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-label);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
}
.label-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }

/* Hero ------------------------------------------------------------------ */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(24px, 4vw, 36px);
  padding: clamp(64px, 11vw, 128px) var(--gutter) clamp(80px, 12vw, 144px);
}
.eyebrow {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0;
  row-gap: 6px;
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__sep { white-space: pre; }
.hero__name { margin: 0; line-height: 0; }
.hero__name img { width: min(760px, 88vw); }

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
}
.divider__rule { width: clamp(64px, 12vw, 120px); height: 1px; background: var(--gold); }
.divider__diamond { width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }

.hero__bio {
  margin: 0;
  max-width: 620px;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.7;
  color: var(--slate);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-top: 8px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid var(--navy);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.button svg { width: 16px; height: 16px; flex: none; }
.button--primary { background: var(--navy); color: var(--bone); font-weight: 600; }
.button--primary:hover { background: var(--ink); border-color: var(--ink); }
.button--secondary { background: transparent; color: var(--navy); }
.button--secondary:hover { background: var(--navy); color: var(--bone); }

/* Statement band -------------------------------------------------------- */
.band { background: var(--navy); color: var(--bone); }
.band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
  padding-block: clamp(40px, 6vw, 56px);
}
.band__statement {
  margin: 0;
  max-width: 640px;
  font-family: var(--font-classic);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.3;
}
.band__email {
  font-family: var(--font-label);
  font-size: clamp(16px, 1.8vw, 18px);
  letter-spacing: 0.04em;
  color: var(--gold-light);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.band__email:hover { color: var(--bone); text-decoration: underline; text-underline-offset: 6px; }
.band a:focus-visible { outline-color: var(--gold-light); }

/* Footer ---------------------------------------------------------------- */
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 28px 36px;
  font-size: 13px;
  color: var(--muted);
}
.site-footer p { margin: 0; }

/* 404 ------------------------------------------------------------------- */
.hero--error .hero__title {
  margin: 0;
  font-family: var(--font-classic);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.1;
  color: var(--navy);
}

@media (max-width: 560px) {
  .eyebrow { flex-direction: column; align-items: center; }
  .eyebrow__sep { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Screen-reader-only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
