/* palette: bg=#EAE5D9 fg=#141414 accent=#F2C233 */
/* fonts: display="Archivo" body="Work Sans" mono="Space Mono" */

:root {
  --bg: #EAE5D9;        /* dominant off-white cream from reference */
  --bg-alt: #E1DBCB;    /* alternating deeper cream */
  --fg: #141414;        /* near-black primary text */
  --fg-soft: #2C2A26;   /* softer foreground */
  --muted: #6B665C;     /* secondary text */
  --accent: #F2C233;    /* bright yellow from hero overlay */
  --accent-deep: #D6A614; /* darker yellow for hover */
  --green: #2FA167;     /* Bauhaus green stat card */
  --teal: #4FB0A2;      /* teal side-tab from reference */
  --blue: #2554C7;      /* Bauhaus primary blue */
  --red: #D93A2B;       /* Bauhaus primary red */
  --border: rgba(20, 20, 20, 0.14);
  --serif: 'Playfair Display', ui-serif, Georgia, serif;
  --sans: 'Work Sans', ui-sans-serif, system-ui, sans-serif;
  --display: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1280px;
}

*, *::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; }

/* ---------- 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; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--fg); color: var(--bg); }

.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 0 20px;
  display: inline-block;
}
.section--dark .eyebrow { color: var(--accent); }

/* tick-mark divider row (from reference) */
.ticks {
  display: flex;
  gap: 10px;
  overflow: hidden;
  padding: 8px 0;
  color: var(--fg);
  opacity: 0.55;
}
.ticks span { flex: 0 0 auto; width: 1px; height: 18px; background: currentColor; }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(234, 229, 217, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 var(--border), 0 8px 30px -18px rgba(0,0,0,0.4);
}
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 76px;
}
.header__left { display: none; }
@media (min-width: 900px) { .header__left { display: block; } }
.header__eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-soft);
}
.brand {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.brand__mark {
  width: 30px; height: 30px;
  background: var(--accent);
  display: grid; place-items: center;
  color: var(--fg);
  font-weight: 900;
  font-size: 15px;
  border-radius: 2px;
}
.header__nav {
  grid-column: 3;
  justify-self: end;
  display: none;
  gap: 30px;
  align-items: center;
}
@media (min-width: 900px) { .header__nav { display: flex; } }
.header__nav a {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-soft);
  transition: color 0.25s var(--ease);
}
.header__nav a:hover { color: var(--fg); }
.header__nav a.is-cta {
  background: var(--fg);
  color: var(--bg);
  padding: 9px 18px;
  border-radius: 2px;
}
.header__nav a.is-cta:hover { background: var(--accent); color: var(--fg); }

