/* palette: bg=#ECE7D6 fg=#0B0B0B accent=#E63946 */
/* fonts: display="Archivo" body="Work Sans" mono="IBM Plex Mono" */

:root {
  --bg: #ECE7D6;
  --bg-alt: #DCD5BD;
  --bg-deep: #0B0B0B;
  --fg: #0B0B0B;
  --fg-soft: #1A1A1A;
  --muted: #6B6555;
  --line: #2A2620;

  --red: #E63946;
  --red-deep: #B91C1C;
  --blue: #1D4ED8;
  --blue-deep: #1E3A8A;
  --yellow: #F2C53D;
  --cream: #F4F0E0;

  --accent: #E63946;
  --accent-deep: #B91C1C;

  --border: rgba(11, 11, 11, 0.16);
  --border-strong: rgba(11, 11, 11, 0.95);

  --serif: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Work Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1280px;
  --pad: clamp(20px, 4vw, 40px);
}

*, *::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.72;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  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; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--fg); color: var(--bg); }

/* ───────────────── typography ───────────────── */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--fg);
  margin: 0;
  letter-spacing: -0.022em;
  line-height: 1.04;
}

.h-display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.4rem, 9.5vw, 8.5rem);
  letter-spacing: -0.035em;
  line-height: 0.94;
}

.h-section {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.6vw, 4.8rem);
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.h-eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
}

.h-eyebrow--dot::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-2px);
}

p { margin: 0; }
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.62;
  color: var(--fg-soft);
  max-width: 60ch;
}

em { font-style: italic; color: var(--red); font-family: var(--serif); font-weight: 500; }
.em-blue { font-style: italic; color: var(--blue); font-family: var(--serif); font-weight: 500; }
.em-yellow { background: var(--yellow); color: var(--fg); font-style: normal; padding: 0 0.18em; }

/* ───────────────── layout primitives ───────────────── */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

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

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: 240px 1fr; gap: 60px; align-items: end; }
}

