/* Self-hosted latin subsets: Spanish-ready and zero third-party requests. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  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: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
  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: "Space Grotesk";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
  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;
}

:root {
  --stage-bg: #07080a;
  --rest-bg: #050607;
  --obsidian: #111215;
  --obsidian-soft: #141517;
  --graphite: #1f2227;
  --vermilion: #ff4426;
  --vermilion-hover: #ff5b40;
  --vermilion-deep: #c92e15;
  --titanium: #e6e9ee;
  --titanium-muted: #a0a6b0;
  --titanium-dim: #7d848f;
  --line: rgba(230, 233, 238, 0.13);
  --line-strong: rgba(230, 233, 238, 0.23);
  --surface: rgba(20, 21, 23, 0.78);
  --font-display: "Space Grotesk", "Arial", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out-quint: cubic-bezier(0.83, 0, 0.17, 1);
  --page-gutter: clamp(1.25rem, 5vw, 2rem);
  --content-width: 31rem;
  --header-height: 4.5rem;
  color-scheme: dark;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

html {
  min-width: 20rem;
  min-height: 100%;
  background: var(--rest-bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: transparent;
  color: var(--titanium);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
}

body.is-booting {
  overflow: hidden;
  touch-action: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

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

svg {
  display: block;
}

::selection {
  background: var(--vermilion);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: max(0.75rem, env(safe-area-inset-top));
  left: 1rem;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  background: var(--titanium);
  color: var(--rest-bg);
  font: 600 0.8125rem/1 var(--font-body);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

/* The physical surface. Canvas is rendered only when something changes. */
.surface-canvas {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: var(--rest-bg);
}

.surface-vignette,
.surface-grain {
  position: fixed;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.surface-vignette {
  background:
    linear-gradient(180deg, rgba(5, 6, 7, 0.1) 0%, rgba(5, 6, 7, 0) 25%, rgba(5, 6, 7, 0.32) 100%),
    radial-gradient(ellipse at 50% 35%, transparent 35%, rgba(5, 6, 7, 0.42) 115%);
}

.surface-grain {
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ---------- Boot sequence ---------- */
.boot {
  position: fixed;
  z-index: 100;
  inset: 0;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  visibility: visible;
  transition: visibility 0s linear 700ms;
}

.boot.is-complete {
  visibility: hidden;
  pointer-events: none;
}

.boot__contact-wave {
  position: absolute;
  top: max(-19rem, -46vw);
  left: 50%;
  width: min(52rem, 140vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 68, 38, 0);
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-50%) scale(0.05);
  will-change: transform, opacity, border-color;
}

.boot__contact-wave::before,
.boot__contact-wave::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(230, 233, 238, 0.28);
  border-radius: inherit;
  inset: 9%;
}

.boot__contact-wave::after {
  inset: 21%;
  border-color: rgba(255, 68, 38, 0.3);
}

.boot__sensor {
  position: absolute;
  top: max(0.65rem, env(safe-area-inset-top));
  left: 50%;
  width: 5.5rem;
  height: 0.25rem;
  transform: translateX(-50%);
  border-radius: 1rem;
  background: var(--vermilion);
  box-shadow: 0 0 1.75rem rgba(255, 68, 38, 0.8);
  opacity: 0;
}

.boot__guides {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(27rem, 94vw);
  aspect-ratio: 85 / 74;
  overflow: visible;
  opacity: 0;
  transform: translate(-50%, -58%);
  pointer-events: none;
}

.boot__guides line {
  stroke: rgba(230, 233, 238, 0.21);
  stroke-width: 0.45;
  stroke-dasharray: 2 3;
  vector-effect: non-scaling-stroke;
}

.boot__mark-wrap {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 7.25rem;
  transform: translate(-50%, -62%);
  transform-origin: center;
  will-change: transform, left, top, width;
}

.boot__mark {
  width: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 0 rgba(255, 68, 38, 0));
}

