/* ==========================================================================
   Anaya Bridal Couture - demo website
   Register: Indian couture house. Deep maroon, antique gold, ivory.
   Typography: Cormorant Garamond (display) + Jost (interface)
   ========================================================================== */

:root {
  --ink: #140a0e;
  --ink-2: #1e1014;
  --maroon: #5a1526;
  --maroon-deep: #3d0d1a;
  --gold: #c8a24a;
  --gold-soft: #e0c88a;
  --ivory: #faf4ec;
  --ivory-2: #f2e9dc;
  --sand: #d9c9b4;
  --body: #4a4038;
  --line: rgba(200, 162, 74, 0.26);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-ui: "Jost", "Inter", system-ui, sans-serif;

  --shell: 1280px;
  --gutter: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  background: var(--ivory);
  color: var(--body);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; background: var(--ivory-2); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.005em;
}

::selection { background: var(--maroon); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 50%; top: -80px; transform: translateX(-50%); z-index: 300;
  background: var(--maroon); color: var(--ivory); padding: 12px 22px; font-size: 0.85rem;
  letter-spacing: 0.08em; text-transform: uppercase; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

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

.overline {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 18px;
}
.section-title { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: 18px; }
.section-title em { font-style: italic; color: var(--maroon); }
.lede { font-size: 1.02rem; color: var(--body); max-width: 60ch; }

.rule {
  width: 54px; height: 1px; background: var(--gold); margin: 0 0 22px;
  position: relative;
}
.rule::after {
  content: ""; position: absolute; left: 50%; top: -2.5px; width: 5px; height: 5px;
  background: var(--gold); transform: translateX(-50%) rotate(45deg);
}
.center .rule { margin-inline: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-ui);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--maroon);
  background: var(--maroon); color: var(--ivory);
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: var(--maroon-deep); border-color: var(--maroon-deep); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--maroon); }
.btn-outline:hover { background: var(--maroon); color: var(--ivory); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn-light { background: transparent; border-color: rgba(250, 244, 236, 0.5); color: var(--ivory); }
.btn-light:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn-sm { padding: 11px 22px; font-size: 0.7rem; }

/* ---------- Announcement ---------- */

.announce {
  background: var(--ink);
  color: var(--gold-soft);
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 11px var(--gutter);
}
.announce a { color: var(--ivory); border-bottom: 1px solid var(--gold); padding-bottom: 1px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(250, 244, 236, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  height: 84px;
}
.logo { justify-self: center; text-align: center; grid-column: 2; }
.logo .name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.logo .tag {
  display: block;
  font-size: 0.56rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}
.nav { display: flex; align-items: center; gap: 26px; grid-column: 1; }
.nav a {
  font-size: 0.74rem; letter-spacing: 0.17em; text-transform: uppercase;
  color: var(--ink); position: relative; padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.nav a:hover::after { width: 100%; }
.header-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 14px; }
.header-right .phone { font-size: 0.74rem; letter-spacing: 0.1em; color: var(--ink); }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line);
  background: transparent; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 18px; height: 1px; background: var(--ink);
  transform: translateX(-50%); transition: transform 0.3s var(--ease), background 0.2s;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { content: ""; left: 0; transform: translateY(-6px); }
.nav-toggle span::after { content: ""; left: 0; transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: clamp(540px, 86vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(20, 10, 14, 0.88) 0%, rgba(20, 10, 14, 0.58) 42%, rgba(20, 10, 14, 0.2) 75%),
    linear-gradient(to top, rgba(20, 10, 14, 0.7), transparent 45%);
}
.hero-content { position: relative; z-index: 2; padding: 90px 0; max-width: 640px; }
.hero-content .overline { color: var(--gold-soft); }
.hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  color: var(--ivory);
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero p {
  color: rgba(250, 244, 236, 0.82);
  font-size: 1.06rem;
  max-width: 50ch;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; z-index: 3;
  transform: translateX(-50%);
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(250, 244, 236, 0.6); display: grid; justify-items: center; gap: 9px;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 34px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* ---------- Marquee ---------- */

.marquee {
  background: var(--ink);
  border-top: 1px solid rgba(200, 162, 74, 0.2);
  border-bottom: 1px solid rgba(200, 162, 74, 0.2);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track {
  display: flex; gap: 60px; width: max-content;
  animation: slide 34s linear infinite;
}
.marquee span {
  font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-soft); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 60px;
}
.marquee span::after { content: "\2666"; color: var(--maroon); font-size: 0.6rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 740px; }
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Collections ---------- */

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 18px;
}
.collection {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.2;
  overflow: hidden;
  background: var(--ink);
}
.collection img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s;
  filter: brightness(0.86);
}
.collection:hover img { transform: scale(1.07); filter: brightness(0.66); }
.collection::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20, 10, 14, 0.9) 4%, transparent 52%);
  pointer-events: none;
}
.collection-label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 26px 24px;
  text-align: center;
}
.collection-label h3 {
  color: var(--ivory); font-size: 1.55rem; margin-bottom: 6px;
}
.collection-label p {
  font-size: 0.66rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-soft);
}
.collection-label .cta {
  display: block; margin-top: 14px;
  font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ivory);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.collection:hover .cta { opacity: 1; transform: none; }

