/* palette: bg=#0C0C0D fg=#ECE7DC accent=#6FA98A */
/* fonts: display="Fraunces" body="Space Grotesk" mono="Space Mono" */

:root {
  --bg: #0C0C0D;          /* near-black dominant background (from reference) */
  --bg-alt: #141410;      /* alternating warm dark panel */
  --bg-card: #131315;     /* card surface on dark */
  --fg: #ECE7DC;          /* warm off-white primary text */
  --fg-soft: #C9C3B5;     /* slightly softer foreground */
  --muted: #807B6D;       /* muted taupe-grey — the monospace label color */
  --muted-dim: #55524A;   /* dimmer grey for inactive marks */
  --accent: #6FA98A;      /* glazed celadon green accent */
  --accent-deep: #4E846A; /* darker green for hover / on-light */
  --accent-soft: rgba(111, 169, 138, 0.14);
  --border: rgba(236, 231, 220, 0.12);
  --border-strong: rgba(236, 231, 220, 0.22);
  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1280px;
}

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

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

.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section--tight { padding: clamp(56px, 8vw, 110px) 0; }
.section--alt { background: var(--bg-alt); }

.rule { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.eyebrow--plain::before { display: none; }

.display {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
}
h1.display { font-size: clamp(3.25rem, 10vw, 8.5rem); }

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0;
}
em { font-style: italic; color: var(--accent); }

.lede {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
  color: var(--fg-soft);
  font-weight: 300;
  max-width: 60ch;
}
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

.mono-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 9999px;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  border: 1px solid transparent;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: #0B140F; }
.btn--primary:hover { background: var(--fg); color: var(--bg); }
.btn--ghost { border-color: var(--border-strong); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--dark { background: var(--bg); color: var(--fg); }
.btn--dark:hover { background: var(--accent); color: #0B140F; }

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

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: flex-end;
  padding: clamp(28px, 6vw, 64px);
  animation: preloaderOut 0.8s var(--ease) 2.6s forwards;
}
.preloader.is-done { animation: preloaderOut 0.6s var(--ease) forwards; }
@keyframes preloaderOut {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.preloader__inner { width: 100%; max-width: 520px; }
.preloader__status {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 34px;
}
.preloader__status::after {
  content: "_";
  color: var(--accent);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.preloader__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-dim);
  padding: 9px 0;
  opacity: 0;
  animation: rowIn 0.5s var(--ease) forwards;
}
.preloader__row:nth-child(1) { animation-delay: 0.2s; }
.preloader__row:nth-child(2) { animation-delay: 0.5s; }
.preloader__row:nth-child(3) { animation-delay: 0.8s; }
.preloader__row:nth-child(4) { animation-delay: 1.1s; }
.preloader__row:nth-child(5) { animation-delay: 1.4s; }
@keyframes rowIn { to { opacity: 1; color: var(--muted); } }
.preloader__dots { letter-spacing: 0.32em; color: var(--muted-dim); }
.preloader__dots b { color: var(--accent); font-weight: 400; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 13, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  background: rgba(12, 12, 13, 0.9);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.8);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.nav { display: none; align-items: center; gap: 38px; }
.nav__link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--fg); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }
.header__cta { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  margin-right: -10px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--fg);
  transition: transform 0.4s 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); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 100px 28px 40px;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease);
  visibility: hidden;
}
.mobile-menu[data-open="true"] { transform: translateY(0); visibility: visible; }
.mobile-menu__link {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 12vw, 3.4rem);
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.mobile-menu__link span { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.mobile-menu__foot { margin-top: auto; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 120px;
  padding-bottom: 0;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,12,13,0.72) 0%, rgba(12,12,13,0.45) 40%, rgba(12,12,13,0.92) 100%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 1;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 100% 25%, 25% 100%;
  opacity: 0.35;
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(40px, 6vw, 72px); }
.hero__eyebrow { margin-bottom: 34px; }
.hero__title { max-width: 16ch; }
.hero__sub { margin-top: 34px; max-width: 52ch; }
.hero__actions { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.hero__index {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  margin-top: clamp(48px, 8vw, 90px);
  padding: 22px 0 26px;
  display: grid;
  gap: 4px;
}
.hero__index-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 0;
}
.hero__index-row .dots { color: var(--muted-dim); letter-spacing: 0.3em; }
.hero__index-row .dots b { color: var(--accent); font-weight: 400; }

