/* ============================================================
   Ademola Adeagbo — portfolio v2
   Editorial light. Archivo (variable) + IBM Plex Mono.
   Paper, ink, hairline rules, one warm accent.
   ============================================================ */

:root {
  --paper: #f2f0ea;
  --paper-2: #e9e6dd;
  --white: #fbfaf7;
  --ink: #111110;
  --ink-2: #3d3b36;
  --ink-3: #6d6a62;
  --rule: rgba(17, 17, 16, .17);
  --rule-soft: rgba(17, 17, 16, .08);
  --gold: #d9a441;
  --gold-deep: #b8791f;
  --green: #1f7a4d;
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(18px, 4.4vw, 64px);
  --max: 1400px;
  --nav-h: 68px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
img { height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
mark { background: none; color: inherit; }

::selection { background: var(--ink); color: var(--paper); }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

body.no-scroll { overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Paper grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: var(--grain);
  opacity: .22;
  mix-blend-mode: multiply;
}

.skip {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  border-radius: 999px;
  transition: top .2s ease;
}
.skip:focus { top: 14px; }

/* ---------- primitives ---------- */

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

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1;
  border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateY(2px); }
.btn-sm { padding: 10px 17px; font-size: .82rem; }

.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; transform: translateY(-2px); }

.btn-yellow { background: var(--gold); color: #1a1408; }
.btn-yellow:hover { background: #e6b354; transform: translateY(-2px); }

.btn-line { border-color: var(--rule); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); transform: translateY(-2px); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: -.01em;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--rule);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.arrow-link span { transition: transform .3s var(--ease); }
.arrow-link:hover { border-color: var(--ink); }
.arrow-link:hover span { transform: translateX(4px); }
.arrow-link--quiet { color: var(--ink-3); border-bottom-color: transparent; font-weight: 500; }
.arrow-link--quiet:hover { color: var(--ink); }

/* ---------- header ---------- */

.bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 240, 234, .84);
  -webkit-backdrop-filter: saturate(1.1) blur(14px);
  backdrop-filter: saturate(1.1) blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: background .3s ease;
}
.bar.is-stuck { background: rgba(242, 240, 234, .96); }

.bar-in {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.bar-name {
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.02em;
  justify-self: start;
}

.bar-nav {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
  justify-self: center;
}
.bar-nav a {
  position: relative;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-2);
  padding-block: 6px;
  transition: color .2s ease;
}
.bar-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.bar-nav a:hover { color: var(--ink); }
.bar-nav a:hover::after,
.bar-nav a.is-active::after { transform: scaleX(1); }
.bar-nav a.is-active { color: var(--ink); }

.bar-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.avail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  white-space: nowrap;
}
.avail i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(31, 122, 77, .45);
  animation: ping 2.6s ease-out infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(31, 122, 77, .40); }
  70% { box-shadow: 0 0 0 7px rgba(31, 122, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 122, 77, 0); }
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: .82rem;
  font-weight: 600;
}
.mb-bars { display: grid; gap: 4px; width: 14px; }
.mb-bars i { display: block; height: 1px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s ease; }
.menu-btn[aria-expanded="true"] .mb-bars i:first-child { transform: translateY(2.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .mb-bars i:last-child { transform: translateY(-2.5px) rotate(-45deg); }
.menu-btn[aria-expanded="true"] .mb-label { font-size: 0; }
.menu-btn[aria-expanded="true"] .mb-label::after { content: "Close"; font-size: .82rem; }

.bar-progress {
  height: 1px;
  background: var(--ink);
  width: 0%;
  transform-origin: left;
  transition: width .1s linear;
}

/* ---------- drawer ---------- */

.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 28px) var(--pad) 36px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.drawer[hidden] { display: none; }
.drawer.is-open { opacity: 1; transform: none; }

.drawer nav { display: grid; }
.drawer nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
}
.drawer nav a .mono { color: var(--ink-3); }

