/* palette: bg=#ECECEC fg=#0B0B0C accent=#0071E3 */
/* fonts: display="Manrope" body="Inter" mono="IBM Plex Mono" */

:root {
  --bg: #ECECEC;          /* dominant light grey background (reference body) */
  --bg-alt: #F5F5F5;      /* alternating section background */
  --fg: #0B0B0C;          /* primary text / near-black */
  --fg-soft: #2C2C2E;     /* slightly softer foreground */
  --muted: #86868B;       /* secondary text (Apple grey) */
  --accent: #0071E3;      /* Apple-style system blue accent */
  --accent-deep: #0058B0; /* darker accent for hover */
  --dark: #0B0B0C;        /* dark band / hero base */
  --dark-soft: #18181B;   /* dark card surface */
  --on-dark: #F2F2F2;     /* text on dark */
  --on-dark-muted: #8E8E93;
  --border: rgba(0, 0, 0, 0.12);
  --border-soft: rgba(0, 0, 0, 0.07);
  --border-dark: rgba(255, 255, 255, 0.12);

  --serif: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --display: 'Manrope', 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;
  --radius: 18px;
  --shadow-card: 0 4px 24px -4px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 18px 50px -12px rgba(0, 0, 0, 0.18);
  --shadow-pill: 0 2px 10px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

*, *::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;
  -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; }
::selection { background: var(--accent); color: #fff; }

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

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

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
@media (min-width: 768px) { .eyebrow { font-size: 12px; } }

.section__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
}
.section__title em { font-style: normal; color: var(--accent); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.7;
  color: var(--fg-soft);
  max-width: 46ch;
  margin: 24px 0 0;
}

.section__head { max-width: 900px; margin-bottom: clamp(48px, 7vw, 86px); }

/* ───────────────────────── Buttons & links ───────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 9999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border); color: var(--fg); }
.btn--ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn--on-dark { background: var(--on-dark); color: var(--dark); }
.btn--on-dark:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
  color: var(--fg);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.arrow-link .arrow { transition: transform 0.35s var(--ease); }
.arrow-link:hover { color: var(--accent); }
.arrow-link:hover .arrow { transform: translateX(5px); }

/* ───────────────────────── Header (floating pills) ───────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  transition: padding 0.4s var(--ease);
}
.header[data-scrolled="true"] { padding: 10px 0; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .header__inner { padding: 0 32px; } }

.pill {
  background: rgba(248, 248, 248, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-pill);
  border-radius: 9999px;
  transition: box-shadow 0.4s var(--ease), background 0.3s var(--ease);
}
.header[data-scrolled="true"] .pill { box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.brand__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.18);
}

.nav {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
}
@media (min-width: 1024px) { .nav { display: inline-flex; } }
.nav__link {
  padding: 9px 18px;
  border-radius: 9999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--fg-soft);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav__link:hover { background: rgba(0, 0, 0, 0.05); color: var(--fg); }
.nav__link[aria-current="page"] { color: var(--accent); }

.header__cta { display: none; }
@media (min-width: 1024px) {
  .header__cta { display: inline-flex; padding: 13px 26px; font-weight: 500; font-size: 14.5px; color: var(--fg); }
  .header__cta .brand__dot { width: 7px; height: 7px; box-shadow: none; }
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 50px; height: 50px;
  border-radius: 9999px;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block;
  width: 20px; height: 1.6px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) 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.6px) rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(236, 236, 236, 0.97);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 28px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu[data-open="true"] { opacity: 1; pointer-events: all; transform: none; }
.mobile-menu a {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 9vw, 3rem);
  letter-spacing: -0.02em;
  padding: 10px 0;
  color: var(--fg);
  border-bottom: 1px solid var(--border-soft);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.mobile-menu a:hover { color: var(--accent); padding-left: 12px; }
.mobile-menu__foot {
  margin-top: auto;
  padding-top: 30px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ───────────────────────── Hero (dark, fullbleed) ───────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
  margin-top: -82px;
  padding-top: 82px;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  animation: heroZoom 9s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(130% 90% at 50% 15%, rgba(11, 11, 12, 0.2) 0%, rgba(11, 11, 12, 0.75) 60%, rgba(11, 11, 12, 0.96) 100%),
    linear-gradient(180deg, rgba(11, 11, 12, 0.5) 0%, rgba(11, 11, 12, 0) 30%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) { .hero__inner { padding: 0 32px; } }

.hero .eyebrow { color: var(--on-dark-muted); }
.hero__title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 15ch;
}
.hero__title em { font-style: normal; color: var(--accent); }
.hero__blurb {
  margin: 34px auto 0;
  max-width: 54ch;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: rgba(242, 242, 242, 0.72);
}
.hero__actions { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero__foot {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px 20px 34px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(242, 242, 242, 0.6);
  text-transform: uppercase;
}
@media (min-width: 768px) { .hero__foot { padding: 26px 32px 44px; } }
.hero__scroll { display: none; }
@media (min-width: 768px) {
  .hero__scroll { display: inline-flex; align-items: center; gap: 10px; }
  .hero__scroll::after {
    content: "";
    width: 36px; height: 1px;
    background: currentColor;
    animation: scrollLine 2.4s var(--ease) infinite;
    transform-origin: left;
  }
}
@keyframes scrollLine {
  0%, 100% { transform: scaleX(0.3); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* ───────────────────────── Manifesto ───────────────────────── */
