/* ─── Sky Hi Consulting — design system ──────────────────────────────
   monospace, IDE-inspired, deep dark, one signal color
   ─────────────────────────────────────────────────────────────────── */

:root {
  /* surfaces */
  --bg:        #08090c;
  --bg-1:      #0c0e13;
  --bg-2:      #11141b;
  --bg-3:      #171b24;
  --bg-4:      #1d2230;

  /* borders */
  --line:      #1c2030;
  --line-2:    #262b3a;
  --line-3:    #353b4e;

  /* text */
  --text:      #e6e8ee;
  --text-2:    #a0a6b3;
  --text-3:    #6b7280;
  --text-4:    #424857;

  /* signal */
  --sig:       #5cf2ff;
  --sig-glow:  rgba(92, 242, 255, 0.18);
  --sig-deep:  rgba(92, 242, 255, 0.08);
  --sig-text:  #b8f7ff;

  /* syntax */
  --syn-str:   #a5e9a5;
  --syn-num:   #ffd281;
  --syn-kw:    #5cf2ff;
  --syn-fn:    #d4b8ff;
  --syn-prop:  #ffbfa0;
  --syn-ok:    #7be39a;
  --syn-dim:   #4d5466;

  /* type */
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --fs-base:   15px;
  --lh-base:   1.55;

  /* layout */
  --maxw:      1320px;
  --gutter:    clamp(20px, 4vw, 64px);
  --rhythm:    clamp(80px, 12vh, 160px);

  /* radii */
  --r-1: 4px;
  --r-2: 8px;
  --r-3: 12px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

html {
  background: var(--bg);
  color-scheme: dark;
}

body {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--sig-deep), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg) 80%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  font-weight: 400;
  font-feature-settings: 'liga' 0, 'calt' 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  min-height: 100vh;
  overflow-x: hidden;
}

/* subtle grid background — sits under everything, very low contrast */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 30%, #000 30%, transparent 100%);
}

/* every section sits above the grid */
header, section, footer { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

::selection { background: var(--sig); color: var(--bg); }

/* ── shared atoms ─────────────────────────────────────────────────── */

.sig      { color: var(--sig); }
.sig-soft { color: var(--sig-text); border-bottom: 1px dashed rgba(92,242,255,0.4); padding-bottom: 1px; }

.c-dim  { color: var(--syn-dim); }
.c-kw   { color: var(--syn-kw); }
.c-str  { color: var(--syn-str); }
.c-num  { color: var(--syn-num); }
.c-fn   { color: var(--syn-fn); }
.c-prop { color: var(--syn-prop); }
.c-ok   { color: var(--syn-ok); }

.dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-3);
  vertical-align: middle;
}
.dot--ok {
  background: var(--syn-ok);
  box-shadow: 0 0 8px rgba(123, 227, 154, 0.6);
}

.caret {
  display: inline-block;
  color: var(--sig);
  animation: caretBlink 1.05s steps(2, end) infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }

/* ── topbar ───────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 var(--gutter);
  height: 44px;
  background: rgba(8, 9, 12, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: 0.01em;
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  white-space: nowrap;
}
.topbar__cursor {
  color: var(--sig);
  font-size: 13px;
  line-height: 1;
  animation: caretBlink 1.05s steps(2, end) infinite;
  margin-right: 2px;
}
.topbar__tld { color: var(--text-3); }

.topbar__tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.topbar__tabs::-webkit-scrollbar { display: none; }

.tab {
  padding: 6px 10px;
  color: var(--text-3);
  border-radius: var(--r-1);
  transition: color 120ms, background 120ms;
  white-space: nowrap;
}
.tab:hover {
  color: var(--text);
  background: var(--bg-3);
}
.tab--active {
  color: var(--text);
  background: var(--bg-3);
  box-shadow: inset 0 -1px 0 var(--sig);
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  white-space: nowrap;
}
.topbar__sep { color: var(--text-4); }

/* ── hero ─────────────────────────────────────────────────────────── */

.hero {
  padding: clamp(48px, 10vh, 96px) var(--gutter) 0;
}

.hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 32px;
  background: rgba(255,255,255,0.02);
}
.kicker__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sig);
  box-shadow: 0 0 8px var(--sig);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__h1 {
  font-family: var(--font-mono);
  font-size: clamp(36px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0 0 28px;
  text-wrap: balance;
}

.hero__lede {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 56ch;
  margin: 0 0 36px;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  background: var(--bg-3);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform 120ms, background 120ms, border-color 120ms, color 120ms;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  background: var(--bg-4);
  border-color: var(--line-3);
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--sig);
  color: var(--bg);
  border-color: var(--sig);
  box-shadow: 0 0 0 1px var(--sig-glow), 0 12px 32px -12px var(--sig-glow);
}
.btn--primary:hover {
  background: #8ff6ff;
  border-color: #8ff6ff;
}
.btn--ghost {
  background: transparent;
}
.btn--big { padding: 14px 22px; font-size: 15px; }
.btn__prompt { opacity: 0.6; }
.btn__caret {
  font-size: 14px;
  line-height: 1;
  animation: caretBlink 1.05s steps(2, end) infinite;
}
.btn--primary .btn__caret { color: var(--bg); }

.hero__creds {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 28px;
  border-top: 1px dashed var(--line-2);
}
.hero__creds li { display: flex; flex-direction: column; gap: 4px; }
.creds__n {
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
}
.creds__l {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.4;
}

/* ── terminal ─────────────────────────────────────────────────────── */

.terminal {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-3);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    rgba(40, 46, 60, 0.45);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.10) inset,
    0 30px 60px -30px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
}

.terminal--hero {
  align-self: stretch;
}

.terminal__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: var(--text-2);
}
.dots { display: inline-flex; gap: 6px; }
.dots i {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg-4);
  display: inline-block;
}
.dots i:nth-child(1) { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }

.terminal__title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
}
.terminal__badge {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sig);
  background: var(--sig-deep);
  border: 1px solid rgba(92,242,255,0.25);
  padding: 2px 8px;
  border-radius: 999px;
}

.terminal__body {
  margin: 0;
  padding: 20px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  white-space: pre;
  overflow-x: auto;
}
.terminal__body .ln { color: var(--syn-dim); }

/* ── marquee ──────────────────────────────────────────────────────── */

