:root {
  --ink: #15110e;
  --ink-2: #241713;
  --paper: #fbf2df;
  --paper-2: #ead9b7;
  --gold: #d8b861;
  --red: #a82436;
  --ember: #e05535;
  --teal: #2b756d;
  --mint: #4fa394;
  --green: #315a36;
  --line: rgba(21, 17, 14, 0.16);
  --light-line: rgba(248, 234, 208, 0.2);
  --shadow: 0 22px 70px rgba(21, 17, 14, 0.18);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  min-width: 320px;
}

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

a {
  color: inherit;
}

button,
summary {
  font: inherit;
}

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

.skip-link:focus {
  z-index: 30;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.7rem 1rem;
  clip: auto;
  color: var(--paper);
  background: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(21, 17, 14, 0.86);
  border-bottom: 1px solid var(--light-line);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  flex: 0 0 44px;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--paper);
}

.nav-menu a {
  min-height: 42px;
  padding: 0.68rem 0.85rem;
  border-radius: 6px;
  color: rgba(251, 242, 223, 0.78);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-active {
  color: var(--paper);
  background: rgba(248, 234, 208, 0.12);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--light-line);
  border-radius: 6px;
  color: var(--paper);
  background: rgba(248, 234, 208, 0.08);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

.hero {
  position: relative;
  min-height: clamp(620px, 86vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(21, 17, 14, 0.96) 0%, rgba(21, 17, 14, 0.7) 44%, rgba(21, 17, 14, 0.34) 100%),
    linear-gradient(0deg, rgba(21, 17, 14, 0.58), rgba(21, 17, 14, 0.04) 42%);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 7rem 0 5.5rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  max-width: 800px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.45rem, 8.6vw, 7.8rem);
}

h2 {
  max-width: 850px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.05rem, 4.7vw, 4.25rem);
}

h3 {
  font-size: 1.45rem;
}

.hero-copy {
  max-width: 690px;
  margin: 1.35rem 0 0;
  color: rgba(251, 242, 223, 0.84);
  font-size: clamp(1.08rem, 2.3vw, 1.38rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 900;
}

.button.primary {
  color: var(--ink);
  background: var(--gold);
}

.button.secondary {
  color: var(--paper);
  border-color: var(--light-line);
  background: rgba(248, 234, 208, 0.08);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 170px));
  gap: 0.8rem;
  max-width: 610px;
  margin: 2.4rem 0 0;
}

.hero-facts div {
  min-height: 92px;
  padding: 1rem;
  border: 1px solid var(--light-line);
  border-radius: 8px;
  background: rgba(21, 17, 14, 0.44);
}

.hero-facts dt {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0.35rem 0 0;
  color: var(--paper);
  font-size: 1.02rem;
  font-weight: 900;
}

.intro-band {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding: 2.1rem 0;
}

.intro-grid p {
  margin: 0;
  color: rgba(251, 242, 223, 0.82);
  font-size: 1.02rem;
}

.section {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.section-ink {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(168, 36, 54, 0.1), transparent 38%),
    var(--ink);
}

.section-paper {
  background: #f5e6c8;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2 {
  color: inherit;
}

.college-layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.college-tabs {
  display: grid;
  gap: 0.7rem;
}

.college-tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 56px;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.college-tab.is-active,
.college-tab:hover,
.college-tab:focus-visible {
  border-color: rgba(21, 17, 14, 0.42);
  background: var(--ink);
  color: var(--paper);
  outline: none;
}

.college-swatch {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
}

