/* ==========================================================================
   Erō Point Solutions
   Design system derived from the brand mark: black ground, white form,
   and the cyan/red chromatic split. The split is the signature — misregistration
   resolving into registration, which is what the firm does for its clients.
   Brand values sampled from the logo file:
     black #000000 · white #FFFFFF · cyan #37C8F7 · red #EE1C25
   Aberration offset measured in the mark: cyan -3.4, red +3.5 per 200 units.
   ========================================================================== */

:root {
  /* Brand */
  --void:     #000000;
  --panel:    #0A0E11;
  --panel-2:  #10161A;
  --line:     #1C242A;
  --line-lit: #2E3A42;
  --white:    #FFFFFF;
  --fog:      #A3B1BB;
  --fog-dim:  #6E7C86;
  --cyan:     #37C8F7;
  --red:      #EE1C25;

  /* Type */
  --logo:    'Michroma', 'Saira', 'Arial Black', sans-serif;
  --display: 'Saira', 'Helvetica Neue', Arial, sans-serif;
  --body:    'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Measure */
  --gutter: 2rem;
  --max:    1180px;
  --narrow: 720px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--void); }

body {
  margin: 0;
  background: var(--void);
  color: var(--fog);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.72;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--white); color: var(--void);
  padding: .75rem 1.25rem;
  font-family: var(--display); font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
}
.skip:focus { left: 0; }

/* --- Typography ----------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--white);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.9vw, 4.4rem); font-weight: 700; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); letter-spacing: -0.022em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -0.008em; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  color: var(--white);
  font-weight: 300;
}

em { font-style: normal; color: var(--cyan); }

/* Eyebrow marker echoes the mark's cyan/red offset */
.eyebrow {
  font-family: var(--display);
  font-size: .7rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 1.15rem;
  display: flex; align-items: center; gap: .8rem;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 6px; flex: none;
  background:
    linear-gradient(var(--cyan), var(--cyan)) left  top    / 22px 2px no-repeat,
    linear-gradient(var(--red),  var(--red))  right bottom / 22px 2px no-repeat;
}
.eyebrow--plain::before { display: none; }

.mono {
  font-family: var(--display);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--fog-dim);
}

/* --- Layout --------------------------------------------------------------- */

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

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(3rem, 5vw, 4.25rem); }
.section--deep  { background: var(--panel);   border-block: 1px solid var(--line); }
.section--ink   { background: var(--panel-2); border-block: 1px solid var(--line); }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* --- The mark ------------------------------------------------------------- */

.mark { width: 34px; flex: none; overflow: visible; }
.m-cy { fill: var(--cyan); }
.m-rd { fill: var(--red); }
.m-wh { fill: var(--white); }

.wordmark .m-cy, .wordmark .m-rd { transition: transform .35s cubic-bezier(.2,.7,.3,1); }
.wordmark:hover .m-cy { transform: translateX(-14px); }
.wordmark:hover .m-rd { transform: translateX(14px); }

/* --- Header --------------------------------------------------------------- */

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 76px;
}

.wordmark { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--white); }
.wordmark__text { display: block; line-height: 1; }
.wordmark__name {
  display: block;
  font-family: var(--logo);
  font-size: .8rem; letter-spacing: .02em;
  color: var(--white); white-space: nowrap;
}
.wordmark__sub {
  display: block;
  font-family: var(--display);
  font-size: .55rem; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--fog-dim); margin-top: .45rem;
}

.nav { display: flex; align-items: center; gap: .2rem; }
.nav a {
  font-family: var(--display);
  font-size: .8rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: var(--fog);
  padding: .55rem .8rem;
  transition: color .18s ease;
}
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--cyan); }

.nav__cta {
  margin-left: .7rem;
  background: var(--white) !important;
  color: var(--void) !important;
  padding: .68rem 1.15rem !important;
  box-shadow: none !important;
}
.nav__cta:hover { background: var(--cyan) !important; color: var(--void) !important; }

