:root {
  color-scheme: dark;
  --bg: #05080d;
  --bg-soft: #09131c;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-strong: rgba(255, 255, 255, 0.105);
  --text: #f7f2e7;
  --muted: rgba(247, 242, 231, 0.72);
  --muted-2: rgba(247, 242, 231, 0.52);
  --gold: #d6a84e;
  --gold-light: #f0d38c;
  --teal: #19bfd1;
  --blue: #062b55;
  --navy: #041221;
  --line: rgba(240, 211, 140, 0.22);
  --white-line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  touch-action: pan-y;
  background-color: #05080d;
  overscroll-behavior-y: none;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  touch-action: pan-y;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(25, 191, 209, 0.14), transparent 32rem),
    radial-gradient(circle at 84% 20%, rgba(214, 168, 78, 0.12), transparent 28rem),
    linear-gradient(180deg, #05080d 0%, #07101a 48%, #05080d 100%);
  color: var(--text);
  overflow-x: hidden;
  background-color: #05080d;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}
/* iPhone zoom guard */
input,
textarea,
select,
button {
  font-size: 16px;
}



.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--gold-light);
  color: #05121c;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 16px 0;
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.menu-active {
  padding: 10px 0;
  background: rgba(4, 10, 18, 0.82);
  backdrop-filter: blur(24px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  width: 190px;
  min-width: 146px;
  padding: 5px 7px;
  margin-left: -7px;
  transform: translateY(14px);
}

.site-header.is-scrolled .brand,
.site-header.menu-active .brand {
  transform: translateY(12px);
}

.brand::before {
  content: "";
  position: absolute;
  inset: -13px -18px;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 48% 52%, rgba(59, 226, 238, 0.26), transparent 58%),
    radial-gradient(ellipse at 64% 48%, rgba(240, 211, 140, 0.14), transparent 64%);
  opacity: 0.34;
  filter: blur(14px);
  transform: scale(1);
  animation: wallcraftBrandAura 6.8s ease-in-out infinite;
}

.brand::after {
  content: "";
  position: absolute;
  inset: -8px -12px;
  z-index: -1;
  border-radius: 999px;
  opacity: 0.18;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.06), transparent 68%);
  filter: blur(8px);
  animation: wallcraftBrandSoftHalo 6.8s ease-in-out infinite;
}

.brand img,
.footer-logo {
  width: 100%;
  height: auto;
  filter:
    brightness(1.15)
    contrast(1.06)
    saturate(1.05)
    drop-shadow(0 0 5px rgba(59, 226, 238, 0.16))
    drop-shadow(0 7px 16px rgba(0, 0, 0, 0.42));
}

.brand img {
  transform-origin: center;
  will-change: filter, transform;
}

@keyframes wallcraftBrandAura {
  0%, 100% {
    opacity: 0.28;
    transform: scale(0.99);
  }

  50% {
    opacity: 0.52;
    transform: scale(1.028);
  }
}

@keyframes wallcraftBrandSoftHalo {
  0%, 100% {
    opacity: 0.12;
    transform: scale(0.996);
  }

  50% {
    opacity: 0.24;
    transform: scale(1.018);
  }
}

@keyframes wallcraftBrandRing {
  0%, 100% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(240, 211, 140, 0.54);
  border-radius: 999px;
  overflow: hidden;
  color: #fff1c8;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 850;
  background:
    linear-gradient(135deg, rgba(240, 211, 140, 0.16), rgba(25, 191, 209, 0.075) 48%, rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.045);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(240, 211, 140, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -12px 22px rgba(0, 0, 0, 0.18);
  text-shadow: 0 1px 12px rgba(240, 211, 140, 0.24);
  backdrop-filter: blur(18px) saturate(1.18);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.header-cta::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(240, 211, 140, 0.17), transparent 46%, rgba(25, 191, 209, 0.08));
  opacity: 0.78;
}

