/* Layout: single long page, 1120px column, editorial sections separated by tone shifts; portrait-centred hero, fanned service cards, timeline experience. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f5f3;
  --surface: #ffffff;
  --surface-2: #f3f2ef;
  --ink: #141414;
  --ink-2: #4a4a4a;
  --muted: #7b7b7b;
  --line: #e8e6e2;
  --accent: #ef4a2b;
  --accent-soft: #fdeae5;
  --dark: #161616;
  --dark-2: #222222;
  --on-dark: #f4f2ee;
  --on-dark-2: #a9a6a0;
  --cream: #f1efe9;
  --shadow: 0 1px 2px rgba(20, 20, 20, .04), 0 12px 32px -12px rgba(20, 20, 20, .12);
  --shadow-lg: 0 30px 60px -20px rgba(20, 20, 20, .28);
  --hero-glow: radial-gradient(closest-side, #e9e9ea 0%, #f4f4f5 55%, rgba(255, 255, 255, 0) 100%);

  --f-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-caps: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 18px;
  --r-sm: 12px;
  --nav-h: 72px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0f10; --bg-soft: #141415; --surface: #18181a; --surface-2: #1f1f22;
    --ink: #f2f0ec; --ink-2: #c4c1bb; --muted: #8d8a85; --line: #2a2a2d;
    --accent: #ff5a3a; --accent-soft: #3a1c15;
    --dark: #050505; --dark-2: #1b1b1d; --on-dark: #f4f2ee; --on-dark-2: #a9a6a0;
    --cream: #232220;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
    --hero-glow: radial-gradient(closest-side, #2a2a2d 0%, #1a1a1c 55%, rgba(15, 15, 16, 0) 100%);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0f10; --bg-soft: #141415; --surface: #18181a; --surface-2: #1f1f22;
  --ink: #f2f0ec; --ink-2: #c4c1bb; --muted: #8d8a85; --line: #2a2a2d;
  --accent: #ff5a3a; --accent-soft: #3a1c15;
  --dark: #050505; --dark-2: #1b1b1d; --on-dark: #f4f2ee; --on-dark-2: #a9a6a0;
  --cream: #232220;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
  --hero-glow: radial-gradient(closest-side, #2a2a2d 0%, #1a1a1c 55%, rgba(15, 15, 16, 0) 100%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .3s ease, color .3s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

.eyebrow { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.h-section { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -.025em; }
.accent { color: var(--accent); }
.section { padding-block: clamp(72px, 10vw, 120px); }
.section--soft { background: var(--bg-soft); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--split { grid-template-columns: 1fr auto; align-items: end; }
.section-head p.lede { color: var(--ink-2); max-width: 56ch; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 14px; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--ghost { border-color: var(--line); background: var(--surface); }
.btn--pill { border-radius: 999px; }
.arrow { width: 14px; height: 14px; flex: none; }

/* ---------- NAV ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--f-caps); font-weight: 600; font-size: 17px; letter-spacing: .06em; display: inline-flex; align-items: flex-start; gap: 3px; }
.logo sup { font-family: var(--f-sans); font-size: 10px; margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 28px); list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 14px; color: var(--ink-2); font-weight: 500; position: relative; padding-block: 6px; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { font-weight: 600; }
.nav-links a.active::after { transform: scaleX(1); }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: inline-grid; place-items: center; cursor: pointer; transition: transform .2s; }
.icon-btn:hover { transform: rotate(-15deg); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}
.nav-right { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: inline-grid; }
  .nav-links { position: fixed; inset: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s ease; }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-links a::after { display: none; }
}

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding-bottom: 64px; }
.hero .wrap { display: grid; grid-template-columns: 1fr minmax(300px, 1.5fr) 1fr; align-items: center; gap: 16px; padding-top: 36px; }
.hero-col { display: grid; gap: 22px; position: relative; z-index: 2; }
.hero-col--right { text-align: center; justify-items: center; }
.hero-word { font-size: clamp(44px, 6.4vw, 80px); font-weight: 800; letter-spacing: -.045em; line-height: .92; text-transform: uppercase; }
.hero-col .hero-word--code { font-size: clamp(36px, 4.6vw, 60px); max-width: none; color: var(--ink); letter-spacing: -.03em; white-space: nowrap; }
.hero-col p { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 26ch; line-height: 1.5; }
.hero-figure { position: relative; align-self: end; display: grid; justify-items: center; }
.hero-figure::before { content: ""; position: absolute; inset: 0 -25% -10%; background: var(--hero-glow); z-index: 0; }
.hero-figure img { position: relative; z-index: 1; width: 100%; height: auto; max-width: 540px; -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); mask-image: linear-gradient(to bottom, #000 82%, transparent 100%); }
.hero-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #2fbf6b; box-shadow: 0 0 0 4px color-mix(in srgb, #2fbf6b 22%, transparent); }
@keyframes rise { from { transform: translateY(18px); opacity: .001; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-col--left > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-col--left > *:nth-child(2) { animation-delay: .08s; }
  .hero-col--left > *:nth-child(3) { animation-delay: .16s; }
  .hero-figure img { animation: rise 1s .05s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-col--right > * { animation: rise .8s .2s cubic-bezier(.2, .7, .2, 1) both; }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; text-align: center; gap: 28px; padding-top: 32px; }
  .hero-col, .hero-col--right { justify-items: center; }
  .hero-col p { max-width: 34ch; }
  .hero-figure { order: 2; max-width: 320px; margin-inline: auto; width: 100%; margin-block: -8px -28px; }
  .hero-col--right { order: 3; }
  .hero-meta { justify-content: center; }
}

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-copy { display: grid; gap: 20px; min-width: 0; }
.about-copy .lead { font-size: clamp(19px, 2vw, 23px); font-weight: 600; line-height: 1.45; letter-spacing: -.01em; }
.about-copy p { color: var(--ink-2); max-width: 60ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px; background: var(--surface-2); border-radius: 6px; color: var(--ink); }
.about-photo { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; max-width: 100%; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo figcaption { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 12px 16px; border-radius: 12px; font-size: 13px; }
.about-photo figcaption strong { display: block; font-size: 14px; }
.about-photo figcaption span { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: clamp(48px, 7vw, 80px); }
.stat { background: var(--surface); padding: 22px 24px; display: grid; gap: 4px; }
.stat b { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.stat b em { font-style: normal; color: var(--accent); }
.stat span { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 460px; } .stats { grid-template-columns: repeat(2, 1fr); } }

.split-card { margin-top: clamp(56px, 8vw, 96px); background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); }
.split-card h3 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.03em; font-weight: 700; margin-bottom: 32px; }
.split-grid { display: grid; grid-template-columns: 1fr 150px 1fr; gap: 28px; align-items: center; }
.split-col { background: var(--bg-soft); border-radius: 14px; padding: 24px 26px; border: 1px solid var(--line); min-width: 0; }
.split-col h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.split-col h4::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
.split-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.split-col li { display: flex; gap: 12px; color: var(--ink-2); font-size: 15px; }
.split-col li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); margin-top: 9px; flex: none; opacity: .6; }
.badge-spin { width: 140px; height: 140px; position: relative; display: grid; place-items: center; margin-inline: auto; }
.badge-spin svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge-spin text { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .32em; fill: var(--ink); text-transform: uppercase; }
.badge-spin .ring { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 3 4; }
.badge-spin b { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; position: relative; }
@media (prefers-reduced-motion: no-preference) { .badge-spin .rot { animation: spin 22s linear infinite; transform-origin: 50% 50%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .split-grid { grid-template-columns: 1fr; } .badge-spin { order: -1; width: 120px; height: 120px; } }

.facts { margin-top: clamp(56px, 8vw, 96px); }
.facts h3 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.025em; margin: 10px 0 28px; }
.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; color: var(--ink); font-size: 15.5px; transition: transform .25s ease, box-shadow .25s ease; }
.fact:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
@media (max-width: 700px) { .facts-grid { grid-template-columns: 1fr; } }

/* ---------- SERVICES (fan) ---------- */
.services { background: var(--bg-soft); padding-block: clamp(72px, 10vw, 120px) 0; overflow: hidden; }
.services .section-head { text-align: center; justify-items: center; }
.services .section-head h2 { font-family: var(--f-serif); font-weight: 600; font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.01em; }
.fan { position: relative; height: 690px; max-width: 1100px; margin-inline: auto; }
.fan-card { position: absolute; left: 50%; bottom: 215px; width: 270px; height: 390px; margin-left: -135px; border-radius: 28px; padding: 28px 26px 22px; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); transform-origin: 50% 210%; transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; transform: rotate(var(--r)); }
.fan-card:hover, .fan-card:focus-within { transform: rotate(var(--r)) translateY(-34px); z-index: 5; }
.fan-card:nth-child(1) { --r: -33deg; }
.fan-card:nth-child(2) { --r: -11deg; }
.fan-card:nth-child(3) { --r: 11deg; }
.fan-card:nth-child(4) { --r: 33deg; }
.fan-card .num { font-family: var(--f-serif); font-size: 16px; color: var(--accent); font-style: italic; }
.fan-card h3 { font-family: var(--f-serif); font-size: 30px; font-weight: 700; line-height: 1.02; letter-spacing: -.01em; margin: 6px 0 14px; }
.fan-card p { font-size: 14px; line-height: 1.5; opacity: .85; }
.fan-card .tags { margin-top: auto; padding-top: 14px; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 20%, transparent); font-size: 11.5px; opacity: .75; }
.fan-card .explore { margin-top: 12px; font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.fan-card--dark { background: #161616; color: #f4f2ee; }
.fan-card--cream { background: var(--cream); color: var(--ink); }
.fan-card--accent { background: var(--accent); color: #fff; }
.fan-card--accent .num { color: #fff; }
.fan-base { position: absolute; left: 50%; bottom: 0; width: 560px; height: 270px; margin-left: -280px; background: #161616; border-radius: 280px 280px 0 0; z-index: 6; display: grid; justify-items: center; align-content: start; padding-top: 62px; text-align: center; color: #f4f2ee; }
.fan-base::before { content: ""; position: absolute; inset: 22px 22px 0; border-radius: 260px 260px 0 0; border: 1px solid rgba(255, 255, 255, .07); border-bottom: 0; }
.fan-base .eyebrow { color: #a9a6a0; }
.fan-base h2 { font-family: var(--f-serif); font-weight: 500; font-size: 48px; margin: 10px 0 12px; }
.fan-base hr { width: 44px; height: 3px; border: 0; background: var(--accent); margin: 0 0 14px; }
.fan-base p { color: #a9a6a0; font-size: 15px; max-width: 26ch; }
.services-also { text-align: center; color: var(--muted); font-size: 14px; padding-block: 28px 0; }
@media (max-width: 1060px) { .fan-card:nth-child(1) { --r: -30deg; } .fan-card:nth-child(4) { --r: 30deg; } .fan-card { width: 240px; margin-left: -120px; } .fan-card h3 { font-size: 26px; } }
@media (max-width: 820px) {
  .fan { height: auto; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 28px; margin-inline: calc(-1 * var(--gutter)); }
  .fan-card { position: relative; left: auto; bottom: auto; margin: 0; flex: 0 0 78%; max-width: 300px; height: 380px; transform: none !important; scroll-snap-align: center; }
  .fan-base { position: relative; left: auto; margin: 0 auto; width: min(100%, 460px); height: 230px; padding-top: 52px; border-radius: 230px 230px 0 0; }
  .fan-base h2 { font-size: 38px; }
  .services .fan-wrap { display: grid; }
}

/* ---------- WORK ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 500; cursor: pointer; color: var(--ink-2); transition: .2s; }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-card { border-radius: 22px; padding: 28px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; min-height: 290px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; position: relative; overflow: hidden; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-card.is-dark { background: #161616; color: #f4f2ee; border-color: #161616; }
.work-card.is-dark .w-desc, .work-card.is-dark .w-stack { color: #a9a6a0; }
.work-card .w-text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.w-cat { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.w-title { font-size: clamp(22px, 2.2vw, 27px); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
.w-desc { font-size: 14px; color: var(--ink-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.w-stack { margin-top: auto; font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.w-link { font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; border-bottom: 1.5px solid currentColor; align-self: flex-start; padding-bottom: 1px; }
.w-link .arrow { color: var(--accent); }
.w-private { font-size: 13px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.w-badge { position: absolute; top: 18px; right: 18px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: color-mix(in srgb, #2fbf6b 16%, transparent); color: #2fbf6b; z-index: 3; }
.w-badge.private { background: color-mix(in srgb, var(--muted) 18%, transparent); color: var(--muted); }
.work-card.is-dark .w-badge.private { color: #a9a6a0; }
.w-shot { align-self: center; min-width: 0; transform: rotate(-2deg) translateX(14px); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.work-card:hover .w-shot { transform: rotate(0) translateX(6px) scale(1.02); }
.w-shot img { border-radius: 10px; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .45); }
.work-more { margin-top: 40px; display: grid; gap: 14px; }
.work-more h3 { font-size: 20px; letter-spacing: -.01em; }
.site-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.site-list a, .site-list div { background: var(--surface); padding: 16px 18px; display: grid; gap: 2px; font-size: 14px; transition: background-color .2s; }
.site-list a:hover { background: var(--surface-2); }
.site-list b { font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.site-list span { color: var(--muted); font-size: 12.5px; }
.site-list .arrow { color: var(--accent); }
.work-note { color: var(--muted); font-size: 14px; }
@media (max-width: 980px) { .work-grid { grid-template-columns: 1fr; } .site-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .work-card { grid-template-columns: 1fr; padding: 22px; } .w-shot { transform: none; order: -1; } .site-list { grid-template-columns: 1fr; } .section-head--split { grid-template-columns: 1fr; } }

/* mock browser screens */
.mock { border-radius: 10px; overflow: hidden; background: #fff; color: #111; box-shadow: 0 22px 44px -16px rgba(0, 0, 0, .45); font-family: var(--f-sans); aspect-ratio: 16 / 11; display: flex; flex-direction: column; font-size: 7px; line-height: 1.3; max-width: 100%; }
.mock-bar { height: 16px; background: #ececec; display: flex; align-items: center; gap: 4px; padding: 0 7px; flex: none; }
.mock-bar i { width: 5px; height: 5px; border-radius: 50%; background: #c9c9c9; }
.mock-bar i:nth-child(1) { background: #ff6159; } .mock-bar i:nth-child(2) { background: #ffbd2e; } .mock-bar i:nth-child(3) { background: #28c941; }
.mock-bar span { margin-left: 8px; flex: 1; background: #fff; border-radius: 4px; height: 9px; font-size: 5.5px; color: #888; padding: 0 6px; display: flex; align-items: center; overflow: hidden; white-space: nowrap; }
.mock-body { flex: 1; display: flex; min-height: 0; position: relative; }
.m-side { width: 22%; background: var(--m, #222); color: #fff; padding: 8px 6px; display: grid; align-content: start; gap: 5px; }
.m-side b { font-size: 7.5px; margin-bottom: 4px; }
.m-side i { display: block; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .25); }
.m-side i.on { background: rgba(255, 255, 255, .85); }
.m-main { flex: 1; padding: 8px; display: grid; gap: 6px; align-content: start; background: #f6f6f8; min-width: 0; }
.m-row { display: flex; gap: 5px; }
.m-kpi { flex: 1; background: #fff; border-radius: 5px; padding: 5px; display: grid; gap: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.m-kpi b { font-size: 9px; }
.m-kpi span { font-size: 5px; color: #888; }
.m-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.m-col { background: #eceef2; border-radius: 5px; padding: 4px; display: grid; gap: 3px; align-content: start; }
.m-col > span { font-size: 5.5px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: .05em; }
.m-tile { background: #fff; border-radius: 3px; height: 13px; border-left: 2px solid var(--m, #333); }
.m-line { display: block; height: 4px; border-radius: 2px; background: #dcdde2; }
.m-line.s { width: 60%; } .m-line.xs { width: 35%; }
.m-hero { position: relative; flex: 1; background: var(--m, #222); color: #fff; display: grid; align-content: center; padding: 12px 14px; gap: 5px; overflow: hidden; }
.m-hero h5 { margin: 0; font-size: 13px; line-height: 1.05; max-width: 70%; font-weight: 800; }
.m-hero p { font-size: 6px; opacity: .8; max-width: 60%; }
.m-hero .m-btn { justify-self: start; background: #fff; color: var(--m, #222); font-weight: 700; font-size: 5.5px; padding: 3px 7px; border-radius: 9px; }
.m-hero::after { content: ""; position: absolute; right: -10%; top: -20%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.m-nav { display: flex; justify-content: space-between; align-items: center; padding: 5px 10px; background: #fff; font-size: 6px; font-weight: 700; }
.m-nav span { display: flex; gap: 6px; color: #777; font-weight: 500; }
.m-col-wrap { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.m-news { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 5px; padding: 7px; background: #fff; }
.m-news div { height: 30px; border-radius: 3px; background: linear-gradient(135deg, var(--m, #333), #999); }
.m-news div:first-child { grid-row: span 2; height: auto; }
.m-player { display: flex; align-items: center; gap: 6px; background: #111; color: #fff; padding: 6px 10px; font-size: 6px; }
.m-player i { width: 14px; height: 14px; border-radius: 50%; background: var(--m); display: grid; place-items: center; }
.m-player i::after { content: ""; border-left: 4px solid #fff; border-top: 3px solid transparent; border-bottom: 3px solid transparent; margin-left: 1px; }
.m-wave { flex: 1; height: 10px; background: repeating-linear-gradient(90deg, var(--m) 0 2px, transparent 2px 4px); opacity: .7; border-radius: 2px; }
.m-table { background: #fff; border-radius: 5px; overflow: hidden; display: grid; }
.m-table div { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4px; padding: 4px 6px; border-bottom: 1px solid #eee; font-size: 5.5px; }
.m-table div:first-child { background: var(--m); color: #fff; font-weight: 700; }
.m-cam { display: grid; grid-template-columns: 1.3fr 1fr; gap: 6px; padding: 8px; background: #0f1320; flex: 1; color: #cfd6ff; }
.m-cam .cam { border-radius: 6px; background: radial-gradient(circle at 50% 40%, #3b4366 0 18%, #262c45 19% 100%); position: relative; }
.m-cam .cam::after { content: "● REC 01:42"; position: absolute; top: 4px; left: 5px; font-size: 5px; color: #ff6b6b; }
.m-cam .tr { display: grid; gap: 4px; align-content: start; font-size: 5.5px; }
.m-cam .tr b { color: #fff; font-size: 6.5px; }
.m-cam .tr .m-line { background: #2c3354; }
.m-quiz { padding: 8px; display: grid; gap: 4px; background: #fff; flex: 1; }
.m-quiz b { font-size: 7px; }
.m-opt { border: 1px solid #e3e3e3; border-radius: 4px; padding: 3px 5px; font-size: 5.5px; }
.m-opt.on { border-color: var(--m); background: color-mix(in srgb, var(--m) 12%, #fff); }
.m-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.m-cal i { height: 9px; border-radius: 2px; background: #e4e6ea; }
.m-cal i.p { background: color-mix(in srgb, var(--m) 70%, #fff); }
.m-cal i.a { background: #f1b9b9; }

/* previews for HRM, compliance, jobs, booking, broadcast */
.m-chip { font-size: 6px; font-weight: 700; background: #f4f6f7; border-radius: 4px; padding: 3px 4px; }
.hbars { display: flex; align-items: flex-end; gap: 6%; height: 52px; padding-top: 4px; border-bottom: 1px solid #e5e5e5; }
.hb { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.hb i { display: block; width: 100%; }
.m-prog { height: 3px; border-radius: 3px; background: #ececec; overflow: hidden; margin-top: 3px; }
.m-prog i { display: block; height: 100%; background: var(--m); }
.m-trow { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 2px 0; border-bottom: 1px solid #f1f1f1; font-size: 5.5px; }
.m-trow em { font-style: normal; font-size: 5px; padding: 1px 4px; border-radius: 6px; }
.m-trow .exp { background: #fbe3e0; color: #c4574a; } .m-trow .soon { background: #fdf0d9; color: #b7791f; } .m-trow .ok { background: #ddf3e5; color: #1f9d55; }
.donut { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(#d58a2e 0 33%, #c4574a 33% 100%); -webkit-mask: radial-gradient(circle, transparent 52%, #000 53%); mask: radial-gradient(circle, transparent 52%, #000 53%); }
.kk-head { background: #eba300; border: 1.5px solid #1b1b1b; border-radius: 5px; padding: 5px 7px; display: grid; gap: 1px; color: #1b1b1b; }
.kk-head b { font-size: 13px; line-height: 1; }
.kk-head span { font-size: 5.5px; font-weight: 600; }
.kk-tab { flex: 1; text-align: center; font-size: 6px; font-weight: 700; padding: 4px; border-radius: 4px; background: #fff; border: 1px solid #ddd; }
.kk-tab.on { background: #1b1f1d; color: #fff; border-color: #1b1f1d; }
.kk-search { background: #fff; border: 1px solid #ddd; border-radius: 4px; padding: 3px 5px; font-size: 5.5px; color: #777; }
.kk-chip { font-size: 5.5px; padding: 2px 6px; border-radius: 8px; background: #fff; border: 1px solid #ddd; }
.kk-chip.on { background: #eba300; border-color: #b77f00; font-weight: 700; }
.kk-card { background: #fff; border: 1px solid #e2e2e2; border-radius: 5px; padding: 5px 6px; display: grid; gap: 2px; font-size: 5.5px; }
.kk-card b { font-size: 7px; }
.kk-call { background: #2b7d3e; color: #fff; text-align: center; border-radius: 4px; padding: 3px; font-weight: 700; margin-top: 2px; }
.sl-tabs { display: flex; background: #e9e9f2; border-radius: 5px; padding: 2px; font-size: 5.5px; }
.sl-tabs span { flex: 1; text-align: center; padding: 2px; color: #777; }
.sl-tabs .on { background: #fff; border-radius: 4px; color: #111; font-weight: 700; }
.sl-btn { background: var(--m); color: #fff; font-size: 5.5px; font-weight: 700; padding: 3px 7px; border-radius: 4px; justify-self: center; }
.bc-msg { background: #dcf8c6; border-radius: 5px 5px 5px 0; padding: 4px 5px; font-size: 5.5px; margin: 3px 0; color: #222; }

/* ---------- CTA ---------- */
.cta-band { padding-block: clamp(48px, 7vw, 72px); background: var(--bg-soft); }
.cta-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-card h3 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.02em; }
.cta-card p { color: var(--muted); margin-top: 6px; }

/* ---------- EXPERIENCE ---------- */
.journey { display: grid; grid-template-columns: 330px 1fr; gap: clamp(32px, 5vw, 64px); }
.journey-intro { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; display: grid; gap: 20px; }
.big-caps { font-family: var(--f-caps); font-weight: 500; font-size: clamp(42px, 5.4vw, 66px); line-height: .98; letter-spacing: -.01em; text-transform: uppercase; }
.journey-intro p { color: var(--ink-2); font-size: 17px; max-width: 30ch; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mini-stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 2px; }
.mini-stats b { font-size: 22px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mini-stats span { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.timeline { position: relative; display: grid; gap: 24px; padding-left: 150px; min-width: 0; }
.timeline::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-item { position: relative; min-width: 0; }
.tl-date { position: absolute; left: -150px; top: 22px; width: 104px; text-align: right; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; line-height: 1.4; }
.tl-dot { position: absolute; left: -38px; top: 24px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--muted); }
.tl-item.current .tl-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.tl-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; display: grid; gap: 14px; transition: border-color .3s, box-shadow .3s; }
.tl-item.current .tl-card { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.tl-card:hover { box-shadow: var(--shadow); }
.tl-head { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; }
.tl-logo { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-family: var(--f-mono); font-weight: 700; font-size: 12px; display: grid; place-items: center; letter-spacing: .02em; }
.tl-head h3 { font-size: clamp(18px, 2vw, 22px); letter-spacing: -.015em; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tl-head .co { color: var(--muted); font-size: 14px; margin-top: 3px; }
.pill-now { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .1em; background: var(--accent); color: #fff; padding: 3px 8px; border-radius: 999px; font-weight: 700; }
.tl-visit { font-family: var(--f-mono); font-size: 11px; color: var(--accent); align-self: start; white-space: nowrap; }
.tl-card > p { color: var(--ink-2); font-size: 14.5px; }
.tl-card ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; display: grid; gap: 5px; }
.tl-card ul b { color: var(--ink); font-weight: 600; }
.tags-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 12px; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }
.tl-sub { font-size: 12.5px; color: var(--muted); font-family: var(--f-mono); }
@media (max-width: 980px) { .journey { grid-template-columns: 1fr; } .journey-intro { position: static; } }
@media (max-width: 640px) {
  .timeline { padding-left: 22px; }
  .timeline::before { left: 4px; }
  .tl-dot { left: -23px; }
  .tl-date { position: static; text-align: left; width: auto; margin-bottom: 8px; }
  .tl-head { grid-template-columns: 40px 1fr; }
  .tl-visit { grid-column: 2; }
}

/* ---------- EDUCATION ---------- */
.edu { display: grid; grid-template-columns: 330px 1fr; gap: clamp(32px, 5vw, 64px); }
.edu-side { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; display: grid; gap: 18px; }
.edu-side h2 { font-family: var(--f-serif); font-weight: 600; font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -.01em; line-height: 1.02; }
.edu-side p { color: var(--ink-2); }
.edu-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.edu-mini div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 4px; position: relative; }
.edu-mini div:last-child { grid-column: span 2; }
.edu-mini div::after { content: ""; position: absolute; right: 14px; top: 16px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.edu-mini small { font-family: var(--f-mono); font-size: 10px; color: var(--muted); }
.edu-mini b { font-size: 16px; }
.edu-mini span { font-size: 12.5px; color: var(--muted); }
.edu-list { display: grid; gap: 22px; min-width: 0; }
.edu-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; }
.edu-card .yr { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.edu-card h3 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.02em; }
.edu-card .inst { font-size: 16px; color: var(--ink); font-weight: 500; }
.edu-card p { color: var(--ink-2); }
.edu-band { border-radius: 14px; aspect-ratio: 16 / 6; background: linear-gradient(120deg, #1d2a44, #3b4f7a 60%, #ef4a2b 160%); display: grid; align-content: end; padding: 18px 20px; color: #fff; position: relative; overflow: hidden; max-width: 100%; }
.edu-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 34px), repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 34px); }
.edu-band b { font-family: var(--f-serif); font-size: clamp(18px, 2.4vw, 26px); position: relative; }
.edu-band span { font-family: var(--f-mono); font-size: 11px; opacity: .8; position: relative; letter-spacing: .08em; text-transform: uppercase; }
.pct { font-family: var(--f-mono); font-size: 11px; background: var(--accent-soft); color: var(--accent); padding: 3px 9px; border-radius: 999px; }
@media (max-width: 980px) { .edu { grid-template-columns: 1fr; } .edu-side { position: static; } }

/* ---------- LEARNING ---------- */
.learn-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: 40px; }
.learn-head h2 { font-family: var(--f-serif); font-weight: 600; font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -.01em; }
.learn-head p { color: var(--ink-2); max-width: 46ch; justify-self: end; }
.learn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.l-card { position: relative; border-radius: 20px; padding: 26px 24px 22px; color: #fff; min-height: 300px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2, .7, .2, 1); isolation: isolate; }
.l-card:hover { transform: translateY(-5px) rotate(-.4deg); }
.l-card .when { font-weight: 700; font-size: 15px; }
.l-card h3 { font-family: var(--f-serif); font-size: 24px; font-weight: 700; line-height: 1.08; max-width: 14ch; }
.l-card .who { font-size: 13px; font-weight: 600; opacity: .9; }
.l-card p { font-size: 14px; opacity: .9; max-width: 28ch; }
.l-card .foot { padding-right: 84px; margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; line-height: 1.3; padding-top: 18px; position: relative; z-index: 2; }
.l-card .go { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; flex: none; transition: transform .25s; }
.l-card:hover .go { transform: rotate(-45deg); }
.l-card .ill { position: absolute; right: 14px; bottom: 16px; width: 76px; height: 76px; z-index: 1; }
.l-card::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 170px; height: 170px; border-radius: 50%; background: rgba(0, 0, 0, .1); z-index: -1; }
button.l-card { border: 0; text-align: left; font: inherit; cursor: zoom-in; width: 100%; }
.l-wide { grid-column: 1 / -1; min-height: 240px; }
.l-wide h3 { max-width: 22ch; font-size: clamp(26px, 3vw, 34px); }
.l-wide p { max-width: 60ch; }
.l-wide .ill { width: 110px; height: 110px; right: 28px; bottom: 26px; }
.l-navy { background: linear-gradient(120deg, #0d1b45, #1c3a8a); }
.l-green { background: #2b8a2b; } .l-red { background: #e2363c; } .l-pink { background: #be2768; }
.l-blue { background: #1f5ad1; } .l-black { background: #171717; } .l-yellow { background: #f4c62f; color: #111; }
.l-yellow .go { background: #111; color: #fff; }
.archive { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.archive-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.archive-head a { font-family: var(--f-mono); font-size: 12px; color: var(--accent); }
.archive-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.archive-row--courses { grid-template-columns: repeat(6, 1fr); }
.archive-row--courses .cert-thumb b { font-size: 12px; }
.cert-thumb { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: grid; gap: 10px; cursor: zoom-in; text-align: left; transition: transform .25s, box-shadow .25s; }
.cert-thumb:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cert-thumb img { border-radius: 8px; aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; background: var(--surface-2); }
.cert-thumb small { font-family: var(--f-mono); font-size: 9.5px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.cert-thumb b { font-size: 13px; line-height: 1.25; display: block; }
.courses { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.courses table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.courses th, .courses td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.courses th { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.courses tr:last-child td { border-bottom: 0; }
.courses td:last-child { font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
details.more summary { cursor: pointer; font-weight: 600; font-size: 14px; margin-top: 24px; color: var(--ink-2); }
@media (max-width: 980px) { .learn-grid { grid-template-columns: repeat(2, 1fr); } .archive-row { grid-template-columns: repeat(4, 1fr); } .learn-head { grid-template-columns: 1fr; } .learn-head p { justify-self: start; } }
@media (max-width: 600px) { .learn-grid { grid-template-columns: 1fr; } .archive-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) and (min-width: 601px) { .archive-row--courses { grid-template-columns: repeat(3, 1fr); } }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(10, 10, 10, .82); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-height: 86vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox .close { position: absolute; top: 18px; right: 18px; background: #fff; color: #111; border: 0; }
.lightbox .cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; }
.lightbox .cap a { text-decoration: underline; color: #fff; }

/* ---------- CONTACT ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact h2 { font-size: clamp(40px, 5.4vw, 64px); letter-spacing: -.035em; line-height: 1; font-weight: 700; margin: 12px 0 20px; }
.contact-copy > p { color: var(--ink-2); max-width: 42ch; }
.contact-lines { display: grid; gap: 14px; margin-top: 28px; }
.c-line { display: flex; align-items: center; gap: 14px; font-weight: 500; min-width: 0; }
.c-line .ic { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; background: var(--surface); }
.c-line .ic svg { width: 17px; height: 17px; }
.c-line span { overflow-wrap: anywhere; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: var(--surface); transition: transform .2s, background-color .2s; }
.socials a:hover { transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); display: grid; gap: 18px; }
.form h3 { font-size: 24px; letter-spacing: -.02em; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; }
.field label i { color: var(--accent); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); outline: none; transition: border-color .2s, background-color .2s; font-size: 15px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: var(--surface); }
.field textarea { min-height: 120px; resize: vertical; }
.field .count { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); justify-self: end; }
.form .btn--dark { justify-self: start; padding: 14px 22px; }
.form-msg { font-size: 14px; }
.form-msg.ok { color: #1f9d55; } .form-msg.err { color: var(--accent); }
.hp { position: absolute; left: -5000px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- FOOTER ---------- */
.footer { background: #141414; color: #f4f2ee; padding-block: 56px 32px; }
.footer h4 { font-size: 24px; letter-spacing: -.02em; }
.footer .role { color: #a9a6a0; margin-top: 6px; }
.footer .loc { color: #a9a6a0; margin-top: 10px; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.footer .socials a { border-color: rgba(255, 255, 255, .18); background: transparent; color: #f4f2ee; }
.footer .bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #8d8a85; font-size: 13.5px; }
.footer .bottom a:hover { color: #fff; }
.footer .links { display: flex; gap: 18px; flex-wrap: wrap; }

.reveal { transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .8s; }
.js .reveal.pre { transform: translateY(22px); opacity: .001; }
@media (prefers-reduced-motion: reduce) { .js .reveal.pre { transform: none; opacity: 1; } html { scroll-behavior: auto; } }

/* ================= INNER PAGES ================= */
.home-only { display: none !important; }
.home .home-only { display: inline-flex !important; }
.home .archive, .home .work-more, .home #work .filters { display: none; }
.more-row { display: flex; justify-content: center; margin-top: 36px; }

.page-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--ink) 14%, transparent) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 75%); mask-image: linear-gradient(115deg, transparent 35%, #000 75%); opacity: .7; pointer-events: none; }
.page-hero .ghost { position: absolute; right: -2vw; bottom: -0.18em; font-size: clamp(110px, 19vw, 280px); font-weight: 800; letter-spacing: -.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--ink) 12%, transparent); text-transform: uppercase; pointer-events: none; user-select: none; white-space: nowrap; }
.page-hero .wrap { position: relative; display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: end; }
.crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs i { width: 18px; height: 1px; background: var(--muted); }
.page-hero h1 { font-size: clamp(54px, 9.5vw, 128px); font-weight: 800; letter-spacing: -.055em; line-height: .88; margin: 22px 0 22px; }
.page-hero h1 .dot { color: var(--accent); }
.page-hero h1 em { font-family: var(--f-serif); font-style: italic; font-weight: 500; letter-spacing: -.02em; }
.page-hero .lede { font-size: clamp(17px, 1.7vw, 20px); color: var(--ink-2); max-width: 52ch; line-height: 1.55; }
.hero-aside { background: #161616; color: #f4f2ee; border-radius: 22px; padding: 24px; display: grid; gap: 18px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.hero-aside::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -60px; top: -70px; background: var(--accent); opacity: .9; }
.hero-aside .eyebrow { color: #a9a6a0; position: relative; z-index: 1; }
.aside-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255, 255, 255, .1); border-radius: 14px; overflow: hidden; position: relative; z-index: 1; }
.aside-stats div { background: #1d1d1f; padding: 16px; display: grid; gap: 2px; }
.aside-stats b { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.aside-stats b em { font-style: normal; color: var(--accent); }
.aside-stats span { font-size: 12.5px; color: #a9a6a0; }
.aside-note { font-size: 14px; color: #cfccc6; position: relative; z-index: 1; display: flex; gap: 10px; align-items: center; }
.aside-note .status { background: transparent; border-color: rgba(255, 255, 255, .18); color: #f4f2ee; }
.page-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: 1fr; } }

.marquee { background: #161616; color: #f4f2ee; overflow: hidden; border-block: 1px solid #161616; }
.marquee-track { display: flex; gap: 0; width: max-content; padding-block: 18px; }
.marquee-track span { font-size: clamp(18px, 2.2vw, 26px); font-weight: 700; letter-spacing: -.02em; padding-inline: 26px; display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--accent); font-size: .7em; }
@media (prefers-reduced-motion: no-preference) { .marquee-track { animation: marquee 38s linear infinite; } .marquee:hover .marquee-track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* principles (about) */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principle { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px; display: grid; gap: 12px; align-content: start; transition: transform .3s, box-shadow .3s; }
.principle:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.principle .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.principle .ic svg { width: 22px; height: 22px; }
.principle h3 { font-size: 21px; letter-spacing: -.02em; }
.principle p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .principles { grid-template-columns: 1fr; } }

/* service details */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 32px); display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.svc .n { font-family: var(--f-serif); font-style: italic; color: var(--accent); font-size: 18px; }
.svc h3 { font-family: var(--f-serif); font-size: clamp(24px, 2.6vw, 30px); font-weight: 700; letter-spacing: -.01em; }
.svc .for { font-size: 14px; color: var(--muted); }
.svc > p { color: var(--ink-2); }
.svc ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.svc li { font-size: 14px; display: flex; gap: 8px; align-items: baseline; }
.svc li::before { content: "→"; color: var(--accent); font-size: 12px; }
.svc .explore { font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; margin-top: 4px; }
.svc .explore .arrow { color: var(--accent); }
.svc--dark { background: #161616; color: #f4f2ee; border-color: #161616; }
.svc--dark > p, .svc--dark .for { color: #a9a6a0; }
.svc--dark .tag { background: #232325; border-color: #2e2e31; color: #d9d6d0; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } .svc ul { grid-template-columns: 1fr; } }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 1px; background: var(--line); }
.step { position: relative; padding-right: 24px; display: grid; gap: 10px; align-content: start; }
.step .num { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: var(--f-mono); font-weight: 700; position: relative; }
.step:first-child .num { background: var(--accent); color: #fff; }
.step h3 { font-size: 19px; letter-spacing: -.015em; margin-top: 8px; }
.step p { color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr 1fr; gap: 28px; } .process::before { display: none; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; font-weight: 400; font-size: 18px; transition: transform .25s, background-color .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; max-width: 70ch; }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); }
.faq-wrap h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; }
.faq-wrap p.lede { color: var(--ink-2); margin-top: 14px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* skills (experience) */
.skill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.skill { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 12px; align-content: start; }
.skill h3 { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; display: flex; gap: 10px; align-items: center; }
.skill h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.skill .tags-row { gap: 6px; }
.skill .tag { font-size: 12.5px; }
@media (max-width: 1000px) { .skill-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .skill-grid { grid-template-columns: 1fr; } }

/* next-page band */
.next-page { display: block; padding-block: clamp(48px, 7vw, 80px); border-top: 1px solid var(--line); }
.next-page .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.next-page small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.next-page b { display: block; font-size: clamp(36px, 6vw, 72px); letter-spacing: -.045em; line-height: 1; margin-top: 8px; transition: color .25s; }
.next-page .go { width: clamp(56px, 7vw, 84px); height: clamp(56px, 7vw, 84px); border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; transition: transform .35s cubic-bezier(.2, .7, .2, 1), background-color .25s; }
.next-page .go svg { width: 40%; height: 40%; }
.next-page:hover b { color: var(--accent); }
.next-page:hover .go { transform: rotate(-45deg); background: var(--accent); color: #fff; }
.page .services { padding-top: clamp(48px, 7vw, 80px); }
.page .services .section-head, .page #learning .learn-head, .page #work .section-head > div:first-child { display: none; }
.page #work .section-head { grid-template-columns: 1fr; margin-bottom: 28px; }
.page #learning { padding-top: clamp(48px, 7vw, 80px); }


/* ================= UX POLISH ================= */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
::selection { background: var(--accent); color: #fff; }
html { -webkit-tap-highlight-color: transparent; }
body.lock { overflow: hidden; }

/* nav */
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.nav-links a[href="contact.html"] { background: var(--ink); color: var(--bg); padding: 8px 16px; border-radius: 999px; font-weight: 600; transition: transform .2s, background-color .2s; }
.nav-links a[href="contact.html"]:hover { transform: translateY(-1px); background: var(--accent); color: #fff; }
.nav-links a[href="contact.html"]::after { display: none; }
.nav-links a[href="contact.html"].active { background: var(--accent); color: #fff; }
.nav-mobile-only { display: none; }
@media (max-width: 900px) {
  .nav-links { inset: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 0 0; height: calc(100dvh - var(--nav-h)); padding: 12px var(--gutter) 32px; overflow-y: auto; border-bottom: 0; }
  .nav-links li { opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
  .nav-links.open li { opacity: 1; transform: none; }
  .nav-links.open li:nth-child(2) { transition-delay: .03s; } .nav-links.open li:nth-child(3) { transition-delay: .06s; } .nav-links.open li:nth-child(4) { transition-delay: .09s; } .nav-links.open li:nth-child(5) { transition-delay: .12s; } .nav-links.open li:nth-child(6) { transition-delay: .15s; } .nav-links.open li:nth-child(7) { transition-delay: .18s; } .nav-links.open li:nth-child(8) { transition-delay: .21s; } .nav-links.open li:nth-child(9) { transition-delay: .24s; } .nav-links.open li:nth-child(10) { transition-delay: .27s; }
  .nav-links a { font-size: clamp(24px, 7vw, 32px); font-weight: 700; letter-spacing: -.02em; padding: 14px 0; color: var(--ink); }
  .nav-links a[href="contact.html"] { display: inline-block; margin-top: 18px; padding: 12px 26px; font-size: 18px; border-bottom: 0; }
  .nav-mobile-only { display: block; }
  .nav-mobile-only a { font-size: 16px !important; font-weight: 600 !important; color: var(--muted) !important; border-bottom: 0 !important; }
  .menu-btn[aria-expanded="true"] svg path { d: path("M6 6l12 12M18 6 6 18"); }
}

/* hero extras */
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.now-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; justify-items: center; }
.now-list li { font-size: 13px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 6px; display: inline-flex; gap: 8px; align-items: center; }
.now-list b { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 3px 7px; border-radius: 999px; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line); border-radius: 14px; z-index: 3; background: color-mix(in srgb, var(--bg) 70%, transparent); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .scroll-cue span { animation: cue 1.8s ease-in-out infinite; } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 860px) { .scroll-cue { display: none; } .hero-cta { justify-content: center; } }

/* scroll reveal (only below-the-fold elements get .pre) */
.reveal { transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.pre { opacity: 0; transform: translateY(26px); }
@media (prefers-reduced-motion: reduce) { .reveal.pre { opacity: 1; transform: none; } }

/* cards: spotlight hover */
.work-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 0; }
.work-card:hover::before { opacity: 1; }
.work-card > * { position: relative; z-index: 1; }
.work-card .w-badge { position: absolute; z-index: 3; }
.work-card:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }

/* buttons */
.btn { position: relative; overflow: hidden; }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn--ghost:hover { border-color: var(--ink); }
.btn:active { transform: translateY(0) scale(.98); }

/* form validation */
.field .err { display: none; font-size: 12.5px; color: var(--accent); }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--accent); background: var(--accent-soft); }
.field.valid input, .field.valid select, .field.valid textarea { border-color: color-mix(in srgb, #2fbf6b 55%, var(--line)); }
.form button[disabled] { opacity: .6; cursor: progress; }
.form-done { display: grid; gap: 10px; justify-items: start; text-align: left; padding: 10px 0; }
.form-done .tick { width: 54px; height: 54px; border-radius: 50%; background: #2fbf6b; color: #fff; display: grid; place-items: center; }
.form-done h3 { font-size: 24px; }
.form-done p { color: var(--ink-2); }

/* footer */
.footer { padding-block: clamp(56px, 8vw, 96px) 28px; }
.foot-cta { padding-bottom: clamp(40px, 6vw, 64px); border-bottom: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 14px; }
.foot-cta .eyebrow { color: #8d8a85; }
.foot-big { font-size: clamp(36px, 7vw, 88px); font-weight: 800; letter-spacing: -.05em; line-height: 1; display: inline-flex; align-items: center; gap: clamp(14px, 2vw, 28px); flex-wrap: wrap; transition: color .25s; }
.foot-big .go { width: clamp(48px, 6vw, 76px); height: clamp(48px, 6vw, 76px); border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; transition: transform .35s cubic-bezier(.2, .7, .2, 1); flex: none; }
.foot-big .go svg { width: 42%; height: 42%; }
.foot-big:hover { color: var(--accent); }
.foot-big:hover .go { transform: rotate(45deg); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding-block: 44px; }
.foot-brand { display: grid; gap: 6px; align-content: start; }
.foot-brand .socials { margin-top: 14px; }
.foot-col { display: grid; gap: 10px; align-content: start; font-size: 14.5px; }
.foot-col h5 { margin: 0 0 4px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #8d8a85; font-weight: 500; }
.foot-col a { color: #d9d6d0; transition: color .2s, transform .2s; justify-self: start; }
.foot-col a:hover { color: #fff; transform: translateX(3px); }
.copy-btn { background: none; border: 0; padding: 0; cursor: pointer; color: #d9d6d0; text-align: left; font-size: 14.5px; display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.copy-btn span { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 2px 8px; color: #a9a6a0; }
.copy-btn:hover span { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer .bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* back to top + toast */
.to-top { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); z-index: 40; opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .25s, transform .25s, background-color .2s; }
.to-top svg { width: 18px; height: 18px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); color: #fff; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 95; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ================= PHOTOS ================= */
.hero-visual { position: relative; display: grid; justify-items: end; padding-bottom: 40px; }
.hero-photo { margin: 0; width: min(100%, 400px); aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; position: relative; box-shadow: var(--shadow-lg); transform: rotate(2deg); transition: transform .5s cubic-bezier(.2, .7, .2, 1); max-width: 100%; }
.hero-photo:hover { transform: rotate(0); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-photo figcaption { position: absolute; top: 14px; right: 14px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; background: rgba(15, 15, 16, .72); color: #fff; padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-visual .hero-aside { position: absolute; left: 0; bottom: 0; width: min(330px, 88%); padding: 18px; gap: 12px; }
.hero-visual .hero-aside::after { width: 120px; height: 120px; right: -40px; top: -50px; }
.hero-visual .aside-stats b { font-size: 24px; }
.hero-visual .aside-stats div { padding: 12px; }
.hero-visual .aside-note { display: none; }
@media (max-width: 900px) {
  .hero-visual { justify-items: center; padding-bottom: 0; gap: 0; }
  .hero-photo { width: min(100%, 360px); transform: none; }
  .hero-visual .hero-aside { position: relative; width: min(100%, 360px); margin-top: -40px; }
}

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
.g-item { margin: 0; position: relative; border-radius: 20px; overflow: hidden; background: var(--surface-2); cursor: zoom-in; isolation: isolate; }
.g-item img, .g-item video { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.g-item:hover img, .g-item:hover video { transform: scale(1.05); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .65), transparent 45%); z-index: 1; pointer-events: none; }
.g-item figcaption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; color: #fff; display: grid; gap: 2px; }
.g-item figcaption b { font-size: 16px; }
.g-item figcaption span { font-size: 12.5px; opacity: .85; }
.g-video { grid-row: span 2; cursor: default; }
.g-tall { grid-row: span 2; }
.g-sound { position: absolute; top: 12px; right: 12px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(15, 15, 16, .6); color: #fff; font-size: 11px; cursor: pointer; }
.g-video::before { content: "● LIVE CLIP"; position: absolute; top: 14px; left: 14px; z-index: 3; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; color: #fff; background: var(--accent); padding: 4px 8px; border-radius: 999px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; } }
@media (max-width: 480px) { .gallery { grid-auto-rows: 160px; gap: 10px; } }

.contact-me { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.contact-me img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 3px solid var(--surface); box-shadow: var(--shadow); }
.contact-me b { display: block; font-size: 15px; }
.contact-me span { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.contact-me span i { width: 7px; height: 7px; border-radius: 50%; background: #2fbf6b; }

/* IBM programme course lists */
.ibm-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; }
.ibm-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px; display: grid; gap: 16px; align-content: start; }
.ibm-card--dark { background: linear-gradient(140deg, #0d1b45, #1c3a8a); color: #fff; border-color: transparent; }
.ibm-head { display: flex; gap: 14px; align-items: center; }
.ibm-logo { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; letter-spacing: .08em; font-size: 14px; background: #0f62fe; color: #fff; flex: none; }
.ibm-head h4 { margin: 0; font-size: 19px; letter-spacing: -.01em; }
.ibm-head span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; opacity: .7; }
.ibm-card ol { margin: 0; padding-left: 22px; display: grid; gap: 7px; font-size: 14px; columns: 1; }
.ibm-card ol li::marker { font-family: var(--f-mono); font-size: 11px; color: var(--accent); }
.ibm-card--dark ol li::marker { color: #8fb4ff; }
.ibm-card--dark ol { color: #e3e8f7; }
@media (max-width: 860px) { .ibm-grid { grid-template-columns: 1fr; } }

/* ================= BRAND + MOBILE REFINEMENTS ================= */
.logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--f-sans); letter-spacing: 0; flex: none; }
.logo-mark { position: relative; width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 800; font-size: 13.5px; letter-spacing: .02em; transition: transform .35s cubic-bezier(.2, .7, .2, 1), background-color .25s; }
.logo-mark::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); border: 2.5px solid var(--bg); }
.logo:hover .logo-mark { transform: rotate(-6deg); }
.logo-text { display: grid; line-height: 1.1; }
.logo-text b { font-size: 16.5px; font-weight: 750; letter-spacing: -.025em; white-space: nowrap; }
.logo-text small { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; white-space: nowrap; }
@media (max-width: 1180px) { .logo-text small { display: none; } .nav-links { gap: clamp(12px, 1.6vw, 22px); } }
@media (max-width: 1040px) and (min-width: 901px) { .nav-links a { font-size: 13.5px; } .nav-links a[href="resume.html"] { display: none; } }

/* mobile quick-action bar */
.m-bar { display: none; }
@media (max-width: 760px) {
  .to-top { display: none; }
  .m-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 45; gap: 8px; padding: 8px; border-radius: 20px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .35); transform: translateY(140%); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
  .m-bar.show { transform: none; }
  .m-bar a, .m-bar button { height: 46px; min-width: 46px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
  .m-bar svg { width: 19px; height: 19px; }
  .m-bar .m-bar-main { flex: 1; display: flex; gap: 8px; justify-content: center; background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 650; font-size: 15px; }
  body.lock .m-bar { transform: translateY(140%); }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
  .toast { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}

/* phone layout tune-up */
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .section { padding-block: 64px; }
  .section-head { margin-bottom: 28px; }
  .page-hero { padding-block: 36px 40px; }
  .page-hero .ghost, .page-hero::before { display: none; }
  .page-hero h1 { font-size: clamp(48px, 15vw, 72px); margin: 16px 0 16px; }
  .page-hero .lede { font-size: 16.5px; }
  .page-hero .actions .btn { flex: 1; justify-content: center; }
  .hero-cta .btn { flex: 1 1 140px; justify-content: center; }
  .marquee-track { padding-block: 13px; }
  .marquee-track span { font-size: 17px; padding-inline: 16px; gap: 16px; }
  .eyebrow { font-size: 10.5px; }
  .about-copy .lead { font-size: 18px; }
  .split-card { padding: 22px 18px; border-radius: 20px; }
  .split-col { padding: 18px; }
  .fact { padding: 16px 18px; font-size: 15px; }
  .stat { padding: 18px; }
  .work-card { padding: 18px; gap: 14px; border-radius: 20px; min-height: 0; }
  .w-shot { margin-inline: -4px; }
  .tl-card { padding: 18px; }
  .tl-head h3 { font-size: 17px; }
  .l-card { min-height: 0; padding: 22px 20px 20px; }
  .l-card h3 { font-size: 22px; }
  .l-wide .ill { display: none; }
  .l-card .foot { padding-right: 70px; }
  .cta-card { padding: 22px 20px; }
  .cta-card .btn { width: 100%; justify-content: center; }
  .contact h2 { font-size: clamp(38px, 12vw, 52px); }
  .form { padding: 20px 18px; border-radius: 20px; }
  .field input, .field select, .field textarea { font-size: 16px; padding: 13px 14px; }
  .form .btn--dark { width: 100%; justify-content: center; }
  .foot-big { font-size: clamp(34px, 11vw, 48px); }
  .next-page b { font-size: clamp(34px, 11vw, 48px); }
  .faq summary { font-size: 15.5px; }
  .svc { padding: 22px 20px; }
  .ibm-card { padding: 20px 18px; }
  .filters { gap: 6px; }
  .filter { padding: 9px 14px; }
  .cert-thumb { padding: 8px; }
  .cert-thumb b { font-size: 12.5px; }
  .journey-intro .btn, .section-head--split .btn { justify-self: start; }
}
/* swipe hint for service cards */
.fan-hint { display: none; }
@media (max-width: 820px) {
  .fan-hint { display: flex; align-items: center; gap: 8px; justify-content: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: -12px 0 14px; }
  .fan-hint i { width: 26px; height: 1.5px; background: currentColor; position: relative; }
  .fan-hint i::after { content: ""; position: absolute; right: 0; top: -3px; border-left: 6px solid currentColor; border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; }
  .fan { scrollbar-width: none; }
  .fan::-webkit-scrollbar { display: none; }
}
/* better touch behaviour */
@media (hover: none) {
  .work-card:hover, .principle:hover, .svc:hover, .fact:hover, .l-card:hover, .cert-thumb:hover { transform: none; }
  .fan-card:hover { transform: none !important; }
}

/* ================= SEARCH / PROJECT PANEL / LIGHTBOX NAV ================= */
.search-btn { width: auto; padding: 0 10px 0 11px; gap: 8px; display: inline-flex; border-radius: 999px; }
.search-btn kbd { font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; background: var(--bg-soft); }
.search-btn:hover { transform: none; border-color: var(--ink); }
@media (max-width: 1100px) { .search-btn kbd { display: none; } .search-btn { width: 38px; padding: 0; justify-content: center; } }

.w-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.w-more { background: none; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 25%, transparent); color: inherit; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; transition: background-color .2s, border-color .2s; }
.w-more span { color: var(--accent); font-size: 15px; line-height: 1; }
.w-more:hover { border-color: currentColor; }
.work-card { cursor: pointer; }

.pp { position: fixed; inset: 0; z-index: 92; display: flex; justify-content: flex-end; }
.pp-backdrop { position: absolute; inset: 0; background: rgba(10, 10, 12, .5); opacity: 0; transition: opacity .3s; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.pp-sheet { position: relative; width: min(560px, 100%); height: 100%; overflow-y: auto; background: var(--bg); color: var(--ink); padding: calc(20px + env(safe-area-inset-top, 0px)) 28px calc(28px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 16px; align-content: start; grid-auto-rows: max-content; transform: translateX(100%); transition: transform .38s cubic-bezier(.2, .7, .2, 1); box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .35); outline: none; overscroll-behavior: contain; }
.pp.open .pp-backdrop { opacity: 1; }
.pp.open .pp-sheet { transform: none; }
.pp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: sticky; top: -20px; background: var(--bg); padding-block: 6px; z-index: 2; }
.pp-shot { border-radius: 16px; padding: 22px; background: var(--bg-soft); border: 1px solid var(--line); }
.pp-shot .mock { font-size: 8.5px; }
.pp h2 { font-size: clamp(28px, 5vw, 38px); letter-spacing: -.035em; }
.pp-desc { color: var(--ink-2); font-size: 16px; }
.pp-meta { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pp-meta div { flex: 1 1 150px; background: var(--surface); padding: 12px 14px; display: grid; gap: 2px; }
.pp-meta small { font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pp-meta b { font-size: 14px; }
.pp h3 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-top: 6px; }
.pp-hl { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pp-hl li { display: flex; gap: 10px; font-size: 15px; }
.pp-hl li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4a2b' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; margin-top: 2px; }
.pp-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 18px; margin-top: 6px; border-top: 1px solid var(--line); }
.pp-nav { display: inline-flex; gap: 8px; align-items: center; }
.pp-count { font-family: var(--f-mono); font-size: 11px; color: var(--muted); margin-right: 4px; }
@media (max-width: 640px) {
  .pp { align-items: flex-end; }
  .pp-sheet { width: 100%; height: auto; max-height: 92dvh; border-radius: 22px 22px 0 0; transform: translateY(100%); padding: 14px 18px calc(22px + env(safe-area-inset-bottom, 0px)); }
  .pp-sheet::before { content: ""; width: 42px; height: 4px; border-radius: 4px; background: var(--line); justify-self: center; }
  .pp-head { top: -14px; }
  .pp-foot .btn { flex: 1; justify-content: center; }
}

.lightbox { touch-action: pan-y; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #111; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); transition: transform .2s; }
.lb-nav:hover { transform: translateY(-50%) scale(1.06); }
.lb-nav.prev { left: 18px; } .lb-nav.next { right: 18px; }
.lightbox .cap { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; padding-inline: 16px; }
.lb-count { font-family: var(--f-mono); font-size: 12px; opacity: .75; }
.lightbox img { max-width: min(1100px, 92vw); }
@media (max-width: 640px) { .lb-nav { top: auto; bottom: 64px; transform: none; width: 44px; height: 44px; } .lb-nav:hover { transform: none; } }

.qs { position: fixed; inset: 0; z-index: 96; background: rgba(10, 10, 12, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.qs-box { width: min(620px, 100%); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); overflow: hidden; display: flex; flex-direction: column; max-height: 72vh; animation: qsIn .2s ease; }
@keyframes qsIn { from { transform: translateY(-8px) scale(.98); opacity: .001; } to { transform: none; opacity: 1; } }
.qs-field { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.qs-field svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.qs-field input { flex: 1; border: 0; outline: none; background: none; font-size: 17px; min-width: 0; }
.qs-esc { font-family: var(--f-mono); font-size: 11px; border: 1px solid var(--line); border-radius: 6px; padding: 3px 7px; background: var(--bg-soft); color: var(--muted); cursor: pointer; }
.qs-list { list-style: none; margin: 0; padding: 8px; overflow-y: auto; display: grid; gap: 2px; }
.qs-list li[data-qi] { display: grid; grid-template-columns: 92px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.qs-list li[aria-selected="true"], .qs-list li[data-qi]:hover { background: var(--bg-soft); }
.qs-list li[aria-selected="true"] b { color: var(--accent); }
.qs-k { grid-row: span 2; align-self: center; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.qs-list b { font-size: 14.5px; font-weight: 600; }
.qs-list small { font-size: 12.5px; color: var(--muted); }
.qs-empty { padding: 18px 12px; color: var(--muted); font-size: 14px; }
.qs-tip { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.qs-tip kbd { font-family: var(--f-mono); font-size: 10.5px; border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; background: var(--bg-soft); }
@media (max-width: 640px) { .qs { padding-top: 10px; } .qs-box { max-height: 86dvh; } .qs-tip { display: none; } .qs-list li[data-qi] { grid-template-columns: 1fr; } .qs-k { grid-row: auto; } }

/* ================= CLEANER PAGE HEADERS ================= */
.page-hero { padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero::before { display: none; }
.page-hero .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.page-hero h1 { font-size: clamp(46px, 6.4vw, 84px); letter-spacing: -.045em; line-height: .95; margin: 18px 0 18px; }
.page-hero .lede { font-size: clamp(17px, 1.5vw, 19px); max-width: 50ch; }
.hero-facts { list-style: none; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 18px 40px; }
.hero-facts li { display: grid; gap: 2px; }
.hero-facts b { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-facts span { font-size: 13.5px; color: var(--muted); }
.page-hero .actions { margin-top: 26px; }
.hero-photo { width: min(100%, 380px); justify-self: end; transform: none !important; border-radius: 22px; box-shadow: 0 30px 60px -28px rgba(20, 20, 20, .35); }
.hero-photo:hover { transform: none; }
.hero-photo img { image-rendering: auto; }
.hero-photo figcaption { top: auto; bottom: 14px; left: 14px; right: auto; }
@media (max-width: 900px) {
  .page-hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { justify-self: start; width: 100%; max-width: 420px; aspect-ratio: 5 / 4; }
}
@media (max-width: 760px) {
  .page-hero { padding-block: 28px 36px; }
  .page-hero h1 { font-size: clamp(40px, 12vw, 56px); margin: 12px 0 12px; }
  .hero-facts { gap: 14px 28px; margin-top: 22px; padding-top: 18px; }
  .hero-photo { max-width: none; aspect-ratio: 4 / 3; }
}
/* calmer details */
.about-photo { box-shadow: 0 30px 60px -30px rgba(20, 20, 20, .35); }
.l-card:hover { transform: translateY(-4px); }