.menu-toggle {
  grid-column: 3;
  justify-self: end;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  gap: 5px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--fg); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 40px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 9vw, 3rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { color: var(--accent-deep); }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero__bars {
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 8px;
}
.hero__bars span { width: 22px; height: 2px; background: var(--fg); opacity: 0.5; }
.hero__inner { text-align: center; position: relative; z-index: 2; max-width: 1100px; }
.hero__statement {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5.2vw, 4.6rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 0;
}
.hero__statement em {
  font-style: normal;
  color: var(--fg);
  background: var(--accent);
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero__h1 {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3.5rem, 12vw, 9rem);
  line-height: 0.86;
  letter-spacing: -0.03em;
  color: var(--accent);
  z-index: 3;
  pointer-events: none;
  white-space: nowrap;
  opacity: 0.94;
}
.hero__meta {
  margin-top: clamp(40px, 8vw, 90px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  position: relative;
  z-index: 4;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 15px 28px;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { background: var(--accent); color: var(--fg); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); transform: translateY(-2px); }
.section--dark .btn--ghost { border-color: var(--bg); }
.section--dark .btn--ghost:hover { background: var(--accent); color: var(--fg); border-color: var(--accent); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.12em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.arrow-link:hover { gap: 14px; color: var(--accent-deep); }

/* ---------- full-bleed image band ---------- */
.imageband {
  height: clamp(220px, 34vw, 460px);
  overflow: hidden;
  position: relative;
}
.imageband img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 12s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }

/* ---------- two-column heavy heading block ---------- */
.headblock { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .headblock { grid-template-columns: 1.15fr 1fr; gap: 60px; } }
.headblock__title {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
}
.headblock__body p { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.78; color: var(--fg-soft); margin: 0 0 20px; }
.headblock__body p:last-child { margin-bottom: 0; }

/* ---------- stat cards (Bauhaus blocks) ---------- */
.stats {
  display: grid;
  gap: 18px;
  margin-top: clamp(48px, 7vw, 90px);
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.statcard {
  padding: 30px 28px;
  border-radius: 2px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.statcard--green { background: var(--green); color: #fff; }
.statcard--yellow { background: var(--accent); color: var(--fg); }
.statcard--blue { background: var(--blue); color: #fff; }
.statcard--plain { background: transparent; border: 1px solid var(--border); }
.statcard__label { font-family: var(--mono); text-transform: uppercase; font-size: 10px; letter-spacing: 0.16em; opacity: 0.85; }
.statcard__value { font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1; letter-spacing: -0.02em; }
.statcard__desc { font-size: 14px; line-height: 1.5; margin-top: 8px; opacity: 0.9; }

/* ---------- services grid ---------- */
.grid-cards { display: grid; gap: 18px; margin-top: 54px; }
@media (min-width: 720px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid-cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  box-shadow: 0 4px 24px -4px rgba(0,0,0,0.08);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px -8px rgba(0,0,0,0.14); }
.card__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  margin-bottom: 22px;
}
.card__icon {
  width: 46px; height: 46px; border-radius: 2px;
  margin-bottom: 22px;
  display: grid; place-items: center;
}
.card__icon svg { width: 24px; height: 24px; }
.card__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.card__text { font-size: 15px; line-height: 1.7; color: var(--fg-soft); margin: 0 0 22px; }
.card__foot { margin-top: auto; }

/* ---------- manifesto dark band ---------- */
.manifesto { text-align: center; }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 960px;
  margin: 0 auto;
}
.manifesto__quote em { font-style: normal; color: var(--accent); }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.5;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

/* ---------- principles / how we work (text-only) ---------- */
.principles { display: grid; gap: 0; margin-top: 50px; border-top: 1px solid var(--border); }
.principle {
  display: grid;
  gap: 14px;
  padding: 34px 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 800px) { .principle { grid-template-columns: 90px 1fr 2fr; gap: 40px; align-items: baseline; } }
.principle__num { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--accent-deep); }
.principle__name { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.01em; }
.principle__text { color: var(--fg-soft); font-size: 15px; line-height: 1.72; margin: 0; }

/* ---------- team (monogram, no faces) ---------- */
.team-grid { display: grid; gap: 18px; margin-top: 50px; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.member { border: 1px solid var(--border); border-radius: 2px; padding: 26px; background: var(--bg); }
.avatar {
  width: 64px; height: 64px; border-radius: 2px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: 22px;
  color: var(--fg); margin-bottom: 20px;
}
.member__name { font-family: var(--display); font-weight: 800; font-size: 1.15rem; margin: 0 0 4px; }
.member__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.member__bio { font-size: 14px; line-height: 1.65; color: var(--fg-soft); margin: 0; }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 18px; margin-top: 50px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: 2px;
  padding: 32px 28px;
  background: var(--bg);
}
.quote:nth-child(2) { border-top-color: var(--green); }
.quote:nth-child(3) { border-top-color: var(--blue); }
.quote p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.55; margin: 0 0 24px; }
.quote__who { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { margin-top: 50px; border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); padding: 28px 0; }
.faq__q { font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; margin: 0 0 12px; }
.faq__a { color: var(--fg-soft); font-size: 15px; line-height: 1.72; margin: 0; }

/* ---------- big CTA ---------- */
.cta { text-align: center; }
.cta__title {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0 0 30px;
}
.cta__title em { font-style: normal; color: var(--accent); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- section heading ---------- */
.sechead { max-width: 780px; }
.sechead h2 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.sechead p { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.78; color: var(--fg-soft); margin: 0; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; gap: 50px; margin-top: 50px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 70px; } }
.form-field { margin-bottom: 22px; }
.form-field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--bg);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--fg);
  transition: border-color 0.25s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--fg); }
