:root {
  --bg: #f6f4f0;
  --bg-alt: #efece6;
  --surface: #ffffff;
  --ink: #141414;
  --muted: #5a554b;
  --line: #ddd7ca;
  --gold: #c9a24a;
  --gold-deep: #b38f38;
  --navy: #0b0b0b;
  --on-navy: #f6f4f0;
  --shadow: 0 18px 50px rgba(11, 11, 11, .08);
  --radius: 14px;
  --header: 64px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --pad: 20px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
  overflow-x: clip;
}

html, body {
  margin: 0;
  max-width: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 "Instrument Sans", system-ui, sans-serif;
  padding-top: var(--header);
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -.02em;
}

.wrap {
  width: min(1120px, calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  height: var(--header);
  display: flex;
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  height: 26px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.header-cta { display: none; }
.nav-cta { display: inline-flex; margin-top: 12px; }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: absolute;
  left: 12px;
}

.menu-toggle span { top: 21px; }
.menu-toggle span::before,
.menu-toggle span::after { content: ""; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.nav {
  display: none;
  position: fixed;
  inset: var(--header) 0 0 0;
  background: var(--bg);
  flex-direction: column;
  padding: 16px var(--pad) 32px;
  z-index: 110;
  overflow: auto;
}

.nav.is-open { display: flex; }

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 8px;
  padding: 14px 18px;
  min-height: 48px;
  font: 800 .95rem "Bricolage Grotesque", sans-serif;
  background: var(--gold);
  color: #1a1405;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.hero {
  padding: 16px 0 0;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.carousel-clip {
  order: -1;
  width: 100%;
  overflow: visible;
  padding: 28px 12px;
}

.kicker {
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .7rem;
  margin: 0 0 8px;
}

.hero h1 {
  font-size: clamp(1.75rem, 7.5vw, 2.4rem);
}

.hero p.lead {
  color: var(--muted);
  font-size: 1rem;
  margin: 12px 0 16px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-actions .btn { width: 100%; }

.carousel {
  position: relative;
  height: 270px;
  perspective: 1200px;
  overflow: visible;
}

.carousel-track {
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}

.carousel-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(180px, 47vw);
  height: 234px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(20, 16, 8, .2);
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.2s ease, filter 1.2s ease;
  will-change: transform, opacity;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 12px 0;
  margin-top: 8px;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 22s linear infinite;
}

.ticker span {
  padding: 0 18px;
  white-space: nowrap;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .75rem;
  color: var(--muted);
  border-right: 1px solid var(--line);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: var(--on-navy); }
.section-head { margin-bottom: 24px; }
.section h2 { font-size: clamp(1.5rem, 6vw, 2.3rem); }
.muted { color: var(--muted); margin: 10px 0 0; }

.grid-3,
.grid-5,
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.card {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card ul { margin: 12px 0 0; padding-left: 1.1rem; color: var(--muted); }

.quote {
  font: 800 clamp(1.35rem, 6vw, 2rem) / 1.2 "Bricolage Grotesque", sans-serif;
  color: var(--on-navy);
  margin-bottom: 8px;
}

.contact-list { display: grid; gap: 20px; }
.contact-list a { text-decoration: none; }
.contact-list strong { display: block; margin-bottom: 2px; }

.social-block {
  margin: 0;
}

.social-block strong {
  display: block;
  margin-bottom: 2px;
}

.social-links {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 44px;
  justify-content: start;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  width: max-content;
  max-width: 100%;
}

.social-links a[hidden] { display: none; }
.social-links a {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  text-decoration: none;
}

.social-links a:hover {
  border-color: var(--gold);
}

.social-links img {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  display: block;
  object-fit: contain;
}

form {
  display: grid;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

label { font-weight: 600; font-size: .88rem; }
input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 12px 13px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.form-error { color: #c0392b; display: none; }
.ok-box { display: none; text-align: center; padding: 18px 8px; }

.site-footer {
  padding: 24px 0 32px;
  color: var(--muted);
  font-size: .85rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.site-footer a { color: var(--ink); }

.wa {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 50;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .35);
}
.wa svg { width: 28px; height: 28px; display: block; }
.wa[hidden] { display: none !important; }

.when {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--gold);
  border-radius: 6px;
  padding: 10px 14px;
  margin-top: 8px;
}

.when b {
  font: 800 1.25rem "Bricolage Grotesque", sans-serif;
  color: var(--gold);
}

.count {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  justify-content: center;
}

.count div {
  min-width: 58px;
  flex: 1 1 58px;
  max-width: 80px;
  text-align: center;
  background: rgba(255,255,255,.08);
  border-radius: 6px;
  padding: 8px 4px;
}

.count strong { display: block; font: 800 1.4rem "Bricolage Grotesque", sans-serif; }
.count span { font-size: .72rem; color: #d9d2c0; }

.hero-dark {
  background: var(--navy);
  color: var(--on-navy);
  padding: 40px 0 48px;
  text-align: center;
}

.hero-dark h1 { font-size: clamp(1.6rem, 7vw, 2.6rem); }
.hero-dark .lead { color: #d9d2c0; margin: 14px auto 0; max-width: 36rem; }

.hero-banner {
  position: relative;
  background: var(--navy);
  color: var(--on-navy);
  overflow: hidden;
}

.hero-banner-slides {
  position: relative;
  height: 620px;
}

.hero-banner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: var(--navy);
  transition: opacity .7s var(--ease);
}

.hero-banner-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 11, 11, .42) 0%, rgba(11, 11, 11, .58) 100%);
}

.hero-banner-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.12);
}

