/* ================= Tokens ================= */
:root {
  --bg: #000000;
  --panel: #0b0b0b;
  --panel2: #131313;
  --line: #262626;
  --ink: #f4f4f4;
  --dim: #9a9a9a;
  --accent: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.07);
  --on-accent: #000000;
  --term: #35ff7a;
  --term-dim: rgba(53, 255, 122, 0.62);

  --display: "Space Grotesk", system-ui, sans-serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gutter: clamp(18px, 4vw, 40px);
}

html[data-theme="light"] {
  --bg: #ffffff;
  --panel: #ffffff;
  --panel2: #f2f2f2;
  --line: #dcdcdc;
  --ink: #0a0a0a;
  --dim: #5a5a5a;
  --accent: #0a0a0a;
  --accent-soft: rgba(0, 0, 0, 0.05);
  --on-accent: #ffffff;
  --term: #0a6b30;
  --term-dim: #14512c;
}

@media (max-width: 620px) {
  :root { --gutter: 16px; }
}

/* ================= Reset / base ================= */
* { box-sizing: border-box; }

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

html {
  background: var(--bg);
  scrollbar-width: none;
}
html::-webkit-scrollbar { display: none; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 26px;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }

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

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

h1, h2, h3, p { margin: 0; }

.page-wrap {
  overflow-x: clip;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.fullbleed {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
}

/* ================= Page transition ================= */
main {
  animation: pageIn 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.994);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* ================= Entrance animations ================= */
.rise-box { display: block; overflow: hidden; line-height: 1; }
.rise-box span {
  display: block;
  transform: translateY(112%);
  animation: rise 0.9s cubic-bezier(0.16, 0.9, 0.24, 1) forwards;
}
.rise-box:nth-of-type(1) span { animation-delay: 0s; }
.rise-box:nth-of-type(2) span { animation-delay: 0.08s; }
.rise-box:nth-of-type(3) span { animation-delay: 0.16s; }

@keyframes rise {
  to { transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.stagger > * { opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.stagger > *:nth-child(1) { animation-delay: 0s; }
.stagger > *:nth-child(2) { animation-delay: 0.06s; }
.stagger > *:nth-child(3) { animation-delay: 0.12s; }
.stagger > *:nth-child(4) { animation-delay: 0.18s; }
.stagger > *:nth-child(5) { animation-delay: 0.24s; }
.stagger > *:nth-child(6) { animation-delay: 0.3s; }

@supports (animation-timeline: view()) {
  .reveal {
    animation: fadeUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-timeline: view();
    animation-range: entry 4% cover 20%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    transition: none !important;
  }
  .rise-box span { transform: translateY(0); }
  .fade-up, .stagger > * { opacity: 1; transform: none; }
}

/* ================= Header ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .row {
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 14px;
  margin-right: auto;
}
.brand .sq {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.brand .name { color: var(--ink); }
.brand .tld { color: var(--dim); }

.desktop-nav {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-btn {
  font-family: var(--mono);
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 7px;
  color: var(--dim);
  overflow: hidden;
}
.nav-btn:hover, .nav-btn.active {
  background: var(--panel2);
  color: var(--ink);
}

.nav-label {
  position: relative;
  display: block;
  height: 1lh;
  overflow: hidden;
}
.nav-label span {
  display: block;
  transition: transform 0.38s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.nav-label span:first-child { }
.nav-label span:last-child {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(100%);
}
.nav-btn:hover .nav-label span {
  transform: translateY(-100%);
}

.theme-btn {
  font-family: var(--mono);
  font-size: 12px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--dim);
}
.theme-btn:hover { border-color: var(--ink); color: var(--ink); }

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  display: block;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 8px 16px 14px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  font-family: var(--mono);
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.active { color: var(--accent); }
.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  font-family: var(--mono);
  font-size: 15px;
  color: var(--dim);
}

@media (max-width: 620px) {
  .desktop-nav, .theme-btn { display: none; }
  .hamburger { display: flex; }
  .site-header .row { padding: 12px 16px; }
}

/* ================= Footer ================= */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--panel);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px clamp(24px, 4vw, 48px);
  padding: clamp(32px, 4vw, 52px) var(--gutter) 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p {
  font-size: 14px;
  line-height: 24px;
  color: var(--dim);
  max-width: 32ch;
}
.footer-heading {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11.5px;
  color: var(--dim);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
}
.footer-links a:hover { color: var(--accent); }

.wipe-link {
  position: relative;
  display: inline-block;
  width: fit-content;
}
.wipe-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.wipe-link:hover::after { transform: scaleX(1); }

.hello-email {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
  word-break: break-all;
  margin-bottom: 12px;
  display: block;
}
.available-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent);
  border: 1px solid var(--line);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: 999px;
}
.available-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dim);
}
.footer-bottom span { white-space: nowrap; }