.nav__toggle {
  display: none;
  background: none; border: 1px solid var(--line-lit); color: var(--white);
  font-family: var(--display); font-size: .7rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: .6rem .85rem; cursor: pointer;
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--display);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  padding: .95rem 1.5rem;
  border: 1px solid var(--white);
  background: var(--white); color: var(--void);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--cyan); border-color: var(--cyan); color: var(--void); }
.btn svg { width: 13px; height: 13px; }

.btn--ghost { background: transparent; color: var(--white); border-color: var(--line-lit); }
.btn--ghost:hover { background: transparent; color: var(--cyan); border-color: var(--cyan); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

/* --- Hero ----------------------------------------------------------------- */

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.hero__title { margin-bottom: 1.6rem; }

.hero__coords {
  margin-top: 2.75rem; padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .4rem 2.5rem;
  font-family: var(--display);
  font-size: .67rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--fog-dim);
}

/* The layers arrive out of registration and converge into the logo */
.hero__figure { display: grid; place-items: center; }
.hero-mark { width: min(100%, 460px); overflow: visible; }
.hero-mark .m-cy, .hero-mark .m-rd, .hero-mark .m-wh { opacity: 0; }

@keyframes reg-cy {
  0%   { opacity: 0; transform: translateX(-58px); }
  20%  { opacity: 1; }
  100% { opacity: 1; transform: translateX(-3.4px); }
}
@keyframes reg-rd {
  0%   { opacity: 0; transform: translateX(58px); }
  20%  { opacity: 1; }
  100% { opacity: 1; transform: translateX(3.5px); }
}
@keyframes reg-wh { 0%, 28% { opacity: 0; } 100% { opacity: 1; } }

.hero-mark .m-cy { animation: reg-cy 1.5s cubic-bezier(.16,.84,.3,1) .15s forwards; }
.hero-mark .m-rd { animation: reg-rd 1.5s cubic-bezier(.16,.84,.3,1) .15s forwards; }
.hero-mark .m-wh { animation: reg-wh 1.2s ease .45s forwards; }

/* --- Legend band ---------------------------------------------------------- */

.legend { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); }
.legend__item { padding: 2.25rem 1.75rem 2.4rem 0; border-right: 1px solid var(--line); }
.legend__item:last-child { border-right: 0; padding-right: 0; }
.legend__item:not(:first-child) { padding-left: 1.75rem; }
.legend__sym { color: var(--cyan); margin-bottom: 1.15rem; }
.legend__sym svg { width: 30px; height: 30px; }
.legend__item h3 { margin-bottom: .55rem; font-size: 1.02rem; }
.legend__item p { font-size: .89rem; color: var(--fog); line-height: 1.62; }

/* --- Grids ---------------------------------------------------------------- */

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.75rem, 4vw, 3.5rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.5rem, 2.5vw, 2rem); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.split__aside { position: sticky; top: 105px; }

/* --- Services ------------------------------------------------------------- */

.service {
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.service:first-of-type { border-top: 0; }
.service__sym { color: var(--cyan); margin-bottom: 1.15rem; }
.service__sym svg { width: 32px; height: 32px; }
.service h3 { margin-bottom: .9rem; }
.service__index { font-family: var(--display); font-size: .7rem; letter-spacing: .18em; color: var(--cyan); margin-bottom: .8rem; }

.fit__label {
  font-family: var(--display); font-size: .62rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--fog-dim); margin-bottom: .6rem;
}
.fit {
  list-style: none; margin: 0; padding: .95rem 0 0;
  border-top: 1px solid var(--line);
  font-size: .84rem; line-height: 1.85; color: var(--fog);
}
.fit li { padding-left: 1.05rem; position: relative; }
.fit li::before { content: ''; position: absolute; left: 0; top: .85em; width: 6px; height: 1px; background: var(--cyan); }

.tags, .focus { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.5rem; list-style: none; padding: 0; }
.tags li, .focus li {
  font-family: var(--display); font-size: .65rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--fog); border: 1px solid var(--line);
  padding: .42rem .7rem;
}

