/* palette: bg=#14100D fg=#F3EAD9 accent=#E39A3C */
/* fonts: display="Fraunces" body="Hanken Grotesque" mono="Space Mono" */

:root {
  --bg: #14100D;          /* dark warm near-black from reference */
  --bg-alt: #1C1712;      /* alternating warm dark panel */
  --bg-card: #1F1913;     /* overlay content card */
  --fg: #F3EAD9;          /* warm cream text */
  --fg-soft: #DCCFBB;     /* softened cream */
  --muted: #9A8D79;       /* warm grey secondary text */
  --accent: #E39A3C;      /* amber gold accent (CTA) */
  --accent-deep: #C67C25; /* darker amber for hover */
  --accent-soft: #F0C079; /* champagne highlight */
  --border: rgba(243, 234, 217, 0.13);
  --border-strong: rgba(243, 234, 217, 0.22);
  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Hanken Grotesque', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;
}

*, *::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;
  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; }
h1, h2, h3, h4 { font-weight: 400; margin: 0; }
p { margin: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}
.eyebrow--center { justify-content: center; }
.lead { color: var(--fg-soft); font-size: clamp(1rem, 2.2vw, 1.18rem); line-height: 1.8; }
.muted { color: var(--muted); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.3s;
}
.btn--primary { background: var(--accent); color: #221606; }
.btn--primary:hover { background: var(--accent-soft); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-soft); transform: translateY(-2px); }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-soft);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.3s var(--ease);
}
.link-arrow::after { content: "\2192"; transition: transform 0.3s var(--ease); }
.link-arrow:hover { gap: 12px; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s;
  background: rgba(20, 16, 13, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  background: rgba(20, 16, 13, 0.9);
  border-bottom-color: var(--border);
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.7);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.35rem; letter-spacing: -0.01em; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong);
  font-family: var(--mono); font-size: 13px; color: var(--accent);
  background: radial-gradient(circle at 30% 25%, rgba(227,154,60,0.28), transparent 70%);
}
.nav { display: none; gap: 34px; align-items: center; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a { font-size: 0.9rem; color: var(--fg-soft); letter-spacing: 0.01em; position: relative; padding: 4px 0; transition: color 0.3s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--accent); transition: width 0.35s var(--ease); }
.nav a:hover { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: var(--fg); }
.header__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

.menu-toggle { display: inline-flex; flex-direction: column; gap: 5px; width: 30px; padding: 6px 2px; }
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span { height: 1.5px; width: 100%; background: var(--fg); transition: transform 0.35s var(--ease), opacity 0.3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) 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.5px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  padding: 100px 28px 40px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a { font-family: var(--serif); font-size: 2rem; padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--fg-soft); }
.mobile-menu a:hover { color: var(--accent-soft); }
.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 60px; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 9s var(--ease) forwards; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,16,13,0.55) 0%, rgba(20,16,13,0.35) 40%, rgba(20,16,13,0.86) 100%),
    linear-gradient(90deg, rgba(20,16,13,0.7) 0%, rgba(20,16,13,0.15) 60%);
}
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__welcome { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.34em; font-size: 11px; color: var(--accent-soft); margin: 0 0 18px; }
.hero__title {
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 7.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 300;
  margin: 0 0 34px;
  max-width: 15ch;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__card {
  background: rgba(24, 19, 14, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(28px, 4vw, 46px);
  max-width: 620px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.8);
}
.hero__statement {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 300;
  margin: 0 0 22px;
}
.hero__statement em { font-style: italic; color: var(--accent-soft); }
.hero__body { color: var(--fg-soft); font-size: 1.04rem; margin: 0 0 30px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.hero__note { font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ---------- Section headers ---------- */
.sec-head { max-width: 720px; }
.sec-head--center { max-width: 780px; margin: 0 auto; text-align: center; }
.h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 300;
}
.h2 em { font-style: italic; color: var(--accent); }
.sec-sub { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.14rem); margin-top: 22px; max-width: 60ch; }
.sec-head--center .sec-sub { margin-left: auto; margin-right: auto; }

/* ---------- Path columns (three-phase) ---------- */
.path { background: var(--bg-alt); }
.path__grid { display: grid; gap: 40px; margin-top: 64px; }
@media (min-width: 860px) { .path__grid { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.path__col-head {
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.01em;
  padding-bottom: 16px; margin-bottom: 10px;
  border-bottom: 1px solid var(--border-strong);
  display: flex; align-items: baseline; justify-content: space-between;
}
.path__col-head span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }
.path__item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 15px 0; border-bottom: 1px solid var(--border);
}
.path__item b { font-weight: 500; font-size: 1.05rem; color: var(--fg); }
.path__item span { font-family: var(--mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; }

/* ---------- Services / features grid ---------- */
.cards { display: grid; gap: 24px; margin-top: 60px; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 34px 32px;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.3);
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 22px 50px -18px rgba(0,0,0,0.6); }
.card__num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.14em; }
.card__title { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.01em; margin: 18px 0 12px; }
.card__text { color: var(--muted); font-size: 0.98rem; line-height: 1.72; }
.card__list { list-style: none; padding: 0; margin: 22px 0 0; }
.card__list li { position: relative; padding: 7px 0 7px 22px; color: var(--fg-soft); font-size: 0.94rem; border-top: 1px solid var(--border); }
.card__list li:first-child { border-top: 0; }
.card__list li::before { content: "\2192"; position: absolute; left: 0; color: var(--accent); }

