/* Layout: one centred 1200px column; full-bleed bands for hero, marquee and pro bono.
   Dark-first "blueprint ink" with a cobalt signal colour; pro bono switches to a warm ember accent. */
:root {
  --bg: #0a0c11;
  --bg-2: #10131b;
  --surface: #141823;
  --line: rgba(160, 176, 220, 0.12);
  --line-strong: rgba(160, 176, 220, 0.24);
  --fg: #eef0f6;
  --muted: #9097ab;
  --accent: #7d95ff;
  --accent-ink: #0a0c11;
  --accent-soft: rgba(125, 149, 255, 0.14);
  --warm: #ffb27a;
  --warm-soft: rgba(255, 178, 122, 0.12);
  --pb-bg: #12100e;
  --glow: rgba(125, 149, 255, 0.18);
  --ok: #3ecf8e;
  --danger: #ff7a7a;

  --f-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --f-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --step-3: clamp(2.2rem, 1.6rem + 3vw, 4rem);
  --step-4: clamp(2.7rem, 1.8rem + 4.6vw, 5.8rem);

  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f6f7fb; --bg-2: #eef0f6; --surface: #ffffff;
    --line: rgba(30, 40, 80, 0.10); --line-strong: rgba(30, 40, 80, 0.2);
    --fg: #0e1220; --muted: #5a6178;
    --accent: #3248d6; --accent-ink: #ffffff; --accent-soft: rgba(50, 72, 214, 0.09);
    --warm: #b4541c; --warm-soft: rgba(180, 84, 28, 0.09); --pb-bg: #fbf5ef;
    --glow: rgba(50, 72, 214, 0.10);
    --ok: #17804f; --danger: #c4302b;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #f6f7fb; --bg-2: #eef0f6; --surface: #ffffff;
  --line: rgba(30, 40, 80, 0.10); --line-strong: rgba(30, 40, 80, 0.2);
  --fg: #0e1220; --muted: #5a6178;
  --accent: #3248d6; --accent-ink: #ffffff; --accent-soft: rgba(50, 72, 214, 0.09);
  --warm: #b4541c; --warm-soft: rgba(180, 84, 28, 0.09); --pb-bg: #fbf5ef;
  --glow: rgba(50, 72, 214, 0.10);
  --ok: #17804f; --danger: #c4302b;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 var(--step-0)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.015em; line-height: 1.2; }
em { font-family: var(--f-display); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

.eyebrow {
  font: 500 var(--step--1)/1 var(--f-mono);
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow--warm { color: var(--warm); }

/* Buttons */
.btn {
  --b-bg: var(--fg); --b-fg: var(--bg);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  background: var(--b-bg); color: var(--b-fg);
  font: 500 0.95rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--glow), 0 0 0 4px var(--accent-soft); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--fg); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--small { padding: 9px 16px; font-size: 0.88rem; white-space: nowrap; }
.btn--warm { --b-bg: var(--warm); --b-fg: var(--bg); }
.btn--warm:hover { box-shadow: 0 10px 30px -10px var(--warm), 0 0 0 4px var(--warm-soft); }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); background: transparent; color: var(--fg); cursor: pointer;
  transition: transform 0.4s var(--ease);
}
@media (hover: hover) { .icon-btn:not(.nav__menu):hover { transform: rotate(-25deg); } }

