/* palette: bg=#E4E1D8 fg=#0F0F0D accent=#E8331C */
/* fonts: display="Archivo" body="Inter Tight" mono="Space Mono" */

:root {
  --bg: #E4E1D8;        /* dominant warm grey-beige ground from reference */
  --bg-alt: #DCD8CD;    /* alternating section background */
  --fg: #0F0F0D;        /* near-black primary text */
  --fg-soft: #26251F;   /* softened foreground */
  --muted: #6E6C62;     /* secondary text */
  --accent: #E8331C;    /* vermilion accent (the "New" badge) */
  --accent-deep: #BE2310;
  --tile: #C7B79A;      /* tan specimen tile */
  --tile-ink: #15140F;
  --border: rgba(15, 15, 13, 0.16);
  --border-soft: rgba(15, 15, 13, 0.08);
  --serif: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter Tight', 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;
  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: #fff; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.accent-text { color: var(--accent); font-style: normal; }

/* ---------------- Header ---------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(228, 225, 216, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 rgba(15, 15, 13, 0.08);
  border-bottom-color: var(--border-soft);
}
.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.brand__dot { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; display: inline-block; }
.nav { display: none; gap: 34px; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-soft);
  transition: color 0.25s var(--ease);
}
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { color: var(--accent); }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  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(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 {
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--bg);
  z-index: 99;
  padding: 40px 24px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; transform: none; pointer-events: all; }
.mobile-menu a {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: -0.03em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu a:hover { color: var(--accent); }

/* ---------------- Hero ---------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 96px 0 56px;
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  width: 100%;
  align-items: end;
}
@media (min-width: 940px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
}
.hero__tile {
  aspect-ratio: 4 / 3;
  background: var(--tile);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero__tile-mark {
  position: relative;
  width: 72%;
  height: 72%;
}
.hero__tile-mark span {
  position: absolute;
  background: var(--tile-ink);
}
.tm-1 { left: 0; top: 0; width: 46%; height: 46%; border-radius: 50% 0 50% 50%; }
.tm-2 { right: 0; top: 0; width: 46%; height: 46%; }
.tm-3 { left: 0; bottom: 0; width: 46%; height: 46%; background: var(--accent) !important; }
.tm-4 { right: 0; bottom: 0; width: 46%; height: 46%; border-radius: 0 50% 50% 50%; }
.hero__tile-cap {
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tile-ink);
}
.hero__intro { display: flex; flex-direction: column; }
.hero__eyebrow { margin-bottom: 26px; display: flex; gap: 14px; align-items: center; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero__lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  max-width: 46ch;
  color: var(--fg-soft);
  margin: 0 0 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--fg);
  color: var(--bg);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--accent); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn--ghost:hover { background: transparent; border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.link-arrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-arrow:hover { gap: 13px; color: var(--accent); border-color: var(--accent); }

/* ---------------- Sections ---------------- */
section { padding: clamp(80px, 12vw, 160px) 0; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--fg);
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 0.96;
  margin: 0;
  max-width: 16ch;
}
.section-head__meta { max-width: 34ch; }
.section-head__meta p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.folio {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ---------------- Catalog (signature rows) ---------------- */
.catalog { border-top: 1px solid var(--fg); }
.cat-row {
  display: block;
  padding: 26px 0 4px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.cat-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.cat-row__name { color: var(--fg); }
.cat-row__badge { color: #fff; background: var(--accent); padding: 2px 9px; border-radius: 3px; letter-spacing: 0.1em; }
.cat-row__price { margin-left: auto; color: var(--fg-soft); }
.cat-row__spec {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 8.5vw, 7rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  transition: color 0.35s var(--ease), transform 0.5s var(--ease);
}
.cat-row:hover .cat-row__spec { color: var(--accent); transform: translateX(10px); }
.cat-row:hover .cat-row__price { color: var(--accent); }

/* ---------------- Manifesto (dark band) ---------------- */
.manifesto {
  background: var(--fg);
  color: var(--bg);
}
.manifesto .container { position: relative; }
.manifesto__quote-mark {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(7rem, 18vw, 16rem);
  line-height: 0.6;
  color: var(--accent);
  display: block;
  margin-bottom: -10px;
}
.manifesto p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin: 0 0 40px;
}
.manifesto p em { color: var(--accent); font-style: normal; }
.manifesto__cite {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(228, 225, 216, 0.6);
}

/* ---------------- Work grid (b&w images) ---------------- */
.grid-work {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 760px) { .grid-work { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.work-card { position: relative; }
.work-card__img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
}
.work-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}
.work-card:hover .work-card__img img { transform: scale(1.05); filter: grayscale(0) contrast(1); }
.work-card__cap {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}
.work-card__cap strong { color: var(--fg); font-weight: 400; }

/* ---------------- Feature / principles list ---------------- */
.principles { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--fg); }
@media (min-width: 820px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principle {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 820px) {
  .principle { padding: 40px 36px 48px 0; border-bottom: 1px solid var(--border); }
  .principle:not(:nth-child(3n)) { border-right: 1px solid var(--border); padding-right: 36px; }
  .principle:nth-child(3n) { padding-right: 0; }
  .principle:not(:nth-child(3n)) + .principle { padding-left: 36px; }
}
.principle__num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.12em; }
.principle h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 18px 0 14px;
}
.principle p { margin: 0; color: var(--fg-soft); font-size: 16px; line-height: 1.65; }

