/* ============================================================
   Distinctive Cabinets, LLC - Homepage Concept
   Design language: Modern Clinical (type, spacing, motion only)
   Palette: Distinctive Cabinets' real monochrome brand
   (#181818 ink + white, from distinctivecabinets.com; warm
   neutrals drawn from their own photography)
   ============================================================ */

:root {
  /* Backgrounds */
  --ink:        #181818;   /* their site's near-black, most used non-white */
  --ink-2:      #222220;   /* lifted dark for panels on dark */
  --paper:      #ffffff;
  --paper-soft: #f7f6f4;   /* warm off-white from their photography neutrals */

  /* Lines + accents */
  --line:        #e6e3de;
  --line-dark:   rgba(255,255,255,0.14);
  --accent:      #181818;
  --accent-mut:  rgba(24,24,24,0.08);
  --steel:       #2b5672;  /* their site's masthead blue, used sparingly */
  --steel-soft:  rgba(43,86,114,0.1);

  /* Text */
  --text-dark:   #181818;
  --text-body:   #4c4c4e;  /* within their grey family (#5d5d61 on their site) */
  --text-muted:  #767678;
  --text-light:  rgba(255,255,255,0.92);
  --text-light-muted: rgba(255,255,255,0.62);

  /* Type */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Layout */
  --container: min(90%, 1100px);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 76px;

  /* Motion (Modern Clinical) */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-body);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

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

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
  will-change: transform;
}
.btn .btn__arrow {
  width: 15px; height: 15px;
  flex: none;
  transition: transform 0.35s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { background: #2e2e2c; }
.btn--ghost { border: 1px solid var(--line); color: var(--text-dark); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper-soft); }
.btn--ghost-light { border: 1px solid var(--line-dark); color: var(--text-light); }
.btn--ghost-light:hover { border-color: rgba(255,255,255,0.5); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(24,24,24,0.05);
}
.nav__inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  color: var(--text-dark);
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  padding-block: 0.65rem;
}
.wordmark small {
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  margin-left: 0.35rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2rem);
}
.nav__links a:not(.btn) {
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-body);
  position: relative;
  padding: 0.4rem 0;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav__links a:not(.btn):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__links .btn { padding: 0.6rem 1.25rem; font-size: 0.85rem; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  position: relative;
  z-index: 80;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  color: var(--text-dark);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn {
  margin-top: 1.5rem;
  align-self: flex-start;
  font-size: 1rem;
  border-bottom: none;
  font-family: var(--font-body);
}
.mobile-menu__meta {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: stretch;
}
.hero__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + clamp(2rem, 6vh, 4rem)) clamp(1.5rem, 5vw, 4.5rem) clamp(2.5rem, 6vh, 4rem) max(5vw, calc((100vw - 1100px) / 2));
  background: var(--paper);
}
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.3rem);
  margin: 1.4rem 0 1.3rem;
}
.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  font-weight: 300;
  color: var(--text-body);
  max-width: 34rem;
  margin-bottom: 2.2rem;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: clamp(2.2rem, 6vh, 3.6rem); }
.hero__specs {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero__spec { max-width: 12rem; }
.hero__spec strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}
.hero__spec span { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; display: block; }
.hero__media {
  position: relative;
  overflow: hidden;
  min-height: 46svh;
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}
.hero__caption {
  position: absolute;
  left: 1.2rem; bottom: 1.2rem;
  background: rgba(24,24,24,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text-light);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
}

/* ---------- Dark intro ---------- */
.intro {
  background: var(--ink);
  color: var(--text-light);
  padding: clamp(4rem, 9vw, 7rem) 0;
  position: relative;
  overflow: hidden;
}
.intro__mark {
  position: absolute;
  right: clamp(-3rem, -1vw, 0rem);
  bottom: -8%;
  height: 115%;
  width: auto;
  opacity: 0.1;
  filter: invert(1) brightness(1.6);
  pointer-events: none;
  user-select: none;
}
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  position: relative;
  z-index: 1;
}
.intro .eyebrow { color: var(--text-light-muted); }
.intro h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  margin-top: 1.3rem;
}
.intro__copy p {
  font-weight: 300;
  color: var(--text-light-muted);
  margin-bottom: 1.1rem;
  max-width: 32rem;
}
.intro__copy p strong { color: var(--text-light); font-weight: 400; }
.press {
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-dark);
}
.press__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 0.9rem;
}
.press ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}
.press li {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--text-light);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
}

