:root {
  --ink: #11120f;
  --charcoal: #1a1b17;
  --charcoal-soft: #262821;
  --tan: #d4b589;
  --tan-pale: #eddfc9;
  --paper: #f7f0e5;
  --orange: #ed6729;
  --orange-deep: #bd4317;
  --muted-dark: #57564e;
  --line-dark: rgba(17, 18, 15, 0.22);
  --line-light: rgba(247, 240, 229, 0.22);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

button,
input { font: inherit; }

a { color: inherit; }

img { display: block; max-width: 100%; }

::selection { background: var(--orange); color: var(--ink); }

.page-frame { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -100px;
  padding: 12px 16px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--tan);
  color: var(--ink);
  border-bottom: 1px solid rgba(17, 18, 15, 0.18);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  width: min(1320px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  color: inherit;
  line-height: 0.88;
  text-decoration: none;
}

.wordmark-kicker {
  margin: 0 0 4px 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wordmark-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.07em;
}

.wordmark-dot { color: var(--orange-deep); }

.primary-nav { display: flex; align-items: center; gap: 28px; }

.primary-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--orange-deep);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.header-stamp {
  justify-self: end;
  padding: 6px 10px;
  border: 1px solid var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
}

.hero { overflow: hidden; background: var(--charcoal); }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(320px, 0.93fr);
  gap: clamp(42px, 8vw, 130px);
  align-items: center;
  min-height: 686px;
  padding-top: 86px;
  padding-bottom: 72px;
}

.hero-copy { position: relative; z-index: 1; padding: 28px 0; }

.eyebrow,
.display-overline,
.book-type,
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow { display: flex; gap: 12px; margin: 0 0 26px; color: var(--tan); }

.eyebrow span { color: var(--orange); }

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 { font-family: var(--font-display); font-weight: 600; }

h1 {
  max-width: 750px;
  margin-bottom: 28px;
  font-size: clamp(3.5rem, 6.5vw, 6.45rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

h1 em,
h3 em { color: var(--orange); font-style: normal; }

.hero-summary {
  max-width: 530px;
  margin-bottom: 36px;
  color: var(--tan-pale);
  font-size: 18px;
  line-height: 1.55;
}

.primary-button {
  display: inline-flex;
  gap: 34px;
  align-items: center;
  padding: 15px 18px 15px 20px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible { background: transparent; color: var(--orange); transform: translateY(-2px); }

.hero-portrait { position: relative; margin: 0; }

.hero-portrait::before {
  position: absolute;
  top: -28px;
  right: -28px;
  bottom: 28px;
  left: 28px;
  border: 1px solid var(--orange);
  content: "";
}

.portrait-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--tan);
  aspect-ratio: 0.86;
  clip-path: polygon(0 0, 92% 0, 100% 8%, 100% 100%, 8% 100%, 0 92%);
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(17, 18, 15, 0.42));
  content: "";
  pointer-events: none;
}

.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.hero-portrait figcaption {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
  color: var(--tan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.portrait-line { width: 34px; height: 1px; background: var(--orange); }

.hero-baseline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 17px 0;
  border-top: 1px solid var(--line-light);
  color: rgba(247, 240, 229, 0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-tan { background: var(--tan); color: var(--ink); }

.section-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; }

.about { padding: clamp(80px, 12vw, 164px) 0; }

.section-label {
  display: flex;
  gap: 14px;
  align-items: center;
  align-self: start;
  padding-top: 12px;
  color: rgba(17, 18, 15, 0.66);
}

.section-label span:first-child { color: var(--orange-deep); }

.section-content { max-width: 800px; }

.display-overline { margin-bottom: 15px; color: var(--orange-deep); }

.display-overline-orange { color: var(--orange); }

.section-content h2,
.mission-copy h2,
.connect h2 {
  margin-bottom: 28px;
  font-size: clamp(2.45rem, 4.2vw, 4.65rem);
  line-height: 1.03;
  letter-spacing: -0.065em;
}

.body-large { max-width: 730px; font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.65; }

.about-notes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 42px; }

.about-notes span {
  padding: 8px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}

.section-dark { background: var(--ink); color: var(--paper); }

.books { padding: clamp(84px, 11vw, 142px) 0; }

.section-heading { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; margin-bottom: 60px; }

.section-label-light { color: rgba(247, 240, 229, 0.62); }

.section-label-light span:first-child { color: var(--orange); }

.books-heading h2 { margin-bottom: 16px; font-size: clamp(2.65rem, 5vw, 5.35rem); line-height: 0.98; letter-spacing: -0.07em; }

.section-intro { max-width: 580px; margin-bottom: 0; color: var(--tan); font-size: 17px; }

.book-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 22px; }