.section-head__label {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.section-head__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.divider {
  height: 1px;
  background: var(--border-strong);
  width: 100%;
}

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

/* ───────────────── buttons ───────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border: 1px solid var(--fg);
  background: var(--fg);
  color: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--red); border-color: var(--red); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
}
.btn--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--inverse {
  background: var(--bg);
  color: var(--fg);
  border-color: var(--bg);
}
.btn--inverse:hover { background: var(--red); border-color: var(--red); color: var(--bg); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--fg);
  padding-bottom: 4px;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.arrow-link:hover { gap: 16px; color: var(--red); border-color: var(--red); }
.arrow-link svg { width: 14px; height: 14px; }

/* ───────────────── header ───────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(236, 231, 214, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header[data-scrolled="true"] {
  border-bottom-color: var(--border-strong);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.brand__mark {
  width: 28px; height: 28px;
  position: relative;
  flex-shrink: 0;
}
.brand__mark::before, .brand__mark::after {
  content: "";
  position: absolute;
  inset: 0;
}
.brand__mark::before {
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.brand__mark::after {
  background: var(--fg);
  clip-path: circle(28% at 72% 72%);
}
.brand small {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  line-height: 1;
  margin-top: 4px;
}

.nav {
  display: none;
}
@media (min-width: 900px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 36px;
  }
}
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--red);
  transition: right .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--red); }

.header__cta {
  display: none;
}
@media (min-width: 900px) { .header__cta { display: inline-flex; } }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 8px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--fg);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  transform-origin: center;
}
.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 {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--bg);
  z-index: 99;
  padding: 40px var(--pad);
  transform: translateY(-110%);
  transition: transform .45s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-bottom: 1px solid var(--fg);
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--fg);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

/* ───────────────── hero ───────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 60px 0 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: 40px;
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: end; }
}

.hero__headline {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-self: end;
}
.hero__meta p {
  max-width: 36ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-soft);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.hero__index {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 60px;
  border-top: 1px solid var(--border-strong);
  margin-top: 80px;
}
@media (max-width: 700px) {
  .hero__index { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
.hero__index__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero__index__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.hero__index__label {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* hero geometric backdrop */
.hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.shape {
  position: absolute;
  animation: heroZoom 9s var(--ease) both;
}
@keyframes heroZoom {
  from { transform: scale(1.08); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.shape--circle-red {
  top: 8%;
  right: 6%;
  width: clamp(180px, 26vw, 360px);
  aspect-ratio: 1;
  background: var(--red);
  border-radius: 50%;
}
.shape--square-blue {
  bottom: 22%;
  right: 22%;
  width: clamp(80px, 12vw, 160px);
  aspect-ratio: 1;
  background: var(--blue);
}
.shape--tri-yellow {
  top: 14%;
  right: 30%;
  width: 0; height: 0;
  border-left: clamp(60px, 10vw, 120px) solid transparent;
  border-right: clamp(60px, 10vw, 120px) solid transparent;
  border-bottom: clamp(110px, 18vw, 210px) solid var(--yellow);
}
.shape--bar-black {
  top: 38%;
  right: 8%;
  width: clamp(140px, 22vw, 320px);
  height: 6px;
  background: var(--fg);
}
.shape--ring {
  bottom: 12%;
  right: 8%;
  width: clamp(120px, 18vw, 220px);
  aspect-ratio: 1;
  border: 6px solid var(--fg);
  border-radius: 50%;
}
@media (max-width: 700px) {
  .shape--circle-red { top: 4%; right: -10%; width: 200px; }
  .shape--square-blue { display: none; }
  .shape--tri-yellow { top: 28%; right: 60%; }
  .shape--bar-black { display: none; }
  .shape--ring { bottom: 4%; right: -10%; width: 140px; }
}

/* ───────────────── manifesto / quote ───────────────── */

.manifesto {
  background: var(--bg-deep);
  color: var(--cream);
  padding: clamp(100px, 14vw, 180px) 0;
}
.manifesto h2 {
  color: var(--cream);
  font-size: clamp(2rem, 5vw, 4.2rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.manifesto em { color: var(--yellow); }
.manifesto .em-blue { color: #93C5FD; }
.manifesto__attrib {
  display: block;
  text-align: center;
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 240, 224, 0.55);
}

/* ───────────────── services grid ───────────────── */

.services {
  background: var(--bg);
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}
@media (min-width: 700px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .services__grid { grid-template-columns: repeat(4, 1fr); }
}

.service {
  position: relative;
  padding: 40px 32px 44px;
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 360px;
  transition: background .4s var(--ease);
}
.service:hover { background: var(--bg-alt); }
.service__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.service__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.2vw, 1.95rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.service__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 4px;
}
.service__desc {
  color: var(--fg-soft);
  font-size: 15.5px;
  line-height: 1.6;
  margin-top: auto;
}
.service:nth-child(4n+1) .service__icon { color: var(--red); }
.service:nth-child(4n+2) .service__icon { color: var(--blue); }
.service:nth-child(4n+3) .service__icon { color: var(--fg); }
.service:nth-child(4n+4) .service__icon { color: var(--red-deep); }

/* ───────────────── work / case studies ───────────────── */

.work {
  background: var(--bg-alt);
}
.work__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 800px) {
  .work__grid { grid-template-columns: repeat(6, 1fr); }
  .work__item:nth-child(1) { grid-column: span 4; }
  .work__item:nth-child(2) { grid-column: span 2; }
  .work__item:nth-child(3) { grid-column: span 3; }
  .work__item:nth-child(4) { grid-column: span 3; }
}

.work__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.work__media {
  position: relative;
  overflow: hidden;
  background: var(--fg);
  aspect-ratio: 4 / 3;
}
.work__item:nth-child(1) .work__media { aspect-ratio: 16 / 10; }
.work__item:nth-child(2) .work__media { aspect-ratio: 3 / 4; }
.work__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
  filter: contrast(1.02);
}
.work__item:hover .work__media img { transform: scale(1.04); }
.work__media__tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 10px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.work__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.work__title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.work__desc {
  color: var(--fg-soft);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 52ch;
}

/* ───────────────── stats band ───────────────── */

.stats {
  background: var(--red);
  color: var(--cream);
  padding: clamp(70px, 9vw, 110px) 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
@media (min-width: 800px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 2px solid var(--cream);
  padding-top: 20px;
}
.stat__num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.stat__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ───────────────── process / steps ───────────────── */

.process {
  background: var(--bg);
}
.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border-strong);
}
.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border-strong);
}
@media (min-width: 800px) {
  .step { grid-template-columns: 120px 1fr 1.4fr; gap: 60px; align-items: start; padding: 64px 0; }
}
.step__num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.18em;
}
.step__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.step__body {
  color: var(--fg-soft);
  font-size: 16.5px;
  line-height: 1.62;
  max-width: 58ch;
}
.step:nth-child(1) .step__num { color: var(--red); }
.step:nth-child(2) .step__num { color: var(--blue); }
.step:nth-child(3) .step__num { color: var(--fg); }
.step:nth-child(4) .step__num { color: var(--red-deep); }

