/* ===== Reset & base ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  background: var(--hero-bg);
  cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAACG0lEQVR4nO3YQWsUMRTA8X+yi4oFsTBoD34CWzwWBo/tQT+Ln6DfoHroF9KeIwWhB/XgwYtCVxlUKKVj2Tby1jdlWKab2d0khdIHyywzyc5vXrJD8uA2bniYWRdLXwzJG+fOVD7YqvTFTHjOMF04eYrSF3eAPWAlo2fHmWrUGORE5xCWvhDUY+AVeeMNMNLETYB2CjZU+WvgA3AKjFuf1OGnT1z1J3gAPFTUUDvKU30H/gB3gYuIqGaq/e0LHLeeRo7nwAD4Bbw4+Pj7aHNjdXD45UTOR4v6uJ4cnakuQkDTeiqj7QT9DHi7ubG6rZPZtn8sRYTeczJHvwHHwFMdgnVgv/SFII903o5jvJq63oF9gDKsLyVziqsV+670xZZmcuBMFXW424BQrEimgG3gM3CvhdwvfbEmOEFeF3CsGRpdB9L2aGMO759Mbq6Z3MqJtH0b6s2HmslsSDtn+yaT2ZB23g7NzXMh7SKdciLtoh1zIe2iHXMh7TLAHMilgamRUYApkdGAqZBRgT2Rsgp6pO1sdmAA2awnXemLJ7JaD60jkwCvQH7SvYzED+AsVDhICuxAylLtK/BewM5UPyWDoUpCUmAH8rmszp2pTnU/EyxzZKm9uP9Io8imetFrszULGC7izBFaTpnMuV4Foh7A6AUkNwcs2xxcNqYz2Gwdd4Bd/X5W15c7/qjDfiPCdJ3UyXx5LXV54zZIGP8Ac+2BG+g4kNkAAAAASUVORK5CYII=") 7 7, auto;
}

::selection {
  background: var(--hero-accent);
  color: var(--hero-bg);
}

#s-services ::selection { background: var(--services-accent); color: var(--services-bg); }
#s-projects-intro ::selection,
#s-projects ::selection { background: var(--projects-accent); color: var(--projects-bg); }
#s-about ::selection { background: var(--about-accent); color: var(--about-bg); }
#s-contact ::selection { background: var(--contact-accent); color: var(--contact-bg); }

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Theme tokens =====
   data-theme="dark" = initial state (hero/projects dark, services/about/contact light)
   data-theme="light" = toggled state (colors invert per section) */

:root[data-theme="dark"] {
  --hero-bg: #0A0A0A;
  --hero-bg-rgb: 10, 10, 10;
  --hero-text: #fff;
  --hero-text-faint: rgba(255, 255, 255, .4);
  --hero-text-fainter: rgba(255, 255, 255, .25);
  --hero-text-mid: rgba(255, 255, 255, .5);
  --hero-border: rgba(255, 255, 255, .15);
  --hero-accent: #39FF14;

  --services-bg: #F5F3EF;
  --services-text: #111111;
  --services-sub: rgba(17, 17, 17, .75);
  --services-tag-bg: #111111;
  --services-tag-text: #fff;
  --services-border-strong: rgba(17, 17, 17, .6);
  --services-border-mid: rgba(17, 17, 17, .35);
  --services-border-faint: rgba(17, 17, 17, .12);
  --services-accent: #111111;

  --projects-bg: #0A0A0A;
  --projects-text: #fff;
  --projects-sub: rgba(255, 255, 255, .65);
  --projects-tag-bg: #fff;
  --projects-tag-text: #111111;
  --projects-border-card: rgba(255, 255, 255, .25);
  --projects-accent: #39FF14;

  --about-bg: #ffffff;
  --about-text: #111111;
  --about-sub: rgba(17, 17, 17, .75);
  --about-tag-bg: #111111;
  --about-tag-text: #fff;
  --about-border-strong: rgba(17, 17, 17, .6);
  --about-accent: #111111;

  --contact-bg: #ffffff;
  --contact-text: #111111;
  --contact-tag-bg: #111111;
  --contact-tag-text: #fff;
  --contact-border-strong: rgba(17, 17, 17, .6);
  --contact-border-mid: rgba(17, 17, 17, .35);
  --contact-accent: #111111;
}

