:root {
  --bg: #0b0d12;
  --bg-elevated: #12151c;
  --bg-elevated-2: #171b24;
  --border: #23262f;
  --border-strong: #323744;
  --text: #e6e8ec;
  --text-muted: #9297a3;
  --accent: #5eead4;
  --accent-2: #818cf8;
  --accent-3: #f472b6;
  --accent-soft: rgba(94, 234, 212, 0.12);
  --accent-rgb: 94, 234, 212;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --sidebar-width: 280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* Native cross-document page transitions (progressive enhancement) */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: fade-out 0.35s var(--ease-soft) both;
}

::view-transition-new(root) {
  animation: fade-in-scale 0.45s var(--ease) both;
}

@keyframes fade-out {
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes fade-in-scale {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
}

* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

::selection {
  background: rgba(var(--accent-rgb), 0.28);
  color: #fff;
}

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 999px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

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

/* ---------- Ambient background: grid + glowing blobs + noise ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  will-change: transform;
}

.blob--1 {
  width: 480px;
  height: 480px;
  top: -140px;
  left: 20%;
  background: var(--accent);
  animation: float-1 22s ease-in-out infinite alternate;
}

.blob--2 {
  width: 420px;
  height: 420px;
  top: 30%;
  right: -120px;
  background: var(--accent-2);
  animation: float-2 26s ease-in-out infinite alternate;
}

.blob--3 {
  width: 360px;
  height: 360px;
  bottom: -100px;
  left: 10%;
  background: var(--accent-3);
  opacity: 0.18;
  animation: float-3 30s ease-in-out infinite alternate;
}

@keyframes float-1 {
  to {
    transform: translate(60px, 80px) scale(1.1);
  }
}
@keyframes float-2 {
  to {
    transform: translate(-70px, 40px) scale(1.15);
  }
}
@keyframes float-3 {
  to {
    transform: translate(40px, -60px) scale(1.08);
  }
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Scroll progress bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 40;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.6);
}

.layout {
  display: flex;
  min-height: 100vh;
}

/* ---------------- Sidebar ---------------- */
.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  background: rgba(18, 21, 28, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-right: 1px solid var(--border);
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 10;
}

.sidebar__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.sidebar__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.sidebar__logo::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 12px;
  background: conic-gradient(from var(--angle), var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.35s var(--ease);
  animation: spin 4s linear infinite;
}

.sidebar__brand:hover .sidebar__logo {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.35);
}

.sidebar__brand:hover .sidebar__logo::before {
  opacity: 1;
}

@keyframes spin {
  to {
    --angle: 360deg;
  }
}

.sidebar__name {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  font-size: 0.95rem;
}

.sidebar__headline {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s var(--ease);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.sidebar__icon {
  font-size: 0.85rem;
  color: var(--accent);
  width: 1rem;
  text-align: center;
  transition: transform 0.25s var(--ease);
}

.sidebar__link:hover {
  color: var(--text);
  transform: translateX(3px);
}

.sidebar__link:hover .sidebar__icon {
  transform: scale(1.2) rotate(-8deg);
}

.sidebar__link.is-active {
  color: var(--accent);
}

.sidebar__link.is-active::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 8px;
  z-index: -1;
  view-transition-name: nav-indicator;
}

.sidebar__footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sidebar__footer a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease, background 0.2s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.sidebar__footer a:hover {
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(var(--accent-rgb), 0.18);
}

.sidebar__copy {
  width: 100%;
  margin: 0.5rem 0 0;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ---------------- Content ---------------- */
.content {
  flex: 1;
  min-width: 0;
  padding: 4rem 4vw 6rem;
  max-width: 1220px;
  margin: 0 auto;
}

.section {
  margin-bottom: 3.5rem;
}

.section--intro h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin: 0.3rem 0 0.6rem;
  background: linear-gradient(100deg, var(--text) 30%, var(--accent) 60%, var(--accent-2) 90%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 5s ease-in-out infinite;
}

@keyframes sheen {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.headline {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 1.25rem;
}

.summary {
  color: var(--text-muted);
  max-width: 65ch;
  font-size: 0.98rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

/* ---------------- Reveal-on-scroll system ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* ---------------- Hero (Sobre) ---------------- */
.section--hero {
  padding-bottom: 1rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 3.5rem;
  margin-bottom: 2.5rem;
}

.hero__text {
  min-width: 0;
}

.hero__text h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.hero__hook {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--text);
  margin: 1.1rem 0 1.1rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
}

.hero__actions {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  padding: 0.35rem 0.7rem 0.35rem 0.55rem;
  border-radius: 999px;
  margin-top: 0.5rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: pulse-ring 1.8s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* Big tech-style portrait: glows, HUD corners, duotone tint, fades into bg */
.hero__photo {
  position: relative;
  justify-self: center;
  padding: 18px;
  animation: bob 7s ease-in-out infinite;
}

.hero__photo-glow {
  position: absolute;
  inset: 6%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.4), transparent 72%);
  filter: blur(70px);
  animation: glow-pulse 5s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.hero__photo::before,
.hero__photo::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0.75;
}

.hero__photo::before {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
  border-top-left-radius: 10px;
}

.hero__photo::after {
  bottom: 0;
  right: 0;
  border-color: var(--accent-2);
  border-width: 0 2px 2px 0;
  border-bottom-right-radius: 10px;
}

.hero__photo-frame {
  position: relative;
  width: min(90vw, 360px);
  aspect-ratio: 3 / 4;
  border-radius: 26px;
  overflow: hidden;
  transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform 0.5s var(--ease);
  box-shadow: 0 40px 70px -24px rgba(0, 0, 0, 0.65);
}

.hero__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.2) contrast(1.08) saturate(1.05) brightness(0.96);
}

