/* palette: bg=#DEDED2 fg=#1B1814 accent=#FF3D2E */
/* fonts: display="Fraunces" body="Inter Tight" mono="IBM Plex Mono" */

:root {
  --bg: #DEDED2;
  --bg-alt: #C9C7B6;
  --bg-deep: #1B1814;
  --fg: #1B1814;
  --fg-soft: #3A3530;
  --muted: #6F6A60;
  --accent: #FF3D2E;
  --accent-deep: #C5251A;
  --paper: #F2EFE6;
  --ink-blue: #2138C7;
  --border: rgba(27, 24, 20, 0.16);
  --border-strong: rgba(27, 24, 20, 0.42);
  --serif: 'Fraunces', ui-serif, Georgia, serif;
  --sans: 'Inter Tight', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Menlo', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 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: 17px;
  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(--paper); }

/* — typography */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.h1 { font-size: clamp(3.5rem, 10vw, 9rem); font-weight: 300; }
.h2 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -0.02em; line-height: 1.05; }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2.25rem); line-height: 1.12; }
em { font-style: italic; color: var(--accent); font-feature-settings: 'ss01'; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg-soft);
}
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--fg-soft); max-width: 56ch; }
p { font-size: 17px; line-height: 1.75; }

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

section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }

/* — header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(222, 222, 210, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 0 rgba(27, 24, 20, 0.04);
}
.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
@media (max-width: 720px) { .header__inner { padding: 0 20px; } }

.brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 22px; height: 22px;
  border: 1.5px solid var(--fg);
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}
.brand__mark::after {
  content: '';
  position: absolute;
  inset: 5px 5px auto auto;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
}
.brand i { font-style: italic; color: var(--accent); }

.nav { display: flex; gap: 36px; justify-self: center; }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-soft);
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav a:hover { color: var(--fg); }
.nav a[aria-current="page"] { color: var(--fg); }
.nav a[aria-current="page"]::before {
  content: '·';
  position: absolute;
  left: -10px;
  color: var(--accent);
  font-size: 24px;
  top: -8px;
}
@media (max-width: 880px) { .nav { display: none; } }

.header__cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 22px;
  background: var(--fg);
  color: var(--paper);
  border-radius: 999px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.header__cta:hover { background: var(--accent); transform: translateY(-1px); }
@media (max-width: 880px) { .header__cta { display: none; } }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--fg);
  transition: transform 0.3s var(--ease), opacity 0.2s 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 (max-width: 880px) { .menu-toggle { display: flex; } }

.mobile-menu {
  position: fixed;
  inset: 70px 0 0 0;
  background: var(--bg);
  z-index: 90;
  padding: 60px 24px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}
.mobile-menu[data-open="true"] {
  transform: translateY(0);
  pointer-events: all;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 300;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.02em;
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .header__cta {
  display: inline-block;
  margin-top: 28px;
  width: fit-content;
}

/* — hero */
.hero {
  min-height: 100vh;
  padding: 80px 0 60px;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
  z-index: 2;
}
@media (max-width: 720px) { .hero__grid { padding: 0 20px; } }
.hero__eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--fg);
}
.hero h1 {
  font-size: clamp(3.5rem, 11.5vw, 10.5rem);
  letter-spacing: -0.04em;
  line-height: 0.92;
  font-weight: 300;
  max-width: 14ch;
}
.hero h1 .stack {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.18em;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  vertical-align: top;
  margin-top: 0.6em;
  margin-left: 0.4em;
  font-weight: 500;
  color: var(--fg-soft);
}
.hero h1 .skew {
  display: inline-block;
  transform: translateY(-0.06em) rotate(-2deg);
  font-style: italic;
}

.hero__row {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 56px;
}
@media (max-width: 880px) { .hero__row { grid-template-columns: 1fr; gap: 36px; } }

.hero__lead {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.4;
  font-weight: 300;
  max-width: 42ch;
  color: var(--fg);
}
.hero__lead em { color: var(--accent); }

.hero__meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-soft);
  display: grid;
  gap: 14px;
}
.hero__meta div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.hero__meta strong { font-weight: 500; color: var(--fg); }

