@charset "UTF-8";
/* ==========================================================================
   abhisheksinha.pro — "Overhang"
   One continuous hairline spine; privileged elements hang left of it and,
   being opaque, knock visible gaps in the rule.
   Hand-written. No framework, no build step.
   ========================================================================== */

/* ------------------------------------------------------------- 0. fonts -- */

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrumentserif-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrumentserif-latin-ext.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrumentserif-italic-latin.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geistmono-latin.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
}

/* ------------------------------------------------------------ 1. tokens -- */

:root {
  color-scheme: light;

  --canvas:          #FAFAF9;
  --ink:             #111110;
  --muted:           #6B6862;
  --hairline:        #E5E4E0;
  --hairline-strong: #D9D7D1;
  --slab:            #F2F1EE;
  --field-line:      #8C8981;   /* 3.5:1 on --canvas — WCAG 1.4.11 for UI boundaries */
  --accent:          #C2410C;
  --accent-soft:     rgba(194, 65, 12, .12);
  --selection:       rgba(194, 65, 12, .16);

  --serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --sans:  "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:  "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* grid */
  --pad:      clamp(20px, 4vw, 72px);
  --gutter:   96px;    /* mono gutter track; the spine sits on its right edge */
  --gap:      28px;    /* column gap; also the overhang unit                  */
  --hang:     28px;    /* how far privileged blocks reach left of the spine   */
  --topbar-h: 88px;
  --hero-pad: 168px;   /* topbar -> hero headline; also where the spine begins */
  --sec-pad:  160px;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --canvas:          #0C0C0B;
    --ink:             #F5F4F1;
    --muted:           #9A968E;
    --hairline:        #2E2C29;
    --hairline-strong: #3A3733;
    --slab:            #141413;
    --field-line:      #6B675E;   /* 3.5:1 on the dark canvas */
    --accent:          #EA6A2E;
    --accent-soft:     rgba(234, 106, 46, .14);
    --selection:       rgba(234, 106, 46, .20);
  }
}

@media (max-width: 1199px) {
  :root { --gutter: 80px; --gap: 24px; --hang: 24px; --sec-pad: 128px; --hero-pad: 128px; }
}
@media (max-width: 1023px) {
  :root { --gutter: 64px; --gap: 20px; --hang: 20px; --sec-pad: 104px; --hero-pad: 104px; --topbar-h: 76px; }
}
@media (max-width: 767px) {
  :root { --gutter: 44px; --gap: 16px; --hang: 16px; --sec-pad: 72px;  --hero-pad: 72px;  --topbar-h: 64px; }
}

/* ------------------------------------------------------------- 2. reset -- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--canvas);
  color: var(--ink);
  font: 400 18px/1.65 var(--sans);
  letter-spacing: -.004em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--selection); }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 1px;
}

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  padding: 12px 18px; background: var(--ink); color: var(--canvas);
  font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .16em;
  transition: top 160ms var(--ease);
}
.skip:focus { top: 8px; }

/* ---------------------------------------------------- 3. page + spine ---- */

.page {
  position: relative;
  max-width: calc(1320px + var(--pad) * 2);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* The spine. Drawn once for the whole document, starting at the hero
   headline's top edge and running to the foot of the page. */
.spine {
  position: absolute;
  left: calc(var(--pad) + var(--gutter));
  top: calc(var(--topbar-h) + var(--hero-pad));
  bottom: 0;
  width: 1px;
  background: var(--hairline-strong);
  z-index: 0;
  pointer-events: none;
}
/* Ruler-style terminus: the rule is measured off, not faded out. */
.spine::after {
  content: "";
  position: absolute; left: -6px; bottom: 0;
  width: 13px; height: 2px; background: var(--accent);
}

/* The one move the whole design rests on. Anything wearing .hangs reaches
   one overhang unit left of the spine and, being opaque, cuts a gap in it.
   NEVER put this on something translucent — the rule will show through. */
.hangs {
  position: relative;
  z-index: 1;
  background: var(--canvas);
  margin-left: calc(-1 * (var(--gap) + var(--hang)));
  padding-block: 8px 12px;
}

/* --------------------------------------------------------- 4. sections --- */

.sec {
  position: relative;
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr);
  column-gap: var(--gap);
  padding-block: var(--sec-pad);
}
.sec > * { grid-column: 2; }

