@import url("./tokens.css");
:root {
  --ink: #111111;
  --graphite: #191a1c;
  --charcoal: #242528;
  --navy: #142238;
  --indigo: #203a5a;
  --walnut: #52382b;
  --wood: #8f6a45;
  --brass: #c5a064;
  --brass-soft: #e1ca98;
  --linen: #f3eee5;
  --linen-dim: #d9d0c1;
  --muted: #a99f91;
  --paper: #ded3c2;
  --line: rgb(243 238 229 / 0.16);
  --line-strong: rgb(225 202 152 / 0.45);
  --focus: #f5d982;
  --page-max: 78rem;
  --page-wide: 92rem;
  --page-gutter: clamp(1.25rem, 5vw, 6rem);
  --radius-control: 0.82rem;
  --radius-panel: 1rem;
  --radius-large: 1.35rem;
  --surface-glass: rgb(25 26 28 / 0.78);
  --surface-soft: rgb(243 238 229 / 0.075);
  --shadow-soft: 0 1.25rem 3rem rgb(0 0 0 / 0.24);
  --shadow-deep: 0 2rem 5rem rgb(0 0 0 / 0.32);
  --sans: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgb(32 72 118 / 0.5), transparent 36rem),
    radial-gradient(circle at 14% 12%, rgb(82 56 43 / 0.34), transparent 32rem),
    radial-gradient(circle at 58% 88%, rgb(22 52 88 / 0.28), transparent 42rem),
    linear-gradient(135deg, var(--ink), var(--graphite) 52%, #121b2a);
  color: var(--linen);
  font-family: var(--sans);
  line-height: 1.58;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.26;
  background:
    radial-gradient(circle at 82% 22%, rgb(54 106 164 / 0.2), transparent 24rem),
    radial-gradient(circle at 26% 74%, rgb(24 58 96 / 0.16), transparent 28rem),
    linear-gradient(115deg, rgb(243 238 229 / 0.025), transparent 44%);
  mix-blend-mode: screen;
}

a {
  color: inherit;
  text-decoration-color: rgb(225 202 152 / 0.72);
  text-underline-offset: 0.25em;
}

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

h1,
h2,
p {
  margin-block-start: 0;
}

h1,
h2 {
  margin-block-end: clamp(0.85rem, 1.6vw, 1.2rem);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 13em;
  font-size: clamp(3rem, 5.4vw, 4.8rem);
  -webkit-hyphens: manual;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.15rem, 4.8vw, 4.45rem);
}

p {
  margin-block-end: 1.2rem;
  color: var(--linen-dim);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  max-width: 42rem;
}

address {
  color: var(--linen-dim);
  font-style: normal;
}

.site-footer {
  width: min(calc(100% - 2rem), 74rem);
  margin-inline: auto;
  padding: 2.25rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.site-credit {
  margin-block-start: 0.5rem;
  color: rgb(210 189 138 / 0.72);
  font-size: 0.74rem;
}

.site-credit a {
  color: inherit;
  text-decoration: none;
}

.site-credit a:hover {
  color: var(--brass);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-block-start: 0.75rem;
  font-size: 0.78rem;
}

.footer-legal a {
  color: var(--linen-dim);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--brass-soft);
}

button {
  font: inherit;
}

:where(.button, .quick-strip a, .menu-links a, .fold-tab, .text-link, .site-nav a, .site-credit a) {
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 220ms ease,
    box-shadow 220ms ease,
    opacity 180ms ease;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 0.25rem;
}

.skip-link {
  position: fixed;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 100;
  transform: translateY(-160%);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-control);
  background: var(--linen);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) auto minmax(12rem, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 4rem);
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-block-end: 1px solid rgb(225 202 152 / 0.18);
  background: rgb(15 16 18 / 0.76);
  box-shadow: 0 0.85rem 2.2rem rgb(0 0 0 / 0.14);
  backdrop-filter: blur(18px);
  color: var(--linen);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(10.25rem, 17vw, 16.5rem);
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.05rem, 3.2vw, 3.4rem);
  min-width: 0;
}

.site-nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-control);
  color: var(--linen-dim);
  font-size: 0.9rem;
  letter-spacing: 0.015em;
  text-decoration: none;
  text-shadow: 0 0.65rem 1.6rem rgb(0 0 0 / 0.72);
}

.site-nav a:hover {
  color: var(--linen);
}

