/* ============================================
   ASOBISHIA — style.css
   Design: option-a-v3 tokens + production layout
   ============================================ */

/* ============ VARIABLES ============ */
:root {
  /* New design tokens */
  --ink:        #1B1F2A;
  --ink-2:      #2E3340;
  --ink-mute:   #6B7180;
  --line:       rgba(27,31,42,.10);
  --line-soft:  rgba(27,31,42,.06);
  --paper:      #F4F6FA;
  --paper-2:    #ECEFF5;
  --white:      #FFFFFF;
  --accent:     #E07A3C;
  --accent-deep:#B85F26;
  --navy:       #1A2740;
  --green:      #2E7D5B;

  /* Backward-compat aliases (partners/event/company pages) */
  --midnight:      var(--ink);
  --midnight-mid:  #0D1A2E;
  --midnight-soft: var(--ink-2);
  --midnight-mute: var(--ink-mute);
  --cream:         var(--paper);
  --cream-mid:     var(--paper-2);
  --cream-dark:    #D6DAE4;
  --gold:          var(--accent);
  --gold-vivid:    var(--accent-deep);
  --gold-pale:     rgba(224,122,60,.14);
  --gold-light:    rgba(224,122,60,.06);
  --border-light:  rgba(255,255,255,.08);
  --border-dark:   rgba(27,31,42,.10);

  /* Layout */
  --gutter:      clamp(1.25rem, 5.5vw, 96px);
  --inner-max:   1280px;
  --section-pad: 96px;
  --header-h:    64px;

  /* Type scale */
  --fs-xs:   0.75rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   clamp(1.125rem, 2vw, 1.375rem);
  --fs-2xl:  clamp(1.5rem, 3vw, 2rem);

  /* Misc */
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px;
  --ease: cubic-bezier(.4,0,.2,1);
  --dur:  .25s;
}

/* ============ RESET ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Zen Kaku Gothic New', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  word-break: normal;
  line-break: strict;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

/* ============ UTILITIES ============ */
.container { max-width: 1080px; margin: 0 auto; padding: 0 2.5rem; position: relative; z-index: 1; }
.en     { font-family: 'Inter', sans-serif; }
.serif  { font-family: 'Noto Serif JP', serif; }

/* Eyebrow / section labels (old pages) */
.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .75rem;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: var(--fs-2xl); font-weight: 600;
  line-height: 1.4; letter-spacing: .01em;
  margin-bottom: 1.25rem;
}
.section-lead { font-size: var(--fs-sm); line-height: 1.85; max-width: 560px; color: var(--ink-mute); }

/* ============ SCROLL PROGRESS ============ */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 300;
  height: 2px; width: 0;
  background: var(--accent);
  transition: width .1s linear;
  pointer-events: none;
}

/* Mouse spotlight for dark sections */
.mouse-spotlight {
  position: absolute; width: 300px; height: 300px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(224,122,60,.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .3s;
}

/* ============ ANIMATIONS ============ */
@keyframes shimmer-slide { 0% { left: -100%; } 100% { left: 160%; } }
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224,122,60,.35); }
  50%       { box-shadow: 0 0 0 14px rgba(224,122,60,0); }
}
@keyframes drift {
  0%   { transform: translate(0,0) rotate(0deg); }
  33%  { transform: translate(18px,-12px) rotate(60deg); }
  66%  { transform: translate(-10px,16px) rotate(120deg); }
  100% { transform: translate(0,0) rotate(0deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:.04s; }
.stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:.12s; }
.stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:.20s; }
.stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:.28s; }
.stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:.36s; }
.stagger.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:.44s; }
.stagger.visible > *:nth-child(7) { opacity:1; transform:none; transition-delay:.52s; }