.drawer-foot { display: grid; gap: 18px; justify-items: start; }
.drawer-foot .mono { color: var(--ink-3); text-transform: none; letter-spacing: .02em; font-size: 12px; }

/* ---------- hero ---------- */

.hero { padding-top: clamp(20px, 3vw, 34px); }

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 13px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  color: var(--ink-3);
  font-size: 10px;
}
.meta-row span:nth-child(2) { color: var(--ink); }

.hero-name {
  margin-top: clamp(22px, 3vw, 40px);
  font-weight: 800;
  font-stretch: 110%;
  font-size: clamp(3.4rem, 12.4vw, 13rem);
  line-height: .82;
  letter-spacing: -.055em;
  text-transform: none;
}
.hn-line {
  display: block;
  overflow: hidden;
  padding-bottom: .04em;
}
.hn-line--two {
  display: flex;
  justify-content: flex-end;
  padding-right: .02em;
}
.hn-word {
  display: inline-block;
  transform: translateY(112%);
  animation: rise 1.15s var(--ease) .12s forwards;
}
.hn-line--two .hn-word { animation-delay: .26s; }
@keyframes rise { to { transform: none; } }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .52fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: end;
  margin-top: clamp(26px, 3.4vw, 54px);
  padding-bottom: clamp(40px, 5vw, 76px);
}

.hero-text { max-width: 620px; }

.hero-role {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 10px;
}
.tick {
  width: 22px; height: 1px;
  background: var(--ink);
  display: inline-block;
}

.hero-statement {
  margin-top: 18px;
  font-size: clamp(1.18rem, 1.85vw, 1.6rem);
  line-height: 1.35;
  letter-spacing: -.022em;
  color: var(--ink);
  max-width: 34ch;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(34px, 4vw, 56px);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.hero-stats div { display: grid; gap: 4px; }
.hero-stats dt { color: var(--ink-3); font-size: 10px; }
.hero-stats dd { font-family: var(--font-sans); font-size: .92rem; font-weight: 500; letter-spacing: -.01em; text-transform: none; }

/* portrait */

.portrait { position: relative; }

.portrait-frame {
  position: relative;
  border: 1px solid var(--rule);
  padding: 9px;
  background: var(--paper-2);
  overflow: hidden;
}
.portrait-frame img,
.portrait-frame video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
  transition: filter .7s var(--ease), transform .9s var(--ease);
}
.portrait-frame video {
  position: absolute;
  inset: 9px;
  width: calc(100% - 18px);
  aspect-ratio: auto;
  height: calc(100% - 18px);
  opacity: 0;
  pointer-events: none;
  filter: none;
  background: #000;
}
.portrait.is-playing .portrait-frame video { opacity: 1; pointer-events: auto; }
.portrait:hover .portrait-frame img { filter: grayscale(0) contrast(1); }
.portrait-frame:hover img { transform: scale(1.012); }

.portrait-tag {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 2;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 5px 9px;
  font-size: 9px;
  color: var(--ink-2);
}

.play {
  position: absolute;
  left: 20px; bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 7px 16px 7px 7px;
  font-size: .8rem;
  font-weight: 600;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .5);
  transition: transform .3s var(--ease), background .3s ease;
}
.play:hover { transform: translateY(-2px); background: #fff; }
.play-ic {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink);
  position: relative;
  flex: none;
}
.play-ic::after {
  content: "";
  position: absolute;
  left: 12px; top: 10px;
  border-left: 8px solid var(--paper);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.portrait.is-playing .play-ic::after {
  left: 11px; top: 10px;
  width: 8px; height: 10px;
  border: 0;
  background: linear-gradient(90deg, var(--paper) 0 3px, transparent 3px 5px, var(--paper) 5px 8px);
}

.portrait-cap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  color: var(--ink-3);
  font-size: 9px;
}

/* ---------- strip ---------- */

