/* ---------- Tokens ---------- */
:root{
  --ink: #1E1A16;
  --ink-2: #2A241D;
  --parchment: #F6F0E3;
  --parchment-2: #EEE4D0;
  --ink-soft: #6B5D4F;
  --parchment-soft: #CFC3AF;
  --clay: #9C4630;
  --clay-2: #B85A3E;
  --rose: #C9808C;
  --gold: #B08D45;
  --line: rgba(30,26,22,0.14);
  --line-dark: rgba(246,240,227,0.16);

  --font-display: 'Frank Ruhl Libre', Georgia, serif;
  --font-body: 'Libre Franklin', -apple-system, BlinkMacSystemFont, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 84px; }
body{
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; }
h1,h2,h3{ font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; }
p{ margin: 0 0 1em; }
.wrap{ max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link{
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--parchment); padding: .75em 1.25em; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left: 0; }

:focus-visible{ outline: 2px solid var(--clay); outline-offset: 3px; }

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

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,240,227,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px;
}
.wordmark{
  font-family: var(--font-display); font-size: 1.3rem; text-decoration: none; color: var(--ink);
  letter-spacing: .01em;
}
.wordmark em{ font-style: italic; color: var(--clay); }

.site-nav{ display: flex; align-items: center; gap: clamp(1.1rem, 2.5vw, 2rem); }
.site-nav a{
  text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500;
  position: relative; padding: .2em 0;
}
.site-nav a:not(.nav-ig)::after{
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px;
  background: var(--clay); transition: right .25s ease;
}
.site-nav a:not(.nav-ig):hover::after{ right: 0; }
.nav-ig{ display: flex; align-items: center; color: var(--clay); }

.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span{ display: block; height: 2px; width: 22px; background: var(--ink); margin-inline: auto; }

@media (max-width: 780px){
  .nav-toggle{ display: flex; }
  .site-nav{
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--parchment); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; gap: 1rem;
    padding: 1.25rem var(--gutter) 1.5rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .2s ease, opacity .2s ease, visibility .2s;
  }
  .site-nav.is-open{ transform: translateY(0); opacity: 1; visibility: visible; }
}