.reveal-left  { opacity: 0; transform: translateX(-24px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.reveal-right { opacity: 0; transform: translateX(24px);  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: var(--r-sm);
  font-weight: 500; font-size: 14px;
  letter-spacing: .04em;
  border: 1.5px solid transparent;
  cursor: pointer; position: relative; overflow: hidden;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary {
  background: var(--accent); color: var(--white); border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-ghost {
  background: var(--white); color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline-light {
  background: transparent; color: var(--ink); border-color: rgba(27,31,42,.28);
}
.btn-outline-light:hover { border-color: var(--ink); }
.btn-outline-dark {
  background: transparent; color: var(--ink); border-color: rgba(27,31,42,.28);
}
.btn-outline-dark:hover { border-color: var(--ink); background: rgba(27,31,42,.04); }
.btn-line { background: #06C755; color: var(--white); border-color: #06C755; }
.btn-line:hover { background: #05b34c; }
.btn-lg { padding: 1rem 2.25rem; font-size: var(--fs-base); }


/* ============ HEADER ============ */
#header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease);
}
#header.scrolled { box-shadow: 0 2px 16px rgba(27,31,42,.08); }

.header-inner {
  height: var(--header-h);
  padding: 0 var(--gutter);
  max-width: calc(var(--inner-max) + var(--gutter) * 2);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo — text mark style (index.html) */
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo-mark {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700; font-size: 17px;
  line-height: 1.2; letter-spacing: .03em;
  color: var(--ink);
}
.logo-mark small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 9px; letter-spacing: .24em; color: var(--ink-mute);
  text-transform: uppercase; font-weight: 500; margin-top: 2px;
}
/* Logo — inline style (partners/event/company) */
.logo-name {
  font-family: 'Noto Serif JP', sans-serif;
  font-size: .9375rem; font-weight: 700;
  color: var(--ink); letter-spacing: .06em; text-transform: uppercase;
}
.logo-tag {
  font-size: .9375rem; font-weight: 400;
  color: var(--ink-mute); letter-spacing: .06em; text-transform: uppercase;
}

/* Nav */
.nav-list {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1rem, 1.6vw, 2rem); list-style: none;
}
.nav-list a, .nav-list li a {
  font-size: clamp(12px, 1vw, 14px); font-weight: 500;
  color: var(--ink-2); transition: color var(--dur);
}
.nav-list a:hover, .nav-list li a:hover { color: var(--accent); }
.nav-list a.nav-link-active, .nav-list li a.nav-link-active {
  color: var(--accent) !important; font-weight: 600;
}

/* CTA in header */
.header-right { flex-shrink: 0; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: var(--white) !important;
  padding: 10px 20px; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 500; letter-spacing: .04em;
  transition: background .2s;
}
.nav-cta:hover { background: var(--accent-deep) !important; color: var(--white) !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; flex-direction: column;
  background: var(--white); border-top: 1px solid var(--line);
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease);
}
.mobile-nav.open { max-height: 400px; }
.mobile-nav a {
  display: block; padding: .85rem var(--gutter);
  font-size: var(--fs-sm); color: var(--ink-2);
  border-bottom: 1px solid var(--line-soft);
  transition: background var(--dur);
}
.mobile-nav a:hover { background: var(--paper); color: var(--accent); }
.mobile-nav a.m-cta { font-weight: 600; color: var(--accent); border-bottom: none; }


/* ============ SECTION SCAFFOLD (index.html) ============ */
.section {
  padding: var(--section-pad) var(--gutter);
}
.section-head { margin-bottom: 52px; }
.section-head .eye {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700; font-size: clamp(28px, 3vw, 36px);
  line-height: 1.5; letter-spacing: .02em;
  margin: 0; color: var(--ink);
}
.section-head h2 .accent { color: var(--accent); }
.section-head .note {
  margin-top: 18px; font-size: 15px;
  line-height: 1.9; color: var(--ink-mute); max-width: 60ch;
}


/* ============ HERO ============ */
.hero {
  background:
    linear-gradient(to right, var(--paper) 45%, transparent 72%),
    url('background.png') right center / auto 100% no-repeat,
    linear-gradient(180deg, #F8FAFD 0%, #EEF2F8 100%);
  padding: calc(var(--header-h) + 40px) var(--gutter) 88px;
  overflow: hidden;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-mute);
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 32px;
}
.hero-eyebrow b { color: var(--accent); font-weight: 600; }
.hero-eyebrow .sep { color: var(--line); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(auto, 600px);
  gap: 64px;
  align-items: center;
}

.hero h1, .hero-text h1 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700; font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.4; letter-spacing: .01em;
  margin: 0 0 28px; color: var(--ink);
  text-wrap: balance;
  max-width: 14em;
}
.hero h1 .quote, .hero-text h1 .quote { color: var(--accent); }
.hero h1 .h1-underline, .hero-text h1 .h1-underline {
  background: linear-gradient(transparent 70%, rgba(224,122,60,.18) 70%);
  padding: 0 4px;
}
.hero-lead {
  font-size: 16px; line-height: 2;
  color: var(--ink-2); max-width: 44ch;
  margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-target {
  margin-top: 20px; font-size: 12.5px; color: var(--ink-mute);
}

/* Hero visual */
.hero-visual { position: relative; }
.hero-img-wrap { border-radius: 8px; overflow: hidden; }
.hero-img {
  width: 100%; height: auto;
  max-height: 460px; object-fit: cover; display: block;
}
.hero-stat {
  position: absolute;
  right: -12px; top: -12px;
  background: var(--white);
  border-radius: 999px;
  width: 152px; height: 152px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(27,31,42,.10), 0 2px 6px rgba(27,31,42,.04);
  text-align: center;
}
.hero-stat-num {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700; font-size: 50px;
  line-height: 1; color: var(--green);
}
.hero-stat-num sup { font-size: 20px; vertical-align: top; }
.hero-stat-lbl { font-size: 11px; color: var(--ink-mute); margin-top: 6px; line-height: 1.4; }
.hero-stat-lbl b { display: block; color: var(--ink); font-size: 12px; font-weight: 700; margin-bottom: 2px; }


/* ============ PROBLEMS ============ */
.problems { background: var(--paper); }

.problems-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.p-card {
  background: var(--white);
  border-radius: 8px; padding: 24px 20px;
  display: flex; flex-direction: column;
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.p-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27,31,42,.06); }
.p-card-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.p-num {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700; font-size: 26px;
  color: var(--accent); line-height: 1;
}
.p-ico {
  width: 42px; height: 42px;
  background: var(--paper); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
}
.p-card h3 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700; font-size: 14px;
  line-height: 1.65; margin: 0 0 10px; color: var(--ink);
}
.p-card p {
  font-size: 12px; line-height: 1.85;
  color: var(--ink-mute); margin: 0;
}


/* ============ SERVICE ============ */
.svc-list { display: grid; gap: 14px; }
.svc-row {
  background: var(--white);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 28px; align-items: center;
  transition: border-color .2s, box-shadow .2s;
}
.svc-row:hover { border-color: rgba(224,122,60,.4); box-shadow: 0 8px 24px rgba(27,31,42,.04); }
.svc-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px; font-weight: 700;
  color: var(--ink-mute); letter-spacing: .04em;
  border-right: 1px solid var(--line);
  padding-right: 20px; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
}
.svc-num small {
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 500; margin-bottom: 4px;
}
.svc-num b {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px; color: var(--ink); display: block;
}
.svc-body h3 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700; font-size: 20px; line-height: 1.5;
  margin: 0 0 8px;
}
.svc-label {
  display: inline-block;
  background: rgba(224,122,60,.1); color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-size: 10.5px; font-weight: 600; letter-spacing: .14em;
  padding: 3px 9px; border-radius: 4px;
  margin-right: 10px; vertical-align: middle;
}
.svc-body p {
  font-size: 14px; line-height: 1.85;
  color: var(--ink-mute); margin: 0; max-width: 70ch;
}

