:root {
  --ink: #10233f;
  --ink-soft: #536078;
  --indigo: #1c3158;
  --indigo-2: #294875;
  --wine: #7d2948;
  --saffron: #d86a2f;
  --gold: #e2b75e;
  --ivory: #fbf6eb;
  --cream: #f3ead8;
  --paper: #fffdf8;
  --teal: #24736f;
  --white: #fff;
  --border: rgba(28, 49, 88, 0.14);
  --shadow: 0 22px 60px rgba(16, 35, 63, 0.12);
  --shadow-sm: 0 12px 34px rgba(16, 35, 63, 0.09);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; }

button, input, textarea, select { font: inherit; }

h1, h2, h3, h4, p { margin-top: 0; }

h1, h2, h3, .brand-name, .eyebrow {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.62rem);
  line-height: 1.25;
  margin-bottom: 10px;
}

p { color: var(--ink-soft); }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
  border-radius: 8px;
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 35, 63, 0.96);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
  text-decoration: none;
  min-width: 250px;
}

.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(226, 183, 94, 0.8);
  border-radius: 50%;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.12rem;
}

.brand-name {
  display: block;
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.brand-role {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 5px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  position: relative;
  display: block;
  padding: 10px 11px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 650;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] { color: var(--white); }

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: 180ms ease;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 15%, rgba(216, 106, 47, 0.32), transparent 28%),
    radial-gradient(circle at 84% 70%, rgba(125, 41, 72, 0.46), transparent 36%),
    linear-gradient(125deg, #0b1c34 0%, #182f56 56%, #263e66 100%);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image:
    linear-gradient(30deg, transparent 49%, rgba(226, 183, 94, 0.35) 50%, transparent 51%),
    linear-gradient(-30deg, transparent 49%, rgba(226, 183, 94, 0.18) 50%, transparent 51%);
  background-size: 72px 72px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 72px;
  padding-block: 92px;
}

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.17em;
}

.hero .kicker { color: var(--gold); }

.kicker::before,
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.hero h1 span { color: var(--gold); }

.hero-lede {
  max-width: 670px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 49px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  background: var(--saffron);
  text-decoration: none;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(216, 106, 47, 0.28); }

.button.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

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

.portrait-frame {
  position: relative;
  max-width: 455px;
  justify-self: end;
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -18px 24px 18px -18px;
  border: 1px solid rgba(226, 183, 94, 0.65);
  border-radius: 48% 48% 28px 28px;
}

.portrait-frame img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 48% 48% 24px 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.portrait-badge {
  position: absolute;
  right: -28px;
  bottom: 30px;
  z-index: 2;
  max-width: 190px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(125, 41, 72, 0.95);
  box-shadow: var(--shadow);
}

.portrait-badge strong {
  display: block;
  color: var(--gold);
  font-size: 1.8rem;
  line-height: 1;
}

.portrait-badge span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  line-height: 1.45;
}

.section { padding-block: 100px; }
.section.compact { padding-block: 72px; }
.section.tint { background: var(--ivory); }
.section.dark { color: var(--white); background: var(--ink); }
.section.wine { color: var(--white); background: var(--wine); }

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.center .eyebrow::before { display: none; }
.section-heading p { max-width: 670px; margin-bottom: 0; font-size: 1.05rem; }
.section-heading.center p { margin-inline: auto; }
.dark .section-heading p, .wine .section-heading p { color: rgba(255, 255, 255, 0.7); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.stat {
  min-height: 160px;
  padding: 31px;
  border-right: 1px solid var(--border);
}

.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--wine); font-family: Georgia, serif; font-size: 2.4rem; line-height: 1; }
.stat span { display: block; margin-top: 11px; color: var(--ink-soft); font-size: 0.87rem; line-height: 1.45; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  min-height: 100%;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 0 0 rgba(16, 35, 63, 0);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.card p:last-child { margin-bottom: 0; }

.card-number,
.icon-orb {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--white);
  background: var(--wine);
  font-family: Georgia, serif;
  font-weight: 700;
}

.icon-orb.gold { color: var(--ink); background: var(--gold); }
.icon-orb.teal { background: var(--teal); }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 72px;
}

.split.reverse { grid-template-columns: 1.1fr 0.9fr; }

.image-panel {
  position: relative;
}

.image-panel::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 55%;
  height: 55%;
  z-index: 0;
  border-radius: 20px;
  background: var(--gold);
}

.image-panel img {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 440px;
  max-height: 590px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding: 17px 0 17px 34px;
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "◆";
  position: absolute;
  left: 2px;
  top: 18px;
  color: var(--saffron);
  font-size: 0.72rem;
}

.feature-list strong { color: var(--ink); }

.quote-block {
  padding: 56px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 90% 15%, rgba(226, 183, 94, 0.18), transparent 28%),
    var(--wine);
  box-shadow: var(--shadow);
}

.quote-block blockquote {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.25;
}

.quote-block cite {
  display: block;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
}

.page-hero {
  position: relative;
  min-height: 415px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 25%, rgba(125, 41, 72, 0.5), transparent 34%),
    linear-gradient(125deg, #0d203c, #203c68);
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding-block: 90px 72px;
}

.page-hero h1 { max-width: 850px; margin-bottom: 16px; font-size: clamp(2.8rem, 5vw, 4.8rem); }
.page-hero p { max-width: 700px; margin-bottom: 0; color: rgba(255,255,255,.72); font-size: 1.12rem; }
.page-hero .eyebrow { color: var(--gold); }