.manifesto { text-align: center; }
.manifesto__text {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin: 0 auto;
}
.manifesto__text em { font-style: normal; color: var(--accent); }
.manifesto__meta {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ───────────────────────── Services grid ───────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 640px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }

.service-card {
  background: var(--bg-alt);
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.4s var(--ease);
}
.section--alt .service-card { background: var(--bg); }
.service-card:hover { background: #fff; }
.service-card__index {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.service-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.15;
}
.service-card p { margin: 0; color: var(--fg-soft); font-size: 16px; line-height: 1.68; }
.service-card .arrow-link { margin-top: auto; padding-top: 12px; }

/* ───────────────────────── Work / case cards ───────────────────────── */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 44px);
}
@media (min-width: 768px) { .work-grid { grid-template-columns: 1fr 1fr; } }

.work-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.section--alt .work-card { background: var(--bg); }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.work-card--wide { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .work-card--wide { display: grid; grid-template-columns: 1.1fr 1fr; }
  .work-card--wide .work-card__media { height: 100%; aspect-ratio: auto; }
}
.work-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.work-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__body {
  padding: clamp(26px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.work-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 9999px;
}
.work-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin: 0;
}
.work-card p { margin: 0; color: var(--fg-soft); font-size: 16px; }

/* ───────────────────────── Quote / testimonial ───────────────────────── */
.quote-section { padding: clamp(100px, 16vw, 200px) 0; }
.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) {
  .quote-grid { grid-template-columns: 140px 1fr 160px; align-items: start; }
}
.quote__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
}
.quote__by {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
@media (min-width: 1024px) { .quote__by { text-align: right; } }
.quote__text {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  line-height: 1.26;
  letter-spacing: -0.015em;
  margin: 0;
}
.quote__text .lead-part { color: var(--fg); }
.quote__text .rest-part { color: #c4c4c6; }

/* ───────────────────────── Process steps ───────────────────────── */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: clamp(30px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.4s var(--ease);
}
@media (min-width: 768px) {
  .step { grid-template-columns: 120px 1.4fr 2fr; gap: 30px; align-items: baseline; }
  .step:hover { padding-left: 14px; }
}
.step__num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.step h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.12;
}
.step p { margin: 0; color: var(--fg-soft); font-size: 16px; line-height: 1.7; }

/* ───────────────────────── Stats band (dark) ───────────────────────── */
.band-dark {
  background: var(--dark);
  color: var(--on-dark);
}
.band-dark .eyebrow { color: var(--on-dark-muted); }
.band-dark .section__title { color: var(--on-dark); }
.band-dark .lead { color: rgba(242, 242, 242, 0.72); }

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: clamp(40px, 6vw, 70px);
}
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--dark);
  padding: clamp(30px, 4vw, 46px) clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.stat__num {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat__num em { font-style: normal; color: var(--accent); }
.stat__label {
  font-size: 14px;
  color: var(--on-dark-muted);
  line-height: 1.45;
}

/* ───────────────────────── FAQ ───────────────────────── */
.faq-list { border-top: 1px solid var(--border); }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: -0.01em;
  color: var(--fg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
  flex: none;
  width: 24px; height: 24px;
  position: relative;
  transition: transform 0.4s var(--ease);
}
.faq-item summary .icon::before,
.faq-item summary .icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
}
.faq-item summary .icon::before { top: 50%; left: 2px; right: 2px; height: 1.8px; transform: translateY(-50%); }
.faq-item summary .icon::after { left: 50%; top: 2px; bottom: 2px; width: 1.8px; transform: translateX(-50%); transition: opacity 0.3s var(--ease); }
.faq-item[open] summary .icon::after { opacity: 0; }
.faq-item[open] summary .icon { transform: rotate(90deg); }
.faq-item__body {
  padding: 0 0 28px;
  max-width: 68ch;
  color: var(--fg-soft);
  font-size: 16.5px;
  line-height: 1.72;
}
.faq-item__body p { margin: 0 0 14px; }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ───────────────────────── CTA ───────────────────────── */
.cta-inner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.cta-inner .section__title { margin-bottom: 18px; }
.cta-inner .lead { margin: 0 auto 36px; max-width: 52ch; }