:root[data-theme="light"] {
  --hero-bg: #F5F3EF;
  --hero-bg-rgb: 245, 243, 239;
  --hero-text: #111111;
  --hero-text-faint: rgba(17, 17, 17, .4);
  --hero-text-fainter: rgba(17, 17, 17, .25);
  --hero-text-mid: rgba(17, 17, 17, .5);
  --hero-border: rgba(17, 17, 17, .15);
  --hero-accent: #111111;

  --services-bg: #0A0A0A;
  --services-text: #fff;
  --services-sub: rgba(255, 255, 255, .65);
  --services-tag-bg: #fff;
  --services-tag-text: #111111;
  --services-border-strong: rgba(255, 255, 255, .6);
  --services-border-mid: rgba(255, 255, 255, .35);
  --services-border-faint: rgba(255, 255, 255, .12);
  --services-accent: #39FF14;

  --projects-bg: #F5F3EF;
  --projects-text: #111111;
  --projects-sub: rgba(17, 17, 17, .75);
  --projects-tag-bg: #111111;
  --projects-tag-text: #fff;
  --projects-border-card: rgba(17, 17, 17, .25);
  --projects-accent: #111111;

  --about-bg: #111111;
  --about-text: #fff;
  --about-sub: rgba(255, 255, 255, .65);
  --about-tag-bg: #fff;
  --about-tag-text: #111111;
  --about-border-strong: rgba(255, 255, 255, .6);
  --about-accent: #39FF14;

  --contact-bg: #111111;
  --contact-text: #fff;
  --contact-tag-bg: #fff;
  --contact-tag-text: #111111;
  --contact-border-strong: rgba(255, 255, 255, .6);
  --contact-border-mid: rgba(255, 255, 255, .35);
  --contact-accent: #39FF14;
}

/* ===== Nav ===== */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 150;
  background: rgba(var(--hero-bg-rgb), .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px 32px;
  pointer-events: none;
  opacity: 1;
  transition: opacity .3s ease, background .4s ease;
}

body.menu-open #nav {
  opacity: 0;
}

body.menu-open {
  overflow: hidden;
}

#nav-name {
  color: var(--hero-text);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .25s ease;
}

#nav-name:hover {
  color: var(--hero-accent);
}

#nav-controls {
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

#theme-toggle,
#menu-toggle {
  background: none;
  border: none;
  color: var(--hero-text);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: color .4s ease, border-color .4s ease;
}

#theme-toggle {
  border: 1px solid var(--hero-border);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .06em;
  padding: 7px 12px;
}

#menu-toggle {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  padding: 8px;
}

/* ===== Menu overlay ===== */
#menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--hero-bg);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity .5s ease, transform .5s ease, background .4s ease;
}

body.menu-open #menu-overlay {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

#menu-intro {
  position: absolute;
  top: 44px;
  left: 48px;
}

#menu-intro-label {
  color: var(--hero-text-faint);
  font-size: 13px;
  letter-spacing: .05em;
  margin-bottom: 4px;
}

#menu-intro-title {
  color: var(--hero-text-fainter);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

#menu-close {
  position: absolute;
  top: 48px;
  right: 48px;
  background: none;
  border: none;
  color: var(--hero-text);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .03em;
  cursor: pointer;
  font-family: inherit;
}

#menu-list {
  width: 100%;
  padding: 100px 48px 0;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 240px);
  height: calc(100svh - 240px);
  max-height: 100%;
  overflow-y: auto;
}

.menu-row {
  flex-grow: 2;
  flex-shrink: 0;
  min-height: fit-content;
  border-bottom: 1px solid var(--hero-border);
  text-decoration: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}

body.menu-open .menu-row {
  opacity: 1;
  transform: translateY(0);
}

.menu-row .menu-num,
.menu-row .menu-label {
  display: flex;
}

.menu-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding-top: 28px;
}

.menu-row:nth-child(1) { padding-left: 0vw; }
.menu-row:nth-child(2) { padding-left: 17vw; }
.menu-row:nth-child(3) { padding-left: 34vw; }
.menu-row:nth-child(4) { padding-left: 51vw; }
.menu-row:nth-child(5) { padding-left: 68vw; }