.book-card { display: flex; flex-direction: column; min-width: 0; }

.book-cover-link { display: block; color: inherit; text-decoration: none; }

.book-cover {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(247, 240, 229, 0.24);
  background: var(--charcoal-soft);
  aspect-ratio: 9 / 14.5;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 240ms ease;
}

.book-cover-link:hover img,
.book-cover-link:focus-visible img { transform: scale(1.035); }

.book-cover-upcoming {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-color: var(--orange);
  background: linear-gradient(145deg, var(--charcoal-soft), #0c0d0b);
  color: var(--orange);
}

.upcoming-number { font-family: var(--font-display); font-size: 14px; }

.upcoming-title { font-family: var(--font-display); font-size: clamp(2rem, 3vw, 3.1rem); font-style: italic; line-height: 0.92; letter-spacing: -0.06em; }

.upcoming-status { align-self: flex-start; padding: 6px 9px; border: 1px solid currentColor; font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.book-details { display: flex; flex: 1; flex-direction: column; padding: 19px 2px 0; }

.book-type { margin-bottom: 8px; color: var(--orange); font-size: 9px; }

.book-details h3 { min-height: 112px; margin-bottom: 13px; font-size: clamp(1.45rem, 1.6vw, 1.82rem); line-height: 1.03; letter-spacing: -0.045em; }

.book-subtitle { display: block; margin-top: 5px; color: var(--tan); font-size: 0.73em; font-style: italic; line-height: 1.15; }

.book-placeholder { margin-bottom: 19px; color: var(--tan); font-size: 13px; line-height: 1.55; }

.book-placeholder strong { color: var(--paper); }

.book-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding: 10px 12px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.book-link:hover,
.book-link:focus-visible { background: transparent; color: var(--orange); transform: translateY(-2px); }

.book-link-disabled,
.book-link-disabled:hover,
.book-link-disabled:focus-visible { border-color: rgba(237, 103, 41, 0.34); background: transparent; color: rgba(247, 240, 229, 0.5); cursor: not-allowed; transform: none; }

.mission { background: var(--orange); color: var(--ink); padding: clamp(78px, 10vw, 128px) 0; }

.mission-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; }

.mission-seal { display: flex; flex-direction: column; justify-content: center; width: 145px; height: 145px; border: 1px solid var(--ink); border-radius: 50%; padding: 23px; font-family: var(--font-display); font-size: 24px; line-height: 0.88; letter-spacing: -0.06em; transform: rotate(-8deg); }

.mission-seal span:nth-child(2) { margin-left: 18px; }
.mission-seal span:nth-child(3) { margin-left: 2px; font-style: italic; }

.mission-copy { max-width: 850px; }

.mission-copy .display-overline { color: var(--ink); }

.mission-copy h2 { margin-bottom: 27px; }

.mission-copy p:last-child { max-width: 680px; margin-bottom: 0; font-size: 18px; line-height: 1.6; }

.connect { padding: clamp(84px, 11vw, 144px) 0; }

.connect-layout { display: grid; grid-template-columns: minmax(0, 1.07fr) minmax(360px, 0.93fr); gap: clamp(42px, 9vw, 130px); align-items: center; }

.connect .section-label { margin-bottom: 51px; padding-top: 0; }
.connect h2 { max-width: 600px; }
.connect .body-large { max-width: 590px; }

.signup-card { padding: clamp(26px, 4vw, 42px); border: 1px solid var(--line-dark); background: var(--paper); box-shadow: 10px 10px 0 var(--orange); }

.signup-card label { display: block; margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }

.signup-fields { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--ink); }

