:root {
  --ink: #221816;
  --ink-soft: #5d4a43;
  --paper: #f6efdf;
  --paper-light: #fffaf0;
  --paper-deep: #eadcc2;
  --burgundy: #651f2b;
  --burgundy-dark: #42131c;
  --gold: #b08a42;
  --gold-light: #d8bd7a;
  --walnut: #2b1a13;
  --line: rgba(99, 67, 43, .22);
  --shadow: 0 24px 70px rgba(38, 20, 14, .16);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-light);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .7rem 1rem; background: #fff; color: var(--ink); }
.skip-link:focus { top: 1rem; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--paper-light);
  background: rgba(34, 20, 15, .96);
  border-bottom: 1px solid rgba(216, 189, 122, .32);
  backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.wordmark strong { font-family: var(--serif); font-size: 1.44rem; font-weight: 500; letter-spacing: .015em; }
.wordmark span { margin-top: .35rem; color: var(--gold-light); font-size: .58rem; letter-spacing: .38em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.55rem; }
.nav-links a { color: #f8f0e0; text-decoration: none; font-size: .79rem; letter-spacing: .12em; text-transform: uppercase; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold-light); }
.nav-cta { padding: .66rem .95rem; border: 1px solid var(--gold); }
.menu-toggle { display: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); padding: .55rem .75rem; }

.hero {
  min-height: min(770px, calc(100vh - 82px));
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  background: #2d1b13 url("/assets/bold-quill-hero.webp") center / cover no-repeat;
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(25,13,9,.18), rgba(25,13,9,0) 54%, rgba(25,13,9,.12)); }
.hero-copy { width: min(660px, 58%); margin-left: clamp(0rem, 3vw, 3.2rem); padding: 5rem 0; color: var(--ink); text-align: center; }
.eyebrow { margin: 0 0 1rem; color: var(--burgundy); font-size: .73rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(3.6rem, 7vw, 7.5rem); font-weight: 400; line-height: .83; letter-spacing: -.055em; }
.hero h1 .written { display: inline-block; color: var(--burgundy); font-family: "Snell Roundhand", "Segoe Script", "Brush Script MT", cursive; font-weight: 400; letter-spacing: -.035em; clip-path: inset(0 100% 0 0); animation: write-in 1.6s .35s ease-out forwards; }
.hero h1 small { display: block; margin-top: 1.2rem; font-family: var(--sans); font-size: clamp(.72rem, 1.1vw, 1rem); font-weight: 600; letter-spacing: .52em; text-transform: uppercase; }
.hero-tagline { max-width: 520px; margin: 2rem auto 0; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.65rem); font-style: italic; }
.hero-actions { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-top: 2.2rem; }
@keyframes write-in { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero h1 .written { animation: none; clip-path: none; } }