.marquee {
  margin: clamp(64px, 8vh, 96px) calc(-1 * var(--gutter)) 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
  overflow: hidden;
  position: relative;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-3);
  padding-left: 28px;
}
.marquee__track i { color: var(--sig); font-style: normal; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── sections ─────────────────────────────────────────────────────── */

.section {
  padding: var(--rhythm) var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.section--alt {
  max-width: none;
  margin: 0;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  background:
    linear-gradient(180deg, transparent 0, var(--bg-1) 40px, var(--bg-1) calc(100% - 40px), transparent 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section--narrow > .note { max-width: 720px; margin: 0 auto; }

.section__head {
  margin-bottom: clamp(40px, 6vh, 72px);
  max-width: 880px;
}
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.section__num {
  display: inline-block;
  font-size: 12px;
  color: var(--sig);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.section__h2 {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0 0 20px;
  text-wrap: balance;
}
.section__lede {
  font-size: clamp(14px, 1.05vw, 16px);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 64ch;
  margin: 0;
}

/* ── grids ────────────────────────────────────────────────────────── */

.grid {
  display: grid;
  gap: 18px;
}
.grid--3   { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--ai  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--arch { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--loc { gap: 18px; }

@media (max-width: 980px) {
  .grid--3, .grid--ai { grid-template-columns: 1fr; }
  .grid--arch         { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__inner        { grid-template-columns: 1fr; }
  .hero__creds        { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .grid--arch         { grid-template-columns: 1fr; }
  .topbar__tabs       { gap: 0; }
}

/* ── cards ────────────────────────────────────────────────────────── */

.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 160ms, transform 160ms;
}
.card:hover {
  border-color: var(--line-3);
  transform: translateY(-2px);
}
.card h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}
.card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 4px;
}
.card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--r-2);
  display: grid;
  place-items: center;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  color: var(--sig);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.card__sub {
  font-size: 12px;
  color: var(--text-3);
  margin: 2px 0 0;
}
.card__body {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
}
.card__bullets {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed var(--line-2);
  padding-top: 16px;
}
.card__bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-2);
}
.card__bullets li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--sig);
}

.card--lg { padding: 32px; }

.card__num {
  font-size: 12px;
  color: var(--sig);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.card__tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 4px;
}
.card--minimal {
  background: transparent;
  border-style: dashed;
}
.card--minimal:hover { background: var(--bg-1); }

/* ── capability strip ────────────────────────────────────────────── */

.capstrip {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg-1);
  overflow: hidden;
}
.capstrip__title {
  padding: 12px 20px;
  font-size: 12px;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.capstrip__grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.capstrip__grid li {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}
.capstrip__grid li:nth-child(4n) { border-right: 0; }
.capstrip__grid li:nth-last-child(-n+4) { border-bottom: 0; }
.cap__k {
  display: none;
}
.cap__v {
  font-size: 12px;
  color: var(--text-3);
}

@media (max-width: 900px) {
  .capstrip__grid { grid-template-columns: repeat(2, 1fr); }
  .capstrip__grid li { border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .capstrip__grid li:nth-child(2n) { border-right: 0; }
}

/* ── arsenal (file tree) ──────────────────────────────────────────── */

.arsenal {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg-1);
  overflow: hidden;
}
@media (max-width: 800px) {
  .arsenal { grid-template-columns: 1fr; }
}

.filetree {
  padding: 16px 12px;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}
.filetree__root {
  font-size: 12px;
  color: var(--text-2);
  padding: 6px 10px 12px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 6px;
}
.filetree__node {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  text-align: left;
  border-radius: var(--r-1);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 13px;
  transition: background 120ms, color 120ms;
}
.filetree__node:hover {
  background: var(--bg-3);
  color: var(--text);
}
.filetree__node--active {
  background: var(--bg-3);
  color: var(--text);
  box-shadow: inset 2px 0 0 var(--sig);
}
.filetree__caret {
  display: inline-block;
  width: 10px;
  color: var(--text-3);
  font-size: 10px;
  transition: transform 120ms;
}
.filetree__node--active .filetree__caret { color: var(--sig); }
.filetree__icon {
  font-size: 11px;
  color: var(--text-3);
  width: 24px;
  text-align: center;
}
.filetree__count {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-4);
}

.arsenal__panel {
  padding: 28px 32px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.arsenal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  background: var(--bg-2);
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: -0.005em;
}
.chip--sig {
  color: var(--sig);
  border-color: rgba(92,242,255,0.35);
  background: var(--sig-deep);
}

.arsenal__code {
  margin: 0;
  padding: 20px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: var(--text);
  white-space: pre;
  overflow-x: auto;
}

/* ── architecture ─────────────────────────────────────────────────── */

.ascii-flow {
  margin: 56px 0 0;
  padding: 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
  overflow-x: auto;
  white-space: pre;
  text-align: center;
}

/* ── partners quote block ─────────────────────────────────────────── */

.quote-block {
  position: relative;
  margin: 56px auto 0;
  max-width: 880px;
  padding: 40px 48px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--sig);
  border-radius: var(--r-2);
  background: var(--bg-1);
}
.quote-block__mark {
  position: absolute;
  top: -14px;
  left: 28px;
  font-size: 72px;
  line-height: 1;
  color: var(--sig);
  background: var(--bg-1);
  padding: 0 8px;
  font-weight: 700;
}
.quote-block blockquote {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--text);
  text-wrap: pretty;
}
.quote-block__attr {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-3);
}

/* ── careers listing ──────────────────────────────────────────────── */

.terminal--listing { max-width: 1080px; margin: 0 auto; }
.listing__head, .listing__foot {
  margin: 0;
  padding: 14px 22px;
  font-size: 13px;
  color: var(--text-2);
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
}
.listing__foot { border-top: 1px solid var(--line); border-bottom: 0; }

.listing { list-style: none; padding: 0; margin: 0; }
.role {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  transition: background 120ms;
}
.role:last-child { border-bottom: 0; }
.role:hover { background: var(--bg-2); }