.breadcrumbs {
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.breadcrumbs a { color: var(--gold); text-decoration: none; }

.timeline {
  position: relative;
  max-width: 930px;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 105px;
  width: 1px;
  background: rgba(28, 49, 88, 0.2);
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 52px;
  padding-bottom: 42px;
}

.timeline-year {
  padding-top: 4px;
  color: var(--wine);
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: right;
}

.timeline-content {
  position: relative;
  padding: 26px 30px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 31px;
  left: -35px;
  width: 11px;
  height: 11px;
  border: 5px solid var(--ivory);
  border-radius: 50%;
  background: var(--saffron);
  box-sizing: content-box;
}

.timeline-content p { margin-bottom: 0; }

.award-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.award {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
}

.award-year {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 8px;
  border-radius: 16px;
  color: var(--white);
  background: var(--indigo);
  font-family: Georgia, serif;
  font-weight: 700;
  text-align: center;
}

.award p { margin-bottom: 0; }
.award.featured { border-color: rgba(216, 106, 47, 0.5); background: #fffaf2; }
.award.featured .award-year { background: var(--saffron); }

.publication-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.publication {
  padding: 32px;
  border-radius: 22px;
  color: var(--white);
  background: var(--indigo);
}

.publication:nth-child(even) { background: var(--wine); }
.publication .type { color: var(--gold); font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.publication p { color: rgba(255,255,255,.72); }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.tag {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 650;
}

.dark .tag { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); }

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filter-button {
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-weight: 700;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  color: var(--white);
  border-color: var(--wine);
  background: var(--wine);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.gallery-card {
  grid-column: span 4;
  position: relative;
  min-height: 315px;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: var(--ink);
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.gallery-card.wide { grid-column: span 8; }
.gallery-card.tall { min-height: 430px; }
.gallery-card[hidden] { display: none; }

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 420ms ease, opacity 300ms ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(8, 20, 37, 0.94));
}

.gallery-card:hover img { transform: scale(1.04); opacity: .9; }

.gallery-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  color: var(--white);
}

.gallery-caption small { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; }
.gallery-caption strong { display: block; margin-top: 5px; font-family: Georgia, serif; font-size: 1.25rem; line-height: 1.2; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(6, 15, 28, 0.92);
}

.lightbox.open { display: grid; }
.lightbox img { max-width: min(1050px, 92vw); max-height: 78vh; border-radius: 15px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox p { margin: 14px 0 0; color: rgba(255,255,255,.8); text-align: center; }
.lightbox-close { position: absolute; top: 22px; right: 25px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: white; background: transparent; font-size: 1.6rem; cursor: pointer; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
}

.contact-panel {
  padding: 38px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--indigo);
}

.contact-panel p { color: rgba(255,255,255,.7); }
.contact-panel a { color: var(--gold); overflow-wrap: anywhere; }
.contact-item { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact-item strong { display: block; margin-bottom: 4px; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }

.contact-form {
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: .85rem; font-weight: 750; }
.field input, .field textarea, .field select { width: 100%; padding: 13px 15px; border: 1px solid rgba(28,49,88,.22); border-radius: 12px; color: var(--ink); background: var(--paper); }
.field textarea { min-height: 145px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(216,106,47,.16); border-color: var(--saffron); }
.form-note { margin: 14px 0 0; font-size: .82rem; }

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 55px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    radial-gradient(circle at 90% 20%, rgba(226,183,94,.18), transparent 30%),
    var(--indigo);
}
.cta h2 { margin-bottom: 10px; }
.cta p { margin-bottom: 0; color: rgba(255,255,255,.68); }

.site-footer {
  padding: 72px 0 26px;
  color: var(--white);
  background: #091a31;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr;
  gap: 60px;
  padding-bottom: 48px;
}

.footer-intro { max-width: 430px; }
.footer-intro p { color: rgba(255,255,255,.6); }
.footer-title { margin-bottom: 16px; color: var(--gold); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: 9px; }
.footer-links a { color: rgba(255,255,255,.7); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.11); color: rgba(255,255,255,.45); font-size: .8rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-list {
    position: fixed;
    inset: 80px 0 auto;
    display: none;
    padding: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
    background: var(--ink);
    box-shadow: 0 25px 50px rgba(0,0,0,.24);
  }
  .nav-list.open { display: block; }
  .nav-list a { padding: 13px 10px; }
  .hero-grid, .split, .split.reverse, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 65px; padding-block: 75px 95px; }
  .portrait-frame { justify-self: center; width: min(80%, 430px); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-card { grid-column: span 6; }
  .gallery-card.wide { grid-column: span 6; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand { min-width: 0; }
  .brand-role { display: none; }
  .section { padding-block: 72px; }
  .hero { min-height: auto; }
  .hero-grid { gap: 58px; padding-block: 65px 80px; }
  .hero h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .portrait-badge { right: -5px; bottom: 15px; }
  .stats, .card-grid, .award-list, .publication-grid, .footer-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: 0; }
  .split { gap: 42px; }
  .image-panel img { min-height: 350px; }
  .quote-block, .cta, .contact-panel, .contact-form { padding: 30px 24px; }
  .timeline::before { left: 15px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; padding-left: 43px; }
  .timeline-year { text-align: left; }
  .timeline-content::before { left: -39px; top: 28px; }
  .award { grid-template-columns: 58px 1fr; padding: 21px; }
  .award-year { min-height: 58px; font-size: .86rem; }
  .gallery-grid { display: block; }
  .gallery-card { width: 100%; min-height: 300px; margin-bottom: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .cta { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid { gap: 32px; }
  .footer-bottom { display: block; }
}
