/* =====================================================
   ABDGI — Adam Butler Disc Golf Invitational
   styles.css
   ===================================================== */

/* ── Design Tokens ── */
:root {
  /* Fluid type scale */
  --text-xs: clamp(.75rem, .7rem + .25vw, .875rem);
  --text-sm: clamp(.875rem, .8rem + .35vw, 1rem);
  --text-base: clamp(1rem, .95rem + .25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + .75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, .5rem + 7vw, 8rem);

  /* Spacing */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Fonts */
  --font-display: 'Clash Display', 'Arial Black', sans-serif;
  --font-body: 'Archivo', 'Helvetica Neue', sans-serif;

  /* Colour — Light Mode */
  --bg: #F5F0E8;
  --surface: #1A2E1A;
  --ink: #1A2E1A;
  --ink-2: #3D5C3A;
  --muted: #8A9E87;
  --line: #C8BFA8;
  --accent: #B8860B;
  --accent-deep: #8B6308;
  --accent-soft: #F0DFA0;
  --cream: #F8F4EA;
  --card-bg: #EDE8DC;
}

[data-theme="dark"] {
  --bg: #111C11;
  --surface: #0E180E;
  --ink: #F5F0E8;
  --ink-2: #C8BFA8;
  --muted: #6A836A;
  --line: #2E422E;
  --accent: #D4A017;
  --accent-deep: #B8860B;
  --accent-soft: #3A320A;
  --cream: #E8E2D4;
  --card-bg: #1A2A1A;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }

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

ul { list-style: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-8);
}

@media (max-width: 600px) {
  .container { padding-inline: var(--space-6); }
}

/* ── Section Padding ── */
.section-pad {
  padding-block: var(--space-24);
}

/* ── Labels & Headings ── */
.section-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
  display: block;
}

.section-label--gold {
  color: var(--accent);
}

.section-heading {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--space-6);
}

.section-heading--cream {
  color: var(--cream);
}

/* ── Body Copy ── */
.body-copy {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: var(--space-4);
}

.body-copy--cream {
  color: #C8BFA8;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: var(--space-4) var(--space-8);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .15s ease;
  text-decoration: none;
  min-height: 44px;
  line-height: 1.2;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn-accent {
  background-color: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background-color: var(--accent-deep);
  transform: translateY(-1px);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ======================================================
   HEADER / NAV
   ====================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(8, 14, 8, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184, 134, 11, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-8);
  height: 68px;
  gap: var(--space-8);
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #C8BFA8;
  transition: color .2s;
  padding-block: var(--space-2);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
  outline: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: 1px solid rgba(200, 191, 168, 0.3);
  border-radius: var(--radius-sm);
  color: #C8BFA8;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.theme-icon { display: flex; align-items: center; justify-content: center; }
.theme-icon--dark { display: none; }

[data-theme="dark"] .theme-icon--light { display: none; }
[data-theme="dark"] .theme-icon--dark { display: flex; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid rgba(200, 191, 168, 0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: var(--space-2);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #C8BFA8;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  height: calc(100vh - 68px);
  background: rgba(14, 22, 14, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
}

.mobile-nav-overlay.open {
  display: flex;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  width: 100%;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #F5F0E8;
  text-align: center;
  display: block;
  padding: var(--space-3) var(--space-8);
  min-height: 44px;
  letter-spacing: .03em;
  transition: color .2s;
  width: 100%;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible {
  color: var(--accent);
  outline: none;
}

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

@media (max-width: 600px) {
  .nav-inner { padding-inline: var(--space-6); height: 60px; }
  .mobile-nav-overlay { top: 60px; height: calc(100vh - 60px); }
}

/* ======================================================
   HERO
   ====================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url(assets/hero-photo.jpg);
  background-size: cover;
  background-position: center 30%;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-24);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 22, 14, 0.35) 0%,
    rgba(14, 22, 14, 0.55) 50%,
    rgba(14, 22, 14, 0.82) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-8);
  width: 100%;
  padding-top: 100px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
  display: block;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.0;
  color: #F5F0E8;
  margin-bottom: var(--space-6);
  text-align: left;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: #C8BFA8;
  line-height: 1.5;
  margin-bottom: var(--space-8);
  max-width: 560px;
}

@media (max-width: 600px) {
  .hero { padding-bottom: var(--space-16); }
  .hero-content { padding-inline: var(--space-6); }
  .hero-sub { max-width: 100%; }
}

/* ======================================================
   ABOUT
   ====================================================== */
.about-section {
  background-color: var(--bg);
  padding-top: calc(var(--space-24) + var(--space-8));
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-text {
  max-width: 560px;
}

.about-quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--ink-2);
  border-top: 2px solid var(--line);
  padding-top: var(--space-6);
  margin-top: var(--space-6);
  line-height: 1.45;
}

.about-photo {
  position: relative;
}

.about-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

@media (max-width: 800px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .about-text { max-width: 100%; }
  .about-img { aspect-ratio: 4 / 3; }
}

/* ======================================================
   SCHEDULE
   ====================================================== */
.schedule-section {
  background-color: var(--card-bg);
}

[data-theme="dark"] .schedule-section {
  background-color: var(--card-bg);
}

.schedule-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-12);
}

.schedule-day {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--space-8);
  align-items: start;
  padding-block: var(--space-12);
  border-top: 1px solid var(--line);
}

.schedule-day--right {
  /* same layout, just positioned after the image break */
}

.schedule-day-label {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-2);
}