.header-cta::after {
  content: "";
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -65%;
  width: 54px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  opacity: 0.4;
  transform: skewX(-18deg);
  transition: left 0.72s ease;
  pointer-events: none;
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
  color: #fff7dc;
  border-color: rgba(240, 211, 140, 0.78);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(240, 211, 140, 0.16),
    0 0 18px rgba(25, 191, 209, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -12px 22px rgba(0, 0, 0, 0.16);
}

.header-cta:hover::after,
.header-cta:focus-visible::after {
  left: 118%;
}

.menu-button {
  position: relative;
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  cursor: pointer;
  color: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.menu-button::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(43, 226, 238, 0.24), rgba(240, 211, 140, 0.22));
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.22s ease;
}

.menu-button span {
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: transform 0.22s ease, background 0.22s ease, width 0.22s ease;
}

.menu-button[aria-expanded="true"] {
  border-color: rgba(240, 211, 140, 0.36);
  background:
    linear-gradient(180deg, rgba(240, 211, 140, 0.12), rgba(25, 191, 209, 0.08)),
    rgba(4, 10, 18, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.menu-button[aria-expanded="true"]::before {
  opacity: 1;
}

.menu-button[aria-expanded="true"] span:first-child {
  width: 22px;
  transform: translateY(4px) rotate(42deg);
  background: var(--gold-light);
}

.menu-button[aria-expanded="true"] span:last-child {
  width: 22px;
  transform: translateY(-4px) rotate(-42deg);
  background: var(--gold-light);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 140px 0 72px;
  background: #05080d;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 12, 0.96) 0%, rgba(4, 10, 18, 0.82) 34%, rgba(4, 10, 18, 0.32) 64%, rgba(4, 10, 18, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 8, 13, 0.2) 0%, rgba(5, 8, 13, 0.86) 100%),
    url("../images/hero.png") center / cover no-repeat;
  transform: scale(1.01);
}

.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 610px) 1fr;
  align-items: center;
}

.hero-copy {
  padding-top: 34px;
}


.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 18px;
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero h1,
.section-head h2,
.intro-copy h2,
.split-copy h2,
.quote-copy h2 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 0.96;
  font-weight: 650;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(4rem, 9vw, 8.9rem);
  text-wrap: balance;
}

.hero-text {
  max-width: 600px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  overflow: hidden;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 800;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #06111b;
  border-color: rgba(240, 211, 140, 0.52);
  background: linear-gradient(135deg, #f6df9d 0%, #d3a047 45%, #ffefbb 100%);
  box-shadow: 0 18px 42px rgba(214, 168, 78, 0.22);
}

.button-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(20px);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.hero-proof span,
.surface-list span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 3;
  width: 1px;
  height: 62px;
  background: linear-gradient(180deg, transparent, rgba(240, 211, 140, 0.55));
}

.scroll-cue span {
  position: absolute;
  left: -4px;
  top: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gold-light);
  animation: scrollCue 1.6s ease-in-out infinite;
}

@keyframes scrollCue {
  0% { transform: translateY(0); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateY(54px); opacity: 0; }
}

.section-pad {
  padding: 120px 0;
}

.intro {
  position: relative;
  border-top: 1px solid var(--white-line);
}

.intro::before,
.services::before,
.split-feature::after,
.process::after,
.work::after,
.quote::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 211, 140, 0.34), transparent);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.45fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.intro-copy h2,
.section-head h2,
.split-copy h2,
.quote-copy h2 {
  font-size: clamp(2.6rem, 5.4vw, 5.8rem);
}

.intro-copy p,
.split-copy p,
.quote-copy p {
  margin: 28px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.08rem;
}

.intro-card,
.service-card,
.timeline-item,
.quote-form,
.work-card {
  border: 1px solid rgba(255, 255, 255, 0.105);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.intro-card {
  padding: 28px;
}

.intro-card strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.25;
}

.intro-card p {
  color: var(--muted);
  line-height: 1.65;
}

