/* ASE Victorian Branch stylesheet — self-hosted Roboto/Open Sans, no frameworks. */
@import url('fonts.css');

/* Teals sampled from the branch's own artwork so the site keeps its familiar colour:
   #1d8783 is the panel behind the white logo, #008e89/#00a79d are the ribbon. */
:root {
  --teal-900: #12554f;
  --teal-800: #17706c; /* header bar: #1d8783 darkened just enough for white text to pass WCAG AA */
  --teal-brand: #1d8783;
  --teal-700: #1a7a75;
  --teal-600: #00a79d;
  --teal-50:  #eef7f6;
  --orange:   #ea4c22;
  --orange-dark: #c93d16;
  --ink:      #1c2523;
  --ink-soft: #4a5754;
  --line:     #dfe6e4;
  --bg:       #ffffff;
  --bg-soft:  #f6f9f8;
  --radius:   10px;
  --wrap:     1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }
a  { color: var(--teal-700); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- header ----------
   Teal bar with a white logo and white links, as on the current site. */
.site-header {
  background: var(--teal-800);
  position: sticky; top: 0; z-index: 50;
}
.nav {
  display: flex; align-items: center; gap: 22px;
  min-height: 88px;
}
.nav .brand { display: flex; align-items: center; gap: 14px; text-decoration: none; border: none; }
.nav .brand:hover { border: none; }
.nav img { height: 64px; width: auto; display: block; }
/* Serif to match the logo's wordmark face */
.nav .wordmark {
  color: #fff; line-height: 1.22; font-size: .88rem; letter-spacing: .01em;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}
.nav .wordmark strong { display: block; font-size: 1rem; letter-spacing: .03em; font-weight: 700; }
.nav ul {
  list-style: none; display: flex; gap: 18px; align-items: center;
  margin: 0; padding: 0; margin-left: auto; flex-wrap: nowrap; white-space: nowrap;
}
.nav a {
  color: #fff; text-decoration: none; font-size: .9rem; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.nav .btn-login {
  background: var(--orange); border-radius: 6px; padding: 8px 16px; border: none; margin-left: 4px;
}
.nav .btn-login:hover { background: var(--orange-dark); border-bottom-color: transparent; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--teal-900), var(--teal-700));
  color: #fff; padding: 88px 0 76px; text-align: center;
}
.hero .eyebrow {
  text-transform: uppercase; letter-spacing: .16em; font-size: .78rem;
  opacity: .85; margin-bottom: 14px; font-weight: 600;
}
.hero h1 { max-width: 20ch; margin: 0 auto .6rem; }
.hero p.lede { max-width: 60ch; margin: 0 auto 28px; opacity: .92; font-size: 1.08rem; }

.btn {
  display: inline-block; background: var(--orange); color: #fff;
  text-decoration: none; font-weight: 600; padding: 13px 30px;
  border-radius: 6px; border: 2px solid var(--orange);
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- sections ---------- */
section { padding: 68px 0; }
section.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 70ch; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--ink-soft); margin: 0 0 .6em; }

/* ---------- next event banner ---------- */
.next-event {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff;
}
.next-event .body { padding: 34px 36px; }
.next-event .aside {
  background: var(--teal-50); padding: 34px 36px;
  border-left: 1px solid var(--line);
}
.tag {
  display: inline-block; background: var(--orange); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 4px; margin-bottom: 14px;
}
.meta { list-style: none; margin: 0 0 22px; padding: 0; color: var(--ink-soft); font-size: .95rem; }
.meta li { padding: 3px 0; }
.meta strong { color: var(--ink); font-weight: 600; }

