/* ==========================================================================
   Akinmboni Marcus O. — site styles
   Minimal editorial. Palette taken from the portrait (burgundy suit, gold buttons).
   ========================================================================== */

:root {
  /* Colour */
  --ivory: #faf7f2;
  --stone: #efe8dd;
  --stone-deep: #e4dacb;
  --ink: #1d1a18;
  --ink-soft: #5c544d;       /* 6.6:1 on ivory */
  --burgundy: #6b1e2a;       /* 10.4:1 on ivory */
  --burgundy-deep: #3a1016;
  --gold: #a8823f;           /* decorative only, never body text */
  --line: #e2d9cc;
  --on-dark: #f6efe6;
  --on-dark-soft: #c9b9ad;

  /* Type */
  --font-serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --font-sans: "Lato", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Space */
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(80px, 11vw, 152px);
  --max: 1200px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--ivory);
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(250, 247, 242, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.site-header.is-scrolled {
  background: rgba(250, 247, 242, 0.94);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.wordmark span { color: var(--burgundy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-right: -12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: var(--ivory);
    padding: 32px var(--gutter) 48px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s 0.3s;
  }
  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s, transform 0.3s var(--ease);
  }
  .nav-open .site-header {
    background: var(--ivory);
    border-bottom-color: var(--line);
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a {
    display: block;
    padding: 20px 0;
    font-family: var(--font-serif);
    font-size: 1.9rem;
    color: var(--ink);
  }
  .nav-links a::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--burgundy); }
}

/* ---------- Buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--burgundy);
  background: var(--burgundy);
  color: var(--ivory);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s;
}
.btn:hover { background: var(--burgundy-deep); border-color: var(--burgundy-deep); }
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--burgundy); border-color: var(--burgundy); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */

.hero {
  padding-top: calc(var(--nav-h) + clamp(40px, 8vw, 96px));
  padding-bottom: var(--section);
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}

.hero h1 {
  font-size: clamp(2.9rem, 2rem + 4.6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.hero h1 .initial { color: var(--burgundy); }

.hero-role {
  margin: 28px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.6rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--ink-soft);
}

.hero-intro {
  max-width: 34em;
  margin: 24px 0 40px;
  color: var(--ink-soft);
}

/* Portrait: cut-out figure rising out of a circle, with a slow gold arc. */
.portrait {
  --d: min(100%, 460px);
  position: relative;
  width: var(--d);
  margin-inline: auto;
  aspect-ratio: 1 / 1.3;
}
.portrait-disc,
.portrait-ring {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  aspect-ratio: 1;
  border-radius: 50%;
}
.portrait-disc { background: var(--stone); }
.portrait-ring {
  inset: auto -14px -14px;
  background: conic-gradient(from 0deg, transparent 0 62%, var(--gold) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  animation: ring-turn 16s linear infinite;
}
.portrait-ring::after {
  /* faint full circle so the arc has a track */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.portrait-figure {
  position: absolute;
  inset: 0;
  overflow: hidden;
  /* bottom corners follow the disc; top is open so the head rises above it */
  border-radius: 0 0 50% 50% / 0 0 38.5% 38.5%;
}
.portrait-figure img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 124%;
  max-width: none;
  transform: translateX(-50%);
}

@keyframes ring-turn { to { transform: rotate(360deg); } }

.portrait-caption {
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);
  padding: 10px 20px;
  background: var(--ivory);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 72px;
  }
  .hero-visual { order: -1; }
  .portrait { --d: min(78vw, 380px); }
  .hero-copy { text-align: center; }
  .hero .eyebrow { justify-content: center; }
  .hero-intro { margin-inline: auto; }
  .hero .actions { justify-content: center; }
}