.services,
.quote {
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 0.82fr 1.6fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 20px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 211, 140, 0.28);
  box-shadow:
    0 30px 86px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(214, 168, 78, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.service-card-image {
  background: #07111b;
}

.service-card-image::before,
.service-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.service-card-image::before {
  z-index: 0;
  background-image: var(--service-image);
  background-position: var(--service-position, center);
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.025);
  filter: saturate(0.92) contrast(1.04) brightness(0.86);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.service-card-image::after {
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(3, 7, 12, 0.22) 0%,
      rgba(3, 7, 12, 0.18) 30%,
      rgba(3, 7, 12, 0.66) 66%,
      rgba(3, 7, 12, 0.94) 100%
    ),
    linear-gradient(
      125deg,
      rgba(25, 191, 209, 0.11),
      transparent 43%,
      rgba(214, 168, 78, 0.12)
    );
  transition: background 0.4s ease;
}

.service-card-image:hover::before {
  transform: scale(1.085);
  filter: saturate(1.05) contrast(1.06) brightness(0.9);
}

.service-card-image:hover::after {
  background:
    linear-gradient(
      180deg,
      rgba(3, 7, 12, 0.16) 0%,
      rgba(3, 7, 12, 0.14) 28%,
      rgba(3, 7, 12, 0.61) 64%,
      rgba(3, 7, 12, 0.92) 100%
    ),
    linear-gradient(
      125deg,
      rgba(25, 191, 209, 0.15),
      transparent 43%,
      rgba(214, 168, 78, 0.16)
    );
}

.service-card-mural {
  --service-image: url("../images/basement.png");
  --service-position: center;
}

.service-card-commercial {
  --service-image: url("../images/gym.png");
  --service-position: center;
}

.service-card-industrial {
  --service-image: url("../images/school.png");
  --service-position: center;
}

.service-card-glass {
  --service-image: url("../images/shoes.png");
  --service-position: center;
}

.service-number,
.timeline-item span {
  position: relative;
  z-index: 3;
  display: inline-flex;
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.service-card-image .service-number {
  align-self: flex-start;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(240, 211, 140, 0.3);
  border-radius: 999px;
  color: #ffe8a8;
  background:
    linear-gradient(135deg, rgba(240, 211, 140, 0.14), rgba(25, 191, 209, 0.08)),
    rgba(3, 7, 12, 0.7);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}

.service-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  margin-top: auto;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(240, 211, 140, 0.07), transparent 42%),
    linear-gradient(180deg, rgba(6, 14, 24, 0.76), rgba(3, 8, 14, 0.91));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.service-card-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(240, 211, 140, 0.72),
    rgba(25, 191, 209, 0.42),
    transparent
  );
  opacity: 0.78;
}

.service-card:hover .service-card-content {
  transform: translateY(-2px);
  border-color: rgba(240, 211, 140, 0.25);
  background:
    linear-gradient(135deg, rgba(240, 211, 140, 0.1), transparent 44%),
    linear-gradient(180deg, rgba(6, 14, 24, 0.8), rgba(3, 8, 14, 0.94));
}

.service-card h3,
.timeline-item h3,
.work-card h3 {
  position: relative;
  z-index: 2;
  margin: 78px 0 14px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.service-card-content h3 {
  display: block;
  min-height: 3.18em;
  margin: 0 0 11px;
  max-width: 240px;
  color: #fff9ec;
  font-size: clamp(1.3rem, 1.55vw, 1.5rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 720;
  text-wrap: balance;
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.95),
    0 0 22px rgba(240, 211, 140, 0.08);
}

.service-card p,
.timeline-item p,
.work-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-card-content p {
  color: rgba(247, 242, 231, 0.86);
  font-size: 0.94rem;
  line-height: 1.58;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.92);
}

.split-feature {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    linear-gradient(90deg, rgba(25, 191, 209, 0.06), transparent 48%);
}

.split-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 72px;
  align-items: center;
}

.surface-panel {
  min-height: 590px;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  background: #07111b;
  box-shadow: var(--shadow);
}

