/* palette: bg=#0A1512 fg=#ECE7DC accent=#5CC7A0 */
/* fonts: display="Playfair Display" body="Inter" mono="Space Mono" */

:root {
  --bg: #0A1512;          /* deep near-black teal (reference background) */
  --bg-alt: #0F1E19;      /* alternating section background */
  --bg-deep: #060D0B;     /* darkest band */
  --fg: #ECE7DC;          /* warm off-white text */
  --fg-soft: #CFC9BC;     /* slightly softer fg */
  --muted: #839289;       /* secondary text, muted sage */
  --accent: #5CC7A0;      /* mint-teal accent from reference CTA */
  --accent-deep: #3FA582; /* darker accent for hover */
  --accent-dim: rgba(92, 199, 160, 0.14);
  --line: rgba(236, 231, 220, 0.12);
  --border: rgba(236, 231, 220, 0.14);
  --card: #101E19;
  --card-hi: #14261F;

  --serif: 'Playfair Display', ui-serif, Georgia, serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  line-height: 1.75;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent); color: var(--bg-deep); }

/* ============ SHARED ATOMS ============ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
p { margin: 0 0 1.1em; }

.section { padding: clamp(80px, 12vw, 160px) 0; }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); }

.h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 62ch;
}
.muted { color: var(--muted); }
em { font-style: italic; color: var(--accent); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform .4s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--primary {
  background: var(--accent);
  color: var(--bg-deep);
  box-shadow: 0 8px 30px -10px rgba(92,199,160,0.5);
}
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost {
  border: 1px solid var(--border);
  color: var(--fg);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.arrowlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap .3s var(--ease);
}
.arrowlink:hover { gap: 14px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 21, 18, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--line);
  background: rgba(8, 15, 13, 0.9);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.brand__mark {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px 1px var(--accent);
}
.nav { display: none; gap: 34px; }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width .35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.header__right { display: flex; align-items: center; gap: 18px; }
.header__lang {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: none;
}
.header .btn { padding: 11px 22px; display: none; }

.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 42px; height: 42px; align-items: center;
}
.menu-toggle span { width: 22px; height: 1.6px; background: var(--fg); transition: transform .35s var(--ease), opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 74px 0 0; z-index: 99;
  background: var(--bg-deep);
  padding: 40px var(--pad) 60px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif); font-size: 2rem; padding: 14px 0;
  border-bottom: 1px solid var(--line); letter-spacing: -0.01em;
}
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.22;
  animation: heroZoom 12s var(--ease) forwards;
  filter: grayscale(0.3) contrast(1.05);
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 10%, rgba(92,199,160,0.10), transparent 55%),
    linear-gradient(180deg, rgba(10,21,18,0.72) 0%, rgba(10,21,18,0.92) 60%, var(--bg) 100%);
}
.hero__inner { position: relative; z-index: 2; text-align: center; width: 100%; }
.hero h1 {
  font-size: clamp(3.5rem, 10vw, 9rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
  font-weight: 400;
  margin: 8px auto 34px;
  max-width: 16ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__meta {
  margin-top: 60px;
  display: flex; flex-wrap: wrap; gap: 34px; justify-content: center;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em;
  color: var(--muted); text-transform: uppercase;
}
.hero__meta strong { color: var(--fg); font-weight: 400; }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  color: var(--muted); text-transform: uppercase; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll::after { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--accent), transparent); }

/* ============ COLLAGE / SPOTLIGHTS ============ */
.section-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 80px); }
.section-head .h2 { margin-bottom: 22px; }

.collage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.spot {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease);
}
.spot:hover { transform: translateY(-6px); border-color: rgba(92,199,160,0.4); box-shadow: 0 24px 50px -20px rgba(0,0,0,0.6); }
.spot__img { aspect-ratio: 16/10; overflow: hidden; }
.spot__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.25) contrast(1.02); transition: transform .8s var(--ease); }
.spot:hover .spot__img img { transform: scale(1.06); }
.spot__body { padding: 24px 24px 28px; }
.spot__kicker {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.spot__title { font-size: 1.5rem; line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 10px; }
.spot__excerpt { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }
.spot__meta {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--fg-soft);
  display: flex; align-items: center; gap: 10px;
}
.spot--tall .spot__img { aspect-ratio: 4/5; }

/* monogram avatar */
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 14px; color: var(--bg-deep);
  flex-shrink: 0;
}

/* ============ STATS ============ */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.stat { background: var(--bg); padding: 38px 28px; }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; letter-spacing: -0.02em; color: var(--accent); }
.stat__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }

/* ============ MANIFESTO ============ */
.manifesto { text-align: center; }
.manifesto__quote {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin: 0 auto;
  font-weight: 400;
}
.manifesto__mark { font-family: var(--serif); font-size: clamp(5rem, 12vw, 9rem); line-height: 0.4; color: var(--accent); display: block; margin-bottom: 10px; }
.manifesto__by { margin-top: 40px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ============ SERVICES / LIST ============ */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: auto 1fr; gap: 20px;
  padding: 34px 0; border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background .3s var(--ease);
}
.row__no { font-family: var(--mono); font-size: 13px; color: var(--accent); padding-top: 6px; }
.row__title { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.01em; margin-bottom: 12px; line-height: 1.1; }
.row__text { color: var(--muted); max-width: 60ch; margin: 0; font-size: 16px; }
.row__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft); border: 1px solid var(--border); border-radius: 9999px; padding: 5px 12px; }