/* ───────────────────────── Form ───────────────────────── */
.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 640px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea,
.field select {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--fg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px 18px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  width: 100%;
}
.section--alt .field input,
.section--alt .field textarea,
.section--alt .field select { background: var(--bg); }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}
.field input::placeholder, .field textarea::placeholder { color: #a9a9ad; }
.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.form__consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.form__consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form .btn--submit { justify-self: start; }

/* ───────────────────────── Contact detail cards ───────────────────────── */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 640px) { .detail-grid { grid-template-columns: 1fr 1fr; } }
.detail {
  background: var(--bg-alt);
  padding: clamp(26px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.section--alt .detail { background: var(--bg); }
.detail__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.detail p { margin: 0; font-size: 17px; color: var(--fg); line-height: 1.6; }
.detail a:hover { color: var(--accent); }

/* ───────────────────────── Values / text cards ───────────────────────── */
.text-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 40px);
}
@media (min-width: 768px) { .text-grid { grid-template-columns: repeat(3, 1fr); } }
.text-card { display: flex; flex-direction: column; gap: 14px; }
.text-card__mark {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  background: var(--accent);
}
.text-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin: 6px 0 0;
}
.text-card p { margin: 0; color: var(--fg-soft); font-size: 16px; line-height: 1.68; }

/* Team / principles (text + monogram, no faces) */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 32px);
}
@media (min-width: 640px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-alt);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.section--alt .team-card { background: var(--bg); }
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.avatar--mono {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.01em;
}
.team-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin: 0; }
.team-card .role { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--accent); }
.team-card p { margin: 0; color: var(--fg-soft); font-size: 15.5px; line-height: 1.65; }

/* Generic prose for legal pages */
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 16px;
}
.prose .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 44px; }
.prose h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -0.015em;
  margin: 48px 0 14px;
}
.prose h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--fg-soft); font-size: 16.5px; line-height: 1.75; }
.prose ul { padding-left: 20px; margin: 14px 0; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--fg); font-weight: 600; }

/* Page header (interior pages) */
.page-head {
  padding: clamp(120px, 16vw, 190px) 0 clamp(50px, 7vw, 80px);
  border-bottom: 1px solid var(--border-soft);
}
.page-head h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.8rem, 8vw, 6rem);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
  max-width: 16ch;
}
.page-head h1 em { font-style: normal; color: var(--accent); }
.page-head .lead { max-width: 60ch; }

/* ───────────────────────── Footer ───────────────────────── */
.footer {
  background: var(--dark);
  color: var(--on-dark);
  padding: clamp(70px, 10vw, 120px) 0 40px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: clamp(50px, 7vw, 80px);
  border-bottom: 1px solid var(--border-dark);
}
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; } }
.footer__brand-mark {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.footer__brand-mark .brand__dot { width: 11px; height: 11px; box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.22); }
.footer__tag { margin: 20px 0 0; max-width: 34ch; color: rgba(242, 242, 242, 0.62); font-size: 16px; }
.footer__col h4 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin: 0 0 20px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a, .footer__col address {
  color: rgba(242, 242, 242, 0.78);
  font-style: normal;
  font-size: 15px;
  line-height: 1.6;
  transition: color 0.3s var(--ease);
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--on-dark-muted);
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; } }

/* ───────────────────────── Scroll reveal ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; }
  * { scroll-behavior: auto; }
}

/* ───────────────────────── Cookie popup ───────────────────────── */
.cookie-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cookie-popup[data-open="true"] { opacity: 1; pointer-events: all; }
.cookie-popup__card {
  background: var(--bg);
  padding: 32px 36px;
  max-width: 480px;
  border-radius: 18px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-soft);
}
.cookie-popup__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.cookie-popup__card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.cookie-popup__card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--fg-soft); }
.cookie-popup__card p a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-popup__actions { display: flex; gap: 12px; margin-top: 24px; }
.cookie-popup__actions button {
  padding: 12px 24px;
  border: 1px solid var(--border);
  border-radius: 9999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cookie-popup__actions button:first-child:hover { border-color: var(--fg); }
.cookie-popup__actions button:last-child { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cookie-popup__actions button:last-child:hover { background: var(--accent); border-color: var(--accent); }

/* ───────────────────────── Misc ───────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--fg);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
