@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-500.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-600.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/cormorant-italic.woff2") format("woff2");
}

:root {
  --bg: #f8f6f2;
  --ink: #1c1a16;
  --muted: #8a8478;
  --line: #e3ded4;
  --bronze: #9a7b4a;
  --dark: #16130e;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  --max: 1220px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.caps {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 36px;
  transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
}

.nav__brand {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #fff;
  margin-right: auto;
  white-space: nowrap;
  transition: color 0.35s;
}

.nav__links {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav__links::-webkit-scrollbar {
  display: none;
}

.nav__link {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 6px 10px;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav__link:hover {
  color: #fff;
}

.nav.scrolled {
  background: rgba(248, 246, 242, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 36px;
  box-shadow: 0 1px 0 var(--line);
}

.nav.scrolled .nav__brand {
  color: var(--ink);
}

.nav.scrolled .nav__link {
  color: var(--muted);
}

.nav.scrolled .nav__link:hover,
.nav.scrolled .nav__link.is-active {
  color: var(--bronze);
}

.nav__link.is-active {
  color: #fff;
  border-bottom: 1px solid currentColor;
}

.nav.scrolled .nav__link.is-active {
  border-color: var(--bronze);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 22s ease-out both;
}

@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 6, 0.82) 0%, rgba(12, 10, 6, 0.25) 50%, rgba(12, 10, 6, 0.3) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 72px;
  color: #fff;
}

.hero__kicker {
  color: rgba(255, 255, 255, 0.85);
  display: block;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(64px, 11vw, 150px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 0.95;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
}

.hero__sub {
  margin-top: 24px;
  font-size: clamp(15px, 1.9vw, 18px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  max-width: 58ch;
  line-height: 1.7;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  margin-top: 44px;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero__stats li {
  padding: 18px 44px 0 0;
  margin-right: 44px;
}

.hero__stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero__stats span {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* ---------- Ticker ---------- */
.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  user-select: none;
  background: var(--bg);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}

.ticker span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.ticker i {
  font-style: normal;
  color: var(--bronze);
  margin: 0 22px;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section {
  padding: 96px 0 28px;
}

.section__head {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 26px;
}

.section__num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--bronze);
}

.section__head h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.02;
}

.section__note {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: none;
}

@media (min-width: 760px) {
  .section__note {
    display: block;
  }
}

.section__intro {
  font-size: 16.5px;
  font-weight: 300;
  color: #3d3a33;
  max-width: 72ch;
  line-height: 1.75;
  margin-bottom: 40px;
}

.section__intro em {
  font-family: var(--serif);
  font-size: 1.12em;
}

.prose {
  max-width: 74ch;
  font-size: 16.5px;
  font-weight: 300;
  color: #3d3a33;
  line-height: 1.8;
}

.prose p + p {
  margin-top: 16px;
}

.prose strong {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Rows ---------- */
.rows--head {
  display: none;
}

@media (min-width: 880px) {
  .rows--head {
    display: grid;
    grid-template-columns: 150px 1.3fr 1fr 0.9fr 30px;
    gap: 22px;
    padding: 0 10px 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
  }
}

.row {
  display: grid;
  grid-template-columns: 150px 1.3fr 1fr 0.9fr 30px;
  gap: 22px;
  align-items: center;
  padding: 16px 10px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s;
}

.rows .row:first-of-type {
  border-top: 1px solid var(--line);
}

.row:hover {
  background: #f1ede5;
}

.row__thumb {
  width: 150px;
  height: 100px;
  border-radius: 2px;
  overflow: hidden;
  background: #ece7dd;
}

.row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.row:hover .row__thumb img {
  transform: scale(1.06);
}

.row__mono {
  width: 150px;
  height: 100px;
  border-radius: 2px;
  background: #ece7dd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  font-style: italic;
  color: var(--bronze);
}

.row h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.row__tag {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}

.row__meta {
  font-size: 13.5px;
  font-weight: 300;
  color: #3d3a33;
}

.row__meta b {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--bronze);
  margin-right: 4px;
}

.row__addr {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--muted);
}

.row__arrow {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--bronze);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
  justify-self: end;
}

.row:hover .row__arrow {
  opacity: 1;
  transform: none;
}

@media (max-width: 880px) {
  .row {
    grid-template-columns: 104px 1fr 22px;
    gap: 16px;
  }

  .row__thumb,
  .row__mono {
    width: 104px;
    height: 74px;
  }

  .row__mono {
    font-size: 24px;
  }

  .row__meta,
  .row__addr {
    grid-column: 2;
  }

  .row__arrow {
    grid-row: 1;
    grid-column: 3;
  }
}

/* ---------- Lists ---------- */
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px 64px;
}

.list {
  list-style: none;
}

.list__title {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--bronze);
  padding-bottom: 10px;
}

.list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  transition: padding-left 0.25s;
}

.list li:hover {
  padding-left: 8px;
}

.list li span {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 300;
  text-align: right;
  flex-shrink: 0;
}

/* ---------- Timeline ---------- */
.tl {
  list-style: none;
  border-top: 1px solid var(--line);
}

.tl li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 26px;
  padding: 17px 10px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}

.tl li:hover {
  background: #f1ede5;
}

.tl__year {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  font-weight: 500;
  color: var(--bronze);
  line-height: 1.3;
}

.tl__event {
  font-size: 14.5px;
  font-weight: 300;
}

.tl__event strong {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  font-style: normal;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 2px;
}

.tl__event span {
  color: #55503f;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 560px) {
  .tl li {
    grid-template-columns: 68px 1fr;
    gap: 14px;
  }
}

/* ---------- Dark section ---------- */
.dark {
  background: var(--dark);
  color: #f4f1ea;
  margin-top: 80px;
  padding: 96px 0;
}

.dark .section__head {
  border-color: rgba(244, 241, 234, 0.35);
}

.dark .section__head h2 {
  color: #f4f1ea;
}

.dark .section__intro {
  color: rgba(244, 241, 234, 0.72);
}

.dark .list li {
  border-color: rgba(244, 241, 234, 0.14);
  color: #f4f1ea;
}

.dark .list li span {
  color: rgba(244, 241, 234, 0.5);
}

.dark__big {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 52px;
  border-top: 1px solid rgba(244, 241, 234, 0.25);
}

.dark__big > div {
  padding: 22px 56px 0 0;
  margin-right: 56px;
}

.dark__big strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 66px);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #f4f1ea;
}

.dark__big em {
  font-style: italic;
  color: var(--bronze);
}

.dark__big span {
  display: block;
  margin-top: 10px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(244, 241, 234, 0.5);
}

/* ---------- Footer ---------- */
footer {
  padding: 90px 0 56px;
  text-align: center;
  background: var(--bg);
}

.footer__mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
}

.footer__rule {
  width: 56px;
  height: 1px;
  background: var(--bronze);
  margin: 26px auto;
}

footer p {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ticker__track,
  .hero__img {
    animation: none;
  }
}

/* ---------- Website + logo tiles ---------- */
.row__site {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-top: 4px;
}

.row__logo {
  width: 150px;
  height: 100px;
  border-radius: 2px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.row__logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  opacity: 0.82;
  transition: opacity 0.25s;
}

.row:hover .row__logo img {
  opacity: 1;
}

@media (max-width: 880px) {
  .row__logo {
    width: 104px;
    height: 74px;
  }

  .row__logo img {
    width: 32px;
    height: 32px;
  }
}

.row__logo--wide img {
  width: 86px;
  height: auto;
  max-height: 44px;
}

@media (max-width: 880px) {
  .row__logo--wide img {
    width: 64px;
    max-height: 34px;
  }
}