.hero__visual {
  position: absolute;
  right: -8%;
  top: 18%;
  width: 38vw;
  max-width: 540px;
  aspect-ratio: 5/6;
  z-index: 1;
  overflow: hidden;
  background: var(--bg-deep);
  transform: rotate(2.5deg);
  border: 1px solid var(--border-strong);
}
.hero__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.85;
  animation: heroZoom 9s var(--ease) forwards;
}
.hero__visual::after {
  content: 'NÚCLEO//01'; position: absolute; bottom: 14px; left: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--paper); opacity: 0.7;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
@media (max-width: 880px) {
  .hero__visual { position: relative; right: auto; top: auto; width: 100%; max-width: none; margin-top: 32px; transform: rotate(1.5deg); }
}

.hero__scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-soft); display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__scroll::after {
  content: ''; width: 1px; height: 28px; background: var(--fg-soft);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { transform: scaleY(1); transform-origin: top; } 50% { transform: scaleY(0.4); } }

/* — buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn--primary { background: var(--fg); color: var(--paper); }
.btn--primary:hover { background: var(--accent); transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--paper); }
.btn--accent:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border-strong); }
.btn--ghost:hover { background: var(--fg); color: var(--paper); border-color: var(--fg); }
.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
  transition: gap 0.3s var(--ease);
}
.link:hover { gap: 14px; }

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

/* — section header */
.s-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 80px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.s-head__index { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-soft); }
.s-head h2 { max-width: 18ch; }
@media (max-width: 760px) { .s-head { grid-template-columns: 1fr; gap: 24px; } }

/* — features grid (deliberately broken: 11 col) */
.features {
  background: var(--bg);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.feature {
  background: var(--bg);
  padding: 56px 40px 40px;
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.35s var(--ease);
}
.feature:hover { background: var(--paper); }
.feature:nth-child(1) { grid-column: span 5; }
.feature:nth-child(2) { grid-column: span 6; padding-top: 100px; }
.feature:nth-child(3) { grid-column: span 7; padding-top: 80px; }
.feature:nth-child(4) { grid-column: span 4; }
@media (max-width: 880px) {
  .features__grid { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(n) { grid-column: span 1; padding: 48px 28px; min-height: 320px; }
}
.feature__num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase;
}
.feature__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.feature__icon svg { width: 100%; height: 100%; stroke: var(--fg); fill: none; stroke-width: 1.2; }
.feature h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 14ch;
}
.feature p { color: var(--fg-soft); font-size: 16px; line-height: 1.65; max-width: 38ch; }
.feature__tag {
  margin-top: 28px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}

