/* palette: bg=#F6F6F3 fg=#141414 accent=#C8E600 */
/* fonts: display="Space Grotesk" body="Work Sans" mono="Space Mono" */

:root {
  --bg: #F6F6F3;         /* off-white dominant background (reference) */
  --bg-alt: #ECECE4;     /* alternating section background */
  --fg: #141414;         /* near-black primary text */
  --fg-soft: #2C2C29;    /* slightly lighter foreground */
  --muted: #6A6A62;      /* secondary text */
  --accent: #C8E600;     /* lime/chartreuse — the reference star-burst */
  --accent-deep: #A6C200;/* darker lime for hover */

  /* constructivist / Bauhaus-primary geometric accents (used sparingly) */
  --cobalt: #1B2CC2;
  --poppy: #E33B2E;
  --sun: #F5C518;

  --border: rgba(20, 20, 20, 0.14);
  --border-strong: rgba(20, 20, 20, 0.9);

  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif; /* display */
  --sans: 'Work Sans', ui-sans-serif, system-ui, sans-serif;      /* body */
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  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(--fg); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
  color: var(--fg);
}

/* ---------- layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.section { padding-block: clamp(80px, 12vw, 160px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 104px); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--fg); color: var(--bg); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--bg); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 9px;
  background: var(--accent);
  display: inline-block;
}
.section--dark .eyebrow { color: rgba(246, 246, 243, 0.6); }

.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.25rem);
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 56ch;
}
.section--dark .lead { color: rgba(246, 246, 243, 0.82); }

.muted { color: var(--muted); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { background: var(--accent); color: var(--fg); transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--fg); }
.btn--accent:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--fg); }
.btn--ghost:hover { background: var(--fg); color: var(--bg); transform: translateY(-2px); }
.section--dark .btn--ghost { border-color: rgba(246,246,243,0.5); 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: 9px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.arrow-link:hover { gap: 16px; color: var(--accent-deep); }
.arrow-link .arw { transition: transform 0.3s var(--ease); }
.arrow-link:hover .arw { transform: translateX(3px); }
.section--dark .arrow-link { color: var(--bg); }

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 246, 243, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-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"] {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 30px -18px rgba(0, 0, 0, 0.4);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.26rem;
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 28px; height: 28px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
}
.brand__mark svg { width: 100%; height: 100%; display: block; }

.nav { display: none; gap: 34px; }
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-soft);
  position: relative;
  padding-block: 6px;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s 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__cta { display: none; }
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 11px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  height: 2px; width: 100%;
  background: var(--fg);
  transition: transform 0.35s var(--ease), opacity 0.2s 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);
  padding: 96px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  padding-block: 10px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:first-of-type { border-top: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(60px, 9vw, 110px); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 72px - clamp(100px, 16vw, 190px));
}
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; } }

.hero__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}
.hero__eyebrow::before { content: ""; width: 34px; height: 10px; background: var(--accent); }

.hero h1 {
  font-size: clamp(3.1rem, 9vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 30px;
}
.hero h1 em {
  font-style: normal;
  color: var(--fg);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 0.08em;
  height: 0.34em;
  background: var(--accent);
  z-index: -1;
}
.hero p.lead { margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* geometric composition on the right */
.hero__art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin-inline: auto;
  width: 100%;
}
.hero__frame {
  position: absolute;
  inset: 10% 14% 18% 8%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cobalt);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.45);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }

.burst {
  position: absolute;
  color: var(--accent);
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.12));
}
.hero__burst { top: -4%; right: -2%; width: 36%; animation: spin 36s linear infinite; }
.hero__square { position: absolute; left: -3%; bottom: 6%; width: 22%; aspect-ratio: 1; background: var(--poppy); border-radius: var(--radius); }
.hero__dot { position: absolute; right: 6%; bottom: -3%; width: 15%; aspect-ratio: 1; background: var(--fg); border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .hero__burst { animation: none; }
  .hero__frame img { animation: none; transform: none; }
}

