/* ---------------------------------------------------------
   Tokens
--------------------------------------------------------- */
:root {
  --bg:        #F2EEE5;
  --bg-alt:    #EAE3D3;
  --ink:       #2B2E28;
  --ink-soft:  #63665D;
  --ink-faint: #93958A;
  --line:      #D9D0BC;

  --sand:      #C7B89A;
  --sea-mid:   #7F94A0;
  --deep-sea:  #4C5F6D;
  --sage:      #949C84;
  --clay:      #B49A80;
  --cream-ink: #F6F1E6;

  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--cream-ink);
  padding: 0.75rem 1.25rem;
  z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 2px solid var(--deep-sea);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.9rem;
}
.eyebrow--light { color: rgba(246, 241, 230, 0.7); }

/* ---------------------------------------------------------
   Nav
--------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem clamp(1.25rem, 4vw, 3.5rem);
  transition: background-color 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(242, 238, 229, 0.86);
  backdrop-filter: blur(10px);
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: 0 1px 0 var(--line);
}
.nav__mark {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--cream-ink);
  transition: color 0.4s var(--ease);
}
.nav.is-scrolled .nav__mark { color: var(--ink); }

.nav__links {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.nav__links a {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--cream-ink);
  opacity: 0.88;
  transition: opacity 0.25s var(--ease), color 0.4s var(--ease);
}
.nav.is-scrolled .nav__links a { color: var(--ink); }
.nav__links a:hover { opacity: 1; }

.nav__toggle {
  display: none;
  width: 34px; height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream-ink);
  transition: background 0.4s var(--ease), transform 0.3s var(--ease);
}
.nav.is-scrolled .nav__toggle span { background: var(--ink); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.nav-panel {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.nav-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-panel a {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--cream-ink);
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
}

/* ---------------------------------------------------------
   Hero
--------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero__art {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("hero-background.png");
  background-size: cover;
  background-position: center;
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(20, 24, 22, 0.48) 0%, rgba(20, 24, 22, 0.2) 40%, rgba(20, 24, 22, 0.04) 60%);
}
.hero__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 18, 16, 0.55) 0%, rgba(15, 18, 16, 0) 34%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  mix-blend-mode: overlay;
}

.hero__content {
  position: relative;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  max-width: 46rem;
}
.hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 241, 230, 0.72);
  margin: 0 0 1.1rem;
}
.hero__mark {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(4.5rem, 14vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream-ink);
  margin: 0;
}
.hero__sub {
  margin: 1.1rem 0 0;
  font-size: 0.95rem;
  color: rgba(246, 241, 230, 0.8);
  letter-spacing: 0.01em;
}

.hero__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 5rem) clamp(1.5rem, 4vw, 2.5rem);
}
.hero__year {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(246, 241, 230, 0.55);
}
.hero__scroll {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 241, 230, 0.65);
}
.hero__scroll i {
  display: block;
  width: 1px;
  height: 22px;
  background: rgba(246, 241, 230, 0.5);
  animation: scrollpulse 2.4s ease-in-out infinite;
}
@keyframes scrollpulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.55); opacity: 1; }
}

/* ---------------------------------------------------------
   Section shell
--------------------------------------------------------- */
.section-head {
  padding: clamp(5rem, 11vw, 7.5rem) clamp(1.25rem, 5vw, 5rem) clamp(2.5rem, 5vw, 3.5rem);
  max-width: 40rem;
}
.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.05;
  margin: 0 0 0.9rem;
  color: var(--ink);
}
.section-sub {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 30rem;
}

/* ---------------------------------------------------------
   Carousel
--------------------------------------------------------- */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.carousel__viewport {
  flex: 1;
  overflow: hidden;
  padding: 1rem 0 2.5rem;
}
.carousel__track {
  display: flex;
  align-items: stretch;
  will-change: transform;
  transition: transform 0.55s var(--ease);
}

.card {
  flex: 0 0 auto;
  width: min(78vw, 640px);
  margin: 0 clamp(0.6rem, 1.6vw, 1.25rem);
  border-radius: 2px;
  overflow: hidden;
  transform: scale(0.86);
  opacity: 0.45;
  transition: transform 0.55s var(--ease), opacity 0.55s var(--ease);
}
.card.is-active { transform: scale(1); opacity: 1; }
.card.is-adjacent { opacity: 0.6; }