/* Coverage */
.coverage {
  margin-top: 48px;
  max-width: var(--inner-max);
  margin-left: auto;
  margin-right: auto;
  background: var(--paper); border-radius: 10px;
  padding: 28px 32px;
}
.coverage-top {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 20px; padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
}
.coverage-lbl {
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; flex-shrink: 0;
}
.coverage-top h3 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700; font-size: 18px; margin: 0;
}
.coverage-top p { margin: 0; font-size: 13px; color: var(--ink-mute); margin-left: auto; }
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.cv-cell {
  background: var(--white); border-radius: 6px;
  padding: 16px 10px; text-align: center;
  border: 1px solid var(--line);
}
.cv-ico { width: 30px; height: 30px; margin: 0 auto 8px; color: var(--ink-2); }
.cv-cell b {
  display: block; font-size: 12.5px; font-weight: 700;
  color: var(--ink); margin-bottom: 5px; line-height: 1.35;
}
.cv-cell span { font-size: 10.5px; color: var(--ink-mute); line-height: 1.5; display: block; }


/* ============ FLOW (dark band) ============ */
.flow-section {
  background: var(--navy); color: var(--white);
  padding: 88px var(--gutter);
}
.flow-inner { max-width: var(--inner-max); margin: 0 auto; }

.flow-section .section-head h2,
.flow-section .flow-h2 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700; font-size: clamp(28px,3vw,36px);
  line-height: 1.5; color: var(--white); margin: 0;
}
.flow-section .section-head .eye,
.flow-section .flow-eye {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.65); font-weight: 600; margin-bottom: 12px;
}
.flow-section .section-head .note,
.flow-section .flow-note { color: rgba(255,255,255,.6); }

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px; margin-top: 8px;
}
.fl-step { position: relative; }
.fl-head-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.fl-ico {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.9); flex-shrink: 0;
}
.fl-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 30px; font-weight: 700;
  color: var(--accent); line-height: 1;
  margin-left: auto;
}
.fl-step h3 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700; font-size: 16px;
  margin: 0 0 10px; color: var(--white);
}
.fl-step h3 small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 5px;
}
.fl-step p { font-size: 13px; line-height: 1.85; color: rgba(255,255,255,.65); margin: 0; }