@media (max-width: 480px) {
  .hero .actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .hero .actions .link-arrow { align-self: center; }
  .hero .eyebrow::before { display: none; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section + .section { border-top: 1px solid var(--line); }
.section--stone { background: var(--stone); border-top: 0 !important; }
.section--stone + .section { border-top: 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px clamp(40px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head h2 {
  font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.4rem);
}
.section-head p { color: var(--ink-soft); max-width: 36em; }
.section-head .eyebrow { margin-bottom: 20px; }

@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* Statement / quote */
.statement {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.statement blockquote { margin: 0; }
.statement-mark {
  display: block;
  width: 40px;
  height: 1px;
  margin: 0 auto 40px;
  background: var(--gold);
}
.statement p {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.1rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.statement em { color: var(--burgundy); }
.statement footer {
  margin-top: 36px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Philosophy list */
.creed {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.creed li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px clamp(24px, 4vw, 64px);
  align-items: baseline;
  padding: clamp(28px, 3.5vw, 44px) 0;
  border-bottom: 1px solid var(--line);
}
.creed-num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.creed h3 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem);
}
.creed h3 span { color: var(--burgundy); font-style: italic; }
.creed p { color: var(--ink-soft); margin: 0; }

@media (max-width: 760px) {
  .creed li { grid-template-columns: 48px minmax(0, 1fr); }
  .creed p { grid-column: 2; }
}

/* Focus areas */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.focus-item {
  padding: clamp(28px, 3vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
  transition: background-color 0.3s;
}
.focus-item:hover { background: #fff; }
.focus-item svg {
  width: 28px;
  height: 28px;
  margin-bottom: 40px;
  color: var(--burgundy);
}
.focus-item h3 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}
.focus-item p { font-size: 0.98rem; color: var(--ink-soft); }

@media (max-width: 1024px) {
  .focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .focus-grid { grid-template-columns: 1fr; }
  .focus-item svg { margin-bottom: 24px; }
}

/* Split: text + aside */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.split h2 { font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.4rem); }
.lead {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem);
  line-height: 1.5;
  color: var(--ink);
}
.prose p { color: var(--ink-soft); }
.prose .lead { color: var(--ink); }
.prose .actions { margin-top: 40px; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
}

/* ---------- Page header (inner pages) ---------- */

.page-hero {
  padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 120px));
  padding-bottom: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(2.9rem, 2rem + 4.6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.page-hero p {
  max-width: 40em;
  margin-top: 28px;
  color: var(--ink-soft);
}

/* About: portrait + bio */
.bio {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.bio-photo {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  margin: 0;
}
.bio-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 12%;
  background: var(--stone);
}
.bio-photo figcaption {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 48px 0 0;
  border-top: 1px solid var(--ink);
}
.facts div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.facts div:nth-child(odd) { padding-right: 20px; }
.facts dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.facts dd {
  margin: 6px 0 0;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .bio { grid-template-columns: 1fr; }
  .bio-photo { position: static; max-width: 480px; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(odd) { padding-right: 0; }
}

/* ---------- Contact band & footer ---------- */

.contact {
  background: var(--burgundy-deep);
  color: var(--on-dark);
  padding-block: var(--section);
}
.contact .eyebrow { color: var(--on-dark-soft); }
.contact h2 {
  font-size: clamp(2.3rem, 1.6rem + 3vw, 4.2rem);
  max-width: 16ch;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px clamp(48px, 7vw, 112px);
  align-items: end;
}
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(246, 239, 230, 0.2);
}
.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(246, 239, 230, 0.2);
  font-size: 0.98rem;
}
.contact-list span:first-child {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  padding-top: 3px;
}
.contact-list .pending { color: var(--on-dark-soft); font-style: italic; }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.site-footer {
  background: var(--burgundy-deep);
  color: var(--on-dark-soft);
  border-top: 1px solid rgba(246, 239, 230, 0.12);
  padding-block: 28px calc(28px + env(safe-area-inset-bottom));
  font-size: 0.88rem;
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { display: inline-block; padding: 10px 0; margin: -10px 0; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Hero entrance */
.js .hero .rise {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s var(--ease) forwards;
  animation-delay: var(--delay, 0s);
}
.js .portrait-figure {
  opacity: 0;
  animation: fade 1.1s var(--ease) 0.15s forwards;
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portrait-ring { animation: none; }
  .js .reveal,
  .js .hero .rise,
  .js .portrait-figure {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Leadership & Public Service
   ========================================================================== */

.service-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px clamp(32px, 6vw, 72px);
  margin: 48px 0 0;
}
.service-stats div { min-width: 90px; }
.service-stats dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.service-stats dd {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem);
  line-height: 1.1;
  color: var(--burgundy);
}

.timeline {
  position: relative;
  --progress: 0;
}
.tl-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* the line that draws itself */
.timeline-track {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  margin-left: -0.5px;
  background: var(--line);
}
.timeline-progress {
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--burgundy), var(--burgundy) 85%, var(--gold));
  transform: scaleY(var(--progress));
  transform-origin: top;
}

.tl-item {
  isolation: isolate;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(56px, 9vw, 140px);
  align-items: center;
  padding-block: clamp(48px, 7vw, 96px);
}
.tl-item:nth-child(even) .tl-media { order: 2; }
.tl-item:nth-child(even) .tl-body { text-align: right; }
.tl-item:nth-child(even) .tl-year { left: auto; right: 0; }

/* node on the line */
.tl-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 15px;
  margin: -7.5px 0 0 -7.5px;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--stone-deep);
  z-index: 1;
  transition: background-color 0.5s, border-color 0.5s, transform 0.5s var(--ease);
}
.tl-node::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0;
  transform: scale(0.6);
}
.tl-item.is-active .tl-node {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.1);
}
.tl-item.is-active .tl-node::after { animation: node-ring 1.4s var(--ease) forwards; }
@keyframes node-ring {
  0% { opacity: 0.9; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(1.9); }
}