.day-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.day-name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.schedule-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: var(--space-8);
}

[data-theme="dark"] .schedule-card {
  background: rgba(255, 255, 255, 0.04);
}

.schedule-card-header h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--space-1);
}

.schedule-location {
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: var(--space-6);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.schedule-events {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.schedule-events li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--space-4);
  align-items: baseline;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--line);
}

.schedule-events li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.event-time {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.event-name {
  font-size: var(--text-base);
  color: var(--ink);
  font-weight: 500;
}

/* Schedule break image */
.schedule-break-img {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
}

.break-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.break-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 22, 14, 0.5);
  display: flex;
  align-items: flex-end;
  padding: var(--space-8);
}

.break-label {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: #C8BFA8;
  letter-spacing: .02em;
}

@media (max-width: 680px) {
  .schedule-day {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .day-num { font-size: var(--text-2xl); }
  .schedule-break-img { height: 240px; }
}

/* ======================================================
   THE JACKET (dark full-bleed section)
   ====================================================== */
.jacket-section {
  background-color: var(--surface);
  padding-block: var(--space-24);
}

[data-theme="dark"] .jacket-section {
  background-color: #0A130A;
}

.jacket-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.jacket-text {
  order: 1;
}

.jacket-photo {
  order: 2;
  position: relative;
}

.jacket-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  border: 1px solid rgba(184, 134, 11, 0.3);
}

@media (max-width: 800px) {
  .jacket-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .jacket-photo { order: -1; }
  .jacket-img { aspect-ratio: 4 / 3; }
}

/* ======================================================
   GALLERY
   ====================================================== */
.gallery-section {
  background-color: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.gallery-cell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-cell img {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.gallery-cell--large {
  grid-column: 1;
  grid-row: 1 / 3;
}

.gallery-cell--large img {
  aspect-ratio: 3 / 4;
}

.gallery-cell--stack-top {
  grid-column: 2;
  grid-row: 1;
}

.gallery-cell--stack-top img {
  aspect-ratio: 4 / 3;
}

.gallery-cell--stack-bottom {
  grid-column: 2;
  grid-row: 2;
}

.gallery-cell--stack-bottom img {
  aspect-ratio: 4 / 3;
}

.gallery-cell:hover img {
  transform: scale(1.03);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4) var(--space-6);
  background: linear-gradient(to top, rgba(14, 22, 14, 0.75), transparent);
  color: #F5F0E8;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: italic;
  font-weight: 500;
}

@media (max-width: 680px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-cell--large { grid-column: 1; grid-row: auto; }
  .gallery-cell--large img { aspect-ratio: 4 / 3; }
  .gallery-cell--stack-top { grid-column: 1; grid-row: auto; }
  .gallery-cell--stack-bottom { grid-column: 1; grid-row: auto; }
}

/* ======================================================
   CONTACT
   ====================================================== */
.contact-section {
  background-color: var(--card-bg);
}

[data-theme="dark"] .contact-section {
  background-color: var(--card-bg);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-16);
  align-items: center;
}

.contact-text {
  max-width: 540px;
}

.contact-logo-img {
  display: block;
}

.site-logo {
  mix-blend-mode: screen;
}

@media (max-width: 700px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .contact-logo-mark { display: none; }
}

/* ======================================================
   FOOTER
   ====================================================== */
.site-footer {
  background-color: var(--surface);
  padding-block: var(--space-16);
  border-top: 1px solid rgba(184, 134, 11, 0.2);
}

[data-theme="dark"] .site-footer {
  background-color: #080E08;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.footer-logo {
  flex-shrink: 0;
}

.footer-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-line {
  font-size: var(--text-sm);
  color: #8A9E87;
  font-family: var(--font-body);
}

.footer-link {
  color: var(--accent);
  transition: color .2s;
}

.footer-link:hover { color: #D4A017; }

.footer-tribute {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--cream);
  font-style: italic;
  margin-top: var(--space-2);
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-6);
  }
}

/* ======================================================
   FOCUS STATES
   ====================================================== */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ======================================================
   SCROLL MARGIN (for fixed header)
   ====================================================== */
#about, #schedule, #the-jacket, #gallery, #contact {
  scroll-margin-top: 80px;
}

/* === VIBESITE-GUARDRAILS (auto, do not edit) === */
/* 1) No horizontal scroll, ever. A phone should never scroll side-to-side. */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
/* Media and embeds can't exceed their container and force overflow. */
img, video, canvas, svg, iframe, table, pre {
  max-width: 100%;
}
img, video, canvas { height: auto; }
/* Long unbreakable strings (URLs, emails) shouldn't push layout wider. */
body { overflow-wrap: break-word; }