/* Nav */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  padding-inline: clamp(12px, 3vw, 24px); padding-block: 12px;
}
.nav__inner {
  max-width: 1200px; margin-inline: auto;
  display: flex; align-items: center; gap: 16px; justify-content: space-between;
  padding: 8px 8px 8px 14px; border-radius: 999px;
  background: color-mix(in oklab, var(--bg) 72%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo { width: 34px; height: 34px; flex-shrink: 0; overflow: visible; }
.logo path { fill: none; stroke-width: 4.5; stroke-linecap: square; stroke-linejoin: miter; stroke-miterlimit: 10; }
.logo__ea { stroke: var(--fg); stroke-dasharray: 100; animation: draw 1.4s var(--ease) both; }
.logo__bar { stroke: var(--accent); stroke-dasharray: 100; animation: draw 0.7s 0.9s var(--ease) both; }
.brand:hover .logo__bar { animation: draw 0.6s var(--ease); }
.logo--sm { width: 22px; height: 22px; }
.logo--sm path { animation: none; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; }
@keyframes draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.brand__name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  text-decoration: none; color: var(--muted); padding: 8px 14px; border-radius: 999px; font-size: 0.92rem; white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover, .nav__links a.is-current { color: var(--fg); background: var(--accent-soft); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
@media (max-width: 980px) { .nav__links { display: none; } }
@media (max-width: 640px) { .brand__name { display: none; } }

.lang { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-strong); }
.lang__btn { border: 0; background: transparent; color: var(--muted); font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.06em; padding: 8px 9px; border-radius: 999px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.lang__btn:hover { color: var(--fg); }
.lang__btn[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
@media (max-width: 560px) { .nav__cta { display: none; } }
.nav__menu { display: none; }
.nav__menu path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transform-box: fill-box; transform-origin: center; transition: transform 0.3s ease; }
body.menu-open .nav__menu .m1 { transform: translateY(4px) rotate(45deg); }
body.menu-open .nav__menu .m2 { transform: translateY(-4px) rotate(-45deg); }
.mnav {
  position: absolute; top: calc(100% - 2px); left: clamp(12px, 3vw, 24px); right: clamp(12px, 3vw, 24px);
  display: grid; gap: 2px; padding: 10px; border-radius: 24px; border: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 97%, transparent);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0.3s;
}
body.menu-open .mnav { opacity: 1; visibility: visible; transform: none; }
.mnav a:not(.btn) { padding: 14px 16px; border-radius: 14px; text-decoration: none; font-size: 1.15rem; font-weight: 500; }
.mnav a:not(.btn):hover, .mnav a:not(.btn):focus-visible { background: var(--accent-soft); }
.mnav__cta { justify-content: center; margin-top: 6px; padding-block: 14px; }
@media (max-width: 980px) { .nav__menu { display: grid; } }
@media (min-width: 981px) { .mnav { display: none; } }

/* Hero */
.hero { position: relative; isolation: isolate; padding-block: clamp(56px, 10vw, 120px) clamp(48px, 7vw, 88px); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 75% 20%, var(--glow), transparent 70%),
    linear-gradient(to bottom, transparent 70%, var(--bg));
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__content {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  grid-template-areas: "main portrait" "meta meta"; gap: 28px clamp(32px, 5vw, 72px); align-items: center;
}
.hero__main { grid-area: main; display: grid; gap: 28px; min-width: 0; }
.hero__meta { grid-area: meta; }

/* Portrait: framed card with a slowly orbiting light on its border, a soft glow behind it
   and a floating credential. On phones it becomes a profile card under the buttons. */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.portrait { grid-area: portrait; position: relative; margin: 0; width: 100%; justify-self: end; animation: rise 1s 0.15s var(--ease) both; }
.portrait::before {
  content: ""; position: absolute; inset: 8% -6% -4%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(30px); pointer-events: none;
}
.portrait__frame {
  position: relative; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; border-radius: 30px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    conic-gradient(from var(--ang), var(--line-strong) 0 55%, var(--accent) 72%, color-mix(in oklab, var(--accent) 30%, #fff) 76%, var(--line-strong) 88%) border-box;
  box-shadow: 0 50px 100px -50px var(--glow), 0 30px 60px -40px rgba(0, 0, 0, 0.6);
  animation: orbit 9s linear infinite; transition: transform 0.6s var(--ease);
}
@keyframes orbit { to { --ang: 360deg; } }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; border-radius: inherit; }
.portrait__frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(to top, rgba(6, 8, 13, 0.82), rgba(6, 8, 13, 0.25) 32%, transparent 48%);
}
.portrait__cap { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; display: grid; gap: 4px; color: #fff; }
.portrait__cap strong { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.01em; }
.portrait__cap span { font-size: 0.84rem; color: rgba(255, 255, 255, 0.74); }
.portrait__badge {
  position: absolute; top: 34px; left: -34px; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 16px; border: 1px solid var(--line-strong);
  background: color-mix(in oklab, var(--surface) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.6);
  animation: float 7s ease-in-out infinite;
}
.portrait__badge > svg { width: 30px; height: 30px; padding: 7px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.portrait__badge span { display: grid; gap: 3px; font-size: 0.82rem; font-weight: 500; line-height: 1.15; }
.portrait__badge small { font: 500 0.64rem/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-7px); } }
@media (max-width: 1100px) { .portrait__badge { left: -14px; } }
@media (max-width: 860px) {
  .hero__content { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "portrait" "meta"; }
  .portrait {
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px 16px;
    padding: 14px 16px 14px 14px; border-radius: 24px; border: 1px solid var(--line);
    background: color-mix(in oklab, var(--surface) 72%, transparent);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); justify-self: stretch;
  }
  .portrait::before { display: none; }
  .portrait__frame { grid-row: span 2; width: 84px; height: 84px; aspect-ratio: auto; border-radius: 50%; border-width: 2px; box-shadow: none; }
  .portrait__frame::after { display: none; }
  .portrait__cap { position: static; color: var(--fg); align-self: end; gap: 2px; }
  .portrait__cap strong { font-size: 1.1rem; }
  .portrait__cap span { color: var(--muted); font-size: 0.86rem; }
  .portrait__badge {
    position: static; align-self: start; justify-self: start; animation: none; gap: 7px;
    padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .portrait__badge > svg { width: 20px; height: 20px; padding: 4px; border-radius: 6px; }
  .portrait__badge span { display: block; font-size: 0.78rem; color: var(--muted); font-weight: 400; }
  .portrait__badge small { font: inherit; letter-spacing: 0; text-transform: none; color: var(--fg); }
}
.chip {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 18px; border: 1px solid var(--line-strong);
  background: color-mix(in oklab, var(--surface) 70%, transparent); font-size: 0.86rem; color: var(--muted); text-wrap: pretty;
}
.dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 0 0 rgba(62, 207, 142, 0.5); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(62, 207, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 207, 142, 0); } }
.hero__title { font-size: clamp(2.5rem, 1.5rem + 4vw, 5.4rem); letter-spacing: -0.04em; line-height: 0.98; max-width: 16ch; }
.hero__title em { font-size: 1.08em; }
.hero__lede { max-width: 58ch; color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 12px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__meta div { display: grid; gap: 4px; }
.hero__meta dt { font: 500 var(--step--1)/1 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.hero__meta dd { margin: 0; font-weight: 500; }

/* Logo wall */
.trust { padding-block: 24px 8px; display: grid; gap: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { list-style: none; margin: 0; display: flex; align-items: center; width: max-content; gap: clamp(48px, 7vw, 96px); animation: slide 40s linear infinite; padding-inline: 24px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-50% - clamp(24px, 3.5vw, 48px))); } }
.logo-item { display: flex; align-items: center; gap: 10px; height: 44px; color: var(--muted); opacity: 0.8; transition: color 0.3s, opacity 0.3s; }
.logo-item:hover { color: var(--fg); opacity: 1; }
.logo-item svg { width: 26px; height: 26px; flex-shrink: 0; }
.logo-item .logo-item__wide { width: auto; height: 32px; aspect-ratio: 24 / 8.006; }
.logo-item .logo-item__sup { width: 13px; height: 13px; align-self: flex-start; margin: 4px 0 0 -7px; }
.wm { white-space: nowrap; line-height: 1; }
.wm--unicredit { font: 700 1.75rem/1 var(--f-body); letter-spacing: -0.03em; }
.wm--microsoft { font: 600 1.6rem/1 var(--f-body); letter-spacing: -0.02em; }
.wm--accenture { font: 600 1.75rem/1 var(--f-body); letter-spacing: -0.035em; }
.wm--genpact { font: 700 1.75rem/1 var(--f-body); letter-spacing: -0.045em; }
.wm--press { font: italic 400 1.95rem/1 var(--f-display); }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-block: clamp(48px, 7vw, 88px); border-block: 1px solid var(--line); }
.num { padding: 28px 20px 28px 0; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 8px; }
.num + .num { padding-left: 24px; border-left: 1px solid var(--line); }
.num__v { font: 400 var(--step-3)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.num__u { font: 500 var(--step--1)/1 var(--f-mono); color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; }
.num p { grid-column: 1 / -1; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
@media (max-width: 860px) {
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num:nth-child(3) { padding-left: 0; border-left: 0; }
  .num:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Sections */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 820px; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.section__head--row > div:first-child { display: grid; gap: 18px; }
.section__lede { color: var(--muted); font-size: var(--step-1); line-height: 1.5; max-width: 60ch; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), border-color 0.3s;
  transform-style: preserve-3d; overflow: hidden;
}
.tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 60%);
}
.tile:hover { border-color: var(--line-strong); }
.tile:hover::before { opacity: 1; }
.tile--wide { grid-column: span 2; }
.tile p { color: var(--muted); max-width: 60ch; }
.tile__tag { font: 500 var(--step--1)/1 var(--f-mono); color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; }
.tile--accent { background: linear-gradient(135deg, var(--accent-soft), transparent 60%), var(--surface); border-color: var(--line-strong); }
.pills { list-style: none; margin: auto 0 0; padding: 6px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills--brands li { display: inline-flex; align-items: center; gap: 7px; }
.pills--brands svg { width: 13px; height: 13px; }
.pills li { font-size: 0.8rem; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
@media (max-width: 900px) { .bento { grid-template-columns: minmax(0, 1fr); } .tile--wide { grid-column: auto; } }

/* Work */
.section__titles { display: grid; gap: 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); }
.filter { border: 0; background: transparent; color: var(--muted); padding: 8px 14px; border-radius: 999px; font: 500 0.88rem/1 var(--f-body); cursor: pointer; transition: background 0.25s, color 0.25s; }
.filter:hover { color: var(--fg); }
.filter.is-active { background: var(--fg); color: var(--bg); }
.filter__n { font: 500 0.72rem/1 var(--f-mono); opacity: 0.6; margin-left: 2px; font-variant-numeric: tabular-nums; }
.grid__empty { color: var(--muted); }
.grid__empty:empty { display: none; }
.work-group { display: grid; gap: 28px; padding-top: clamp(28px, 4vw, 44px); margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); animation: rise 0.6s var(--ease) both; }
.work-group:first-of-type { margin-top: 0; }
.work-group__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.work-group__head h3 { font-size: var(--step-2); }
.work-group__head p { color: var(--muted); max-width: 56ch; }
.work-group__head a { color: var(--accent); text-decoration: none; white-space: nowrap; }
@keyframes rise { from { transform: translateY(14px); opacity: 0.001; } }

