:root {
  --ink: #101317;
  --muted: #66717f;
  --paper: #f5f1e9;
  --surface: #ffffff;
  --line: rgba(16, 19, 23, 0.13);
  --night: #111820;
  --teal: #0e9c91;
  --amber: #f0a12a;
  --red: #d54b47;
  --blue: #315caa;
  --shadow: 0 24px 80px rgba(17, 24, 32, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px;
  width: min(1180px, calc(100% - 32px));
  min-height: 60px;
  padding: 8px 10px;
  color: #fff;
  background: rgba(17, 24, 32, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(17, 24, 32, 0.92);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.24);
}

.brand,
.nav-links,
.hero-actions,
.contact-actions,
.proof-strip,
.language-switcher {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--night);
  background: #fff;
  border-radius: 6px;
  font-size: 0.86rem;
}

.nav-links {
  justify-content: center;
  gap: clamp(12px, 2.2vw, 28px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.nav-links a,
.nav-cta,
.project-body a,
.github-card {
  transition: color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  padding: 10px 16px;
  color: var(--night);
  background: #fff;
  border-radius: 6px;
  font-weight: 900;
}

.language-switcher {
  position: relative;
  gap: 4px;
  justify-self: end;
  padding: 4px;
  margin-right: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.language-button {
  display: none;
  min-width: 34px;
  height: 32px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 0;
  border-radius: 5px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.language-button.is-active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--night);
  background: #fff;
}

.language-switcher.is-open .language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-cta:hover,
.button:hover,
.github-card:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 96vh;
  padding: 124px max(24px, calc((100vw - 1180px) / 2)) 64px;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-video,
.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-video,
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-video {
  z-index: 1;
  filter: saturate(1.08) contrast(1.08);
}

.hero-fallback {
  z-index: 0;
}

.hero-scrim {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 10, 14, 0.92), rgba(7, 10, 14, 0.58) 46%, rgba(7, 10, 14, 0.18)),
    radial-gradient(circle at 72% 42%, rgba(14, 156, 145, 0.14), transparent 28%),
    linear-gradient(0deg, rgba(7, 10, 14, 0.82), rgba(7, 10, 14, 0.16) 48%, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  min-width: 0;
}

.eyebrow,
.panel-kicker,
.project-body span {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-section .eyebrow,
.github-section .eyebrow {
  color: #8ff2df;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(3.4rem, 8vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: 0;
  overflow-wrap: normal;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.8vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  width: min(680px, 100%);
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.06rem, 2vw, 1.45rem);
}

.hero-actions,
.contact-actions {
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 16px 34px rgba(213, 75, 71, 0.3);
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  color: #fff;
  background: var(--night);
}

.hero-panel {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 56px;
  z-index: 2;
  width: min(350px, calc(100% - 48px));
  padding: 24px;
  color: #fff;
  background: rgba(17, 24, 32, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.hero-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.16rem;
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  min-height: 136px;
  padding: 30px clamp(18px, 3vw, 44px);
  background: #fffaf1;
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--night);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: clamp(72px, 9vw, 124px) max(24px, calc((100vw - 1180px) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.section-heading.compact {
  display: block;
  max-width: 850px;
  margin-bottom: 34px;
}

.profile-copy {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.proof-strip {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.proof-strip span {
  padding: 10px 12px;
  color: var(--night);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 900;
}

.feature-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  background: #fff;
}

.feature-copy p:last-child {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-stack {
  position: relative;
  min-height: 470px;
}

.feature-stack img {
  position: absolute;
  width: 58%;
  height: 260px;
  object-fit: cover;
  border: 8px solid #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-stack img:nth-child(1) {
  left: 0;
  top: 32px;
}

.feature-stack img:nth-child(2) {
  right: 0;
  top: 0;
  height: 330px;
}

.feature-stack img:nth-child(3) {
  left: 20%;
  bottom: 0;
  width: 64%;
}

.app-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 24, 32, 0.96), rgba(25, 43, 59, 0.92)),
    url("assets/work/green-banner.jpg") center/cover;
}

.app-showcase {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.app-demo-link {
  display: block;
  color: inherit;
  border-radius: 34px;
}

.app-demo-link:focus-visible {
  outline: 3px solid rgba(143, 242, 223, 0.9);
  outline-offset: 6px;
}

.app-demo-link .phone-mockup {
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.app-demo-link:hover .phone-mockup {
  box-shadow: 0 38px 105px rgba(0, 0, 0, 0.5);
  transform: translateY(-4px);
}

.route-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.app-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.phone-mockup {
  min-height: 560px;
  padding: 24px;
  background: linear-gradient(180deg, #f8fbff, #dbe8f7);
  border: 10px solid #0a0d12;
  border-radius: 34px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  color: var(--night);
}

.phone-top,
.deal-row,
.route-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-top {
  margin-bottom: 32px;
  font-weight: 900;
}

.phone-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.phone-brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(14, 156, 145, 0.18);
}

.phone-top strong {
  padding: 8px 10px;
  color: #fff;
  background: var(--teal);
  border-radius: 6px;
}

.route-card {
  gap: 18px;
  min-height: 170px;
  margin-bottom: 22px;
  padding: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 18px;
  font-size: 1.8rem;
  font-weight: 900;
}

.route-line {
  position: relative;
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.68);
}

.route-line i {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
}

.route-line i:nth-child(1) {
  left: 0;
}

.route-line i:nth-child(2) {
  left: 50%;
}

.route-line i:nth-child(3) {
  right: 0;
}

.deal-row {
  gap: 14px;
  min-height: 64px;
  margin-top: 12px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid rgba(17, 24, 32, 0.08);
  border-radius: 12px;
  font-weight: 800;
}

.route-map {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 30%, rgba(14, 156, 145, 0.28), transparent 24%),
    radial-gradient(circle at 74% 20%, rgba(240, 161, 42, 0.22), transparent 24%),
    rgba(255, 255, 255, 0.06);
}

.route-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-dasharray: 12 12;
  opacity: 0.7;
}

.route-node {
  position: absolute;
  z-index: 1;
  width: min(240px, 44%);
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  color: var(--night);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
}

.route-node strong {
  display: block;
  margin-bottom: 6px;
}

.route-node span {
  color: var(--muted);
  font-size: 0.95rem;
}

.node-a {
  left: 32px;
  bottom: 38px;
}

.node-b {
  left: 38%;
  top: 44px;
}

.node-c {
  right: 32px;
  bottom: 88px;
}

.canvas-section {
  background: #e9ece5;
}

.sticky-canvas {
  position: relative;
  min-height: clamp(440px, 58vw, 640px);
  overflow: hidden;
  background:
    radial-gradient(circle at 24px 24px, rgba(17, 24, 32, 0.14) 2px, transparent 2px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(245, 241, 233, 0.58));
  background-size: 48px 48px, auto;
  border: 1px solid rgba(16, 19, 23, 0.14);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.56), var(--shadow);
  touch-action: none;
}

.canvas-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(16, 19, 23, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 23, 0.06) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.18));
}

