/* palette: bg=#C5BAA8 fg=#0E0E0E accent=#1A1FA0 */
/* fonts: display="Space Grotesk" body="Inter" mono="IBM Plex Mono" */

:root {
  --bg: #C5BAA8;
  --bg-alt: #D6CDBC;
  --bg-deep: #1A1FA0;
  --bg-ink: #0E0E0E;
  --fg: #0E0E0E;
  --fg-soft: #1B1B1B;
  --muted: #5A554A;
  --accent: #FF5C39;
  --accent-deep: #DC4720;
  --pop: #F4D03F;
  --paper: #EFE8DA;
  --border: rgba(14, 14, 14, 0.18);
  --border-soft: rgba(14, 14, 14, 0.08);
  --serif: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1320px;
  --pad: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: 'ss01' on, 'ss02' on;
}
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(--bg-deep); color: var(--bg); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0;
  color: var(--fg);
}
p { margin: 0 0 1em; }

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

/* ---------- Eyebrow / Label ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--fg);
}
.eyebrow--mark {
  border: 1px solid var(--fg);
  padding: 6px 10px;
}
.eyebrow--mark::before { display: none; }
.eyebrow--light { color: var(--bg); }
.eyebrow--light::before { background: var(--bg); }

.refcode {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--fg);
  background: transparent;
  color: var(--fg);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--fg); color: var(--bg); }
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { background: var(--bg-deep); border-color: var(--bg-deep); color: #fff; }
.btn--light { border-color: var(--bg); color: var(--bg); }
.btn--light:hover { background: var(--bg); color: var(--fg); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 22px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(197, 186, 168, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.header[data-scrolled="true"] {
  box-shadow: 0 1px 0 var(--border-soft);
}
.header__brand {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 8px;
}
.header__brand-mark {
  width: 28px;
  height: 28px;
  background: var(--fg);
  position: relative;
}
.header__brand-mark::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: var(--accent);
}
.header__nav {
  display: none;
  gap: 32px;
}
.header__nav a {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}
.header__nav a:hover { color: var(--bg-deep); }
.header__nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--fg);
}
.header__cta { display: none; }

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 1px solid var(--fg);
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--fg);
  transition: transform .3s var(--ease), opacity .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) {
  .header__nav { display: flex; }
  .header__cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg);
  padding: 40px var(--pad);
  z-index: 90;
  transform: translateY(-100%);
  transition: transform .4s var(--ease);
}
.mobile-menu[data-open="true"] { transform: translateY(0); }
.mobile-menu a {
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  letter-spacing: -0.03em;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-menu a:hover { color: var(--bg-deep); }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero__top {
  flex: 1;
  position: relative;
  padding: clamp(40px, 8vw, 96px) var(--pad);
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
.hero__mark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(96px, 22vw, 280px);
  line-height: 0.78;
  letter-spacing: -0.06em;
  color: var(--fg);
  position: relative;
}
.hero__mark span {
  display: inline-block;
}
.hero__mark .dot {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  background: var(--accent);
  border-radius: 50%;
  vertical-align: 0.1em;
  margin-left: 0.02em;
}
.hero__intro {
  max-width: 360px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
  margin-top: 8px;
}
.hero__intro strong { font-weight: 600; }
.hero__statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 6.8vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-top: clamp(40px, 8vw, 80px);
}
.hero__statement em {
  font-style: normal;
  color: var(--bg-deep);
}
.hero__statement-block {
  grid-column: 1 / -1;
  align-self: end;
}
@media (min-width: 900px) {
  .hero__top {
    grid-template-columns: minmax(360px, 1fr) 1.4fr;
  }
  .hero__intro {
    grid-column: 2;
    justify-self: end;
  }
  .hero__statement-block {
    grid-column: 2;
    justify-self: end;
    text-align: left;
    max-width: 760px;
  }
}
.hero__bottom {
  position: relative;
  background: var(--bg-deep);
  color: var(--bg);
  min-height: 56vh;
  padding: clamp(40px, 6vw, 80px) var(--pad);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__board {
  position: relative;
  width: 100%;
  max-width: 920px;
  aspect-ratio: 16 / 9;
}
.hero__board-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,92,57,0.35), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(244,208,63,0.22), transparent 35%),
    linear-gradient(135deg, #1A1FA0 0%, #0E11A0 100%);
  overflow: hidden;
}
.hero__board-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero__board-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  padding: clamp(20px, 3vw, 40px);
  gap: 16px;
}
.hero__board-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #fff;
  text-align: center;
  align-self: center;
  grid-row: 2;
}
.hero__board-title span {
  display: block;
  font-size: 0.34em;
  font-family: var(--mono);
  letter-spacing: 0.04em;
  margin-top: 14px;
  color: var(--pop);
  text-transform: lowercase;
  font-weight: 400;
}
.hero__board-title em {
  font-style: normal;
  color: var(--accent);
}
.hero__board-code-tl, .hero__board-code-tr, .hero__board-code-bl, .hero__board-code-br {
  position: absolute;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero__board-code-tl { top: 14px; left: 14px; }
.hero__board-code-tr { top: 14px; right: 14px; }
.hero__board-code-bl { bottom: 14px; left: 14px; }
.hero__board-code-br { bottom: 14px; right: 14px; }
.hero__board-code-tl::before, .hero__board-code-tr::after, .hero__board-code-bl::before, .hero__board-code-br::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--pop);
}

/* Bar chart overlay */
.hero__chart {
  position: absolute;
  bottom: clamp(40px, 6vw, 70px);
  left: clamp(40px, 6vw, 80px);
  right: clamp(40px, 6vw, 80px);
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 56px;
  z-index: 3;
  opacity: 0.85;
}
.hero__chart i {
  flex: 1;
  display: block;
  background: rgba(255,255,255,0.4);
  border-top: 2px solid #fff;
}
.hero__chart i:nth-child(3n) { background: var(--accent); border-color: var(--accent); }
.hero__chart i:nth-child(5n) { background: var(--pop); border-color: var(--pop); }

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero__board-bg { animation: heroZoom 8s var(--ease) both; }