.surface-visual {
  height: 100%;
  min-height: 590px;
  background:
    linear-gradient(135deg, rgba(5, 8, 13, 0.1), rgba(5, 8, 13, 0.68)),
    url("../images/hero.png") 72% center / cover no-repeat;
  transform: scale(1.05);
}

.surface-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.process {
  position: relative;
  background:
    radial-gradient(circle at 52% 30%, rgba(214, 168, 78, 0.1), transparent 34rem),
    radial-gradient(circle at 12% 88%, rgba(25, 191, 209, 0.09), transparent 28rem);
}

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

/* Process cards now use the same premium image-card system as Services. */
.timeline-item {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 20px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.14);
  background: #07111b;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 211, 140, 0.28);
  box-shadow:
    0 30px 86px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(214, 168, 78, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.timeline-item-image::before,
.timeline-item-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.timeline-item-image::before {
  z-index: 0;
  background-image: var(--timeline-image);
  background-position: var(--timeline-position, center);
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.025);
  filter: saturate(0.92) contrast(1.04) brightness(0.86);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.timeline-item-image::after {
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(3, 7, 12, 0.22) 0%,
      rgba(3, 7, 12, 0.18) 30%,
      rgba(3, 7, 12, 0.66) 66%,
      rgba(3, 7, 12, 0.94) 100%
    ),
    linear-gradient(
      125deg,
      rgba(25, 191, 209, 0.11),
      transparent 43%,
      rgba(214, 168, 78, 0.12)
    );
  transition: background 0.4s ease;
}

.timeline-item-image:hover::before {
  transform: scale(1.085);
  filter: saturate(1.05) contrast(1.06) brightness(0.9);
}

.timeline-item-image:hover::after {
  background:
    linear-gradient(
      180deg,
      rgba(3, 7, 12, 0.16) 0%,
      rgba(3, 7, 12, 0.14) 28%,
      rgba(3, 7, 12, 0.61) 64%,
      rgba(3, 7, 12, 0.92) 100%
    ),
    linear-gradient(
      125deg,
      rgba(25, 191, 209, 0.15),
      transparent 43%,
      rgba(214, 168, 78, 0.16)
    );
}

.timeline-measure {
  --timeline-image: url("../images/measure.png");
  --timeline-position: center;
}

.timeline-artwork {
  --timeline-image: url("../images/artwork.png");
  --timeline-position: center;
}

.timeline-setup {
  --timeline-image: url("../images/print.png");
  --timeline-position: center;
}

.timeline-reveal {
  --timeline-image: url("../images/hero.png");
  --timeline-position: 68% center;
}

.timeline-item-image .timeline-number {
  position: relative;
  z-index: 3;
  align-self: flex-start;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid rgba(240, 211, 140, 0.3);
  border-radius: 999px;
  color: #ffe8a8;
  background:
    linear-gradient(135deg, rgba(240, 211, 140, 0.14), rgba(25, 191, 209, 0.08)),
    rgba(3, 7, 12, 0.7);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.16em;
  font-weight: 800;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}

.timeline-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  margin-top: auto;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(240, 211, 140, 0.07), transparent 42%),
    linear-gradient(180deg, rgba(6, 14, 24, 0.76), rgba(3, 8, 14, 0.91));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.timeline-card-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(240, 211, 140, 0.72),
    rgba(25, 191, 209, 0.42),
    transparent
  );
  opacity: 0.78;
}

.timeline-item:hover .timeline-card-content {
  transform: translateY(-2px);
  border-color: rgba(240, 211, 140, 0.25);
  background:
    linear-gradient(135deg, rgba(240, 211, 140, 0.1), transparent 44%),
    linear-gradient(180deg, rgba(6, 14, 24, 0.8), rgba(3, 8, 14, 0.94));
}

