:root {
  --black: #050607;
  --ink: #111316;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.18);
  --muted: #aeb5b9;
  --light: #f4f6f2;
  --green: #20ff5f;
  --deep-green: #006f35;
  --red: #ee1b2e;
  --yellow: #ffe600;
  --jp: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  --en: "Arial Narrow", "Roboto Condensed", "HelveticaNeue-CondensedBold", "Oswald", Impact, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: var(--jp);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.condensed {
  font-family: var(--en);
  font-stretch: condensed;
  letter-spacing: 0;
  text-transform: uppercase;
}

.jp-title {
  font-family: var(--jp);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 6, 7, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-top {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 3px;
}

.brand-name {
  font-family: var(--en);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 0.95;
}

.brand-name span {
  display: block;
  color: var(--green);
  font-size: 0.7rem;
}

.nav {
  display: flex;
  gap: 4px;
  max-width: 56vw;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar { display: none; }

.nav a {
  flex: 0 0 auto;
  padding: 9px 10px;
  color: rgba(255,255,255,0.78);
  font-family: var(--en);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nav a:hover { color: var(--green); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 6px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  min-height: calc(100svh - 68px);
  position: relative;
  display: grid;
  align-items: end;
  padding: 54px 0 28px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5,6,7,0.08) 0%, rgba(5,6,7,0.45) 48%, rgba(5,6,7,0.96) 100%),
    linear-gradient(90deg, rgba(5,6,7,0.86) 0%, rgba(5,6,7,0.28) 58%, rgba(5,6,7,0.74) 100%),
    url("img/hero.jpg") center/cover;
}

.hero::after {
  content: "OSAKA SAYAMA";
  position: absolute;
  z-index: -1;
  left: -0.08em;
  top: 14%;
  font-family: var(--en);
  font-size: clamp(4.8rem, 22vw, 18rem);
  font-weight: 900;
  line-height: 0.76;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.09);
  white-space: nowrap;
}

.hero-content {
  display: grid;
  gap: 26px;
}

.kicker {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  max-width: 100%;
  color: var(--green);
  font-family: var(--jp);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.kicker::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--green);
}

h1 {
  max-width: 950px;
  margin: 0;
  font-family: var(--jp);
  font-size: clamp(2.85rem, 14vw, 4.9rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,0.86);
  font-size: clamp(1rem, 3.8vw, 1.28rem);
  font-weight: 700;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 1px solid var(--white);
  border-radius: 4px;
  font-family: var(--en);
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary {
  border-color: var(--green);
  background: var(--green);
  color: var(--black);
}
.btn-secondary {
  background: rgba(5,6,7,0.34);
  color: var(--white);
}
.btn-instagram {
  gap: 10px;
  border-color: transparent;
  color: var(--white);
  background: #d6249f;
  background: radial-gradient(circle at 22% 118%, #fdf497 0%, #fdf497 8%, #fd5949 38%, #d6249f 62%, #285aeb 92%);
  box-shadow: 0 6px 18px rgba(214, 36, 159, 0.3);
}
.btn-instagram:hover { box-shadow: 0 10px 26px rgba(214, 36, 159, 0.42); }
.btn-instagram .ig-icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 820px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact {
  width: min(100%, 210px);
  aspect-ratio: 1;
  display: grid;
  align-content: center;
  justify-self: center;
  position: relative;
  overflow: hidden;
  padding: 26px 22px;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(5,6,7,0.2) 0%, rgba(5,6,7,0.08) 42%, rgba(5,6,7,0.28) 72%),
    url("img/u13-badge.jpg") center/cover;
  box-shadow: 0 18px 38px rgba(0,0,0,0.34);
  text-align: center;
}

.fact::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,0,0,0.72), rgba(0,0,0,0.3) 64%, transparent 74%);
  pointer-events: none;
}

.fact b {
  position: relative;
  display: block;
  color: var(--green);
  font-family: var(--en);
  font-size: clamp(1.8rem, 5vw, 3.45rem);
  line-height: 0.88;
  text-shadow: 0 0 18px rgba(32,255,95,0.42), 0 3px 10px rgba(0,0,0,0.6);
}
.fact span {
  position: relative;
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0,0,0,0.72);
}