/* big year behind the text, drifts on scroll */
.tl-year {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: -1;
  font-family: var(--font-serif);
  font-size: clamp(6rem, 3rem + 10vw, 13rem);
  line-height: 1;
  color: var(--stone);
  transform: translate3d(0, calc(-50% + var(--drift, 0px)), 0);
  pointer-events: none;
  user-select: none;
}
.tl-item:nth-child(odd) .tl-year { left: auto; right: 0; }
.tl-item:nth-child(even) .tl-year { left: 0; right: auto; }

/* photo with curtain reveal */
.tl-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--stone);
}
.tl-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.tl-media:hover img { transform: scale(1.04); }
.tl-media picture { display: block; width: 100%; height: 100%; }
.js .tl-media.reveal {
  opacity: 1;
  transform: none;
}
/* clip the inner picture, not the observed element, so it still counts as on screen */
.js .tl-media.reveal picture {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s var(--ease);
}
.js .tl-media.reveal img { transform: scale(1.14); }
.js .tl-media.reveal.is-visible picture { clip-path: inset(0 0 0 0); }
.js .tl-media.reveal.is-visible img { transform: scale(1); }
.js .tl-media.reveal.is-visible:hover img { transform: scale(1.04); }

.tl-body { position: relative; }
.tl-period {
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.tl-role {
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem);
  line-height: 1.1;
}
.tl-org {
  max-width: 28em;
  margin: 18px 0 0;
  color: var(--ink-soft);
}
.tl-item:nth-child(even) .tl-org { margin-left: auto; }
.tl-count {
  display: inline-block;
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

@media (max-width: 820px) {
  .timeline-track { left: 7px; }
  .tl-item,
  .tl-item:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0 0 72px 40px;
  }
  .tl-item:last-child { padding-bottom: 0; }
  .tl-item:nth-child(even) .tl-media { order: 0; }
  .tl-item:nth-child(even) .tl-body { text-align: left; }
  .tl-item:nth-child(even) .tl-org { margin-left: 0; }
  .tl-node { left: 7px; top: 6px; }
  .tl-media { aspect-ratio: 4 / 3.4; }
  .tl-year,
  .tl-item:nth-child(odd) .tl-year,
  .tl-item:nth-child(even) .tl-year {
    top: auto;
    bottom: 40px;
    left: auto;
    right: -8px;
    font-size: clamp(4.5rem, 22vw, 7rem);
    transform: translate3d(0, var(--drift, 0px), 0);
  }
}