.boot__mark .mark-r,
.boot__mark .mark-t {
  fill: var(--vermilion);
  fill-opacity: 0;
  stroke: var(--vermilion);
  stroke-width: 0.7;
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
  will-change: transform;
}

.boot__mark .mark-r {
  fill-rule: evenodd;
}

.boot__sheen {
  position: absolute;
  inset: -35%;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-80%) rotate(45deg);
}

.boot__sheen::after {
  content: "";
  position: absolute;
  top: -25%;
  bottom: -25%;
  left: 42%;
  width: 16%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  filter: blur(2px);
}

.boot__identity {
  position: absolute;
  z-index: 2;
  top: calc(50% + 5.1rem);
  left: 50%;
  width: min(25rem, 88vw);
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.boot__wordmark {
  margin: 0;
  overflow: hidden;
  color: var(--titanium);
  font: 600 clamp(1.35rem, 6.2vw, 1.85rem)/1.1 var(--font-display);
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  white-space: nowrap;
  opacity: 0;
  clip-path: inset(0 50% 0 50%);
  will-change: clip-path, letter-spacing, opacity;
}

.boot__telemetry {
  min-height: 1.25rem;
  margin: 0.85rem 0 0;
  color: var(--titanium-muted);
  font: 400 0.625rem/1.4 var(--font-mono);
  letter-spacing: 0.17em;
  white-space: nowrap;
  opacity: 0;
}

.boot__telemetry .is-pending {
  opacity: 0.25;
}

.boot__status {
  position: absolute;
  right: var(--page-gutter);
  bottom: max(1.5rem, calc(env(safe-area-inset-bottom) + 0.75rem));
  left: var(--page-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--titanium-dim);
  font: 400 0.59rem/1.4 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 300ms ease;
}

.boot__status.is-visible {
  opacity: 1;
}

.boot__skip {
  min-width: 4.75rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.8rem;
  background: transparent;
  color: var(--titanium-muted);
  font: 500 0.625rem/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.boot__progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  transform-origin: left;
  background: var(--vermilion);
  opacity: 0.65;
}

/* ---------- Landing shell ---------- */
.site-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  opacity: 0;
}

.site-shell.is-ready {
  opacity: 1;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--header-height) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--page-gutter) 0;
  border-bottom: 1px solid transparent;
  opacity: 0;
  transform: translateY(-0.5rem);
  transition:
    opacity 500ms var(--ease-out-quint),
    transform 500ms var(--ease-out-quint),
    background-color 250ms ease,
    border-color 250ms ease;
}

.site-shell.is-ready .site-header {
  opacity: 1;
  transform: translateY(0);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(7, 8, 10, 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  gap: 0.7rem;
  border-radius: 2px;
}

.brand-lockup__mark {
  width: 1.9rem;
  height: 1.7rem;
  flex: 0 0 auto;
}

.brand-lockup__mark path {
  fill: var(--vermilion);
}

.brand-lockup__name {
  color: var(--titanium);
  font: 600 0.82rem/1 var(--font-display);
  letter-spacing: 0.17em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.origin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  gap: 0.45rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  background: rgba(20, 21, 23, 0.58);
  color: var(--titanium-muted);
  font: 500 0.56rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-transform: uppercase;
}

.origin-badge__dot {
  position: relative;
  width: 0.32rem;
  height: 0.32rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--vermilion);
  box-shadow: 0 0 0.55rem rgba(255, 68, 38, 0.45);
}

.origin-badge__dot::after {
  content: "";
  position: absolute;
  inset: -0.22rem;
  border: 1px solid rgba(255, 68, 38, 0.4);
  border-radius: 50%;
  animation: badge-pulse 2.8s var(--ease-out-quint) 1.2s 3;
}

@keyframes badge-pulse {
  0% { opacity: 0.8; transform: scale(0.55); }
  65%, 100% { opacity: 0; transform: scale(1.5); }
}