.sectors { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.sectors li {
  font-family: var(--display); font-size: .83rem; font-weight: 500;
  border: 1px solid var(--line-lit); color: var(--white);
  padding: .6rem .95rem;
}

.deliverables { list-style: none; margin: 1.75rem 0 0; padding: 0; column-gap: 2.5rem; }
.deliverables li {
  font-size: .92rem; color: var(--fog);
  padding: .65rem 0 .65rem 1.6rem;
  border-top: 1px solid var(--line); position: relative;
}
.deliverables li::before { content: ''; position: absolute; left: 0; top: 1.3em; width: 9px; height: 1px; background: var(--cyan); }
@media (min-width: 721px) { .deliverables { columns: 2; } .deliverables li { break-inside: avoid; } }

/* --- Cards ---------------------------------------------------------------- */

.card {
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 1.9rem 1.7rem;
  transition: border-color .22s ease;
}
.card:hover { border-color: var(--line-lit); }
.card h3 { margin-bottom: .7rem; }
.card p { font-size: .91rem; color: var(--fog); }
.section--ink .card, .section--deep .card { background: var(--void); }

/* --- Cases & partners ----------------------------------------------------- */

.case, .partner {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 4.5vw, 3.75rem);
  display: grid;
  grid-template-columns: minmax(0, 290px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}
.case:first-of-type, .partner:first-of-type { border-top: 0; }

.case__meta { font-family: var(--display); font-size: .8rem; line-height: 1.75; margin: 0; }
.case__meta dt {
  font-size: .61rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan); margin-top: 1.1rem;
}
.case__meta dt:first-child { margin-top: 0; }
.case__meta dd { margin: 0; color: var(--fog); font-weight: 300; }
.case h3 { margin-bottom: .9rem; }

.outcomes { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.outcomes li { position: relative; padding-left: 1.7rem; margin-bottom: .8rem; font-size: .92rem; color: var(--fog); }
.outcomes li::before {
  content: ''; position: absolute; left: 0; top: .6em;
  width: 7px; height: 7px; border: 1px solid var(--cyan); transform: rotate(45deg);
}

.partner__id { position: sticky; top: 105px; }
.partner__name { margin-bottom: .4rem; }
.partner__role {
  font-family: var(--display); font-size: .65rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1.2rem;
}

.portrait {
  width: 104px; height: 104px;
  border: 1px solid var(--line-lit);
  background: var(--panel-2);
  display: grid; place-items: center;
  margin-bottom: 1.3rem; position: relative;
}
.portrait::before {
  content: ''; position: absolute; inset: -1px;
  border-left: 2px solid var(--cyan);
  border-right: 2px solid var(--red);
}
.portrait span { font-family: var(--logo); font-size: 1.1rem; color: var(--white); }

.creds {
  list-style: none; margin: 0; padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  font-size: .79rem; line-height: 1.7; color: var(--fog-dim);
}
.creds li { padding-left: 1rem; position: relative; margin-bottom: .45rem; }
.creds li::before { content: ''; position: absolute; left: 0; top: .82em; width: 5px; height: 1px; background: var(--line-lit); }

.track { list-style: none; margin: 1.8rem 0 0; padding: 0; }
.track li {
  display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 1.25rem;
  padding: .8rem 0; border-top: 1px solid var(--line);
  font-size: .91rem; color: var(--fog);
}
.track li span {
  font-family: var(--display); font-size: .65rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--fog-dim); padding-top: .38em;
}

/* --- Phases --------------------------------------------------------------- */

.phases { counter-reset: phase; list-style: none; margin: 2.5rem 0 0; padding: 0; }
.phases li { counter-increment: phase; position: relative; padding: 1.5rem 0 1.5rem 4.5rem; border-top: 1px solid var(--line); }
.phases li::before {
  content: counter(phase, decimal-leading-zero);
  position: absolute; left: 0; top: 1.6rem;
  font-family: var(--display); font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; color: var(--cyan);
}
.phases h4 { margin-bottom: .45rem; font-size: 1.05rem; }
.phases p { color: var(--fog); font-size: .92rem; margin: 0; }