/* ---------- ticker / marquee ---------- */
.ticker {
  border-block: 1px solid var(--border);
  background: var(--fg);
  color: var(--bg);
  overflow: hidden;
  padding-block: 16px;
}
.ticker__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
}
.ticker__track span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.ticker__track span::after { content: "✦"; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------- section heading block ---------- */
.sec-head {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: end;
  margin-bottom: 64px;
}
@media (min-width: 860px) { .sec-head { grid-template-columns: 1.4fr 1fr; gap: 40px; } }
.sec-head .lead { margin: 0; }

/* ---------- services grid ---------- */
.grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 680px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.svc {
  background: var(--bg);
  padding: 40px 34px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 300px;
  transition: background 0.4s var(--ease);
  position: relative;
}
.svc:hover { background: var(--bg-alt); }
.svc__no {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.svc__shape { width: 40px; height: 40px; margin-bottom: 6px; }
.svc h3 { font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1.12; }
.svc p { font-size: 0.98rem; line-height: 1.68; color: var(--muted); margin: 0; }
.svc__tag {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.svc__tag::before { content: ""; width: 10px; height: 10px; background: var(--accent); border-radius: 2px; }

/* ---------- feature / case cards ---------- */
.cases { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .cases { grid-template-columns: 1fr 1fr; } }
.case {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.case:hover { transform: translateY(-4px); box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.22); }
.case__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cobalt); position: relative; }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.case:hover .case__media img { transform: scale(1.05); }
.case__media[data-tint="poppy"] { background: var(--poppy); }
.case__media[data-tint="sun"] { background: var(--sun); }
.case__media[data-tint="accent"] { background: var(--accent); }
.case__tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--bg); color: var(--fg);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 7px 12px; border-radius: 2px;
}
.case__body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case__body h3 { font-size: 1.6rem; letter-spacing: -0.01em; line-height: 1.1; }
.case__body p { margin: 0; color: var(--muted); font-size: 1rem; }
.case__meta { margin-top: auto; padding-top: 14px; display: flex; gap: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-soft); }

/* ---------- stats band ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(246,246,243,0.16); }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--fg); padding: 44px 28px; }
.stat__n { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 7vw, 5.2rem); letter-spacing: -0.04em; line-height: 1; color: var(--accent); }
.stat__l { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(246,246,243,0.72); margin-top: 14px; line-height: 1.5; }

/* ---------- manifesto ---------- */
.manifesto { text-align: center; }
.manifesto .quote-mark { font-family: var(--serif); font-size: clamp(4rem, 10vw, 8rem); line-height: 0.6; color: var(--accent); display: block; margin-bottom: 18px; }
.manifesto p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1.16;
  max-width: 980px;
  margin: 0 auto;
}
.manifesto p em { font-style: normal; color: var(--accent); }
.manifesto .attr { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(246,246,243,0.6); margin-top: 40px; }

/* ---------- approach / numbered ---------- */
.steps { display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding-block: 36px;
  border-top: 1px solid var(--border);
  align-items: start;
}
@media (min-width: 760px) { .step { grid-template-columns: 110px 1fr auto; gap: 40px; align-items: baseline; } }
.step:last-child { border-bottom: 1px solid var(--border); }
.step__n { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; color: var(--fg); }
.step__n::first-letter { color: var(--accent); }
.step__body h3 { font-size: 1.5rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.step__body p { margin: 0; color: var(--muted); max-width: 60ch; }
.step__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft); white-space: nowrap; }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 32px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.quote__text { font-size: 1.08rem; line-height: 1.62; color: var(--fg-soft); }
.quote__who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  color: var(--fg);
  flex: 0 0 auto;
}
.avatar--cobalt { background: var(--cobalt); color: var(--bg); }
.avatar--poppy { background: var(--poppy); color: var(--bg); }
.avatar--sun { background: var(--sun); color: var(--fg); }
.avatar--accent { background: var(--accent); color: var(--fg); }
.quote__name { font-weight: 600; font-size: 0.98rem; line-height: 1.2; }
.quote__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.3vw, 1.45rem);
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { flex: 0 0 auto; width: 22px; height: 22px; position: relative; transition: transform 0.3s var(--ease); }
.faq summary .ico::before, .faq summary .ico::after { content: ""; position: absolute; background: var(--accent-deep); }
.faq summary .ico::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.faq summary .ico::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); transition: opacity 0.3s var(--ease); }
.faq details[open] summary .ico::after { opacity: 0; }
.faq details[open] summary { color: var(--fg); }
.faq__a { padding: 0 44px 30px 0; color: var(--muted); max-width: 70ch; }
.faq__a p { margin: 0 0 12px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -0.025em; line-height: 1.02; max-width: 16ch; margin: 0 auto 28px; }
.cta-band h2 em { font-style: normal; color: var(--accent); }
.cta-band .lead { margin: 0 auto 40px; text-align: center; }
.cta-band__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; gap: 56px; grid-template-columns: 1fr; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 0.9fr; gap: 72px; } }
.form { display: grid; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft); }
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(200, 230, 0, 0.3);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.form .btn { justify-self: start; margin-top: 8px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.consent input { margin-top: 4px; flex: 0 0 auto; accent-color: var(--accent-deep); width: 18px; height: 18px; }
.consent a { border-bottom: 1px solid var(--accent); }

.info-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 34px; display: flex; flex-direction: column; gap: 28px; background: var(--bg); }
.info-block h4 { font-size: 1.05rem; margin-bottom: 8px; }
.info-block p, .info-block a { color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0; }
.info-block a:hover { color: var(--fg); }
.info-block .lab { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-soft); margin-bottom: 10px; display: block; }

