@font-face {
  font-family: 'Source Serif 4';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/source-serif-4-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url('/assets/fonts/source-serif-4-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Source Serif 4';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/source-serif-4-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2');
}

:root {
  --ink: #111216;
  --ink-soft: #2B2D33;
  --egg: #F2EDE4;
  --egg-shade: #EBE5D6;
  --terra: #B24A2F;
  --terra-hover: #9A3E26;
  --taupe: #857B6A;
  --rule: #D8D4C8;
  --mute: #6B6B6B;

  --f-display: 'Source Serif 4', Georgia, serif;
  --f-text: 'Source Serif 4', Georgia, serif;
  --f-sans: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--egg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--f-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
}

.meta {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 400;
}

p + p { margin-top: 1em; }

a {
  color: var(--terra);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
a:hover, a:focus-visible { border-bottom-color: var(--terra); }

.skip-link {
  position: absolute; left: -9999px;
  padding: 8px 16px;
  background: var(--ink); color: var(--egg);
  font-family: var(--f-sans); font-size: 14px;
}
.skip-link:focus { left: 16px; top: 16px; z-index: 100; }

.top-accent {
  height: 3px;
  background: var(--terra);
}

/* ============================================================
   NAVIGATION BAR (Option B only)
   ============================================================ */
.nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  background: var(--egg);
}

.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: none;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.nav-brand .bracket {
  color: var(--terra);
  font-size: 22px;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--ink);
  border-bottom: none;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terra);
  transition: width 0.15s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links a:focus-visible::after { width: 100%; }

/* ============================================================
   HOME PAGE
   ============================================================ */
header.home {
  padding: 80px 0 56px;
}

header.home .meta {
  display: block;
  margin-bottom: 20px;
}

.logo {
  max-width: 560px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 40px;
}

.positioning {
  font-family: var(--f-display);
  font-size: 28px;
  line-height: 1.32;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}

.positioning-sub {
  font-family: var(--f-text);
  font-style: italic;
  font-size: 18px;
  color: var(--taupe);
  line-height: 1.45;
}

.about {
  padding: 24px 0 72px;
}

.about p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.tier-signal {
  font-style: italic;
  color: var(--mute);
  font-size: 15px !important;
  line-height: 1.55 !important;
  margin-top: 32px !important;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  max-width: 560px;
}

.rule {
  border: none;
  height: 1px;
  background: var(--rule);
  margin: 0;
}

/* Home page CTAs to subscribe and contact pages */
.home-cta {
  padding: 56px 0 80px;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.cta-card {
  padding: 32px 28px;
  background: var(--egg-shade);
  border-left: 3px solid var(--terra);
}

.cta-card .section-num {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  display: block;
  margin-bottom: 10px;
}

.cta-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-card p {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 18px;
  color: var(--ink-soft);
}

.cta-link {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--terra);
  padding-bottom: 2px;
}

.cta-link:hover, .cta-link:focus-visible {
  color: var(--terra);
  border-bottom-color: var(--terra);
}

/* ============================================================
   FORM PAGES (Option B)
   ============================================================ */
.page-header {
  padding: 80px 0 40px;
  text-align: left;
}

.page-header .section-num {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  display: block;
  margin-bottom: 14px;
}

.page-header h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-header h1::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--terra);
  margin-top: 20px;
}

.page-header .intro {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.55;
  max-width: 560px;
}

.page-body {
  padding-bottom: 80px;
}

/* Form controls */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input[type=text],
input[type=email],
textarea {
  font-family: var(--f-text);
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 10px 2px;
  line-height: 1.4;
  border-radius: 0;
  -webkit-appearance: none;
}

input:focus-visible,
textarea:focus-visible {
  outline: none;
  border-bottom-color: var(--terra);
  border-bottom-width: 2px;
  padding-bottom: 9px;
}

textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--f-text);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

button[type=submit] {
  font-family: var(--f-sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--egg);
  background: var(--ink);
  border: none;
  padding: 14px 28px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.15s ease;
  margin-top: 8px;
}
button[type=submit]:hover,
button[type=submit]:focus-visible {
  background: var(--terra);
  outline: none;
}

.status {
  font-family: var(--f-text);
  font-style: italic;
  font-size: 15px;
  padding: 14px 16px;
  border-left: 3px solid var(--terra);
  background: var(--egg-shade);
  color: var(--ink-soft);
  margin-bottom: 24px;
  display: none;
}
.status.visible { display: block; }
.status.error { border-left-color: #9A3520; }

/* ============================================================
   FOOTER (shared)
   ============================================================ */
footer {
  padding: 72px 0 64px;
  border-top: 1px solid var(--rule);
}

.footer-mono {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--terra);
  margin-bottom: 16px;
  line-height: 1;
}

.footer-contact {
  font-family: var(--f-text);
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 700;
}

.footer-contact-lines {
  font-family: var(--f-sans);
  font-size: 13px;
  color: var(--mute);
  line-height: 1.7;
  margin-bottom: 32px;
}

.footer-contact-lines a { color: var(--mute); }
.footer-contact-lines a:hover { color: var(--terra); border-bottom-color: var(--terra); }

.footer-location {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mute);
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.copyright {
  font-family: var(--f-sans);
  font-size: 11px;
  color: var(--mute);
  margin-top: 6px;
}

@media (max-width: 640px) {
  .container, .container-wide { padding: 0 20px; }
  .nav-inner { padding: 0 20px; gap: 16px; flex-wrap: wrap; }
  .nav-links { gap: 20px; font-size: 11px; }
  header.home { padding: 48px 0 32px; }
  .positioning { font-size: 22px; }
  .cta-grid { grid-template-columns: 1fr; gap: 20px; }
  .page-header { padding: 48px 0 28px; }
  .page-header h1 { font-size: 30px; }
  .footer-mono { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
