/* Blackbird Collective — shared stylesheet
   Carried over from the previous single-file site's design system
   (same palette, typography, and components), adapted for the
   multi-page static site. */

:root {
  color-scheme: light dark;
  --bg: #f7f7f3;
  --paper: #ffffff;
  --ink: #171c1a;
  --muted: #58625d;
  --line: #d8ded9;
  --accent: #c94730;
  --accent-ink: #ffffff;
  --leaf: #247158;
  --leaf-soft: #e2f0e8;
  --sun: #eeb64a;
  --error: #a52e20;
  --shadow: 0 18px 48px rgba(25, 35, 31, .09);
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 30px;
  --max: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111513;
    --paper: #191f1c;
    --ink: #f2f3ef;
    --muted: #bbc4be;
    --line: #37413c;
    --accent: #ef745b;
    --accent-ink: #101412;
    --leaf: #70cbaa;
    --leaf-soft: #17342a;
    --sun: #f2c866;
    --error: #ff8c7d;
    --shadow: 0 18px 48px rgba(0, 0, 0, .28);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
.shell { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

/* Anchor targets clear the sticky header */
[id] { scroll-margin-top: 132px; }

/* ---------- Header / nav ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: color-mix(in srgb, var(--bg) 91%, transparent);
  backdrop-filter: blur(14px);
}
.topbar-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-logo { display: flex; align-items: center; flex: none; padding: 6px 0; }
.site-logo img { height: 54px; width: auto; display: block; }
@media (prefers-color-scheme: dark) { .site-logo img { filter: invert(1); } }

.nav { display: flex; gap: 2px; align-items: center; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 11px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 680;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { background: var(--paper); color: var(--ink); box-shadow: 0 2px 12px rgba(20, 28, 24, .07); }
.new-badge { display: inline-block; background: var(--accent); color: var(--accent-ink); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; line-height: 1.3; white-space: nowrap; }
.nav a .new-badge { margin-left: 6px; }

.chat-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--accent-ink);
  border: 1px solid var(--leaf);
  text-decoration: none;
  font-weight: 780;
  white-space: nowrap;
}
.chat-button svg, .btn-chat svg { width: 18px; height: 18px; flex: 0 0 auto; fill: currentColor; }
.chat-button:hover, .btn:hover { filter: brightness(.96); }

/* ---------- Hero / headings ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 104px 0 72px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 760; color: var(--leaf); margin-bottom: 18px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 5px var(--leaf-soft); }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; font-family: "Playfair Display", "Didot", "Bodoni MT", Georgia, serif; }
h1 { font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
h3 { font-size: 1.28rem; letter-spacing: -.02em; }
.brand-name { display: block; margin-bottom: 14px; color: var(--accent); font-size: .39em; font-weight: 760; letter-spacing: -.015em; }
.hero-copy { font-size: clamp(1.08rem, 1.6vw, 1.32rem); color: var(--muted); max-width: 670px; margin: 24px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 13px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 760;
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
}
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn-chat { background: var(--leaf); color: var(--accent-ink); border-color: var(--leaf); gap: 9px; }
.arrow { margin-left: 10px; font-size: 1.1rem; }

section { padding: 110px 0; }
.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 36px; }
.section-head p { max-width: 520px; color: var(--muted); margin: 0; }
.page-intro { padding: 86px 0 48px; }
.page-intro h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
.page-intro p { color: var(--muted); font-size: 1.2rem; max-width: 720px; }
.availability-line { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.availability { background: var(--leaf-soft); color: var(--leaf); border-radius: 999px; padding: 10px 15px; font-weight: 800; }
.reply-note { color: var(--muted); font-weight: 700; }

/* ---------- Banners ---------- */
.trial-banner { margin-top: 18px; padding: 22px 26px; background: var(--paper); border: 1px dashed var(--accent); border-radius: var(--radius-m); }
.trial-banner strong { font-size: 1.12rem; }
.trial-banner p { margin: 6px 0 0; }
.gift-banner { position: relative; border-width: 1.5px; box-shadow: var(--shadow); background-image: linear-gradient(90deg, transparent calc(50% - 16px), color-mix(in srgb, var(--accent) 14%, transparent) calc(50% - 16px), color-mix(in srgb, var(--accent) 14%, transparent) calc(50% + 16px), transparent calc(50% + 16px)), linear-gradient(transparent calc(50% - 16px), color-mix(in srgb, var(--accent) 9%, transparent) calc(50% - 16px), color-mix(in srgb, var(--accent) 9%, transparent) calc(50% + 16px), transparent calc(50% + 16px)); }
.gift-bow { position: absolute; top: -17px; left: 50%; width: 66px; height: auto; transform: translateX(-50%) rotate(-5deg); z-index: 2; filter: drop-shadow(0 3px 5px rgba(0,0,0,.18)); }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.service-card { position: relative; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 8px 24px rgba(25, 35, 31, .04); }
.service-card:nth-child(2) { border-radius: 12px 30px 30px 30px; }
.service-card:nth-child(3) { border-radius: 30px 30px 12px 30px; }
.service-card .new-badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.service-card img { width: 100%; height: 230px; object-fit: cover; display: block; }
.service-body { padding: 27px 28px 30px; }
.service-body p { color: var(--muted); margin-bottom: 22px; }
.text-link { font-weight: 780; color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 5px; display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Community / story teaser ---------- */
.community { background: var(--ink); color: var(--bg); }
.community p { color: color-mix(in srgb, var(--bg) 82%, transparent); font-size: 1.15rem; max-width: 760px; }
.community .text-link { color: var(--sun); }

/* ---------- Tour embed ---------- */
.tour-frame { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; background: var(--paper); }
.tour-frame iframe { display: block; width: 100%; height: 560px; max-height: 60dvh; border: none; }

/* ---------- Pricing ---------- */
.price-heading { margin-bottom: 34px; }
.price-heading p { color: var(--muted); font-size: 1.05rem; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.price-grid.single { grid-template-columns: minmax(0, 560px); }
.price-card { padding: 34px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); }
.price-card.premium { background: var(--ink); color: var(--bg); border-color: var(--ink); border-radius: 34px 12px 34px 34px; }
.price-card h3 { font-size: 1.55rem; }
.price { margin: 22px 0 6px; font-size: clamp(2.15rem, 4vw, 3.25rem); font-weight: 700; letter-spacing: -.01em; font-family: "Playfair Display", "Didot", Georgia, serif; }
.monthly { color: var(--muted); }
.premium .monthly, .premium li { color: color-mix(in srgb, var(--bg) 76%, transparent); }
.feature-list { list-style: none; padding: 0; margin: 28px 0 0; }
.feature-list li { padding: 10px 0 10px 28px; position: relative; border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--leaf); font-weight: 900; }
.premium .feature-list li::before { color: var(--sun); }

/* ---------- Photos ---------- */
.photo-pair { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.photo-pair + .photo-pair { margin-top: 18px; }
.photo-pair figure { margin: 0; }
.photo-pair figure.wide, .photo-pair figure:only-child { grid-column: 1 / -1; }
.photo-pair img { width: 100%; height: 360px; object-fit: cover; display: block; border-radius: var(--radius-m); box-shadow: var(--shadow); }
.photo-pair figure:last-child img { border-radius: 50px 14px 50px 14px; }
.photo-pair figcaption { color: var(--muted); font-size: .92rem; margin-top: 10px; }
.photo-single img { width: 100%; height: 420px; object-fit: cover; display: block; border-radius: var(--radius-m); box-shadow: var(--shadow); }
.photo-single figcaption { color: var(--muted); font-size: .92rem; margin-top: 10px; }
figure.photo-single { margin: 0; }

/* ---------- Info / facts / rates ---------- */
.info-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: start; }
.info-grid p { color: var(--muted); }
.fact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.fact-row { display: flex; gap: 24px; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fact-row span { color: var(--muted); text-align: right; }
.rate-block { margin: 28px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rate { padding: 22px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius-s); }
.rate strong { display: block; font-size: 1.4rem; }
.rate span { color: var(--muted); }
.rate-note { color: var(--muted); margin-top: 4px; }
.addons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.addon { padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); }
.addon strong { display: block; font-size: 1.25rem; }
.included-box { margin-top: 28px; padding: 24px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); }
.included-box h3 { margin-bottom: 6px; }
.included-box .feature-list { margin-top: 12px; }
.visit-info { margin-top: 18px; padding: 24px 26px; background: var(--leaf-soft); border-radius: var(--radius-m); }
.visit-info h3 { margin-bottom: 8px; }
.visit-info p { margin: 0 0 8px; }
.visit-info p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
[hidden] { display: none !important; }
.form-section { background: var(--paper); border-top: 1px solid var(--line); }
.form-wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: start; }
.form-intro p { color: var(--muted); max-width: 420px; }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full, .fieldset.full, .form-status, .form-submit { grid-column: 1 / -1; }
label, legend { font-weight: 720; }
.req { color: var(--accent); font-weight: 800; }
input, select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
}
textarea { min-height: 125px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--leaf); outline: 3px solid color-mix(in srgb, var(--leaf) 22%, transparent); }
.fieldset { margin: 0; padding: 0; border: 0; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 16px; margin-top: 9px; }
.check-option { display: flex; gap: 9px; align-items: center; color: var(--muted); font-weight: 600; min-height: 40px; }
.check-option input { width: 20px; min-height: 20px; height: 20px; accent-color: var(--leaf); flex: 0 0 auto; }
.form-status { display: none; margin: 0; padding: 13px 15px; border-radius: var(--radius-s); font-weight: 700; }
.form-status.show { display: block; }
.form-status.success { background: var(--leaf-soft); color: var(--leaf); }
.form-status.error { background: color-mix(in srgb, var(--error) 11%, var(--paper)); color: var(--error); }
.form-submit { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.form-submit small { color: var(--muted); }
.honeypot { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.faq-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  text-decoration: none; font-weight: 740; color: var(--ink);
}
.faq-nav a:hover { border-color: var(--leaf); color: var(--leaf); }
.faq-section { padding: 64px 0 8px; }
.faq-section > h2 { margin-bottom: 10px; }
.faq-item { padding: 24px 0; border-bottom: 1px solid var(--line); max-width: 820px; }
.faq-item h3 { margin-bottom: 8px; }
.faq-item p { color: var(--muted); margin: 0 0 10px; }
.faq-item p:last-child { margin-bottom: 0; }
.faq-item .actions { margin-top: 16px; }
.faq-link-line { margin-top: 26px; }

/* ---------- About / story ---------- */
.story-lede { font-size: clamp(1.15rem, 1.8vw, 1.4rem); max-width: 780px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.story-card { padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); }
.story-card h3 { margin-bottom: 8px; }
.story-card p { color: var(--muted); margin: 0; }
.story-card .story-when { color: var(--leaf); font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.collab-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; max-width: 820px; }
.collab-list li { padding: 12px 0 12px 28px; position: relative; border-top: 1px solid var(--line); font-weight: 650; }
.collab-list li::before { content: "✓"; position: absolute; left: 0; color: var(--leaf); font-weight: 900; }

/* ---------- Contact / visit band / footer ---------- */
.contact { padding: 74px 0; background: var(--paper); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; }
.contact p { color: var(--muted); max-width: 590px; }
.contact-details { display: grid; gap: 18px; align-content: start; }
.contact-item { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.contact-item small { display: block; color: var(--muted); margin-bottom: 4px; }
.contact-item a { font-weight: 720; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 40px; }
footer { padding: 26px 0 42px; background: var(--paper); color: var(--muted); font-size: .9rem; }
.footer-row { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-row strong { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 14px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 650; text-underline-offset: 4px; }

/* ---------- 404 ---------- */
.notfound { padding: 110px 0; text-align: left; }
.notfound p { color: var(--muted); font-size: 1.15rem; max-width: 560px; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:last-child { grid-column: 1 / -1; }
  .addons { grid-template-columns: 1fr 1fr; }
  .form-wrap { grid-template-columns: 1fr; gap: 34px; }
  .story-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .shell { width: min(100% - 22px, var(--max)); }
  [id] { scroll-margin-top: 196px; }
  .topbar-inner { min-height: 60px; gap: 8px; flex-wrap: wrap; padding-bottom: 8px; }
  .site-logo img { height: 44px; }
  .nav { order: 3; flex: 1 1 100%; flex-wrap: wrap; padding-bottom: 2px; }
  .nav a { padding: 10px 10px; font-size: .9rem; }
  .chat-button { width: 44px; padding: 0; }
  .chat-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero { padding: 56px 0 40px; }
  section { padding: 66px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 16px; }
  .service-grid, .price-grid, .info-grid, .contact-grid, .photo-pair { grid-template-columns: 1fr; gap: 16px; }
  .service-card:last-child { grid-column: auto; }
  .service-card img { height: 220px; }
  .page-intro { padding: 54px 0 30px; }
  .photo-pair img { height: 280px; }
  .photo-single img { height: 300px; }
  .contact-grid { gap: 38px; }
  .collab-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  h1 { font-size: 2.72rem; }
  .brand-name { display: none; }
  .actions .btn { width: 100%; }
  .rate-block, .addons, .inquiry-form, .check-grid { grid-template-columns: 1fr; }
  .field, .fieldset, .form-status, .form-submit { grid-column: 1; }
  .price-card { padding: 26px; }
  .fact-row { display: grid; gap: 4px; }
  .fact-row span { text-align: left; }
  .faq-nav a { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Photo carousel */
.carousel { position: relative; margin-top: 28px; }
.carousel-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-radius: var(--radius-m); }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; position: relative; border-radius: var(--radius-m); overflow: hidden; }
.carousel-slide img { width: 100%; height: clamp(300px, 52vw, 560px); object-fit: cover; display: block; transform: scale(1.04); transition: transform 1.4s ease; }
.carousel-slide.is-active img { transform: scale(1); }
.carousel-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 22px 16px; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.62)); }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 88%, transparent); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.carousel-dot { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: var(--line); cursor: pointer; transition: all .3s ease; }
.carousel-dot.is-active { background: var(--accent); width: 26px; }
@media (prefers-reduced-motion: reduce) { .carousel-track { scroll-behavior: auto; } .carousel-slide img { transition: none; transform: none; } }
.carousel-slide.fit-full { background: #101c0e; }
.carousel-slide.fit-full::before { content: ""; position: absolute; inset: 0; background-image: var(--slide-bg); background-size: cover; background-position: center; filter: blur(28px) brightness(.55); transform: scale(1.25); }
.carousel-slide.fit-full img { position: relative; object-fit: contain; transform: none; }
details.faq-item > summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 1.12rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 4px 0; }
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--accent); flex: none; transition: transform .25s ease; }
details.faq-item[open] > summary::after { transform: rotate(45deg); }
details.faq-item .faq-a { padding-top: 10px; }
details.faq-item .faq-a p { margin: 0; color: var(--muted); }
.faq-section h2 { color: var(--accent); }
.faq-section h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 999px; background: var(--accent); margin-bottom: 14px; }
.tagline { font-size: clamp(.9rem, 4.28vw, 3.25rem); font-weight: 400; color: var(--muted); margin: 18px 0 0; white-space: nowrap; letter-spacing: .01em; line-height: 1.25; }
.optional { color: var(--muted); font-weight: 400; font-size: .85em; }

.h1-line { display: block; font-size: min(21vw, 275px); line-height: 1.02; }
.h1-stagger { text-align: right; font-size: min(19.5vw, 255px); }


@media (max-width: 640px) { .eyebrow { font-size: .74rem; white-space: nowrap; } }

/* ---------- Hamburger menu ---------- */
.menu-button { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); cursor: pointer; margin-left: auto; }
.menu-lines { display: flex; flex-direction: column; gap: 5px; }
.menu-lines span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-button[aria-expanded="true"] .menu-lines span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-lines span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .menu-lines span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.topbar { position: relative; }
.nav { display: none; }
.nav.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: calc(100% + 8px); right: 16px; min-width: 220px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: 0 18px 44px rgba(20, 28, 24, .16); z-index: 60; }
.nav.open a { padding: 12px 14px; border-radius: 10px; }
