/* RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, #050816 0, #020617 40%, #020617 100%);
  color: #e5e7eb;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

:root {
  --bg: #020617;
  --bg-elevated: #020b2a;
  --bg-soft: rgba(15, 23, 42, 0.8);
  --accent: #0ea5e9; /* sky blue */
  --accent-soft: rgba(56, 189, 248, 0.18);
  --accent-strong: #38bdf8;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
  --shadow-subtle: 0 12px 30px rgba(15, 23, 42, 0.7);
}

.page-gradient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 0, rgba(56, 189, 248, 0.35) 0, transparent 55%),
    radial-gradient(circle at 85% 0, rgba(129, 140, 248, 0.28) 0, transparent 55%),
    radial-gradient(circle at 50% 110%, rgba(56, 189, 248, 0.25) 0, transparent 60%);
  opacity: 0.95;
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.section-alt {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
}

.section-inner {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: left;
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: #f9fafb;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* HEADER & NAV
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: linear-gradient(
    to bottom,
    rgba(2, 6, 23, 0.98),
    rgba(2, 6, 23, 0.9),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(56, 189, 248, 0.7);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9);
}

.brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.site-nav a {
  font-size: 0.86rem;
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.25rem;
  flex-direction: column;
  gap: 0.2rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* HERO
   -------------------------------------------------------------------------- */
.hero {
  padding-top: 5rem;
  padding-bottom: 4.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.1rem);
  line-height: 1.1;
  margin: 0 0 0.8rem;
  color: #f9fafb;
}

.hero-highlight {
  display: block;
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-top: 0.6rem;
}

.hero-subtitle {
  margin: 0 0 1.6rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 34rem;
}

.hero-subtitle.secondary {
  margin-top: -0.8rem;
  margin-bottom: 1.6rem;
  max-width: 36rem;
}

.bullet-list {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.bullet-list li {
  margin-bottom: 0.45rem;
  line-height: 1.65;
}

.bullet-list li:last-child {
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-strong), #6366f1);
  color: #0b1120;
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.7);
}

.btn.primary:hover {
  transform: translateY(-1px) translateZ(0);
  box-shadow: 0 20px 55px rgba(37, 99, 235, 0.9);
}

.btn.ghost {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.35);
  color: #e5e7eb;
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.98);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.9);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.meta-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.social-row {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.social-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-link {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

.social-link:hover {
  background: var(--accent-soft);
  color: #f9fafb;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.social-icon {
  width: 14px;
  height: 14px;
}

.hero-media {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.hero-photo {
  width: min(260px, 60vw);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 6px;
  background: conic-gradient(
    from 160deg,
    rgba(56, 189, 248, 0.8),
    rgba(129, 140, 248, 0.8),
    rgba(56, 189, 248, 0.8)
  );
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.9);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  border: 4px solid #020617;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.badge-card {
  min-width: 120px;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), #020617);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-subtle);
}

.badge-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.badge-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 0.1rem;
}

.badge-caption {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.badge-card-link {
  display: block;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.badge-card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.7);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), #020617);
}

.badge-card-link .badge-caption {
  color: var(--accent);
}

/* ABOUT
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.7;
}

.about-text p + p {
  margin-top: 1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.4rem 0 1.2rem;
}

.chip {
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tech-stack-line {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.link-pill {
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.8rem;
  color: #e5e7eb;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.link-pill:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.about-highlights {
  display: grid;
  gap: 1rem;
}

.highlight-card {
  padding: 1.1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-subtle);
}

.highlight-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: #f9fafb;
}

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

.about-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.about-gallery figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow-subtle);
}

.about-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.about-gallery figcaption {
  padding: 0.45rem 0.6rem 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* CARDS / APPS
   -------------------------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), #020617);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transform-origin: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease,
    background 0.22s ease;
}

.card:hover {
  transform: translateY(-6px) translateZ(0);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
  border-color: rgba(56, 189, 248, 0.7);
}

.card-media {
  position: relative;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.card:hover .card-media img {
  transform: scale(1.06);
}

.card-body {
  padding: 1.1rem 1.2rem 1.2rem;
}

.card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: #f9fafb;
}

.card-body p {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card-bullets {
  margin-bottom: 0.9rem;
}

.text-only-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.card-tags span {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--text-muted);
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.card-links a {
  font-size: 0.82rem;
  color: var(--accent);
}

.card-links a:hover {
  text-decoration: underline;
}

/* TIMELINE / PROJECTS
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  margin-top: 1.6rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  bottom: 0.3rem;
  left: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(148, 163, 184, 0.1));
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  padding-left: 2.7rem;
  padding-bottom: 1.6rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 3px;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #020617;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.timeline-content h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.timeline-content p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.inline-link {
  font-size: 0.86rem;
  color: var(--accent);
}

.inline-link:hover {
  text-decoration: underline;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.inline-sep {
  color: rgba(148, 163, 184, 0.7);
}

/* SCREENSHOTS (SNAKES & LADDERS)
   -------------------------------------------------------------------------- */
.screenshot-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0.8rem 0 0.6rem;
}

.screenshot {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.screenshot:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.7);
}

.screenshot img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

/* PHOTOGRAPHY & MEDIA
   -------------------------------------------------------------------------- */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.media-card {
  padding: 1.2rem 1.3rem 1.4rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-subtle);
}

.photographer-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.photographer-photo {
  width: 100%;
  max-width: 260px;
  margin-top: 0.1rem;
}

.photographer-photo img {
  width: 100%;
  border-radius: 999px;
  border: 4px solid var(--accent-soft);
  box-shadow: var(--shadow-subtle);
}

.media-card h3 {
  margin: 0 0 0.4rem;
}

.media-card p {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.travel-line {
  margin-top: -0.2rem;
  margin-bottom: 0.9rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.embed-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-subtle);
}

.embed-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.embed-placeholder {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px dashed rgba(148, 163, 184, 0.6);
  font-size: 0.86rem;
  color: var(--text-muted);
}

.embed-placeholder a {
  color: var(--accent);
}

/* RUNNING
   -------------------------------------------------------------------------- */
.running-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.running-text p {
  color: var(--text-muted);
  line-height: 1.7;
}

.running-text p + p {
  margin-top: 1rem;
}

.running-embed {
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-subtle);
  padding: 1rem;
}

.running-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.running-photos figure {
  margin: 0;
}

.running-photos img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.running-photos figcaption {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* CONTACT
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
}

.contact-card {
  padding: 1.3rem 1.4rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-subtle);
}

.contact-card h3 {
  margin: 0 0 0.5rem;
}

.contact-card p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-card a {
  color: var(--accent);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
}

.social-grid a {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-grid a:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding: 1rem 0 1.4rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), #020617);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.visitor-pill {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.95);
}

/* ANIMATIONS / SCROLL
   -------------------------------------------------------------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

[data-animate="fade-left"] {
  transform: translateX(18px);
}

.in-view {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}

html {
  scroll-behavior: smooth;
}

/* RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.8rem;
  }

  .hero-media {
    order: -1;
  }

  .about-grid,
  .running-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    padding-inline: 1rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    background: rgba(2, 6, 23, 0.98);
  }

  .site-nav {
    position: fixed;
    inset-inline: 1.2rem;
    top: 3.3rem;
    border-radius: 16px;
    padding: 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.95);
    transform-origin: top;
    transform: scaleY(0.9);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s ease;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .site-nav a {
    width: 100%;
  }

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

  .section {
    padding-block: 3.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 4.2rem;
  }

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

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
