/* ============================================================
   町クラ LP v2 — styles.css
   本文は Noto Sans JP、装飾は DotGothic16 / Press Start 2P。
   ============================================================ */

:root {
  --c-bg:      #f5f0e8;
  --c-bg-2:    #ede4d3;
  --c-bg-dark: #2D2419;
  --c-black:   #14100a;
  --c-text:    #2D2419;
  --c-text-mid:#5b4f3f;
  --c-text-light:#f5f0e8;
  --c-text-dark-mid:#cab9a2;
  --c-primary: #4A7C3C;
  --c-primary-d:#3a6630;
  --c-primary-l:#6b9a5d;
  --c-accent:  #E8A33D;
  --c-accent-d:#c8861f;
  --c-sky:     #5B8FB9;
  --c-sky-d:   #437698;
  --c-dirt:    #8B5A3C;

  --f-body: "Noto Sans JP", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --f-display: "Noto Sans JP", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --f-en: "Press Start 2P", "Noto Sans JP", monospace;

  --container: 1180px;
  --container-narrow: 820px;

  --shadow-block: 6px 6px 0 var(--c-bg-dark);
  --shadow-block-sm: 4px 4px 0 var(--c-bg-dark);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.85;
  color: var(--c-text);
  background: var(--c-bg);
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; font-weight: 700; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

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

/* Brand mark (3x3) */
.brand-mark {
  display: inline-grid;
  grid-template: repeat(3, 6px) / repeat(3, 6px);
  gap: 1px;
}
.brand-mark > span { width: 6px; height: 6px; background: var(--c-primary); }
.brand-mark > span:nth-child(2),
.brand-mark > span:nth-child(4),
.brand-mark > span:nth-child(6),
.brand-mark > span:nth-child(8) { background: var(--c-dirt); }

/* ============ 01 HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 14px 28px;
  background: rgba(245, 240, 232, 0.93);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 2px solid var(--c-text);
}
.header__brand { display: flex; align-items: center; gap: 12px; }
.header__logo {
  display: block;
  height: 40px;
  width: auto;
}
@media (max-width: 520px) {
  .header__logo { height: 34px; }
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text__jp { font-family: var(--f-display); font-size: 18px; }
.brand-text__en { font-family: var(--f-en); font-size: 8px; color: var(--c-text-mid); margin-top: 3px; letter-spacing: 0.04em; }

.header__nav { display: flex; gap: 22px; justify-content: center; }
.header__nav a {
  font-size: 13px; font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .15s;
}
.header__nav a:hover { border-bottom-color: var(--c-primary); }

.header__cta {
  background: var(--c-accent);
  color: var(--c-text);
  font-weight: 700;
  font-size: 13px;
  padding: 10px 16px;
  border: 2px solid var(--c-text);
  box-shadow: 3px 3px 0 var(--c-text);
  transition: transform .12s, box-shadow .12s;
  display: inline-flex; align-items: center; gap: 8px;
}
.header__cta-icon {
  width: 8px; height: 8px; background: var(--c-text);
  box-shadow: 4px 0 0 var(--c-text), 0 4px 0 var(--c-text), 4px 4px 0 var(--c-text);
}
.header__cta:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--c-text); }
.header__cta:active { transform: translate(0,0); box-shadow: 1px 1px 0 var(--c-text); }

.header__menu { display: none; background: transparent; border: 2px solid var(--c-text); width: 40px; height: 40px; padding: 0; position: relative; }
.header__menu span { display: block; width: 18px; height: 2px; background: var(--c-text); margin: 4px auto; }

@media (max-width: 1100px) { .header__nav { gap: 14px; } .header__nav a { font-size: 12px; } }
@media (max-width: 940px) {
  .header { grid-template-columns: auto auto auto; }
  .header__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--c-bg); border-bottom: 2px solid var(--c-text); flex-direction: column; padding: 16px 24px; gap: 12px; align-items: stretch; }
  .header__nav[data-open="true"] { display: flex; }
  .header__nav a { padding: 8px 0; border-bottom: 1px dashed rgba(45,36,25,0.2); }
  .header__menu { display: block; }
}
@media (max-width: 520px) {
  .brand-text__en { display: none; }
  .header { padding: 12px 16px; gap: 12px; }
  .header__cta { padding: 8px 12px; font-size: 12px; }
}

/* ============ shared section pieces ============ */
section { padding: 110px 0; position: relative; }
.section--cream { background: var(--c-bg-2); }
.section--dark { background: var(--c-bg-dark); color: var(--c-text-light); }
.section--green {
  background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-primary-d) 100%);
  color: var(--c-text-light);
  position: relative;
}
.section--green::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg,
    var(--c-accent) 0 16px,
    transparent 16px 32px,
    var(--c-bg) 32px 48px,
    transparent 48px 64px);
  opacity: 0.6;
  pointer-events: none;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 24px;
  font-family: var(--f-en);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--c-text-mid);
}
.eyebrow__dots { display: inline-flex; gap: 3px; }
.eyebrow__dots i { width: 7px; height: 7px; display: block; background: var(--c-primary); }
.eyebrow__dots i:nth-child(2) { background: var(--c-accent); }
.eyebrow__dots i:nth-child(3) { background: var(--c-dirt); }
.eyebrow--light { color: var(--c-text-dark-mid); }