/* Sticky section numeral, riding down its own section in the gutter. */
.num {
  grid-column: 1;
  grid-row: 1 / span 99;
  align-self: start;
  position: sticky;
  top: 32px;
  justify-self: end;
  /* Must clear the overhang, not the spine. Hanging blocks begin at
     (--gutter - --hang); park the numeral a clear 20px to the left of that,
     or the sticky number rides through every headline and table it passes —
     and at 8px it still reads as one string with whatever it draws level
     with ("04 HOURS WORKED"). */
  padding-right: calc(var(--hang) + 20px);
  font: 400 12px/1 var(--mono);
  letter-spacing: .10em;
  color: var(--muted);
  transition: color 240ms ease;
}
.sec.is-active .num { color: var(--accent); }

/* Section header: [eyebrow][hairline running to the right edge] */
.eyebrow {
  display: flex; align-items: center; gap: 20px;
  font: 400 11px/1 var(--mono);
  text-transform: uppercase; letter-spacing: .18em; color: var(--muted);
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }

.h2 {
  margin-top: 56px;
  font: 400 clamp(32px, 5.4vw, 76px)/.94 var(--serif);
  letter-spacing: -.02em;
  max-width: 16ch;
}
.h2--xl { font-size: clamp(38px, 7.2vw, 96px); line-height: .92; max-width: 14ch; }

.h2-italic {
  margin-top: 56px;
  font: italic 400 clamp(26px, 3.4vw, 40px)/1.15 var(--serif);
  letter-spacing: -.015em;
}

.lede { font-size: 20px; line-height: 1.55; letter-spacing: -.006em; max-width: 46ch; }

/* ------------------------------------------------------------ 5. topbar -- */

.topbar {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr);
  column-gap: var(--gap);
  align-items: center;
  height: var(--topbar-h);
  border-bottom: 1px solid var(--hairline);
}
.topbar__mark {
  grid-column: 1; justify-self: end; padding-right: 16px;
  font: 500 13px/1 var(--mono); letter-spacing: .2em;
}
.topbar__nav {
  grid-column: 2; display: flex; justify-content: flex-end; gap: 28px;
  font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .16em;
}
.topbar__nav a { color: var(--muted); transition: color 140ms ease; }
.topbar__nav a:hover, .topbar__nav a:focus-visible { color: var(--ink); }

/* The topbar's own hairline must not sit over the gutter track. */
.topbar { border-bottom: 0; }
.topbar::after {
  content: ""; position: absolute; left: calc(var(--gutter) + var(--gap)); right: 0; bottom: 0;
  height: 1px; background: var(--hairline);
}

/* -------------------------------------------------------------- 6. hero -- */

.sec--hero { padding-block: var(--hero-pad) calc(var(--sec-pad) * .6); min-height: 92svh; }

.hero__h {
  font: 400 clamp(40px, 9.2vw, 132px)/.88 var(--serif);
  letter-spacing: -.025em;
  text-indent: -.055em;            /* optical hang for the cap "I" */
}
.hero__line { display: block; }

.hero__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-start; gap: 48px 40px;
  margin-top: 56px;
}
.hero__left  { max-width: 52ch; }
.hero__right { text-align: right; margin-left: auto; }

/* Flex so each term is its own wrappable item. As inline spans with no
   whitespace between them the whole run was one 283px unbreakable token,
   which overflowed below ~363px. */
.disciplines {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px;
  margin-top: 28px;
  font: 400 11px/1.9 var(--mono);
  text-transform: uppercase; letter-spacing: .18em; color: var(--ink);
}
.disciplines i  { font-style: normal; color: var(--hairline-strong); }
.disciplines em { font-style: normal; color: var(--muted); }

.avail {
  display: inline-flex; align-items: center; gap: 10px;
  font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .16em;
  color: var(--muted);
}
.avail__dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.cta {
  display: inline-block; margin-top: 24px;
  font: 400 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .16em;
  padding-bottom: 10px; border-bottom: 1.5px solid var(--accent);
  transition: border-color 180ms ease, color 180ms ease;
}
.cta span { display: inline-block; transition: transform 240ms var(--ease); }
.cta:hover span, .cta:focus-visible span { transform: translateX(6px); }
.cta--quiet { display: block; color: var(--muted); border-bottom-color: var(--hairline-strong); }
.cta--quiet:hover, .cta--quiet:focus-visible { color: var(--ink); border-bottom-color: var(--ink); }