.card__inner {
  position: relative;
  height: clamp(340px, 42vw, 460px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 2rem;
  color: var(--cream-ink);
}

.card[data-tone="sand"]      .card__inner { background: linear-gradient(160deg, #C9BC9E, #B4A281); }
.card[data-tone="sea-mid"]   .card__inner { background: linear-gradient(160deg, #8DA0AC, #6F8492); }
.card[data-tone="deep-sea"]  .card__inner { background: linear-gradient(160deg, #5C7182, #3F5361); }
.card[data-tone="sage"]      .card__inner { background: linear-gradient(160deg, #A2AB8B, #838D6C); }
.card[data-tone="clay"]      .card__inner { background: linear-gradient(160deg, #BCA285, #9C8266); }

.card__index {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(246, 241, 230, 0.7);
  margin: 0 0 1.25rem;
}
.card__title {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin: 0 0 0.9rem;
}
.card__desc {
  max-width: 26rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(246, 241, 230, 0.86);
  margin: 0 0 1.6rem;
}
.card__rule {
  width: 44px;
  height: 1px;
  background: rgba(246, 241, 230, 0.4);
  margin: 0 0 1.4rem;
}
.card__tags {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 241, 230, 0.72);
  margin: 0 0 1.8rem;
}
.card__note {
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(246, 241, 230, 0.6);
  margin: -1rem 0 1.6rem;
}
.card__link {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(246, 241, 230, 0.55);
  padding-bottom: 3px;
  transition: opacity 0.25s var(--ease);
}
.card__link span { display: inline-block; margin-left: 0.35rem; transition: transform 0.25s var(--ease); }
.card__link:hover span { transform: translateX(3px); }
.card__link--soon {
  border-bottom-color: rgba(246, 241, 230, 0.28);
  color: rgba(246, 241, 230, 0.55);
  cursor: default;
}
.card__links {
  display: flex;
  gap: 1.75rem;
}

.carousel__arrow {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.carousel__arrow:hover {
  border-color: var(--ink-soft);
  transform: translateY(-1px);
}
.carousel__arrow--prev { margin-right: clamp(-8px, -1vw, 4px); }
.carousel__arrow--next { margin-left: clamp(-8px, -1vw, 4px); }

@media (max-width: 640px) {
  .carousel__arrow { display: none; }
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding-bottom: clamp(4rem, 8vw, 6rem);
}
.carousel__dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.carousel__dots button.is-active {
  background: var(--ink);
  transform: scale(1.35);
}

/* ---------------------------------------------------------
   About
--------------------------------------------------------- */
.about {
  background: var(--ink);
  color: var(--cream-ink);
  padding: clamp(5rem, 11vw, 8rem) clamp(1.25rem, 5vw, 5rem);
}
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  max-width: 72rem;
  margin: 0 auto;
}
.about__statement {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.25;
  margin: 0;
  color: var(--cream-ink);
}
.about__col--body p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(246, 241, 230, 0.78);
  margin: 0 0 2.25rem;
  max-width: 34rem;
}
.about__facts {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  border-top: 1px solid rgba(246, 241, 230, 0.16);
  padding-top: 1.4rem;
  max-width: 30rem;
}
.about__facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(246, 241, 230, 0.85);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(246, 241, 230, 0.12);
}
.about__facts li span {
  color: rgba(246, 241, 230, 0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

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

/* ---------------------------------------------------------
   Contact
--------------------------------------------------------- */
.contact {
  padding: clamp(5.5rem, 13vw, 9rem) clamp(1.25rem, 5vw, 5rem);
  text-align: center;
}
.contact .eyebrow { display: block; }
.contact__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4rem);
  margin: 0 0 0.75rem;
}
.contact__sub {
  color: var(--ink-soft);
  margin: 0 0 2.25rem;
}
.contact__email {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.3rem;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.contact__email:hover { border-color: var(--ink); }
.contact__socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.contact__socials a { transition: color 0.25s var(--ease); }
.contact__socials a:hover { color: var(--ink); }

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem clamp(1.25rem, 5vw, 5rem) 2.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-faint);
}
.footer a { color: var(--ink-soft); transition: color 0.25s var(--ease); }
.footer a:hover { color: var(--ink); }

/* ---------------------------------------------------------
   Reveal on scroll
--------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