/* ============ EVENTS ============ */
.events { display: grid; grid-template-columns: 1fr; gap: 20px; }
.event {
  display: grid; grid-template-columns: 88px 1fr; gap: 22px;
  padding: 28px; border: 1px solid var(--border); border-radius: 6px;
  background: var(--card); align-items: center;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.event:hover { border-color: rgba(92,199,160,0.4); transform: translateY(-4px); }
.event__date { text-align: center; border-right: 1px solid var(--line); padding-right: 18px; }
.event__day { font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--accent); }
.event__mon { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.event__title { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 6px; letter-spacing: -0.01em; }
.event__info { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }

/* ============ FAQ ============ */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 20px;
  padding: 28px 0; font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  letter-spacing: -0.01em; align-items: center;
}
.faq__q span.ico { font-family: var(--mono); color: var(--accent); font-size: 1.4rem; transition: transform .4s var(--ease); flex-shrink: 0; }
.faq__item[data-open="true"] .faq__q span.ico { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq__item[data-open="true"] .faq__a { max-height: 400px; }
.faq__a p { color: var(--muted); padding-bottom: 28px; margin: 0; max-width: 66ch; }

/* ============ CTA BAND ============ */
.cta-band { background: var(--accent); color: var(--bg-deep); text-align: center; }
.cta-band .h2 { color: var(--bg-deep); margin-bottom: 24px; }
.cta-band p { color: rgba(6,13,11,0.75); max-width: 54ch; margin: 0 auto 34px; font-size: 1.1rem; }
.cta-band .btn--primary { background: var(--bg-deep); color: var(--accent); box-shadow: none; }
.cta-band .btn--primary:hover { background: #041008; }

/* ============ FORM ============ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-soft); margin-bottom: 10px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--card); border: 1px solid var(--border); border-radius: 5px;
  color: var(--fg); padding: 14px 16px; font-family: var(--sans); font-size: 15px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: var(--card-hi); }
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.contact-info dl { margin: 0; }
.contact-info dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-top: 26px; }
.contact-info dd { margin: 8px 0 0; color: var(--fg-soft); }
.contact-info dd:first-of-type { margin-top: 8px; }

/* ============ PAGE HERO (interior) ============ */
.page-hero { padding: clamp(120px, 18vw, 200px) 0 clamp(60px, 9vw, 110px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(3rem, 8vw, 6.5rem); letter-spacing: -0.03em; line-height: 0.98; max-width: 16ch; margin-bottom: 26px; }
.page-hero .lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }

/* ============ PROSE (legal) ============ */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); letter-spacing: -0.01em; margin: 48px 0 16px; }
.prose h3 { font-size: 1.2rem; margin: 30px 0 10px; color: var(--fg); }
.prose p, .prose li { color: var(--fg-soft); font-size: 16px; line-height: 1.8; }
.prose ul { padding-left: 20px; margin-bottom: 1.2em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); border-bottom: 1px solid var(--accent-dim); }
.prose__meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; margin-bottom: 40px; }

/* ============ THANKS ============ */
.thanks { min-height: 78vh; display: flex; align-items: center; text-align: center; }
.thanks h1 { font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -0.03em; line-height: 1; margin-bottom: 26px; }

/* ============ FOOTER ============ */
.footer { background: var(--bg-deep); padding: clamp(70px, 10vw, 120px) 0 40px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 46px; margin-bottom: 60px; }
.footer__brand .brand { font-size: 1.8rem; margin-bottom: 18px; }
.footer__brand p { color: var(--muted); max-width: 40ch; font-size: 15px; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; font-weight: 400; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: var(--fg-soft); font-size: 14px; transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 32px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted);
}
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: var(--fg); }

/* ============ COOKIE POPUP ============ */
.cookie-popup { position:fixed; inset:0; z-index:9999; display:flex; align-items:flex-end; justify-content:flex-start; padding:24px; background:rgba(0,0,0,0.45); backdrop-filter:blur(4px); opacity:0; pointer-events:none; transition:opacity .3s; }
.cookie-popup[data-open="true"] { opacity:1; pointer-events:all; }
.cookie-popup__card { background:var(--bg-alt); border:1px solid var(--border); padding:32px 36px; max-width:480px; border-radius:8px; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.7); }
.cookie-popup__label { font-family:var(--mono); font-size:10px; letter-spacing:0.18em; text-transform:uppercase; color:var(--accent); margin-bottom:14px; }
.cookie-popup__card h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 12px; letter-spacing: -0.01em; }
.cookie-popup__card p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.cookie-popup__actions { display:flex; gap:12px; margin-top:22px; }
.cookie-popup__actions button { padding:11px 24px; border:1px solid var(--border); border-radius: 9999px; cursor:pointer; font-size:13px; font-weight: 500; transition: all .3s var(--ease); }
.cookie-popup__actions button:hover { border-color: var(--fg-soft); }
.cookie-popup__actions button:last-child { background:var(--accent); color:var(--bg-deep); border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-deep); }

/* ============ RESPONSIVE ============ */
@media (min-width: 700px) {
  .collage { grid-template-columns: repeat(2, 1fr); }
  .events { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1.6fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__lang { display: inline; }
  .header .btn { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none; }
  .collage { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .collage .spot:nth-child(3n+1) { transform: translateY(28px); }
  .collage .spot:nth-child(3n+1):hover { transform: translateY(22px); }
  .footer__top { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; gap: 80px; }
  .row { grid-template-columns: 70px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { transition: opacity .3s ease; transform: none; }
}