/* ------------------------------------------------------------- 7. about -- */

.about__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  margin-top: 64px;
}
.portrait {
  grid-column: 1 / span 4;
  margin-top: 48px;
  z-index: 1;
}
.portrait picture { display: block; position: relative; z-index: 1; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* Offset register keyline that settles into place on hover. It sits BEHIND
   the photograph, so only the right and bottom edges show — a printer's
   registration mark, not a border drawn across the image. */
.portrait::after {
  content: ""; position: absolute; inset: 8px 0 12px 0; z-index: 0;
  border: 1px solid var(--hairline-strong);
  transform: translate(14px, 14px);
  transition: transform 400ms var(--ease);
  pointer-events: none;
}
.portrait:hover::after { transform: translate(6px, 6px); }

.about__body { grid-column: 6 / -1; }
.about__body > p { max-width: 62ch; }
.about__body > p + p { margin-top: 20px; }
.about__body .indent { text-indent: 32px; }

.meta { margin-top: 48px; max-width: 62ch; }
.meta__row {
  display: flex; align-items: baseline; gap: 12px;
  font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .18em;
}
.meta__row + .meta__row { margin-top: 20px; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; color: var(--ink); }
/* Dotted leader, set on the mono baseline. */
.meta__row::after {
  content: ""; order: 1; flex: 1; height: 1px; margin-bottom: 2px;
  background: repeating-linear-gradient(to right, var(--hairline-strong) 0 1px, transparent 1px 5px);
}
.meta dd { order: 2; }
.meta dd a { border-bottom: 1px solid var(--hairline-strong); }
.meta dd a:hover, .meta dd a:focus-visible { border-bottom-color: var(--accent); color: var(--accent); }

/* ------------------------------------------------------------- 8. stack -- */

.ledger { margin-top: 64px; }
.ledger__row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 44px;
  column-gap: var(--gap);
  align-items: baseline;
  padding-block: 28px;
  border-top: 1px solid var(--hairline);
}
.ledger__row:last-child { border-bottom: 1px solid var(--hairline); }
.ledger__label {
  font: 400 11px/1.6 var(--mono); text-transform: uppercase;
  letter-spacing: .18em; color: var(--muted);
}
.ledger__items { display: flex; flex-wrap: wrap; align-items: center; font-size: 17px; }
.ledger__items span { color: var(--muted); position: relative; padding-block: 2px; }
.ledger__items span.is-key { color: var(--ink); }
/* The separator trails its own item rather than leading the next one, so a
   wrapped line can never begin with an orphaned rule ("| CSS"). */
.ledger__items span:not(:last-child)::after {
  content: ""; display: inline-block; vertical-align: middle;
  width: 1px; height: 14px; margin: 0 14px;
  background: var(--hairline-strong);
}
.ledger__count {
  font: 400 12px/1.6 var(--mono); letter-spacing: .1em;
  color: var(--muted); text-align: right;
}
.ledger__row--minor .ledger__items { font-size: 15px; }

/* ------------------------------------------------------------- 9. stats -- */

.sec--stats { padding-block: 72px 56px; }
.sec--stats::before, .sec--stats::after {
  content: ""; position: absolute; left: 50%; width: 100vw;
  transform: translateX(-50%);
  height: 1px; background: var(--hairline);
}
.sec--stats::before { top: 0; }
.sec--stats::after  { bottom: 0; }

.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
  margin-right: calc(-1 * var(--pad));   /* the band breaks right */
  margin-left: calc(-1 * (var(--gap) + var(--hang)));
  /* The band hangs left of the spine, so like every other hanging block it
     has to be opaque — otherwise the rule draws straight through the
     numerals. Same contract as .hangs, different margins. */
  position: relative;
  z-index: 1;
  background: var(--canvas);
}
.stat { padding-right: var(--gap); position: relative; }
.stat + .stat { padding-left: var(--gap); }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: -24px; bottom: -24px;
  width: 1px; background: var(--hairline);
}
.stat__n {
  font: 400 clamp(34px, 5vw, 64px)/.95 var(--mono);
  letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  padding-bottom: 20px; border-bottom: 1px solid var(--hairline);
}
.stat__n i { font-style: normal; color: var(--accent); }
.stat__n .sep { color: var(--accent); }
.stat__l {
  margin-top: 16px;
  font: 400 11px/1.4 var(--mono); text-transform: uppercase;
  letter-spacing: .18em; color: var(--muted);
}