.sound-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: transparent;
  color: var(--titanium-muted);
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.sound-toggle:hover {
  background: rgba(230, 233, 238, 0.05);
  color: var(--titanium);
}

.sound-toggle svg {
  width: 1.1rem;
  height: 1.1rem;
}

.sound-toggle .sound-on,
.sound-toggle[aria-pressed="true"] .sound-off {
  display: none;
}

.sound-toggle[aria-pressed="true"] .sound-on {
  display: block;
  color: var(--vermilion);
}

.page {
  width: 100%;
  max-width: calc(var(--content-width) + (var(--page-gutter) * 2));
  min-height: 100svh;
  margin: 0 auto;
  padding:
    calc(var(--header-height) + env(safe-area-inset-top) + clamp(2rem, 8svh, 4.75rem))
    var(--page-gutter)
    max(1.25rem, env(safe-area-inset-bottom));
}

.hero {
  position: relative;
}

.hero__accent {
  width: 1.5rem;
  height: 2px;
  margin-bottom: 1.35rem;
  transform-origin: left;
  background: var(--vermilion);
  box-shadow: 0 0 1rem rgba(255, 68, 38, 0.28);
}

.hero__eyebrow {
  margin: 0 0 0.7rem;
  color: var(--titanium-muted);
  font: 500 0.625rem/1.4 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  color: var(--titanium);
  font: 600 clamp(2.55rem, 11.5vw, 3.7rem)/0.99 var(--font-display);
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.hero__role {
  margin: 1rem 0 0;
  color: #c4c9d1;
  font: 400 clamp(0.96rem, 3.8vw, 1.06rem)/1.55 var(--font-body);
  letter-spacing: -0.008em;
}

.hero__discipline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.35rem 0 0;
  color: var(--titanium-muted);
  font: 500 0.61rem/1.4 var(--font-mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero__discipline::before {
  content: "";
  width: 0.25rem;
  height: 0.25rem;
  flex: 0 0 auto;
  background: var(--vermilion);
}

.hero__value {
  max-width: 31rem;
  margin: 1.65rem 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  color: #d5d9df;
  font: 400 clamp(1.03rem, 4.2vw, 1.17rem)/1.62 var(--font-body);
  letter-spacing: -0.014em;
  text-wrap: pretty;
}

.hero__value strong {
  color: var(--titanium);
  font-weight: 500;
}

/* Conversion controls live in the natural thumb zone. */
.action-deck {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: clamp(1.8rem, 5svh, 2.75rem);
}

.action {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 3.5rem;
  border-radius: 2px;
  cursor: pointer;
  isolation: isolate;
  transition:
    transform 180ms var(--ease-out-quint),
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.action:active {
  transform: scale(0.985);
}

.action--primary {
  grid-column: 1 / -1;
  justify-content: space-between;
  min-height: 4rem;
  gap: 1rem;
  padding: 0.9rem 1rem 0.9rem 1.2rem;
  overflow: hidden;
  background: var(--vermilion);
  color: #fff;
  box-shadow: 0 0.65rem 2.25rem rgba(255, 68, 38, 0.15);
  font: 600 0.96rem/1.2 var(--font-display);
  letter-spacing: -0.01em;
  text-align: left;
}

.action--primary::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.2) 49%, transparent 67%);
  transform: translateX(-115%);
  transition: transform 700ms var(--ease-out-quint);
}

.action--primary:hover {
  background: var(--vermilion-hover);
  box-shadow: 0 0.8rem 2.75rem rgba(255, 68, 38, 0.23);
}

.action--primary:hover::before {
  transform: translateX(115%);
}

.action__label {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.22rem;
}

.action__label small {
  color: rgba(255, 255, 255, 0.79);
  font: 500 0.57rem/1.2 var(--font-mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.action__icon {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.07);
}

.action__icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.action--secondary {
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--titanium);
  font: 500 0.84rem/1.2 var(--font-body);
  text-align: left;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.action--secondary:hover {
  border-color: rgba(230, 233, 238, 0.36);
  background: rgba(31, 34, 39, 0.88);
}

.action--secondary .action__icon {
  width: 2rem;
  height: 2rem;
  border-color: var(--line);
  background: rgba(230, 233, 238, 0.035);
  color: var(--titanium-muted);
}

.action--secondary .action__icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

.action__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.16rem;
}