.hero__cta-strip {
  background: var(--bg);
  border-top: 1px solid var(--fg);
  padding: 22px var(--pad);
  display: flex;
  justify-content: center;
}

/* ---------- Sections ---------- */
section {
  position: relative;
}
.section {
  padding: clamp(80px, 12vw, 160px) 0;
}
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--bg-ink);
  color: var(--bg);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--paper { background: var(--paper); }

.section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section__head h2 {
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  letter-spacing: -0.03em;
}
.section__head p {
  font-size: 16px;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.6;
}
@media (min-width: 900px) {
  .section__head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
  .section__head .head-meta {
    text-align: right;
    align-self: end;
  }
}

/* ---------- Editorial statement (after hero) ---------- */
.statement-section {
  background: var(--bg);
  padding: clamp(80px, 14vw, 180px) 0 clamp(40px, 6vw, 80px);
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
}
.statement-section__inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
}
.statement-section__work-tab {
  position: absolute;
  top: clamp(30px, 6vw, 80px);
  left: var(--pad);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.statement-section__work-tab::before {
  content: '';
  width: 9px;
  height: 9px;
  background: var(--fg);
}
.statement-section__text {
  justify-self: end;
  max-width: 880px;
}
.statement-section__text h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
  margin-bottom: 28px;
}
.statement-section__text h2 em {
  font-style: normal;
  color: var(--bg-deep);
}

/* ---------- Cases grid ---------- */
.cases {
  background: var(--bg);
  padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 12vw, 160px);
}
.cases__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px) clamp(24px, 3vw, 40px);
}
@media (min-width: 700px) {
  .cases__grid { grid-template-columns: repeat(2, 1fr); }
}
.case {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}
.case:nth-child(odd) { transform: translateY(0); }
@media (min-width: 700px) {
  .case:nth-child(2n) { transform: translateY(clamp(40px, 6vw, 80px)); }
}
.case__cover {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-ink);
}
.case__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
  filter: contrast(1.05) saturate(1.05);
}
.case:hover .case__cover img { transform: scale(1.04); }
.case__cover-code {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: 6px 10px;
  text-transform: uppercase;
  z-index: 2;
}
.case__cover-tag {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: 6px 10px;
  text-transform: uppercase;
  z-index: 2;
}
.case__meta {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.case__title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 10px;
}

/* Trailing "category" mega label (mimics 'Mobile Apps') */
.cases__megalabel {
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-align: right;
  margin-top: clamp(40px, 5vw, 80px);
}

/* ---------- Featured case ---------- */
.feature {
  background: var(--bg-alt);
  padding: clamp(80px, 12vw, 160px) 0;
}
.feature__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
@media (min-width: 900px) {
  .feature__inner { grid-template-columns: 1fr 1.05fr; }
}
.feature__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-deep);
  overflow: hidden;
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,31,160,0.45), transparent 60%);
  mix-blend-mode: multiply;
}
.feature__media-code {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #fff;
  background: rgba(0,0,0,0.35);
  padding: 6px 10px;
  text-transform: uppercase;
  z-index: 2;
}
.feature__meta {
  display: flex;
  gap: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.feature__title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.feature__body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-soft);
  margin-bottom: 1em;
}
.feature__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.feature__stat-value {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1;
}
.feature__stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* ---------- Manifesto ---------- */
.manifesto {
  background: var(--bg-ink);
  color: var(--bg);
  padding: clamp(100px, 16vw, 200px) 0;
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
}
.manifesto__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 900px) {
  .manifesto__inner { grid-template-columns: 280px 1fr; gap: 80px; }
}
.manifesto__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.manifesto__text {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 1000px;
}
.manifesto__text em {
  font-style: normal;
  color: var(--accent);
}
.manifesto__signature {
  margin-top: 48px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 12px;
}
.manifesto__signature::before {
  content: '';
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}