/* --------------------------------------------------------- 10. services -- */

.svc { margin-top: 64px; }
.svc__row {
  position: relative;
  display: grid;
  grid-template-columns: 88px 340px minmax(0, 1fr) 132px;
  column-gap: var(--gap);
  align-items: start;
  min-height: 132px;
  padding-block: 32px;
  border-top: 1px solid var(--hairline);
}
.svc__row:last-child { border-bottom: 1px solid var(--hairline); }
/* Hover draws the row's own rule in accent, left to right. */
.svc__row::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0;
  background: var(--accent);
  transition: width 320ms var(--ease);
}
.svc__row:hover::before, .svc__row:focus-within::before { width: 100%; }
.svc__i {
  font: 400 12px/1.9 var(--mono); letter-spacing: .1em; color: var(--muted);
  transition: color 240ms ease;
}
.svc__row:hover .svc__i, .svc__row:focus-within .svc__i { color: var(--accent); }
.svc__t { font: 400 clamp(24px, 2.6vw, 34px)/1.1 var(--serif); letter-spacing: -.015em; }
.svc__d { font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 48ch; }
.svc__tag {
  font: 400 10px/1.9 var(--mono); text-transform: uppercase;
  letter-spacing: .14em; color: var(--muted); text-align: right;
}

/* -------------------------------------------------------- 11. education -- */

.sec--edu { padding-block: var(--sec-pad) calc(var(--sec-pad) * .8); }
.edu { margin-top: 64px; }
.edu__row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 200px;
  column-gap: var(--gap);
  align-items: baseline;
  padding-block: 32px;
  border-top: 1px solid var(--hairline);
}
.edu__yr    { font: 400 12px/1.7 var(--mono); letter-spacing: .1em; color: var(--muted); }
.edu__inst  { font: 500 20px/1.3 var(--sans); }
.edu__course{ font-size: 16px; color: var(--muted); margin-top: 2px; }
.edu__mode  {
  font: 400 11px/1.7 var(--mono); text-transform: uppercase;
  letter-spacing: .18em; color: var(--muted); text-align: right;
}
.tl { position: relative; margin-top: 72px; height: 46px; }
.tl__rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hairline); }
.tl__span {
  position: absolute; left: 26.3%; right: 0; top: -1px; height: 2px;
  background: var(--accent);
  transform-origin: left; transform: scaleX(0);
  transition: transform 900ms var(--ease);
}
.tl.is-in .tl__span { transform: scaleX(1); }
.tl__tick { position: absolute; left: var(--x); top: 0; }
.tl__tick::before {
  content: ""; position: absolute; left: 0; top: -8px; width: 1px; height: 8px;
  background: var(--hairline-strong);
}
.tl__tick i {
  position: absolute; left: 0; top: 10px; transform: translateX(-50%);
  font: 400 10px/1 var(--mono); letter-spacing: .14em; color: var(--muted);
  font-style: normal; white-space: nowrap;
}
.tl__tick--start i { transform: none; }
.tl__tick--end i { transform: translateX(-100%); }

/* ----------------------------------------------------- 12. testimonials -- */

.quotes {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gap); row-gap: 64px;
  align-items: start;
  margin-top: 64px;
}
/* The right-hand column rides 96px lower so the two never share a top edge. */
.quotes .card:nth-child(even) { margin-top: 96px; }

.card {
  position: relative;
  background: var(--slab);
  padding: 36px 36px 32px;
}
/* Only the RULE overhangs — the card itself stays inside its column. Pulling
   the whole card left with a negative margin consumed the entire column gap
   and made the two columns touch. */