.timeline-card-content h3 {
  position: relative;
  z-index: 2;
  display: block;
  min-height: 2.3em;
  margin: 0 0 11px;
  max-width: 240px;
  color: #fff9ec;
  font-size: clamp(1.3rem, 1.55vw, 1.5rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 720;
  text-wrap: balance;
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.95),
    0 0 22px rgba(240, 211, 140, 0.08);
}

.timeline-card-content p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(247, 242, 231, 0.86);
  font-size: 0.94rem;
  line-height: 1.58;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.92);
}

.work {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.work-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  grid-auto-rows: 290px;
  gap: 18px;
}

.work-card {
  position: relative;
  overflow: hidden;
  min-height: 290px;
}

.work-card-large {
  grid-row: span 2;
}

.work-art {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.work-card:hover .work-art {
  transform: scale(1.05);
}

.art-one {
  background:
    linear-gradient(180deg, transparent, rgba(3, 7, 12, 0.82)),
    url("../images/hero.png") 70% center / cover no-repeat;
}

.art-two {
  background:
    linear-gradient(180deg, rgba(3, 7, 12, 0.08), rgba(3, 7, 12, 0.84)),
    linear-gradient(115deg, rgba(2, 12, 24, 0.16), rgba(16, 142, 158, 0.12) 42%, rgba(214, 168, 78, 0.18)),
    url("../images/hero2.png") center / cover no-repeat;
}

.art-three {
  background:
    linear-gradient(180deg, rgba(3, 7, 12, 0.10), rgba(3, 7, 12, 0.86)),
    linear-gradient(125deg, rgba(2, 12, 24, 0.12), rgba(16, 142, 158, 0.10) 45%, rgba(214, 168, 78, 0.16)),
    url("../images/hero3.png") center / cover no-repeat;
}

.work-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.work-content span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-light);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 800;
}

.work-card h3 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
}

.quote-band {
  padding: 38px 0;
  border-block: 1px solid rgba(240, 211, 140, 0.22);
  background: linear-gradient(90deg, rgba(214, 168, 78, 0.11), rgba(25, 191, 209, 0.08), rgba(214, 168, 78, 0.08));
}

.quote-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.quote-band p {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 60px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  color: var(--muted);
}