.section__title {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.45;
  letter-spacing: 0.01em;
  margin: 0 0 20px;
}
.section__title--light { color: var(--c-text-light); }
.section__lead {
  max-width: 720px;
  font-size: 16px;
  line-height: 2;
  color: var(--c-text-mid);
  margin: 0 0 56px;
}
.section__lead--light { color: var(--c-text-dark-mid); }

@media (max-width: 720px) {
  section { padding: 72px 0; }
  .section__lead { margin-bottom: 36px; font-size: 15px; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 14px 22px;
  border: 2px solid var(--c-text);
  background: var(--c-bg);
  color: var(--c-text);
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-block-sm);
  transition: transform .14s ease, box-shadow .14s ease;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--c-text); }
.btn:active { transform: translate(0, 0); box-shadow: 2px 2px 0 var(--c-text); }
.btn__label { font-size: 15px; }
.btn__sub { font-size: 11px; font-weight: 500; color: var(--c-text-mid); margin-top: 4px; font-family: var(--f-en); letter-spacing: 0.04em; }

.btn--primary { background: var(--c-accent); color: var(--c-text); }
.btn--primary .btn__sub { color: rgba(45,36,25,0.7); }

.btn--ghost { background: transparent; }

.btn--ghost-light {
  background: transparent; color: var(--c-text-light);
  border-color: var(--c-text-light);
  box-shadow: 4px 4px 0 rgba(245,240,232,0.3);
}
.btn--ghost-light .btn__sub { color: rgba(245,240,232,0.7); }
.btn--ghost-light:hover { box-shadow: 7px 7px 0 rgba(245,240,232,0.45); }

.btn--large { padding: 20px 32px; }
.btn--large .btn__label { font-size: 17px; }

.btn--xl { padding: 28px 40px; }
.btn--xl .btn__label { font-size: 20px; }
.btn--xl .btn__sub { font-size: 12px; margin-top: 8px; }

/* ============ 02 HERO ============ */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--c-bg);
  background-image: url('assets/hero-bg.jpg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  min-height: clamp(560px, 52vw, 780px);
  display: flex;
  align-items: center;
}

.hero__inner {
  display: block;
  padding-top: 32px;
  padding-bottom: 32px;
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero__copy {
  max-width: 660px;
}

/* --- Left column: copy --- */
.hero__copy { animation: heroFade 1s ease-out; }
@keyframes heroFade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.hero__label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-primary-d);
  background: var(--c-bg);
  border: 2px solid var(--c-text);
  padding: 7px 12px 8px;
  margin: 0 0 28px;
  box-shadow: 3px 3px 0 var(--c-text);
}
.hero__label-tri {
  color: var(--c-primary);
  font-size: 9px;
  transform: translateY(-1px);
}

.hero__title {
  font-family: var(--f-display);
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin: 0 0 32px;
  font-weight: 900;
}
.hero__title-em {
  font-style: normal;
  display: inline-block;
  padding: 0 4px;
  color: var(--c-text);
  background: linear-gradient(transparent 64%, var(--c-accent) 64%, var(--c-accent) 92%, transparent 92%);
}

.hero__lead {
  font-size: 16px;
  line-height: 2.05;
  max-width: 560px;
  margin: 0 0 36px;
  color: var(--c-text);
}
.hero__lead strong { color: var(--c-primary-d); font-weight: 700; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
  align-items: stretch;
}
.hero__cta-main { flex-direction: row; gap: 10px; padding: 18px 28px; }
.hero__cta-main .hero__cta-arrow { font-family: var(--f-en); font-size: 14px; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips li {
  font-size: 12px;
  background: var(--c-bg);
  border: 2px solid var(--c-text);
  padding: 4px 10px;
  font-weight: 500;
}

/* btn--white variant */
.btn--white {
  background: #fff;
  color: var(--c-text);
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    background-position: center bottom;
    background-size: 100% auto;
    display: block;
  }
  .hero__inner { padding-top: 80px; padding-bottom: 56vw; }
}
@media (max-width: 640px) {
  .hero__title { font-size: clamp(30px, 8.5vw, 44px); }
  .hero__lead { font-size: 15px; }
  .hero__inner { padding-bottom: 60vw; }
  .hero__cta-main { padding: 16px 22px; }
}

/* ============ 03 3秒で町クラ ============ */
.in3sec__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}
.pill {
  --c: var(--c-primary);
  --cd: var(--c-primary-d);
  position: relative;
  background: var(--c-bg);
  border: 2px solid var(--c-text);
  box-shadow: var(--shadow-block);
  padding: 32px 28px 28px;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.pill:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--c-text); }
.pill::before {
  content: "";
  position: absolute;
  top: -2px; left: -2px; right: -2px;
  height: 8px;
  background: var(--c);
}
.pill__num {
  font-family: var(--f-en);
  font-size: clamp(42px, 4.6vw, 64px);
  color: var(--c);
  margin: 0 0 20px;
  letter-spacing: 0.04em;
  line-height: 1;
  text-shadow:
    3px 0 0 var(--cd),
    0 3px 0 var(--cd),
    3px 3px 0 var(--cd);
}
.pill__title {
  font-family: var(--f-display);
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 900;
  margin: 0 0 20px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--c-text);
}
.pill__body {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.95;
  color: var(--c-text-mid);
}

@media (max-width: 820px) { .in3sec__grid { grid-template-columns: 1fr; } }