/* ============ PRICING ============ */
.pr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.pr-card {
  background: var(--white);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 26px 22px 22px;
  display: flex; flex-direction: column;
  position: relative;
}
.pr-card.pr-featured {
  border-color: var(--accent); border-width: 2px;
  box-shadow: 0 12px 36px rgba(224,122,60,.10);
}
.pr-card.pr-featured::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: .2em;
  padding: 3px 12px; border-radius: 4px; font-weight: 600;
}
.pr-label {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 8px;
}
.pr-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700; font-size: 18px;
  margin: 0 0 16px; color: var(--ink);
}
.pr-price {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700; font-size: 34px;
  line-height: 1; color: var(--ink); margin-bottom: 4px;
}
.pr-price small { font-size: 14px; font-weight: 500; color: var(--ink-mute); margin-left: 4px; }
.pr-meta {
  font-size: 12px; color: var(--ink-mute);
  margin-bottom: 18px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.pr-list {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: grid; gap: 9px; flex: 1;
}
.pr-list li {
  font-size: 13px; line-height: 1.6;
  padding-left: 20px; position: relative; color: var(--ink-2);
}
.pr-list li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 13px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.pr-cta { width: 100%; text-align: center; justify-content: center; }
.pr-note {
  margin-top: 20px; font-size: 12px;
  color: var(--ink-mute); text-align: center;
}


/* ============ WHY + FOUNDER ============ */
.why-section { background: var(--paper); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: start;
}
.why-left { display: flex; flex-direction: column; }
.why-list { display: grid; gap: 14px; }
.why-row {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 8px; padding: 18px 22px;
  display: grid; grid-template-columns: 36px 1fr;
  gap: 18px; align-items: start;
}
.why-n {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px; font-weight: 700;
  color: var(--accent); line-height: 1.2;
  border-right: 1px solid var(--line);
  padding-right: 12px; height: 100%;
  display: flex; align-items: flex-start; padding-top: 2px;
}
.why-row h3 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700; font-size: 15px; line-height: 1.55;
  margin: 0 0 6px;
}
.why-row p { font-size: 13px; line-height: 1.85; color: var(--ink-mute); margin: 0; }

/* Founder */
.founder-wrap {
  background: var(--white);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 0;
}
.founder-role {
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
  margin-bottom: 12px;
}
.founder-name-row {
  display: flex; gap: 16px; align-items: baseline;
  margin-bottom: 6px;
}
.founder-name-jp {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700; font-size: 28px; color: var(--ink);
}
.founder-name-en {
  font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: .12em; color: var(--ink-mute);
}
.founder-title {
  font-size: 13px; color: var(--ink-2); margin-bottom: 20px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.founder-photo {
  border-radius: 8px; overflow: hidden;
  aspect-ratio: 3 / 2; margin-bottom: 20px;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-creds {
  list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px;
}
.founder-creds li {
  font-size: 13px; line-height: 1.6;
  padding-left: 20px; position: relative; color: var(--ink-2);
}
.founder-creds li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 12px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.founder-quote {
  padding: 18px 22px;
  background: var(--paper); border-radius: 8px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 500; font-size: 17px; line-height: 1.7;
  color: var(--ink);
}
.founder-quote::before {
  content: '"'; color: var(--accent);
  font-size: 28px; margin-right: 4px;
  line-height: .5; vertical-align: -6px;
}


/* ============ COMMUNITY ============ */
.community-section { background: var(--paper); }
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.community-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 12px;
}
.community-section h2 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700; font-size: 28px; line-height: 1.5;
  margin: 0 0 16px; color: var(--ink);
}
.community-section p { font-size: 14px; line-height: 1.95; color: var(--ink-2); margin: 0 0 24px; }
.community-meta-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin-bottom: 28px;
}
.community-m {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 8px; padding: 14px 12px; text-align: center;
}
.community-m-ico { width: 22px; height: 22px; margin: 0 auto 6px; color: var(--accent); }
.community-m b { display: block; font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.community-m span { font-size: 11px; color: var(--ink-mute); display: block; }

.community-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px; height: 100%;
}
.gallery-main {
  grid-row: 1 / 3;
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 8px; min-height: 240px; max-height: 380px;
}
.gallery-sub {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 8px;
}