.sticky-note {
  position: absolute;
  left: var(--note-x);
  top: var(--note-y);
  z-index: 1;
  width: clamp(184px, 22vw, 266px);
  min-height: 172px;
  padding: 34px 22px 22px;
  color: #1b2025;
  border: 1px solid rgba(16, 19, 23, 0.12);
  border-radius: 5px;
  box-shadow: 0 18px 36px rgba(17, 24, 32, 0.18);
  cursor: grab;
  user-select: none;
  transform: rotate(var(--note-rotate));
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.sticky-note:hover,
.sticky-note:focus-visible {
  box-shadow: 0 24px 48px rgba(17, 24, 32, 0.24);
  outline: none;
  transform: rotate(var(--note-rotate)) translateY(-3px);
}

.sticky-note.is-dragging {
  z-index: 4;
  cursor: grabbing;
  box-shadow: 0 28px 64px rgba(17, 24, 32, 0.3);
  transform: rotate(0deg) scale(1.02);
}

.sticky-note h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.sticky-note p {
  margin: 0;
  color: rgba(16, 19, 23, 0.76);
  font-size: 0.95rem;
  line-height: 1.42;
}

.sticky-note-yellow {
  background: #ffe78f;
}

.sticky-note-blue {
  background: #aee9f2;
}

.sticky-note-pink {
  background: #ffb2c0;
}

.sticky-note-green {
  background: #bfe9ad;
}

.pin {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 18px;
  height: 18px;
  background: var(--red);
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  box-shadow: 0 5px 10px rgba(17, 24, 32, 0.24);
  transform: translateX(-50%);
}

.projects-section {
  background: #fff;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-button {
  min-height: 40px;
  padding: 0 14px;
  color: var(--muted);
  background: #f4f0e8;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.filter-button.is-active {
  color: #fff;
  background: var(--night);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(17, 24, 32, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.project-card.is-hidden {
  display: none;
}

.project-card.large {
  grid-column: span 2;
}

.project-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  background: #ddd;
}

.project-media-link {
  display: block;
  overflow: hidden;
}

.project-media-link img {
  transition: transform 220ms ease;
}

.project-media-link:hover img {
  transform: scale(1.035);
}

.project-card.large img {
  height: 360px;
}

.project-body {
  padding: 24px;
}

.project-body h3,
.skills-route h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.16;
}

.project-body p,
.skills-route p,
.github-section p,
.contact-section p {
  color: var(--muted);
}

.skills-section {
  background: var(--paper);
}

.skills-route {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.skills-route article {
  min-height: 260px;
  padding: 30px;
  background: #fbf8f2;
}

.skills-route span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--red);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.github-section {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 36px;
  align-items: center;
  color: #fff;
  background: var(--night);
}

.github-section p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.github-card {
  display: grid;
  min-height: 220px;
  padding: 28px;
  color: var(--night);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.github-card span {
  color: var(--muted);
  font-weight: 800;
}

.github-card strong {
  align-self: center;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
}

.github-card small {
  align-self: end;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  margin: clamp(48px, 8vw, 96px) max(24px, calc((100vw - 1180px) / 2)) clamp(64px, 9vw, 112px);
  padding: clamp(34px, 6vw, 58px);
  color: #fff;
  background: linear-gradient(135deg, var(--night), #28303a);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-section h2 {
  max-width: 790px;
  margin-bottom: 18px;
}

.contact-section p {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(16px);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row-full,
.form-footer {
  grid-column: 1 / -1;
}

.form-row label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 900;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  font: inherit;
}

.form-row textarea {
  min-height: 132px;
  resize: vertical;
}

.form-row select option {
  color: var(--night);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(143, 242, 223, 0.68);
  outline-offset: 2px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 2px;
}

.form-footer small {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.64);
}

.site-footer {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 20px;
  padding: 30px max(24px, calc((100vw - 1180px) / 2));
  color: rgba(255, 255, 255, 0.74);
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer span:first-child {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav-links {
    display: none;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .stats-band,
  .project-grid,
  .skills-route {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading,
  .feature-section,
  .app-showcase,
  .github-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .feature-stack {
    min-height: 560px;
  }

  .app-demo-link {
    width: min(100%, 380px);
  }

  .route-map {
    min-height: 500px;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    width: calc(100% - 20px);
    min-height: 58px;
    padding: 8px;
  }

  .brand span:last-child {
    display: none;
  }

  .language-switcher {
    margin-right: 0;
  }

  .language-button {
    min-width: 30px;
    height: 30px;
  }

  .nav-cta {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 96vh;
    padding-top: 104px;
    padding-inline: 24px;
    padding-bottom: 38px;
  }

  .hero-content,
  .hero-panel {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
    line-height: 0.96;
    max-width: min(100%, 300px);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-lead {
    max-width: 320px;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .button {
    width: 100%;
    padding-inline: 16px;
    text-align: center;
  }

  .stats-band,
  .project-grid,
  .skills-route {
    grid-template-columns: 1fr;
  }

  .project-card.large {
    grid-column: auto;
  }

  .project-card img,
  .project-card.large img {
    height: 260px;
  }

  .feature-stack {
    min-height: auto;
    display: grid;
    gap: 12px;
  }

  .feature-stack img {
    position: static;
    width: 100%;
    height: 240px;
  }

  .phone-mockup {
    min-height: 500px;
    padding: 18px;
    border-width: 8px;
  }

  .phone-top {
    gap: 12px;
  }

  .route-card {
    gap: 12px;
    min-height: 148px;
    padding: 16px;
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }

  .route-map {
    display: grid;
    gap: 14px;
    min-height: auto;
    padding: 18px;
  }

  .route-node {
    position: relative;
    inset: auto;
    width: 100%;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  }

  .route-map svg {
    display: none;
  }

  .sticky-canvas {
    min-height: 680px;
  }

  .sticky-note {
    width: min(238px, calc(100% - 32px));
  }

  .contact-section {
    margin: 44px 16px 58px;
    padding: 28px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 20px;
  }
}

@media (max-width: 460px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-cta {
    display: none;
  }

  .hero .eyebrow {
    max-width: calc(100vw - 48px);
    font-size: 0.7rem;
  }

  .hero-lead,
  .hero-panel p,
  .hero-panel strong {
    overflow-wrap: break-word;
  }

  .hero-panel {
    max-width: 320px;
  }

  .hero-panel strong,
  .hero-panel p {
    max-width: 270px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