/* ---------- Lookbook ---------- */

.lookbook { background: var(--ivory-2); }
.look-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.look-filters button {
  padding: 10px 22px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--body); cursor: pointer;
  transition: all 0.3s var(--ease);
}
.look-filters button:hover { border-color: var(--maroon); color: var(--maroon); }
.look-filters button[aria-pressed="true"] {
  background: var(--maroon); border-color: var(--maroon); color: var(--ivory);
}
.look-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
.look {
  position: relative; overflow: hidden; background: var(--sand);
  aspect-ratio: 3 / 4;
}
.look.is-hidden { display: none; }
.look img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.look:hover img { transform: scale(1.06); }
.look figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 44px 18px 18px;
  background: linear-gradient(to top, rgba(20, 10, 14, 0.9), transparent);
  color: var(--ivory);
}
.look figcaption strong { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; }
.look figcaption span { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- Atelier ---------- */

.atelier { background: var(--ink); color: rgba(250, 244, 236, 0.78); }
.atelier h2, .atelier h3 { color: var(--ivory); }
.atelier .lede { color: rgba(250, 244, 236, 0.74); }
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media .frame {
  position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold); z-index: -1;
}
.atelier-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  margin-top: 36px; background: rgba(200, 162, 74, 0.22);
}
.atelier-stats div { background: var(--ink); padding: 22px 16px; text-align: center; }
.atelier-stats b {
  display: block; font-family: var(--font-display); font-size: 2.1rem;
  color: var(--gold-soft); font-weight: 400; line-height: 1;
}
.atelier-stats span { font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; }

/* ---------- Process ---------- */

.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2px; background: var(--line); }
.process-step { background: var(--ivory); padding: 34px 28px; }
.process-step .n {
  font-family: var(--font-display); font-size: 2.6rem; color: var(--gold);
  line-height: 1; display: block; margin-bottom: 14px;
}
.process-step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.process-step p { font-size: 0.94rem; }

/* ---------- Testimonials ---------- */

.testimonials { background: var(--maroon-deep); color: rgba(250, 244, 236, 0.84); }
.testimonials h2 { color: var(--ivory); }
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote {
  border: 1px solid rgba(200, 162, 74, 0.3);
  padding: 32px 28px;
  background: rgba(0, 0, 0, 0.16);
}
.quote .stars { color: var(--gold); letter-spacing: 0.22em; font-size: 0.82rem; margin-bottom: 16px; }
.quote blockquote {
  font-family: var(--font-display); font-size: 1.22rem; line-height: 1.55;
  color: var(--ivory); font-style: italic; margin-bottom: 18px;
}
.quote cite { font-style: normal; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); }
.quote cite span { display: block; letter-spacing: 0.06em; text-transform: none; color: rgba(250, 244, 236, 0.6); margin-top: 4px; }

/* ---------- Press ---------- */

.press { padding: 52px 0; border-block: 1px solid var(--line); background: var(--ivory-2); }
.press ul { display: flex; flex-wrap: wrap; gap: clamp(26px, 5vw, 64px); align-items: center; justify-content: center; }
.press li {
  font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.4rem);
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink);
  opacity: 0.42; transition: opacity 0.3s;
}
.press li:hover { opacity: 0.9; }

/* ---------- Appointment ---------- */

