/* ===================================================
   テラスク Design System
   コンセプト：西日の差すテラスの一枚の紙
   ================================================= */

:root {
  /* Color: paper & ink */
  --paper: #FAF6EE;
  --paper-2: #F3ECDE;
  --paper-3: #E9DFC9;
  --ink: #2A2320;
  --ink-2: #4A403A;
  --ink-3: #7C6F65;
  --ink-4: #A89B8E;

  /* Color: sun & leaf */
  --sun: #E87A3E;
  --sun-deep: #C55C24;
  --sun-soft: #F5D8B5;
  --sun-glow: #FBE9C8;
  --amber: #F1B24A;
  --leaf: #3E5C3A;
  --leaf-soft: #DDE5D2;
  --danger: #A6371E;

  /* Type */
  --font-serif: "Zen Old Mincho", "Noto Serif JP", serif;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Instrument Serif", "Zen Old Mincho", serif;

  /* Spacing / radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 20px;
  --shadow-soft: 0 1px 2px rgba(42, 35, 32, 0.04), 0 12px 32px -18px rgba(42, 35, 32, 0.18);
  --shadow-warm: 0 20px 60px -30px rgba(232, 122, 62, 0.35);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}

a:hover { color: var(--sun-deep); }

::selection { background: var(--sun-soft); color: var(--ink); }

/* ===================================================
   Backgrounds — light on paper
   ================================================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 700px at 85% -10%, rgba(232, 122, 62, 0.14), transparent 60%),
    radial-gradient(ellipse 700px 500px at 10% 12%, rgba(241, 178, 74, 0.10), transparent 55%),
    radial-gradient(ellipse 800px 600px at 50% 100%, rgba(62, 92, 58, 0.06), transparent 60%);
  z-index: 0;
}

body::after {
  /* subtle paper grain */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.16  0 0 0 0 0.14  0 0 0 0 0.12  0 0 0 0.045 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .6;
  mix-blend-mode: multiply;
}

main, header, footer { position: relative; z-index: 1; }

/* ===================================================
   Container
   ================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===================================================
   Header
   ================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.7);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(42, 35, 32, 0.08);
  background: rgba(250, 246, 238, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 0.06em;
}

.site-logo .logo-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--r-sm);
  position: relative;
}

.main-nav a:hover { color: var(--sun-deep); background: rgba(232, 122, 62, 0.06); }

.main-nav a.active {
  color: var(--ink);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--sun);
  border-radius: 2px;
}

.nav-cta {
  margin-left: 12px;
  padding: 10px 18px !important;
  background: var(--ink);
  color: var(--paper) !important;
  border-radius: 999px;
  font-weight: 500;
}

.nav-cta:hover {
  background: var(--sun-deep);
  color: var(--paper) !important;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform .3s ease, opacity .3s ease;
}

/* ===================================================
   Type
   ================================================= */
.eyebrow {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--sun-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(232, 122, 62, 0.18);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin: 0;
}

.h-display {
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  line-height: 1.28;
  letter-spacing: 0.01em;
}

.h-lg { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.35; }
.h-md { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.4; }
.h-sm { font-size: 1.15rem; line-height: 1.5; }

.lead {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--ink-2);
}

.text-muted { color: var(--ink-3); }
.text-sun { color: var(--sun-deep); }

/* Highlight ink for keywords */
.mark-sun {
  background: linear-gradient(180deg, transparent 62%, var(--sun-glow) 62%, var(--sun-glow) 92%, transparent 92%);
  padding: 0 2px;
}

/* ===================================================
   Buttons
   ================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--sun-deep); color: var(--paper); box-shadow: var(--shadow-warm); }

.btn-sun {
  background: var(--sun);
  color: #fff;
}
.btn-sun:hover { background: var(--sun-deep); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-4);
}
.btn-outline:hover { border-color: var(--ink); color: var(--ink); background: rgba(42, 35, 32, 0.04); }

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  padding-left: 6px; padding-right: 6px;
}
.btn-ghost:hover { color: var(--sun-deep); background: transparent; }

.btn .arrow {
  display: inline-block;
  transition: transform .2s ease;
}
.btn:hover .arrow { transform: translateX(4px); }

/* ===================================================
   Section
   ================================================= */
.section {
  padding: clamp(72px, 10vw, 128px) 0;
  position: relative;
}

.section-tight { padding: clamp(48px, 6vw, 88px) 0; }

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(233, 223, 201, 0.35) 30%, rgba(233, 223, 201, 0.35) 70%, transparent);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head.center {
  margin-left: auto; margin-right: auto; text-align: center;
}