.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .72rem 1.2rem; border: 1px solid var(--burgundy); background: var(--burgundy); color: #fff9ed; text-decoration: none; font-size: .73rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { background: var(--burgundy-dark); transform: translateY(-1px); }
.button.secondary { background: rgba(255,250,240,.76); color: var(--burgundy); }
.button.secondary:hover { background: #fffaf0; }
.button.gold { border-color: var(--gold-light); background: transparent; color: var(--gold-light); }

.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section.paper { background: var(--paper); }
.section.dark { background: var(--walnut); color: #f9f0df; }
.section-rule { width: 80px; height: 1px; margin: 1.5rem auto; background: var(--gold); }
.section-heading { max-width: 820px; margin: 0 auto 3rem; text-align: center; }
.section-heading h2, .page-intro h1 { margin: 0; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; }
.section-heading p { max-width: 650px; margin: 1.2rem auto 0; color: var(--ink-soft); }
.dark .section-heading p { color: #d7cabb; }
.lede { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.55; }
.center { text-align: center; }

.manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.manifesto h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 400; line-height: 1.04; }
.manifesto p:last-child { margin-bottom: 0; }
.ornament { display: flex; align-items: center; gap: .8rem; color: var(--gold); margin: 1.2rem 0; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 54px; background: currentColor; }
.ornament span { transform: rotate(45deg); width: 8px; height: 8px; border: 1px solid currentColor; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle { padding: 2.3rem; text-align: center; }
.principle + .principle { border-left: 1px solid var(--line); }
.principle .number { color: var(--gold); font-family: var(--serif); font-size: .9rem; letter-spacing: .18em; }
.principle h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; margin: .55rem 0; }
.principle p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.feature-grid { display: grid; grid-template-columns: minmax(260px, 410px) 1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.book-frame { width: min(100%, 360px); padding: clamp(.8rem, 1.5vw, 1.2rem); background: #eee2ca; border: 1px solid rgba(176,138,66,.46); box-shadow: var(--shadow); }
.book-frame img { display: block; width: 100%; height: auto !important; aspect-ratio: auto !important; object-fit: contain !important; }
.feature-copy h2, .feature-copy h1 { margin: 0 0 1rem; font-family: var(--serif); font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1; font-weight: 400; }
.feature-copy h3 { margin: 1.5rem 0 .55rem; color: var(--burgundy); font-family: var(--serif); font-size: 1.65rem; font-weight: 400; }
.feature-copy .byline { color: var(--gold); font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.feature-copy .buttons { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.badge { display: inline-block; margin-bottom: 1.2rem; padding: .46rem .7rem; border: 1px solid var(--gold); color: var(--burgundy); font-family: var(--serif); font-size: .9rem; letter-spacing: .06em; }

.page-hero { padding: clamp(5rem, 9vw, 8.5rem) 0; color: #f9f1e1; background: linear-gradient(105deg, rgba(40,21,15,.96), rgba(75,33,29,.9)), url("/assets/bold-quill-hero.webp") center 53% / cover; }
.page-intro { max-width: 820px; }
.page-intro .eyebrow { color: var(--gold-light); }
.page-intro p { max-width: 700px; margin: 1.5rem 0 0; color: #e6d8c6; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.55rem); }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; }
.prose h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-top: 0; }
.prose h3 { margin-top: 2rem; font-size: 1.55rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose a:not(.button) { color: var(--burgundy); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.pullquote { margin: 0; padding: 2.3rem; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); color: var(--burgundy); font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.35; }

.news-card { max-width: 820px; margin: 0 auto; padding: clamp(2rem, 4vw, 3.4rem); background: #fffaf0; border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(38,20,14,.08); }
.news-card time { color: var(--gold); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.news-card h2 { margin: .7rem 0 1rem; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; line-height: 1.12; }

.form-wrap { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-panel { padding: 2rem; background: var(--walnut); color: #f8efde; }
.contact-panel h2 { margin-top: 0; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.contact-panel p { color: #d9ccbb; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field.full { grid-column: 1 / -1; }
label { display: block; margin-bottom: .42rem; color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
input, select, textarea { width: 100%; padding: .86rem .95rem; border: 1px solid #bfae91; border-radius: 0; background: #fffcf5; color: var(--ink); }
textarea { min-height: 170px; resize: vertical; }
.fine-print { color: var(--ink-soft); font-size: .82rem; }
.hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px,1px,1px,1px) !important; white-space: nowrap !important; }

.site-footer { padding: 4rem 0 2rem; background: #21130e; color: #f8efdf; border-top: 1px solid rgba(216,189,122,.35); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
.footer-note { max-width: 420px; color: #cdbfae; }
.footer-title { color: var(--gold-light); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.footer-links { display: grid; gap: .45rem; margin-top: .9rem; }
.footer-links a { color: #e8dccb; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--gold-light); }
.copyright { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); color: #aa9b8c; font-size: .78rem; display: flex; justify-content: space-between; gap: 1rem; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 82px; padding: 1.3rem 20px 1.6rem; background: #25150f; flex-direction: column; align-items: stretch; gap: .2rem; border-top: 1px solid rgba(216,189,122,.25); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .7rem 0; }
  .nav-cta { border: 0; }
  .hero { min-height: 720px; background-position: 62% center; align-items: end; }
  .hero::after { background: linear-gradient(0deg, rgba(246,239,223,.96) 0, rgba(246,239,223,.7) 52%, rgba(24,12,8,.05) 100%); }
  .hero-copy { width: 100%; margin: 0; padding: 13rem 1rem 3.7rem; }
  .manifesto, .feature-grid, .two-column, .form-wrap { grid-template-columns: 1fr; }
  .feature-grid { max-width: 690px; margin-inline: auto; }
  .book-frame { max-width: 360px; margin-inline: auto; }
  .principles { grid-template-columns: 1fr; }
  .principle + .principle { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .shell, .narrow { width: min(100% - 28px, 1160px); }
  .wordmark strong { font-size: 1.15rem; }
  .hero { min-height: 650px; }
  .hero h1 { font-size: clamp(3.2rem, 18vw, 5.2rem); }
  .hero h1 small { letter-spacing: .4em; }
  .button { width: 100%; }
  .field-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .copyright { flex-direction: column; }
}