.signup-fields input { min-width: 0; padding: 13px 2px; border: 0; outline: 0; background: transparent; color: var(--ink); }

.signup-fields input::placeholder { color: rgba(17, 18, 15, 0.48); }

.signup-fields input:disabled { opacity: 1; cursor: not-allowed; }

.signup-fields button { padding: 10px 0 10px 20px; border: 0; background: transparent; color: var(--muted-dark); cursor: not-allowed; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.signup-note { margin: 18px 0 0; color: var(--orange-deep); font-size: 12px; font-weight: 700; line-height: 1.45; }

.form-messages { min-height: 18px; margin-top: 14px; }
.form-message { margin: 0; font-size: 12px; }
.form-message-neutral { color: var(--muted-dark); }
.form-message-success { color: #2c661b; }
.form-message-error { color: #9d1e12; }

.privacy-copy { margin: 18px 0 0; color: var(--muted-dark); font-size: 11px; line-height: 1.5; }

.placeholder-link { color: currentColor; opacity: 0.68; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; cursor: not-allowed; }

.site-footer { background: var(--charcoal); color: var(--tan-pale); }

.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-top: 56px; padding-bottom: 50px; }

.wordmark-footer { color: var(--paper); }

.footer-contact p { margin-bottom: 6px; color: var(--paper); font-family: var(--font-display); font-size: 20px; }

.footer-socials { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 10px 20px; font-size: 12px; }

.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid var(--line-light); color: rgba(237, 223, 201, 0.64); font-size: 11px; }

.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--tan); text-decoration: none; }
.footer-bottom a:hover, .footer-bottom a:focus-visible { color: var(--orange); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

@media (max-width: 1080px) {
  .book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
  .book-details h3 { min-height: 0; }
}

@media (max-width: 760px) {
  .page-frame { width: min(100% - 40px, 640px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 16px; width: min(100% - 40px, 640px); min-height: 84px; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 0; padding: 0 0 14px; }
  .header-stamp { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 32px; padding-top: 60px; padding-bottom: 46px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(3.1rem, 15vw, 5.5rem); }
  .hero-portrait { width: min(100%, 480px); }
  .hero-baseline { width: min(100% - 40px, 640px); font-size: 9px; }
  .hero-baseline span:nth-child(2) { display: none; }
  .section-grid, .section-heading, .mission-layout, .connect-layout { grid-template-columns: 1fr; gap: 28px; }
  .about, .books, .connect { padding-top: 76px; padding-bottom: 76px; }
  .section-label { padding-top: 0; }
  .section-content h2, .mission-copy h2, .connect h2 { font-size: clamp(2.4rem, 11vw, 4rem); }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; }
  .book-cover { min-height: 238px; }
  .cover-placeholder { font-size: 19px; }
  .mission-seal { width: 124px; height: 124px; font-size: 20px; }
  .connect .section-label { margin-bottom: 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-top: 42px; padding-bottom: 36px; }
  .footer-bottom { flex-direction: column; padding-top: 18px; }
}

@media (max-width: 460px) {
  .page-frame, .header-inner, .hero-baseline { width: min(100% - 32px, 640px); }
  .primary-nav { font-size: 11px; }
  .primary-nav a { font-size: 11px; }
  .hero-summary { font-size: 16px; }
  .book-grid { grid-template-columns: 1fr; gap: 38px; }
  .book-cover { min-height: 330px; }
  .signup-fields { grid-template-columns: 1fr; }
  .signup-fields button { padding: 12px 0; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