/* ============ 04 WHY ============ */
/* Row that holds quote + photo side by side */
.why-row {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 36px;
  align-items: stretch;
  margin: 8px 0 56px;
}
.why-row .why-quote { margin: 0; max-width: none; }

.why-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-photo__frame {
  position: relative;
  background: var(--c-bg);
  border: 2px solid var(--c-text);
  box-shadow: var(--shadow-block);
  padding: 8px;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}
.why-photo__frame::before {
  content: "";
  position: absolute;
  top: -2px; right: -2px;
  width: 24px; height: 8px;
  background: var(--c-accent);
  z-index: 2;
}
.why-photo__frame::after {
  content: "";
  position: absolute;
  bottom: -2px; left: -2px;
  width: 8px; height: 24px;
  background: var(--c-primary);
  z-index: 2;
}
.why-photo__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-photo__cap {
  font-size: 12px;
  color: var(--c-text-mid);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 4px;
}
.why-photo__cap::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--c-accent);
  flex-shrink: 0;
}

@media (max-width: 820px) {
  .why-row { grid-template-columns: 1fr; gap: 24px; }
  .why-photo__frame { min-height: auto; }
  .why-photo__frame img { aspect-ratio: 3 / 2; height: auto; }
}

/* eyebrow with Japanese label */
.eyebrow__jp {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--c-text);
}
.eyebrow--with-jp { gap: 14px; flex-wrap: wrap; }

/* New "why-quote" — thick green left rail, chunky shadow, marker highlight */
.why-quote {
  position: relative;
  margin: 8px 0 56px;
  padding: 36px 40px 32px 56px;
  background: var(--c-bg);
  border: 2px solid var(--c-text);
  border-left: 12px solid var(--c-primary);
  box-shadow: var(--shadow-block);
  max-width: 920px;
}
.why-quote::before {
  /* decorative top-left pixel block */
  content: "";
  position: absolute;
  top: -8px; left: -2px;
  width: 22px; height: 8px;
  background: var(--c-primary);
}
.why-quote blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 2.1;
  font-weight: 500;
}
.why-quote blockquote p { margin: 0 0 8px; color: var(--c-text); }
.why-quote blockquote p:last-child { margin-bottom: 0; }
.why-quote blockquote strong { font-weight: 700; }
.why-quote mark {
  background: linear-gradient(transparent 55%, rgba(232,163,61,0.55) 55%);
  color: var(--c-text);
  padding: 0 2px;
  font-weight: 700;
}
.why-quote__concl {
  margin-top: 14px !important;
  padding-top: 14px;
  border-top: 1px dashed rgba(45,36,25,0.25);
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 0.02em;
}

.why__intro {
  font-size: 15px;
  margin: 0 0 28px;
  font-weight: 500;
}

.skills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.skill {
  background: var(--c-bg);
  border: 2px solid var(--c-text);
  box-shadow: var(--shadow-block-sm);
  padding: 26px 22px 24px;
  position: relative;
}
.skill__num {
  font-family: var(--f-display);
  font-size: 32px;
  color: var(--c-accent-d);
  margin-bottom: 14px;
  line-height: 1;
}
.skill__title { font-family: var(--f-display); font-size: 19px; margin-bottom: 14px; line-height: 1.5; }
.skill__body { font-size: 13px; line-height: 1.9; color: var(--c-text-mid); }

/* Dark variant — black bg, torch-pixel numbers */
.skill--dark {
  background: var(--c-bg-dark);
  color: var(--c-text-light);
  border-color: var(--c-bg-dark);
  box-shadow: 4px 4px 0 rgba(45,36,25,0.35);
  position: relative;
  overflow: hidden;
}
.skill--dark::before {
  /* top accent pixel bar */
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 6px;
  background: var(--c-accent);
}
.skill--dark::after {
  /* a small pixel block ornament bottom-right */
  content: "";
  position: absolute;
  bottom: 14px; right: 14px;
  width: 8px; height: 8px;
  background: var(--c-accent);
  box-shadow: 12px 0 0 rgba(232,163,61,0.4), 0 -12px 0 rgba(232,163,61,0.2);
}
.skill--dark .skill__num {
  font-family: var(--f-en);
  font-size: 14px;
  color: var(--c-accent);
  letter-spacing: 0.1em;
  margin-bottom: 22px;
}
.skill--dark .skill__title {
  color: var(--c-text-light);
  font-size: 22px;
  margin-bottom: 10px;
}
.skill--dark .skill__body {
  color: var(--c-text-dark-mid);
  font-size: 13px;
  line-height: 1.95;
}

