@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/lora-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/lora-italic-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/assets/fonts/source-sans-3-latin.woff2') format('woff2');
}

:root {
  --paper: #f7f1e3;
  --paper-deep: #eadcbf;
  --ink: #24190f;
  --muted: #584b3e;
  --primary: #6e1f2b;
  --primary-hover: #501620;
  --secondary: #173f54;
  --success: #234a39;
  --gold: #b58a32;
  --gold-light: #e0bd65;
  --line: #cdbb94;
  --link: #173f54;
  --content: 1188px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.62;
}

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

a {
  color: var(--link);
  font-weight: 600;
  text-underline-offset: 2px;
}

p {
  margin: 0 0 12px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: -120px;
  left: 8px;
  padding: 8px 12px;
  transform: none;
  background: #fff;
  color: #000;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 8px;
}

.promo-bar {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #fff;
  background: var(--secondary);
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.promo-bar a {
  min-width: 160px;
  padding: 7px 18px;
  border: 0;
  color: var(--gold-light);
  text-align: center;
  text-decoration: none;
}

.hero {
  position: relative;
  height: 570px;
  overflow: hidden;
  color: #fff;
  background-color: var(--ink);
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: '';
  background: linear-gradient(90deg, rgba(36, 25, 15, .94) 0%, rgba(36, 25, 15, .78) 48%, rgba(36, 25, 15, .48) 100%);
  pointer-events: none;
}

.hero--support::before {
  background: linear-gradient(90deg, rgba(24, 18, 12, .96) 0%, rgba(24, 18, 12, .86) 58%, rgba(24, 18, 12, .6) 100%);
}

.hero--utility {
  height: 340px;
}

.hero--utility .hero-copy--compact {
  margin-top: 42px;
}

.hero-background,
.hero-background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-background {
  z-index: 0;
}

.hero-background img {
  object-fit: cover;
  object-position: center;
}

.site-nav {
  position: relative;
  z-index: 5;
  height: 82px;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: 0;
  border-bottom: 1px solid rgba(224, 189, 101, .44);
  font-family: 'Source Sans 3', Arial, sans-serif;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: auto;
}

.nav-links a {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--gold-light);
  text-decoration: none;
}

.contact-link {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 21px;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 25px;
  cursor: pointer;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--content));
  max-width: var(--content);
  margin: 70px auto 0;
  padding-right: min(43vw, 500px);
}

.hero-copy--compact {
  margin-top: 88px;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 10px;
  color: var(--gold-light);
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--primary);
}

.hero-title {
  margin: 0;
  color: #fff;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(46px, 5.1vw, 68px);
  font-weight: 700;
  line-height: .98;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}

.hero-lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--paper);
  font-size: 19px;
  line-height: 1.5;
}

.hero-actions,
.centered-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 27px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button--primary {
  color: #fff;
  background: var(--primary);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--primary-hover);
}

.button--secondary {
  border-color: var(--secondary);
  color: #fff;
  background: var(--secondary);
}

.button--ghost {
  border-color: var(--gold-light);
  color: #fff;
  background: rgba(36, 25, 15, .3);
}