.site-nav a[hreflang] {
  position: fixed;
  inset-block-start: 1.08rem;
  inset-inline-end: clamp(1rem, 4vw, 3rem);
  min-width: 2.75rem;
  justify-content: center;
  border: 1px solid rgb(243 238 229 / 0.16);
  border-radius: var(--radius-control);
  background: rgb(17 17 17 / 0.34);
  color: var(--brass-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  backdrop-filter: blur(12px);
}

.site-nav a[hreflang]:hover {
  border-color: rgb(225 202 152 / 0.42);
  background: rgb(17 17 17 / 0.48);
  color: var(--linen);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.98) contrast(1.01) brightness(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(270deg, rgb(10 11 13 / 0.54), rgb(10 11 13 / 0.32) 34%, rgb(10 11 13 / 0.08) 68%, rgb(10 11 13 / 0.12)),
    linear-gradient(0deg, rgb(17 17 17 / 0.3), transparent 50%, rgb(17 17 17 / 0.06));
}

.hero-content {
  width: min(calc(100% - var(--page-gutter)), 90rem);
  margin-inline: auto;
  padding-block: clamp(9rem, 23vh, 16rem) clamp(3rem, 9vh, 5.5rem);
  display: grid;
  justify-items: end;
  text-align: right;
  text-shadow: 0 1.4rem 2.4rem rgb(0 0 0 / 0.62);
}

.hero-content > * {
  width: min(100%, 43rem);
}

.kicker {
  margin-block-end: clamp(0.65rem, 1.2vw, 0.85rem);
  color: var(--brass-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lead {
  max-width: 38rem;
  color: var(--linen);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.hero .kicker {
  width: auto;
  margin-block-end: clamp(0.85rem, 1.6vw, 1.15rem);
  margin-inline-start: auto;
  display: inline-block;
  padding: 0.22rem 0.02rem;
  color: rgb(236 207 143 / 0.98);
  font-family: var(--serif);
  font-size: clamp(0.98rem, 1.58vw, 1.24rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow:
    0 0.18rem 0.55rem rgb(0 0 0 / 0.92),
    0 0 1.5rem rgb(210 189 138 / 0.55);
}

.hero .lead {
  width: auto;
  margin-block-start: clamp(0.8rem, 1.8vw, 1.15rem);
  margin-inline-start: auto;
  padding: 0.75rem 0 0;
  border-block-start: 1px solid rgb(236 207 143 / 0.48);
  color: rgb(246 239 224 / 0.95);
  font-family: var(--serif);
  font-size: clamp(1.32rem, 2.6vw, 1.9rem);
  font-weight: 400;
  letter-spacing: 0.045em;
  line-height: 1.03;
  text-align: right;
  text-shadow:
    0 0.18rem 0.55rem rgb(0 0 0 / 0.96),
    0 0 1.35rem rgb(15 16 18 / 0.86);
}

.hero .action-row {
  width: auto;
  margin-inline-start: auto;
  justify-content: flex-end;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-start: clamp(1.35rem, 2.6vw, 1.85rem);
}

.button {
  min-height: 3.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.18rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-control);
  background: linear-gradient(135deg, rgb(197 160 100 / 0.34), rgb(197 160 100 / 0.16));
  color: var(--linen);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 0.8rem 1.9rem rgb(0 0 0 / 0.18);
}

.button:hover {
  border-color: rgb(225 202 152 / 0.68);
  background: linear-gradient(135deg, rgb(197 160 100 / 0.43), rgb(197 160 100 / 0.2));
  transform: translateY(-1px);
}

.button-light {
  border-color: rgb(243 238 229 / 0.24);
  background: rgb(243 238 229 / 0.12);
  box-shadow: none;
}

.button-light:hover {
  border-color: rgb(243 238 229 / 0.38);
  background: rgb(243 238 229 / 0.17);
}

.quick-strip {
  position: relative;
  z-index: 5;
  width: min(calc(100% - var(--page-gutter)), var(--page-max));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -2rem auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  overflow: hidden;
  background: var(--surface-glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.quick-strip > * {
  display: grid;
  gap: 0.25rem;
  min-height: 6.1rem;
  align-content: center;
  padding: 1rem clamp(1rem, 2vw, 1.35rem);
}

.quick-strip a {
  text-decoration: none;
}

.quick-strip > * + * {
  border-inline-start: 1px solid var(--line);
}

.quick-strip a:hover {
  background: rgb(243 238 229 / 0.055);
}

.quick-strip-status {
  background:
    linear-gradient(180deg, rgb(243 238 229 / 0.028), transparent),
    rgb(17 17 17 / 0.14);
  cursor: default;
}

.quick-strip-status span {
  color: color-mix(in srgb, var(--brass-soft), var(--muted) 36%);
}

.quick-strip-status strong {
  color: color-mix(in srgb, var(--linen), var(--muted) 28%);
}

.quick-strip span,
.menu-links span {
  color: var(--brass-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.quick-strip strong,
.menu-links strong {
  color: var(--linen);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.1;
}

.menu-links small {
  grid-column: 2;
  max-width: 30rem;
  margin-block-start: -0.4rem;
  color: var(--linen-dim);
  font-size: 0.9rem;
  line-height: 1.45;
}

.intro,
.events-proof,
.contact {
  width: min(calc(100% - var(--page-gutter)), var(--page-max));
  margin-inline: auto;
}

.intro {
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.intro h2 {
  max-width: 22ch;
}

.intro p:not(.kicker) {
  max-width: 48rem;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.folding {
  width: min(calc(100% - clamp(1.25rem, 4vw, 4rem)), var(--page-wide));
  display: flex;
  gap: clamp(0.6rem, 1vw, 0.9rem);
  margin-inline: auto;
  padding-block: clamp(1rem, 4vw, 3rem) clamp(4.5rem, 9vw, 7rem);
}

.fold {
  position: relative;
  flex: 0.74 1 0;
  min-height: clamp(34rem, 76vh, 48rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--charcoal);
  filter: saturate(0.9) brightness(0.84);
  transform: translateZ(0);
  transition:
    flex-grow 760ms cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 520ms ease,
    border-color 360ms ease,
    box-shadow 520ms ease;
  will-change: flex-grow, filter;
}

.fold[data-fold-href] {
  cursor: pointer;
}

.fold.is-active {
  flex-grow: 2.55;
  border-color: var(--line-strong);
  filter: saturate(1) brightness(1);
  box-shadow: var(--shadow-deep);
}

.fold::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, transparent 0 42%, rgb(225 202 152 / 0.12) 48%, transparent 56% 100%);
  transform: translateX(-18%);
  transition:
    opacity 420ms ease,
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fold.is-active::before,
.fold:hover::before {
  opacity: 1;
  transform: translateX(10%);
}

.fold-tab {
  position: absolute;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 4;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--linen);
  cursor: pointer;
  opacity: 0;
  pointer-events: auto;
}

.fold-panel {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  padding: clamp(1rem, 3vw, 2rem);
  padding-inline-start: clamp(1rem, 3vw, 2rem);
}

.fold-panel img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02);
  transform: scale(1);
  transition:
    transform 860ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 720ms ease;
  will-change: transform;
}

.fold.is-active .fold-panel img {
  transform: scale(1.035);
}

.fold-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, rgb(17 17 17 / 0.82), transparent 58%),
    linear-gradient(90deg, rgb(17 17 17 / 0.42), transparent);
}

.fold-copy {
  position: relative;
  z-index: 2;
  max-width: 30rem;
  transform: translateY(0);
  opacity: 1;
  transition:
    opacity 360ms ease 180ms,
    transform 560ms cubic-bezier(0.22, 0.61, 0.36, 1) 120ms;
}

.fold:not(.is-active) .fold-copy {
  opacity: 0;
  transform: translateY(1.15rem);
  pointer-events: none;
}

.fold-copy h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 4rem);
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-block-start: 0.25rem;
  border-block-end: 1px solid rgb(225 202 152 / 0.45);
  color: var(--brass-soft);
  font-size: 0.96rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  border-color: rgb(225 202 152 / 0.85);
  color: var(--linen);
  transform: translateX(2px);
}

.events-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(20rem, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(4rem, 9vw, 7rem);
}

.events-proof img {
  width: 100%;
  max-width: 42rem;
  justify-self: center;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgb(225 202 152 / 0.38);
  border-radius: var(--radius-panel);
  box-shadow:
    0 0 0 1px rgb(15 16 18 / 0.5),
    var(--shadow-deep);
}

.button {
  background: rgb(243 238 229 / 0.035);
  color: var(--linen);
  box-shadow: none;
}

.button:hover {
  background: rgb(225 202 152 / 0.1);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.82fr) auto;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(4rem, 9vw, 7rem);
  border-block-start: 1px solid var(--line);
}

.contact a {
  color: var(--linen);
  text-decoration-color: rgb(225 202 152 / 0.45);
}

.contact a:hover {
  color: var(--brass-soft);
}

@media (max-width: 62rem) {
  .site-header {
    position: fixed;
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgb(15 16 18 / 0.82);
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    gap: 0.2rem 0.95rem;
  }

  .site-nav a {
    font-size: 0.82rem;
  }

  .site-nav a[hreflang] {
    position: absolute;
    inset-block-start: 1.1rem;
    inset-inline-end: 1rem;
  }

  .brand {
    width: clamp(9rem, 40vw, 11rem);
  }

  .hero-content {
    width: calc(100% - 2rem);
    justify-self: stretch;
    padding-block-start: 8rem;
    margin-inline: 1rem;
    display: block;
    text-align: right;
  }

  .hero-content > * {
    width: 100%;
    max-width: 100%;
  }

  .hero-content h1 {
    max-width: 100%;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgb(10 11 13 / 0.62), rgb(10 11 13 / 0.1) 58%, rgb(10 11 13 / 0.16)),
      linear-gradient(270deg, rgb(10 11 13 / 0.36), transparent 58%);
  }

  h1 {
    max-width: 100%;
    margin-inline-start: auto;
    font-size: clamp(1.95rem, 7.4vw, 2.85rem);
  }

  .hero .lead,
  .hero .kicker {
    margin-inline-start: auto;
  }

  .hero .kicker {
    font-size: clamp(0.9rem, 3.7vw, 1.05rem);
    letter-spacing: 0.2em;
  }

  .hero .lead {
    max-width: 19rem;
    font-size: clamp(1.18rem, 5.3vw, 1.52rem);
  }

  h2 {
    max-width: 100%;
  }

  .action-row .button,
  .button {
    width: 100%;
  }

  .quick-strip,
  .events-proof,
  .contact {
    grid-template-columns: 1fr;
  }

  .events-proof img {
    width: min(100%, 34rem);
  }

  .quick-strip {
    margin-block-start: 0;
  }

  .quick-strip > * + * {
    border-inline-start: 0;
    border-block-start: 1px solid var(--line);
  }

  .folding {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    padding-inline: 1rem;
    margin-inline: calc(50% - 50vw);
    width: 100vw;
    scrollbar-width: thin;
  }

  .fold,
  .fold.is-active {
    flex: 0 0 min(84vw, 26rem);
    min-height: 30rem;
    scroll-snap-align: center;
    transition:
      transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
      filter 360ms ease,
      border-color 260ms ease,
      box-shadow 360ms ease;
  }

  .fold:not(.is-active) {
    filter: saturate(0.88) brightness(0.84);
    transform: translateY(0.65rem);
  }

  .fold-panel {
    padding: 1rem;
  }

  .fold:not(.is-active) .fold-copy {
    opacity: 0.86;
    transform: translateY(0.45rem);
  }

  .fold.is-active .fold-copy {
    transform: translateY(0);
  }

  .menu-links a {
    grid-template-columns: 1fr;
  }

  .menu-links small {
    grid-column: auto;
    margin-block-start: -0.55rem;
  }
}