/* ---------- Work index (signature) ---------- */
.work {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--paper);
}
.work__head { margin-bottom: clamp(2.2rem, 5vw, 3.6rem); max-width: 40rem; }
.work__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: 1.3rem; margin-bottom: 1rem; }
.work__head p { font-weight: 300; }
.work__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.work__list { border-top: 1px solid var(--line); }
.work__item { border-bottom: 1px solid var(--line); }
.work__item-btn {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  text-align: left;
  padding: 1.15rem 0.4rem;
  transition: padding 0.35s var(--ease);
}
.work__num {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--steel);
  flex: none;
  width: 1.7rem;
}
.work__name {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--text-dark);
  transition: opacity 0.3s var(--ease);
}
.work__item-btn .work__go {
  margin-left: auto;
  width: 17px; height: 17px;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  flex: none;
  align-self: center;
}
.work__item.is-active .work__item-btn { padding-left: 0.9rem; }
.work__item.is-active .work__go { opacity: 1; transform: translateX(0); }
.work__item:not(.is-active) .work__name { opacity: 0.55; }
.work__item:hover .work__name { opacity: 1; }
.work__item-img { display: none; }

.work__preview {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
  aspect-ratio: 4 / 3.1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(24,24,24,0.12);
}
.work__preview img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s var(--ease);
}
.work__preview img.is-shown { opacity: 1; }
.work__preview-tag {
  position: absolute;
  left: 1rem; bottom: 1rem;
  z-index: 2;
  background: rgba(255,255,255,0.92);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}
/* ---------- Method ---------- */
.method {
  background: var(--paper-soft);
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.method__head { max-width: 42rem; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.method__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: 1.3rem; margin-bottom: 1rem; }
.method__head p { font-weight: 300; }
.method__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
.method__card {
  background: var(--paper);
  border-radius: 12px;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  box-shadow: 0 10px 30px rgba(24,24,24,0.06);
  border: 1px solid rgba(24,24,24,0.04);
}
.method__step {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--steel);
  display: block;
  margin-bottom: 1.1rem;
}
.method__card h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
}
.method__card p { font-size: 0.93rem; font-weight: 300; }
.method__foot {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.method__foot-media {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
  box-shadow: 0 14px 40px rgba(24,24,24,0.1);
}
.method__foot-media img { width: 100%; height: 100%; object-fit: cover; }
.method__foot-copy h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 0.9rem; }
.method__foot-copy p { font-weight: 300; margin-bottom: 1rem; max-width: 30rem; }

/* ---------- Team ---------- */
.team { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--paper); }
.team__head { max-width: 40rem; margin-bottom: clamp(2.2rem, 5vw, 3.2rem); }
.team__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: 1.3rem; margin-bottom: 1rem; }
.team__head p { font-weight: 300; }
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
.team__card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.team__card:hover {
  border-color: rgba(24,24,24,0.35);
  box-shadow: 0 12px 34px rgba(24,24,24,0.07);
}
.team__initials {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
}
.team__card h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 0.2rem; }
.team__role { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; letter-spacing: 0.02em; }
.team__card a {
  font-size: 0.86rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
  overflow-wrap: anywhere;
}
.team__card a:hover { color: var(--text-dark); border-color: var(--ink); }

/* ---------- Testimonials ---------- */
.quotes {
  background: var(--ink);
  color: var(--text-light);
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.quotes .eyebrow { color: var(--text-light-muted); }
.quotes h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: 1.3rem; margin-bottom: clamp(2.2rem, 5vw, 3.2rem); }
.quotes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
.quote {
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.quote__glyph {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--text-light-muted);
}
.quote p {
  font-weight: 300;
  color: var(--text-light);
  font-size: 0.99rem;
  flex: 1;
}
.quote cite {
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}