/* price table — one event, both prices. No duplicate listings. */
.prices { width: 100%; border-collapse: collapse; font-size: .93rem; margin-bottom: 20px; }
.prices caption {
  text-align: left; font-weight: 700; font-size: .78rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft); padding-bottom: 10px;
}
.prices th, .prices td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); }
.prices th { font-weight: 500; color: var(--ink-soft); }
.prices td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.prices .member td { color: var(--teal-700); }
.prices tr:last-child th, .prices tr:last-child td { border-bottom: none; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; background: #fff;
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-soft); font-size: .96rem; }
.card .price { font-size: 2rem; font-weight: 700; color: var(--teal-700); letter-spacing: -.03em; }
.card .price span { font-size: .85rem; font-weight: 500; color: var(--ink-soft); }
.card ul { padding-left: 1.1em; margin: 0 0 22px; color: var(--ink-soft); font-size: .94rem; }
.card ul li { margin-bottom: 6px; }
.card.featured { border-color: var(--teal-600); border-width: 2px; position: relative; }
.card.featured::after {
  content: "Most common"; position: absolute; top: -11px; left: 24px;
  background: var(--teal-600); color: #fff; font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 4px;
}

/* ---------- event list ---------- */
.event {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 26px; align-items: start;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.event:last-child { border-bottom: none; }
.datebox {
  background: var(--teal-50); border-radius: 8px; text-align: center;
  padding: 12px 6px; border: 1px solid var(--line);
}
.datebox .m { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-700); }
.datebox .d { font-size: 1.7rem; font-weight: 700; line-height: 1.1; }
.datebox .y { font-size: .75rem; color: var(--ink-soft); }
.event h3 { margin-bottom: .25rem; }
.event .who { color: var(--ink-soft); font-size: .95rem; margin: 0 0 6px; }
.event .where { color: var(--ink-soft); font-size: .88rem; margin: 0; }
.event .act { text-align: right; min-width: 190px; }
.event .act .fromprice { font-size: .85rem; color: var(--ink-soft); margin-bottom: 10px; }
.event .act .fromprice b { color: var(--teal-700); font-size: 1.05rem; }
.event.past { opacity: .62; }
.event.past .act .fromprice { font-style: italic; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--teal-900); color: rgba(255,255,255,.8);
  padding: 52px 0 30px; font-size: .93rem;
}
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 14px; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-2, .next-event, .footer-grid { grid-template-columns: 1fr; }
  .next-event .aside { border-left: none; border-top: 1px solid var(--line); }
  .nav { flex-wrap: wrap; padding-block: 14px; gap: 14px; }
  .nav ul { margin-left: 0; width: 100%; gap: 18px; }
  .event { grid-template-columns: 72px 1fr; }
  .event .act { grid-column: 2; text-align: left; }
  .event .act .fromprice { margin-top: 6px; }
}

/* ---------- ported-site additions ---------- */
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--teal-700); margin: 0 0 6px; }
.band-title { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin-bottom: 26px; text-align: center; }

/* hero with the purchased slider photo */
.hero-photo {
  background:
    linear-gradient(rgba(13,60,55,.55), rgba(13,60,55,.62)),
    url("img/2021-04-slider-3-e1618730109225.jpg") center/cover no-repeat;
  color: #fff; padding: 120px 0 108px; text-align: center;
}
.hero-photo h1 { max-width: 24ch; margin: 0 auto .9rem; }

/* membership tier cards with photos */
.tier-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.tier-card img { width: 100%; height: 120px; object-fit: cover; display: block; }
.tier-card h3, .tier-card p, .tier-card .price { margin-left: 26px; margin-right: 26px; }
.tier-card h3 { margin-top: 20px; }
.tier-card .btn { margin: auto 26px 24px; align-self: flex-start; }

/* stats band */
.stats-band { padding: 44px 0; }
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stats .num { display: block; font-size: 2.4rem; font-weight: 900; color: var(--teal-700); letter-spacing: -.02em; }
.stats .lbl { color: var(--ink-soft); font-size: .95rem; }