/* contact links */
.contact-list a {
  color: var(--on-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 239, 230, 0.3);
  overflow-wrap: anywhere;
  text-align: right;
  transition: border-color 0.2s;
}
.contact-list a:hover { border-color: var(--on-dark); }

@media (prefers-reduced-motion: reduce) {
  .timeline { --progress: 1; }
  .js .tl-media.reveal picture { clip-path: none; transition: none; }
  .js .tl-media.reveal img { transform: none; }
  .tl-item.is-active .tl-node::after { animation: none; }
  .tl-year { --drift: 0px !important; }
}

/* ==========================================================================
   Liquid glass — shadow recipe adapted from 21st.dev "Liquid Glass Button"
   (designali-in), rewritten as plain CSS and warmed to the ink colour.
   ========================================================================== */

:root {
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-shadow:
    0 0 6px rgba(29, 26, 24, 0.03),
    0 2px 6px rgba(29, 26, 24, 0.08),
    inset 3px 3px 0.5px -3px rgba(29, 26, 24, 0.9),
    inset -3px -3px 0.5px -3px rgba(29, 26, 24, 0.85),
    inset 1px 1px 1px -0.5px rgba(29, 26, 24, 0.55),
    inset -1px -1px 1px -0.5px rgba(29, 26, 24, 0.55),
    inset 0 0 6px 6px rgba(29, 26, 24, 0.07),
    inset 0 0 2px 2px rgba(29, 26, 24, 0.05),
    0 0 12px rgba(255, 255, 255, 0.15);
  --glass-shadow-dark:
    0 0 8px rgba(0, 0, 0, 0.03),
    0 2px 6px rgba(0, 0, 0, 0.08),
    inset 3px 3px 0.5px -3.5px rgba(255, 255, 255, 0.09),
    inset -3px -3px 0.5px -3.5px rgba(255, 255, 255, 0.85),
    inset 1px 1px 1px -0.5px rgba(255, 255, 255, 0.6),
    inset -1px -1px 1px -0.5px rgba(255, 255, 255, 0.6),
    inset 0 0 6px 6px rgba(255, 255, 255, 0.1),
    inset 0 0 2px 2px rgba(255, 255, 255, 0.06),
    0 0 12px rgba(0, 0, 0, 0.15);
}

/* ---------- Sub-headings become glass chips ---------- */

.eyebrow {
  gap: 10px;
  padding: 9px 18px 9px 14px;
  border-radius: 999px;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(6px) saturate(1.4);
  backdrop-filter: blur(6px) saturate(1.4);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  line-height: 1.2;
}
.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(168, 130, 63, 0.18);
}
.contact .eyebrow,
.section--dark .eyebrow {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--glass-shadow-dark);
  color: var(--on-dark);
}
.hero .eyebrow::before { display: block; }

.tl-period {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
}

/* ---------- Buttons ---------- */

