/* Sarasota Kitchen Company - homepage concept
   Design language: Urban Sophisticate (type/spacing/composition/motion only)
   Palette: THEIR brand. Logo navy #17205d, logo turquoise #45e9dc,
   logo steel facets #46527d, site theme accent #248da3, site dark #213242.
   No em dashes in this file. */

:root {
  /* Backgrounds: their logo indigo/navy family, deepened for dark sections */
  --ink:        #0c1126;
  --ink-2:      #121936;
  --ink-3:      #182047;
  --navy:       #17205d;   /* exact logo navy */
  --steel:      #46527d;   /* exact logo facet */
  --porcelain:  #f3f4f7;
  --mist:       #e8ebf1;

  /* Accent: their logo turquoise + their theme teal, deepened for light bg */
  --teal:        #45e9dc;  /* exact logo turquoise: on-dark accents only */
  --teal-mid:    #248da3;  /* their theme accent (fl-accent-hover) */
  --teal-deep:   #14646f;  /* teal-mid deepened, small text on light bg */
  --teal-glow:   rgba(69, 233, 220, 0.14);

  /* Text */
  --text-dark:   #141a30;
  --text-body:   #454b5e;
  --text-muted:  #6e7488;
  --text-light:  rgba(255, 255, 255, 0.86);
  --text-light-muted: rgba(255, 255, 255, 0.6);

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Work Sans', -apple-system, sans-serif;

  /* Layout */
  --container: min(90%, 1100px);
  --wide:      min(94%, 1320px);
  --nav-h:     78px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text-body);
  background: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container { width: var(--container); margin-inline: auto; }
.wide      { width: var(--wide); margin-inline: auto; }

/* ---------- type ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 300; line-height: 1.12; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.on-dark .eyebrow { color: var(--teal); }

.section-head { max-width: 42rem; }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: var(--text-dark);
  margin: 1.1rem 0 1rem;
}
.on-dark .section-head h2 { color: var(--text-light); }
.section-head p { max-width: 36rem; }
.on-dark p { color: var(--text-light-muted); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.95rem 1.7rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.45s var(--ease);
  will-change: transform;
}
.btn .btn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  transition: transform 0.45s var(--ease);
}
.btn:hover .btn-dot { transform: scale(1.5); }

.btn-solid { background: var(--teal); color: var(--ink); }
.btn-solid:hover { background: #63eee3; }

.btn-outline { border-color: rgba(255, 255, 255, 0.3); color: var(--text-light); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

.btn-outline-dark { border-color: rgba(20, 26, 48, 0.35); color: var(--text-dark); }
.btn-outline-dark:hover { border-color: var(--teal-deep); color: var(--teal-deep); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  z-index: 400;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav.scrolled {
  background: rgba(12, 17, 38, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);
}
.nav-inner {
  width: var(--wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.8rem; min-width: 0; }
.brand img {
  height: 40px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
}
.brand-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}
.brand-name span { display: block; font-weight: 300; font-size: 0.62rem; letter-spacing: 0.4em; color: var(--text-light-muted); }

.nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  transition: color 0.35s var(--ease);
  padding-block: 0.65rem;
}
.nav-links a:hover { color: var(--teal); }
/* .nav-links a (0,1,1) outranked .btn-solid (0,1,0), so the solid teal nav CTA
   inherited muted white and shipped at 1.25:1 (GEMINI rule 51). Restore the
   intended ink-on-teal. Color only - no layout/copy change. */
.nav-links a.btn-solid, .nav-links a.btn-solid:hover { color: var(--ink); }
.nav-cta { margin-left: 0.4rem; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 460;
  align-items: center;
}
.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-light);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(12, 17, 38, 0.98);
  z-index: 450;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 6vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  color: var(--text-light);
  padding-block: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.35s var(--ease), padding-left 0.35s var(--ease);
}
.mobile-menu a:hover { color: var(--teal); padding-left: 0.5rem; }
.mobile-menu .menu-contact {
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 0;
  color: var(--text-light-muted);
  margin-top: 1.6rem;
  padding-block: 0.65rem;
}

/* ---------- hero (editorial masthead) ---------- */

.hero {
  background: var(--ink);
  padding-top: calc(var(--nav-h) + clamp(3rem, 9vh, 6.5rem));
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -12%;
  width: 55vw;
  height: 55vw;
  max-width: 760px;
  max-height: 760px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 62%);
  pointer-events: none;
}
.hero-inner { width: var(--wide); margin-inline: auto; position: relative; z-index: 2; }
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}
.hero-eyebrow::before { content: ""; width: 2.4rem; height: 1px; background: currentColor; }
.hero h1 {
  font-size: clamp(3rem, 10.5vw, 8.2rem);
  color: var(--text-light);
  margin: 1.4rem 0 0;
  letter-spacing: -0.02em;
}
.hero h1 em { font-style: italic; color: var(--teal); }
.hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  margin-top: 1.8rem;
}
.hero-sub {
  max-width: 33rem;
  color: var(--text-light-muted);
  font-size: 1.02rem;
}
.hero-ctas { display: flex; gap: 0.9rem; flex-shrink: 0; flex-wrap: wrap; }