/* --- Pull quote ----------------------------------------------------------- */

.pull { margin: 0; position: relative; padding-left: clamp(1.4rem, 3vw, 2.4rem); }
.pull::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
  background:
    linear-gradient(var(--cyan), var(--cyan)) left  top / 2px 100% no-repeat,
    linear-gradient(var(--red),  var(--red))  right top / 2px 100% no-repeat;
}
.pull p {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.28; letter-spacing: -0.018em;
  font-weight: 500; color: var(--white);
}
.pull footer {
  font-family: var(--display); font-size: .65rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--fog-dim); margin-top: 1.1rem;
}

/* --- Territory ------------------------------------------------------------ */

.territory { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.territory > div { background: var(--void); padding: 2rem 1.85rem; }
.territory h3 { margin-bottom: .35rem; }
.territory .mono { display: block; margin-bottom: 1rem; color: var(--cyan); }
.territory p { font-size: .91rem; color: var(--fog); margin: 0; }
.section--deep .territory > div, .section--ink .territory > div { background: var(--panel); }

/* --- Form ----------------------------------------------------------------- */

.form { display: grid; gap: 1.2rem; }
.field { display: grid; gap: .5rem; }
.field label {
  font-family: var(--display); font-size: .63rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--fog-dim);
}
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--white);
  background: var(--panel-2); border: 1px solid var(--line);
  padding: .85rem .95rem; width: 100%; border-radius: 0;
}
.field textarea { min-height: 155px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--fog-dim); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); outline: none; }
.field__hint { font-family: var(--display); font-size: .68rem; color: var(--fog-dim); }

.form__note {
  font-family: var(--display); font-size: .72rem; line-height: 1.75;
  color: var(--fog-dim); border-top: 1px solid var(--line); padding-top: 1.1rem;
}

.status {
  font-family: var(--display); font-size: .73rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .9rem 1.1rem;
  border: 1px solid var(--cyan); color: var(--cyan);
  background: rgba(55,200,247,.07);
}
.status[hidden] { display: none; }

/* --- Contact rail --------------------------------------------------------- */

.rail { margin: 0; padding: 0; }
.rail > div { border-top: 1px solid var(--line); padding: 1.2rem 0; }
.rail > div:first-child { border-top: 0; padding-top: 0; }
.rail dt {
  font-family: var(--display); font-size: .61rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--fog-dim); margin-bottom: .35rem;
}
.rail dd { margin: 0; color: var(--white); }
.rail a { color: var(--cyan); text-decoration: none; }
.rail a:hover { color: var(--white); }

/* --- CTA band: the mark returns as a ghost -------------------------------- */

.cta-band { position: relative; overflow: hidden; background: var(--void); border-top: 1px solid var(--line); }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { max-width: 18ch; margin-bottom: 1.15rem; }
.cta-ghost {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  width: min(46%, 440px); opacity: .085; pointer-events: none;
}

/* --- Footer --------------------------------------------------------------- */

.footer { background: var(--void); border-top: 1px solid var(--line); padding-block: clamp(3rem,5vw,4.25rem) 2rem; }
.footer__grid {
  display: grid; grid-template-columns: minmax(0,1.4fr) repeat(3, minmax(0,1fr));
  gap: 2.5rem; padding-bottom: 2.75rem; border-bottom: 1px solid var(--line);
}
.footer h4 {
  font-family: var(--display); font-size: .63rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1.1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .6rem; }