/* ---------- Manifesto (dark inverted band) ---------- */
.manifesto { background: var(--fg); color: var(--bg); text-align: center; }
.manifesto__quote {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  font-weight: 300;
  max-width: 980px;
  margin: 0 auto;
}
.manifesto__quote em { font-style: italic; color: var(--accent-deep); }
.manifesto__mark { font-family: var(--serif); font-size: clamp(5rem, 12vw, 9rem); line-height: 0.5; color: var(--accent-deep); display: block; margin-bottom: 10px; }
.manifesto__by { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(20,16,13,0.6); margin-top: 40px; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 8px; margin-top: 60px; border-top: 1px solid var(--border); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 34px 8px; border-bottom: 1px solid var(--border); }
@media (min-width: 760px) { .stat { border-right: 1px solid var(--border); padding: 40px 24px 40px 0; } .stat:last-child { border-right: 0; } }
.stat__num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 300; letter-spacing: -0.03em; color: var(--accent-soft); }
.stat__label { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }

/* ---------- Team / creators (monogram, no faces) ---------- */
.team { background: var(--bg-alt); }
.team__grid { display: grid; gap: 22px; margin-top: 60px; }
@media (min-width: 640px) { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team__grid { grid-template-columns: repeat(3, 1fr); } }
.member { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 16px; transition: border-color 0.4s, transform 0.5s var(--ease); }
.member:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.member__top { display: flex; align-items: center; gap: 16px; }
.avatar {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.25rem; color: #221606; font-weight: 500;
  flex-shrink: 0;
}
.member__name { font-family: var(--serif); font-size: 1.2rem; letter-spacing: -0.01em; }
.member__role { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-top: 2px; }
.member__bio { color: var(--muted); font-size: 0.94rem; line-height: 1.7; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 24px; margin-top: 60px; }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote-card { border: 1px solid var(--border); border-radius: 14px; padding: 36px 34px; background: var(--bg-card); }
.quote-card p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; font-weight: 300; letter-spacing: -0.01em; color: var(--fg); }
.quote-card footer { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.quote-card cite { font-style: normal; font-size: 0.92rem; color: var(--fg-soft); }
.quote-card cite span { display: block; color: var(--muted); font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 3px; }
.tag-placeholder { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); opacity: 0.6; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 60px auto 0; }
.faq__item { border-top: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; font-family: var(--serif); font-size: clamp(1.15rem, 2.6vw, 1.5rem); letter-spacing: -0.01em; color: var(--fg);
}
.faq__q::after { content: "+"; font-family: var(--mono); font-size: 1.4rem; color: var(--accent); transition: transform 0.4s var(--ease); flex-shrink: 0; }
.faq__item[data-open="true"] .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq__a p { color: var(--muted); font-size: 1rem; line-height: 1.78; padding: 0 40px 28px 0; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; text-align: center; }
.cta__inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.cta .h2 { margin-bottom: 26px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 8px; }

/* ---------- Split / editorial blocks ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 0.95fr; gap: 72px; } .split--rev > .split__media { order: -1; } }
.split__media { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4 / 3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body p + p { margin-top: 18px; }
.split__body .h2 { margin-bottom: 26px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; margin-top: 60px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 22px 0; border-top: 1px solid var(--border); }
.info-list li:last-child { border-bottom: 1px solid var(--border); }
.info-list .k { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); }
.info-list .v { font-size: 1.08rem; margin-top: 6px; color: var(--fg-soft); }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; color: var(--fg); font-family: var(--sans); font-size: 1rem; transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { justify-content: center; }
.form__note { font-size: 0.82rem; color: var(--muted); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.02em; margin: 48px 0 18px; }
.prose h3 { font-family: var(--serif); font-size: 1.25rem; margin: 32px 0 12px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 1.02rem; line-height: 1.8; }
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 22px; margin: 0 0 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; }
.page-hero { padding: 150px 0 60px; }
.page-hero .h1 { font-family: var(--serif); font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1; }
.page-hero .h1 em { font-style: italic; color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 80px 0 34px; }
.footer__grid { display: grid; gap: 44px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__brand .brand { font-size: 1.5rem; margin-bottom: 20px; }
.footer__tag { color: var(--muted); font-size: 0.98rem; max-width: 34ch; line-height: 1.7; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 18px; }
.footer__col a, .footer__col p { display: block; color: var(--fg-soft); font-size: 0.94rem; padding: 6px 0; transition: color 0.3s; }
.footer__col a:hover { color: var(--accent-soft); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--border); }
.footer__bottom p { font-size: 0.82rem; color: var(--muted); }
.footer__bottom .mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; }

/* ---------- Cookie popup ---------- */
.cookie-popup { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: center; padding: 24px; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); -webkit-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-card); border: 1px solid var(--border-strong); padding: 32px 34px; max-width: 480px; border-radius: 14px; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.7); }
.cookie-popup__label { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent); margin-bottom: 12px; }
.cookie-popup__card h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 12px; letter-spacing: -0.01em; }
.cookie-popup__card p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button { padding: 11px 22px; border: 1px solid var(--border-strong); border-radius: 9999px; font-size: 0.88rem; font-weight: 600; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.cookie-popup__actions button:first-child { color: var(--fg-soft); }
.cookie-popup__actions button:first-child:hover { border-color: var(--fg-soft); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #221606; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent-soft); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-soft); border: 1px solid var(--border); border-radius: 9999px; padding: 7px 16px; }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