/* ---------- sections ---------- */
section {
  position: relative;
  padding: 64px 0;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-en {
  display: block;
  color: rgba(255,255,255,0.14);
  font-family: var(--en);
  font-size: clamp(4.2rem, 20vw, 12rem);
  font-weight: 900;
  line-height: 0.76;
}

.section-head h2 {
  margin: -10px 0 0;
  font-size: clamp(1.85rem, 8vw, 4.8rem);
}

.section-head p {
  margin: 0;
  max-width: 690px;
  color: var(--muted);
  font-weight: 700;
}

.dark-band {
  background:
    linear-gradient(135deg, rgba(32,255,95,0.08), transparent 34%),
    var(--black);
}

.light-band {
  color: var(--ink);
  background: var(--light);
}

.light-band .section-en { color: rgba(5, 6, 7, 0.08); }
.light-band .section-head p { color: #566064; }

/* ---------- about ---------- */
.feature-grid {
  display: grid;
  gap: 12px;
}

.feature {
  min-height: 188px;
  display: grid;
  align-content: end;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 18px;
  background: #15181a;
  border: 1px solid rgba(255,255,255,0.12);
}

.feature-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature::before {
  content: attr(data-no);
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  color: rgba(255,255,255,0.12);
  font-family: var(--en);
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1;
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.28) 48%, rgba(0,0,0,0.86) 100%),
    linear-gradient(135deg, rgba(32,255,95,0.14), transparent 42%);
}

.feature h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 8px;
  font-size: 1.45rem;
  font-weight: 900;
}

.feature p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255,255,255,0.74);
  font-weight: 700;
}