/* ============ CONTACT ============ */
.contact-section {
  background: var(--navy);
  padding: 88px var(--gutter);
}
.contact-inner {
  max-width: var(--inner-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-head { position: sticky; top: calc(var(--header-h) + 24px); }
.contact-form-wrap { width: 100%; }
.gform-iframe {
  width: 100%; display: block;
  border: none; background: transparent;
}


/* ============ FOOTER ============ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.85);
  padding: 64px var(--gutter) 24px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  max-width: var(--inner-max); margin: 0 auto;
}
.foot-mark {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700; font-size: 20px;
  color: var(--white); margin-bottom: 4px; line-height: 1.3;
}
.foot-mark small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px; letter-spacing: .26em; color: rgba(255,255,255,.45);
  text-transform: uppercase; font-weight: 500; margin-top: 4px;
}
.foot-brand p {
  font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.85; margin: 14px 0 0; max-width: 30ch;
}
.foot-grid h4 {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin: 0 0 14px; font-weight: 500;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-grid ul a { font-size: 13px; color: rgba(255,255,255,.8); }
.foot-grid ul a:hover { color: var(--accent); }
.foot-copy {
  padding-top: 22px;
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: .12em;
  color: rgba(255,255,255,.35);
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--inner-max); margin: 0 auto;
}

/* Old footer compat (partners/event logos in footer) */
footer .logo-name { color: rgba(255,255,255,.9); }
footer .logo-tag  { color: rgba(255,255,255,.4); }
.footer-brand { display: flex; flex-direction: column; gap: .4rem; }
.footer-tag { font-size: var(--fs-xs); color: rgba(255,255,255,.4); margin-top: .3rem; }
.footer-cta-small { flex-shrink: 0; }
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2rem;
}
.footer-nav { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer-nav a { font-size: var(--fs-xs); color: rgba(255,255,255,.32); transition: color var(--dur); }
.footer-nav a:hover { color: rgba(255,255,255,.8); }
.footer-copy { max-width: 1080px; margin: 0 auto; font-size: var(--fs-xs); opacity: .25; text-align: right; }


/* ============================================
   OLD PAGE STYLES (partners / event / company)
   ============================================ */

/* Shared section head old pages */
.p-section-head { margin-bottom: 3.5rem; }
.p-section-head .section-title { color: var(--ink); }
.p-section-head .section-lead { color: var(--ink-mute); }

/* Nav link active state */
.nav-link-active { color: var(--accent) !important; font-weight: 600; }

/* ---- PARTNERS HERO ---- */
#p-hero {
  background: var(--paper);
  padding: calc(var(--header-h) + 48px) 0 80px;
  overflow: hidden;
}
.p-hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 4rem; align-items: center;
}
.p-hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600; line-height: 1.3; letter-spacing: -.01em;
  color: var(--ink); margin: .75rem 0 1.25rem;
}
.p-ht-accent { color: var(--accent); }
.p-hero-sub { font-size: var(--fs-sm); color: var(--ink-mute); line-height: 1.9; margin-bottom: 2rem; }
.p-hero-img-wrap { border-radius: var(--r-lg); overflow: hidden; }
.p-hero-img { width: 100%; height: auto; max-height: 420px; object-fit: contain; display: block; }

