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

:root {
  --navy: #13233f;
  --navy-deep: #0d1a30;
  --navy-soft: #1d3157;
  --ivory: #f7f2e7;
  --ivory-warm: #efe7d6;
  --ink: #1b2433;
  --ink-muted: #4a5466;
  --brass: #b08d4a;
  --brass-light: #d2b074;
  --brass-dark: #7d5f26;
  --hearth: #8f3f2b;
  --paper: #fbf8f1;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 4px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  letter-spacing: .005em;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--brass-light);
  outline-offset: 3px;
  border-radius: 2px;
}
.story :focus-visible, .loves :focus-visible { outline-color: var(--brass-dark); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--ivory);
  color: var(--navy);
  padding: .6rem 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 3px;
}
.skip-link:focus { top: .75rem; }

main:focus { outline: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--ivory);
  border-bottom: 1px solid rgba(210, 176, 116, .28);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(8, 16, 30, .28); }

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  min-height: var(--header-h);
  padding: .75rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  line-height: 1;
  padding: .25rem 0;
}
.wordmark-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.wordmark-sub {
  margin-top: .3rem;
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(1rem, 3vw, 2.25rem);
}
.site-nav a {
  position: relative;
  display: inline-block;
  padding: .5rem 0;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .25rem;
  height: 1px;
  background: var(--brass-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="true"]::after { transform: scaleX(1); }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 860px);
  min-height: min(88svh, 860px);
  display: grid;
  place-items: center;
  padding: clamp(4.5rem, 12vh, 8rem) clamp(1.25rem, 5vw, 3rem);
  color: var(--ivory);
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero-media img { object-fit: cover; object-position: 50% 40%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 26, 48, .74) 0%, rgba(13, 26, 48, .66) 45%, rgba(13, 26, 48, .88) 100%);
}

.hero-content { max-width: 46rem; text-shadow: 0 1px 18px rgba(8, 16, 30, .35); }
.hero-mark {
  margin: 0;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--brass-light);
}
.hero h1 {
  font-size: clamp(2.6rem, 7.2vw, 5.25rem);
  font-weight: 500;
  margin: 1.4rem 0 1.25rem;
  text-wrap: balance;
}
.hero-lead {
  margin: 0 auto 2.4rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.6;
  color: #ece5d6;
}

.button {
  display: inline-block;
  padding: .95rem 2.1rem;
  border: 1px solid var(--brass-light);
  color: var(--ivory);
  background: rgba(13, 26, 48, .35);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.button:hover { background: var(--brass-light); color: var(--navy-deep); }

/* Rules */
.rule {
  display: block;
  width: 64px;
  height: 1px;
  margin: 1.5rem 0 1.75rem;
  background: var(--brass);
  transform-origin: left;
}
.rule-center { margin-left: auto; margin-right: auto; transform-origin: center; }
.hero .rule { background: var(--brass-light); margin: 1.4rem auto 0; }
.rule-wide { width: 120px; }

/* Sections */
.section { padding: clamp(4.5rem, 11vw, 8.5rem) clamp(1.25rem, 5vw, 3rem); }
.container { max-width: 1120px; margin: 0 auto; }
.narrow { max-width: 42rem; }
.center { text-align: center; }

.section h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

.eyebrow {
  margin: 0;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brass-dark);
}
.section h2.eyebrow { font-family: var(--sans); font-size: .78rem; line-height: 1.4; }

.prose {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  line-height: 1.6;
  font-weight: 500;
  color: var(--ink);
}
.muted { margin: 0; color: var(--ink-muted); font-size: 1rem; letter-spacing: .02em; }

.story { background: var(--ivory); }

.image-band {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}
.image-band img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: 50% 45%;
  border-radius: 2px;
  box-shadow: 0 20px 50px -28px rgba(13, 26, 48, .55);
  filter: saturate(.86);
}

/* The Things We Love */
.loves {
  background: var(--ivory-warm);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(176, 141, 74, .12), transparent 62%);
  border-top: 1px solid rgba(176, 141, 74, .22);
  margin-top: clamp(4.5rem, 11vw, 8.5rem);
}
.section-head { max-width: 40rem; margin: 0 auto clamp(2.5rem, 6vw, 4rem); }
.section-head .eyebrow { margin-bottom: .9rem; color: var(--hearth); }
.section-head h2 { color: var(--navy); }
.section-head .rule { margin: 1.5rem auto 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.6vw, 2.25rem);
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid rgba(125, 95, 38, .18);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 18px 40px -30px rgba(13, 26, 48, .55);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 26px 48px -30px rgba(13, 26, 48, .6); }
.card-media { margin: 0; position: relative; }
.card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.9);
}
.card-media::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brass), var(--hearth));
  opacity: .85;
}
.card-body { padding: 1.6rem 1.6rem 1.9rem; }
.card-kicker {
  margin: 0 0 .55rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--brass-dark);
}
.card h3 {
  font-size: clamp(1.6rem, 2.4vw, 1.95rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .8rem;
}
.card-body > p:last-child {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #d9d2c3;
  text-align: center;
  padding: 3.25rem clamp(1.25rem, 5vw, 3rem) 2.75rem;
  border-top: 1px solid rgba(210, 176, 116, .22);
}
.footer-inner p { margin: 0; }
.footer-mark {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--ivory);
}
.footer-meta { margin-top: .6rem !important; font-size: .9rem; }
.footer-credit { margin-top: 1.4rem !important; font-size: .75rem; color: #b9b2a4; }
.footer-credit a { color: #d9d2c3; text-underline-offset: 2px; }
.footer-credit a:hover { color: var(--brass-light); }

/* Tablet */
@media (max-width: 960px) {
  .cards { grid-template-columns: minmax(0, 36rem); justify-content: center; }
}

/* Mobile */
@media (max-width: 680px) {
  :root { --header-h: 108px; }
  .header-inner {
    flex-direction: column;
    justify-content: center;
    gap: .35rem;
    padding-top: .7rem;
    padding-bottom: .35rem;
  }
  .wordmark { align-items: center; }
  .wordmark-name { font-size: 1.45rem; }
  .site-nav ul { justify-content: center; gap: 1.4rem; }
  .site-nav a { font-size: .72rem; letter-spacing: .14em; padding: .6rem 0; }
  .hero { min-height: auto; padding-top: 5rem; padding-bottom: 5.5rem; }
  .hero-mark { font-size: .7rem; letter-spacing: .26em; }
  .image-band img { aspect-ratio: 4 / 3; object-position: 50% 75%; }
  .hero-media img { object-position: 22% 40%; }
  .site-nav ul { gap: 1.1rem; }
  .card-body { padding: 1.35rem 1.3rem 1.6rem; }
}

/* Motion: enhances already-visible content only (no opacity starts at 0) */
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: drift 18s var(--ease) both; }
  .hero-content > * { animation: rise .9s var(--ease) both; }
  .hero-content > :nth-child(2) { animation: draw 1.2s var(--ease) .15s both; }
  .hero-content > :nth-child(3) { animation-delay: .08s; }
  .hero-content > :nth-child(4) { animation-delay: .16s; }
  .hero-content > :nth-child(5) { animation-delay: .24s; }
  .js .section .rule { transition: transform 1.1s var(--ease); }
  .js .section .rule.is-pending { transform: scaleX(.35); }
}
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
@keyframes draw { from { transform: scaleX(.3); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .card, .card:hover { transition: none; transform: none; }
}