.hero-stage { margin-top: clamp(2.5rem, 6vh, 4.5rem); position: relative; z-index: 2; }
.hero-media {
  width: var(--wide);
  margin-inline: auto;
  border-top: 1px solid var(--teal);
  overflow: hidden;
  aspect-ratio: 21 / 9;
}
.hero-media img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  will-change: transform;
}

/* ---------- intro / welcome ---------- */

.section { padding-block: clamp(3.4rem, 7vw, 5.6rem); }
.s-light { background: var(--porcelain); }
.s-mist  { background: var(--mist); }
.s-dark  { background: var(--ink-2); }
.s-ink   { background: var(--ink); }

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.intro-copy h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  color: var(--text-dark);
  margin: 1.1rem 0 1.3rem;
}
.intro-copy h2 em { font-style: italic; color: var(--teal-deep); }
.intro-copy p + p { margin-top: 1rem; }
.intro-media { position: relative; }
.intro-media img { aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%; }
.intro-media::before {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 62%;
  height: 62%;
  border: 1px solid var(--teal-mid);
  z-index: -1;
  transform: translate(0, 0);
}

.why-list { list-style: none; margin-top: 2rem; border-top: 1px solid rgba(20, 26, 48, 0.14); }
.why-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(20, 26, 48, 0.14);
  font-size: 0.98rem;
  color: var(--text-dark);
  font-weight: 400;
}
.why-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  transform: rotate(45deg);
  translate: 0 -1px;
}
.why-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-top: 2.6rem;
  display: block;
}

/* ---------- signature kitchens ---------- */

.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.work-head p { max-width: 26rem; }

.feature {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  margin-top: clamp(2.8rem, 6vw, 4.6rem);
}
.feature-media { grid-column: 1 / span 8; grid-row: 1; overflow: hidden; }
.feature-media img { aspect-ratio: 16 / 11; object-fit: cover; width: 100%; transition: transform 1.1s var(--ease); }
.feature:hover .feature-media img { transform: scale(1.035); }
.feature-panel {
  grid-column: 8 / -1;
  grid-row: 1;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: clamp(1.5rem, 3vw, 2.6rem);
  z-index: 2;
}
.feature.flip .feature-media { grid-column: 5 / -1; }
.feature.flip .feature-panel { grid-column: 1 / span 5; }
.feature-kicker {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
}
.feature-panel h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--text-light);
  margin: 0.8rem 0 0.9rem;
}
.feature-panel p { font-size: 0.93rem; color: var(--text-light-muted); }

/* ---------- stone library ---------- */

.stone-tabs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}
.stone-tab {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-body);
  background: transparent;
  border: 1px solid rgba(20, 26, 48, 0.22);
  border-radius: 100px;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
.stone-tab:hover { border-color: var(--teal-deep); color: var(--teal-deep); }
.stone-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.stone-stage {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  margin-top: 2.2rem;
  align-items: stretch;
}
.stone-media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.stone-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.stone-media img.active { opacity: 1; }
.stone-info { display: flex; flex-direction: column; justify-content: center; position: relative; }
.stone-info-panel { display: none; }
.stone-info-panel.active { display: block; animation: stoneIn 0.6s var(--ease); }
@keyframes stoneIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.stone-info h3 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--text-dark);
  margin-bottom: 0.9rem;
}
.stone-info p { font-size: 0.96rem; }
.stone-index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--teal-deep);
  margin-bottom: 0.7rem;
  display: block;
}

/* ---------- service levels ---------- */

.levels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
}
.level {
  background: var(--ink-2);
  padding: clamp(1.5rem, 2.6vw, 2.3rem);
  position: relative;
  transition: background 0.5s var(--ease);
}
.level:hover { background: var(--ink-3); }
.level-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--teal);
}
.level h3 { font-size: 1.28rem; color: var(--text-light); margin: 1rem 0 0.8rem; }
.level p { font-size: 0.9rem; color: var(--text-light-muted); }
.levels-note {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 3vw, 2.5rem);
}
.levels-note article { border-left: 1px solid var(--teal); padding-left: 1.3rem; }
.levels-note h4 { font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; color: var(--text-light); margin-bottom: 0.4rem; }
.levels-note p { font-size: 0.9rem; color: var(--text-light-muted); }

/* ---------- cabinetry & closets ---------- */

.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.2rem);
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
}
.craft-card { background: #fff; border: 1px solid rgba(20, 26, 48, 0.1); }
.craft-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.craft-body { padding: clamp(1.4rem, 2.6vw, 2.2rem); }
.craft-body h3 { font-size: 1.45rem; color: var(--text-dark); margin-bottom: 0.8rem; }
.craft-body p { font-size: 0.94rem; }
.craft-body p + p { margin-top: 0.8rem; }
.craft-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--teal-deep);
  font-size: 1rem;
}