body.menu-open .menu-row:nth-child(1) { transition-delay: 0s; }
body.menu-open .menu-row:nth-child(2) { transition-delay: .07s; }
body.menu-open .menu-row:nth-child(3) { transition-delay: .14s; }
body.menu-open .menu-row:nth-child(4) { transition-delay: .21s; }
body.menu-open .menu-row:nth-child(5) { transition-delay: .28s; }

.menu-num {
  color: var(--hero-text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
}

.menu-label {
  color: var(--hero-text);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  transition: color .25s ease;
}

.menu-row:hover .menu-label {
  color: var(--hero-accent);
}

#menu-footer {
  position: absolute;
  bottom: 40px;
  left: 48px;
  right: 48px;
  display: flex;
  justify-content: space-between;
  color: var(--hero-text-mid);
  font-size: 13px;
}

/* ===== Hero ===== */
#s-home {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--hero-bg);
  position: relative;
  padding: 116px 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background .4s ease;
}

#s-home h1 {
  color: var(--hero-text);
  font-size: clamp(56px, 11vw, 168px);
  font-weight: 800;
  letter-spacing: -0.045em;
  margin: 0;
  line-height: 0.92;
  transition: color .4s ease;
}

#hero-photo-wrap {
  position: absolute;
  bottom: 0;
  right: 48px;
  width: clamp(220px, 26vw, 420px);
  aspect-ratio: 3 / 4;
}

#hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(1) contrast(1.15) brightness(0.95);
}

#hero-photo-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--hero-bg-rgb), 0) 55%, rgba(var(--hero-bg-rgb), 0.9) 100%);
  pointer-events: none;
  transition: background .4s ease;
}

#hero-photo-vignette {
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse 70% 68% at center, transparent 45%, var(--hero-bg) 88%);
  pointer-events: none;
  transition: background .4s ease;
}

#hero-tagline {
  color: var(--hero-accent);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 500;
  margin: 32px 0 0;
  max-width: 640px;
  letter-spacing: -0.01em;
  transition: color .4s ease;
}

/* ===== Shared section tag row ===== */
.section-tag-row {
  padding: 44px 48px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 9px 18px;
}

.section-tag-line {
  flex: 1;
  height: 1px;
}

#s-services .section-tag { background: var(--services-tag-bg); color: var(--services-tag-text); }
#s-services .section-tag-line { background: var(--services-border-strong); }
#s-about .section-tag { background: var(--about-tag-bg); color: var(--about-tag-text); }
#s-about .section-tag-line { background: var(--about-border-strong); }
#s-contact .section-tag { background: var(--contact-tag-bg); color: var(--contact-tag-text); }
#s-contact .section-tag-line { background: var(--contact-border-strong); }

/* ===== Services ===== */
#s-services {
  position: relative;
  background: var(--services-bg);
  transition: background .4s ease;
}

#services-layout {
  display: flex;
}

#services-number-col {
  width: 36%;
}

#services-number-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 100px 0 0 48px;
  overflow: hidden;
}

#services-number {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(200px, 28vw, 500px);
  font-weight: 400;
  color: var(--services-text);
  line-height: 0.78;
  letter-spacing: 0.01em;
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1), color .4s ease;
  opacity: 1;
  transform: translateY(0);
}

#services-number.number-swap {
  opacity: 0;
  transform: translateY(32px);
}

#services-content-col {
  width: 64%;
  padding: 0 64px 0 24px;
}

.service-block {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 80px 0;
}

.service-divider {
  display: flex;
  align-items: center;
  gap: 20px;
}

.service-divider .line {
  flex: 1;
  height: 1px;
  background: var(--services-border-mid);
}

.service-block h3 {
  color: var(--services-text);
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1;
  transition: color .4s ease;
}

.service-paragraphs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 760px;
}

.service-paragraphs p {
  color: var(--services-sub);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  letter-spacing: 0.015em;
}

.service-subitems {
  display: flex;
  flex-direction: column;
  max-width: 520px;
  margin-top: 8px;
  list-style: none;
  padding: 0;
}