.art {
  position: absolute; inset: 0; transition: transform 0.8s var(--ease);
  background:
    radial-gradient(70% 60% at 25% 30%, hsl(var(--h) 85% 62% / 0.5), transparent 70%),
    radial-gradient(60% 60% at 80% 85%, hsl(calc(var(--h) + 40) 80% 55% / 0.32), transparent 70%),
    var(--bg-2);
}
.art::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
}
.art img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.art__label {
  position: absolute; left: 22px; bottom: 18px; right: 22px; z-index: 1;
  font: 400 clamp(1.8rem, 1.2rem + 2vw, 3rem)/1 var(--f-display); color: var(--fg); letter-spacing: -0.01em;
}

/* Web projects: browser-framed cards */
.sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.site, .arch__card { font: inherit; color: inherit; text-align: left; cursor: pointer; }
.site { display: grid; gap: 16px; align-content: start; min-width: 0; padding: 0; border: 0; background: none; }
.site__frame { border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--surface); overflow: hidden; transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.3s; }
.site:hover .site__frame { transform: translateY(-6px); box-shadow: 0 30px 60px -30px var(--glow); border-color: var(--accent); }
.site__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.site__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); flex-shrink: 0; }
.site__bar span { flex: 1; min-width: 0; margin: 0 10px; padding: 5px 10px; border-radius: 6px; background: var(--bg); text-align: center; font: 400 0.78rem/1 var(--f-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site__status { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font: 500 0.66rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ok); }
.site__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in oklab, currentColor 22%, transparent); }
.site__status--off { color: var(--muted); }
.site__shot { position: relative; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; container-type: inline-size; }