.closet-steps { list-style: none; margin-top: 1.2rem; }
.closet-steps li { display: flex; gap: 0.9rem; padding: 0.55rem 0; font-size: 0.93rem; align-items: baseline; }
.closet-steps .step-name { font-weight: 500; color: var(--text-dark); white-space: nowrap; }
.closet-steps li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  transform: rotate(45deg);
  translate: 0 -1px;
}

/* ---------- reviews ---------- */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
}
.review {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(1.5rem, 2.6vw, 2.2rem);
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
}
.review-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--teal);
  height: 2.4rem;
}
.review p { font-size: 0.95rem; color: var(--text-light); flex: 1; }
.review footer { margin-top: 1.5rem; }
.review cite {
  font-style: normal;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-light);
  display: block;
}
.review .review-src {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(4.2rem, 9vw, 7rem);
  background: linear-gradient(160deg, var(--ink) 0%, var(--navy) 130%);
}
.cta-mark {
  position: absolute;
  right: -4%;
  bottom: -18%;
  width: clamp(220px, 30vw, 420px);
  opacity: 0.08;
  pointer-events: none;
}
.cta h2 {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  color: var(--text-light);
  margin: 1.2rem 0 1rem;
}
.cta h2 em { font-style: italic; color: var(--teal); }
.cta p { color: var(--text-light-muted); max-width: 30rem; margin-inline: auto; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }
.cta-addr { margin-top: 2.4rem; font-size: 0.85rem; color: var(--text-light-muted); letter-spacing: 0.06em; }

/* ---------- footer ---------- */

.footer { background: var(--ink); border-top: 1px solid rgba(255, 255, 255, 0.08); padding-block: clamp(2.6rem, 5vw, 4rem) 1.6rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.footer-brand { display: flex; align-items: flex-start; gap: 0.9rem; }
.footer-brand img { height: 44px; width: auto; max-width: 52px; object-fit: contain; }
.footer-tag { color: var(--text-light-muted); font-size: 0.9rem; margin-top: 0.8rem; max-width: 20rem; }
.footer h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; }
.footer ul a, .footer address a, .footer address span {
  color: var(--text-light-muted);
  font-size: 0.92rem;
  font-style: normal;
  display: inline-block;
  padding-block: 0.35rem;
  transition: color 0.35s var(--ease);
}
.footer ul a:hover, .footer address a:hover { color: var(--teal); }
.footer address { font-style: normal; }
.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-light-muted);
}

/* ---------- 404 ---------- */

.error-section {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--ink);
  padding: calc(var(--nav-h) + 2rem) 1.5rem 3rem;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 12rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--teal);
  line-height: 1;
  opacity: 0.65;
}
.error-section h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--text-light); margin: 1.2rem 0 1rem; }
.error-section p { color: var(--text-light-muted); max-width: 28rem; margin: 0 auto 2rem; }

/* ---------- reveal helpers ---------- */

.reveal-el { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) {
  .reveal-el { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .nav-links { gap: 1.3rem; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: flex; }

  .hero-row { flex-direction: column; align-items: flex-start; }
  .hero-media { aspect-ratio: 16 / 10; }

  .intro-grid { grid-template-columns: 1fr; }
  .intro-media { max-width: 30rem; }

  .feature { display: block; }
  .feature-media img { aspect-ratio: 16 / 10; }
  .feature-panel { margin: -2.2rem 0 0 auto; width: min(92%, 30rem); position: relative; }
  .feature.flip .feature-panel { margin: -2.2rem auto 0 0; }

  .stone-stage { grid-template-columns: 1fr; }
  .levels-grid { grid-template-columns: 1fr 1fr; }
  .levels-note { grid-template-columns: 1fr; }
  .craft-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .stone-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .stone-tabs::-webkit-scrollbar { display: none; }
  .stone-tab { flex-shrink: 0; }

  .work-head { flex-direction: column; align-items: flex-start; }
  .levels-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer ul a, .footer address a, .footer address span { padding-block: 0.65rem; }
  .hero h1 { font-size: clamp(2.7rem, 13.5vw, 4rem); }
  .cta-btns .btn { width: 100%; justify-content: center; }
}

/* ---------- Mobile drawer close control ---------- */
/* The burger doubles as the close (X), but the nav's own z-index traps it in a
   stacking context below the drawer, so it is painted over and cannot be tapped.
   This control lives inside the drawer, so it is always visible and always hits. */
#mobileMenu .mnav-close {
  position: absolute;
  top: max(0.85rem, env(safe-area-inset-top, 0px));
  right: 0.85rem;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.86);
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}
#mobileMenu .mnav-close::before,
#mobileMenu .mnav-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 21px;
  height: 1.5px;
  margin: -0.75px 0 0 -10.5px;
  background: currentColor;
  border-radius: 2px;
}
#mobileMenu .mnav-close::before { transform: rotate(45deg); }
#mobileMenu .mnav-close::after { transform: rotate(-45deg); }
#mobileMenu .mnav-close:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