/* — manifesto (inverted) */
.manifesto {
  background: var(--bg-deep);
  color: var(--paper);
  padding: clamp(120px, 16vw, 220px) 0;
  position: relative;
}
.manifesto::before {
  content: '“'; position: absolute;
  font-family: var(--serif); font-size: clamp(14rem, 28vw, 28rem);
  line-height: 0.7; color: var(--accent); opacity: 0.18;
  top: 60px; left: -2vw;
  pointer-events: none;
}
.manifesto__inner {
  max-width: 1080px; margin: 0 auto; padding: 0 32px;
  position: relative; z-index: 2;
}
.manifesto .eyebrow { color: rgba(242, 239, 230, 0.55); margin-bottom: 36px; display: block; }
.manifesto p {
  font-family: var(--serif);
  font-size: clamp(2rem, 5.2vw, 4.2rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 300;
  margin: 0;
}
.manifesto p em { color: var(--accent); }
.manifesto__cite {
  margin-top: 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(242, 239, 230, 0.7);
}
.manifesto__cite::before {
  content: ''; width: 60px; height: 1px; background: var(--accent);
}

/* — process / how it works */
.process { background: var(--paper); }
.process__list { display: grid; gap: 0; }
.process__item {
  display: grid;
  grid-template-columns: 0.8fr 0.4fr 1.8fr 0.6fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  position: relative;
}
.process__item:first-child { border-top: 1px solid var(--border); }
.process__num {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.04em;
}
.process__num em { color: var(--accent); }
.process__label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-soft); padding-top: 12px;
}
.process__body h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  font-weight: 300; margin-bottom: 14px;
}
.process__body p { color: var(--fg-soft); max-width: 56ch; }
.process__time {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); padding-top: 12px; text-align: right;
}
@media (max-width: 880px) {
  .process__item { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
  .process__time { text-align: left; }
}

/* — pricing */
.pricing { background: var(--bg); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.tier {
  padding: 48px 40px 56px;
  border-right: 1px solid var(--border);
  background: var(--bg);
  display: flex; flex-direction: column;
  position: relative;
  transition: background 0.4s var(--ease);
}
.tier:last-child { border-right: 0; }
.tier:hover { background: var(--paper); }
.tier--featured {
  background: var(--bg-deep);
  color: var(--paper);
}
.tier--featured:hover { background: var(--bg-deep); }
.tier--featured .tier__name { color: var(--paper); }
.tier--featured .tier__price { color: var(--paper); }
.tier--featured ul { color: rgba(242, 239, 230, 0.78); }
.tier--featured ul li::before { background: var(--accent); }
.tier__badge {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  background: rgba(255, 61, 46, 0.12); padding: 6px 10px;
  border: 1px solid var(--accent);
}
.tier__name {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.tier__sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-soft); margin-bottom: 32px; }
.tier--featured .tier__sub { color: rgba(242, 239, 230, 0.6); }
.tier__price {
  font-family: var(--serif); font-size: clamp(2.5rem, 4.5vw, 3.6rem);
  font-weight: 300; letter-spacing: -0.03em;
  line-height: 1; margin-bottom: 4px;
}
.tier__price small { font-size: 0.32em; font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-soft); display: inline-block; margin-left: 8px; }
.tier--featured .tier__price small { color: rgba(242, 239, 230, 0.6); }
.tier__period { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 36px; }
.tier ul { list-style: none; margin: 0 0 36px; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.tier ul li {
  font-size: 15px; line-height: 1.5; color: var(--fg-soft);
  padding-left: 24px; position: relative;
}
.tier ul li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 12px; height: 1px; background: var(--fg-soft);
}
.tier .btn { width: 100%; justify-content: center; }
@media (max-width: 880px) {
  .pricing__grid { grid-template-columns: 1fr; }
  .tier { border-right: 0; border-bottom: 1px solid var(--border); }
  .tier:last-child { border-bottom: 0; }
}

/* — stack / integrations */
.stack { background: var(--bg-alt); padding: clamp(80px, 11vw, 140px) 0; }
.stack__row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 56px;
}
.stack__cell {
  padding: 32px 16px;
  text-align: center;
  border-right: 1px solid var(--border);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  cursor: default;
}
.stack__cell:last-child { border-right: 0; }
.stack__cell:hover { background: var(--fg); color: var(--paper); }
.stack__cell em { color: var(--accent); font-size: 0.65em; vertical-align: top; font-family: var(--mono); letter-spacing: 0.1em; }
@media (max-width: 880px) {
  .stack__row { grid-template-columns: repeat(2, 1fr); }
  .stack__cell { border-bottom: 1px solid var(--border); }
  .stack__cell:nth-child(2n) { border-right: 0; }
}

/* — testimonials */
.testi { background: var(--paper); }
.testi__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}
.testi__card {
  padding: 56px 48px;
  border-right: 1px solid var(--border);
  background: var(--paper);
  display: flex; flex-direction: column;
  position: relative;
}
.testi__card:nth-child(2n) { border-right: 0; }
.testi__card:nth-child(n+3) { border-top: 1px solid var(--border); }
.testi__card:nth-child(2) { background: var(--bg); }
.testi__card:nth-child(3) { background: var(--bg); }
.testi__quote {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin-bottom: 36px;
  flex: 1;
}
.testi__quote::before { content: '“'; color: var(--accent); margin-right: 4px; }
.testi__quote::after { content: '”'; color: var(--accent); }
.testi__person {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.avatar--mono {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--paper);
  flex: 0 0 auto;
}
.testi__name { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.testi__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--fg-soft); margin-top: 2px; }
@media (max-width: 720px) {
  .testi__grid { grid-template-columns: 1fr; }
  .testi__card { border-right: 0; border-bottom: 1px solid var(--border); padding: 40px 28px; }
  .testi__card:last-child { border-bottom: 0; }
  .testi__card:nth-child(n+3) { border-top: 0; }
}