/* ================= Buttons ================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 13.5px;
  padding: 11px 18px;
  border-radius: 9px;
  white-space: nowrap;
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover { filter: brightness(0.9); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { border-color: var(--ink); background: var(--panel2); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* ================= Hero (home) ================= */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(44px, 7vw, 92px) 0 clamp(36px, 4vw, 56px);
}
.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.hero p.lede {
  font-size: 16.5px;
  line-height: 28px;
  color: var(--dim);
  max-width: 52ch;
  margin-top: 24px;
}

.terminal {
  align-self: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 24px 60px -40px rgba(0, 0, 0, 0.7);
}
.terminal .titlebar {
  padding: 11px 14px;
  background: var(--panel2);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 6px;
}
.terminal .dot { width: 9px; height: 9px; border-radius: 50%; }
.terminal .dot.red { background: #ff5f57; }
.terminal .dot.yellow { background: #febc2e; }
.terminal .dot.green { background: #28c840; }
.terminal .titlebar .label {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dim);
  margin-left: 8px;
}
.terminal .body {
  padding: 18px 18px 22px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 24px;
  color: var(--term);
  overflow-x: auto;
  white-space: nowrap;
}
.terminal .dim { color: var(--term-dim); }
.terminal .indent { padding-left: 18px; display: block; }
.terminal .cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--term);
  vertical-align: -3px;
  animation: blink 1.1s steps(1, end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.terminal .stat-line { color: var(--term-dim); white-space: normal; }

/* ================= Marquee ================= */
.marquee-track {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.marquee-inner {
  width: max-content;
  display: flex;
}
.marquee-display {
  background: var(--ink);
  color: var(--bg);
  padding: 11px 0;
}
.marquee-display .marquee-inner { animation: marquee 26s linear infinite; }
.marquee-display span {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(18px, 2.4vw, 30px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-mono {
  background: var(--panel);
  padding: 10px 0;
}
.marquee-mono .marquee-inner { animation: marqueeRev 34s linear infinite; }
.marquee-mono span {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--dim);
  white-space: nowrap;
}
@keyframes marqueeRev {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ================= Stat tiles ================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  padding: clamp(28px, 4vw, 52px) 0 clamp(20px, 3vw, 32px);
}
.stat-tile {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: clamp(14px, 1.6vw, 20px);
  background: var(--panel);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.stat-tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.stat-tile .num {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.stat-tile .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 8px;
}

/* ================= Services ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  padding-bottom: clamp(28px, 4vw, 52px);
}
.service-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: clamp(16px, 1.8vw, 22px);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.25s ease;
}
.service-card:hover { border-color: var(--ink); }
.service-card .num { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.service-card h3 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(17px, 1.8vw, 21px);
}
.service-card p { font-size: 14.5px; line-height: 24px; color: var(--dim); }

/* ================= Section heading ================= */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(24px, 4vw, 44px);
  position: relative;
}
.section-head .all-link {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
}

/* ================= Project rows (home selected work) ================= */
.work-rows {
  display: grid;
  gap: 12px;
  padding-bottom: clamp(28px, 4vw, 52px);
}
.work-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(16px, 1.8vw, 22px);
  background: var(--panel);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  align-items: center;
}
.work-row:hover { border-color: var(--ink); background: var(--panel2); transform: translateY(-2px); }
.work-row .left { display: flex; align-items: center; gap: 14px; }
.work-row .numeral {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  -webkit-text-stroke: 1px var(--ink);
  color: transparent;
}
.work-row .meta .year { font-family: var(--mono); font-size: 11px; color: var(--dim); display: block; }
.work-row .meta .name { font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2vw, 23px); }
.work-row .blurb { font-size: 14.5px; line-height: 24px; color: var(--dim); max-width: 46ch; }
.work-row .right { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.work-row .stack { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.work-row .arrow {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--ink);
  opacity: 0.3;
  transform: translateX(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.work-row:hover .arrow { opacity: 1; transform: translateX(6px); }

/* ================= CTA block ================= */
.cta-block {
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: var(--ink);
  color: var(--bg);
  padding: clamp(22px, 4vw, 48px);
  overflow: hidden;
  position: relative;
  margin-bottom: clamp(28px, 4vw, 56px);
}
.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in srgb, var(--bg) 12%, transparent) 14px 15px);
  pointer-events: none;
}
.cta-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: end;
  gap: clamp(18px, 3vw, 40px);
  position: relative;
}
.cta-inner .kicker {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  opacity: 0.7;
}
.cta-inner h2 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(28px, 5.4vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-top: 8px;
}
.cta-right { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-right .email {
  font-family: var(--mono);
  font-size: clamp(13px, 1.5vw, 17px);
  word-break: break-all;
}
.cta-btn {
  font-family: var(--mono);
  font-size: 13.5px;
  padding: 12px 20px;
  border-radius: 9px;
  background: var(--bg);
  color: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.cta-btn:hover { transform: translateY(-1px); opacity: 0.85; }

/* ================= Breadcrumbs ================= */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--dim);
  padding-top: clamp(18px, 3vw, 28px);
}
.breadcrumbs a { color: var(--dim); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span[aria-current] { color: var(--ink); }

/* ================= Page headers (work/about/contact) ================= */
.page-header {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: end;
  gap: 24px;
  padding: clamp(24px, 4vw, 48px) 0 clamp(28px, 4vw, 40px);
}
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
}
.page-header h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  margin-top: 8px;
}
.page-header .lede {
  font-size: 15.5px;
  line-height: 26px;
  color: var(--dim);
}

