:root {
  --ink: #0f2a2a;
  --ink-2: #123a3a;
  --teal: #1f6f6b;
  --teal-soft: #d9ebe7;
  --clay: #c8643b;
  --paper: #f6f1e8;
  --paper-2: #efe7d9;
  --white: #fffdf9;
  --muted: #5b6b68;
  --line: rgba(15, 42, 42, 0.12);
  --radius: 22px;
  --shadow: 0 30px 60px -30px rgba(15, 42, 42, 0.35);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: var(--ink-2); color: var(--paper);
  font-weight: 600; font-size: 0.98rem; text-decoration: none;
  border: 1.5px solid var(--ink-2);
  transition: transform .25s var(--ease), background .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { background: var(--teal); border-color: var(--teal); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink-2); }
.btn--ghost:hover { background: var(--ink-2); color: var(--paper); border-color: var(--ink-2); }
.btn--sm { padding: 9px 18px; font-size: 0.9rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 232, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  display: grid; place-items: center; height: 42px; padding: 0 12px; border-radius: 12px;
  background: var(--ink-2); color: var(--paper);
  font-family: var(--serif); font-weight: 600; font-size: 1rem; letter-spacing: .02em;
}
.brand__text { display: flex; flex-direction: column; font-weight: 700; font-size: 0.98rem; line-height: 1.2; }
.brand__text small { font-weight: 500; font-size: 0.76rem; color: var(--muted); letter-spacing: .04em; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 0.95rem; color: var(--muted); transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__toggle { display: none; }

/* Hero */
.hero { padding: 56px 0 88px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px; background: var(--teal-soft); color: var(--teal);
  font-size: 0.85rem; font-weight: 600; margin-bottom: 26px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--teal); }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.lede strong { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 30px; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.badges li { font-size: 0.88rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.badges li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.5l4.5-5' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.hero__photo { position: relative; margin: 0; }
.hero__photo::before {
  content: ""; position: absolute; inset: 8% -12% -8% 14%;
  background: var(--teal-soft); border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; z-index: -1;
}
.hero__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.hero__card {
  position: absolute; left: -36px; bottom: 36px;
  display: flex; align-items: center; gap: 14px;
  background: var(--white); padding: 14px 20px 14px 14px; border-radius: 16px;
  box-shadow: 0 18px 40px -18px rgba(15,42,42,.4);
  font-size: 0.82rem; color: var(--muted); line-height: 1.35;
}
.hero__card strong { display: block; color: var(--ink); font-size: 0.95rem; }
.hero__card-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #f7e3d9; flex: none; }
.hero__card-icon svg { width: 22px; height: 22px; fill: var(--clay); }

/* Facts */
.facts { background: var(--ink-2); color: var(--paper); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts__grid > div { padding: 34px 28px; border-left: 1px solid rgba(246,241,232,.14); }
.facts__grid > div:first-child { border-left: 0; padding-left: 0; }
.facts__num { display: block; font-family: var(--serif); font-size: 2.1rem; line-height: 1.1; margin-bottom: 6px; }
.facts__num small { font-size: 1rem; opacity: .7; }
.facts__label { font-size: 0.9rem; opacity: .72; }

/* Sections */
.section { padding: 112px 0; }
.section--tint { background: var(--paper-2); }
.section__head { margin-bottom: 56px; max-width: 640px; }
.kicker {
  font-size: 0.8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #a24c27; margin-bottom: 14px;
}
.kicker--light { color: #f0a684; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__media { position: relative; padding: 0 48px 48px 0; }
.about__main { width: 100%; border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow); }
.about__inset {
  position: absolute; right: 0; bottom: 0; width: 42%;
  aspect-ratio: 1; object-fit: cover; object-position: 50% 25%;
  border-radius: 18px; border: 6px solid var(--paper); box-shadow: var(--shadow);
}
.about__copy h2 { margin-bottom: 26px; }
.about__copy p { color: var(--muted); }
.about__list { margin: 34px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.about__list div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.about__list dt { color: var(--muted); font-size: 0.92rem; }
.about__list dd { margin: 0; font-weight: 600; text-align: right; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 150px; top: 10px; bottom: 10px; width: 1px; background: rgba(15,42,42,.2); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 48px; padding-bottom: 40px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 145px; top: 9px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper-2); border: 2px solid var(--teal);
}
.timeline li:first-child::before { background: var(--teal); box-shadow: 0 0 0 5px var(--teal-soft); }
.timeline__year { font-family: var(--serif); font-size: 1.25rem; color: var(--teal); }
.timeline h3 { font-size: 1.18rem; margin-bottom: 4px; }
.timeline__org { color: var(--muted); font-weight: 500; font-size: 0.95rem; margin-bottom: 10px; }
.timeline p:not(.timeline__org) { max-width: 60ch; color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 22px; align-items: stretch; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 2px solid var(--teal); }
.card--dark .card__head { border-bottom-color: #f0a684; }
.card__icon { display: flex; flex: none; }
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.15rem; }
.card ul { list-style: none; margin: 0; padding: 0; }
.card li { padding: 9px 0; border-top: 1px dashed var(--line); font-size: 0.96rem; }
.card li:first-child { border-top: 0; }
.card--dark { background: var(--ink-2); color: var(--paper); border-color: var(--ink-2); }
.card--dark .card__icon svg { stroke: #f0a684; }
.card--dark li { border-top-color: rgba(246,241,232,.16); }

/* Gallery */
.gallery { padding-bottom: 112px; }
.gallery__grid { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 18px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; }
.gallery figure:nth-child(2) { aspect-ratio: auto; }
.gallery figure:nth-child(2) img { position: absolute; inset: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255,253,249,.92); font-size: 0.82rem; font-weight: 600;
}

/* Contact */
.contact { background: var(--ink); color: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact h2 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 22px; }
.contact__lede { color: rgba(246,241,232,.72); max-width: 30em; }
.contact__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(246,241,232,.16); }
.contact__list li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid rgba(246,241,232,.16); }
.contact__list span { font-size: 0.8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(246,241,232,.5); }
.contact__list a, .contact__list p { margin: 0; font-family: var(--serif); font-size: 1.3rem; text-decoration: none; word-break: break-word; }
.contact__list a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.contact__list a:hover { color: #f0a684; background-size: 100% 1px; }

/* Footer */
.footer { background: var(--ink); color: rgba(246,241,232,.55); font-size: 0.85rem; border-top: 1px solid rgba(246,241,232,.1); }
.footer__inner { display: flex; justify-content: space-between; gap: 24px; padding: 28px 0; }
.footer p { margin: 0; }
.footer__note { max-width: 46ch; text-align: right; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero__grid, .about, .contact__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__photo { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero__card { left: -10px; }
  .about__media { max-width: 560px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card--dark { grid-column: 1 / -1; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .facts__grid > div { border-left: 0; padding-left: 0; border-top: 1px solid rgba(246,241,232,.14); }
  .facts__grid > div:nth-child(-n+2) { border-top: 0; }
  .section { padding: 84px 0; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__toggle {
    display: grid; gap: 6px; place-content: center; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer; padding: 0;
  }
  .nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__links .btn { margin-top: 16px; justify-content: center; }
  .brand__text small { display: none; }

  .hero { padding: 32px 0 64px; }
  .hero__card { left: 12px; bottom: 16px; }
  .cards, .gallery__grid { grid-template-columns: 1fr; }
  .gallery figure, .gallery figure:nth-child(2) { aspect-ratio: 4 / 3; }
  .timeline::before { left: 5px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 32px; }
  .timeline li::before { left: 0; }
  .about__media { padding: 0 28px 28px 0; }
  .contact__list li { grid-template-columns: 1fr; gap: 4px; }
  .footer__inner { flex-direction: column; }
  .footer__note { text-align: left; }
}

/* Content protection: no text selection, no image dragging/long-press save */
html, body {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.copyable { -webkit-user-select: text; -moz-user-select: text; user-select: text; -webkit-touch-callout: default; }
@media print { body { display: none !important; } }

.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.copy-btn {
  font: 600 0.75rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px; cursor: pointer;
  background: transparent; color: rgba(246,241,232,.8); border: 1px solid rgba(246,241,232,.3);
  transition: background .2s, color .2s, border-color .2s;
}
.copy-btn:hover { border-color: #f0a684; color: #f0a684; }
.copy-btn.is-done { background: #f0a684; border-color: #f0a684; color: var(--ink); }