/* ---------- Reveal on scroll ---------- */
[data-reveal]{ opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in-view{ opacity: 1; transform: none; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow{
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--clay); margin: 0 0 .9em;
}
.eyebrow-light{ color: var(--rose); }

/* ---------- Hero ---------- */
.hero{
  background: var(--ink); color: var(--parchment);
  padding-block: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero-inner{
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.hero h1{
  font-size: clamp(2.3rem, 4.6vw, 3.6rem); color: var(--parchment); margin-bottom: .4em;
}
.hero-lede{ font-size: 1.1rem; color: var(--parchment-soft); max-width: 42ch; margin-bottom: 1.8em; }
.hero-actions{ display: flex; flex-wrap: wrap; gap: 1rem; }

.btn{
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85em 1.7em; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: .96rem; letter-spacing: .01em;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--clay); color: var(--parchment); }
.btn-primary:hover{ background: var(--clay-2); }
.btn-ghost{ border-color: var(--line-dark); color: var(--parchment); }
.btn-ghost:hover{ border-color: var(--gold); color: var(--gold); }
.btn-ghost-dark{ border-color: var(--line-dark); color: var(--parchment); }
.btn-ghost-dark:hover{ border-color: var(--gold); color: var(--gold); }

.hero-figure{ position: relative; justify-self: center; width: min(100%, 420px); }
.hero-photo-frame{
  border-radius: 50%; overflow: hidden; aspect-ratio: 1/1;
  border: 1px solid var(--line-dark); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.hero-photo-frame img{ width: 100%; height: 100%; object-fit: cover; }

.medallion{
  position: absolute; right: -6%; bottom: -8%; width: 34%; min-width: 116px;
  display: flex; align-items: center; justify-content: center;
}
.medallion svg{ width: 100%; height: 100%; animation: spin 40s linear infinite; }
.medallion-num{
  position: absolute; font-family: var(--font-display); color: var(--parchment);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; text-align: center; line-height: 1;
}
.medallion-num small{ display: block; font-family: var(--font-body); font-size: .32em; font-weight: 500; letter-spacing: .12em; color: var(--gold); margin-top: .4em; text-transform: uppercase; }
@keyframes spin{ to{ transform: rotate(360deg); } }

/* ---------- Sections ---------- */
.section{ padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-cream{ background: var(--parchment); color: var(--ink); }
.section-ink{ background: var(--ink); color: var(--parchment); }

.section-head{ max-width: 62ch; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-head h2{ font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: .5em; }
.section-lede{ color: var(--ink-soft); font-size: 1.05rem; }
.section-lede-light{ color: var(--parchment-soft); }

/* ---------- About ---------- */
.about-grid{
  display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start;
}
.about-portrait img{
  width: 100%; height: auto; border-radius: 50%; aspect-ratio: 1/1; object-fit: cover;
  border: 1px solid var(--line);
}
.about-copy p{ color: var(--ink); max-width: 60ch; }
.pull-quote{
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: var(--clay); line-height: 1.4;
  margin-bottom: .8em; max-width: 22ch;
}
.edu-badge{
  display: inline-flex; align-items: center; gap: .5em;
  margin-top: .6em; padding: .6em 1.1em; border: 1px solid var(--line); border-radius: 999px;
  font-size: .88rem; color: var(--ink-soft);
}
.edu-badge span{ color: var(--rose); }

/* ---------- Cards ---------- */
.cards{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.card{ background: var(--ink); padding: clamp(1.6rem, 3vw, 2.3rem); }
.card-mark{ display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--rose); margin-bottom: 1.1em; }
.card h3{ font-size: 1.25rem; color: var(--parchment); margin-bottom: .5em; }
.card p{ color: var(--parchment-soft); font-size: .96rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery{
  display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(.7rem, 1.6vw, 1.2rem);
}
.gallery figure{ margin: 0; grid-column: span 2; }
.gallery figure:nth-child(1){ grid-column: span 3; }
.gallery figure:nth-child(2){ grid-column: span 3; }
.gallery figure:nth-child(5){ grid-column: span 3; }
.gallery figure:nth-child(6){ grid-column: span 3; }
.gallery img{
  width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 18px; transition: transform .5s ease;
}
.gallery figure.circle img{ border-radius: 50%; }
.gallery figure:hover img{ transform: scale(1.035); }

@media (max-width: 640px){
  .gallery{ grid-template-columns: repeat(2, 1fr); }
  .gallery figure, .gallery figure:nth-child(1), .gallery figure:nth-child(2),
  .gallery figure:nth-child(5), .gallery figure:nth-child(6){ grid-column: span 1; }
}

/* ---------- Videos ---------- */
.videos{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem); max-width: 900px;
}
.video-card{ margin: 0; }
.video-frame{
  position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-dark); background: #000;
}
.video-frame iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card figcaption{ margin-top: .8em; font-size: .92rem; color: var(--parchment-soft); }
.video-card figcaption span{ color: var(--rose); }

/* ---------- Contact ---------- */
.section-contact{ text-align: center; }
.contact-inner{ display: flex; flex-direction: column; align-items: center; }
.contact-inner h2{ font-size: clamp(2rem, 4vw, 2.8rem); color: var(--parchment); margin-bottom: .4em; }
.contact-inner .section-lede{ margin-bottom: 2em; }
.contact-actions{ display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 2.6em; }
.verse{
  font-family: var(--font-display); font-style: italic; color: var(--parchment-soft);
  max-width: 40ch; font-size: 1.05rem; padding-top: 1.6em; border-top: 1px solid var(--line-dark);
}
.verse span{ display: block; margin-top: .6em; font-style: normal; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer{ background: var(--ink-2); color: var(--parchment-soft); padding-block: 1.6rem; font-size: .88rem; }
.footer-inner{ display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; justify-content: space-between; }
.footer-inner a{ text-decoration: none; color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .hero-inner{ grid-template-columns: 1fr; text-align: left; }
  .hero-figure{ order: -1; width: min(70%, 320px); margin-inline: auto; }
  .about-grid{ grid-template-columns: 1fr; }
  .about-portrait{ width: 140px; }
  .cards{ grid-template-columns: 1fr; }
}
