:root {
  --ink: #1b2733;
  --snow: #f6f8f9;
  --paper: #ffffff;
  --granite: #56626d;
  --larch: #35543f;
  --gold: #8f6a24;
  --gold-soft: #c9a55c;
  --mist: #e4eaed;
  --line: #c9d2d8;
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--larch); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1.1em; max-width: var(--measure); }
.lede { font-size: 1.25rem; line-height: 1.6; color: var(--ink); max-width: 56ch; }
.muted { color: var(--granite); }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 248, 249, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 0.85rem var(--gutter); max-width: 1280px; margin: 0 auto;
}
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.05; }
.brand strong { font-family: var(--display); font-size: 1.7rem; font-weight: 600; }
.brand span { font-size: 0.82rem; color: var(--granite); letter-spacing: 0.02em; }
.nav { display: flex; gap: 0.25rem; align-items: center; }
.nav a {
  text-decoration: none; color: var(--ink); padding: 0.5rem 0.6rem; font-size: 0.95rem; font-weight: 600; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--larch); border-bottom-color: var(--gold-soft); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav .nav-cta { background: var(--ink); color: #fff; border-radius: 2px; border-bottom: 0; margin-left: 0.5rem; }
.nav .nav-cta:hover { background: var(--larch); color: #fff; }
.menu-btn {
  display: none; background: none; border: 1px solid var(--line); color: var(--ink);
  font: inherit; font-weight: 600; padding: 0.45rem 0.9rem; border-radius: 2px; cursor: pointer;
}

/* Layout */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section.tint { background: var(--mist); }
.section.ink { background: var(--ink); color: #eef2f4; }
.section.ink a { color: var(--gold-soft); }
.section.ink .muted { color: #aeb9c2; }
.section.ink .lede, .section.ink h2 { color: #f1f4f6; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split.top { align-items: start; }
.split.reverse > :first-child { order: 2; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.contours path {
  fill: none; stroke: var(--granite); stroke-width: 1; stroke-opacity: 0.35;
  stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke;
}
.contours path.index { stroke-opacity: 0.6; stroke-width: 1.6; }
@media (prefers-reduced-motion: no-preference) {
  .contours path { animation: draw 2.8s cubic-bezier(.3,.6,.2,1) both; animation-delay: calc(var(--i) * 70ms); }
  @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter); max-width: 1280px; margin: 0 auto;
}
.hero h1 { font-size: clamp(3.6rem, 10vw, 8rem); font-style: italic; font-weight: 500; line-height: 0.92; margin-bottom: 0.2em; }
.hero .translation { font-family: var(--display); font-size: 1.5rem; color: var(--granite); margin: 0 0 1.5rem; }
.hero .lede { margin-bottom: 2rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.btn {
  display: inline-block; padding: 0.8rem 1.4rem; font-weight: 600; text-decoration: none;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 2px;
}
.btn:hover { background: var(--larch); border-color: var(--larch); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.section.ink .btn { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--ink); }
.section.ink .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* Arched photos */
.arch { border-radius: 999px 999px 0 0; overflow: hidden; border: 1px solid var(--ink); background: var(--mist); }
.arch img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.arch.wide img { aspect-ratio: 5 / 5; }
.frame { border: 1px solid var(--line); background: var(--mist); }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Week */
.week { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.week > div { padding: 1.6rem 1.6rem 1.8rem 0; border-right: 1px solid var(--line); }
.week > div + div { padding-left: 1.6rem; }
.week > div:last-child { border-right: 0; }
.week h3 { margin-bottom: 0.3em; }
.week p { margin: 0; color: var(--granite); }

/* Page head */
.page-head { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; background: var(--snow) url("contours.svg") right center / auto 140% no-repeat; }
.page-head .wrap { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.page-head h1 { margin-bottom: 0.25em; }

/* Prose */
.prose p { max-width: var(--measure); }
.prose h2 { margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.signature { font-family: var(--display); font-style: italic; font-size: 1.35rem; margin-top: 1.5rem; }
.signature small { display: block; font-family: var(--body); font-style: normal; font-size: 0.95rem; color: var(--granite); }
.pull { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25; font-style: italic; border-left: 3px solid var(--gold-soft); padding-left: 1.4rem; margin: 2rem 0; max-width: 34ch; }
.prayer { font-family: var(--display); font-size: 1.4rem; line-height: 1.5; font-style: italic; }
.prayer p { margin-bottom: 0.2em; }
.timeline { list-style: none; padding: 0; margin: 1.5rem 0 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.3rem 1.6rem; max-width: var(--measure); }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 0.6em; width: 9px; height: 9px; background: var(--gold); border-radius: 50%; }
.timeline strong { font-family: var(--display); font-size: 1.3rem; }

/* Courses */
.courses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(2rem, 5vw, 4rem); }
.course { border-top: 1px solid var(--line); padding: 1.3rem 0 1.5rem; }
.course h3 { margin-bottom: 0.2em; }
.course p { margin: 0; color: var(--granite); }
.course.wide { grid-column: 1 / -1; }

/* Faculty */
.faculty { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2.2rem 1.6rem; list-style: none; padding: 0; margin: 0; }
.faculty img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 999px 999px 0 0; border: 1px solid var(--ink); background: var(--mist); margin-bottom: 0.9rem; }
.faculty h3 { font-size: 1.35rem; margin-bottom: 0.1em; }
.faculty p { margin: 0; font-size: 0.97rem; color: var(--granite); }
.faculty .role { color: var(--ink); font-weight: 600; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4rem; list-style: none; padding: 0; margin: 0; }
.gallery figure { margin: 0; }
.gallery figcaption { padding-top: 0.6rem; font-size: 0.97rem; color: var(--granite); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 1.1rem 0; max-width: 780px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--display); font-size: 1.5rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); font-weight: 400; color: var(--gold); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0.8rem 0 0; }

/* Tuition */
.cost { width: 100%; max-width: 640px; border-collapse: collapse; }
.cost th, .cost td { text-align: left; padding: 0.9rem 0; border-top: 1px solid var(--line); vertical-align: top; }
.cost td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.cost tr:last-child th, .cost tr:last-child td { border-bottom: 1px solid var(--line); }
.cost th { font-weight: 600; }
.cost small { display: block; color: var(--granite); font-weight: 400; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; max-width: 560px; }
.contact-list li { padding: 1.2rem 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font-family: var(--display); font-size: 1.45rem; font-weight: 600; }

/* Notice */
.notice { border: 1px solid var(--gold-soft); background: #fbf7ec; padding: 1.2rem 1.4rem; max-width: 640px; }
.notice p { margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #c9d2d8; padding: 3.5rem 0 2.5rem; font-size: 0.97rem; }
.site-footer a { color: #e9d9b4; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h3 { color: #fff; font-size: 1.3rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-motto { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: #fff; }
.fine { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #34424f; font-size: 0.88rem; color: #93a1ac; max-width: none; }

@media (max-width: 1100px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--snow); border-bottom: 1px solid var(--line); padding: 0.5rem var(--gutter) 1.2rem; }
  .nav.open { display: flex; }
  .nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--mist); }
  .nav .nav-cta { margin: 0.8rem 0 0; text-align: center; }
  .hero-inner, .split, .footer-grid, .courses { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .week { grid-template-columns: 1fr; }
  .week > div, .week > div + div { padding: 1.3rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .arch { max-width: 420px; }
  .page-head { background-size: auto 100%; background-position: 120% center; }
}