.silverquill {
  background: linear-gradient(135deg, #f7f0df 0 50%, #25201b 50% 100%);
}

.prismari {
  background: linear-gradient(135deg, #326bb6 0 50%, #e05535 50% 100%);
}

.witherbloom {
  background: linear-gradient(135deg, #23351f 0 50%, #7a2b36 50% 100%);
}

.lorehold {
  background: linear-gradient(135deg, #e6d0a4 0 50%, #b9442a 50% 100%);
}

.quandrix {
  background: linear-gradient(135deg, #2b756d 0 50%, #315a36 50% 100%);
}

.college-panel {
  min-height: 360px;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(216, 184, 97, 0.22), transparent 42%),
    #fff8e9;
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.college-panel-header {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.panel-label {
  margin: 0;
  color: var(--red);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.college-panel h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7vw, 6.3rem);
}

.college-panel p:not(.panel-label) {
  max-width: 680px;
  margin: 1.3rem 0 0;
  font-size: 1.16rem;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0;
  margin: 1.75rem 0 0;
  list-style: none;
}

.signal-list li {
  padding: 0.5rem 0.72rem;
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-card,
.note-grid article,
.timeline article {
  border-radius: 8px;
}

.product-card {
  min-height: 222px;
  padding: 1.25rem;
  border: 1px solid var(--light-line);
  background: rgba(251, 242, 223, 0.08);
}

.product-card h3,
.note-grid h3,
.timeline h3 {
  margin-top: 0.45rem;
  line-height: 1.16;
}

.product-card p,
.note-grid p,
.timeline p {
  margin: 0.85rem 0 0;
}

.product-card p:not(.card-kicker) {
  color: rgba(251, 242, 223, 0.76);
}

.card-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline article {
  position: relative;
  min-height: 154px;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.timeline article::before {
  content: "";
  position: absolute;
  inset: 1.25rem auto 1.25rem 0;
  width: 5px;
  background: var(--red);
}

.timeline time {
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.note-grid article {
  min-height: 248px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.38);
}

.note-grid article:nth-child(1) {
  border-top: 6px solid var(--red);
}

.note-grid article:nth-child(2) {
  border-top: 6px solid var(--teal);
}

.note-grid article:nth-child(3) {
  border-top: 6px solid var(--ember);
}

.note-grid article:nth-child(4) {
  border-top: 6px solid var(--green);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 2rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.42);
}

summary {
  min-height: 58px;
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 1.1rem 1rem;
}

.site-footer {
  color: var(--paper);
  background: var(--ink);
  border-top: 1px solid var(--light-line);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.footer-inner img {
  width: min(320px, 100%);
  height: auto;
}

.footer-inner p {
  max-width: 650px;
  margin: 1rem 0 0;
  color: rgba(251, 242, 223, 0.72);
}

.footer-inner nav {
  display: grid;
  gap: 0.65rem;
  min-width: 260px;
}

.footer-inner a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 0.75rem;
    border: 1px solid var(--light-line);
    border-radius: 8px;
    background: rgba(21, 17, 14, 0.97);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
  }

  .nav-menu.is-open {
    display: grid;
  }

  .nav-menu a {
    width: 100%;
  }

  .hero {
    min-height: 760px;
  }

  .hero::after {
    background:
      linear-gradient(0deg, rgba(21, 17, 14, 0.94) 0%, rgba(21, 17, 14, 0.58) 58%, rgba(21, 17, 14, 0.28) 100%),
      linear-gradient(90deg, rgba(21, 17, 14, 0.75), rgba(21, 17, 14, 0.32));
  }

  .hero-media img {
    object-position: 58% 50%;
  }

  .hero-content {
    align-self: end;
    padding-top: 7rem;
  }

  .intro-grid,
  .college-layout,
  .split-section,
  .faq-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .note-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .nav {
    width: min(100% - 24px, 1180px);
  }

  .brand span {
    max-width: 190px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content,
  .section-inner,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .hero-actions,
  .hero-facts {
    grid-template-columns: 1fr;
  }

  .button,
  .hero-actions a {
    width: 100%;
  }

  .hero-facts {
    display: grid;
  }

  .hero-facts div {
    min-height: 80px;
  }

  .product-grid,
  .note-grid {
    grid-template-columns: 1fr;
  }

  .college-panel {
    min-height: 330px;
  }

  .college-tabs {
    grid-template-columns: 1fr;
  }
}