.strip {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-block: 13px;
}
.strip-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 42s linear infinite;
  will-change: transform;
}
.strip-track span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding-inline: 26px;
  white-space: nowrap;
}
.strip-track .sep {
  width: 5px; height: 5px;
  padding: 0;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.strip:hover .strip-track { animation-play-state: paused; }

/* ---------- section head ---------- */

.section { padding-block: clamp(56px, 8vw, 118px) 0; }

.sec-head {
  display: grid;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  margin-bottom: clamp(38px, 5vw, 68px);
}

.kicker {
  color: var(--ink-3);
  font-size: 10px;
}

.sec-title {
  font-size: clamp(2.4rem, 5.6vw, 5.1rem);
  font-weight: 600;
  font-stretch: 104%;
  line-height: .98;
  letter-spacing: -.04em;
  max-width: 20ch;
  text-wrap: balance;
}

.sec-sub { color: var(--ink-3); font-size: 10px; }

/* ---------- work ---------- */

.group + .group { margin-top: clamp(52px, 7vw, 96px); }

.group-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(26px, 3.2vw, 44px);
}
.group-title {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -.025em;
}
.group-head > .mono { color: var(--ink-3); font-size: 10px; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 3.6vw, 58px) clamp(24px, 3vw, 48px);
}

.card-media {
  display: block;
  position: relative;
  background: color-mix(in srgb, var(--c, #999) 10%, var(--paper-2));
  border: 1px solid var(--rule);
  padding: clamp(12px, 1.6vw, 22px);
  overflow: hidden;
  isolation: isolate;
}
.card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 18px 40px -30px rgba(17, 17, 16, .55);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.card-media:hover img {
  transform: scale(1.026);
  box-shadow: 0 26px 54px -30px rgba(17, 17, 16, .5);
}
.card-media--phone img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
}

.card-media.is-cover { display: grid; place-items: center; }
.card-media.is-cover::after {
  content: attr(data-cover);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-block: 18%;
}

.card-badge {
  position: absolute;
  top: clamp(20px, 2.4vw, 34px);
  right: clamp(20px, 2.4vw, 34px);
  z-index: 2;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 5px 9px;
  font-size: 9px;
  color: var(--ink-2);
}

.card-body { padding-top: 18px; }

.card-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.card-n { color: var(--ink-3); font-size: 10px; order: 2; margin-left: auto; }
.card-top h4 {
  font-size: clamp(1.5rem, 2.2vw, 2.05rem);
  font-weight: 600;
  font-stretch: 104%;
  letter-spacing: -.035em;
  line-height: 1;
}

.card-lede {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: -.008em;
  max-width: 46ch;
}

.card-meta { margin-top: 10px; color: var(--ink-3); font-size: 9.5px; }

.card-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* feature card */

.card--feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, .68fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  padding-bottom: clamp(30px, 4vw, 52px);
  border-bottom: 1px solid var(--rule);
}
.card--feature .card-media img { aspect-ratio: 16 / 9.2; }
.card--feature .card-body { padding-top: 0; }
.card--feature .card-top h4 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.card--feature .card-lede { font-size: clamp(1.06rem, 1.4vw, 1.28rem); max-width: 34ch; }
.card--feature .arrow-link { font-size: 1rem; }

/* ---------- about ---------- */

.about .sec-head { margin-bottom: clamp(30px, 4vw, 52px); }

.roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
}
.role {
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.role-n { color: var(--ink-3); font-size: 10px; }
.role-word {
  margin-top: 26px;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
}
.role p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: .98rem;
  line-height: 1.55;
  max-width: 34ch;
}