.form-field textarea { resize: vertical; min-height: 130px; }
.contact-info dl { margin: 0; }
.contact-info dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 24px; }
.contact-info dd { margin: 6px 0 0; font-size: 1.05rem; }
.contact-info dt:first-child { margin-top: 0; }

/* ---------- footer ---------- */
.footer { background: var(--fg); color: var(--bg); padding: clamp(64px, 9vw, 110px) 0 40px; }
.footer__top { display: grid; gap: 40px; }
@media (min-width: 800px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; } }
.footer__brand { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.6rem; letter-spacing: -0.02em; margin: 0 0 16px; }
.footer__tag { color: rgba(234, 229, 217, 0.6); font-size: 15px; line-height: 1.7; max-width: 340px; margin: 0; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.footer__col a, .footer__col p { display: block; color: rgba(234, 229, 217, 0.78); font-size: 15px; margin: 0 0 12px; transition: color 0.25s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(50px, 8vw, 90px);
  padding-top: 30px;
  border-top: 1px solid rgba(234, 229, 217, 0.16);
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(234, 229, 217, 0.55);
}
.footer__bottom a:hover { color: var(--accent); }

/* ---------- legal pages ---------- */
.legal { padding: clamp(120px, 16vw, 200px) 0 clamp(70px, 10vw, 130px); }
.legal h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 0.95; letter-spacing: -0.02em; margin: 0 0 16px; }
.legal .lead { font-size: 1.1rem; color: var(--fg-soft); max-width: 720px; margin: 0 0 40px; }
.legal h2 { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.01em; margin: 44px 0 14px; }
.legal p, .legal li { font-size: 16px; line-height: 1.78; color: var(--fg-soft); max-width: 760px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }

/* thanks page */
.thanks { min-height: 82vh; display: flex; align-items: center; text-align: center; }
.thanks__inner { max-width: 680px; margin: 0 auto; }
.thanks h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.8rem, 8vw, 6rem); line-height: 0.9; letter-spacing: -0.03em; margin: 0 0 24px; }
.thanks h1 em { font-style: normal; color: var(--accent-deep); }
.thanks p { font-size: 1.15rem; color: var(--fg-soft); margin: 0 0 34px; }

/* ---------- 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; }
.reveal[style*="--i"] { transition-delay: calc(var(--i) * 80ms); }

/* ---------- cookie popup ---------- */
.cookie-popup { position:fixed;inset:0;z-index:9999;display:flex;align-items:flex-end;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);padding:32px 36px;max-width:480px;border-radius:4px;box-shadow:0 20px 60px -12px rgba(0,0,0,0.5);border-top:4px solid var(--accent); }
.cookie-popup__label { font-family:var(--mono);font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:var(--accent-deep);margin-bottom:12px; }
.cookie-popup__card h3 { font-family:var(--display);font-weight:800;font-size:1.4rem;margin:0 0 12px;letter-spacing:-0.01em; }
.cookie-popup__card p { font-size:14px;line-height:1.6;color:var(--fg-soft);margin:0; }
.cookie-popup__actions { display:flex;gap:12px;margin-top:20px; }
.cookie-popup__actions button { padding:10px 24px;border:1px solid var(--border);cursor:pointer;font-size:13px;font-family:var(--mono);letter-spacing:0.08em;text-transform:uppercase;border-radius:2px;transition:background .25s var(--ease),color .25s var(--ease); }
.cookie-popup__actions button:first-child:hover { background:var(--bg-alt); }
.cookie-popup__actions button:last-child { background:var(--fg);color:var(--bg); }
.cookie-popup__actions button:last-child:hover { background:var(--accent-deep);color:var(--fg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
