/* Mahe Moni Museum — shared site chrome
   Combines: lane bar (mockup 2), circle field (mockup 3), olympic line art (mockup 1). */

body { background: var(--beige-100); }

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

/* ---------------- Lane bar ---------------- */
.lanes { display: flex; height: 6px; }
.lanes i { flex: 1; }
.lanes i:nth-child(1) { background: var(--bd-green); }
.lanes i:nth-child(2) { background: var(--beige-400); flex: 0.45; }
.lanes i:nth-child(3) { background: var(--bd-red); }
.lanes i:nth-child(4) { background: var(--beige-400); flex: 0.45; }
.lanes i:nth-child(5) { background: var(--us-navy); }
.lanes i:nth-child(6) { background: var(--beige-400); flex: 0.45; }
.lanes i:nth-child(7) { background: var(--brass); flex: 0.7; }

/* ---------------- Nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 600;
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(23, 21, 15, 0.12);
}
.nav-in {
  max-width: 1280px; margin: 0 auto; padding: 13px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.mark { display: flex; align-items: center; gap: 12px; }
.mark .name { font-family: var(--display); font-size: 18px; letter-spacing: -0.01em; line-height: 1; display: block; }
.mark .name i { font-style: italic; color: var(--bd-green); }
.mark .sub { display: block; font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-faint); margin-top: 5px; }

.menu { display: flex; align-items: center; gap: 2px; }
.menu > li { list-style: none; position: relative; }
.menu a {
  display: block; font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
  padding: 10px 16px; border-radius: 999px;
}
.menu a:hover { background: var(--beige-300); color: var(--ink); }
.menu a[aria-current] { color: var(--ink); font-weight: 600; background: var(--beige-300); }

.has-sub > a::after { content: " ⌄"; font-size: 11px; opacity: 0.6; }
.sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 232px;
  background: var(--beige-100); border: 1px solid rgba(23, 21, 15, 0.14);
  border-radius: 14px; padding: 8px; margin: 0; list-style: none;
  box-shadow: 0 22px 44px -26px rgba(23, 21, 15, 0.75);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: 140ms ease;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.sub li { list-style: none; }
.sub a { border-radius: 10px; padding: 11px 14px; font-size: 13.5px; display: flex; align-items: baseline; gap: 10px; }
.sub a b { font-weight: 600; color: var(--ink); }
.sub a::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--bd-green); transform: translateY(-1px);
}
.sub li:nth-child(2) a::before { border-color: var(--bd-red); }
.sub li:nth-child(3) a::before { border-color: var(--us-navy); }

.btn-give {
  background: var(--bd-red); color: #fff !important; font-weight: 600 !important;
  padding: 11px 22px !important; box-shadow: 0 6px 16px -6px rgba(244, 42, 65, 0.7);
}
.btn-give:hover { background: var(--us-red) !important; }

.nav-toggle { display: none; background: none; border: 1px solid rgba(23,21,15,0.2); border-radius: 999px; padding: 9px 15px; font: inherit; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 600; padding: 14px 26px;
  border-radius: 999px; border: 1.5px solid var(--ink);
}
.btn.solid { background: var(--ink); color: var(--beige-100); }
.btn.solid:hover { background: var(--bd-green); border-color: var(--bd-green); }
.btn.red { background: var(--bd-red); border-color: var(--bd-red); color: #fff; }
.btn.red:hover { background: var(--us-red); border-color: var(--us-red); }
.btn.ghost:hover { background: var(--beige-300); }
.btn.light { border-color: rgba(251,247,239,0.5); color: var(--beige-100); }
.btn.light:hover { background: rgba(251,247,239,0.12); }

/* ---------------- Circle field + ring art ---------------- */
.circle-field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.circle-field circle { mix-blend-mode: multiply; }
.ring-art { position: absolute; pointer-events: none; }

/* ---------------- Page header (inner pages) ---------------- */
.page-head { position: relative; overflow: hidden; padding: clamp(46px, 6vw, 86px) 0 clamp(34px, 4vw, 56px); }
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(33px, 4.8vw, 62px); font-weight: 300; letter-spacing: -0.015em; line-height: 1.06; margin: 18px 0 0; max-width: 21ch; }
.page-head h1 em { font-style: italic; font-weight: 400; color: var(--bd-green); }
.page-head p.lede { margin: 22px 0 0; max-width: 56ch; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.7; color: var(--ink-soft); }

/* ---------------- Shared section bits ---------------- */
section { position: relative; }
.sec { padding: clamp(56px, 7vw, 104px) 0; }
.sec.tint { background: var(--beige-200); }
.sec.deep { background: var(--bd-green-deep); color: var(--beige-100); }
.sec.ink { background: var(--ink); color: var(--beige-100); }
.sec-title { font-size: clamp(26px, 3.4vw, 42px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.14; margin: 14px 0 0; max-width: 26ch; }
.sec-title em { font-style: italic; color: var(--bd-green); }
.deep .sec-title em, .ink .sec-title em { color: var(--brass); }
.sec-lede { margin: 18px 0 0; max-width: 56ch; font-size: 15.5px; line-height: 1.78; color: var(--ink-soft); }
.deep .sec-lede, .ink .sec-lede { color: rgba(251, 247, 239, 0.76); }
.rule-eyebrow { display: flex; align-items: center; gap: 13px; color: var(--bd-red); }
.rule-eyebrow::before { content: ""; height: 1px; width: 46px; background: currentColor; opacity: 0.55; }

/* ---------------- Footer ---------------- */
.site-foot { background: var(--bd-green-deep); color: rgba(251, 247, 239, 0.72); padding: clamp(48px, 6vw, 76px) 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.site-foot h4 { font-family: var(--display); font-size: 26px; letter-spacing: -0.02em; margin: 0 0 12px; color: var(--beige-100); }
.site-foot h4 i { font-style: italic; color: var(--brass); }
.site-foot .col span.h { display: block; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(251,247,239,0.5); margin-bottom: 12px; }
.site-foot .col a, .site-foot .col p { display: block; font-size: 13.5px; line-height: 1.95; margin: 0; }
.site-foot .col a:hover { color: #fff; }
.foot-rule { margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(251,247,239,0.2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(251,247,239,0.5); }

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--beige-100); border-bottom: 1px solid rgba(23,21,15,0.14);
    padding: 10px var(--pad) 18px;
  }
  .menu.open { display: flex; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 10px; }
  .has-sub > a::after { content: ""; }
  .btn-give { text-align: center; justify-content: center; }
}