@media (max-width: 980px) { .skills { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .skills { grid-template-columns: 1fr; }
  .why-quote { padding: 28px 24px 24px 28px; border-left-width: 8px; }
  .why-quote blockquote { font-size: 15px; line-height: 2; }
  .why-quote__concl { font-size: 16px; }
}

/* ============ 05 CYCLE LOOP ============ */
.loop {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  margin-bottom: 28px;
  background: #fff;
  border: 2px solid var(--c-text);
  box-shadow: var(--shadow-block);
}
.loop__col {
  padding: 40px 36px 36px;
  position: relative;
}
.loop__col--online::before {
  /* tiny pixel accent in corner */
  content: "";
  position: absolute;
  top: 14px; right: 14px;
  width: 8px; height: 8px;
  background: var(--c-sky);
  box-shadow: -12px 0 0 rgba(91,143,185,0.4), 0 12px 0 rgba(91,143,185,0.2);
}
.loop__col--real::before {
  content: "";
  position: absolute;
  top: 14px; left: 14px;
  width: 8px; height: 8px;
  background: var(--c-accent);
  box-shadow: 12px 0 0 rgba(232,163,61,0.4), 0 12px 0 rgba(232,163,61,0.2);
}

.loop__col-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--c-text);
}
.loop__col-tag {
  font-family: var(--f-en);
  font-size: 11px;
  background: var(--c-sky);
  color: #fff;
  padding: 6px 10px 7px;
  letter-spacing: 0.1em;
  border: 2px solid var(--c-text);
  box-shadow: 2px 2px 0 var(--c-text);
}
.loop__col-tag--blue { background: var(--c-sky); color: #fff; }
.loop__col-tag--accent { background: var(--c-accent); color: var(--c-text); }
.loop__col-title { font-family: var(--f-display); font-size: 24px; line-height: 1; }

.loop__list { display: flex; flex-direction: column; gap: 16px; }
.loop__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15.5px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(45,36,25,0.18);
}
.loop__list li:last-child { border-bottom: none; }
.loop__bullet {
  width: 12px; height: 12px;
  flex-shrink: 0;
  background: var(--c-primary);
  box-shadow: -3px 0 0 rgba(74,124,60,0.3), 3px 0 0 rgba(74,124,60,0.3);
}
.loop__col--online .loop__bullet { background: var(--c-sky); box-shadow: -3px 0 0 rgba(91,143,185,0.3), 3px 0 0 rgba(91,143,185,0.3); }
.loop__col--real .loop__bullet { background: var(--c-accent); box-shadow: -3px 0 0 rgba(232,163,61,0.3), 3px 0 0 rgba(232,163,61,0.3); }

/* Center column with big ⇄ */
.loop__center {
  display: flex;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  padding: 0 8px;
  position: relative;
}
.loop__center::before,
.loop__center::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  background: rgba(45,36,25,0.12);
  transform: translateX(-50%);
}
.loop__center::before { top: 40px; height: calc(50% - 80px); }
.loop__center::after { bottom: 40px; height: calc(50% - 80px); }

.loop__swap {
  font-family: var(--f-display);
  font-size: clamp(56px, 8vw, 96px);
  color: var(--c-accent);
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow:
    3px 0 0 var(--c-accent-d),
    0 3px 0 var(--c-accent-d),
    3px 3px 0 var(--c-accent-d),
    6px 6px 0 rgba(45,36,25,0.18);
  animation: swapPulse 3s ease-in-out infinite;
}
@keyframes swapPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
.loop__center-label {
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--c-text-mid);
  letter-spacing: 0.04em;
}

@media (max-width: 820px) {
  .loop { grid-template-columns: 1fr; }
  .loop__col { padding: 32px 24px; }
  .loop__col--online { border-bottom: 2px dashed rgba(45,36,25,0.2); }
  .loop__col--real { border-top: 2px dashed rgba(45,36,25,0.2); }
  .loop__center { padding: 16px 0; }
  .loop__swap { font-size: 56px; }
}

/* Caption between diagram and banner */
.loop__note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 28px 0;
  padding: 0 4px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-text-mid);
}
.loop__note-mark {
  font-family: var(--f-display);
  font-size: 36px;
  color: var(--c-primary);
  line-height: 1;
  flex-shrink: 0;
}
.loop__note strong { color: var(--c-primary-d); font-weight: 700; }

@media (max-width: 560px) {
  .loop__note { gap: 12px; font-size: 14px; }
  .loop__note-mark { font-size: 28px; }
}

/* Green banner below */
.loop__banner {
  background:
    linear-gradient(180deg, var(--c-primary) 0%, var(--c-primary-d) 100%);
  color: #fff;
  padding: 20px 28px;
  border: 2px solid var(--c-text);
  box-shadow: var(--shadow-block);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
}
.loop__banner::before {
  /* pixel block pattern band along top */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg,
    rgba(255,255,255,0.4) 0 12px,
    transparent 12px 24px);
}
.loop__banner-tri {
  font-size: 18px;
  color: var(--c-accent);
  animation: triBlink 1.6s ease-in-out infinite;
}
.loop__banner-tri:last-child { animation-delay: .8s; }
@keyframes triBlink {
  0%, 100% { opacity: 0.55; transform: translateY(0); }
  50%      { opacity: 1; transform: translateY(3px); }
}
.loop__banner-text {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.6vw, 28px);
  letter-spacing: 0.08em;
  text-align: center;
}

@media (max-width: 560px) {
  .loop__banner { padding: 16px 18px; gap: 12px; }
  .loop__banner-text { font-size: 17px; letter-spacing: 0.04em; }
}

/* ============ 06 CASE STUDY (dark) ============ */
.case { background: var(--c-bg-dark); }

/* Torch-color chip eyebrow */
.case__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--c-accent);
  color: var(--c-text);
  padding: 8px 14px 9px;
  border: 2px solid var(--c-text);
  box-shadow: 3px 3px 0 rgba(232,163,61,0.5);
  margin-bottom: 24px;
}
.case__chip-block {
  width: 10px; height: 10px;
  background: var(--c-text);
  box-shadow: 3px 0 0 var(--c-text), 0 3px 0 var(--c-text);
}
.case__chip-en { font-family: var(--f-en); font-size: 10px; letter-spacing: 0.1em; }
.case__chip-jp { font-size: 13px; font-weight: 700; }