.action__copy small {
  color: var(--titanium-dim);
  font: 400 0.56rem/1.35 var(--font-mono);
  letter-spacing: 0.015em;
}

.action__index--corner {
  position: absolute;
  top: 0.38rem;
  right: 0.43rem;
  color: var(--titanium-dim);
  font-size: 0.48rem;
  opacity: 0.78;
}

.action--email .action__copy small {
  font-size: clamp(0.49rem, 2.15vw, 0.56rem);
  letter-spacing: 0;
}

.action--wide {
  grid-column: 1 / -1;
  justify-content: space-between;
  min-height: 3.65rem;
  padding-right: 1.1rem;
  padding-left: 1.1rem;
}

.action--wide .action__main {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.75rem;
}

.action--wide .action__index {
  color: var(--vermilion);
  font: 500 0.58rem/1 var(--font-mono);
  letter-spacing: 0.05em;
}

.action__arrow {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: var(--titanium-muted);
  transition: transform 200ms var(--ease-out-quint), color 200ms ease;
}

.action--wide:hover .action__arrow {
  color: var(--vermilion);
  transform: translate(0.18rem, -0.18rem);
}

.direct-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.15rem 0 0;
  color: var(--titanium-muted);
  font: 400 0.67rem/1.55 var(--font-mono);
  letter-spacing: 0.025em;
}