.appointment { background: var(--ivory); }
.appt-wrap {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.appt-visual { position: relative; }
.appt-visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.appt-badge {
  position: absolute; right: -14px; bottom: -14px;
  background: var(--ink); color: var(--gold-soft);
  padding: 20px 24px; max-width: 230px;
  border: 1px solid var(--gold);
}
.appt-badge strong { font-family: var(--font-display); font-size: 1.4rem; display: block; color: var(--ivory); }
.appt-badge span { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }

form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label {
  display: block; font-size: 0.66rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(90, 21, 38, 0.1);
}
.field textarea { resize: vertical; min-height: 110px; }
.field .hint { font-size: 0.74rem; color: #8a7d70; margin-top: 6px; }
.form-note { font-size: 0.78rem; color: #8a7d70; }
.form-status {
  display: none; padding: 14px 16px; background: #eef7ee;
  border: 1px solid #b8d8b8; color: #2f5d2f; font-size: 0.9rem;
}
.form-status.is-visible { display: block; }

/* ---------- Visit ---------- */

.visit { background: var(--ink); color: rgba(250, 244, 236, 0.76); }
.visit h2, .visit h3 { color: var(--ivory); }
.visit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }
.visit-card { border: 1px solid rgba(200, 162, 74, 0.28); padding: 30px 26px; }
.visit-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.visit-card p { font-size: 0.94rem; }
.visit-card dl { display: grid; gap: 7px; margin-top: 14px; font-size: 0.88rem; }
.visit-card dl div { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px dotted rgba(200, 162, 74, 0.2); padding-bottom: 6px; }
.visit-card dt { color: var(--gold-soft); }

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.faq-item { background: var(--ivory); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 50px 22px 0;
  font-family: var(--font-display); font-size: 1.28rem; color: var(--ink);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--gold); line-height: 1; transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .answer { padding: 0 50px 24px 0; font-size: 0.96rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: rgba(250, 244, 236, 0.6); padding: clamp(50px, 7vw, 80px) 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(200, 162, 74, 0.2);
}
.footer-grid .logo { justify-self: start; text-align: left; }
.footer-grid .logo .name { color: var(--ivory); }
.footer-grid p { font-size: 0.9rem; margin-top: 16px; max-width: 38ch; }
.footer-grid h4 {
  font-family: var(--font-ui); font-size: 0.66rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid ul a { font-size: 0.9rem; transition: color 0.25s; }
.footer-grid ul a:hover { color: var(--gold-soft); }
.footer-base {
  padding-top: 24px; display: flex; justify-content: space-between; gap: 14px;
  flex-wrap: wrap; font-size: 0.78rem;
}
.footer-base a { color: var(--gold-soft); }
.demo-ribbon {
  background: var(--maroon); color: var(--ivory); text-align: center;
  font-size: 0.72rem; letter-spacing: 0.14em; padding: 10px var(--gutter);
}
.demo-ribbon a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .header-inner { grid-template-columns: auto 1fr auto; height: 72px; }
  .logo { grid-column: 2; justify-self: start; }
  .logo .name { font-size: 1.3rem; }
  .nav {
    position: fixed; inset: 72px 0 auto; z-index: 80;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 22px;
    transform: translateY(-130%); transition: transform 0.4s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 0.82rem; }
  .nav a::after { display: none; }
  .nav-toggle { display: block; grid-column: 1; }
  .header-right .phone, .header-right .btn { display: none; }
  .header-right .btn-sm { display: inline-flex; }
  .appt-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; }
  .field-row { grid-template-columns: 1fr; }
  .atelier-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .appt-badge { position: static; margin-top: 16px; max-width: none; }
  .header-right .btn-sm { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}


/* ==========================================================================
   Mobile header overflow fix
   The header bar only has room for the logo and the menu toggle on a phone,
   so every call-to-action is hidden there and re-rendered inside the menu.
   ========================================================================== */

.nav a.nav-cta { display: none; }

.header-inner { min-width: 0; }
.logo { min-width: 0; }

@media (max-width: 980px) {
  /* --- Mobile header: CTA moves into the menu panel --- */
  .header-right .btn,
  .header-right .phone { display: none !important; }
  .nav a.nav-cta {
    display: block;
    margin-top: 16px;
    padding: 15px 20px;
    text-align: center;
    background: var(--maroon);
    border: 1px solid var(--maroon);
    color: var(--ivory);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }
  .nav a.nav-cta::after { display: none; }

  /* The sticky header uses backdrop-filter, which makes it the containing
     block for this fixed panel. translateY() therefore measures from the
     header, not the viewport, so the slide alone cannot be trusted to push the
     menu off screen - hide it explicitly as well. */
  .nav {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.25s var(--ease),
                visibility 0.25s var(--ease);
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}