.btn {
  border-radius: 999px;
  border: 0;
  min-height: 54px;
  padding: 0 30px;
  background: linear-gradient(180deg, #82283a, var(--burgundy) 55%, #5a1823);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -2px 0 rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(0, 0, 0, 0.18),
    0 8px 20px -8px rgba(107, 30, 42, 0.55);
  transition: transform 0.3s var(--ease), filter 0.2s, box-shadow 0.3s;
}
.btn:hover {
  background: linear-gradient(180deg, #82283a, var(--burgundy) 55%, #5a1823);
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.btn:active { transform: scale(0.98); filter: brightness(0.95); }

.link-arrow {
  min-height: 54px;
  padding: 0 26px;
  border-bottom: 0;
  border-radius: 999px;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(6px) saturate(1.4);
  backdrop-filter: blur(6px) saturate(1.4);
  transition: transform 0.3s var(--ease), color 0.2s;
}
.link-arrow:hover { transform: scale(1.04); }

/* ---------- Header: floating glass capsule ---------- */

.site-header,
.site-header.is-scrolled {
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.site-header .wordmark {
  padding: 10px 20px;
  border-radius: 999px;
  transition: background-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled .wordmark {
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
}

@media (min-width: 1121px) {
  .nav-links {
    gap: 2px;
    padding: 5px;
    border-radius: 999px;
    background: var(--glass-bg);
    box-shadow: var(--glass-shadow);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    backdrop-filter: blur(12px) saturate(1.4);
  }
  .nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    transition: color 0.2s, background-color 0.3s, box-shadow 0.3s;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: rgba(255, 255, 255, 0.5); }
  .nav-links a[aria-current="page"] {
    color: var(--burgundy);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--glass-shadow);
  }
}

/* menu button as a glass circle */
.nav-toggle {
  border-radius: 50%;
  margin-right: 0;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Mobile menu: stacked glass pills ---------- */

@media (max-width: 1120px) {
  .nav-open .site-header { background: transparent; border-bottom-color: transparent; }
  .site-nav {
    background:
      radial-gradient(120% 60% at 100% 0%, rgba(168, 130, 63, 0.12), transparent 60%),
      radial-gradient(100% 60% at 0% 100%, rgba(107, 30, 42, 0.08), transparent 60%),
      var(--ivory);
    padding-top: 28px;
  }
  .nav-links { gap: 14px; }
  .nav-links li { border-bottom: 0; }
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    padding: 0 26px;
    border-radius: 999px;
    background: var(--glass-bg);
    box-shadow: var(--glass-shadow);
    font-size: 1.55rem;
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), color 0.2s;
  }
  .nav-links a::after {
    display: block;
    position: static;
    content: "";
    width: 9px;
    height: 9px;
    background: none;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.45;
  }
  .nav-links a[aria-current="page"] { color: var(--burgundy); background: rgba(255, 255, 255, 0.85); }
  .nav-links a[aria-current="page"]::after { opacity: 1; }
  .nav-links a::after,
  .nav-links a:hover::after,
  .nav-links a[aria-current="page"]::after { transform: rotate(45deg); }
  .nav-links a:active { transform: scale(0.98); }
  .nav-open .nav-links a { opacity: 1; transform: none; }
  .nav-open .nav-links li:nth-child(1) a { transition-delay: 0.04s; }
  .nav-open .nav-links li:nth-child(2) a { transition-delay: 0.09s; }
  .nav-open .nav-links li:nth-child(3) a { transition-delay: 0.14s; }
  .nav-open .nav-links li:nth-child(4) a { transition-delay: 0.19s; }
  .nav-open .nav-links li:nth-child(5) a { transition-delay: 0.24s; }
}

@media (max-width: 480px) {
  .hero .eyebrow::before { display: block; }
  .hero .actions .link-arrow { align-self: stretch; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-links a { transition: none !important; }
  .nav-open .nav-links a { opacity: 1; transform: none; }
}

/* ---------- Hon. title + "Now serving" strip ---------- */

.honorific {
  display: block;
  margin-bottom: 0.18em;
  font-size: 0.36em;
  font-style: italic;
  letter-spacing: 0.02em;
  color: var(--gold);
}

.now-serving {
  margin-top: calc(var(--section) * -0.55);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.now-card {
  display: flex;
  align-items: center;
  gap: 18px 32px;
  padding: 14px 14px 14px 18px;
  border-radius: 999px;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(8px) saturate(1.4);
  backdrop-filter: blur(8px) saturate(1.4);
  text-decoration: none;
  transition: transform 0.4s var(--ease);
}
.now-card:hover { transform: translateY(-2px); }
.now-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--burgundy);
  color: var(--ivory);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.now-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e6c27a;
}
.now-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #e6c27a;
  animation: live 2s ease-out infinite;
}
@keyframes live {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.2); opacity: 0; }
}
.now-role {
  flex: 1;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  line-height: 1.3;
}
.now-role em { font-style: normal; color: var(--gold); }
.now-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--glass-shadow);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--burgundy);
}
.now-link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.now-card:hover .now-link svg { transform: translateX(3px); }

@media (max-width: 900px) {
  .now-serving { margin-top: calc(var(--section) * -0.45); }
  .now-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 28px;
  }
  .now-link { align-self: stretch; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .now-dot::after { animation: none; }
}

