:root {
  --bg: #07111c;
  --bg-soft: #0d1827;
  --panel: rgba(12, 23, 37, 0.88);
  --panel-strong: #101f31;
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(125, 211, 252, 0.26);
  --line-bright: rgba(125, 211, 252, 0.42);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --accent: #7dd3fc;
  --accent-strong: #34d399;
  --accent-soft: rgba(125, 211, 252, 0.12);
  --accent-glow: rgba(125, 211, 252, 0.22);
  --success-soft: rgba(52, 211, 153, 0.16);
  --shadow: 0 24px 60px rgba(2, 8, 18, 0.35);
  --shadow-strong: 0 28px 80px rgba(2, 8, 18, 0.46);
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1180px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(52, 211, 153, 0.14), transparent 26%),
    linear-gradient(180deg, #07111c 0%, #091422 48%, #07111c 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
}

body::after {
  background:
    radial-gradient(circle at 20% 15%, rgba(125, 211, 252, 0.14), transparent 20%),
    radial-gradient(circle at 80% 30%, rgba(52, 211, 153, 0.1), transparent 18%);
  z-index: -3;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

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

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.section-shell {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(var(--container), calc(100% - 2rem));
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 28, 45, 0.86), rgba(10, 18, 29, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.35), transparent);
  opacity: 0.75;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-bright);
  box-shadow: var(--shadow-strong);
  background: linear-gradient(180deg, rgba(17, 32, 52, 0.92), rgba(10, 18, 29, 0.96));
}

.eyebrow,
.section-kicker,
.project-label,
.proof-label,
.highlight-tag,
.contact-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}



.section-heading {
  max-width: 780px;
  margin-bottom: 3rem;
}

.section-heading::after {
  content: "";
  display: block;
  width: 5.5rem;
  height: 1px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.section-heading h2,
.hero h1,
.contact-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.section-heading h2 {
  margin-top: 0.85rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.section-intro,
.hero-summary,
.profile-copy,
.project-impact,
.contact-copy p {
  color: var(--muted-strong);
  font-size: 1.02rem;
}

.section-intro {
  margin: 1.1rem 0 0;
  max-width: 60ch;
}

.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 1rem 0;
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
}

.navbar.is-scrolled {
  padding: 0.7rem 0;
  background: rgba(7, 17, 28, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.nav-shell {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-name {
  font-family: sans-serif;
  font-weight: 800;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  line-height: .95;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.hero-name .line {
  display: block;
}

.hero-name .accent-stroke {
  -webkit-text-stroke: 2px var(--accent);
  color: transparent;
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.16), rgba(52, 211, 153, 0.08));
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span {
  font-size: 0.78rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-link {
  color: var(--muted-strong);
  font-size: 0.92rem;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
}

.nav-resume,
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-resume,
.btn-secondary,
.btn-tertiary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #4ade80);
  border: 1px solid transparent;
  color: #03111d;
  box-shadow: 0 14px 32px rgba(88, 199, 250, 0.22);
}

.btn-secondary:hover,
.btn-tertiary:hover,
.nav-resume:hover {
  border-color: var(--line-strong);
  background: rgba(125, 211, 252, 0.08);
  transform: translateY(-1px);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(88, 199, 250, 0.28);
}

.btn-tertiary {
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  color: var(--muted-strong);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.35rem;
}

.nav-toggle span {
  width: 1.4rem;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 4.5rem;
  position: relative;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  filter: blur(20px);
}

.hero::before {
  top: 14%;
  left: 8%;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.18), transparent 68%);
}

.hero::after {
  right: 4%;
  bottom: 10%;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.12), transparent 70%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-name {
  font-family: sans-serif;
  margin-top: 1rem;
  font-size: clamp(4.2rem, 9vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  max-width: 8ch;
}

.hero-name span {
  display: block;
}

.hero-tagline {
  margin: 1.5rem 0 0;
  max-width: 19ch;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: rgba(248, 250, 252, 0.92);
}

.hero-summary {
  margin: 1.15rem 0 0;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.proof-card,
.metric-card {
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(12px);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease,
    box-shadow 0.24s ease;
}

.proof-card:hover,
.metric-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-bright);
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.09), rgba(255, 255, 255, 0.025));
  box-shadow: 0 18px 36px rgba(4, 12, 21, 0.34);
}

.proof-card strong {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.98rem;
  line-height: 1.45;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.profile-panel {
  padding: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(15, 28, 45, 0.9), rgba(10, 18, 29, 0.94));
}

.profile-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-image {
  width: 5.9rem;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1.3rem;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(3, 11, 20, 0.34);
}

.profile-name {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
}

.profile-role {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.profile-copy {
  margin: 1.3rem 0 0;
}

.signal-list,
.detail-list,
.compact-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted-strong);
}

.signal-list {
  margin-top: 1rem;
}

.signal-list li+li,
.detail-list li+li,
.compact-list li+li {
  margin-top: 0.65rem;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.3rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: var(--success-soft);
  color: #9af3cf;
  font-weight: 700;
  font-size: 0.92rem;
}