/* Rebuilt hero of each client site, scaled with the card (cqw = 1% of card width) */
.mock {
  position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden;
  background-color: var(--m-bg); color: var(--m-fg); font-family: var(--f-body); text-align: left;
  transition: transform 0.8s var(--ease);
}
.site:hover .mock { transform: scale(1.03); }
.mock__nav { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 3cqw; padding: 3.4cqw 5cqw; font-size: 2cqw; }
.mock__logo { font-weight: 700; letter-spacing: 0.06em; white-space: nowrap; }
.mock__links { display: flex; gap: 2.6cqw; opacity: 0.72; white-space: nowrap; }
.mock__links i { font-style: normal; }
.mock__body { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 1.8cqw; padding: 0 6cqw 6.5cqw; }
.mock__kicker { font: 500 1.75cqw/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.14em; color: var(--m-ac); }
.mock__h { max-width: 15ch; font-size: 6.2cqw; font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
.mock__sub { max-width: 44ch; font-size: 2.15cqw; line-height: 1.4; opacity: 0.8; }
.mock__ctas { display: flex; flex-wrap: wrap; gap: 1.2cqw; align-self: flex-start; margin-top: 1.2cqw; }
.mock__cta { padding: 1.5cqw 3.2cqw; border-radius: 999px; background: var(--m-ac); color: var(--m-ink, #fff); font-size: 1.85cqw; font-weight: 600; white-space: nowrap; }
.mock__cta--ghost { background: transparent; color: var(--m-fg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--m-fg) 70%, transparent); }
.mock__deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.mock--bold {
  background-image: linear-gradient(90deg, var(--m-bg) 28%, color-mix(in srgb, var(--m-bg) 45%, transparent) 70%), var(--m-img, linear-gradient(transparent, transparent));
  background-size: cover; background-position: center;
}
.mock--bold .mock__h { font-size: 6.6cqw; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; text-transform: uppercase; }
.mock--bold .mock__cta { border-radius: 0.6cqw; text-transform: uppercase; letter-spacing: 0.06em; }
.mock--bold .mock__deco {
  background: repeating-linear-gradient(115deg, transparent 0 16cqw, color-mix(in srgb, var(--m-ac) 30%, transparent) 16cqw 16.8cqw);
  -webkit-mask-image: linear-gradient(90deg, transparent 45%, #000); mask-image: linear-gradient(90deg, transparent 45%, #000);
}

.mock--soft .mock__body { align-items: center; text-align: center; }
.mock--soft .mock__h { max-width: 18ch; font-family: var(--f-display); font-weight: 400; font-size: 7cqw; letter-spacing: -0.01em; }
.mock--soft .mock__sub { font-family: var(--f-display); font-style: italic; font-size: 3cqw; }
.mock--soft .mock__ctas { align-self: center; }
.mock--soft .mock__logo { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: 3cqw; letter-spacing: 0; }
.mock--soft .mock__deco {
  background:
    radial-gradient(circle at 8% 88%, color-mix(in srgb, var(--m-ac) 35%, transparent) 0 11cqw, transparent 11.2cqw),
    radial-gradient(circle at 94% 18%, color-mix(in srgb, var(--m-ac) 22%, transparent) 0 8cqw, transparent 8.2cqw),
    radial-gradient(circle at 88% 92%, color-mix(in srgb, #8fb8a8 40%, transparent) 0 5cqw, transparent 5.2cqw);
}

.mock--lounge { background-image: radial-gradient(80% 75% at 74% 62%, #1c5a3b, transparent 72%); }
.mock--lounge .mock__h { font-family: var(--f-display); font-weight: 400; font-size: 8.4cqw; letter-spacing: -0.01em; }
.mock--lounge .mock__sub { max-width: 34ch; }
.mock--lounge .mock__cta { background: transparent; color: var(--m-ac); box-shadow: inset 0 0 0 1px var(--m-ac); }
.mock--lounge .mock__logo { color: var(--m-ac); letter-spacing: 0.3em; }
.mock--lounge .mock__deco {
  background:
    radial-gradient(circle at 76% 40%, #fff 0 0.7cqw, #f2ede1 0.9cqw 4.2cqw, transparent 4.35cqw),
    radial-gradient(circle at 86% 56%, #ffb3a8 0 0.7cqw, #c0332d 0.9cqw 4.2cqw, transparent 4.35cqw),
    radial-gradient(circle at 72% 68%, #ffe7a3 0 0.7cqw, #e0a92e 0.9cqw 4.2cqw, transparent 4.35cqw),
    radial-gradient(circle at 90% 78%, #9aa0ff 0 0.7cqw, #1d2a8f 0.9cqw 4.2cqw, transparent 4.35cqw);
}

.mock--neon .mock__h { font-weight: 300; font-size: 7cqw; letter-spacing: 0.08em; text-transform: uppercase; text-shadow: 0 0 1.6cqw var(--m-ac), 0 0 4cqw color-mix(in srgb, var(--m-ac) 60%, transparent); }
.mock--neon .mock__logo { letter-spacing: 0.32em; font-weight: 500; }
.mock--neon .mock__cta { background: transparent; color: var(--m-fg); box-shadow: inset 0 0 0 1px var(--m-ac), 0 0 2cqw color-mix(in srgb, var(--m-ac) 50%, transparent); }
.mock--neon .mock__deco {
  background:
    radial-gradient(circle at 78% 50%, transparent 0 15cqw, var(--m-ac) 15.2cqw 15.6cqw, transparent 16.6cqw),
    radial-gradient(circle at 78% 50%, color-mix(in srgb, var(--m-ac) 28%, transparent), transparent 34cqw);
  filter: drop-shadow(0 0 1.2cqw var(--m-ac));
}

/* Photo heroes: the client's real hero screenshot (projects/img) with the missing buttons on top */
.site__shot:has(.mock--photo) { aspect-ratio: 2 / 1; }
.mock--photo { background: var(--m-img, none) center / cover no-repeat, var(--m-bg); }
.mock--photo .mock__deco { background: var(--m-scrim, linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 42%)); }
.mock--photo .mock__body { position: absolute; left: 5.5cqw; right: 5.5cqw; bottom: var(--m-y, 6cqw); flex: none; justify-content: flex-end; gap: 1.3cqw; padding: 0; }
.mock--photo .mock__kicker { font-size: 1.5cqw; }
.mock--photo .mock__h { max-width: 12ch; font-family: var(--f-display); font-weight: 400; font-size: 6cqw; line-height: 1; letter-spacing: -0.01em; text-shadow: 0 0.4cqw 3cqw rgba(0, 0, 0, 0.5); }
.mock--photo .mock__sub { max-width: 34ch; font-size: 1.7cqw; text-shadow: 0 0.2cqw 1.6cqw rgba(0, 0, 0, 0.6); }
.mock--photo .mock__cta { font-size: 1.7cqw; padding: 1.4cqw 3cqw; box-shadow: 0 1cqw 3cqw -1cqw rgba(0, 0, 0, 0.5); }
.mock--photo .mock__cta--ghost { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--m-fg) 75%, transparent); background: rgba(0, 0, 0, 0.18); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.mock--center .mock__body { align-items: center; text-align: center; }
.mock--center .mock__ctas { align-self: center; }
.site:hover .art { transform: scale(1.04); }
.site__meta { display: grid; gap: 6px; }
.site__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.site__title { font-size: var(--step-1); font-weight: 500; letter-spacing: -0.015em; min-width: 0; }
.site__platform { flex-shrink: 0; font: 500 0.72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px; }
.site__sum { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .sites { grid-template-columns: minmax(0, 1fr); } }

/* Architecture cards */
.arch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.arch__card {
  position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 240px; padding: 26px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(120% 80% at 100% 0%, hsl(var(--h) 80% 60% / 0.16), transparent 60%), var(--surface);
  transition: border-color 0.3s, transform 0.5s var(--ease);
}
.arch__card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.arch__org { display: flex; justify-content: space-between; gap: 12px; font: 500 var(--step--1)/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.arch__org span { color: var(--muted); letter-spacing: 0.04em; }
.arch__title { font-size: var(--step-1); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.arch__sum { color: var(--muted); font-size: 0.95rem; }
.arch__more { margin-top: auto; align-self: flex-end; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform 0.4s var(--ease), background 0.3s, color 0.3s; }
.arch__card:hover .arch__more { transform: rotate(-45deg); background: var(--accent); color: var(--accent-ink); border-color: transparent; }
@media (max-width: 900px) { .arch { grid-template-columns: minmax(0, 1fr); } .arch__card { min-height: 0; } }

/* Publications list */
.pubs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pub {
  display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) 11.5rem 3.2rem 24px; gap: 20px; align-items: center;
  padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background 0.3s, padding 0.4s var(--ease);
}
.pub:hover { background: var(--accent-soft); padding-inline: 16px; }
.pub__id { font: 500 0.82rem/1 var(--f-mono); color: var(--accent); }
.pub__title { font-weight: 500; line-height: 1.35; min-width: 0; }
.pub__type { color: var(--muted); font-size: 0.88rem; }
.pub__year { font: 400 0.84rem/1 var(--f-mono); color: var(--muted); font-variant-numeric: tabular-nums; text-align: right; }
.pub__arrow { color: var(--muted); transition: transform 0.3s, color 0.3s; }
.pub:hover .pub__arrow { transform: translate(3px, -3px); color: var(--accent); }
@media (max-width: 760px) {
  .pub { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .pub__id { grid-area: 1 / 1; }
  .pub__year { grid-area: 1 / 2; }
  .pub__title { grid-area: 2 / 1 / 3 / 3; }
  .pub__type { grid-area: 3 / 1; }
  .pub__arrow { grid-area: 3 / 2; justify-self: end; }
}

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.role { border-bottom: 1px solid var(--line); }
.role__head {
  width: 100%; display: grid; grid-template-columns: 9rem minmax(0, 1fr) 28px; gap: 20px; align-items: center;
  padding: 26px 0; background: none; border: 0; color: inherit; text-align: left; font: inherit; cursor: pointer;
}
.role__when { font: 400 0.88rem/1 var(--f-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.role__title { font-size: var(--step-1); font-weight: 500; letter-spacing: -0.015em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; transition: color 0.2s; }
.role__org { font: italic 400 1.15em/1 var(--f-display); color: var(--accent); }
.role__head:hover .role__title { color: var(--accent); }
.role__plus { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); position: relative; transition: transform 0.4s var(--ease), background 0.3s; }
.role__plus::before, .role__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.role__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease); }
.role.is-open .role__plus { background: var(--accent-soft); }
.role.is-open .role__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.role__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); padding-left: calc(9rem + 20px); }
.role__body > * { overflow: hidden; }
.role.is-open .role__body { grid-template-rows: 1fr; }
.role__body { color: var(--muted); }
.role__body p { margin-bottom: 10px; }
.role__body ul { margin: 0; padding: 0 0 26px 18px; display: grid; gap: 8px; max-width: 70ch; }
@media (max-width: 680px) {
  .role__head { grid-template-columns: minmax(0, 1fr) 28px; gap: 8px 16px; }
  .role__when { grid-column: 1 / -1; }
  .role__plus { grid-row: 2; grid-column: 2; }
  .role__body { padding-left: 0; }
}
/* Certifications */
.certs { margin-top: clamp(56px, 8vw, 88px); display: grid; gap: 24px; }
.certs__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.certs__head > div { display: grid; gap: 14px; }
.certs__head h3 { font-size: var(--step-2); }
.badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.badge-card { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; min-width: 0; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color 0.3s, transform 0.5s var(--ease); }
.badge-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.badge-card__img { position: relative; width: 84px; height: 84px; display: grid; place-items: center; }
.badge-card__img img { width: 100%; height: 100%; object-fit: contain; }
.badge-card__img.is-fallback::before {
  content: attr(data-mono); width: 74px; height: 80px; display: grid; place-items: center;
  clip-path: polygon(50% 0, 96% 25%, 96% 75%, 50% 100%, 4% 75%, 4% 25%);
  background: linear-gradient(160deg, var(--accent-soft), transparent 70%), var(--bg-2);
  color: var(--accent); font: 500 0.82rem/1 var(--f-mono); letter-spacing: 0.06em;
}
.badge-card__txt { display: grid; gap: 6px; align-content: start; }
.badge-card__txt strong { font-weight: 500; line-height: 1.3; }
.badge-card__txt span { color: var(--muted); font-size: 0.86rem; }
.badge-card__link { font-size: 0.86rem; color: var(--accent); text-decoration: none; }
.badge-card__link:hover { text-decoration: underline; }
.badges--compact { margin-top: 12px; }
.badges--compact .badge-card { grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 4px 14px; padding: 14px 16px; }
.badges--compact .badge-card__img { width: 52px; height: 52px; grid-row: span 2; }
.badges--compact .badge-card__img.is-fallback::before { width: 46px; height: 50px; font-size: 0.66rem; }
.badges--compact .badge-card__link { grid-column: 2; }
.earlier summary { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--muted); cursor: pointer; list-style: none; }
.earlier summary::-webkit-details-marker { display: none; }
.earlier summary::before { content: "+"; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); font: 400 0.9rem/1 var(--f-mono); transition: transform 0.3s var(--ease); }
.earlier[open] summary::before { transform: rotate(45deg); }
.earlier summary:hover { color: var(--fg); }
.earlier__n { font: 500 0.72rem/1 var(--f-mono); padding: 4px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.edu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.edu > div { display: grid; gap: 12px; align-content: start; }
.edu__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.edu__links a { color: var(--accent); text-decoration: none; }
.edu__links a:hover { text-decoration: underline; }
@media (max-width: 720px) { .edu { grid-template-columns: minmax(0, 1fr); } }

/* Pro bono */
.probono {
  position: relative; background: var(--pb-bg); padding-block: clamp(72px, 10vw, 136px);
  border-block: 1px solid var(--line);
}
.probono::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 40% at 15% 10%, var(--warm-soft), transparent 70%);
}
.probono .wrap { position: relative; }
.probono em { color: var(--warm); }
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.who__card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: color-mix(in oklab, var(--surface) 60%, transparent); display: grid; gap: 12px; align-content: start; transition: border-color 0.3s, transform 0.5s var(--ease); }
.who__card:hover { border-color: var(--warm); transform: translateY(-4px); }
.who__card svg { width: 40px; height: 40px; color: var(--warm); }
.who__card p { color: var(--muted); }
@media (max-width: 860px) { .who { grid-template-columns: minmax(0, 1fr); } }
.pb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); margin-top: clamp(48px, 7vw, 88px); }
@media (max-width: 900px) { .pb-split { grid-template-columns: minmax(0, 1fr); } }
.steps { display: grid; gap: 22px; align-content: start; }
.steps ol { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 2px 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font: 400 1.9rem/1 var(--f-display); color: var(--warm); }
.steps strong { font-weight: 500; font-size: 1.08rem; }
.steps span { color: var(--muted); }
.apply { display: grid; gap: 18px; padding: clamp(22px, 3.5vw, 36px); border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: 0 30px 80px -40px var(--warm-soft); }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 0.88rem; color: var(--muted); padding: 0; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line-strong);
  border-radius: 12px; padding: 12px 14px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--warm); box-shadow: 0 0 0 4px var(--warm-soft); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-strong); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { flex: 1 1 140px; text-align: center; padding: 9px 12px; border-radius: 9px; cursor: pointer; color: var(--muted); transition: background 0.2s, color 0.2s; }