.direct-note svg {
  width: 0.8rem;
  height: 0.8rem;
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: var(--titanium-muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.25rem, 8svh, 4.5rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--titanium-dim);
  font: 400 0.57rem/1.5 var(--font-mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-footer__location {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.site-footer__location::before {
  content: "";
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 50%;
  background: #78a88a;
  box-shadow: 0 0 0.4rem rgba(120, 168, 138, 0.35);
}

.site-footer time {
  color: var(--titanium-muted);
  font-variant-numeric: tabular-nums;
}

/* Entrance is applied to individual elements so the composition settles,
   rather than moving as one generic card. */
.reveal {
  opacity: 0;
  transform: translateY(0.85rem);
}

.site-shell.is-animated .reveal {
  animation: element-in 720ms var(--ease-out-expo) forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes element-in {
  to { opacity: 1; transform: translateY(0); }
}

.site-shell.is-animated .hero__accent {
  animation: rule-in 700ms var(--ease-out-expo) 80ms both;
}

@keyframes rule-in {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

/* Toast: above browser chrome, inside the thumb-safe area. */
.toast-region {
  position: fixed;
  z-index: 150;
  right: var(--page-gutter);
  bottom: max(1.25rem, calc(env(safe-area-inset-bottom) + 0.75rem));
  left: var(--page-gutter);
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  width: min(100%, 27rem);
  min-height: 3.4rem;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line-strong);
  background: rgba(25, 27, 31, 0.96);
  color: var(--titanium);
  box-shadow: 0 1rem 3.5rem rgba(0, 0, 0, 0.42);
  font: 400 0.79rem/1.45 var(--font-body);
  opacity: 0;
  transform: translateY(0.8rem);
  transition:
    opacity 240ms ease,
    transform 360ms var(--ease-out-expo);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast__mark {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 68, 38, 0.45);
  color: var(--vermilion);
}

.toast__mark svg {
  width: 0.8rem;
  height: 0.8rem;
}

.toast__action {
  min-height: 2.75rem;
  margin: -0.45rem -0.45rem -0.45rem 0;
  padding: 0.5rem 0.65rem;
  background: transparent;
  color: var(--titanium);
  font: 500 0.68rem/1 var(--font-mono);
  text-transform: uppercase;
  cursor: pointer;
  pointer-events: auto;
}

/* Short landscape screens: preserve access to actions without vertical squeeze. */
@media (max-height: 42rem) and (orientation: portrait) {
  .page {
    padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 1.5rem);
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .hero__value {
    margin-top: 1.2rem;
    padding-top: 1rem;
  }

  .action-deck {
    margin-top: 1.35rem;
  }

  .site-footer {
    margin-top: 1.75rem;
  }
}

@media (orientation: landscape) and (max-height: 34rem) {
  .page {
    max-width: 58rem;
    padding-top: calc(var(--header-height) + env(safe-area-inset-top) + 1.4rem);
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.85fr);
    column-gap: 2.5rem;
  }

  .hero__accent,
  .hero__eyebrow,
  h1,
  .hero__role,
  .hero__discipline {
    grid-column: 1;
  }

  .hero__accent {
    margin-bottom: 0.85rem;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero__role {
    margin-top: 0.65rem;
  }

  .hero__discipline {
    margin-top: 0.8rem;
  }

  .hero__value {
    grid-column: 2;
    grid-row: 1 / span 5;
    align-self: end;
    margin-top: 0;
  }

  .action-deck {
    grid-column: 1 / -1;
    grid-template-columns: 1.25fr 1fr 1fr;
    margin-top: 1.3rem;
  }

  .action--primary,
  .action--wide {
    grid-column: auto;
  }

  .action--primary {
    grid-row: 1;
  }

  .action--wide {
    grid-column: 1 / -1;
  }

  .direct-note,
  .site-footer {
    grid-column: 1 / -1;
  }

  .site-footer {
    margin-top: 1.5rem;
  }
}

@media (min-width: 42rem) {
  .page {
    padding-top: calc(var(--header-height) + clamp(4rem, 12svh, 7rem));
  }

  .action-deck {
    gap: 0.75rem;
  }

  .action--primary {
    min-height: 4.35rem;
  }

  .site-footer {
    margin-top: 5.5rem;
  }
}

@media (min-width: 64rem) {
  :root {
    --content-width: 58rem;
    --page-gutter: 2.5rem;
  }

  .site-header {
    padding-right: max(var(--page-gutter), calc((100vw - 58rem) / 2));
    padding-left: max(var(--page-gutter), calc((100vw - 58rem) / 2));
  }

  .page {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
    column-gap: clamp(3rem, 7vw, 6rem);
    align-items: end;
    padding-top: calc(var(--header-height) + 5rem);
  }

  .hero {
    align-self: center;
    padding-bottom: 4rem;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(4rem, 6.5vw, 5.5rem);
  }

  .hero__value {
    max-width: 29rem;
    margin-top: 2rem;
  }

  .conversion-panel {
    align-self: center;
    padding: 1.5rem 0 4rem;
  }

  .action-deck {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .action--wide {
    grid-column: 1 / -1;
  }

  .site-footer {
    grid-column: 1 / -1;
    margin-top: 2rem;
  }

  .origin-badge {
    min-height: 2rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .origin-badge__dot::after {
    display: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --titanium-muted: #b9bec7;
    --titanium-dim: #a2a8b2;
    --line: rgba(230, 233, 238, 0.28);
    --line-strong: rgba(230, 233, 238, 0.42);
  }

  .action--secondary {
    background: #141517;
  }
}

/* Print a usable contact card rather than an empty black page. */
@media print {
  :root {
    --titanium: #111215;
    --titanium-muted: #3d4148;
    --titanium-dim: #4b5058;
  }

  .surface-canvas,
  .surface-vignette,
  .surface-grain,
  .boot,
  .site-header,
  .action-deck,
  .direct-note,
  .toast-region {
    display: none !important;
  }

  .site-shell,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .page {
    display: block;
    max-width: none;
    padding: 0;
  }

  .hero__value {
    border-color: #aaa;
  }

  .site-footer {
    margin-top: 2rem;
    border-color: #aaa;
  }
}