/* hand-drawn divider */
.divider {
  display: block;
  margin: 0 auto;
  width: 120px;
  height: 22px;
  color: var(--sun);
  opacity: .8;
}

/* ===================================================
   Hero
   ================================================= */
.hero {
  padding: clamp(64px, 10vw, 120px) 0 clamp(72px, 10vw, 128px);
  position: relative;
}

.hero-sun {
  position: absolute;
  top: -80px;
  right: -60px;
  width: min(560px, 60vw);
  height: min(560px, 60vw);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(241, 178, 74, 0.55), rgba(232, 122, 62, 0.25) 45%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
  transition: transform .6s ease-out;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}

/* ===================================================
   Cards
   ================================================= */
.card {
  background: #FDFBF6;
  border: 1px solid rgba(42, 35, 32, 0.08);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.card-warm {
  background: linear-gradient(160deg, #FFF7EA 0%, #FDECD0 100%);
  border-color: rgba(232, 122, 62, 0.18);
}

.card-tilt {
  transform: rotate(-1deg);
  transition: transform .5s ease;
}

.card-tilt:hover { transform: rotate(0deg); }

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  background: rgba(232, 122, 62, 0.10);
  color: var(--sun-deep);
}

.tag-leaf {
  background: rgba(62, 92, 58, 0.10);
  color: var(--leaf);
}

/* Info banner */
.notice {
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: rgba(241, 178, 74, 0.14);
  border-left: 3px solid var(--sun);
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-2);
}

.notice strong { color: var(--sun-deep); font-weight: 500; }

/* ===================================================
   Grids
   ================================================= */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); }

@media (max-width: 800px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================
   Event schedule
   ================================================= */
.schedule {
  list-style: none;
  padding: 0;
  margin: 0;
}
.schedule li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(42, 35, 32, 0.12);
  align-items: baseline;
}
.schedule li:last-child { border-bottom: 0; }
.schedule .time {
  font-family: var(--font-en);
  font-size: 20px;
  color: var(--sun-deep);
  letter-spacing: 0.03em;
}
.schedule .desc { color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.schedule .desc strong { color: var(--ink); font-weight: 500; }

/* ===================================================
   Members
   ================================================= */
.members {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
@media (max-width: 800px) {
  .members { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .members { grid-template-columns: 1fr; }
}

.member {
  text-align: center;
}

.avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--paper-2);
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  box-shadow: 0 20px 40px -25px rgba(42, 35, 32, 0.35);
}

.avatar-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  color: var(--ink-4);
  background:
    radial-gradient(circle at 30% 25%, var(--sun-soft), transparent 55%),
    linear-gradient(160deg, var(--paper-2), var(--paper-3));
}

.avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.avatar-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.avatar-placeholder::after {
  content: "photo";
  position: absolute;
  bottom: 14%;
  font-family: var(--font-en);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.15em;
  color: var(--ink-4);
  opacity: .7;
}

.avatar-small {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: var(--paper-2);
  box-shadow: 0 6px 16px -10px rgba(42, 35, 32, 0.4);
  border: 2px solid var(--paper);
}
.avatar-small .avatar-placeholder::after { display: none; }
.avatar-small .avatar-placeholder { font-size: 15px; }

.member-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 4px;
}
.member-role {
  font-size: 13px;
  color: var(--sun-deep);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.member-notes {
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-2);
  text-align: left;
  padding-left: 18px;
  margin: 0;
}
.member-notes li { margin-bottom: 4px; }

/* ===================================================
   Member Profile Card (About page detailed)
   ================================================= */
.profiles {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  max-width: 960px;
  margin: 0 auto;
}
.profile-card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
  box-shadow: 0 20px 40px -30px rgba(42, 35, 32, 0.35);
  border: 1px solid rgba(42, 35, 32, 0.06);
}
.profile-card .avatar {
  width: 200px;
  margin-bottom: 0;
}
.profile-body {
  min-width: 0;
}
.profile-name {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 500;
  margin: 0 0 6px;
  line-height: 1.4;
}
.profile-role {
  font-size: 13.5px;
  color: var(--sun-deep);
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}
.profile-role a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.profile-role a:hover { color: var(--ink); }
.profile-summary {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.95;
  margin: 14px 0 0;
  padding: 14px 16px;
  background: rgba(233, 223, 201, 0.35);
  border-radius: var(--r-sm);
}
.profile-summary ul {
  margin: 0;
  padding-left: 18px;
}
.profile-summary li { margin-bottom: 4px; }
.profile-summary li:last-child { margin-bottom: 0; }
.profile-detail {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 2.05;
  margin-top: 20px;
}
.profile-detail p { margin: 0 0 12px; }
.profile-detail p:last-child { margin-bottom: 0; }
.profile-pending {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px dashed rgba(42, 35, 32, 0.18);
  border-radius: var(--r-sm);
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.9;
}