/* ───────────────── team ───────────────── */

.team {
  background: var(--bg-alt);
}
.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}
@media (min-width: 700px) { .team__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .team__grid { grid-template-columns: repeat(4, 1fr); } }

.member {
  padding: 36px 28px 32px;
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 320px;
}
.avatar {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--bg);
  background: var(--fg);
}
.member:nth-child(4n+1) .avatar { background: var(--red); color: var(--cream); }
.member:nth-child(4n+2) .avatar { background: var(--blue); color: var(--cream); }
.member:nth-child(4n+3) .avatar { background: var(--yellow); color: var(--fg); }
.member:nth-child(4n+4) .avatar { background: var(--fg); color: var(--cream); }
.member__name {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-top: auto;
}
.member__role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.member__bio {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-soft);
}

/* ───────────────── values / pillars ───────────────── */

.values {
  background: var(--bg);
}
.values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 800px) { .values__grid { grid-template-columns: repeat(3, 1fr); } }

.value {
  padding: 36px 28px;
  background: var(--cream);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
}
.value:nth-child(1) { background: var(--red); color: var(--cream); border-color: var(--red); }
.value:nth-child(2) { background: var(--bg); }
.value:nth-child(3) { background: var(--fg); color: var(--cream); border-color: var(--fg); }
.value__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.value__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.value__desc {
  font-size: 15.5px;
  line-height: 1.6;
  margin-top: auto;
  opacity: 0.92;
}

/* ───────────────── FAQ ───────────────── */

.faq__list {
  border-top: 1px solid var(--border-strong);
}
.faq__item {
  border-bottom: 1px solid var(--border-strong);
  padding: 28px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 800px) {
  .faq__item { grid-template-columns: 80px 1fr 1.4fr; gap: 40px; }
}
.faq__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  padding-top: 8px;
}
.faq__q {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  letter-spacing: -0.015em;
  line-height: 1.18;
}
.faq__a {
  font-size: 16px;
  line-height: 1.62;
  color: var(--fg-soft);
}

/* ───────────────── contact / CTA / form ───────────────── */