/* — final CTA */
.cta {
  background: var(--accent);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.cta__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: end;
}
.cta h2 {
  color: var(--paper);
  max-width: 14ch;
  font-size: clamp(2.5rem, 7vw, 6rem);
  letter-spacing: -0.03em;
}
.cta h2 em { color: var(--bg-deep); font-style: italic; }
.cta__side { display: flex; flex-direction: column; gap: 24px; }
.cta__side p { color: rgba(242, 239, 230, 0.85); }
.cta .btn { background: var(--bg-deep); color: var(--paper); align-self: flex-start; }
.cta .btn:hover { background: var(--paper); color: var(--bg-deep); }
.cta::after {
  content: '↗';
  position: absolute; top: 60px; right: 60px;
  font-family: var(--serif); font-size: clamp(8rem, 14vw, 14rem);
  font-weight: 300; line-height: 0.7;
  color: var(--bg-deep); opacity: 0.18;
  pointer-events: none;
}
@media (max-width: 880px) { .cta__inner { grid-template-columns: 1fr; gap: 32px; } .cta::after { display: none; } }

/* — footer */
.footer {
  background: var(--bg-deep);
  color: var(--paper);
  padding: 100px 0 36px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(242, 239, 230, 0.16);
}
.footer__brand {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300; letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 24px;
}
.footer__brand i { font-style: italic; color: var(--accent); }
.footer__addr { color: rgba(242, 239, 230, 0.68); font-size: 14px; line-height: 1.65; max-width: 32ch; }
.footer__addr strong { color: var(--paper); font-weight: 500; display: block; margin-bottom: 4px; }
.footer__col h4 {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(242, 239, 230, 0.55);
  margin-bottom: 24px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-family: var(--serif); font-size: 18px; font-weight: 300; transition: color 0.2s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 32px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(242, 239, 230, 0.55);
}
.footer__bottom div:last-child { text-align: right; }
.footer__bottom a:hover { color: var(--accent); }
@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 56px; }
  .footer__brand-col { grid-column: 1 / -1; }
  .footer__bottom { grid-template-columns: 1fr; gap: 12px; }
  .footer__bottom div:last-child { text-align: left; }
}

/* — about page */
.intro {
  padding-top: 80px;
}
.intro__hero {
  display: grid;
  grid-template-columns: 0.4fr 1.6fr;
  gap: 64px;
  margin-bottom: 100px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 80px;
}
.intro__meta { display: flex; flex-direction: column; gap: 24px; }
.intro h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 0.96;
  max-width: 16ch;
}
.intro h1 em { color: var(--accent); }
@media (max-width: 880px) { .intro__hero { grid-template-columns: 1fr; gap: 32px; } }