.footer a { color: var(--fog); text-decoration: none; font-size: .89rem; }
.footer a:hover { color: var(--white); }
.footer p { font-size: .89rem; color: var(--fog); max-width: 34ch; margin-top: 1.2rem; }
.footer__base {
  padding-top: 1.85rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-family: var(--display); font-size: .63rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--fog-dim);
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; }
  .hero-mark { width: min(72%, 320px); }
  .legend { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .legend__item { padding: 1.9rem 1.5rem 1.9rem 0 !important; border-bottom: 1px solid var(--line); }
  .legend__item:nth-child(2n) { border-right: 0; padding-right: 0 !important; padding-left: 1.5rem !important; }
  .legend__item:nth-child(2n+1) { padding-left: 0 !important; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split, .service, .case, .partner { grid-template-columns: 1fr; }
  .split__aside, .partner__id { position: static; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cta-ghost { right: -18%; width: 62%; opacity: .06; }
}

@media (max-width: 900px) {
  .masthead__inner { position: relative; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--void); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.35rem;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: .95rem .1rem; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 1rem 0 0; text-align: center; justify-content: center; }
  .nav__toggle { display: block; }
}

@media (max-width: 720px) {
  :root { --gutter: 1.35rem; }
  .masthead__inner { min-height: 66px; }
  .wordmark__name { font-size: .7rem; }
  .wordmark__sub { letter-spacing: .2em; }
  .mark { width: 30px; }
  .grid-2, .grid-3, .territory { grid-template-columns: 1fr; }
  .legend { grid-template-columns: 1fr; }
  .legend__item { padding: 1.6rem 0 !important; border-right: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .track li { grid-template-columns: 1fr; gap: .3rem; }
  .hero__coords { gap: .35rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
  .hero-mark .m-cy { opacity: 1; transform: translateX(-3.4px); }
  .hero-mark .m-rd { opacity: 1; transform: translateX(3.5px); }
  .hero-mark .m-wh { opacity: 1; }
}

/* --- Current focus panels ------------------------------------------------- */

.focus-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.focus-panel {
  background: var(--void);
  padding: clamp(1.9rem, 3vw, 2.6rem) clamp(1.6rem, 2.4vw, 2.2rem) clamp(2rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  position: relative;
}

/* cyan/red registration edge, echoing the mark */
.focus-panel::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background:
    linear-gradient(var(--cyan), var(--cyan)) left  top / 46% 2px no-repeat,
    linear-gradient(var(--red),  var(--red))  right top / 46% 2px no-repeat;
  opacity: .85;
}

.focus-panel__sym { color: var(--cyan); margin-bottom: 1.35rem; }
.focus-panel__sym svg { width: 40px; height: 40px; }

.focus-panel__tag {
  font-family: var(--display);
  font-size: .63rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--fog-dim);
  margin-bottom: .6rem;
}

.focus-panel h3 { margin-bottom: .95rem; font-size: clamp(1.25rem, 2vw, 1.55rem); }
.focus-panel p { font-size: .95rem; color: var(--fog); }

.focus-panel__link {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-top: auto; padding-top: 1.9rem;
  font-family: var(--display);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan); text-decoration: none;
  transition: color .18s ease, gap .18s ease;
}
.focus-panel__link:hover { color: var(--white); gap: .85rem; }
.focus-panel__link svg { width: 13px; height: 13px; }

@media (max-width: 900px) {
  .focus-pair { grid-template-columns: 1fr; }
}

/* Divider between current practices and supporting capabilities */
.section-break {
  font-family: var(--display);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--fog-dim);
  margin: clamp(3rem, 5vw, 4.25rem) 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-lit);
}

/* Feature services sit on a subtle panel so the two practices lead */
.service--feature { border-top: 0; }
.service--feature .service__index { color: var(--cyan); }

/* Inline text link */
.inline-link { color: var(--cyan); text-decoration: none; border-bottom: 1px solid rgba(55,200,247,.4); }
.inline-link:hover { color: var(--white); border-bottom-color: var(--white); }

/* Long addresses must wrap rather than push the page wide */
.footer a, .rail a, .rail dd { overflow-wrap: anywhere; }
.footer li { line-height: 1.5; }

/* --- Team page: strategic partner divider --------------------------------- */