.case__title { margin-bottom: 20px; }
.case__lead { margin-bottom: 56px; }
.case__lead strong { color: var(--c-accent); font-weight: 700; }

/* Green banner block */
.case-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  padding: 36px 40px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-d) 100%);
  border: 2px solid var(--c-text-light);
  box-shadow: 8px 8px 0 rgba(0,0,0,0.45);
  margin-bottom: 64px;
  position: relative;
  overflow: hidden;
}
.case-banner::before {
  /* pixel pattern strip top */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: repeating-linear-gradient(90deg,
    var(--c-accent) 0 14px,
    var(--c-primary-d) 14px 28px);
}

.case-banner__big {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding-right: 36px;
  border-right: 2px dashed rgba(245,240,232,0.45);
}
.case-banner__big-num {
  font-family: var(--f-en);
  font-size: clamp(48px, 7vw, 84px);
  color: var(--c-accent);
  line-height: 1;
  letter-spacing: 0;
  text-shadow:
    3px 0 0 var(--c-accent-d),
    0 3px 0 var(--c-accent-d),
    3px 3px 0 var(--c-accent-d);
}
.case-banner__big-unit {
  font-family: var(--f-en);
  font-size: clamp(14px, 1.8vw, 20px);
  color: var(--c-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-banner__loc {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--c-text-light);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.case-banner__pin {
  width: 12px; height: 12px;
  background: var(--c-accent);
  box-shadow: 0 -4px 0 var(--c-accent), -4px 0 0 var(--c-accent), 4px 0 0 var(--c-accent);
}
.case-banner__desc {
  font-size: 15px;
  line-height: 2;
  color: var(--c-text-light);
}
.case-banner__desc strong { color: var(--c-accent); font-weight: 700; }

@media (max-width: 820px) {
  .case-banner { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .case-banner__big { padding-right: 0; padding-bottom: 18px; border-right: none; border-bottom: 2px dashed rgba(245,240,232,0.45); flex-direction: row; align-items: baseline; gap: 12px; }
}

/* Vertical timeline */
.case-timeline {
  position: relative;
  padding-left: 28px;
  margin: 0;
}
.case-timeline::before {
  content: "";
  position: absolute;
  left: 5px; top: 12px; bottom: 12px;
  width: 4px;
  background: repeating-linear-gradient(180deg,
    var(--c-accent) 0 10px,
    transparent 10px 16px);
}

.case-tl {
  position: relative;
  padding: 0 0 36px 32px;
}
.case-tl:last-child { padding-bottom: 0; }

.case-tl__node {
  position: absolute;
  left: -28px; top: 6px;
  width: 14px; height: 14px;
  background: var(--c-accent);
  border: 3px solid var(--c-bg-dark);
  box-shadow: 0 0 0 2px var(--c-accent);
}
.case-tl__node--final {
  background: var(--c-text-light);
  box-shadow: 0 0 0 2px var(--c-accent), 0 0 16px rgba(232,163,61,0.6);
}

.case-tl__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.case-tl__period {
  font-family: var(--f-en);
  font-size: 12px;
  color: var(--c-accent);
  letter-spacing: 0.08em;
  background: rgba(232,163,61,0.12);
  padding: 6px 10px 7px;
  border-left: 3px solid var(--c-accent);
  white-space: nowrap;
}
.case-tl__period--accent {
  color: var(--c-text);
  background: var(--c-accent);
  border-left-color: var(--c-text-light);
}
.case-tl__title {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--c-text-light);
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.case-tl__body {
  font-size: 15px;
  line-height: 2;
  color: var(--c-text-dark-mid);
  max-width: 720px;
}
.case-tl__body strong { color: var(--c-text-light); font-weight: 700; }

@media (max-width: 560px) {
  .case-timeline { padding-left: 22px; }
  .case-timeline::before { left: 3px; }
  .case-tl { padding-left: 24px; padding-bottom: 28px; }
  .case-tl__node { left: -22px; width: 12px; height: 12px; }
  .case-tl__body { font-size: 14px; line-height: 1.95; }
}

/* Photo gallery below timeline */
.case-gallery {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-gallery--two { grid-template-columns: 1fr 1fr; }
.case-photo {
  margin: 0;
  background: rgba(245,240,232,0.04);
  border: 2px solid rgba(245,240,232,0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.case-photo__img {
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(45deg,
      #3a302a 0 14px,
      #443730 14px 28px);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 2px solid rgba(245,240,232,0.18);
  overflow: hidden;
}
.case-photo__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-photo__label {
  font-family: var(--f-en);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--c-text-dark-mid);
  background: var(--c-bg-dark);
  padding: 8px 12px;
  border: 2px solid rgba(245,240,232,0.3);
  text-align: center;
  line-height: 1.6;
}
.case-photo figcaption {
  padding: 16px 18px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.case-photo__no {
  font-family: var(--f-en);
  font-size: 11px;
  color: var(--c-accent);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  padding-top: 1px;
}
.case-photo__cap {
  font-size: 13px;
  line-height: 1.75;
  color: var(--c-text-dark-mid);
}

@media (max-width: 820px) {
  .case-gallery, .case-gallery--two { grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
}

/* ============ 07 VOICES ============ */
.voices__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.voice {
  position: relative;
  background: #fff;
  border: 2px solid var(--c-text);
  box-shadow: var(--shadow-block);
  padding: 48px 36px 28px;
  margin: 0;
  overflow: hidden;
}
.voice__quotemark {
  position: absolute;
  top: 18px; left: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 92px;
  line-height: 0.85;
  color: var(--c-accent);
  font-weight: 700;
  pointer-events: none;
  user-select: none;
}
.voice__letter {
  position: absolute;
  top: 18px; right: 22px;
  font-family: var(--f-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  background: var(--c-text);
  color: var(--c-text-light);
  padding: 6px 8px 7px;
  min-width: 26px;
  text-align: center;
}

.voice blockquote {
  margin: 24px 0 24px;
  padding: 0 0 0 76px;
}
.voice p {
  font-size: 16px;
  line-height: 2.05;
  font-weight: 500;
}
.voice strong {
  background: linear-gradient(transparent 58%, rgba(232,163,61,0.45) 58%);
  font-weight: 700;
}

.voice figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px dashed rgba(45,36,25,0.22);
  padding-left: 76px;
}
.voice__who { font-weight: 700; font-size: 14px; }
.voice__tag {
  font-family: var(--f-en);
  font-size: 9.5px;
  color: var(--c-text-mid);
  background: var(--c-bg-2);
  padding: 5px 9px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(45,36,25,0.18);
}

@media (max-width: 820px) {
  .voices__grid { grid-template-columns: 1fr; }
  .voice { padding: 44px 26px 24px; }
  .voice__quotemark { font-size: 72px; top: 14px; left: 18px; }
  .voice blockquote, .voice figcaption { padding-left: 58px; }
  .voice figcaption { flex-wrap: wrap; gap: 8px; }
  .voice p { font-size: 15px; }
}
@media (max-width: 480px) {
  .voice blockquote, .voice figcaption { padding-left: 0; }
  .voice__quotemark { font-size: 64px; }
}

/* Voices CTA */
.voices__cta {
  margin-top: 56px;
  text-align: center;
}
.voices__cta-lead {
  font-size: 15px;
  color: var(--c-text-mid);
  font-weight: 500;
  margin: 0 0 20px;
}
.voices__cta-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.voices__cta-row .btn {
  flex-direction: row;
  gap: 10px;
  padding: 18px 28px;
}
.voices__cta-arrow { font-family: var(--f-en); font-size: 14px; }
.voices__cta-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-text);
  border-bottom: 2px solid var(--c-text);
  padding: 4px 0;
  transition: color .15s, border-color .15s;
}
.voices__cta-link::after {
  content: " →";
  font-family: var(--f-en);
  font-size: 12px;
}
.voices__cta-link:hover { color: var(--c-primary-d); border-bottom-color: var(--c-primary-d); }

@media (max-width: 560px) {
  .voices__cta { margin-top: 40px; }
  .voices__cta-row { gap: 16px; flex-direction: column; }
  .voices__cta-row .btn { width: 100%; }
}

/* ============ 08 EuLa Checks ============ */
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 8px 0 64px;
}
.check {
  background: #fff;
  border: 2px solid var(--c-text);
  box-shadow: var(--shadow-block-sm);
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
}
.check__mark {
  width: 48px; height: 48px;
  background: var(--c-primary);
  border: 2px solid var(--c-text);
  box-shadow: 3px 3px 0 var(--c-primary-d);
  display: flex; align-items: center; justify-content: center;
  image-rendering: pixelated;
  flex-shrink: 0;
}
.check__mark svg { width: 28px; height: 28px; }
.check__text {
  font-size: 15.5px;
  line-height: 1.85;
  font-weight: 500;
  color: var(--c-text);
}
.check__text strong {
  font-weight: 700;
  background: linear-gradient(transparent 62%, rgba(74,124,60,0.25) 62%);
}

@media (max-width: 820px) { .checks { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .check { grid-template-columns: 40px 1fr; padding: 18px 20px; gap: 14px; }
  .check__mark { width: 40px; height: 40px; }
  .check__mark svg { width: 22px; height: 22px; }
  .check__text { font-size: 14.5px; }
}

/* Bottom green guidance block */
.eula-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 36px 40px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-d) 100%);
  color: var(--c-text-light);
  border: 2px solid var(--c-text);
  box-shadow: var(--shadow-block);
  position: relative;
  overflow: hidden;
}
.eula-cta__pixels {
  position: absolute;
  top: 0; right: 0;
  width: 96px; height: 100%;
  pointer-events: none;
  opacity: 0.25;
}
.eula-cta__pixels span {
  position: absolute;
  width: 14px; height: 14px;
  background: var(--c-text-light);
}
.eula-cta__pixels span:nth-child(1) { top: 18px; right: 60px; }
.eula-cta__pixels span:nth-child(2) { top: 18px; right: 38px; background: var(--c-accent); }
.eula-cta__pixels span:nth-child(3) { bottom: 24px; right: 22px; background: var(--c-accent); opacity: 0.6; }
.eula-cta__pixels span:nth-child(4) { bottom: 24px; right: 44px; }

.eula-cta__body { position: relative; z-index: 2; }
.eula-cta__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-en);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--c-accent);
  margin-bottom: 12px;
}
.eula-cta__pin {
  width: 10px; height: 10px;
  background: var(--c-accent);
  box-shadow: 0 -3px 0 var(--c-accent), -3px 0 0 var(--c-accent), 3px 0 0 var(--c-accent);
}
.eula-cta__title {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--c-text-light);
}
.eula-cta__btn {
  flex-direction: row;
  gap: 12px;
  padding: 18px 24px;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}