.role__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.role__perm {
  font-size: 12px;
  color: var(--syn-dim);
  letter-spacing: 0.04em;
}
.role__title {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  flex: 1;
}
.role__loc {
  font-size: 12px;
  color: var(--syn-str);
}
.role__apply {
  font-size: 13px;
  color: var(--sig);
  padding: 4px 10px;
  border: 1px solid rgba(92,242,255,0.3);
  border-radius: var(--r-1);
  background: var(--sig-deep);
  transition: background 120ms;
}
.role__apply:hover { background: rgba(92,242,255,0.16); }

.role__pitch {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-2);
  padding-left: 60px;
  max-width: 80ch;
}
.role__reqs {
  list-style: none;
  padding: 0 0 0 60px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 12px;
  color: var(--text-3);
}
.role__reqs li::before { content: '· '; color: var(--text-4); }
.role__reqs em { font-style: normal; color: var(--sig); }

@media (max-width: 700px) {
  .role__head { flex-wrap: wrap; }
  .role__pitch, .role__reqs { padding-left: 0; }
}

/* ── phone note ───────────────────────────────────────────────────── */

.note {
  padding: 40px 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg-1);
}
.note__head {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--text-2);
}
.note h2 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.2;
}
.note p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0 0 12px;
  max-width: 64ch;
}
.note p:last-child { margin-bottom: 0; }

/* ── locations ────────────────────────────────────────────────────── */

.loc {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg-1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 160ms, transform 160ms;
}
.loc:hover { border-color: var(--line-3); transform: translateY(-2px); }
.loc__pin {
  display: inline-block;
  font-size: 12px;
  color: var(--sig);
  letter-spacing: 0.08em;
}
.loc h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}
.loc__addr {
  margin: 0;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
}
.loc__meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line-2);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-3);
}

/* ── contact ──────────────────────────────────────────────────────── */

.section--contact { max-width: 920px; }

.contact {
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--bg-1);
  padding: 32px;
  position: relative;
}

.contact__fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  transition: opacity 180ms;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field--full { grid-column: 1 / -1; }
.field__prompt {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.field input,
.field textarea {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: 12px 14px;
  outline: none;
  width: 100%;
  resize: vertical;
  transition: border-color 120ms, box-shadow 120ms;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-4); }
.field input:focus,
.field textarea:focus {
  border-color: var(--sig);
  box-shadow: 0 0 0 3px var(--sig-deep);
}

.contact__row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.contact__type {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.contact__lbl {
  font-size: 12px;
  color: var(--text-3);
  margin-right: 4px;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg-2);
  font-size: 12px;
  color: var(--text-2);
  cursor: pointer;
  transition: all 120ms;
}
.pill input { display: none; }
.pill:has(input:checked) {
  background: var(--sig-deep);
  border-color: rgba(92,242,255,0.45);
  color: var(--sig);
}

.contact__sent:not([hidden]) {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8,9,12,0.7);
  backdrop-filter: blur(4px);
  border-radius: var(--r-3);
}
.contact__sent pre {
  font-size: 14px;
  color: var(--text);
  background: var(--bg-1);
  border: 1px solid var(--sig);
  border-radius: var(--r-2);
  padding: 16px 22px;
  margin: 0;
  box-shadow: 0 0 0 4px var(--sig-deep);
}

@media (max-width: 680px) {
  .contact__fields { grid-template-columns: 1fr; }
  .contact { padding: 24px; }
}

/* ── statusbar footer ─────────────────────────────────────────────── */

.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px var(--gutter);
  height: 36px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--text-3);
  letter-spacing: 0.01em;
}
.statusbar__left,
.statusbar__center,
.statusbar__right {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.statusbar__sep { color: var(--text-4); }
.statusbar a { color: var(--text-2); }
.statusbar a:hover { color: var(--sig); }

@media (max-width: 700px) {
  .statusbar__center { display: none; }
}

/* ── FDE: man-page block ──────────────────────────────────────────── */

.manpage {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-3);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)),
    rgba(40, 46, 60, 0.45);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.10) inset,
    0 30px 60px -30px rgba(0,0,0,0.55);
  overflow: hidden;
  margin-bottom: 56px;
}
.manpage__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: var(--text-2);
}
.manpage__body {
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.manpage__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: baseline;
}
.manpage__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-3);
  text-transform: uppercase;
}
.manpage__content {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  max-width: 75ch;
}
.manpage__content--links a {
  color: var(--sig);
  border-bottom: 1px dashed rgba(92,242,255,0.4);
  padding-bottom: 1px;
  margin-right: 4px;
}
.manpage__content--links a:hover { background: var(--sig-deep); }