.availability-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(52, 211, 153, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 8.5rem;
}

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.metric-value-wide {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.metric-label {
  margin-top: 0.65rem;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.25rem;
}

.about-grid .card,
.skills-grid .card,
.project-case,
.highlight-card,
.contact-wrap {
  padding: 1.7rem;
}

.about-grid h3,
.skill-card h3,
.project-case h3,
.highlight-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.about-grid p {
  margin: 0.95rem 0 0;
  color: var(--muted-strong);
}

.about-stack {
  display: grid;
  gap: 1.25rem;
}

.fact-title,
.note-title {
  font-weight: 800;
  color: var(--text);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.skill-card p {
  margin: 0.8rem 0 0;
  color: var(--muted-strong);
}

.chip-list,
.stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chip-list {
  margin-top: 1.2rem;
}

.chip,
.stack-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.chip:hover,
.stack-pill:hover {
  transform: translateY(-1px);
  border-color: var(--line-bright);
  background: rgba(125, 211, 252, 0.1);
  color: var(--text);
}

.stack-pill {
  background: var(--accent-soft);
  border-color: rgba(125, 211, 252, 0.18);
  color: #b6e9ff;
}

.skills-note {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.skills-note p {
  margin: 0.35rem 0 0;
  color: var(--muted-strong);
}

.text-link {
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.project-list {
  display: grid;
  gap: 1.4rem;
}

.project-case {
  position: relative;
}

.project-case::after {
  content: "";
  position: absolute;
  top: 0;
  left: 1.7rem;
  right: 1.7rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(125, 211, 252, 0.45), rgba(52, 211, 153, 0.24), transparent);
}

.project-header,
.project-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.3rem;
}

.project-header h3 {
  margin-top: 0.6rem;
}

.project-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.project-impact {
  margin: 0.95rem 0 0;
  max-width: 60ch;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.stack-row {
  margin-top: 1.25rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.project-grid>div {
  padding: 1.1rem 1.15rem;
  border-radius: calc(var(--radius-sm) + 2px);
  border: 1px solid rgba(148, 163, 184, 0.11);
  background: rgba(255, 255, 255, 0.025);
  transition:
    border-color 0.24s ease,
    background 0.24s ease,
    transform 0.24s ease;
}

.project-grid>div:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.2);
  background: rgba(125, 211, 252, 0.045);
}

.project-grid h4,
.footer-label {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail-list {
  margin-top: 0.95rem;
}

.project-footer {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.project-footer p {
  margin: 0.65rem 0 0;
  color: var(--muted-strong);
}

.project-note {
  max-width: 24rem;
  font-size: 0.92rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.highlight-card p {
  margin: 0.9rem 0 0;
  color: var(--muted-strong);
}

.highlight-why {
  color: var(--text);
  font-weight: 700;
}

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.5rem;
}

.contact-copy h2 {
  margin-top: 0.85rem;
  font-size: clamp(2.3rem, 5vw, 3.7rem);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 8.2rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(125, 211, 252, 0.06);
}

.contact-card strong {
  font-size: 0.98rem;
  line-height: 1.45;
}

.contact-card-static:hover {
  transform: none;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.footer {
  padding: 0 0 2rem;
}

.footer-shell {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease var(--reveal-delay, 0ms),
    transform 0.65s ease var(--reveal-delay, 0ms);
}

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

.section:target .reveal,
.section:target.reveal {
  opacity: 1;
  transform: translateY(0);
}

.hero-animate {
  opacity: 0;
  transform: translateY(18px);
}

body.page-ready .hero-animate {
  animation: heroEnter 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--hero-delay, 0ms) forwards;
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {

  .hero-layout,
  .about-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-name {
    max-width: none;
  }

  .contact-copy {
    max-width: 42rem;
  }
}

@media (max-width: 900px) {

  .hero-proof-grid,
  .skills-grid,
  .project-grid,
  .highlight-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .project-header,
  .project-footer,
  .skills-note {
    flex-direction: column;
  }

  .project-note {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .navbar {
    padding: 0.9rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1.3rem;
    background: rgba(9, 19, 30, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .nav-link,
  .nav-resume {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 7.4rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 5.25rem 0;
  }
}

@media (max-width: 560px) {

  .section-shell,
  .nav-shell {
    width: min(var(--container), calc(100% - 1.25rem));
  }

  .about-grid .card,
  .skills-grid .card,
  .project-case,
  .highlight-card,
  .contact-wrap,
  .profile-panel {
    padding: 1.25rem;
  }

  .brand-copy span {
    display: none;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .metric-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-tagline {
    max-width: none;
  }

  .footer-shell {
    flex-direction: column;
  }
}

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

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

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

  .hero-animate {
    opacity: 1;
    transform: none;
  }

  body.page-ready .hero-animate {
    animation: none;
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* vertical centering */
  align-items: center;
  /* horizontal centering */
  text-align: center;

  min-height: 140px;
  /* or 160px depending on your design */
  padding: 20px 30px;
  /* adjust as needed */
}