.card::before {
  content: ""; position: absolute; top: 0; right: 0;
  left: calc(-1 * var(--hang)); height: 1px;
  background: var(--hairline-strong);
}
.card__i {
  position: absolute; top: 20px; right: 20px;
  font: 400 12px/1 var(--mono); letter-spacing: .1em; color: var(--muted);
}
.card blockquote p {
  font: 400 clamp(20px, 1.7vw, 24px)/1.42 var(--serif);
  letter-spacing: -.01em;
  text-indent: -.42em;             /* true hanging punctuation */
  max-width: 34ch;
}
.card__by { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.card__by img {
  width: 40px; height: 40px; border-radius: 50%;
  outline: 1px solid var(--hairline-strong); outline-offset: -1px;
}
.card__by span { display: flex; flex-direction: column; gap: 3px; }
.card__by b { font: 500 15px/1.3 var(--sans); }
.card__by i {
  font: 400 11px/1 var(--mono); font-style: normal;
  text-transform: uppercase; letter-spacing: .16em; color: var(--muted);
}

/* ---------------------------------------------------------- 13. contact -- */

.sec--contact { padding-block: var(--sec-pad) 0; }
.deck { margin-top: 32px; font-size: 19px; color: var(--muted); max-width: 46ch; }

.contact {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap); row-gap: 64px;
  margin-top: 64px;
}
.form   { grid-column: 1 / span 6; }
.direct { grid-column: 8 / -1; }

.field + .field { margin-top: 24px; }
.field label {
  display: block; margin-bottom: 10px;
  font: 400 11px/1 var(--mono); text-transform: uppercase;
  letter-spacing: .18em; color: var(--muted);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0; background: transparent;
  border: 0; border-bottom: 1px solid var(--field-line);
  font-size: 17px; border-radius: 0;
  transition: border-color 180ms ease;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
/* appearance:none removes the native affordance, so draw one back. */
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  padding-right: 28px;
  background-image: linear-gradient(45deg, transparent 50%, var(--field-line) 50%),
                    linear-gradient(135deg, var(--field-line) 50%, transparent 50%);
  background-size: 6px 6px, 6px 6px;
  background-position: right 12px center, right 6px center;
  background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-bottom-color: var(--accent);
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px;
}
.field__err {
  min-height: 0; margin-top: 6px;
  font: 400 11px/1.5 var(--mono); letter-spacing: .04em; color: var(--accent);
}
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-bottom-color: var(--accent); }

/* honeypot — must stay empty; hidden from humans and from a11y tree */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.submit {
  margin-top: 40px; padding: 16px 28px; cursor: pointer;
  background: var(--ink); color: var(--canvas); border: 0; border-radius: 0;
  font: 400 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .16em;
  transition: background-color 180ms ease;
}
.submit span { display: inline-block; transition: transform 240ms var(--ease); }
.submit:hover { background: var(--accent); }
.submit:hover span { transform: translateX(6px); }
.submit[disabled] { opacity: .5; cursor: progress; }

.form__status {
  margin-top: 20px; font-size: 15px; line-height: 1.5; color: var(--muted);
  max-width: 46ch;
}
.form__status.is-ok  { color: var(--ink); }
.form__status.is-bad { color: var(--accent); }

.direct__label {
  font: 400 11px/1 var(--mono); text-transform: uppercase;
  letter-spacing: .18em; color: var(--muted);
}
.direct__mail { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.direct__mail a {
  font: 400 clamp(15px, 1.7vw, 24px)/1.3 var(--mono);
  letter-spacing: -.01em;
  overflow-wrap: anywhere;   /* 25 mono characters overflowed below ~331px */
  padding-bottom: 8px; border-bottom: 1px solid var(--ink);
  transition: border-color 180ms ease, color 180ms ease;
}
.direct__mail a:hover, .direct__mail a:focus-visible { color: var(--accent); border-bottom-color: var(--accent); }
.copy {
  background: 0; border: 0; cursor: pointer;
  /* 30x10px of text; the padding lifts the hit area to 44px without moving
     anything, and the negative margin gives the space back to the layout. */
  padding: 17px 10px; margin: -17px -10px;
  font: 400 10px/1 var(--mono); text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted); transition: color 160ms ease;
}
.copy:hover { color: var(--ink); }
.copy.is-done { color: var(--accent); }

.links { margin-top: 48px; }
.links li { border-top: 1px solid var(--hairline); }
.links li:last-child { border-bottom: 1px solid var(--hairline); }
.links a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  min-height: 44px; padding-block: 13px;
}
.links span {
  font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .16em;
}
.links i { font-style: normal; font-size: 15px; color: var(--muted); transition: color 160ms ease; }
.links a:hover i, .links a:focus-visible i { color: var(--accent); }