/* Unified mobile-first card motion. JS adds .is-visible and .is-pressed. */
.motion-card {
  opacity: 0;
  transition:
    opacity 320ms ease,
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 320ms ease,
    border-color 220ms ease,
    box-shadow 260ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.fold.motion-card {
  transition:
    flex-grow 760ms cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 320ms ease,
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 520ms ease,
    border-color 360ms ease,
    box-shadow 520ms ease;
}

.motion-card:not(.is-visible) {
  transform: translateY(16px) scale(0.985) !important;
}

.motion-card.is-visible {
  opacity: 1;
  transition-delay: calc(var(--motion-index, 0) * 42ms);
}

.motion-card.is-pressed {
  border-color: var(--line-strong) !important;
  box-shadow:
    0 1.15rem 3rem rgb(0 0 0 / 0.3),
    inset 0 0 0 1px rgb(225 202 152 / 0.22) !important;
  transform: translateY(-0.08rem) scale(0.992) !important;
}

.fold.is-active,
.menu-links a:focus-visible,
.menu-links a:hover,
.menu-links a.is-pressed,
.quick-strip a:focus-visible,
.quick-strip a:hover,
.quick-strip a.is-pressed {
  border-color: var(--line-strong);
  box-shadow:
    0 1.15rem 3rem rgb(0 0 0 / 0.24),
    inset 0 0 0 1px rgb(225 202 152 / 0.2);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .motion-card,
  .motion-card:not(.is-visible),
  .motion-card.is-visible,
  .motion-card.is-pressed,
  .fold {
    transition: none;
    filter: none;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .fold-panel img,
  .fold::before,
  .fold-copy {
    transition: none;
    transform: none;
  }
}