.feature-green { background: linear-gradient(135deg, #00371b, #101512); }
.feature-red { background: linear-gradient(135deg, #54000b, #121212); }
.feature-white { color: var(--white); background: #15181a; }

/* ---------- topics ---------- */
.topics-box {
  display: grid;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(5,6,7,0.08);
}

.topics-photo {
  margin: 0;
  min-height: 260px;
  background: #0b1020;
}

.topics-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.topics-body { padding: 24px 22px 26px; }

.topics-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--deep-green);
  color: var(--white);
  font-family: var(--en);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topics-body h3 {
  margin: 0 0 12px;
  font-size: clamp(1.35rem, 5vw, 2rem);
  font-weight: 900;
  line-height: 1.35;
}

.topics-body p {
  margin: 0;
  color: #566064;
  font-weight: 700;
}

.topics-name {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(5,6,7,0.08);
  color: var(--deep-green);
  font-weight: 900;
}

@media (min-width: 860px) {
  .topics-box {
    grid-template-columns: 1fr 1.1fr;
    align-items: stretch;
  }
  .topics-photo, .topics-photo img { min-height: 340px; }
  .topics-body { padding: 34px 32px; }
}

/* ---------- activity (table) ---------- */
.week-wrap { overflow-x: auto; }

.week {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.week caption {
  text-align: left;
  padding: 0 0 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.week thead th {
  padding: 10px 16px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.week tbody th, .week tbody td {
  padding: 16px;
  text-align: left;
  vertical-align: middle;
  background: rgba(255,255,255,0.05);
  border-top: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.week tbody th {
  color: var(--green);
  font-weight: 900;
  font-size: 1.05rem;
  border-left: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px 0 0 8px;
}

.week tbody td:last-child {
  border-right: 1px solid rgba(255,255,255,0.14);
  border-radius: 0 8px 8px 0;
}

.week-time {
  font-family: var(--en);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.week-place {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.week-note {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--green);
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.week-note a { color: var(--green); text-decoration: underline; }

/* ---------- trial ---------- */
#trial .section-head h2 {
  white-space: nowrap;
  font-size: clamp(1.5rem, 6vw, 3.2rem);
}

.trial-grid {
  display: grid;
  gap: 12px;
}

.trial-card {
  padding: 20px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(5,6,7,0.08);
}

.trial-card h3 {
  margin: 0 0 12px;
  color: var(--deep-green);
  font-family: var(--en);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trial-card h3 .jp-sub {
  margin-left: 8px;
  font-family: var(--jp);
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
}

.date-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.date-chips li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,111,53,0.28);
  background: rgba(0,111,53,0.05);
  color: var(--deep-green);
  font-family: var(--en);
  font-size: 1.05rem;
  font-weight: 900;
}

.date-chips .dow {
  margin-left: 2px;
  font-family: var(--jp);
  font-size: 0.78rem;
  font-weight: 900;
}

.trial-meta {
  margin: 0;
  display: grid;
  gap: 0;
}

.trial-meta > div {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  padding: 10px 0;
  border-top: 1px solid rgba(5,6,7,0.08);
}

.trial-meta dt {
  flex: none;
  width: 72px;
  color: #566064;
  font-size: 0.86rem;
  font-weight: 700;
}

.trial-meta dd {
  margin: 0;
  flex: 1 1 220px;
  color: var(--ink);
  font-weight: 900;
}

.trial-meta dd .addr {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #566064;
}

.trial-meta a {
  display: inline-block;
  margin-top: 2px;
  color: var(--deep-green);
  font-size: 0.88rem;
}

.quota {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.quota li {
  flex: 1 1 130px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(0,111,53,0.06);
}

.quota b {
  display: block;
  color: var(--deep-green);
  font-family: var(--en);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.quota span {
  font-size: 1.6rem;
  font-weight: 900;
}

.trial-note {
  margin: 0;
  padding: 12px 14px;
  border-left: 4px solid var(--deep-green);
  background: rgba(5,6,7,0.03);
  color: #566064;
  font-size: 0.92rem;
  font-weight: 700;
}

.trial-note + .trial-note { margin-top: 8px; }
.trial-note-spaced { margin-top: 14px; }
.trial-cta { margin-top: 16px; }

.requirements { grid-column: 1 / -1; }

@media (min-width: 860px) {
  .trial-grid {
    grid-template-columns: 1.35fr 1fr;
    align-items: start;
  }
}

/* ---------- faq ---------- */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(5,6,7,0.08);
}

.faq-item summary {
  padding: 16px 44px 16px 18px;
  position: relative;
  cursor: pointer;
  list-style: none;
  font-weight: 900;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::before {
  content: "Q";
  margin-right: 10px;
  color: var(--deep-green);
  font-family: var(--en);
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--deep-green);
  font-family: var(--en);
  font-size: 1.4rem;
  font-weight: 900;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0;
  padding: 0 18px 18px 40px;
  color: #566064;
  font-weight: 700;
}

/* ---------- entry ---------- */
.form-note {
  margin: 0 0 16px;
  color: #566064;
  font-size: 0.92rem;
  font-weight: 700;
}

.entry-form {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
  font-weight: 900;
}

.field .req {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 900;
  vertical-align: middle;
}

.field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 4px;
  padding: 12px 12px;
  color: var(--white);
  background: #050607;
  outline: none;
}

.field input::placeholder { color: rgba(255,255,255,0.35); }

.field input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(32,255,95,0.18);
}

.entry-form.was-validated input:invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(238,27,46,0.18);
}

/* ハニーポット（スパム対策）：人には見えない欄 */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.form-submit {
  width: 100%;
  cursor: pointer;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.form-status {
  margin: 0;
  min-height: 1.5em;
  font-weight: 700;
  color: var(--muted);
}

.form-status.is-ok {
  padding: 12px 14px;
  border-left: 4px solid var(--green);
  background: rgba(32,255,95,0.08);
  color: var(--white);
}

.form-status.is-error {
  padding: 12px 14px;
  border-left: 4px solid var(--red);
  background: rgba(238,27,46,0.1);
  color: var(--white);
}

.form-placeholder {
  margin: 0;
  padding: 40px 20px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.form-alt {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 560px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-submit { width: auto; min-width: 220px; justify-self: start; }
}

.entry-layout {
  display: grid;
  gap: 16px;
}

.entry-copy, .form-panel {
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  background: #111416;
  padding: 20px;
}

.entry-copy h3, .form-panel h3 {
  margin: 0 0 12px;
  font-size: 1.65rem;
}

.entry-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 700;
}

.form-panel .form-note { color: var(--muted); }
.form-panel .form-placeholder { color: var(--muted); }
.form-panel .form-embed { background: rgba(255,255,255,0.04); }

/* ---------- sns ---------- */
.sns-box {
  display: grid;
  gap: 18px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid rgba(5,6,7,0.16);
  border-bottom: 1px solid rgba(5,6,7,0.16);
}

.sns-box h2 {
  margin: 0;
  font-size: clamp(2.2rem, 11vw, 6.8rem);
}

.sns-box p {
  margin: 0;
  color: #566064;
  font-weight: 800;
}

/* ---------- footer ---------- */
footer {
  padding: 28px 0 36px;
  color: rgba(255,255,255,0.58);
  text-align: center;
}

.footer-org {
  margin: 0 0 6px;
  font-weight: 900;
  color: rgba(255,255,255,0.8);
}

.footer-addr {
  margin: 0 0 12px;
  font-style: normal;
  font-size: 0.86rem;
  font-weight: 700;
}

.footer-copy {
  margin: 0;
  font-family: var(--en);
  font-weight: 900;
}

/* ---------- responsive ---------- */
@media (min-width: 560px) {
  .hero-actions { grid-template-columns: repeat(2, minmax(0, 220px)); }
}

@media (min-width: 760px) {
  .container { width: min(100% - 56px, 1180px); }
  .header-top { min-height: 78px; }
  .brand img { width: 50px; height: 50px; }
  .brand-name { font-size: 1.22rem; }
  .nav { gap: 12px; max-width: none; }
  .nav a { font-size: 0.95rem; padding: 10px 12px; }
  .hero {
    min-height: calc(100svh - 78px);
    padding: 88px 0 42px;
  }
  h1 { font-size: clamp(5rem, 10.4vw, 10.8rem); }
  .hero-content { gap: 32px; }
  .hero-facts { max-width: 760px; }
  .fact { padding: 20px 18px; }
  .fact span { font-size: 0.9rem; }
  section { padding: 94px 0; }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature { min-height: 300px; padding: 24px; }
  .entry-layout {
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
    align-items: start;
  }
  .form-panel { padding: 28px; }
  .sns-box {
    grid-template-columns: 1fr auto;
    padding: 44px 0;
  }
}

@media (min-width: 1040px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(5,6,7,0.04) 0%, rgba(5,6,7,0.35) 48%, rgba(5,6,7,0.94) 100%),
      linear-gradient(90deg, rgba(5,6,7,0.86) 0%, rgba(5,6,7,0.16) 48%, rgba(5,6,7,0.58) 100%),
      url("img/hero.jpg") center/cover;
  }

  .section-head {
    grid-template-columns: 0.9fr 1fr;
    align-items: end;
    gap: 24px;
  }

  .section-head p { margin-bottom: 10px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1180px); }
  .brand-name { font-size: 0.92rem; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-width: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 12px 14px;
    background: rgba(5, 6, 7, 0.96);
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 12px 8px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .hero-content { max-width: 360px; }
  h1 { font-size: clamp(2.6rem, 12vw, 3.25rem); }
  .hero-lead { overflow-wrap: anywhere; }
  .hero-facts { grid-template-columns: 1fr; }
  .fact { width: min(100%, 188px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-toggle span { transition: none; }
}

/* Accessible navigation and reliable hidden controls */
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #007f36; outline-offset: 5px; }
.dark-band :focus-visible, .site-header :focus-visible, .hero :focus-visible { outline-color: #20ff5f; }
section[id], main[id] { scroll-margin-top: 90px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 18px; background: #fff; color: #111; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 640px) {
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; flex-direction: row; max-width: 56vw; padding: 0; }
  .nav-ready .nav-toggle { display: block; }
  .nav-ready .nav { display: none; position: absolute; flex-direction: column; max-width: none; padding: 8px 12px 14px; }
  .nav-ready .nav.is-open { display: flex; }
}