.eula-cta__btn .btn__label { font-size: 15px; }
.eula-cta__arrow { font-family: var(--f-en); font-size: 14px; }

@media (max-width: 820px) {
  .eula-cta { grid-template-columns: 1fr; padding: 28px 24px; gap: 20px; text-align: left; }
  .eula-cta__pixels { width: 64px; opacity: 0.18; }
  .eula-cta__btn { width: 100%; }
}

/* ============ 09 STEPS ============ */
.steps__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
  position: relative;
}
/* connecting line between steps */
.steps__list::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 8%; right: 8%;
  height: 4px;
  background: repeating-linear-gradient(90deg,
    var(--c-accent) 0 12px,
    transparent 12px 20px);
  z-index: 0;
}

.step {
  background: #fff;
  border: 2px solid var(--c-text);
  box-shadow: var(--shadow-block);
  padding: 28px 28px 24px;
  position: relative;
  z-index: 1;
  display: flex; flex-direction: column;
  gap: 18px;
}

/* black step number badge with torch pixel num */
.step__no {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--c-bg-dark);
  color: var(--c-accent);
  padding: 12px 18px 14px;
  border: 2px solid var(--c-text);
  align-self: flex-start;
  min-width: 88px;
  text-align: center;
}
.step__no-label {
  font-family: var(--f-en);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--c-text-dark-mid);
}
.step__no-num {
  font-family: var(--f-en);
  font-size: 26px;
  letter-spacing: 0.04em;
  color: var(--c-accent);
  line-height: 1;
}
.step--final .step__no { background: var(--c-accent); }
.step--final .step__no-label { color: rgba(45,36,25,0.7); }
.step--final .step__no-num { color: var(--c-text); }