/* ---------- Services / capabilities ---------- */
.capabilities {
  background: var(--bg);
  padding: clamp(80px, 12vw, 160px) 0;
}
.capabilities__list {
  border-top: 1px solid var(--fg);
}
.capabilities__row {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 24px;
  padding: clamp(24px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
@media (min-width: 900px) {
  .capabilities__row {
    grid-template-columns: 80px 0.9fr 1fr 200px;
    gap: 32px;
    align-items: center;
  }
}
.capabilities__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.capabilities__name {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.capabilities__desc {
  font-size: 15px;
  color: var(--fg-soft);
  line-height: 1.55;
  max-width: 480px;
}
.capabilities__deliv {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: left;
}
@media (min-width: 900px) {
  .capabilities__deliv { text-align: right; }
}

/* ---------- Process ---------- */
.process {
  background: var(--bg-alt);
  padding: clamp(80px, 12vw, 160px) 0;
}
.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 700px) { .process__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process__grid { grid-template-columns: repeat(4, 1fr); } }
.process__step {
  border-top: 1px solid var(--fg);
  padding-top: 24px;
}
.process__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.process__num::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
}
.process__name {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.process__desc {
  font-size: 14.5px;
  color: var(--fg-soft);
  line-height: 1.6;
}

/* ---------- Marquee / ticker ---------- */
.ticker {
  background: var(--bg-ink);
  color: var(--bg);
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}
.ticker__track {
  display: flex;
  gap: 60px;
  animation: tickerScroll 40s linear infinite;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  letter-spacing: -0.02em;
}
.ticker__track span { display: inline-flex; align-items: center; gap: 32px; }
.ticker__track span::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Team / Principles (no faces) ---------- */
.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 600px) { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .team__grid { grid-template-columns: repeat(3, 1fr); } }
.team__card {
  border-top: 1px solid var(--fg);
  padding-top: 24px;
}
.team__avatar {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 20px;
}
.team__name {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.team__role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
  margin-bottom: 14px;
}
.team__bio {
  font-size: 14.5px;
  color: var(--fg-soft);
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq__list {
  border-top: 1px solid var(--fg);
}
.faq__item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 24px;
  align-items: start;
}
.faq__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding-top: 6px;
}
.faq__q {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.faq__a {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 720px;
}

/* ---------- Contact section ---------- */
.contact-block {
  background: var(--bg-ink);
  color: var(--bg);
  padding: clamp(80px, 12vw, 160px) 0;
}
.contact-block__title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 900px;
  margin-bottom: 48px;
  line-height: 1;
}
.contact-block__title em {
  font-style: normal;
  color: var(--accent);
}
.contact-block__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 32px;
}
@media (min-width: 700px) { .contact-block__grid { grid-template-columns: repeat(3, 1fr); } }
.contact-block__cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-block__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.contact-block__value {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.3;
}
.contact-block__value a { color: var(--accent); }