/* 1b) Head-safe photo cropping. When the model uses object-fit: cover to fill a
   fixed-ratio frame (hero, gallery, card, feature), the default center crop
   lops the tops off heads on portrait/group photos. Bias the focal point
   slightly ABOVE center so faces at the top of a shot survive the crop. We only
   set object-position (never object-fit), so we don't change whether an image is
   cropped — just where. Logos, icons, and avatars are excluded because they
   should never be cropped and are usually already centered.

   CRITICAL: the selector is wrapped in :where() so it contributes ZERO
   specificity. This is only a DEFAULT — any intentional per-element rule the
   model or a user edit writes (e.g. .intro__img with object-position center 60%
   to reveal a lake below center) must be able to override it. Without :where(),
   the four :not([attr]) clauses gave this rule specificity (0,4,1), which
   silently beat every single-class override — so image-reframing edits appeared
   to do nothing. :where() fixes that class of bug for all sites. */
:where(img:not([class*="logo" i]):not([class*="icon" i]):not([class*="avatar" i]):not([alt*="logo" i])) {
  object-position: 50% 30%;
}

@media (max-width: 640px) {
  /* Belt-and-suspenders: on phones, force the mobile menu to be a real
     full-height overlay panel instead of a cramped scrolling strip.
     Only takes effect once the menu is actually opened (toggle class present),
     so it never interferes with the closed/desktop state. */
  .primary-nav.is-open,
  .primary-nav.open,
  .primary-nav.active,
  .nav-menu.is-open,
  .nav-menu.open,
  .nav-menu.active,
  .mobile-nav.is-open,
  .mobile-nav.open,
  .mobile-nav.active,
  nav.is-open,
  nav.open,
  nav.active,
  [data-nav].is-open,
  [data-nav="open"] {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    /* Anchor just below the header and fill the rest of the screen so the menu
       is a real full-height overlay, never a short clipped strip. */
    top: var(--vs-nav-top, 64px) !important;
    bottom: 0 !important;
    /* Explicit height (not just top+bottom) so a transformed ancestor or an
       inherited fixed height can't collapse the panel into a clipped strip. */
    height: calc(100dvh - var(--vs-nav-top, 64px)) !important;
    min-height: calc(100dvh - var(--vs-nav-top, 64px)) !important;
    max-height: none !important;
    width: 100% !important;
    max-width: 100vw !important;
    /* Fully opaque background so the page content never shows through the open
       menu. Prefer a solid surface/bg token over the (often translucent)
       nav background. */
    background-color: var(--surface, var(--bg, #ffffff)) !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 9999 !important;
  }
  /* Force the menu's list to be a full, visible, scrollable column of links —
     defeats any inherited fixed height / clipping on the list itself. */
  .primary-nav.is-open > ul, .primary-nav.is-open > div > ul, .primary-nav.is-open ul,
  .primary-nav.open > ul, .primary-nav.open > div > ul, .primary-nav.open ul,
  .primary-nav.active > ul, .primary-nav.active > div > ul, .primary-nav.active ul,
  .nav-menu.is-open > ul, .nav-menu.is-open > div > ul, .nav-menu.is-open ul,
  .nav-menu.open > ul, .nav-menu.open > div > ul, .nav-menu.open ul,
  .nav-menu.active > ul, .nav-menu.active > div > ul, .nav-menu.active ul,
  .mobile-nav.is-open > ul, .mobile-nav.is-open > div > ul, .mobile-nav.is-open ul,
  .mobile-nav.open > ul, .mobile-nav.open > div > ul, .mobile-nav.open ul,
  .mobile-nav.active > ul, .mobile-nav.active > div > ul, .mobile-nav.active ul,
  nav.is-open > ul, nav.is-open > div > ul, nav.is-open ul,
  nav.open > ul, nav.open > div > ul, nav.open ul,
  nav.active > ul, nav.active > div > ul, nav.active ul,
  [data-nav].is-open > ul, [data-nav].is-open > div > ul, [data-nav].is-open ul,
  [data-nav="open"] > ul, [data-nav="open"] > div > ul, [data-nav="open"] ul {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    width: 100% !important;
  }
  /* Comfortable, tappable rows so the panel reads as a menu, not a squeezed bar. */
  .primary-nav.is-open li, .primary-nav.is-open a,
  .primary-nav.open li, .primary-nav.open a,
  .primary-nav.active li, .primary-nav.active a,
  .nav-menu.is-open li, .nav-menu.is-open a,
  .nav-menu.open li, .nav-menu.open a,
  .nav-menu.active li, .nav-menu.active a,
  .mobile-nav.is-open li, .mobile-nav.is-open a,
  .mobile-nav.open li, .mobile-nav.open a,
  .mobile-nav.active li, .mobile-nav.active a,
  nav.is-open li, nav.is-open a,
  nav.open li, nav.open a,
  nav.active li, nav.active a,
  [data-nav].is-open li, [data-nav].is-open a,
  [data-nav="open"] li, [data-nav="open"] a {
    width: 100% !important;
    display: block !important;
    min-height: 44px !important;
  }
}
/* === END VIBESITE-GUARDRAILS === */