.step__body { flex: 1; }
.step__title {
  font-family: var(--f-display);
  font-size: 26px;
  line-height: 1.4;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.step__text {
  font-size: 14.5px;
  line-height: 2;
  color: var(--c-text-mid);
}

.step__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding-top: 16px;
  border-top: 1px dashed rgba(45,36,25,0.2);
}
.step__tags li {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  background: var(--c-bg-2);
  border: 1px solid rgba(45,36,25,0.18);
  color: var(--c-text);
}
.step__tags-cta {
  background: var(--c-accent) !important;
  color: var(--c-text) !important;
  border-color: var(--c-text) !important;
  font-family: var(--f-body);
}

@media (max-width: 980px) {
  .steps__list { grid-template-columns: 1fr; gap: 18px; }
  .steps__list::before { display: none; }
}

/* ============ 10 FAQ ============ */
.faq__list { border-top: 2px solid var(--c-text); margin-top: 24px; }
.faq__item { border-bottom: 2px solid var(--c-text); }
.faq__q {
  width: 100%;
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  gap: 16px;
  align-items: center;
  background: transparent;
  border: 0;
  padding: 22px 4px;
  text-align: left;
  color: var(--c-text);
  font-weight: 700;
}
.faq__qmark { font-family: var(--f-display); font-size: 22px; color: var(--c-primary); }
.faq__qtext { font-size: 15px; line-height: 1.7; }
.faq__toggle { width: 24px; height: 24px; position: relative; flex-shrink: 0; }
.faq__toggle::before, .faq__toggle::after {
  content: ""; position: absolute; background: var(--c-text);
  top: 50%; left: 50%;
}
.faq__toggle::before { width: 16px; height: 4px; transform: translate(-50%, -50%); }
.faq__toggle::after { width: 4px; height: 16px; transform: translate(-50%, -50%); transition: transform .2s; }
.faq__item[data-open="true"] .faq__toggle::after { transform: translate(-50%, -50%) scaleY(0); }

.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq__a > p { overflow: hidden; padding: 0 4px 0 52px; font-size: 14px; line-height: 2; color: var(--c-text-mid); }
.faq__item[data-open="true"] .faq__a { grid-template-rows: 1fr; }
.faq__item[data-open="true"] .faq__a > p { padding-bottom: 22px; }