/* ---------- generic prose (legal/about) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.015em; margin: 48px 0 18px; }
.prose h3 { font-size: 1.3rem; margin: 32px 0 12px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 1.04rem; line-height: 1.78; }
.prose ul, .prose ol { padding-left: 22px; margin: 16px 0; display: grid; gap: 10px; }
.prose a { border-bottom: 1px solid var(--accent); }
.prose strong { color: var(--fg); }
.page-head { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(32px, 5vw, 56px); }
.page-head h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); letter-spacing: -0.03em; font-weight: 400; line-height: 1.0; margin-bottom: 20px; }
.page-head .crumb { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.page-head .crumb a { border-bottom: 1px solid var(--accent); }

/* ---------- footer ---------- */
.footer { background: var(--fg); color: var(--bg); padding-block: clamp(64px, 9vw, 110px); }
.footer a { color: rgba(246, 246, 243, 0.68); transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--accent); }
.footer__top { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer__top { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }
.footer__brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--bg); margin-bottom: 20px; }
.footer__brand .brand__mark svg { width: 30px; height: 30px; }
.footer__tag { color: rgba(246,246,243,0.72); max-width: 34ch; margin: 0 0 24px; }
.footer__col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246,246,243,0.46); margin: 0 0 18px; font-weight: 400; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__col a, .footer__col p { font-size: 0.96rem; margin: 0; }
.footer__col p { color: rgba(246,246,243,0.68); }
.footer__bottom {
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 28px;
  border-top: 1px solid rgba(246,246,243,0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(246,246,243,0.5);
}
.footer__bottom .legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- 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; } }

/* ---------- 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.4);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  padding: 32px 36px;
  max-width: 480px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.5);
}
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.cookie-popup__label::before { content: ""; width: 14px; height: 8px; background: var(--accent); }
.cookie-popup__card h3 { font-size: 1.4rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.cookie-popup__card p { font-size: 0.94rem; line-height: 1.6; color: var(--muted); margin: 0; }
.cookie-popup__card p a { color: var(--fg); border-bottom: 1px solid var(--accent); }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 12px 24px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s 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); border-color: var(--fg); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); color: var(--fg); border-color: var(--accent); }

/* ---------- misc ---------- */
.divider-shapes { display: flex; gap: 10px; align-items: center; justify-content: center; padding-block: 8px; }
.divider-shapes span { width: 14px; height: 14px; }
.divider-shapes .c1 { background: var(--poppy); border-radius: 50%; }
.divider-shapes .c2 { background: var(--sun); }
.divider-shapes .c3 { background: var(--cobalt); transform: rotate(45deg); }
.divider-shapes .c4 { background: var(--accent); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--fg); color: var(--bg); padding: 12px 20px; z-index: 1000; }
.skip-link:focus { left: 12px; top: 12px; }