.hero-credit {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 12px;
  padding: 3px 6px;
  color: rgba(255, 255, 255, .9);
  background: rgba(36, 25, 15, .62);
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.content {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 48px 0 0;
}

.content--narrow {
  width: min(calc(100% - 40px), 1040px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: #666;
  font-size: 14px;
}

.breadcrumbs a {
  font-weight: 500;
}

.answer-card {
  margin: 4px 0 28px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  background: var(--paper-deep);
}

.answer-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 20px;
}

.answer-card p:last-child {
  margin-bottom: 0;
}

.editorial-note,
.sources {
  color: #595959;
  font-size: 14px;
}

.sources {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid #d7d7d7;
}

h1,
h2,
h3 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

h2 {
  margin: 15px 0 22px;
  font-size: 39px;
  line-height: 1.05;
  text-align: left;
}

h3 {
  margin: 14px 0 18px;
  font-size: 27px;
  line-height: 1.2;
  text-align: left;
}

.lead {
  font-size: 20px;
  text-align: center;
}

.center {
  text-align: center;
}

.intro-image {
  width: 380px;
  height: auto;
  margin: -8px auto 16px;
}

.button-bar {
  display: flex;
  width: max-content;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin: 28px auto;
  padding: 11px 22px;
  border-radius: 3px;
  color: #fff;
  background: var(--primary);
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.button-bar:hover,
.button-bar:focus-visible {
  background: var(--primary-hover);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--primary);
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.intro-manuscript {
  display: grid;
  grid-template-columns: minmax(280px, 440px) 1fr;
  gap: 68px;
  align-items: center;
  margin-bottom: 70px;
}

.intro-manuscript figure {
  margin: 0;
  padding: 13px;
  border: 1px solid var(--gold);
  background: #fffaf0;
  box-shadow: 0 18px 50px rgba(36, 25, 15, .12);
}

.intro-manuscript .intro-image {
  width: 100%;
  max-height: 530px;
  margin: 0;
  object-fit: cover;
  object-position: top;
}

figcaption {
  padding-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.benefits,
.support-ways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 50px 0 70px;
}

.section-heading {
  grid-column: 1 / -1;
  max-width: 760px;
}

.benefits article,
.support-ways article {
  padding: 29px 26px;
  border-top: 3px solid var(--gold);
  background: var(--paper-deep);
}

.benefits h3,
.support-ways h3 {
  margin: 12px 0 8px;
}

.ornament {
  display: inline-grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--primary);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
}

.manuscript-section {
  margin: 0 calc(50% - 50vw);
  padding-right: max(20px, calc(50vw - var(--content) / 2));
  padding-left: max(20px, calc(50vw - var(--content) / 2));
}

.manuscript-section:nth-of-type(even) {
  background: rgba(234, 220, 191, .46);
}

.orientation {
  margin: 64px 0 20px;
  padding: 48px;
  border: 1px solid var(--gold);
  background: var(--secondary);
  color: var(--paper);
  text-align: center;
}

.orientation h2,
.orientation .section-kicker {
  color: var(--paper);
  text-align: center;
}

.orientation .section-kicker {
  color: var(--gold-light);
}

.orientation p:not(.section-kicker) {
  max-width: 780px;
  margin: 0 auto 24px;
}

.role-label {
  margin: -6px 0 16px;
  color: var(--primary);
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.action-reminder {
  display: flex;
  width: max-content;
  margin: 18px auto 34px;
}

.centered-actions {
  justify-content: center;
}

.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  min-height: 380px;
  padding: 20px 0 30px;
}

.home-split + .home-split {
  border-top: 2px solid var(--line);
}

.latin-card {
  min-height: 175px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px;
  border: 1px solid var(--gold);
  background: var(--paper-deep);
  text-align: center;
}

.latin-card strong {
  font-size: 32px;
  font-variant: small-caps;
  letter-spacing: .04em;
}

.check-list,
.cross-list,
.plain-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.cross-list li,
.plain-list li {
  margin: 8px 0;
}

.check-list li::before { content: '◆'; margin-right: 9px; color: var(--success); font-size: 12px; }
.cross-list li::before { content: '×'; margin-right: 9px; color: var(--primary); font-weight: 700; }
.plain-list li::before { content: '›'; margin-right: 9px; color: var(--gold); font-weight: 700; }

.rule {
  margin: 25px 0;
  border: 0;
  border-top: 2px solid var(--line);
}

.team-list {
  display: grid;
  gap: 54px;
}

.team-entry {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: start;
}

.team-entry + .team-entry {
  padding-top: 44px;
  border-top: 1px solid #d7d7d7;
}

.site-preview {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--gold);
  background: var(--paper-deep);
  box-shadow: 0 12px 28px rgba(36, 25, 15, .11);
}

.site-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .25s ease;
}

.site-preview:hover img {
  transform: scale(1.02);
}

.image-label {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 7px;
  color: var(--paper);
  background: rgba(36, 25, 15, .82);
  font-family: 'Source Sans 3', Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
}

.team-entry h2 {
  margin-top: 12px;
  font-size: 32px;
  text-align: left;
}

.domain-link {
  display: block;
  margin-top: 18px;
  text-align: center;
}

.method-section {
  margin-bottom: 38px;
  padding: 28px 0;
}

.method-with-book {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 28px;
  align-items: center;
}

.method-with-book img {
  width: 230px;
  max-height: 320px;
  margin: 0 auto;
  border: 1px solid var(--gold);
  object-fit: cover;
  object-position: top;
}

.wide-media {
  width: min(100%, 1185px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 24px auto;
  border: 1px solid #ddd;
}

.wide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.video-link {
  position: relative;
  display: block;
}

.course-intro {
  max-width: 1040px;
  margin: 0 auto;
  font-size: 21px;
  text-align: center;
}

.course-section {
  padding: 28px 0 12px;
}

.course-section + .course-section {
  border-top: 1px solid var(--line);
}

.course-section h2 {
  font-size: 28px;
}

.course-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}

.course-portraits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px auto;
}

.course-portraits img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 24px 0;
}

.step {
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(234, 220, 191, .52);
  text-align: center;
}

.step::before {
  counter-increment: step;
  display: block;
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
  border-radius: 50%;
  content: counter(step);
  color: #fff;
  background: var(--primary);
  font-size: 20px;
  line-height: 38px;
}

.faq {
  border-top: 1px solid #bbb;
}

.faq details {
  border-bottom: 1px solid #bbb;
}

.faq summary {
  padding: 15px 4px;
  font-weight: 700;
  cursor: pointer;
}

.faq details p {
  padding: 0 4px 16px;
}

.support-copy,
.contact-copy {
  max-width: 76ch;
  min-height: 310px;
  padding-top: 4px;
}

.support-copy h2 {
  font-size: 26px;
}

.contact-copy {
  margin: 0 auto;
  font-size: 19px;
}

.legal-copy {
  max-width: 76ch;
  margin: 0 auto;
}

.contact-card {
  max-width: 880px;
  margin: 35px auto;
  padding: 34px;
  border: 1px solid var(--gold);
  background: var(--paper-deep);
  text-align: center;
}