.subitem {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--services-border-faint);
}

.subitem-num {
  color: var(--services-accent);
  font-size: 13px;
  font-weight: 700;
  transition: color .4s ease;
}

.subitem-label {
  color: var(--services-text);
  font-size: 16px;
  font-weight: 600;
}

/* ===== Projects intro ===== */
#s-projects-intro {
  position: relative;
  background: var(--projects-bg);
  min-height: 220vh;
  transition: background .4s ease;
}

#projects-intro-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--projects-bg);
  transition: background .4s ease;
}

#work-tag-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 48px 44px;
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transition: opacity .3s ease;
}

#work-tag {
  background: var(--projects-tag-bg);
  color: var(--projects-tag-text);
  flex-shrink: 0;
}

#work-tag-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .6);
}

#projects-title {
  color: var(--projects-text);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(80px, 17vw, 260px);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1;
  clip-path: circle(0% at 50% 50%);
  transform: scale(0.78);
  transition: color .4s ease;
}

/* ===== Projects grid ===== */
#s-projects {
  position: relative;
  background: var(--projects-bg);
  padding: 0 24px 140px;
  transition: background .4s ease;
}

#projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  max-width: 1300px;
  margin: 0 auto;
}

.project-card {
  display: block;
  text-decoration: none;
}

.card-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
}

.card-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.card-logo img {
  width: 100%;
  max-width: 290px;
  height: auto;
  object-fit: contain;
}

.card-info {
  padding: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.card-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1;
}

.card-info p {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  margin: 0;
}

.card-info-themed {
  border-top: 1px solid var(--projects-border-card);
}
.card-info-themed h3, .card-info-themed .card-subtitle { color: var(--projects-text); }
.card-info-themed .card-type { color: var(--projects-sub); }
.card-info-themed h3 { transition: color .25s ease; }
.project-card:hover .card-info-themed h3 { color: var(--projects-accent); }

/* ===== About ===== */
#s-about {
  position: relative;
  background: var(--about-bg);
  transition: background .4s ease;
}

#about-content {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  padding: 64px 48px 48px;
  max-width: 1300px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.6s cubic-bezier(.22, 1, .36, 1), transform 1.6s cubic-bezier(.22, 1, .36, 1);
}

#about-content.in-view {
  opacity: 1;
  transform: translateY(0);
}

#about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

#about-lead {
  color: var(--about-text);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  margin: 0;
  letter-spacing: -0.005em;
}

#about-text p:not(#about-lead) {
  color: var(--about-sub);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  letter-spacing: 0.01em;
}

#about-photo-wrap {
  width: clamp(160px, 18vw, 220px);
  flex-shrink: 0;
  aspect-ratio: 3 / 4;
  position: relative;
  margin-left: 24px;
}

#about-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
  filter: grayscale(1) contrast(1.1) brightness(.98);
}

/* ===== Contact ===== */
#s-contact {
  position: relative;
  background: var(--contact-bg);
  padding: 0 0 56px;
  transition: background .4s ease;
}

#contact-heading {
  color: var(--contact-text);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 13vw, 220px);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 60px 0 60px;
  padding: 0 48px;
  line-height: 0.9;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.6s cubic-bezier(.22, 1, .36, 1), transform 1.6s cubic-bezier(.22, 1, .36, 1), color .4s ease;
}

#s-contact.in-view #contact-heading {
  opacity: 1;
  transform: translateY(0);
}

#contact-heading-dot {
  color: var(--contact-accent);
  transition: color .4s ease;
}

#contact-divider {
  height: 1px;
  background: var(--contact-border-mid);
  margin: 0 48px 20px;
}

#contact-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 96px;
  flex-wrap: wrap;
  padding: 0 48px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.6s cubic-bezier(.22, 1, .36, 1) .2s, transform 1.6s cubic-bezier(.22, 1, .36, 1) .2s;
}

#s-contact.in-view #contact-footer {
  opacity: 1;
  transform: translateY(0);
}

#contact-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 200px;
}

#contact-copy span {
  color: var(--contact-text);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.5;
}

#contact-links {
  display: flex;
  gap: 96px;
  flex-wrap: wrap;
}