.contact-details a {
  color: var(--gold-light);
  font-weight: 800;
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

label {
  display: grid;
  gap: 9px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(3, 7, 12, 0.5);
  color: var(--text);
  padding: 16px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(240, 211, 140, 0.62);
  box-shadow: 0 0 0 4px rgba(214, 168, 78, 0.11);
}

input::placeholder,
textarea::placeholder {
  color: rgba(247, 242, 231, 0.36);
}

select {
  appearance: none;
}

.file-field input {
  padding: 14px;
}

.trap {
  display: none;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.site-footer {
  padding: 56px 0 calc(56px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #03070c;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 44px;
  align-items: center;
}

.footer-logo {
  width: 160px;
  margin-bottom: 14px;
  opacity: 0.42;
  filter:
    brightness(0.88)
    contrast(0.96)
    saturate(0.72)
    drop-shadow(0 5px 14px rgba(0, 0, 0, 0.28));
}

.site-footer p,
.footer-meta span {
  margin: 0;
  color: var(--muted-2);
}

.footer-links,
.footer-meta {
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.footer-links a:hover,
.footer-meta a:hover {
  color: var(--gold-light);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1020px) {
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 44;
    pointer-events: none;
    opacity: 0;
    background:
      radial-gradient(circle at 78% 9%, rgba(25, 191, 209, 0.18), transparent 20rem),
      radial-gradient(circle at 18% 0%, rgba(240, 211, 140, 0.12), transparent 18rem),
      rgba(2, 6, 12, 0.48);
    backdrop-filter: blur(2px);
    transition: opacity 0.28s ease;
  }

  body.menu-open::before {
    opacity: 1;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .mobile-nav {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 118px);
    left: 14px;
    right: 14px;
    z-index: 49;
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 30px;
    border: 1px solid rgba(240, 211, 140, 0.16);
    background:
      linear-gradient(135deg, rgba(240, 211, 140, 0.08), transparent 34%),
      radial-gradient(circle at 92% 0%, rgba(25, 191, 209, 0.16), transparent 18rem),
      linear-gradient(180deg, rgba(5, 13, 23, 0.96), rgba(3, 8, 15, 0.92));
    backdrop-filter: blur(28px) saturate(1.18);
    box-shadow:
      0 26px 80px rgba(0, 0, 0, 0.48),
      inset 0 1px 0 rgba(255, 255, 255, 0.09);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px) scale(0.985);
    transform-origin: top center;
    overflow: hidden;
    max-height: calc(100svh - 138px - env(safe-area-inset-bottom, 0px));
    transition: opacity 0.28s ease, transform 0.28s ease;
  }

  .mobile-nav::before {
    content: "";
    height: 1px;
    width: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(43, 226, 238, 0.42), rgba(240, 211, 140, 0.44), transparent);
    margin-bottom: 4px;
  }

  .mobile-nav::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -100px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(43, 226, 238, 0.12), transparent 66%);
    pointer-events: none;
  }

  .mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .mobile-nav a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0 18px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.075);
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.082), rgba(255, 255, 255, 0.032));
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.14em;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.065);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  }

  .mobile-nav a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-top: 1px solid rgba(240, 211, 140, 0.78);
    border-right: 1px solid rgba(240, 211, 140, 0.78);
    transform: rotate(45deg);
    opacity: 0.78;
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus-visible {
    transform: translateX(3px);
    color: var(--gold-light);
    border-color: rgba(240, 211, 140, 0.26);
    background:
      linear-gradient(135deg, rgba(240, 211, 140, 0.12), rgba(25, 191, 209, 0.08));
  }

  .hero-grid,
  .intro-grid,
  .section-head,
  .split-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .hero-bg {
    background:
      linear-gradient(90deg, rgba(3, 7, 12, 0.96) 0%, rgba(4, 10, 18, 0.78) 54%, rgba(4, 10, 18, 0.2) 100%),
      linear-gradient(180deg, rgba(5, 8, 13, 0.2) 0%, rgba(5, 8, 13, 0.92) 100%),
      url("../images/hero.png") 60% center / cover no-repeat;
  }

  .intro-grid,
  .split-grid,
  .quote-grid {
    gap: 34px;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 740px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand {
    width: 142px;
    transform: translateY(15px);
  }

  .site-header.is-scrolled .brand,
  .site-header.menu-active .brand {
    transform: translateY(13px);
  }

  .hero {
    min-height: 92svh;
    padding: 122px 0 54px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 17vw, 5.6rem);
  }

  .hero-actions,
  .quote-band-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section-pad {
    padding: 84px 0;
  }

  .service-grid,
  .timeline,
  .work-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .work-card-large {
    grid-row: span 1;
  }

  .surface-panel,
  .surface-visual {
    min-height: 390px;
  }

  .intro-copy h2,
  .section-head h2,
  .split-copy h2,
  .quote-copy h2 {
    font-size: clamp(2.4rem, 13vw, 4.2rem);
  }

  .service-card,
  .timeline-item {
    min-height: 260px;
  }

  .service-card-image {
    min-height: 350px;
    padding: 16px;
  }

  .service-card-content {
    min-height: 0;
    padding: 20px;
    border-radius: 20px;
  }

  .service-card-content h3 {
    min-height: 0;
    max-width: none;
    font-size: 1.42rem;
  }


  .timeline-item-image {
    min-height: 350px;
    padding: 16px;
  }

  .timeline-card-content {
    min-height: 0;
    padding: 20px;
    border-radius: 20px;
  }

  .timeline-card-content h3 {
    min-height: 0;
    max-width: none;
    font-size: 1.42rem;
  }

  .quote-form {
    padding: 20px;
  }

  .scroll-cue {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand::before,
  .brand::after,
  .scroll-cue span,
  .reveal {
    animation: none;
    transition: none;
  }
}