/* ---------- Contact form ---------- */
.contact-form {
  background: var(--bg);
  padding: clamp(80px, 12vw, 160px) 0;
}
.contact-form__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
}
@media (min-width: 900px) { .contact-form__inner { grid-template-columns: 1fr 1.2fr; } }
.contact-form__intro h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 24px;
}
.contact-form__intro p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-soft);
  margin-bottom: 24px;
}
.contact-form__meta {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--fg-soft);
}
.contact-form__meta strong {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}
form .field {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}
form label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
form input,
form textarea,
form select {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--fg);
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: var(--fg);
  border-radius: 0;
}
form input:focus,
form textarea:focus,
form select:focus {
  outline: none;
  border-bottom-color: var(--bg-deep);
}
form textarea {
  resize: vertical;
  min-height: 120px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-ink);
  color: var(--bg);
  padding: clamp(60px, 8vw, 100px) 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 900px) {
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer__brand {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: #fff;
}
.footer__brand .dot {
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  background: var(--accent);
  border-radius: 50%;
  vertical-align: 0.2em;
}
.footer__tag {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
  line-height: 1.55;
}
.footer__col h4 {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 12px; }
.footer__col a {
  color: rgba(255,255,255,0.85);
  font-size: 14.5px;
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
@media (min-width: 700px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer__bottom a { color: rgba(255,255,255,0.65); }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- Cookie popup ---------- */
.cookie-popup {
  position: fixed;
  inset: auto auto 24px 24px;
  z-index: 9999;
  max-width: 420px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cookie-popup[data-open="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-popup__card {
  background: var(--bg);
  border: 1px solid var(--fg);
  padding: 22px 24px;
  position: relative;
}
.cookie-popup__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.cookie-popup__label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
}
.cookie-popup__card h3 {
  font-size: 1rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 8px;
}
.cookie-popup__card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-soft);
  margin-bottom: 16px;
}
.cookie-popup__card a { text-decoration: underline; }
.cookie-popup__actions {
  display: flex;
  gap: 8px;
  flex-direction: column;
}
.cookie-popup__actions button {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--fg);
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.cookie-popup__actions button:hover { background: var(--fg); color: var(--bg); }
.cookie-popup__actions [data-cookie="accept"] {
  background: var(--fg);
  color: var(--bg);
}
.cookie-popup__actions [data-cookie="accept"]:hover {
  background: var(--bg-deep);
  border-color: var(--bg-deep);
  color: #fff;
}
@media (min-width: 480px) {
  .cookie-popup { inset: auto auto 24px 24px; }
}

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

/* ---------- Page hero (interior) ---------- */
.page-hero {
  padding: clamp(60px, 9vw, 140px) 0 clamp(40px, 6vw, 80px);
  background: var(--bg);
}
.page-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 900px) {
  .page-hero__inner { grid-template-columns: 1.4fr 1fr; align-items: end; }
}
.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  letter-spacing: -0.035em;
  line-height: 0.96;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--bg-deep);
}
.page-hero__intro {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--fg-soft);
  max-width: 380px;
}
.page-hero__crumbs {
  display: flex;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
}
.page-hero__crumbs span:not(:last-child)::after {
  content: '/';
  margin-left: 12px;
  opacity: 0.6;
}

/* ---------- About: values grid (no faces) ---------- */
.values {
  background: var(--bg);
  padding: clamp(80px, 12vw, 160px) 0;
}
.values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 700px) { .values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values__grid { grid-template-columns: repeat(3, 1fr); } }
.value {
  background: var(--paper);
  padding: 36px 32px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.value__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 28px;
}
.value__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.value__desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-soft);
  margin-top: auto;
}

/* ---------- About: timeline ---------- */
.timeline {
  background: var(--bg-alt);
  padding: clamp(80px, 12vw, 160px) 0;
}
.timeline__list {
  border-top: 1px solid var(--fg);
}
.timeline__row {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 900px) {
  .timeline__row { grid-template-columns: 140px 1fr 1.4fr; gap: 40px; }
}
.timeline__year {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.timeline__title {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.timeline__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-soft);
}

/* ---------- Services index grid ---------- */
.svc-detail {
  background: var(--bg);
  padding: clamp(80px, 12vw, 160px) 0;
}
.svc-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 80px);
}
@media (min-width: 900px) {
  .svc-detail__grid { grid-template-columns: repeat(2, 1fr); }
}
.svc {
  border-top: 1px solid var(--fg);
  padding-top: 24px;
}
.svc__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.svc__num::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
}
.svc__name {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.svc__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-soft);
  margin-bottom: 24px;
}
.svc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--fg-soft);
}
.svc__list li {
  padding: 10px 0;
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}
.svc__list li::before {
  content: '→';
  color: var(--accent);
}

/* ---------- Legal pages ---------- */
.legal {
  background: var(--bg);
  padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 12vw, 160px);
}
.legal__container { max-width: 820px; }
.legal h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.legal__meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
}
.legal h3 {
  font-size: 1.1rem;
  font-family: var(--sans);
  font-weight: 600;
  margin: 28px 0 12px;
}
.legal p, .legal li {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--fg-soft);
}
.legal ul { padding-left: 22px; margin-bottom: 1em; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--bg-deep); text-decoration: underline; }

/* Thanks page */
.thanks {
  min-height: calc(100vh - 72px);
  background: var(--bg);
  display: flex;
  align-items: center;
  padding: 80px var(--pad);
}
.thanks__inner { max-width: 720px; }
.thanks h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 24px;
}
.thanks h1 em { font-style: normal; color: var(--bg-deep); }
.thanks p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-soft);
  margin-bottom: 32px;
  max-width: 560px;
}

/* utility */
.hide-mobile { display: none; }
@media (min-width: 900px) { .hide-mobile { display: initial; } }

.text-mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