.contact-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-col-label {
  color: var(--contact-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}

.contact-col a {
  background: none;
  color: var(--contact-text);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: 0;
  text-decoration: none;
  transition: color .25s ease;
}

.contact-col a:hover {
  color: var(--contact-accent);
}

.underline-link {
  font-size: 15px !important;
  text-decoration: underline !important;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  #services-layout {
    flex-direction: column;
    position: relative;
  }
  #services-number-col,
  #services-content-col {
    width: 100%;
  }
  #services-number-col {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
  }
  #services-number-sticky {
    position: sticky;
    top: 72px;
    height: auto;
    padding: 24px 24px 16px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: visible;
    background: var(--services-bg);
    pointer-events: auto;
    transition: background .4s ease;
    z-index: 60;
  }
  #services-number-sticky #services-number {
    font-size: clamp(64px, 20vw, 120px);
    line-height: 0.9;
  }
  #services-number-sticky::after {
    content: '';
    align-self: stretch;
    height: 2px;
    margin-top: 10px;
    background: var(--services-border-strong);
  }
  #services-content-col {
    padding: 0 24px;
  }
  .service-block[data-svc="0"] {
    padding-top: 220px;
  }

  #projects-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .project-card {
    margin-top: 0 !important;
  }

  #about-content {
    flex-direction: column;
  }
  #about-photo-wrap {
    width: clamp(160px, 40vw, 220px);
    margin: 0 auto;
  }

  #s-home {
    --hero-photo-h: calc(clamp(120px, 34vw, 180px) * 4 / 3);
    padding-bottom: calc(var(--hero-photo-h) + 24px);
  }
  #hero-tagline {
    margin-top: 20px;
  }
  #hero-photo-wrap {
    position: absolute;
    bottom: 0;
    right: 48px;
    width: clamp(120px, 34vw, 180px);
  }

  #contact-footer {
    flex-direction: column;
    gap: 40px;
  }
  #contact-links {
    order: 1;
  }
  #contact-copy {
    order: 2;
  }

  .menu-row:nth-child(1) { padding-left: 0; }
  .menu-row:nth-child(2) { padding-left: 4vw; }
  .menu-row:nth-child(3) { padding-left: 8vw; }
  .menu-row:nth-child(4) { padding-left: 12vw; }
  .menu-row:nth-child(5) { padding-left: 16vw; }

  #menu-intro { top: 28px; }
  #menu-close { top: 32px; }
  #menu-list {
    padding: 84px 32px 0;
    height: calc(100vh - 180px);
    height: calc(100svh - 180px);
  }
  .menu-row {
    padding-top: 16px;
  }
  #menu-footer {
    bottom: 24px;
  }
}

@media (max-width: 560px) {
  .section-tag-row,
  #s-home,
  #contact-heading,
  #contact-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  #contact-divider {
    margin-left: 24px;
    margin-right: 24px;
  }
  #hero-photo-wrap {
    right: 24px;
  }
  #menu-intro,
  #menu-close,
  #menu-footer {
    left: 24px;
    right: 24px;
  }
  #menu-intro { left: 24px; top: 20px; }
  #menu-close { right: 24px; top: 24px; }
  #menu-intro-title {
    font-size: clamp(20px, 6vw, 26px);
  }
  #menu-list {
    padding: 68px 24px 0;
    height: calc(100vh - 130px);
    height: calc(100svh - 130px);
  }
  .menu-row {
    padding-top: 10px;
  }
  .menu-label {
    font-size: clamp(20px, 6vw, 28px);
  }
  #menu-footer {
    bottom: 16px;
    font-size: 12px;
  }
}

@media (max-height: 600px) {
  #menu-intro { top: 14px; }
  #menu-close { top: 18px; }
  #menu-list {
    padding: 52px 32px 0;
    height: calc(100vh - 90px);
    height: calc(100svh - 90px);
  }
  .menu-row {
    padding-top: 6px;
  }
  .menu-num {
    font-size: 12px;
  }
  .menu-label {
    font-size: clamp(18px, 4.5vw, 26px);
  }
  #menu-footer {
    bottom: 10px;
    font-size: 11px;
  }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