.site-footer {
  width: min(calc(100% - 40px), var(--content));
  margin: 18px auto 0;
  padding: 22px 0 0;
  border-top: 2px solid var(--gold);
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 22px;
  font-size: 14px;
}

.footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 7px 5px;
  font-weight: 600;
}

.project-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.project-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--paper);
  background: var(--primary);
  font-family: Arial, sans-serif;
  font-size: 12px;
  text-decoration: none;
}

.project-links a:nth-child(2) { background: var(--secondary); }
.project-links a:nth-child(3) { background: var(--success); }
.project-links a:nth-child(4) { background: var(--ink); }
.project-links a:nth-child(5) { background: #4d315e; }

.footer-wheel {
  width: 108px;
  height: 108px;
  max-height: none;
  margin: 0 auto;
  border: 1px solid var(--gold);
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

:where(a, button, summary):focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--secondary);
}

.footer-note {
  padding: 12px 0 20px;
  color: #666;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .site-nav { gap: 14px; }
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 14px; }
  .brand { font-size: 17px; }
  .hero-copy { padding-right: 34vw; }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
    line-height: 1.55;
  }

  .promo-bar {
    min-height: 58px;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    line-height: 1.35;
  }

  .promo-bar a {
    min-width: 132px;
    padding: 4px 13px;
    font-size: 14px;
  }

  .hero {
    height: 560px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(24, 18, 12, .83) 0%, rgba(24, 18, 12, .94) 100%);
  }

  .hero--support::before {
    background: rgba(24, 18, 12, .9);
  }

  .hero--utility {
    height: 390px;
  }

  .hero--utility .hero-copy--compact {
    margin-top: 48px;
  }

  .site-nav {
    width: calc(100% - 20px);
    height: 60px;
    padding: 0;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .brand {
    margin-left: -2px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand span {
    display: none;
  }

  .contact-link {
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    z-index: 10;
    top: 60px;
    left: 0;
    width: 100%;
    display: none;
    gap: 0;
    margin: 0;
    padding: 8px 0;
    background: rgba(17, 17, 17, .96);
  }

  .nav-links.is-open {
    display: block;
  }

  .nav-links a {
    display: block;
    padding: 11px 20px;
    font-size: 15px;
  }

  .hero-copy,
  .hero-copy--compact {
    width: calc(100% - 28px);
    margin-top: 48px;
    padding-right: 0;
  }

  .hero-title {
    max-width: 520px;
    font-size: clamp(37px, 10.8vw, 48px);
    line-height: .98;
  }

  .hero-kicker {
    font-size: 11px;
    line-height: 1.35;
  }

  .hero-lead {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 20px;
  }

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

  .hero-credit {
    right: 8px;
    bottom: 5px;
    font-size: 9px;
  }

  .content,
  .content--narrow {
    width: calc(100% - 20px);
    padding-top: 28px;
  }

  h2 {
    margin: 12px 0 20px;
    font-size: 27px;
  }

  h3 {
    font-size: 21px;
  }

  .lead,
  .course-intro {
    font-size: 17px;
  }

  .intro-image {
    width: 100%;
    margin: -5px auto 8px;
  }

  .home-split,
  .intro-manuscript,
  .benefits,
  .support-ways,
  .team-entry,
  .method-with-book,
  .course-columns,
  .course-portraits,
  .steps {
    grid-template-columns: 1fr;
  }

  .home-split {
    gap: 22px;
    min-height: 520px;
    padding: 25px 4px;
  }

  .intro-manuscript {
    gap: 28px;
    margin-bottom: 42px;
  }

  .intro-manuscript figure {
    padding: 8px;
  }

  .benefits,
  .support-ways {
    gap: 12px;
    margin: 36px 0 48px;
  }

  .section-heading {
    grid-column: 1;
  }

  .benefits article,
  .support-ways article {
    padding: 22px 20px;
  }

  .orientation {
    margin-top: 40px;
    padding: 32px 18px;
  }

  .latin-card {
    min-height: 160px;
    padding: 24px;
  }

  .team-list {
    gap: 42px;
  }

  .team-entry {
    gap: 13px;
  }

  .team-entry + .team-entry {
    padding-top: 32px;
  }

  .team-entry h2 {
    font-size: 23px;
  }

  .method-with-book img {
    width: 140px;
    order: -1;
  }

  .wide-media {
    aspect-ratio: 4 / 3;
    margin: 18px auto;
  }

  .course-section {
    padding-top: 22px;
  }

  .course-section h2 {
    font-size: 24px;
  }

  .course-portraits {
    gap: 12px;
  }

  .step {
    padding: 17px;
  }

  .support-copy,
  .contact-copy {
    min-height: 360px;
  }

  .contact-card {
    padding: 25px 16px;
  }

  .site-footer {
    width: calc(100% - 20px);
    margin-top: 16px;
  }

  .breadcrumbs {
    margin-bottom: 14px;
    font-size: 12px;
  }

  .answer-card {
    padding: 16px;
  }

  .project-links {
    margin-bottom: 22px;
  }

  .footer-wheel {
    width: 96px;
    height: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-preview img {
    transition: none;
  }
}