/* ============ 11 CTA — green gradient ============ */
.cta {
  position: relative;
  overflow: hidden;
  padding: 130px 0 120px;
  isolation: isolate;
  color: var(--c-text-light);
}
.cta__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #355a2a 0%, #4A7C3C 100%);
  z-index: -2;
}
.cta__bg::before {
  /* subtle radial highlight */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0,0,0,0.18) 0%, transparent 60%);
  pointer-events: none;
}
/* Pixel dot pattern overlay */
.cta__dots {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(245,240,232,0.13) 1.5px, transparent 1.5px),
    radial-gradient(rgba(245,240,232,0.08) 1.5px, transparent 1.5px);
  background-size: 18px 18px, 36px 36px;
  background-position: 0 0, 9px 9px;
  pointer-events: none;
}
.cta__blocks { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.cta__blocks span {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 28px; height: 28px;
  background: rgba(245,240,232,0.14);
  border: 2px solid rgba(245,240,232,0.28);
  animation: floatBlock 6s ease-in-out infinite;
  animation-delay: var(--d);
}
@keyframes floatBlock {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
  50%      { transform: translateY(-14px) rotate(8deg); opacity: 1; }
}

.cta__inner { text-align: center; position: relative; }
.cta__inner .eyebrow { color: var(--c-text-light); justify-content: center; }
.cta__inner .eyebrow__dots i { background: var(--c-accent); }
.cta__inner .eyebrow__dots i:nth-child(2) { background: var(--c-text-light); }
.cta__inner .eyebrow__dots i:nth-child(3) { background: rgba(245,240,232,0.4); }

.cta__title {
  font-family: var(--f-display);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin: 16px 0 24px;
  color: var(--c-text-light);
}
.cta__lead {
  color: rgba(245,240,232,0.92);
  font-size: 16px;
  line-height: 2;
  margin-bottom: 48px;
  max-width: 680px;
  margin-left: auto; margin-right: auto;
}
.cta__lead strong { color: var(--c-accent); font-weight: 700; }

.cta__buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
  max-width: 760px;
  margin: 0 auto;
}
.cta__btn {
  width: 100%;
  padding: 22px 18px;
  flex-direction: row;
  gap: 10px;
  font-size: 15px;
}
.cta__btn .btn__label { font-size: 15px; }
.cta__btn-arrow { font-family: var(--f-en); font-size: 14px; }

/* Dark green button */
.btn--darkgreen {
  background: var(--c-primary-d);
  color: var(--c-text-light);
  border-color: var(--c-bg-dark);
  box-shadow: 4px 4px 0 var(--c-bg-dark);
}
.btn--darkgreen:hover { box-shadow: 7px 7px 0 var(--c-bg-dark); }
.btn--darkgreen:active { box-shadow: 2px 2px 0 var(--c-bg-dark); }

@media (max-width: 820px) {
  .cta { padding: 80px 0 72px; }
  .cta__buttons { grid-template-columns: 1fr; max-width: 420px; }
  .cta__btn { padding: 20px 18px; }
}

/* ============ 12 FOOTER ============ */
.footer {
  background: var(--c-black);
  color: var(--c-text-dark-mid);
  padding: 56px 0 40px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 14px 28px;
  border-radius: 4px;
}
.footer__logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 100%;
}

@media (max-width: 640px) {
  .footer__brand { padding: 12px 20px; }
  .footer__logo { height: 36px; }
}

.footer__program {
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--c-text-dark-mid);
  letter-spacing: 0.04em;
}
.footer__program span {
  font-family: var(--f-en);
  font-size: 9px;
  color: rgba(245,240,232,0.4);
  margin-left: 6px;
  letter-spacing: 0.1em;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 6px 0 8px;
}
.footer__links li {
  position: relative;
  padding: 0 18px;
}
.footer__links li + li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 4px; height: 4px;
  background: rgba(245,240,232,0.25);
  transform: translateY(-50%);
}
.footer__links a {
  font-size: 13px;
  color: var(--c-text-dark-mid);
  transition: color .15s;
}
.footer__links a:hover { color: var(--c-accent); }

.footer__copy {
  font-size: 11px;
  color: rgba(245,240,232,0.45);
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .footer { padding: 44px 0 32px; }
  .footer__links li { padding: 4px 12px; }
  .footer__copy { font-size: 10.5px; padding: 0 16px; }
}

/* ============ Scroll reveal ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}
[data-reveal].in { opacity: 1; transform: none; }

/* ============ Pixel intensity tweak ============ */
body[data-pixel="low"] .eyebrow__dots,
body[data-pixel="low"] .cta__blocks { display: none; }

body[data-pixel="high"] .pill::after,
body[data-pixel="high"] .voice::after,
body[data-pixel="high"] .step::after,
body[data-pixel="high"] .check::after {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    linear-gradient(var(--c-primary), var(--c-primary)) 0 0 / 8px 8px no-repeat,
    linear-gradient(var(--c-accent),  var(--c-accent))  calc(100% - 8px) 0 / 8px 8px no-repeat,
    linear-gradient(var(--c-sky),     var(--c-sky))     0 calc(100% - 8px) / 8px 8px no-repeat,
    linear-gradient(var(--c-dirt),    var(--c-dirt))    100% 100% / 8px 8px no-repeat;
  pointer-events: none;
}

/* ============ Tweaks Panel ============ */
.tweaks {
  position: fixed;
  bottom: 20px; right: 20px;
  background: var(--c-bg);
  border: 2px solid var(--c-text);
  box-shadow: var(--shadow-block);
  padding: 18px 20px 16px;
  z-index: 100;
  font-size: 13px;
  min-width: 200px;
  display: none;
}
.tweaks[data-open="true"] { display: block; }
.tweaks__head { font-family: var(--f-display); font-size: 16px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.tweaks__close { background: transparent; border: 0; font-size: 18px; color: var(--c-text); }
.tweaks__group { margin-bottom: 14px; }
.tweaks__label { font-family: var(--f-en); font-size: 9px; color: var(--c-text-mid); margin-bottom: 6px; letter-spacing: 0.08em; }
.tweaks__row { display: flex; gap: 6px; }
.tweaks__btn {
  flex: 1;
  padding: 6px 10px;
  border: 2px solid var(--c-text);
  background: var(--c-bg);
  font-size: 12px;
  font-weight: 700;
}
.tweaks__btn[aria-pressed="true"] { background: var(--c-primary); color: #fff; }