.hero-banner-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-banner-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 16px 56px;
  width: min(1120px, calc(100% - var(--pad) * 2));
}

.hero-banner h1 {
  font-size: clamp(1.45rem, 5vw, 2.35rem);
  max-width: 20ch;
}

.hero-banner .lead {
  color: #d9d2c0;
  margin: 14px auto 20px;
  max-width: 36rem;
}

.hero-banner .kicker { color: var(--gold); }
.hero-banner .btn { margin-top: 8px; width: auto; }

.hero-banner-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 1.5px solid rgba(246, 244, 240, .35);
  border-radius: 50%;
  background: rgba(11, 11, 11, .35);
  color: var(--on-navy);
  cursor: pointer;
}

.hero-banner-btn.prev { left: 12px; }
.hero-banner-btn.next { right: 12px; }
.hero-banner-btn.prev::before,
.hero-banner-btn.next::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  margin: 0 auto;
}
.hero-banner-btn.prev::before { transform: rotate(-135deg); }
.hero-banner-btn.next::before { transform: rotate(45deg); }

.hero-banner-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-banner-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(246, 244, 240, .4);
  cursor: pointer;
}

.hero-banner-dot.is-active { background: var(--gold); }

.js .hero-dark .wrap,
.js .site-footer .wrap {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.js .hero-dark.is-in .wrap,
.js .site-footer.is-in .wrap {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

.js .grid-3 > .reveal:nth-child(2),
.js .grid-5 > .reveal:nth-child(2) { transition-delay: .1s; }
.js .grid-3 > .reveal:nth-child(3),
.js .grid-5 > .reveal:nth-child(3) { transition-delay: .18s; }
.js .grid-5 > .reveal:nth-child(4) { transition-delay: .26s; }
.js .grid-5 > .reveal:nth-child(5) { transition-delay: .34s; }

.js .hero-copy.reveal { transition-delay: .12s; }

@media (min-width: 720px) {
  :root { --header: 72px; --pad: 24px; }
  .brand img { height: 28px; max-width: 160px; }
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; min-width: 180px; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
  .carousel { height: 340px; }
  .carousel-card { width: 210px; height: 300px; }
  .section { padding: 64px 0; }
}

@media (min-width: 1080px) {
  body { font-size: 1.05rem; }
  .menu-toggle { display: none; }
  .header-cta {
    display: inline-flex;
    white-space: nowrap;
    min-height: 44px;
    padding: 10px 16px;
    flex-shrink: 0;
    margin-left: 8px;
  }
  .nav-cta { display: none; }

  .nav {
    display: flex;
    position: static;
    inset: auto;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    padding: 0;
    overflow: visible;
    background: transparent;
    margin-left: auto;
  }

  .nav a {
    font-size: .92rem;
    color: var(--muted);
    padding: 0;
    border: 0;
  }

  .nav a.is-active,
  .nav a:hover { color: var(--ink); }

  .hero {
    min-height: calc(100vh - var(--header));
    min-height: calc(100dvh - var(--header));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    box-sizing: border-box;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    flex: 1;
    width: min(1120px, calc(100% - var(--pad) * 2));
    padding: 24px 0;
  }
  .hero-actions { margin-bottom: 0; }
  .hero .ticker {
    margin-top: auto;
    flex-shrink: 0;
  }
  .carousel-clip {
    order: 0;
    overflow: visible;
    padding: 0;
  }
  .hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); max-width: 14ch; }
  .hero p.lead { font-size: 1.12rem; margin: 18px 0 24px; }
  .carousel { height: auto; }
  .carousel-card {
    width: auto;
    height: 86%;
    aspect-ratio: 11 / 16;
    max-height: 100%;
  }
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section { padding: 80px 0; }
  .site-footer .wrap { flex-direction: row; justify-content: center; gap: 18px; }
  .wa { width: 56px; height: 56px; }
  .hero-dark { padding: 72px 0 80px; }
  .hero-banner-slides { height: 680px; }
  .hero-banner-btn.prev { left: 28px; }
  .hero-banner-btn.next { right: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .js .section .wrap,
  .js .hero-dark .wrap,
  .js .site-footer .wrap,
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