/* rotating ring grows its bounding box mid-turn; never let it cause sideways scroll */
.hero { overflow-x: clip; }
html { overflow-x: clip; }

/* ==========================================================================
   Awards & Recognition
   Tilt + pointer glare pattern after 21st.dev "Optimized Tilt Card" (sh20raj)
   ========================================================================== */

:root { --trophy-bg: #f3e9d0; }

.awards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
  perspective: 1400px;
}

/* placed-on-the-shelf entrance */
.js .award.reveal {
  opacity: 0;
  transform: translateY(56px) rotateX(16deg);
  transform-origin: 50% 100%;
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.15s);
}
.js .award.reveal.is-visible { opacity: 1; transform: none; }

.award-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  perspective: 1000px;
  border-radius: 26px;
}
.award-media {
  --rx: 0deg;
  --ry: 0deg;
  --gx: 50%;
  --gy: 30%;
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 26px;
  background: var(--trophy-bg);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    0 1px 2px rgba(58, 16, 22, 0.06),
    0 30px 60px -32px rgba(58, 16, 22, 0.45);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s var(--ease), box-shadow 0.4s;
}
.award-card.is-tilting .award-media { transition: transform 0.12s linear, box-shadow 0.4s; }
.award-card:hover .award-media {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    0 1px 2px rgba(58, 16, 22, 0.06),
    0 44px 80px -36px rgba(58, 16, 22, 0.55);
}
.award-media picture { display: block; height: 100%; }
.award-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: trophy-float 6.5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -2.1s);
}
@keyframes trophy-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* one-off light sweep once the card lands */
.award-media::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.6) 50%, transparent 62%);
  transform: translateX(-130%);
  pointer-events: none;
}
.award.is-visible .award-media::after {
  animation: sweep 1.6s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 0.15s + 0.7s);
}
@keyframes sweep { to { transform: translateX(130%); } }

/* glare that follows the pointer */
.award-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, 0.55), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.award-card:hover .award-glare { opacity: 1; }

.award-zoom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--ink);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.award-zoom svg { width: 18px; height: 18px; }
.award-card:hover .award-zoom,
.award-card:focus-visible .award-zoom { opacity: 1; transform: none; }
@media (hover: none) {
  .award-zoom { opacity: 1; transform: none; }
}

.award-body { padding: 28px 6px 0; }
.award-year {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.award-title {
  font-size: clamp(1.65rem, 1.3rem + 1vw, 2.15rem);
  line-height: 1.1;
}
.award-name {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--burgundy);
}
.award-by {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.award-text {
  margin: 14px 0 0;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .awards {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
    gap: 64px;
  }
}

/* ---------- enlarge dialog ---------- */

.award-dialog {
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--ivory);
  color: var(--ink);
  box-shadow: 0 40px 120px -30px rgba(29, 26, 24, 0.6);
  overflow: hidden;
}
.award-dialog::backdrop {
  background: rgba(29, 26, 24, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.award-dialog[open] { animation: dialog-in 0.45s var(--ease); }
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.award-dialog-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  max-height: calc(100vh - 32px);
  overflow: auto;
}
.award-dialog-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: contain;
  background: var(--trophy-bg);
}
.award-dialog-body {
  align-self: center;
  padding: clamp(28px, 4vw, 48px);
}
.award-dialog-body .award-body { padding: 0; }
.award-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  cursor: pointer;
}
.award-dialog-close svg { width: 20px; height: 20px; }

@media (max-width: 760px) {
  .award-dialog-inner { grid-template-columns: 1fr; }
  .award-dialog-img { min-height: 0; aspect-ratio: 1; height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .js .award.reveal { transform: none; transition: opacity 0.3s; }
  .award-media img { animation: none; }
  .award.is-visible .award-media::after { animation: none; }
  .award-media { transform: none !important; }
  .award-dialog[open] { animation: none; }
}

/* keep the menu button full size on the narrowest phones */
.nav-toggle { flex-shrink: 0; width: 48px; height: 48px; }
.site-header .wordmark { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 400px) {
  .site-header .wordmark { padding: 8px 14px; margin-left: -10px; font-size: 1.12rem; }
}
