/* ============================================================
   layout.css — header, drawer, footer, section shells
   ============================================================ */

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245, 243, 239, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; line-height: 1; white-space: nowrap; }
.brand__logo { height: 27px; width: auto; display: block; }
.brand__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(20px, 2.3vw, 25px); letter-spacing: -0.02em; color: var(--ink);
}
.brand__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); align-self: center; }
.brand__sub {
  font-family: var(--font-body); font-weight: 500; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted);
}

.nav-cluster { display: flex; align-items: center; gap: 14px; }
@media (min-width: 900px) { .nav-cluster { gap: 22px; } }
/* header CTA pill — a touch smaller than the standalone button; hidden on mobile (drawer covers it) */
.nav-cluster .btn { display: none; padding: 9px 18px; font-size: 14px; }
@media (min-width: 900px) { .nav-cluster .btn { display: inline-flex; } }
.nav-desktop { display: none; }
@media (min-width: 900px) {
  .nav-desktop { display: flex; gap: 28px; align-items: center; }
  .nav-desktop a {
    font-family: var(--font-body); font-weight: 500; font-size: 15px;
    color: var(--body); padding: 4px 0; position: relative;
    transition: color .2s;
  }
  .nav-desktop a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
    background: var(--green); border-radius: 2px; transition: right .25s ease;
  }
  .nav-desktop a:hover { color: var(--green); }
  .nav-desktop a:hover::after { right: 0; }
}

/* mobile toggle */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: var(--ink); color: #fff;
  border: none; border-radius: 50%; cursor: pointer;
}
.nav-toggle .burger { display: block; fill: currentColor; }
@media (min-width: 900px) { .nav-toggle { display: none; } }

.drawer {
  position: fixed; inset: 0; z-index: 100; background: var(--paper);
  transform: translateY(-100%); transition: transform .35s ease;
  display: flex; flex-direction: column; padding: 22px var(--gutter);
  visibility: hidden;
}
.drawer.open { transform: translateY(0); visibility: visible; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__close {
  background: none; border: 1px solid var(--line); color: var(--ink);
  width: 44px; height: 44px; border-radius: 50%; font-size: 22px; cursor: pointer;
}
.drawer nav { display: flex; flex-direction: column; gap: 2px; margin-top: 44px; }
.drawer nav a {
  font-family: var(--font-display); font-weight: 600;
  color: var(--ink); font-size: clamp(28px, 8vw, 40px);
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.drawer nav a:last-child { border-bottom: none; }
.drawer__cta { margin-top: 32px; align-self: flex-start; font-size: 16px; padding: 14px 26px; }

/* ---- section shells ---- */
.section-paper { background: var(--paper); }
.section-white { background: var(--paper-2); }
.section-sand  { background: var(--sand); }
.section-ink   { background: var(--ink); color: #E8ECE9; }

/* ---- footer ---- */
.site-footer {
  background: var(--ink); color: #C9D0CB;
  padding-block: clamp(52px, 7vw, 88px) 26px;
}
.site-footer a { color: #C9D0CB; transition: color .2s; }
.site-footer a:hover { color: var(--green-lite); }
.footer-wordmark {
  font-family: var(--font-display); font-weight: 700;
  color: #fff; font-size: clamp(44px, 12vw, 128px);
  line-height: 0.94; letter-spacing: -0.03em;
  padding-bottom: 26px; margin-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-wordmark .accent { color: var(--green-lite); }
.footer-wordmark img { height: clamp(46px, 8vw, 72px); width: auto; display: block; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-col h3 {
  font-family: var(--font-display); font-weight: 600; color: #fff;
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px;
}
.footer-col p, .footer-col li { color: #AEB6B0; font-size: 15.5px; line-height: 1.65; }
.footer-col li { margin-bottom: 6px; }
.footer-col a.big { font-size: 21px; color: #fff; font-family: var(--font-display); font-weight: 600; }
.footer-bottom {
  margin-top: 42px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
  font-size: 13.5px; color: #838A84;
}
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---- inner page frame ---- */
.page-intro { padding-block: clamp(40px, 6vw, 72px) 0; }