.about-foot {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(28px, 5vw, 80px);
  margin-top: clamp(52px, 7vw, 92px);
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.about-block .kicker { margin-bottom: 16px; }

.explore li {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr auto;
  gap: 18px;
  align-items: baseline;
  padding-block: 13px;
  border-bottom: 1px solid var(--rule-soft);
}
.ex-name { font-weight: 600; letter-spacing: -.02em; }
.ex-what { color: var(--ink-2); font-size: .92rem; }
.ex-status { color: var(--ink-3); font-size: 9px; white-space: nowrap; }

.where {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
}
.where-now {
  margin-top: 12px;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 36ch;
}
.big-link { margin-top: 18px; font-size: 1rem; }

/* cv */

.cv {
  margin-top: clamp(52px, 7vw, 96px);
  border-top: 1px solid var(--rule);
  padding-top: 22px;
}
.cv-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.cv-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}
.cv-profile {
  max-width: 68ch;
  margin-top: -4px;
  margin-bottom: 34px;
  font-size: .98rem;
  line-height: 1.6;
  color: var(--ink-2);
}
.cv-col h3 {
  color: var(--ink-3);
  font-size: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 14px;
}
.cv-col dl { display: grid; gap: 16px; }
.cv-col dt { font-size: .92rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.35; }
.cv-col dd { font-family: var(--font-mono); font-size: 10.5px; line-height: 1.6; color: var(--ink-3); margin-top: 5px; }
.skills { font-size: .92rem; color: var(--ink-2); line-height: 1.6; }

/* ---------- services ---------- */

.svc { border-top: 1px solid var(--rule); }
.svc li {
  display: grid;
  grid-template-columns: 56px minmax(0, .95fr) minmax(0, 1.05fr) auto;
  gap: clamp(16px, 2.6vw, 40px);
  align-items: start;
  padding-block: clamp(22px, 2.6vw, 34px);
  border-bottom: 1px solid var(--rule);
  transition: background .3s ease;
}
.svc li:hover { background: rgba(255, 255, 255, .5); }
.svc-n { color: var(--ink-3); font-size: 10px; padding-top: 6px; }
.svc h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
  max-width: 16ch;
}
.svc p { color: var(--ink-2); font-size: .96rem; line-height: 1.55; max-width: 44ch; }
.svc-tags { color: var(--ink-3); font-size: 9px; padding-top: 7px; white-space: nowrap; }

.process { margin-top: clamp(52px, 6vw, 82px); }
.process .kicker { margin-bottom: 20px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 40px);
}
.steps li { padding-top: 14px; border-top: 1px solid var(--rule); }
.steps .mono { color: var(--ink-3); font-size: 10px; }
.steps h3 {
  margin-top: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -.025em;
}
.steps p { margin-top: 7px; font-size: .9rem; color: var(--ink-2); line-height: 1.5; max-width: 30ch; }

/* ---------- contact ---------- */

.contact { padding-bottom: clamp(60px, 8vw, 110px); }
.contact > .kicker { margin-bottom: 18px; }

.contact-title {
  font-size: clamp(2.6rem, 7.4vw, 7rem);
  font-weight: 700;
  font-stretch: 108%;
  line-height: .92;
  letter-spacing: -.05em;
  max-width: 16ch;
}
.contact-title mark {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}
.contact-title mark::after {
  content: "";
  position: absolute;
  left: -.01em; right: -.01em; bottom: .04em;
  height: .12em;
  background: var(--gold);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease) .2s;
}
.contact-title.in mark::after,
html:not(.js) .contact-title mark::after { transform: scaleX(1); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(36px, 6vw, 96px);
  margin-top: clamp(34px, 4vw, 56px);
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}