/* ---------- Section head ---------- */
.section-head { max-width: 68ch; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .lede { margin-top: 28px; }
.section-head--split {
  display: grid;
  gap: 32px;
  align-items: end;
  max-width: none;
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.4fr 1fr; }
  .section-head--split .lede { margin-top: 0; }
}

/* ---------- Index / chapters (Sumário) ---------- */
.index-list { border-top: 1px solid var(--border); }
.index-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.5s var(--ease);
}
.index-item:hover { padding-left: 14px; }
.index-item__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 8px;
}
.index-item__body { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .index-item__body { grid-template-columns: 1.1fr 1.4fr; gap: 40px; align-items: start; }
}
.index-item__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.04;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: color 0.4s var(--ease);
}
.index-item__title .a { color: var(--accent); opacity: 0; transform: translateX(-8px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.index-item:hover .index-item__title .a { opacity: 1; transform: translateX(0); }
.index-item__desc { color: var(--fg-soft); font-size: 1rem; line-height: 1.7; font-weight: 300; }
.index-item__tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 5px 12px;
}

/* ---------- Manifesto (inverted light band) ---------- */
.manifesto {
  background: var(--fg);
  color: var(--bg);
}
.manifesto .eyebrow { color: rgba(12,12,13,0.55); }
.manifesto .eyebrow::before { background: var(--accent-deep); }
.manifesto__quote {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1.14;
  max-width: 20ch;
  margin: 0;
}
.manifesto__quote em { color: var(--accent-deep); }
.manifesto__mark {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 12rem);
  line-height: 0.6;
  color: var(--accent-deep);
  display: block;
  margin-bottom: -0.1em;
}
.manifesto__cite {
  margin-top: 44px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(12,12,13,0.62);
}

/* ---------- Cards (projetos) ---------- */
.cards {
  display: grid;
  gap: 28px;
}
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.9);
}
.card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.9s var(--ease), opacity 0.5s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); opacity: 1; }
.card__index {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg);
  background: rgba(12,12,13,0.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 4px;
}
.card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card__kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.card__title { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.12; letter-spacing: -0.01em; }
.card__desc { color: var(--fg-soft); font-size: 0.98rem; line-height: 1.7; font-weight: 300; }
.card__foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; }
.card__meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }

/* Feature grid (services detail) */
.feature-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
@media (min-width: 760px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
.feature {
  background: var(--bg);
  padding: clamp(30px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.5s var(--ease);
}
.feature:hover { background: var(--bg-card); }
.feature__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--accent); }
.feature__title { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; letter-spacing: -0.01em; line-height: 1.1; }
.feature__desc { color: var(--fg-soft); font-size: 1rem; line-height: 1.72; font-weight: 300; }
.feature__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.feature__list li {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted);
  padding-left: 20px; position: relative; text-transform: uppercase;
}
.feature__list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 1px; background: var(--border); border-block: 1px solid var(--border); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--bg); padding: clamp(34px, 5vw, 56px) 28px; }
.stat__num { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -0.03em; line-height: 1; }
.stat__num em { color: var(--accent); font-style: normal; }
.stat__label { margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }

/* ---------- Approach / steps ---------- */
.steps { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.step { background: var(--bg); padding: clamp(28px, 4vw, 44px); display: grid; gap: 12px; grid-template-columns: auto 1fr; align-items: start; }
.step__num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; padding-top: 6px; min-width: 42px; }
.step__title { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; letter-spacing: -0.01em; }
.step__desc { color: var(--fg-soft); font-weight: 300; font-size: 1rem; line-height: 1.7; margin-top: 8px; }