/* event cards (upcoming) */
.event-card {
  display: grid; grid-template-columns: 340px 1fr; gap: 0; margin-bottom: 26px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
}
.event-card > img { width: 100%; height: auto; align-self: start; object-fit: contain; background: var(--teal-50); display: block; }
.event-card .ec-body { padding: 26px 30px; }
.event-card.past { opacity: .75; }
.event-card .note { font-size: .88rem; color: var(--ink-soft); }
.ec-date { font-weight: 700; color: var(--teal-700); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 6px; }
.event-card .prices { max-width: 420px; }
.who { color: var(--ink-soft); margin: 0 0 6px; }
.where { color: var(--ink-soft); font-size: .92rem; margin: 0 0 10px; }

/* 2027 programme cards */
.prog-card { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; }
.prog-card img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; }

/* past event rows */
.event-row { display: grid; grid-template-columns: 150px 1fr; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.event-row:last-child { border-bottom: none; }
.event-row img { width: 150px; height: 94px; object-fit: cover; border-radius: 6px; }
.event-row.past { opacity: .7; }
.event-row .expired { color: var(--orange-dark); }
.event-row h3 { font-size: 1.05rem; margin-bottom: .25rem; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 14px; }
.gallery img { width: 100%; height: 180px; object-fit: cover; border-radius: 8px; display: block; }
.gallery a:hover img { opacity: .85; }

/* committee table */
.committee { width: 100%; border-collapse: collapse; font-size: .95rem; }
.committee th { text-align: left; font-weight: 600; color: var(--teal-800); padding: 6px 12px 6px 0; white-space: nowrap; vertical-align: top; }
.committee td { padding: 6px 0; }

/* benefits list */
.benefits { columns: 1; max-width: 75ch; color: var(--ink); }
.benefits li { margin-bottom: 10px; }

@media (max-width: 900px) {
  .event-card { grid-template-columns: 1fr; }
  .event-card > img { max-height: 260px; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .prog-card { grid-template-columns: 90px 1fr; }
  .event-row { grid-template-columns: 100px 1fr; }
  .event-row img { width: 100px; height: 66px; }
}

/* affiliate logos */
.aff-card { text-align: center; }
.aff-card img { max-height: 90px; max-width: 80%; object-fit: contain; margin: 0 auto 18px; display: block; }

/* centred sections, as on the original site */
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.tier-card { text-align: center; }
.tier-card .btn { align-self: center; }
.tier-card h3, .tier-card p, .tier-card .price { margin-left: 22px; margin-right: 22px; }
.tier-card.noimg { padding: 28px 22px; }
.tier-card.noimg h3 { margin-top: 0; }

/* original-site touches: page chip + script kicker */
.page-chip-bar { border-bottom: 1px solid var(--line); padding: 10px 0 0; }
.page-chip {
  display: inline-block; background: var(--orange); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 3px 3px 0 0; margin-bottom: -1px;
}
.kicker {
  font-family: "Caveat", cursive; text-transform: none; letter-spacing: 0;
  font-size: 1.6rem; font-weight: 700; color: var(--orange); margin: 0 0 2px;
}
.center-copy { max-width: 70ch; margin: 0 auto; text-align: center; }
.full-photo { width: 100%; border-radius: var(--radius); display: block; margin: 40px 0; }
.hist-italic { font-style: italic; color: var(--ink-soft); }

/* contact form */
.cform label { display: block; font-size: .85rem; font-weight: 600; margin: 12px 0 5px; text-align: left; }
.cform input, .cform textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px;
  font: inherit; font-size: .95rem; background: #fff; color: var(--ink);
}
.cform textarea { resize: vertical; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .cform-row { grid-template-columns: 1fr; } }

/* clickable flyer icon */
.flyer-icon {
  display: inline-block; text-decoration: none; text-align: center;
  margin: 6px auto 0;
}
.flyer-icon img {
  width: 120px; height: 120px; object-fit: cover; object-position: top;
  border: 1px solid var(--line); border-radius: 10px; display: block; margin: 0 auto 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: transform .12s ease;
}
.flyer-icon:hover img { transform: scale(1.04); }
.flyer-icon span { font-size: .8rem; font-weight: 600; color: var(--teal-700); }
.event-card .ec-side { padding: 22px; text-align: center; background: var(--teal-50); }
.event-card .ec-side > img { width: 100%; max-width: 240px; border-radius: 10px; margin: 0 auto 12px; display: block; }

/* in-copy links: orange + bold, as on the original site */
p a, .benefits a, .ev-facts a, .hist-italic a {
  color: var(--orange); font-weight: 700; text-decoration: none;
}
p a:hover, .benefits a:hover { text-decoration: underline; }

/* align the three membership cards: equal title zone, price/text on the same line, buttons level */
.tier-card { display: flex; flex-direction: column; }
.tier-card h3 { min-height: 3.9em; display: block; }
.tier-card .price { margin-top: 0; margin-bottom: .4em; }
.tier-card .desc { flex: 1; }
.tier-card .btn { align-self: center; margin-top: 4px; }
.tier-card .cardnote { font-size: .82rem; color: var(--ink-soft); margin: 0 22px 12px; }
.tier-card .btn { margin-top: auto; margin-bottom: 24px; }

/* facebook link in footer */
.site-footer .fb-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.site-footer .fb-link svg { flex: none; }

/* IFEA congress banners (auto-expire after 30 Aug 2026) */
.ifea-banner { text-decoration: none; color: inherit; display: block; border-left: 5px solid var(--orange); }
.ifea-banner:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.ifea-strip {
  display: block; text-align: center; background: var(--teal-800); color: #fff;
  text-decoration: none; padding: 14px 20px; border-radius: 8px; margin-bottom: 22px;
  font-size: .95rem;
}
.ifea-strip:hover { background: var(--teal-900); }
.ifea-strip strong { color: #fff; }

/* Members Only dropdown */
.nav li { list-style: none; }
.nav li.has-sub { position: relative; }
.nav li.has-sub > a { cursor: default; }
.nav .sub {
  display: none; position: absolute; top: 100%; left: -14px; margin: 0; padding: 8px 0;
  background: var(--teal-800); border-radius: 0 0 8px 8px; min-width: 190px;
  box-shadow: 0 8px 20px rgba(0,0,0,.18); flex-direction: column; gap: 0;
}
.nav li.has-sub:hover .sub, .nav li.has-sub:focus-within .sub { display: flex; }
.nav .sub li { width: 100%; }
.nav .sub a { display: block; padding: 9px 18px; border-bottom: none; width: 100%; }
.nav .sub a:hover { background: var(--teal-900); }

/* next-event: speaker photos to the left of the description */
.ne-flex { display: flex; gap: 22px; align-items: flex-start; }
.ne-speakers { display: flex; flex-direction: column; gap: 12px; flex: none; }
.ne-speakers img {
  width: 104px; height: 104px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--teal-50); box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
@media (max-width: 560px) { .ne-flex { flex-direction: column; } .ne-speakers { flex-direction: row; } }

/* IFEA hero banner — large clickable conference box with the congress photo */
.ifea-hero {
  display: block; position: relative; border-radius: var(--radius); overflow: hidden;
  margin-bottom: 26px; text-decoration: none; min-height: 240px;
  background:
    linear-gradient(100deg, rgba(10,40,55,.82) 0%, rgba(10,40,55,.55) 45%, rgba(10,40,55,.18) 100%),
    url("img/ifea2026-banner.jpg") center/cover no-repeat;
  transition: box-shadow .15s ease;
}
.ifea-hero:hover { box-shadow: 0 10px 32px rgba(0,0,0,.28); }
.ifea-hero .ih-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 30px 40px; text-align: left; gap: 6px;
}
.ifea-hero .ih-kicker {
  color: #ffd9a8; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.ifea-hero .ih-title {
  color: #fff; font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 900; line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0,0,0,.4); max-width: 60%;
}
.ifea-hero .ih-meta { color: rgba(255,255,255,.92); font-size: 1rem; font-weight: 500; }
.ifea-hero .ih-cta {
  margin-top: 10px; display: inline-block; background: var(--orange); color: #fff;
  font-weight: 700; padding: 10px 22px; border-radius: 6px; align-self: flex-start;
}
@media (max-width: 700px) {
  .ifea-hero { min-height: 300px; }
  .ifea-hero .ih-title { max-width: 100%; }
}

/* Root Camp hero variant — the practice photo with a deep teal wash */
.ifea-hero.rootcamp {
  background:
    linear-gradient(100deg, rgba(13,60,55,.90) 0%, rgba(13,60,55,.62) 50%, rgba(13,60,55,.30) 100%),
    url("img/2021-05-root-canal.jpg") center/cover no-repeat;
}

/* contact page: info/committees left, form right */
.contact-layout { display: grid; grid-template-columns: 1fr 420px; gap: 28px; align-items: start; }
.contact-left { display: flex; flex-direction: column; gap: 24px; }
.contact-right { position: sticky; top: 110px; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } .contact-right { position: static; } }