.email-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.email {
  font-size: clamp(1.15rem, 2.5vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.15;
  border-bottom: 1px solid var(--rule);
  transition: border-color .25s ease;
  word-break: break-word;
}
.email:hover { border-color: var(--ink); }

.copy {
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 9px;
  color: var(--ink-2);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.copy:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.copy.is-done { background: var(--green); border-color: var(--green); color: #fff; }

.contact-note { margin-top: 16px; color: var(--ink-3); font-size: .9rem; max-width: 40ch; }

.c-rows { margin-top: 30px; border-top: 1px solid var(--rule); }
.c-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-block: 13px;
  border-bottom: 1px solid var(--rule-soft);
  transition: padding-left .3s var(--ease), background .3s ease;
}
.c-row .mono { color: var(--ink-3); font-size: 9.5px; }
.c-row > span:last-child { font-size: .96rem; font-weight: 500; letter-spacing: -.01em; }
.c-row i { font-style: normal; color: var(--ink-3); display: inline-block; transition: transform .3s var(--ease), color .3s ease; margin-left: 4px; }
.c-row:hover { padding-left: 8px; background: rgba(255, 255, 255, .45); }
.c-row:hover i { transform: translate(2px, -2px); color: var(--ink); }

/* form */

.enquiry {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: clamp(20px, 2.6vw, 34px);
  display: grid;
  gap: 8px;
  align-self: start;
}
.enquiry .kicker { margin-bottom: 10px; }
.enquiry label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 8px;
}
.enquiry input,
.enquiry select,
.enquiry textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 11px 12px;
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .25s ease, background .25s ease;
}
.enquiry input::placeholder,
.enquiry textarea::placeholder { color: #a5a199; }
.enquiry input:focus,
.enquiry select:focus,
.enquiry textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.enquiry textarea { resize: vertical; min-height: 96px; }
.enquiry .btn { margin-top: 14px; justify-self: start; }
.form-hint { font-family: var(--font-mono); font-size: 9.5px; color: var(--ink-3); letter-spacing: .04em; }
.form-hint.is-error { color: #a33; }

/* ---------- footer ---------- */

.foot {
  background: var(--ink);
  color: var(--paper);
  padding-top: 26px;
  overflow: hidden;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 9.5px;
  color: rgba(242, 240, 234, .62);
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(242, 240, 234, .16);
}
.foot-row a { transition: color .2s ease; }
.foot-row a:hover { color: var(--paper); }

.foot-name {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: .06em;
  padding: clamp(18px, 2.4vw, 34px) var(--pad) 0;
  max-width: var(--max);
  margin-inline: auto;
  font-size: clamp(3.4rem, 13.5vw, 14rem);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -.06em;
  line-height: .74;
  color: rgba(242, 240, 234, .94);
  transform: translateY(.12em);
  user-select: none;
}

/* ---------- reveal ---------- */

html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .bar-nav { gap: 20px; }
  .avail { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(230px, .46fr); }
  .cards { gap: 34px 24px; }
  .svc li { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr); }
  .svc-tags { grid-column: 2 / -1; padding-top: 0; }
}

@media (max-width: 860px) {
  .bar-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .bar-in { grid-template-columns: 1fr auto; }
  .meta-row { flex-wrap: wrap; gap: 6px 18px; }
  .meta-row span:nth-child(2), .meta-row span:nth-child(4) { display: none; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .portrait { max-width: 420px; width: 100%; }
  .hero-name { font-size: clamp(3rem, 15.4vw, 8rem); }
  .hn-line--two { justify-content: flex-start; }
  .card--feature { grid-template-columns: 1fr; gap: 20px; }
  .cards { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr; gap: 0; }
  .role { padding-block: 22px; }
  .role-word { margin-top: 10px; }
  .about-foot { grid-template-columns: 1fr; }
  .cv-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .svc li { grid-template-columns: 34px minmax(0, 1fr); }
  .svc p, .svc-tags { grid-column: 2 / -1; }
  .svc-tags { padding-top: 0; }
}

@media (max-width: 560px) {
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hero-stats dd { font-size: .82rem; }
  .group-head { flex-direction: column; gap: 6px; align-items: flex-start; }
  .explore li { grid-template-columns: 1fr; gap: 4px; }
  .cv-cols { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cv-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .foot-name { flex-direction: column; align-items: flex-start; line-height: .82; }
  .copy { order: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hn-word { transform: none; }
  .strip-track { animation: none; }
  html.js .reveal { opacity: 1; transform: none; }
}