/* ---------- Split media ---------- */
.split { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--flip .split__media { order: -1; } }
.split__media { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 5; border: 1px solid var(--border); }
.split__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.split__body { display: grid; gap: 22px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); max-width: 900px; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  text-align: left;
  padding: clamp(24px, 3vw, 34px) 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--fg);
}
.faq__icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--accent); transition: transform 0.4s var(--ease); }
.faq__icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq__icon::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.faq__item[open] .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__a { padding: 0 0 clamp(24px, 3vw, 34px); color: var(--fg-soft); font-weight: 300; max-width: 68ch; line-height: 1.75; }
.faq__q::-webkit-details-marker { display: none; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; }
.cta__inner { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .cta__inner { grid-template-columns: 1.5fr 1fr; } }
.cta__title { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.02em; line-height: 1.04; margin: 0; }
.cta__title em { color: var(--accent); }
.cta__actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
@media (min-width: 900px) { .cta__actions { align-items: flex-end; } }

/* ---------- Form ---------- */
.form { display: grid; gap: 26px; }
.form__row { display: grid; gap: 26px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 10px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field textarea, .field select {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--fg);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  padding: 12px 0;
  transition: border-color 0.35s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-dim); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--accent); }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; }
.form__note { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); line-height: 1.7; }
.form__note a { color: var(--accent); }

.contact-grid { display: grid; gap: clamp(40px, 6vw, 80px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-block { display: grid; gap: 8px; padding: 26px 0; border-top: 1px solid var(--border); }
.contact-block__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-block__value { font-family: var(--serif); font-weight: 300; font-size: 1.4rem; letter-spacing: -0.01em; line-height: 1.3; }
.contact-block__value a { transition: color 0.3s var(--ease); }
.contact-block__value a:hover { color: var(--accent); }

/* ---------- Team (text / monogram) ---------- */
.team { display: grid; gap: 28px; }
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .team { grid-template-columns: repeat(3, 1fr); } }
.member { border: 1px solid var(--border); border-radius: 6px; padding: 30px; display: grid; gap: 18px; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.member:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  color: #0B140F;
  letter-spacing: -0.02em;
}
.member__name { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; letter-spacing: -0.01em; }
.member__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-top: -8px; }
.member__bio { color: var(--fg-soft); font-weight: 300; font-size: 0.95rem; line-height: 1.7; }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.01em; margin: 56px 0 18px; line-height: 1.15; }
.prose h3 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; margin: 32px 0 12px; }
.prose p, .prose li { color: var(--fg-soft); font-weight: 300; line-height: 1.8; }
.prose ul { padding-left: 22px; display: grid; gap: 8px; margin: 0 0 1.4em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--fg); font-weight: 500; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 40px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: clamp(64px, 9vw, 120px) 0 40px; }
.footer__top { display: grid; gap: 48px; }
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__brand .brand { font-size: 1.6rem; margin-bottom: 20px; }
.footer__tag { color: var(--fg-soft); font-weight: 300; max-width: 34ch; line-height: 1.6; }
.footer__col h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; font-weight: 400; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__col a { color: var(--fg-soft); font-size: 0.95rem; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__wordmark {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.5rem, 18vw, 15rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--bg-card);
  margin-top: clamp(40px, 6vw, 80px);
  white-space: nowrap;
  overflow: hidden;
  -webkit-user-select: none; user-select: none;
}

/* ---------- 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.5);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.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: 8px;
}
.cookie-popup__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cookie-popup__card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; letter-spacing: -0.01em; margin: 0 0 12px; }
.cookie-popup__card p { font-size: 0.95rem; color: var(--fg-soft); font-weight: 300; line-height: 1.7; margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 24px; }
.cookie-popup__actions button {
  flex: 1;
  padding: 13px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 9999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.cookie-popup__actions button:hover { border-color: var(--fg); }
.cookie-popup__actions button:last-child { background: var(--accent); color: #0B140F; border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--fg); border-color: var(--fg); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-delay: 0ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__bg img { animation: none; }
  .preloader { display: none; }
}

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: clamp(140px, 20vh, 220px) 0 clamp(60px, 8vw, 110px); position: relative; }
.page-hero__title { max-width: 18ch; }
.page-hero__sub { margin-top: 30px; }
.breadcrumb { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 30px; }
.breadcrumb a:hover { color: var(--accent); }