/* ---- MODEL ---- */
#model { padding: var(--section-pad) 0; background: var(--white); }
.p-synergy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem; margin-bottom: 3rem;
}
.p-synergy-card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.p-synergy-card:hover {
  border-color: rgba(224,122,60,.3);
  box-shadow: 0 10px 32px rgba(27,31,42,.09);
  transform: translateY(-4px); background: var(--white);
}
.p-synergy-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(224,122,60,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); transition: background .3s;
}
.p-synergy-card:hover .p-synergy-icon { background: rgba(224,122,60,.18); }
.p-synergy-icon svg { width: 22px; height: 22px; }
.p-synergy-card h3 { font-size: var(--fs-base); font-weight: 700; color: var(--ink); }
.p-synergy-card p { font-size: var(--fs-sm); color: var(--ink-mute); line-height: 1.75; }
.p-model-note {
  font-size: var(--fs-sm); color: var(--ink-mute); line-height: 1.85;
  border-left: 3px solid var(--accent); padding-left: 1.25rem; max-width: 760px;
}

/* ---- ROLES ---- */
#roles { padding: var(--section-pad) 0; background: var(--paper-2); }
.p-roles-layout {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 1.5rem; align-items: start;
}
.p-roles-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.p-role-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.75rem;
  display: flex; flex-direction: column; gap: .875rem;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.p-role-card:hover {
  border-color: rgba(224,122,60,.3);
  box-shadow: 0 10px 32px rgba(27,31,42,.09);
  transform: translateY(-4px);
}
.p-role-domain { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.p-role-case { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.7; }
.p-role-arrow { width: 100%; height: 1px; background: var(--line); position: relative; }
.p-role-arrow::after {
  content: '↓'; position: absolute; left: 50%; top: -10px;
  transform: translateX(-50%); font-size: .75rem; color: var(--accent);
  background: var(--white); padding: 0 .4rem;
}
.p-role-ask-label { font-size: var(--fs-xs); font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.p-role-ask ul { list-style: none; display: flex; flex-direction: column; gap: .3rem; }
.p-role-ask ul li {
  font-size: var(--fs-xs); color: var(--ink-mute);
  padding-left: 1rem; position: relative; line-height: 1.6;
}
.p-role-ask ul li::before { content: '・'; position: absolute; left: 0; color: var(--accent); }
.p-roles-dark-card {
  background: var(--navy); border-radius: var(--r-lg);
  overflow: hidden; position: sticky; top: 88px;
}
.p-roles-dark-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.p-roles-dark-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); }
.p-roles-dark-body { padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: 1.25rem; }
.p-roles-dark-body h3 { font-size: var(--fs-sm); font-weight: 700; color: rgba(255,255,255,.6); }
.p-target-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.p-target-tags span {
  font-size: var(--fs-xs); color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px; padding: .3rem .75rem;
}
.p-fit-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.p-fit-list li {
  font-size: var(--fs-xs); color: rgba(255,255,255,.5);
  padding-left: 1.25rem; position: relative; line-height: 1.7;
}
.p-fit-list li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}

/* ---- MERIT ---- */
#merit { padding: var(--section-pad) 0; background: var(--navy); overflow: hidden; }
.p-merit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.p-merit-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md); padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.p-merit-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(224,122,60,.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.p-merit-icon svg { width: 22px; height: 22px; }
.p-merit-card h3 { font-size: var(--fs-sm); font-weight: 700; color: rgba(255,255,255,.9); }
.p-merit-card p { font-size: var(--fs-xs); color: rgba(255,255,255,.5); line-height: 1.8; }

/* ---- REGISTER ---- */
#register { padding: var(--section-pad) 0; background: var(--paper); }
.p-register-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.p-register-steps { display: grid; gap: 1.5rem; }
.p-register-step {
  display: grid; grid-template-columns: 48px 1fr; gap: 1.25rem; align-items: start;
}
.p-step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: var(--white);
  font-weight: 700; font-size: var(--fs-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.p-step-body h3 { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); margin-bottom: .35rem; }
.p-step-body p { font-size: var(--fs-xs); color: var(--ink-mute); line-height: 1.75; }
.p-register-form {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 2.5rem;
}

/* ---- EVENT HERO ---- */
#ev-hero {
  background: var(--paper);
  padding: calc(var(--header-h) + 48px) 0 80px;
  overflow: hidden;
}
.ev-hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 4rem; align-items: center;
}
.ev-hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600; line-height: 1.3;
  color: var(--ink); margin: .75rem 0 1.25rem;
}
.ev-hero-sub { font-size: var(--fs-sm); color: var(--ink-mute); line-height: 1.9; margin-bottom: 2rem; }
.ev-hero-img-wrap { border-radius: var(--r-lg); overflow: hidden; }
.ev-hero-img { width: 100%; height: auto; max-height: 380px; object-fit: cover; display: block; }
.ev-stat-group {
  display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap;
}
.ev-stat-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1rem 1.25rem; flex: 1; min-width: 100px;
}
.ev-stat-item.ev-stat-accent { border-color: var(--accent); background: rgba(224,122,60,.05); }
.ev-stat-num { font-family: 'Noto Serif JP', serif; font-weight: 700; font-size: 2rem; color: var(--ink); line-height: 1; }
.ev-stat-unit { font-size: 1rem; font-weight: 600; color: var(--ink); }
.ev-stat-label { font-size: var(--fs-xs); color: var(--ink-mute); margin-top: .3rem; }
.hero-note { margin-top: .75rem; font-size: var(--fs-xs); color: var(--ink-mute); }