.cta {
  background: var(--bg-deep);
  color: var(--cream);
  padding: clamp(90px, 12vw, 160px) 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0.92;
}
.cta::after {
  content: "";
  position: absolute;
  bottom: -100px; left: 20%;
  width: 220px; height: 220px;
  background: var(--yellow);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: 0.85;
}
.cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: start;
}
@media (min-width: 900px) {
  .cta__inner { grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: end; }
}
.cta h2 {
  color: var(--cream);
  font-size: clamp(2.4rem, 5.6vw, 4.6rem);
  letter-spacing: -0.025em;
  line-height: 1;
}
.cta p {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(244,240,224,0.78);
  max-width: 46ch;
}
.form {
  display: grid;
  gap: 18px;
  background: rgba(244, 240, 224, 0.04);
  padding: 32px;
  border: 1px solid rgba(244, 240, 224, 0.16);
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 240, 224, 0.72);
}
.form input, .form select, .form textarea {
  border: 0;
  border-bottom: 1px solid rgba(244,240,224,0.28);
  background: transparent;
  color: var(--cream);
  padding: 10px 0;
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: -0.005em;
  outline: 0;
  transition: border-color .3s var(--ease);
  border-radius: 0;
}
.form textarea { min-height: 110px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--yellow); }
.form select { appearance: none; cursor: pointer; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form__legal {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(244,240,224,0.6);
  line-height: 1.55;
}
.form__legal a { text-decoration: underline; text-underline-offset: 3px; }
.form__submit {
  justify-self: start;
  background: var(--cream);
  color: var(--fg);
  border-color: var(--cream);
  margin-top: 10px;
}
.form__submit:hover { background: var(--yellow); border-color: var(--yellow); color: var(--fg); }

/* contact details block */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 800px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  border-top: 2px solid var(--fg);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-card__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-card__value {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.contact-card__sub {
  font-size: 15px;
  color: var(--fg-soft);
  line-height: 1.55;
}

/* ───────────────── footer ───────────────── */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--border-strong);
  padding: 72px 0 30px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 800px) {
  .footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; }
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 360px;
}
.footer__brand p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-soft);
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 16px;
}
.footer__col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  font-size: 15px;
  color: var(--fg-soft);
  transition: color .25s var(--ease);
}
.footer__col a:hover { color: var(--red); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ───────────────── about page specific ───────────────── */

.about-hero {
  padding: 60px 0 80px;
}
.about-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .about-hero__grid { grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: end; }
}

.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.timeline__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--border-strong);
}
@media (min-width: 700px) { .timeline__row { grid-template-columns: 140px 1fr 1.4fr; gap: 40px; } }
.timeline__row:last-child { border-bottom: 1px solid var(--border-strong); }
.timeline__year {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--red);
}
.timeline__head {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.timeline__body {
  color: var(--fg-soft);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ───────────────── reveal animation ───────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .shape { animation: 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(11, 11, 11, 0.42);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  padding: 32px 36px;
  max-width: 520px;
  border: 1px solid var(--fg);
  border-radius: 0;
  box-shadow: 12px 12px 0 var(--red);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.cookie-popup h3 {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin: 0;
}
.cookie-popup p {
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--fg-soft);
}
.cookie-popup__actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.cookie-popup__actions button {
  padding: 12px 22px;
  border: 1px solid var(--fg);
  background: transparent;
  color: var(--fg);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.cookie-popup__actions button:hover { background: var(--fg); color: var(--bg); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); }
.cookie-popup__actions button:last-child:hover { background: var(--red); border-color: var(--red); }

/* ───────────────── legal / utility pages ───────────────── */

.legal {
  padding: 80px 0 100px;
}
.legal__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-strong);
}
.legal__body {
  max-width: 760px;
}
.legal__body h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  letter-spacing: -0.02em;
  margin: 56px 0 16px;
}
.legal__body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  margin: 28px 0 10px;
}
.legal__body p, .legal__body li {
  font-size: 16px;
  line-height: 1.72;
  color: var(--fg-soft);
}
.legal__body p { margin-bottom: 14px; }
.legal__body ul { padding-left: 22px; margin-bottom: 18px; }
.legal__body li { margin-bottom: 8px; }
.legal__body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

.thanks {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.thanks__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 720px;
}
.thanks__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--red);
}
.thanks h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.thanks p { font-size: 18px; line-height: 1.62; color: var(--fg-soft); max-width: 48ch; }