/* ---------------- Stats ---------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: 40px 28px; }
.stat__num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat__num span { color: var(--accent); }
.stat__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 14px;
}

/* ---------------- Drop-cap editorial block ---------------- */
.editorial { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .editorial { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.editorial__col p { font-size: 18px; line-height: 1.78; margin: 0 0 24px; color: var(--fg-soft); }
.editorial__col p.lead { font-size: 22px; line-height: 1.55; color: var(--fg); }
.dropcap::first-letter {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 4.6em;
  line-height: 0.74;
  float: left;
  margin: 6px 14px 0 0;
  color: var(--accent);
}

/* ---------------- Newsletter / CTA band ---------------- */
.cta-band { background: var(--bg-alt); }
.cta-band .container { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 880px) { .cta-band .container { grid-template-columns: 1fr 1fr; gap: 64px; } }
.cta-band h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin: 0 0 18px;
}
.cta-band p { color: var(--fg-soft); margin: 0; max-width: 40ch; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 16px;
  padding: 13px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--fg);
  transition: border-color 0.25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; }
.form-note a { color: var(--accent); border-bottom: 1px solid var(--border); }

/* ---------------- Contact info ---------------- */
.info-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 700px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
.info-cell { background: var(--bg); padding: 32px 28px; }
.info-cell h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
  font-weight: 400;
}
.info-cell p { margin: 0; font-size: 17px; line-height: 1.6; }
.info-cell a:hover { color: var(--accent); }

/* ---------------- FAQ ---------------- */
.faq { border-top: 1px solid var(--fg); }
.faq__item { border-bottom: 1px solid var(--border); padding: 28px 0; }
.faq__item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 12px;
}
.faq__item p { margin: 0; color: var(--fg-soft); max-width: 70ch; font-size: 16px; line-height: 1.7; }
.faq__item p + p { margin-top: 10px; }

/* ---------------- Page hero (interior pages) ---------------- */
.page-hero { padding: clamp(120px, 16vw, 200px) 0 clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--fg); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 22px 0 0;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero__lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 52ch; color: var(--fg-soft); margin: 28px 0 0; }

/* ---------------- Footer ---------------- */
.footer { background: var(--fg); color: var(--bg); padding: 80px 0 36px; }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(228,225,216,0.16); }
@media (min-width: 820px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }
.footer__brand { font-family: var(--serif); font-weight: 800; font-size: 30px; letter-spacing: -0.04em; line-height: 1; }
.footer__brand .brand__dot { background: var(--accent); }
.footer__tag { color: rgba(228,225,216,0.66); margin: 18px 0 0; max-width: 32ch; font-size: 15px; }
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(228,225,216,0.5);
  margin: 0 0 18px;
  font-weight: 400;
}
.footer__col a, .footer__col p { display: block; color: rgba(228,225,216,0.86); margin: 0 0 12px; font-size: 15px; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(228,225,216,0.5);
}
.footer__bottom a:hover { color: var(--accent); }

/* ---------------- Scroll 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); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- 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;border:1px solid var(--border); }
.cookie-popup__label { font-family:var(--mono);font-size:10.5px;letter-spacing:0.14em;text-transform:uppercase;color:var(--accent);margin-bottom:12px; }
.cookie-popup__card h3 { font-family:var(--serif);font-weight:600;font-size:22px;letter-spacing:-0.02em;margin:0 0 12px; }
.cookie-popup__card p { margin:0;font-size:14px;line-height:1.6;color:var(--fg-soft); }
.cookie-popup__card p a { color:var(--accent);border-bottom:1px solid var(--border); }
.cookie-popup__actions { display:flex;gap:12px;margin-top:20px; }
.cookie-popup__actions button { padding:11px 24px;border:1px solid var(--border);cursor:pointer;font-family:var(--mono);font-size:11px;letter-spacing:0.08em;text-transform:uppercase;border-radius:9999px;transition:background .25s,color .25s; }
.cookie-popup__actions button:last-child { background:var(--fg);color:var(--bg);border-color:var(--fg); }
.cookie-popup__actions button:last-child:hover { background:var(--accent);border-color:var(--accent); }
.cookie-popup__actions button:first-child:hover { border-color:var(--fg); }

/* ---------------- Misc ---------------- */
.lead-block { max-width: 60ch; }
.legal main { padding-top: 40px; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.02em; margin: 48px 0 16px; }
.legal h3 { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; margin: 28px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.75; color: var(--fg-soft); max-width: 74ch; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.thanks { min-height: 76vh; display: flex; align-items: center; text-align: center; }
.thanks .container { max-width: 680px; }
.thanks h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -0.03em; line-height: 0.98; margin: 22px 0 20px; }
.thanks h1 em { font-style: normal; color: var(--accent); }
.thanks p { font-size: 18px; color: var(--fg-soft); margin: 0 auto 32px; max-width: 48ch; }