/* ---- EVENT SERVICE ---- */
#ev-service { padding: var(--section-pad) 0; background: var(--white); }
.ev-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ev-service-card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: .875rem;
}
.ev-service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(224,122,60,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.ev-service-icon svg { width: 22px; height: 22px; }
.ev-service-card h3 { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.ev-service-card p { font-size: var(--fs-xs); color: var(--ink-mute); line-height: 1.75; }
.ev-service-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.ev-service-tags li {
  font-size: .7rem; color: var(--accent);
  background: rgba(224,122,60,.08); border: 1px solid rgba(224,122,60,.2);
  padding: .2rem .6rem; border-radius: 100px;
}

/* ---- EVENT WHY ---- */
#ev-why { padding: var(--section-pad) 0; background: rgba(224,122,60,.04); }
.ev-why-intro { margin-bottom: 2.5rem; }
.ev-why-lead { font-size: var(--fs-sm); color: var(--ink-mute); line-height: 1.9; max-width: 660px; }
.ev-benefits {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.ev-benefit {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 2rem 1.75rem;
}
.ev-benefit-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(224,122,60,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 1rem;
}
.ev-benefit-icon svg { width: 22px; height: 22px; }
.ev-benefit h3 { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.ev-benefit p { font-size: var(--fs-xs); color: var(--ink-mute); line-height: 1.8; }

/* ---- EVENT PRICING ---- */
#ev-pricing { padding: var(--section-pad) 0; background: var(--white); }
.ev-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.ev-price-card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 2rem 1.75rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.ev-price-card.ev-price-card--main {
  background: var(--white); border-color: var(--accent); border-width: 2px;
  box-shadow: 0 8px 32px rgba(224,122,60,.1);
}
.ev-price-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.ev-price-card h3 { font-size: var(--fs-base); font-weight: 700; color: var(--ink); }
.ev-price-card p { font-size: var(--fs-xs); color: var(--ink-mute); line-height: 1.75; flex: 1; }
.ev-price-card .btn { margin-top: auto; justify-content: center; }

/* ---- EVENT CTA ---- */
#ev-cta { padding: var(--section-pad) 0; background: var(--navy); }
#ev-cta .section-title { color: var(--white); }
#ev-cta .section-lead { color: rgba(255,255,255,.6); }
.ev-cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

/* ---- COMPANY ---- */
#c-hero { background: var(--paper); padding: calc(var(--header-h) + 48px) 0 80px; }
.c-hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 600; line-height: 1.3; color: var(--ink); margin-top: .5rem;
}
#c-info { padding: var(--section-pad) 0; background: var(--white); }
.c-info-table {
  max-width: 800px; margin: 0 auto;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); background: var(--white);
}
.c-info-row { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid var(--line); }
.c-info-row:last-child { border-bottom: none; }
.c-info-row dt {
  padding: 1.25rem 1.5rem; font-size: var(--fs-xs); font-weight: 700;
  color: var(--ink); background: var(--paper);
  border-right: 1px solid var(--line);
  display: flex; align-items: flex-start;
}
.c-info-row dd { padding: 1.25rem 1.75rem; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.75; }
.c-info-en { display: block; font-size: var(--fs-xs); color: var(--ink-mute); margin-top: .2rem; letter-spacing: .08em; }
.c-info-list { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.c-info-list li { font-size: var(--fs-sm); color: var(--ink-2); padding-left: 1.25rem; position: relative; }
.c-info-list li::before {
  content: ''; position: absolute; left: 0; top: .6em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .foot-grid > div:nth-child(n+4) { display: none; }
}

@media (max-width: 960px) {
  .nav-list  { display: none; }
  .header-right { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  /* Hero */
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-stat { right: .5rem; top: .5rem; width: 120px; height: 120px; }
  .hero-stat-num { font-size: 38px; }

  /* Problems */
  .problems-grid { grid-template-columns: repeat(3, 1fr); }

  /* Service */
  .svc-row { grid-template-columns: 1fr; gap: 16px; }
  .svc-num { border-right: none; padding-right: 0; flex-direction: row; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
  .svc-cta { display: none; }
  .svc-label { display: block; margin-right: 0; margin-bottom: 6px; }

  /* Flow */
  .flow-grid { grid-template-columns: repeat(2, 1fr); }

  /* Pricing */
  .pr-grid { grid-template-columns: repeat(2, 1fr); }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }

  /* Community */
  .community-grid { grid-template-columns: 1fr; }

  /* Coverage */
  .coverage-grid { grid-template-columns: repeat(4, 1fr); }

  /* Footer */
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:nth-child(n+4) { display: block; }
  .foot-copy { flex-direction: column; gap: .5rem; align-items: flex-start; }

  /* Partners */
  .p-hero-inner { grid-template-columns: 1fr; }
  .p-hero-visual { order: -1; }
  .p-synergy-grid { grid-template-columns: 1fr; }
  .p-roles-layout { grid-template-columns: 1fr; }
  .p-roles-dark-card { position: static; }
  .p-merit-grid { grid-template-columns: 1fr 1fr; }
  .p-register-inner { grid-template-columns: 1fr; }

  /* Event */
  .ev-hero-inner { grid-template-columns: 1fr; }
  .ev-hero-visual { order: -1; }
  .ev-service-grid { grid-template-columns: 1fr 1fr; }
  .ev-benefits { grid-template-columns: 1fr 1fr; }
  .ev-pricing-grid { grid-template-columns: 1fr; }
  .ev-cta-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --section-pad: 72px; }
  .container { padding: 0 1.25rem; }

  /* Hero */
  .hero { padding-top: calc(var(--header-h) + 28px); padding-bottom: 56px; }
  .hero {
    background:
      linear-gradient(rgba(248,250,253,.88), rgba(238,242,248,.88)),
      url('background.png') right center / auto 100% no-repeat,
      linear-gradient(180deg, #F8FAFD 0%, #EEF2F8 100%);
  }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  /* Problems */
  .problems-grid { grid-template-columns: repeat(2, 1fr); }

  /* Coverage */
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .coverage-top { flex-wrap: wrap; }
  .coverage-top p { margin-left: 0; }

  /* Flow */
  .flow-grid { grid-template-columns: 1fr 1fr; }

  /* Pricing */
  .pr-grid { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-head { position: static; }

  /* Community meta */
  .community-meta-grid { grid-template-columns: repeat(2, 1fr); }
  .community-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-main { grid-row: auto; min-height: auto; aspect-ratio: 1/1; }

  /* Partners */
  .p-roles-cards { grid-template-columns: 1fr; }
  .p-merit-grid { grid-template-columns: 1fr; }

  /* Event */
  .ev-service-grid { grid-template-columns: 1fr; }
  .ev-benefits { grid-template-columns: 1fr; }

  /* Company */
  .c-info-row { grid-template-columns: 1fr; }
  .c-info-row dt { border-right: none; border-bottom: 1px solid var(--line); }

  /* Footer */
  .foot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --section-pad: 56px; }

  /* Problems */
  .problems-grid { grid-template-columns: 1fr 1fr; }

  /* Coverage */
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }

  /* Flow */
  .flow-grid { grid-template-columns: 1fr; }

  /* Pricing */
  .pr-grid { grid-template-columns: 1fr; }

  /* Community */
  .community-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-main { aspect-ratio: 16/9; }
  .gallery-sub { aspect-ratio: 16/9; }

  /* Ev stat */
  .ev-stat-group { gap: .5rem; }
}