@media (max-width: 720px) {
  .profile-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .profile-card .avatar { width: 180px; }
  .profile-body { text-align: left; width: 100%; }
}

/* ===================================================
   Accordion (past events)
   ================================================= */
.accordion {
  border-top: 1px solid rgba(42, 35, 32, 0.10);
}
.accordion details {
  border-bottom: 1px solid rgba(42, 35, 32, 0.10);
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
  transition: color .2s ease;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--sun-deep); }

.accordion .marker {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(42, 35, 32, 0.15);
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
  flex-shrink: 0;
}
.accordion .marker::before, .accordion .marker::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, background .3s ease;
}
.accordion .marker { position: relative; }
.accordion .marker::before { width: 12px; height: 1.5px; }
.accordion .marker::after { width: 1.5px; height: 12px; }
.accordion details[open] .marker {
  background: var(--sun);
  border-color: var(--sun);
  box-shadow: 0 0 0 8px rgba(232, 122, 62, 0.12);
}
.accordion details[open] .marker::before,
.accordion details[open] .marker::after { background: #fff; }
.accordion details[open] .marker::after { transform: scaleY(0); }

.accordion .body {
  padding: 4px 4px 26px;
  color: var(--ink-2);
  line-height: 2;
  font-size: 15px;
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.timeline-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 6px 0;
  align-items: baseline;
}
.timeline-list .yr {
  font-family: var(--font-en);
  color: var(--sun-deep);
  font-size: 16px;
}

/* ===================================================
   Footer
   ================================================= */
.site-footer {
  padding: 80px 0 32px;
  background: linear-gradient(180deg, transparent, rgba(233, 223, 201, 0.5));
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14.5px;
  color: var(--ink-2);
}
.footer-links a:hover { color: var(--sun-deep); }

.footer-desc {
  color: var(--ink-2);
  line-height: 1.9;
  font-size: 14.5px;
  max-width: 320px;
}

.copyright {
  padding-top: 24px;
  border-top: 1px solid rgba(42, 35, 32, 0.08);
  font-size: 12.5px;
  color: var(--ink-3);
  font-family: var(--font-en);
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===================================================
   Utilities
   ================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 32px; }
.mt-4 { margin-top: 48px; }
.mt-5 { margin-top: 72px; }
.mb-1 { margin-bottom: 12px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 32px; }
.mb-4 { margin-bottom: 48px; }

.stack > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 36px; }

/* Fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* HubSpot form styling override (best-effort) */
.hs-form-container {
  background: #fff;
  border: 1px solid rgba(42, 35, 32, 0.08);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-soft);
}

.hs-form-container input[type="text"],
.hs-form-container input[type="email"],
.hs-form-container input[type="tel"],
.hs-form-container textarea,
.hs-form-container select {
  border: 1px solid rgba(42, 35, 32, 0.15) !important;
  border-radius: var(--r-sm) !important;
  padding: 12px 14px !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  background: #FDFBF6 !important;
  color: var(--ink) !important;
  width: 100% !important;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.hs-form-container input:focus,
.hs-form-container textarea:focus,
.hs-form-container select:focus {
  border-color: var(--sun) !important;
  box-shadow: 0 0 0 3px rgba(232, 122, 62, 0.15) !important;
  outline: none !important;
}

.hs-form-container label {
  font-size: 14px !important;
  color: var(--ink-2) !important;
  font-weight: 500 !important;
  margin-bottom: 6px !important;
  display: block !important;
}

.hs-form-container .hs-button,
.hs-form-container input[type="submit"] {
  background: var(--ink) !important;
  color: var(--paper) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 14px 28px !important;
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  cursor: pointer !important;
  transition: background .2s ease !important;
}
.hs-form-container .hs-button:hover,
.hs-form-container input[type="submit"]:hover {
  background: var(--sun-deep) !important;
}

/* ===================================================
   Responsive nav (mobile)
   ================================================= */
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid rgba(42, 35, 32, 0.08);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 16px var(--gutter) 24px;
    gap: 4px;
  }
  .main-nav a {
    padding: 12px 8px;
    display: block;
  }
  .main-nav a.active::after { display: none; }
  .nav-cta { margin-left: 0; text-align: center; }
}
