/* Zioqu — design system
   Ink + paper, one signal red, and the bracket mark from the logo used as a motif.
   Type: Space Grotesk (display), Inter (text), JetBrains Mono (labels). */

:root {
  --ink: #0f1013;
  --ink-2: #34373f;
  --muted: #6a6e78;
  --line: #e4e2dc;
  --line-2: #d6d3cb;
  --paper: #f7f6f2;
  --card: #ffffff;
  --red: #e2322b;
  --red-ink: #b8221c;
  --red-soft: #fdeceb;
  --dark: #121317;
  --dark-2: #1b1d22;
  --dark-line: #2c2f36;
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1180px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --shadow: 0 1px 2px rgba(15, 16, 19, .04), 0 8px 24px -12px rgba(15, 16, 19, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.08; letter-spacing: -.02em; margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--red); }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.red { color: var(--red); }

/* ---------- bracket motif ---------- */
.brk { position: relative; }
.brk::before, .brk::after {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
  border-color: var(--red); border-style: solid; border-width: 0;
}
.brk::before { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.brk::after { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s; cursor: pointer; font-family: var(--text);
}
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #26282e; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(247, 246, 242, .86);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.logo svg { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: #ecebe5; color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 30%, transparent 75%);
}
.hero__in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(56px, 8.4vw, 116px); font-weight: 600; letter-spacing: -.045em; line-height: .95; margin-bottom: 28px; }
.hero h1 .it { display: inline-block; padding: 0 .12em; margin: 0 .04em; color: var(--red); }
.hero h1 .it.brk::before, .hero h1 .it.brk::after { width: .26em; height: .26em; border-width: 0; }
.hero h1 .it.brk::before { border-top-width: .06em; border-left-width: .06em; border-color: var(--ink); }
.hero h1 .it.brk::after { border-bottom-width: .06em; border-right-width: .06em; border-color: var(--ink); }
.hero .lead { margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.explore { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 10px; box-shadow: var(--shadow); }
.explore__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 12px; }
.explore__head span { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.explore__head i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.explore a {
  display: grid; grid-template-columns: 44px 1fr 20px; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 12px; transition: background .2s;
}
.explore a + a { border-top: 1px dashed var(--line); }
.explore a:hover { background: var(--paper); }
.explore a:hover + a { border-top-color: transparent; }
.explore .ico { width: 44px; height: 44px; border-radius: 11px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.explore .ico svg { width: 20px; height: 20px; }
.explore strong { display: block; font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 17px; letter-spacing: -.01em; }
.explore small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.explore .arr { color: var(--muted); transition: transform .2s, color .2s; }
.explore a:hover .arr { transform: translateX(3px); color: var(--red); }

/* ---------- intro ---------- */
.intro { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.intro__in { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.intro__label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.intro__text { font-family: var(--display); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.35; color: var(--ink); letter-spacing: -.015em; font-weight: 500; }
.intro__text p:last-child { margin: 0; color: var(--muted); }

/* ---------- section heads ---------- */
.head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.head h2 { font-size: clamp(36px, 4.6vw, 56px); max-width: 16ch; }
.head p { max-width: 44ch; margin: 0; color: var(--muted); }

/* ---------- services (dark) ---------- */
.dark { background: var(--dark); color: #b9bcc5; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: #8b8f99; }
.dark .head p { color: #8b8f99; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc {
  position: relative; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius);
  padding: 32px 28px 28px; display: flex; flex-direction: column; min-height: 400px; transition: border-color .25s, transform .25s;
}
.svc:hover { border-color: #45484f; transform: translateY(-3px); }
.svc__num { font-family: var(--mono); font-size: 12px; color: #6f737d; letter-spacing: .1em; margin-bottom: 40px; display: flex; justify-content: space-between; }
.svc__num b { color: var(--red); font-weight: 500; }
.svc h3 { font-size: 26px; margin-bottom: 16px; letter-spacing: -.02em; }
.svc p { font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chip { font-family: var(--mono); font-size: 12px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--dark-line); color: #d5d7dd; background: rgba(255,255,255,.02); }
.light .chip, .chip--light { border-color: var(--line-2); color: var(--ink-2); background: var(--paper); }

/* ---------- insight card ---------- */
.insight {
  display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card);
  transition: box-shadow .25s, border-color .25s;
}
.insight:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.insight__art { background: var(--dark); padding: 36px; display: flex; align-items: center; justify-content: center; min-height: 300px; }
.versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; width: 100%; max-width: 420px; }
.versus code { display: block; font-family: var(--mono); font-size: 12.5px; line-height: 1.7; color: #c8cbd3; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 10px; padding: 14px; white-space: pre; overflow: hidden; }
.versus code b { color: var(--red); font-weight: 500; }
.versus span { font-family: var(--display); color: #fff; font-size: 22px; font-weight: 600; }
.versus small { display: block; font-family: var(--mono); font-size: 11px; color: #757983; margin-bottom: 8px; letter-spacing: .1em; text-transform: uppercase; }
.insight__body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.insight__meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .08em; margin-bottom: 16px; }
.insight h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.insight p { color: var(--muted); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.link svg { width: 16px; height: 16px; transition: transform .2s; color: var(--red); }
.link:hover svg, .insight:hover .link svg { transform: translateX(3px); }

/* ---------- testimonials ---------- */
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.t-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.t-card .q { font-family: var(--display); font-size: 56px; line-height: .6; color: var(--red); margin-bottom: 18px; height: 28px; }
.t-card blockquote { margin: 0 0 28px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.t-card figcaption { margin-top: auto; padding-top: 20px; border-top: 1px dashed var(--line); }
.t-card figcaption strong { display: block; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -.01em; text-transform: capitalize; }
.t-card figcaption span { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 104px; }
.cta__box { position: relative; background: var(--red); color: #fff; border-radius: 24px; padding: 64px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; overflow: hidden; }
.cta__box::before, .cta__box::after {
  content: ""; position: absolute; width: 56px; height: 56px; border: 0 solid rgba(255,255,255,.45);
}
.cta__box::before { left: 24px; top: 24px; border-top-width: 2px; border-left-width: 2px; }
.cta__box::after { right: 24px; bottom: 24px; border-bottom-width: 2px; border-right-width: 2px; }
.cta__box h2 { color: #fff; font-size: clamp(34px, 4.4vw, 54px); margin-bottom: 10px; }
.cta__box p { margin: 0; color: rgba(255,255,255,.85); font-size: 18px; }
.cta__box .btn { position: relative; z-index: 1; }

/* ---------- page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: 80px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(48px, 7vw, 92px); letter-spacing: -.04em; margin-bottom: 20px; }
.page-hero .lead { position: relative; }
.page-hero .wrap { position: relative; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about-grid .big { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); line-height: 1.25; color: var(--ink); letter-spacing: -.02em; font-weight: 500; margin: 0; }
.about-grid .big em { font-style: normal; color: var(--red); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 72px; }
.pillar { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s; }
.pillar:hover { border-color: var(--line-2); transform: translateY(-2px); }
.pillar span { font-family: var(--mono); font-size: 12px; color: var(--red); letter-spacing: .1em; }
.pillar h3 { font-size: 24px; margin: 28px 0 8px; }
.pillar p { margin: 0 0 16px; font-size: 15px; color: var(--muted); }

/* ---------- services page ---------- */
.svc-rows { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 120px 1fr 1fr; gap: 48px; padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px; }
.svc-row__n { font-family: var(--mono); font-size: 13px; color: var(--red); letter-spacing: .1em; }
.svc-row h2 { font-size: clamp(32px, 3.6vw, 46px); }
.svc-row p { font-size: 17px; margin-bottom: 24px; }

/* ---------- training ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tab {
  height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff;
  font: 500 15px var(--text); color: var(--ink-2); cursor: pointer; transition: all .2s;
}
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.course { display: grid; grid-template-columns: 1fr 360px; gap: 48px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 48px; scroll-margin-top: 96px; }
.course[hidden] { display: none; }
.course h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 8px; }
.course .tagline { font-family: var(--display); font-size: 22px; color: var(--red); margin-bottom: 28px; letter-spacing: -.01em; }
.course h3 { font-size: 20px; margin: 32px 0 10px; letter-spacing: -.01em; }
.course p { font-size: 16.5px; }
.course aside { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; align-self: start; }
.course aside h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border: 2px solid var(--red); border-right-color: transparent; border-bottom-color: transparent; }
.course aside .btn { margin-top: 12px; width: 100%; justify-content: center; }

/* ---------- careers ---------- */
.jobs { display: grid; gap: 12px; }
.job { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.job[open] { border-color: var(--line-2); box-shadow: var(--shadow); }
.job summary { list-style: none; display: grid; grid-template-columns: 1fr auto 40px; gap: 20px; align-items: center; padding: 24px 28px; cursor: pointer; }
.job summary::-webkit-details-marker { display: none; }
.job summary h3 { font-size: 24px; letter-spacing: -.02em; }
.job summary .tag { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.job .tog { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .25s, background .2s; }
.job .tog svg { width: 16px; height: 16px; }
.job[open] .tog { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.job__body { padding: 0 28px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border-top: 1px dashed var(--line); padding-top: 28px; margin: 0 28px; padding-left: 0; padding-right: 0; }
.job__body p { font-size: 16px; }
.job__body h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.job__apply { margin-top: 8px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.info-card { background: var(--dark); color: #b9bcc5; border-radius: 20px; padding: 36px; }
.info-card h3 { color: #fff; font-size: 24px; margin-bottom: 28px; }
.info-row { padding: 18px 0; border-top: 1px solid var(--dark-line); }
.info-row span { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #7a7e88; margin-bottom: 6px; }
.info-row a, .info-row address { color: #fff; font-style: normal; font-size: 17px; line-height: 1.5; }
.info-row a:hover { color: #ffb4b0; }
.map { margin-top: 24px; border-radius: 12px; overflow: hidden; border: 1px solid var(--dark-line); aspect-ratio: 4 / 3; background: var(--dark-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

.form { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 40px; }
.form h2 { font-size: 30px; margin-bottom: 6px; }
.form > p { color: var(--muted); margin-bottom: 28px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: 400 16px var(--text); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 13px 14px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(15,16,19,.06); }
.field input[type="file"] { padding: 10px; font-size: 14px; }
.field input[type="file"]::file-selector-button { font: 600 13px var(--text); border: 1px solid var(--line-2); background: #fff; border-radius: 8px; padding: 8px 12px; margin-right: 12px; cursor: pointer; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); background: var(--red-soft); }
.field .err { font-size: 13px; color: var(--red-ink); display: none; }
.field.is-invalid .err { display: block; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.form__foot small { color: var(--muted); }
.form__ok { display: none; text-align: center; padding: 48px 12px; }
.form.is-sent .form__ok { display: block; }
.form.is-sent .form__main { display: none; }
.form__ok .mark { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.form__ok h3 { font-size: 28px; margin-bottom: 8px; }

/* ---------- article ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article__meta { display: flex; flex-wrap: wrap; gap: 10px 20px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.article h2 { font-size: 30px; margin: 48px 0 14px; }
.article h3 { font-size: 21px; margin: 32px 0 10px; letter-spacing: -.01em; }
.article p, .article li { font-size: 18px; line-height: 1.75; }
.article .standfirst { font-family: var(--display); font-size: 26px; line-height: 1.35; color: var(--ink); letter-spacing: -.015em; margin-bottom: 28px; font-weight: 500; }
.article ul.dots li { position: relative; padding-left: 26px; margin-bottom: 14px; }
.article ul.dots li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 7px; height: 7px; background: var(--red); }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0 28px; }
.codes figure { margin: 0; background: var(--dark); border-radius: 12px; overflow: hidden; }
.codes figcaption { font-family: var(--mono); font-size: 12px; color: #8b8f99; padding: 12px 16px; border-bottom: 1px solid var(--dark-line); letter-spacing: .08em; text-transform: uppercase; }
.codes pre { margin: 0; padding: 16px; font-family: var(--mono); font-size: 13.5px; line-height: 1.7; color: #e3e5ea; overflow-x: auto; }
.codes pre b { color: #ff8a84; font-weight: 400; }
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); margin-bottom: 28px; font-size: 15px; }
.back svg { width: 16px; height: 16px; transform: rotate(180deg); color: var(--red); }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: #8b8f99; padding: 72px 0 0; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--dark-line); }
.footer .logo { color: #fff; margin-bottom: 18px; }
.footer__top p { max-width: 40ch; font-size: 15px; }
.footer h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #6f737d; font-weight: 500; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer a { color: #d5d7dd; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; color: #d5d7dd; line-height: 1.6; }
.footer__bot { display: flex; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 14px; flex-wrap: wrap; }
.footer__word { font-family: var(--display); font-weight: 600; font-size: clamp(80px, 18vw, 240px); letter-spacing: -.06em; line-height: 1; color: #1c1e23; margin: 40px 0 -.1em; user-select: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero__in { grid-template-columns: 1fr; gap: 48px; }
  .svc-grid, .t-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid .svc:last-child { grid-column: 1 / -1; min-height: 0; }
  .course { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr 1fr; }
  .svc-row__n { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav, .header__cta .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { display: block; position: fixed; inset: 72px 0 0; background: var(--paper); padding: 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; z-index: 49; }
  .menu-open .mobile-nav { opacity: 1; transform: none; visibility: visible; }
  .mobile-nav a { display: flex; justify-content: space-between; font-family: var(--display); font-size: 30px; font-weight: 600; color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line); letter-spacing: -.02em; }
  .mobile-nav a[aria-current="page"] { color: var(--red); }
  .mobile-nav .btn { margin-top: 28px; width: 100%; justify-content: center; font-family: var(--text); font-size: 16px; border: 0; padding: 0; color: #fff; }
  .menu-open { overflow: hidden; }
  .section { padding: 80px 0; }
  .intro__in { grid-template-columns: 1fr; gap: 16px; padding-top: 56px; padding-bottom: 56px; }
  .head { flex-direction: column; align-items: start; }
  .insight { grid-template-columns: 1fr; }
  .insight__art { min-height: 0; padding: 28px; }
  .insight__body { padding: 32px 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .pillars { grid-template-columns: 1fr; margin-top: 48px; }
  .job__body { grid-template-columns: 1fr; gap: 20px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 48px 0 72px; }
  .hero h1 { font-size: clamp(52px, 17vw, 80px); }
  .lead { font-size: 17px; }
  .svc-grid, .t-grid { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .svc__num { margin-bottom: 28px; }
  .versus { grid-template-columns: 1fr; gap: 10px; }
  .versus span { text-align: center; font-size: 18px; }
  .cta__box { grid-template-columns: 1fr; padding: 44px 28px; }
  .cta__box::before, .cta__box::after { width: 28px; height: 28px; }
  .cta__box::before { left: 12px; top: 12px; }
  .cta__box::after { right: 12px; bottom: 12px; }
  .page-hero { padding: 56px 0 44px; }
  .svc-row { grid-template-columns: 1fr; gap: 16px; padding: 44px 0; }
  .course { padding: 28px 20px; gap: 28px; }
  .tabs { gap: 6px; }
  .tab { height: 40px; padding: 0 14px; font-size: 14px; }
  .job summary { grid-template-columns: 1fr 40px; padding: 20px; }
  .job summary .tag { display: none; }
  .job summary h3 { font-size: 20px; }
  .job__body { margin: 0 20px; padding-bottom: 24px; }
  .form { padding: 28px 20px; }
  .fields { grid-template-columns: 1fr; }
  .info-card { padding: 28px 20px; }
  .codes { grid-template-columns: 1fr; }
  .article p, .article li { font-size: 17px; }
  .article .standfirst { font-size: 22px; }
  .footer__top { grid-template-columns: 1fr; }
}