.about-img {
  width: 100%;
  aspect-ratio: 21/9;
  background: var(--bg-deep);
  overflow: hidden;
  margin: 80px 0;
  position: relative;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img figcaption {
  position: absolute; bottom: 16px; left: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--paper); text-transform: uppercase; opacity: 0.78;
  background: rgba(27, 24, 20, 0.5); padding: 6px 10px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  margin-bottom: 80px;
}
.principle {
  padding: 56px 32px 56px 0;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.principle:last-child { border-right: 0; }
.principle__num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--accent); margin-bottom: 24px; text-transform: uppercase; }
.principle h3 { font-size: 1.4rem; font-weight: 300; letter-spacing: -0.02em; margin-bottom: 14px; }
.principle p { color: var(--fg-soft); font-size: 15px; line-height: 1.65; }
@media (max-width: 880px) {
  .principles { grid-template-columns: 1fr; }
  .principle { border-right: 0; padding: 40px 0; }
}

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin: 64px 0;
}
.team__card {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  background: var(--bg);
  transition: background 0.3s var(--ease);
}
.team__card:nth-child(3n) { border-right: 0; }
.team__card:nth-child(n+4) { border-top: 1px solid var(--border); }
.team__card:hover { background: var(--paper); }
.avatar--big {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  color: var(--paper); margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.team__name { font-family: var(--serif); font-size: 1.4rem; font-weight: 300; letter-spacing: -0.02em; margin-bottom: 4px; }
.team__role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.team__bio { font-size: 14px; line-height: 1.6; color: var(--fg-soft); }
@media (max-width: 880px) {
  .team { grid-template-columns: 1fr; }
  .team__card { border-right: 0; border-bottom: 1px solid var(--border); }
  .team__card:nth-child(n+2) { border-top: 0; }
  .team__card:last-child { border-bottom: 0; }
}

/* — services page */
.svc__list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.svc__item {
  display: grid;
  grid-template-columns: 0.4fr 1.4fr 0.6fr;
  gap: 56px;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  transition: background 0.3s var(--ease);
}
.svc__item:hover { background: var(--paper); }
.svc__num {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); padding-top: 14px;
}
.svc__body h3 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300; letter-spacing: -0.025em;
  margin-bottom: 24px; max-width: 16ch;
}
.svc__body h3 em { color: var(--accent); }
.svc__body p { color: var(--fg-soft); max-width: 56ch; margin-bottom: 24px; }
.svc__body ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.svc__body ul li {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-soft); padding-left: 18px; position: relative;
}
.svc__body ul li::before { content: '+'; position: absolute; left: 0; color: var(--accent); }
.svc__time {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-soft); padding-top: 14px; text-align: right;
}
.svc__time strong { display: block; font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 300; color: var(--fg); margin-top: 6px; letter-spacing: -0.03em; }
@media (max-width: 880px) {
  .svc__item { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
  .svc__body ul { grid-template-columns: 1fr; }
  .svc__time { text-align: left; }
}

/* — contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  border-top: 1px solid var(--border);
  padding-top: 80px;
}
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fg-soft);
}
.field input, .field textarea, .field select {
  font: inherit; font-size: 17px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--border-strong);
  background: transparent;
  color: var(--fg);
  outline: none;
  font-family: var(--serif); font-weight: 300;
  transition: border-color 0.3s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--accent); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 720px) { .field--row { grid-template-columns: 1fr; } }
.contact-form button { align-self: flex-start; margin-top: 16px; }
.contact-form .legal { font-size: 12px; color: var(--fg-soft); line-height: 1.6; max-width: 60ch; }
.contact-form .legal a { color: var(--accent); border-bottom: 1px solid currentColor; }

.contact-info { display: flex; flex-direction: column; gap: 40px; padding-left: 32px; border-left: 1px solid var(--border); }
.contact-info__group { display: flex; flex-direction: column; gap: 8px; }
.contact-info__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-soft); }
.contact-info__value { font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 300; letter-spacing: -0.01em; line-height: 1.3; }
.contact-info__value a { transition: color 0.2s var(--ease); }
.contact-info__value a:hover { color: var(--accent); }
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 56px; padding-top: 56px; }
  .contact-info { padding-left: 0; border-left: 0; padding-top: 40px; border-top: 1px solid var(--border); }
}

/* — legal pages */
.legal-page { padding: 80px 0 120px; }
.legal-page .container { max-width: 760px; }
.legal-page h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300; letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.legal-page > .container > .eyebrow { display: block; margin-bottom: 24px; }
.legal-page p.lead { margin-bottom: 56px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.legal-page h2 {
  font-size: 1.8rem; font-weight: 400; letter-spacing: -0.015em;
  margin: 56px 0 16px;
}
.legal-page h3 { font-size: 1.25rem; font-weight: 400; margin: 32px 0 12px; }
.legal-page p, .legal-page li { font-size: 16px; line-height: 1.75; color: var(--fg-soft); margin-bottom: 16px; }
.legal-page ul { padding-left: 22px; }
.legal-page strong { color: var(--fg); font-weight: 500; }

/* — thanks page */
.thanks {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 0;
}
.thanks h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 14ch;
  margin-inline: auto;
}
.thanks h1 em { color: var(--accent); }
.thanks p { max-width: 50ch; margin: 0 auto 36px; color: var(--fg-soft); font-size: 1.1rem; line-height: 1.6; }

/* — 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(27, 24, 20, 0.42);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s 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: 1px solid var(--border-strong);
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.32);
}
.cookie-popup__label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.cookie-popup h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 300; letter-spacing: -0.02em; margin-bottom: 12px; }
.cookie-popup p { font-size: 14px; line-height: 1.6; color: var(--fg-soft); margin: 0; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 22px; }
.cookie-popup__actions button {
  padding: 12px 22px;
  border: 1px solid var(--border-strong);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--paper); border-color: var(--fg); }
.cookie-popup__actions button:hover { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); }
@media (max-width: 540px) {
  .cookie-popup { padding: 12px; }
  .cookie-popup__card { padding: 24px 24px 20px; }
  .cookie-popup__actions { flex-direction: column-reverse; }
  .cookie-popup__actions button { width: 100%; }
}
