/* ============================================================
   layout.css — header, footer, section shells · Umami build
   ============================================================ */

/* ---- header (dark) ---- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 74px; padding-block: 10px;
}
.brand { display: inline-flex; align-items: baseline; gap: 8px; line-height: 1; }
.brand__name {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--ink);
  font-size: clamp(20px, 2.2vw, 26px);
}
.brand__name .star { color: var(--red); }

.header-nav { display: flex; align-items: center; gap: 8px; }
.nav-desktop { display: none; }
@media (min-width: 900px) {
  .nav-desktop { display: flex; gap: 28px; align-items: center; margin-right: 12px; }
  .nav-desktop a {
    font-family: var(--font-body); font-weight: 700;
    font-size: 15px; color: #ECEAE4;
    padding: 6px 0; border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
  }
  .nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: #fff; border-bottom-color: var(--red); }
}

/* mobile hamburger icon (3 lines) */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream); color: transparent; font-size: 0;
  border: none; border-radius: 999px; width: 46px; height: 46px; padding: 0;
  cursor: pointer; position: relative;
}
.nav-toggle::before {
  content: ""; width: 20px; height: 2.5px; background: var(--ink); border-radius: 3px;
  box-shadow: 0 -6px 0 0 var(--ink), 0 6px 0 0 var(--ink);
}
@media (min-width: 900px) { .nav-toggle { display: none; } }

.drawer {
  position: fixed; inset: 0; z-index: 100; background: var(--ink);
  transform: translateY(-100%); transition: transform .35s ease;
  display: flex; flex-direction: column; padding: 24px var(--gutter); visibility: hidden;
}
.drawer.open { transform: translateY(0); visibility: visible; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__top .brand__name { color: var(--cream); }
.drawer__close {
  background: none; border: 2px solid var(--line-light); color: var(--cream);
  width: 46px; height: 46px; border-radius: 999px; font-size: 22px; cursor: pointer;
}
.drawer nav { display: flex; flex-direction: column; gap: 2px; margin-top: 40px; }
.drawer nav a {
  font-family: var(--font-display); text-transform: uppercase; color: var(--cream);
  font-size: clamp(30px, 9vw, 44px); padding: 12px 0; border-bottom: 1px solid var(--line-light);
}
.drawer nav a:hover { color: var(--red); }

/* ---- section shells ---- */
.section-paper { background: var(--paper); }
.section-white { background: var(--white); }
.section-ink   { background: var(--ink); color: var(--cream); }
.section-ink h2, .section-ink h3 { color: var(--cream); }
.section-ink p { color: rgba(255,255,255,0.72); }

/* inner page top spacing (no red frame in this build) */
.page-top { padding-top: clamp(40px, 6vw, 80px); }

/* ---- footer ---- */
.site-footer { background: var(--ink); color: #ECEAE4; padding-block: clamp(52px, 7vw, 88px) 28px; }
.site-footer a { color: #ECEAE4; }
.site-footer a:hover { color: var(--red); }
.footer-wordmark {
  font-family: var(--font-display); text-transform: uppercase; color: var(--cream);
  font-size: clamp(44px, 12vw, 132px); line-height: 0.95; letter-spacing: 0.02em;
  text-align: center; border-bottom: 1px solid var(--line-light);
  padding-bottom: 24px; margin-bottom: 40px;
}
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; max-width: 1000px; margin-inline: auto; text-align: center; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 5vw, 64px); } }
.footer-bottom { max-width: 1000px; margin-inline: auto; }
.footer-col { text-align: center; }
.footer-col h4 { font-family: var(--font-display); color: var(--white); font-size: 18px; letter-spacing: 0.05em; margin-bottom: 14px; }
.footer-col p, .footer-col li { color: rgba(255,255,255,0.72); font-size: 16px; line-height: 1.6; }
.footer-col li { margin-bottom: 6px; }
.footer-col a.big { font-size: 24px; color: var(--white); font-family: var(--font-display); }
.footer-bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-light);
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
  font-size: 14px; color: rgba(255,255,255,0.55);
}
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* brand logo image */
.brand__logo { height: clamp(30px, 3.6vw, 40px); width: auto; display: block; }
.drawer__top .brand__logo { height: 34px; }

/* footer logo image (replaces big text wordmark) */
.footer-logo { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto 40px; padding-bottom: 30px; border-bottom: 1px solid var(--line-light); }