/* ================= Work page cards ================= */
.project-cards {
  display: grid;
  gap: 12px;
  padding-bottom: clamp(40px, 6vw, 72px);
}
.project-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: var(--panel);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px 28px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.project-card:hover { border-color: var(--ink); background: var(--panel2); }
.project-card .tag-num { font-family: var(--mono); font-size: 11.5px; color: var(--accent); }
.project-card h3 { font-family: var(--display); font-weight: 500; font-size: 23px; margin-top: 6px; }
.project-card .role { font-family: var(--mono); font-size: 11.5px; color: var(--dim); margin-top: 4px; }
.project-card .blurb { font-size: 15px; line-height: 26px; color: var(--dim); max-width: 52ch; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  font-family: var(--mono);
  font-size: 11.5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 9px;
  color: var(--dim);
  white-space: nowrap;
}
.case-notes {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  margin-top: 14px;
  opacity: 0.3;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.project-card:hover .case-notes { opacity: 1; transform: translateY(0); }

/* ================= About page ================= */
.about-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 40px;
  padding-bottom: clamp(28px, 4vw, 56px);
}
.about-hero .lede { margin-top: 20px; font-size: 16px; line-height: 27px; color: var(--dim); max-width: 52ch; }
.image-frame {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-frame .placeholder {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(48px, 9vw, 96px);
  color: var(--line);
  letter-spacing: -0.03em;
}

.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 16px;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 9px; padding-bottom: clamp(28px, 4vw, 52px); }
.chip {
  font-family: var(--mono);
  font-size: 12.5px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  background: var(--panel);
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding-bottom: clamp(40px, 6vw, 72px);
}
.timeline-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 18px 20px;
  background: var(--panel);
}
.timeline-card .range { font-family: var(--mono); font-size: 11.5px; color: var(--accent); }
.timeline-card h4 { font-family: var(--display); font-weight: 500; font-size: 17px; margin-top: 8px; }
.timeline-card p { font-size: 14px; line-height: 22px; color: var(--dim); margin-top: 8px; }

/* ================= Contact page ================= */
.contact-hero { max-width: 760px; padding-bottom: clamp(28px, 4vw, 40px); }
.contact-hero h1 { font-size: clamp(34px, 5vw, 60px); margin-top: 8px; }
.contact-hero .lede { margin-top: 18px; font-size: 16.5px; line-height: 28px; color: var(--dim); max-width: 50ch; }

.action-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: clamp(28px, 4vw, 48px);
}
.action-row .email-text { font-family: var(--mono); font-size: 14px; color: var(--dim); }
.copy-btn { min-width: 148px; justify-content: center; }

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  padding-bottom: clamp(40px, 6vw, 72px);
}
.info-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 18px;
  background: var(--panel);
}
.info-card .title {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11.5px;
  color: var(--accent);
}
.info-card p { font-size: 14.5px; line-height: 24px; color: var(--dim); margin-top: 10px; }

/* ================= Section spacing rhythm ================= */
section { padding-top: clamp(0px, 0vw, 0px); }