.inline-code {
  display: inline-block;
  padding: 6px 12px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow-x: auto;
  max-width: 100%;
}

@media (max-width: 740px) {
  .manpage__body { padding: 24px; }
  .manpage__row { grid-template-columns: 1fr; gap: 6px; }
  .inline-code { white-space: normal; }
}

.em-sig {
  font-style: normal;
  color: var(--sig);
  font-weight: 500;
}

/* sub-head used inside long sections */
.sub-head {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text-2);
  margin: 0 0 18px;
  padding-top: 16px;
}
.sub-head--tight { padding-top: 0; margin-bottom: 12px; }

/* two-column split for "why now" + "what we hire for" */
.split {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  padding-top: 40px;
  border-top: 1px dashed var(--line-2);
}
.split__col { display: flex; flex-direction: column; }
.split__copy {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0 0 14px;
  max-width: 56ch;
}
.split__copy:last-child { margin-bottom: 0; }

.skills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.skills li {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}
.skills li:last-child { border-bottom: 0; padding-bottom: 0; }
.skills__k {
  font-size: 12px;
  color: var(--sig);
  letter-spacing: 0.04em;
  text-transform: lowercase;
}
.skills__v {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .skills li { grid-template-columns: 1fr; gap: 4px; }
}

/* ── reduced motion ───────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .marquee__track,
  .caret,
  .topbar__cursor,
  .btn__caret,
  .kicker__dot {
    animation: none !important;
  }
}

/* ── popup modal ──────────────────────────────────────────────────── */

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}
.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 3, 5, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: modalFade 180ms ease-out;
}

.modal__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-3);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    rgba(45, 52, 68, 0.55);
  backdrop-filter: blur(28px) saturate(170%);
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.14) inset,
    0 0 0 1px rgba(92, 242, 255, 0.22),
    0 0 60px -10px var(--sig-glow),
    0 30px 80px -20px rgba(0,0,0,0.6);
  animation: modalRise 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 1;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
}
.modal__chrome .terminal__title {
  color: var(--text);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  flex: 1;
}
.modal__close {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-3);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 18px;
  line-height: 1;
  width: 28px;
  height: 28px;
  border-radius: var(--r-1);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 120ms;
}
.modal__close:hover {
  color: var(--sig);
  border-color: var(--sig);
  background: var(--sig-deep);
}

.modal__body {
  padding: 22px 24px 26px;
}
.modal__lede {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 13.5px;
  letter-spacing: 0.01em;
}

.contact--modal {
  border: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.contact--modal .field__prompt {
  color: var(--text-2);
}
.contact--modal .field input,
.contact--modal .field textarea {
  background: rgba(8, 9, 12, 0.55);
  border-color: var(--line-2);
}
.contact--modal .field input::placeholder,
.contact--modal .field textarea::placeholder {
  color: var(--text-3);
}
.contact--modal .pill {
  background: rgba(255,255,255,0.04);
  border-color: var(--line-3);
  color: var(--text);
}
.contact--modal .contact__lbl {
  color: var(--text-2);
}
.contact--modal .contact__sent,
.contact--modal .contact__error {
  border-radius: var(--r-2);
}

.contact__error:not([hidden]) {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8,9,12,0.7);
  backdrop-filter: blur(4px);
  border-radius: var(--r-3);
}
.contact__error pre {
  font-size: 14px;
  color: var(--text);
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  padding: 16px 22px;
  margin: 0;
}

@keyframes modalFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modalRise {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .modal__backdrop,
  .modal__panel { animation: none; }
}

@media (max-width: 680px) {
  .modal { padding: 12px; }
  .modal__body { padding: 18px; }
}