/* ----------------------------------------------------------- 14. footer -- */

.foot {
  position: relative;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start; gap: 24px;
  padding-block: 40px;
  margin-top: 120px;
  font: 400 10px/1.7 var(--mono); text-transform: uppercase;
  letter-spacing: .14em; color: var(--muted);
}
.foot::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 100vw;
  transform: translateX(-50%); height: 1px; background: var(--hairline);
}
.foot__t { text-align: center; font-variant-numeric: tabular-nums; }
.foot__x { text-align: right; }
.foot__x span { display: block; }
/* No opacity step here: .7 composites --muted down to 2.9:1 against the
   canvas, which fails WCAG AA. The line break alone carries the imprint. */
.foot__x2 { color: var(--muted); }

/* --------------------------------------------------------- 15. reveals --- */

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}

/* ------------------------------------------------------ 16. breakpoints -- */

@media (max-width: 1023px) {
  body { font-size: 17px; }
  .h2 { margin-top: 40px; max-width: 20ch; }
  .h2--xl { max-width: 16ch; }
  .h2-italic { margin-top: 40px; }
  .hero__foot { margin-top: 44px; }

  .about__grid { grid-template-columns: repeat(8, minmax(0, 1fr)); row-gap: 48px; }
  .portrait { grid-column: 1 / span 5; margin-top: 0; }
  .about__body { grid-column: 1 / -1; }

  .ledger__row { grid-template-columns: minmax(0, 1fr) 44px; row-gap: 12px; }
  .ledger__label { grid-column: 1; }
  .ledger__count { grid-column: 2; grid-row: 1; }
  .ledger__items { grid-column: 1 / -1; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .stat:nth-child(3)::before, .stat:nth-child(1)::before { display: none; }
  .stat:nth-child(3), .stat:nth-child(4) { padding-top: 40px; border-top: 1px solid var(--hairline); }
  .stat:nth-child(odd) { padding-left: 0; }

  .svc__row { grid-template-columns: 72px minmax(0, 1fr); row-gap: 10px; }
  .svc__t   { grid-column: 2; }
  .svc__d   { grid-column: 2; max-width: none; }
  .svc__tag { grid-column: 2; text-align: left; }

  .contact { grid-template-columns: minmax(0, 1fr); }
  .form, .direct { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .sec--hero { min-height: 88svh; }
  .hero__h { line-height: .92; }
  .hero__right { text-align: left; margin-left: 0; }
  .topbar__nav a:not(:last-child) { display: none; }

  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .portrait { grid-column: 1 / -1; }

  .lede { font-size: 18px; }
  .deck { font-size: 17px; }

  /* The gutter is 44px here — too narrow to hold the numeral clear of the
     overhang. It is a desktop editorial device; drop it rather than collide. */
  .num { display: none; }

  /* Heavy wrapping at this width: drop the rules and let the gap do the work. */
  .ledger__items { column-gap: 18px; row-gap: 2px; }
  .ledger__items span:not(:last-child)::after { display: none; }

  .quotes { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .quotes .card:nth-child(even) { margin-top: 0; }   /* no stagger in one column */
  .card { padding: 24px 24px 22px; }

  .edu__row { grid-template-columns: 100px minmax(0, 1fr); row-gap: 8px; }
  .edu__mode { grid-column: 2; text-align: left; }
  .tl__tick--minor i { display: none; }

  .foot { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .foot__t, .foot__x { text-align: left; }
}

@media (max-width: 400px) {
  .svc__row { grid-template-columns: minmax(0, 1fr); }
  .svc__i, .svc__t, .svc__d, .svc__tag { grid-column: 1; }
  .edu__row { grid-template-columns: minmax(0, 1fr); }
  .edu__yr, .edu__mode { grid-column: 1; }
  .card blockquote p { text-indent: 0; }
}

/* ------------------------------------------------- 17. reduced motion ---- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .tl__span { transform: scaleX(1); }
}

/* -------------------------------------------------------------- 18. print */

@media print {
  .spine, .num, .topbar__nav, .form, .skip { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .sec { padding-block: 24pt; display: block; }
  .hangs { margin-left: 0; }
  .h2, .hero__h { font-size: 24pt; }
}