/* award hero cards in university colours */
.award-hero {
  display: grid; grid-template-columns: 110px 1fr; gap: 28px; align-items: center;
  border-radius: var(--radius); padding: 40px 44px; margin-bottom: 26px;
  color: #fff; text-align: left; box-shadow: 0 8px 26px rgba(0,0,0,.14);
}
.award-hero.uom { background: linear-gradient(115deg, #041e42 0%, #093f8f 70%, #1256b8 100%); }
.award-hero.latrobe { background: linear-gradient(115deg, #7a0e12 0%, #c31c23 70%, #e2231b 100%); }
.award-hero h2 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.9rem); margin: 4px 0 10px; }
.award-hero .ah-uni {
  color: rgba(255,255,255,.85); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin: 0;
}
.award-hero .ah-text { color: rgba(255,255,255,.92); margin: 0; font-size: .98rem; }
.award-hero .ah-medal { color: rgba(255,255,255,.9); }
.award-hero .ah-medal svg { width: 96px; height: 96px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
@media (max-width: 700px) { .award-hero { grid-template-columns: 1fr; text-align: center; } .award-hero .ah-medal svg { width: 64px; height: 64px; } }

/* clean award cards, university logo on the right */
.award-card { display: grid; grid-template-columns: 1fr 170px; gap: 30px; align-items: center; margin-bottom: 24px; text-align: left; }
.award-card img { max-width: 170px; max-height: 130px; object-fit: contain; justify-self: center; }
@media (max-width: 700px) { .award-card { grid-template-columns: 1fr; } .award-card img { margin: 0 auto; } }

/* ---------- mobile navigation (hamburger) ---------- */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; margin-left: auto; padding: 10px 6px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav { position: relative; }
  .nav-toggle { display: block; }
  .nav ul {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    background: var(--teal-900); flex-direction: column; align-items: stretch;
    margin: 0; padding: 8px 0 18px; gap: 0; white-space: normal;
    box-shadow: 0 14px 28px rgba(0,0,0,.28);
  }
  .nav ul.open { display: flex; }
  .nav ul li { width: 100%; }
  .nav ul a { display: block; padding: 13px 26px; font-size: 1.02rem; border-bottom: none; }
  .nav ul a:hover, .nav ul a[aria-current="page"] { background: rgba(255,255,255,.08); border-bottom: none; }
  .nav li.has-sub > a { display: none; }
  .nav .sub {
    position: static; display: flex; flex-direction: column; background: transparent;
    box-shadow: none; padding: 0; min-width: 0; border-radius: 0;
  }
  .nav .sub::before {
    content: "Members Only"; display: block; padding: 13px 26px 4px;
    color: rgba(255,255,255,.55); font-size: .74rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
  }
  .nav .sub a { padding-left: 40px; }
  .nav .btn-login { margin: 12px 26px 0; text-align: center; }
}