.section-break--team {
  border-top: 1px solid var(--line-lit);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.35rem;
  display: flex;
  align-items: center;
  gap: .85rem;
}
/* registration marker, matching the eyebrow treatment */
.section-break--team::before {
  content: '';
  width: 26px; height: 6px; flex: none;
  background:
    linear-gradient(var(--cyan), var(--cyan)) left  top    / 22px 2px no-repeat,
    linear-gradient(var(--red),  var(--red))  right bottom / 22px 2px no-repeat;
}
/* the divider already separates, so the article below it shouldn't double the rule */
.section-break--team + .partner { border-top: 0; padding-top: clamp(1.75rem, 3vw, 2.5rem); }

/* --- Contact form explanation --------------------------------------------- */

.form-notice {
  border: 1px solid var(--line);
  border-left: 2px solid var(--cyan);
  background: var(--panel-2);
  padding: 1.5rem 1.6rem;
  margin-bottom: 2rem;
}
.form-notice__title {
  font-family: var(--display);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .85rem;
}
.form-notice p { font-size: .93rem; color: var(--fog); margin-bottom: .85rem; }
.form-notice p:last-child { margin-bottom: 0; }
.form-notice strong { color: var(--white); font-weight: 500; }
.form-notice__alt {
  border-top: 1px solid var(--line);
  padding-top: .95rem;
  font-size: .88rem !important;
}
.form-notice__alt a { color: var(--cyan); text-decoration: none; overflow-wrap: anywhere; }
.form-notice__alt a:hover { color: var(--white); }

/* ==========================================================================
   Mobile refinements
   Phone screens are held further from the eye at a steeper angle than a
   monitor, so the small letterspaced display labels that read as precise on
   desktop become genuinely hard work at 9–10px. These bump the micro-type and
   open up tap targets to the 44px minimum without altering the desktop design.
   ========================================================================== */

@media (max-width: 720px) {

  /* --- Micro-label legibility ------------------------------------------- */

  .wordmark__sub                { font-size: .68rem; letter-spacing: .16em; }
  .eyebrow                      { font-size: .74rem; letter-spacing: .18em; }
  .mono                         { font-size: .76rem; }
  .hero__coords                 { font-size: .74rem; letter-spacing: .14em; }
  .fit__label,
  .focus-panel__tag,
  .service__index,
  .partner__role,
  .case__meta dt,
  .rail dt,
  .field label,
  .form-notice__title,
  .footer h4                    { font-size: .74rem; letter-spacing: .16em; }
  .creds                        { font-size: .84rem; }
  .case__meta                   { font-size: .86rem; }
  .field__hint                  { font-size: .78rem; }
  .form__note                   { font-size: .8rem; }
  .pull footer,
  .section-break,
  .section-break--team          { font-size: .74rem; letter-spacing: .16em; }
  .footer__base                 { font-size: .72rem; letter-spacing: .14em; }
  .tags li, .focus li           { font-size: .74rem; }
  .track li span                { font-size: .74rem; letter-spacing: .14em; }
  .btn                          { font-size: .84rem; }
  .nav a                        { font-size: .95rem; letter-spacing: .08em; }

  /* --- Tap targets ------------------------------------------------------- */

  /* header controls need a real 44px hit area */
  .wordmark      { min-height: 44px; align-items: center; }
  .nav__toggle   { min-height: 44px; padding: .8rem 1rem; }

  /* footer link lists are navigation, not prose — give each its own row */
  .footer li     { margin-bottom: 0; }
  .footer li a   {
    display: block;
    padding: .7rem 0;
    min-height: 44px;
    line-height: 1.7;
    font-size: .95rem;
  }

  /* contact rail links */
  .rail dd a     { display: inline-block; padding: .55rem 0; min-height: 44px; }

  /* the small-caps label inside the procurement note */
  .split__aside .mono strong { font-size: .74rem !important; letter-spacing: .16em; }

  /* form controls sit comfortably under a thumb */
  .field input,
  .field select  { min-height: 48px; }
  .btn           { min-height: 48px; }
}

/* Small caps sub-heading inside aside notes */
.micro-head {
  display: block;
  font-family: var(--display);
  font-size: .66rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .55rem;
}
@media (max-width: 720px) { .micro-head { font-size: .74rem; } }

/* Visually hidden, still read by screen readers and parsed by crawlers */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