.seg input:checked + label { background: var(--warm-soft); color: var(--fg); box-shadow: inset 0 0 0 1px var(--warm); }
.seg input:focus-visible + label { outline: 2px solid var(--warm); outline-offset: 2px; }
.apply .btn { justify-self: start; }
.form-note { font-size: 0.88rem; color: var(--muted); }
.form-note:empty { display: none; }
.form-note[data-kind="ok"] { color: var(--ok); }
.form-note[data-kind="error"] { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.apply--cool { box-shadow: 0 30px 80px -40px var(--glow); }
.apply--cool .field input:focus, .apply--cool .field select:focus, .apply--cool .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__intro { display: grid; gap: 22px; }
.contact__card { justify-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; max-width: 100%; padding: 12px 14px 12px 12px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.contact__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 16%; box-shadow: 0 0 0 3px var(--accent-soft); }
.contact__who { display: grid; gap: 2px; min-width: 0; flex: 1 1 160px; }
.contact__who strong { font-weight: 500; }
.contact__who span { font-size: 0.88rem; color: var(--muted); }
.contact__title { font-size: var(--step-3); letter-spacing: -0.035em; line-height: 1; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 28px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--fg); }

/* Modal */
.modal {
  width: min(720px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); overflow: auto;
}
.modal::backdrop { background: rgba(5, 7, 12, 0.6); backdrop-filter: blur(6px); }
.modal[open] { animation: pop 0.45s var(--ease); }
@keyframes pop { from { transform: translateY(16px) scale(0.98); opacity: 0; } }
.modal__art { container-type: inline-size; position: relative; aspect-ratio: 16 / 8; max-width: 100%; overflow: hidden; background: var(--bg-2); }
.modal__art img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: clamp(20px, 4vw, 32px); display: grid; gap: 14px; }
.modal__body h3 { font-size: var(--step-2); }
.modal__body > p:not(.eyebrow) { color: var(--muted); }
.modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* Phone refinements */
@media (max-width: 600px) {
  .section { padding-block: 64px; }
  .section__head { margin-bottom: 28px; }
  .hero { padding-block: 28px 40px; }
  .hero__main { gap: 22px; }
  .chip { font-size: 0.8rem; padding: 6px 12px 6px 9px; gap: 8px; }
  .hero__lede { font-size: 1.08rem; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .hero__meta { gap: 16px 28px; padding-top: 20px; }
  .icon-btn { width: 40px; height: 40px; }
  .lang__btn { padding: 10px 9px; }
  .nav__inner { padding: 6px 6px 6px 10px; gap: 10px; }
  .numbers { margin-block: 40px; }
  .num { padding: 22px 12px 22px 0; }
  .num + .num { padding-left: 16px; }
  .marquee__track { gap: 44px; }
  .logo-item { height: 36px; }
  .wm--unicredit, .wm--accenture, .wm--genpact { font-size: 1.4rem; }
  .wm--microsoft { font-size: 1.3rem; }
  .wm--press { font-size: 1.55rem; }
  .logo-item svg { width: 22px; height: 22px; }
  .logo-item .logo-item__wide { height: 26px; }
  .section__head--row { align-items: start; }
  .filters { border-radius: 22px; }
  .filter { padding: 10px 14px; }
  .work-group { gap: 20px; }
  .work-group__head h3 { font-size: 1.6rem; }
  .arch__card { padding: 22px; }
  .tile { padding: 22px; }
  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .badge-card { padding: 14px; gap: 10px; }
  .badge-card__img { width: 60px; height: 60px; }
  .badge-card__img.is-fallback::before { width: 54px; height: 58px; font-size: 0.7rem; }
  .badge-card__txt strong { font-size: 0.92rem; }
  .badges--compact { grid-template-columns: minmax(0, 1fr); }
  .who__card { padding: 22px; }
  .probono { padding-block: 64px; }
  .apply { padding: 20px; border-radius: 20px; }
  .apply .btn { justify-self: stretch; justify-content: center; }
  .seg label { flex-basis: 100%; }
  .contact__title { font-size: 2.4rem; }
  .footer { flex-direction: column; align-items: flex-start; gap: 10px; padding-block: 24px 32px; }
  .modal__actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (hover: none) {
  .tile, .site__frame, .arch__card, .badge-card, .who__card { transition: none; }
}

/* Reveal: elements are visible at rest; JS only adds a gentle lift when they enter. */
.reveal.is-in { animation: rise 0.8s var(--ease) both; animation-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