.hero__photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(94, 234, 212, 0.4), rgba(129, 140, 248, 0.28) 55%, rgba(244, 114, 182, 0.16) 100%);
  mix-blend-mode: color;
}

.hero__photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 38%, var(--bg) 97%),
    linear-gradient(90deg, var(--bg) -20%, transparent 34%, transparent 66%, var(--bg) 120%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0px, rgba(255, 255, 255, 0.045) 1px, transparent 1px, transparent 3px);
}

.hero__photo-chip {
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translate(-50%, 50%);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.55);
}

@keyframes bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ---------------- Skills marquee ---------------- */
.marquee {
  margin-top: 1rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 0.6rem;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

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

.skill-chip {
  flex-shrink: 0;
  font-size: 0.78rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.skill-chip:hover {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: translateY(-2px);
}

/* ---------------- Stats (storytelling proof) ---------------- */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
}

.stat {
  position: relative;
  overflow: hidden;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-elevated);
  transition: border-color 0.25s ease, transform 0.3s var(--ease);
}

.stat:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: translateY(-3px);
}

.stat::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 140px;
  height: 140px;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.22), transparent 70%);
  pointer-events: none;
}

.stat__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

/* ---------------- Pull quote (storytelling beat) ---------------- */
.quote-block {
  max-width: 760px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
  text-align: center;
}

.quote-block blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  line-height: 1.55;
  color: var(--text);
}

.quote-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ---------------- CTA band (storytelling close) ---------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-elevated-2));
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.22), transparent 70%);
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0.4rem 0 0.35rem;
}

.cta-band .btn {
  margin-top: 0;
  white-space: nowrap;
}

/* ---------------- Timeline ---------------- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.timeline__item {
  display: flex;
  gap: 1.25rem;
  position: relative;
}

.timeline__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 1.1rem;
  bottom: -2rem;
  width: 1px;
  background: linear-gradient(var(--border-strong), transparent);
}

.timeline__marker {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.4rem;
  flex-shrink: 0;
  position: relative;
}

.timeline__marker--current::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  animation: pulse-ring 1.8s ease-out infinite;
}

.timeline__content h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.timeline__meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text);
}

.timeline__meta--muted {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.timeline__list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.timeline__list li {
  margin-bottom: 0.5rem;
}

/* ---------------- Grid / Cards ---------------- */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--education {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.grid--projects {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.card {
  --x: 50%;
  --y: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.25s ease, transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  transform: perspective(800px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(320px circle at var(--x) var(--y), rgba(var(--accent-rgb), 0.16), transparent 65%);
  transition: opacity 0.3s ease;
}

.card:hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-family: var(--font-display);
}

.card__meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text);
}

.card__meta--muted {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.card__text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.75rem 0 0;
}

.card--project .card__meta--muted {
  margin-bottom: 0.5rem;
}

.card__index {
  position: absolute;
  top: 1.1rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--border-strong);
  transition: color 0.3s ease;
}

.card:hover .card__index {
  color: rgba(var(--accent-rgb), 0.35);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.tag {
  font-size: 0.72rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 500;
}

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
  transition: border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.contact-info__item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 10px 24px -10px rgba(var(--accent-rgb), 0.25);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.contact-info__label {
  margin: 0;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-info__value {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
}

.contact-note {
  margin-top: 0.5rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
}

.contact-note .eyebrow {
  margin-bottom: 0.9rem;
}

.contact-note__list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

.field {
  position: relative;
  margin-top: 1.1rem;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.05rem 0.85rem 0.5rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  padding-top: 1.3rem;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.14);
}

.field label {
  position: absolute;
  left: 0.85rem;
  top: 0.85rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.18s var(--ease-soft), color 0.18s ease;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-0.55rem) scale(0.78);
  color: var(--accent);
}

.btn {
  position: relative;
  overflow: hidden;
  margin-top: 1.25rem;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  background-size: 180% auto;
  background-position: 0% center;
  color: #06120f;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background-position 0.4s ease, transform 0.2s var(--ease), box-shadow 0.3s ease;
}

.btn:hover {
  background-position: 100% center;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(var(--accent-rgb), 0.45);
}

.btn:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--accent-soft);
  background-position: 0 center;
  border-color: rgba(var(--accent-rgb), 0.5);
  color: var(--accent);
  box-shadow: none;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  mix-blend-mode: overlay;
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

.alert {
  margin: 0 0 0.5rem;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  font-size: 0.85rem;
  animation: alert-in 0.4s var(--ease) both;
}

@keyframes alert-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.alert--success {
  background: rgba(94, 234, 212, 0.12);
  color: var(--accent);
  border: 1px solid rgba(94, 234, 212, 0.35);
}

.alert--error {
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.35);
}

/* ---------------- Mobile menu toggle ---------------- */
.menu-toggle {
  display: none;
  position: fixed;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 20;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 15;
    transform: translateX(-100%);
    transition: transform 0.3s var(--ease);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .content {
    padding: 5rem 6vw 3rem;
  }

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

  .hero {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .hero__text {
    order: 2;
    width: 100%;
  }

  .hero__photo {
    order: 1;
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .hero__photo-frame {
    width: min(100%, 360px);
  }

  .hero__hook {
    border-left: none;
    border-top: 2px solid var(--accent);
    padding-left: 0;
    padding-top: 0.6rem;
  }

  .hero__actions,
  .eyebrow {
    justify-content: center;
  }

  .summary {
    margin: 0 auto;
  }

  .cta-band__inner {
    flex-direction: column;
    text-align: center;
  }
}

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

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

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