/* ---------- CTA ---------- */
.cta { padding: clamp(4.5rem, 10vw, 8rem) 0; background: var(--paper); }
.cta__box { text-align: center; max-width: 46rem; margin-inline: auto; }
.cta h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-top: 1.3rem; margin-bottom: 1.2rem; }
.cta p { font-weight: 300; max-width: 34rem; margin: 0 auto 2.2rem; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-bottom: 2.4rem; }
.cta__meta { font-size: 0.88rem; color: var(--text-muted); line-height: 2; }
.cta__meta a { border-bottom: 1px solid var(--line); }
.cta__meta a:hover { color: var(--text-dark); border-color: var(--ink); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--text-light-muted);
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer__brand .wordmark { color: #fff; }
.footer__brand .wordmark small { color: var(--text-light-muted); }
.footer__brand p {
  font-size: 0.88rem;
  font-weight: 300;
  max-width: 22rem;
  margin-top: 1rem;
}
.footer__mark {
  height: 88px;
  width: auto;
  margin-top: 1.4rem;
  filter: invert(1) brightness(1.7);
  opacity: 0.5;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: 1.1rem;
}
.footer ul li a {
  display: inline-block;
  font-size: 0.9rem;
  padding-block: 0.3rem;
  color: var(--text-light-muted);
  transition: color 0.3s var(--ease);
}
.footer ul li a:hover { color: #fff; }
.footer address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 2;
}
.footer address a { transition: color 0.3s var(--ease); }
.footer address a:hover { color: #fff; }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 1.6rem;
  font-size: 0.78rem;
}

/* ---------- Reveal (GSAP hooks) ---------- */
.reveal { opacity: 0; transform: translateY(24px); }
html.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.error-section {
  min-height: 100svh;
  background: var(--ink);
  color: var(--text-light);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 2rem) 0 3rem;
}
.error-section .intro__mark { height: 100%; bottom: -4%; }
.error__code {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 16vw, 10rem);
  color: rgba(255,255,255,0.12);
  line-height: 1;
}
.error-section h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0.6rem 0 1rem; }
.error-section p { color: var(--text-light-muted); font-weight: 300; max-width: 30rem; margin-bottom: 2rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__mark { opacity: 0.06; }
}

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

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__panel {
    padding: calc(var(--nav-h) + 3rem) 5% 3rem;
    min-height: auto;
  }
  .hero__media { min-height: 54svh; }

  .work__grid { grid-template-columns: 1fr; }
  .work__preview { display: none; }
  .work__list { border-top: none; }
  .work__item { border-bottom: none; margin-bottom: 1.4rem; }
  .work__item-btn {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0;
    pointer-events: none;
  }
  .work__item.is-active .work__item-btn { padding-left: 0; }
  .work__item:not(.is-active) .work__name { opacity: 1; }
  .work__item-btn .work__go { display: none; }
  .work__num { width: auto; }
  .work__item-img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10.5;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(24,24,24,0.1);
    order: -1;
  }

  .method__grid { grid-template-columns: 1fr; }
  .method__foot { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; }
  .quotes__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer ul li a { padding-block: 0.65rem; }
  .team__card a,
  .cta__meta a,
  .footer address a {
    display: inline-block;
    padding-block: 0.65rem;
  }
  .footer address { line-height: 1.5; }
  .cta__meta { line-height: 1.7; }
}

@media (max-width: 480px) {
  .hero__panel { padding-top: calc(var(--nav-h) + 2.2rem); }
  .hero h1 { font-size: clamp(2.1rem, 9.5vw, 2.6rem); }
  .hero__specs { gap: 1rem 1.5rem; }
  .btn { padding: 0.8rem 1.35rem; font-size: 0.88rem; }
}

/* ---------- 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: rgb(24, 24, 24);
  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; }
/* The homepage opening ends exactly at the viewport edge. */
.hero{height:100vh;height:100svh;min-height:0;max-height:100svh;overflow:hidden}