/* =========================================================
   Premium quote prompt
   Added without changing any existing WallCraft selectors.
   ========================================================= */

.quote-prompt {
  position: fixed;
  right: max(22px, env(safe-area-inset-right, 0px));
  bottom: max(22px, env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(410px, calc(100vw - 44px));
  padding: 18px 18px 18px 20px;
  border: 1px solid rgba(240, 211, 140, 0.27);
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 10%, rgba(25, 191, 209, 0.13), transparent 14rem),
    linear-gradient(135deg, rgba(240, 211, 140, 0.085), transparent 42%),
    rgba(4, 10, 18, 0.91);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.44),
    0 0 24px rgba(214, 168, 78, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(24px) saturate(1.15);
  -webkit-backdrop-filter: blur(24px) saturate(1.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px) scale(0.985);
  transition:
    opacity 0.34s ease,
    visibility 0.34s ease,
    transform 0.34s ease;
}

.quote-prompt.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.quote-prompt__copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.quote-prompt__eyebrow {
  color: var(--gold-light);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-weight: 800;
}

.quote-prompt__copy strong {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.quote-prompt__detail {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.quote-prompt__action {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(240, 211, 140, 0.46);
  border-radius: 999px;
  color: #07111b;
  background: linear-gradient(135deg, #f6df9d, #d3a047 52%, #ffefbb);
  box-shadow: 0 12px 28px rgba(214, 168, 78, 0.18);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 850;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.quote-prompt__action:hover,
.quote-prompt__action:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 15px 34px rgba(214, 168, 78, 0.25);
}

.quote-prompt__close {
  position: absolute;
  top: -10px;
  right: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(3, 7, 12, 0.94);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  line-height: 1;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.quote-prompt__close span {
  transform: translateY(-1px);
  font-size: 20px;
  font-weight: 300;
}

.quote-prompt__close:hover,
.quote-prompt__close:focus-visible {
  color: var(--gold-light);
  border-color: rgba(240, 211, 140, 0.38);
  transform: scale(1.04);
}

@media (max-width: 740px) {
  .quote-prompt {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
    left: 14px;
    width: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 15px 14px 15px 16px;
    border-radius: 20px;
  }

  .quote-prompt__copy strong {
    font-size: 0.98rem;
  }

  .quote-prompt__detail {
    display: none;
  }

  .quote-prompt__action {
    width: auto;
    min-height: 42px;
    padding-inline: 14px;
  }

  .quote-prompt__close {
    top: -9px;
    right: -5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-prompt,
  .quote-prompt__action,
  .quote-prompt__close {
    transition: none;
  }
}



/* =========================================================
   iPhone Safari primary-button paint fix
   Keeps the gold CTA fully rendered before the first tap.
   ========================================================= */

.button-primary {
  -webkit-appearance: none;
  appearance: none;
  background-color: #d6a84e;
  background-image: linear-gradient(
    135deg,
    #f6df9d 0%,
    #d3a047 45%,
    #ffefbb 100%
  );
  color: #06111b;
  opacity: 1;
  visibility: visible;
  isolation: isolate;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
}

.button-primary:link,
.button-primary:visited,
.button-primary:hover,
.button-primary:focus,
.button-primary:focus-visible,
.button-primary:active {
  color: #06111b;
  background-color: #d6a84e;
  background-image: linear-gradient(
    135deg,
    #f6df9d 0%,
    #d3a047 45%,
    #ffefbb 100%
  );
}

/* The hero is above the fold, so it should never wait for IntersectionObserver. */
.hero-copy {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Mobile-only premium navigation refinement
   Anchors the menu beneath the real header height so it can
   never clip or overlap the logo/header bar on iPhone.
   ========================================================= */
@media (max-width: 740px) {
  .mobile-nav {
    /* The nav sits inside the fixed header, so absolute positioning
       makes it follow the header's true height in both states. */
    position: absolute;
    top: calc(100% + 12px);
    left: 12px;
    right: 12px;

    gap: 8px;
    padding: 14px;
    border-radius: 28px;
    border-color: rgba(240, 211, 140, 0.22);
    background:
      radial-gradient(circle at 92% 2%, rgba(25, 191, 209, 0.18), transparent 16rem),
      radial-gradient(circle at 4% 100%, rgba(214, 168, 78, 0.10), transparent 15rem),
      linear-gradient(145deg, rgba(240, 211, 140, 0.075), transparent 38%),
      linear-gradient(180deg, rgba(6, 16, 27, 0.985), rgba(3, 9, 16, 0.97));
    box-shadow:
      0 30px 90px rgba(0, 0, 0, 0.58),
      0 0 0 1px rgba(25, 191, 209, 0.035),
      0 0 34px rgba(25, 191, 209, 0.055),
      inset 0 1px 0 rgba(255, 255, 255, 0.10),
      inset 0 -1px 0 rgba(240, 211, 140, 0.05);
    backdrop-filter: blur(30px) saturate(1.22);
    -webkit-backdrop-filter: blur(30px) saturate(1.22);

    max-height: calc(100svh - 150px - env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mobile-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav::before {
    width: auto;
    margin: 0 8px 3px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(43, 226, 238, 0.52),
      rgba(240, 211, 140, 0.62),
      transparent
    );
    box-shadow: 0 0 14px rgba(25, 191, 209, 0.10);
  }

  .mobile-nav::after {
    right: -70px;
    bottom: -90px;
    width: 210px;
    height: 210px;
    background: radial-gradient(circle, rgba(43, 226, 238, 0.15), transparent 67%);
  }

  .mobile-nav a {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 10px;
    align-items: center;
    column-gap: 14px;
    min-height: 56px;
    padding: 0 16px;
    border-radius: 17px;
    border-color: rgba(255, 255, 255, 0.09);
    background:
      radial-gradient(circle at 100% 0%, rgba(25, 191, 209, 0.075), transparent 9rem),
      linear-gradient(135deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.032));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.075),
      inset 0 -1px 0 rgba(255, 255, 255, 0.025),
      0 12px 26px rgba(0, 0, 0, 0.13);
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .mobile-nav a::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(240, 211, 140, 0.19);
    border-radius: 999px;
    color: rgba(240, 211, 140, 0.80);
    background:
      linear-gradient(135deg, rgba(240, 211, 140, 0.09), rgba(25, 191, 209, 0.055)),
      rgba(3, 8, 14, 0.36);
    font-size: 9px;
    line-height: 1;
    letter-spacing: 0.08em;
    font-weight: 850;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .mobile-nav a:nth-child(1)::before { content: "01"; }
  .mobile-nav a:nth-child(2)::before { content: "02"; }
  .mobile-nav a:nth-child(3)::before { content: "03"; }
  .mobile-nav a:nth-child(4)::before { content: "04"; }
  .mobile-nav a:nth-child(5)::before { content: "05"; }

  .mobile-nav a::after {
    justify-self: end;
    width: 7px;
    height: 7px;
    border-color: rgba(240, 211, 140, 0.82);
    filter: drop-shadow(0 0 7px rgba(240, 211, 140, 0.20));
  }

  .mobile-nav a:hover,
  .mobile-nav a:focus-visible,
  .mobile-nav a:active {
    transform: translateX(2px);
    border-color: rgba(240, 211, 140, 0.28);
    background:
      radial-gradient(circle at 100% 0%, rgba(25, 191, 209, 0.12), transparent 9rem),
      linear-gradient(135deg, rgba(240, 211, 140, 0.13), rgba(25, 191, 209, 0.075));
  }

  .site-header.menu-active .menu-button {
    box-shadow:
      0 18px 42px rgba(0, 0, 0, 0.38),
      0 0 22px rgba(240, 211, 140, 0.10),
      inset 0 1px 0 rgba(255, 255, 255, 0.10);
  }
}
