/* ============================================================
   Mepath Corporate Site — Playful design system
   丸ゴシック × 太枠 × オフセットシャドウ × ステッカー
   ============================================================ */
:root {
  --ink: #202339;
  --ink-soft: #4c5069;
  --paper: #fffdf8;
  --cream: #fff3e0;
  --blurple: #4e5cf0;
  --blurple-deep: #3a46c8;
  --violet: #8b5cf6;
  --yellow: #ffc531;
  --pink: #ff7ab8;
  --green: #34c77b;
  --line-green: #06c755;
  --cyan: #4cc9f0;
  --bw: 2.5px;                          /* border width */
  --shadow-hard: 5px 6px 0 var(--ink);
  --shadow-hard-sm: 3px 4px 0 var(--ink);
  --shadow-hard-lg: 8px 10px 0 var(--ink);
  --radius: 22px;
  --font-round: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  --font-en: "Fredoka", "M PLUS Rounded 1c", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-round);
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--yellow); color: var(--ink); }

.container { width: min(1140px, 92%); margin-inline: auto; }

/* ---------- Doodles ---------- */
.doodle { position: absolute; pointer-events: none; z-index: 1; }
.doodle.spin { animation: doodle-spin 14s linear infinite; }
.doodle.bob { animation: doodle-bob 4.5s ease-in-out infinite; }
.doodle.bob2 { animation: doodle-bob 5.5s ease-in-out infinite reverse; }
@keyframes doodle-spin { to { transform: rotate(360deg); } }
@keyframes doodle-bob { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(8deg); } }

/* ---------- Waves ---------- */
.wave { display: block; width: 100%; line-height: 0; }
.wave svg { width: 100%; height: 54px; display: block; }
@media (max-width: 760px) { .wave svg { height: 32px; } }

/* ---------- Typography ---------- */
.sec-label {
  display: inline-block; padding: 7px 20px; border-radius: 999px;
  background: var(--yellow); border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-hard-sm);
  font-family: var(--font-en); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  transform: rotate(-2deg);
}
.sec-label.pink { background: var(--pink); color: #fff; }
.sec-label.green { background: var(--green); color: #fff; }
.sec-label.blurple { background: var(--blurple); color: #fff; }
.sec-label.cyan { background: var(--cyan); }
.sec-title {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 900; line-height: 1.45; letter-spacing: .01em; margin-top: 24px;
}
.sec-lead { color: var(--ink-soft); margin-top: 16px; font-size: 1rem; }

/* marker highlight & squiggle */
.hl {
  background: linear-gradient(transparent 62%, rgba(255,197,49,.85) 62%, rgba(255,197,49,.85) 94%, transparent 94%);
  padding: 0 .06em;
}
.hl.pk { background: linear-gradient(transparent 62%, rgba(255,122,184,.6) 62%, rgba(255,122,184,.6) 94%, transparent 94%); }
.squiggle { position: relative; display: inline-block; }
.squiggle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.18em; height: .34em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9 Q 12 2, 24 8 T 46 8 T 68 8 T 90 8 T 118 7' fill='none' stroke='%234e5cf0' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x;
  background-size: 120px 100%;
}

/* ---------- Sticker ---------- */
.sticker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 999px;
  background: #fff; border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-hard-sm);
  font-weight: 800; font-size: .88rem; line-height: 1.5;
  transform: rotate(-2deg);
}
.sticker.yellow { background: var(--yellow); }
.sticker.pink { background: var(--pink); color: #fff; }
.sticker.green { background: var(--green); color: #fff; }
.sticker.r { transform: rotate(2.5deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; border-radius: 999px; font-weight: 800; font-size: .96rem;
  font-family: var(--font-round); line-height: 1.4; cursor: pointer;
  border: var(--bw) solid var(--ink); box-shadow: var(--shadow-hard);
  background: #fff; color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, background .18s;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 8px 9px 0 var(--ink); }
.btn:active { transform: translate(2px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn .arrow { transition: transform .2s; font-weight: 900; }
.btn:hover .arrow { transform: translateX(5px); }
.btn-grad, .btn-primary { background: var(--blurple); color: #fff; }
.btn-grad:hover, .btn-primary:hover { background: var(--blurple-deep); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-yellow { background: var(--yellow); }
.btn-white { background: #fff; }
.btn-outline { background: transparent; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: .3s; padding: 16px 0; }
.header.scrolled { padding: 10px 0; }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,253,248,.94); backdrop-filter: blur(10px);
  border: var(--bw) solid var(--ink); border-radius: 999px;
  box-shadow: var(--shadow-hard-sm);
  padding: 10px 14px 10px 26px;
}
.header .logo img { height: 36px; width: auto; }
.gnav { display: flex; align-items: center; gap: 26px; }
.gnav a.nav-link {
  font-weight: 800; font-size: .92rem; padding: 6px 4px; position: relative; color: var(--ink);
}
.gnav a.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; border-radius: 4px;
  background: var(--yellow); transform: scaleX(0); transition: transform .25s;
}
.gnav a.nav-link:hover { animation: wiggle .4s ease; }
.gnav a.nav-link:hover::after, .gnav a.nav-link.active::after { transform: scaleX(1); }
.gnav .btn { padding: 10px 22px; font-size: .85rem; box-shadow: var(--shadow-hard-sm); }
@keyframes wiggle { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-3deg); } 65% { transform: rotate(3deg); } }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; z-index: 110; padding: 6px; }
.menu-toggle span {
  display: block; width: 26px; height: 3px; background: var(--ink);
  margin: 5px 0; transition: .3s; border-radius: 3px;
}
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; padding: 170px 0 90px; overflow: hidden;
  background: var(--cream);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; z-index: 0;
}
.hero::before { width: 480px; height: 480px; background: rgba(78,92,240,.12); top: -160px; right: -120px; }
.hero::after { width: 320px; height: 320px; background: rgba(255,122,184,.16); bottom: -140px; left: -100px; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero-copy h1 {
  font-size: clamp(2rem, 4.8vw, 3.2rem); font-weight: 900;
  line-height: 1.4; letter-spacing: .01em; margin: 28px 0 10px;
}
.hero-copy .hero-en {
  font-family: var(--font-en); color: var(--blurple); letter-spacing: .1em;
  font-size: .9rem; font-weight: 600;
}
.hero-copy p.lead { color: var(--ink-soft); margin: 20px 0 34px; max-width: 33em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 18px; }
.hero-visual { position: relative; padding: 20px 26px 26px 10px; }
.hero-visual .main-img {
  border: var(--bw) solid var(--ink); border-radius: 30px;
  box-shadow: var(--shadow-hard-lg);
  aspect-ratio: 5/4; object-fit: cover; width: 100%;
  transform: rotate(1.6deg);
}
.float-card {
  position: absolute; background: #fff; border: var(--bw) solid var(--ink);
  border-radius: 18px; box-shadow: var(--shadow-hard);
  padding: 12px 18px; display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: .86rem; line-height: 1.5; z-index: 3;
  animation: floaty 5s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 600; color: var(--ink-soft); font-size: .74rem; }
.float-card .ico {
  width: 42px; height: 42px; border-radius: 14px; flex: none;
  border: var(--bw) solid var(--ink);
  display: grid; place-items: center;
}
.float-card .ico.y { background: var(--yellow); }
.float-card .ico.p { background: var(--pink); }
.fc-1 { left: -26px; top: 6px; transform: rotate(-4deg); }
.fc-2 { right: -14px; bottom: 22px; transform: rotate(3deg); animation-delay: 2.2s; }
@keyframes floaty {
  0%,100% { margin-top: 0; } 50% { margin-top: -12px; }
}
.scroll-hint {
  position: relative; z-index: 2; margin: 70px auto 0; width: max-content;
  font-family: var(--font-en); font-size: .74rem; letter-spacing: .3em; color: var(--ink-soft);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint::after {
  content: ""; width: 3px; height: 38px; border-radius: 3px;
  background: var(--blurple);
  animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); } 100% { opacity: 0; } }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative; padding: 170px 0 100px; color: #fff; overflow: hidden;
  background: var(--blurple);
}
.page-hero .bubbles span {
  position: absolute; border-radius: 50%; border: 3px dashed rgba(255,255,255,.35);
}
.page-hero .bubbles span:nth-child(1) { width: 220px; height: 220px; top: -60px; right: 8%; animation: doodle-spin 24s linear infinite; }
.page-hero .bubbles span:nth-child(2) { width: 120px; height: 120px; bottom: -30px; left: 6%; animation: doodle-spin 18s linear infinite reverse; }
.page-hero .en {
  font-family: var(--font-en); letter-spacing: .2em; text-transform: uppercase;
  font-size: .85rem; color: var(--yellow); font-weight: 600;
}
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 900; margin-top: 10px; position: relative; z-index: 2; }
.page-hero .crumb { margin-top: 22px; font-size: .82rem; position: relative; z-index: 2; }
.page-hero .crumb a { border-bottom: 2px dotted rgba(255,255,255,.6); padding-bottom: 1px; }
.page-hero .crumb a:hover { color: var(--yellow); border-color: var(--yellow); }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 5; margin-top: -40px; padding-bottom: 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat {
  padding: 30px 16px 26px; text-align: center; background: #fff;
  border: var(--bw) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-hard); transition: transform .2s;
}
.stat:nth-child(odd) { transform: rotate(-1.4deg); }
.stat:nth-child(even) { transform: rotate(1.4deg); }
.stat:hover { transform: rotate(0) translateY(-6px); }
.stat .num {
  font-family: var(--font-en); font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700; line-height: 1.1; color: var(--blurple);
}
.stat:nth-child(2) .num { color: var(--pink); }
.stat:nth-child(3) .num { color: var(--green); }
.stat:nth-child(4) .num { color: #e8a400; }
.stat .label { margin-top: 8px; font-weight: 800; font-size: .94rem; }
.stat .sub { color: var(--ink-soft); font-size: .76rem; margin-top: 2px; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section.soft { background: var(--cream); }
.section.dark { background: var(--ink); color: #fff; }
.sec-head { max-width: 720px; position: relative; z-index: 2; }
.sec-head.center { margin-inline: auto; text-align: center; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; position: relative; z-index: 2; }
.split .imgs { position: relative; padding: 10px 20px 56px 10px; }
.split .imgs .img-a {
  border: var(--bw) solid var(--ink); border-radius: 26px;
  box-shadow: var(--shadow-hard-lg);
  aspect-ratio: 4/3; object-fit: cover; width: 88%;
  transform: rotate(-2deg);
}
.split .imgs .img-b {
  position: absolute; right: 0; bottom: 0; width: 52%;
  border: var(--bw) solid var(--ink); border-radius: 22px;
  box-shadow: var(--shadow-hard);
  aspect-ratio: 1/1; object-fit: cover;
  transform: rotate(3deg);
}
.split .imgs .deco {
  position: absolute; left: -26px; top: -26px; width: 110px; height: 110px; z-index: -1;
  background: radial-gradient(circle, rgba(78,92,240,.4) 3px, transparent 3.5px);
  background-size: 20px 20px;
}
.split .body p { color: var(--ink-soft); margin-top: 18px; }
.split .body .btn { margin-top: 34px; }

/* ---------- Marquee ---------- */
.marquee-band { background: var(--blurple); padding: 10px 0; overflow: hidden; }
.marquee { overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg) scale(1.02); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: scrollx 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .tag {
  padding: 10px 26px; border-radius: 999px; white-space: nowrap;
  border: var(--bw) solid var(--ink); background: #fff; color: var(--ink);
  font-weight: 800; font-size: .92rem; box-shadow: var(--shadow-hard-sm);
}
.marquee .tag:nth-child(4n+1) { background: var(--yellow); transform: rotate(1.5deg); }
.marquee .tag:nth-child(4n+2) { transform: rotate(-1.5deg); }
.marquee .tag:nth-child(4n+3) { background: var(--pink); color: #fff; transform: rotate(1deg); }
.marquee .tag:nth-child(4n+4) { background: var(--cyan); transform: rotate(-1deg); }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; margin-top: 60px; position: relative; z-index: 2; }
.card {
  background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--radius);
  padding: 36px 28px 32px; position: relative;
  box-shadow: var(--shadow-hard);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:nth-child(odd) { transform: rotate(-.6deg); }
.card:nth-child(even) { transform: rotate(.6deg); }
.card:hover { transform: translate(-3px, -6px) rotate(0); box-shadow: 9px 11px 0 var(--ink); }
.card .ico {
  width: 60px; height: 60px; border-radius: 18px;
  border: var(--bw) solid var(--ink); box-shadow: var(--shadow-hard-sm);
  display: grid; place-items: center; margin-bottom: 22px;
  transform: rotate(-4deg);
}
.card:hover .ico { animation: wiggle .45s ease; }
.card .ico.c1 { background: var(--yellow); }
.card .ico.c2 { background: var(--pink); }
.card .ico.c3 { background: var(--cyan); }
.card .ico.c4 { background: var(--green); }
.card h3 { font-size: 1.12rem; font-weight: 900; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .92rem; }
.card .more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  font-weight: 800; font-size: .88rem; color: var(--blurple);
}
.card .more .arrow { transition: transform .3s; }
.card:hover .more .arrow { transform: translateX(5px); }

/* ---------- Numbered features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 60px; position: relative; z-index: 2; }
.feature {
  background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--radius);
  padding: 38px 28px 32px; position: relative;
  box-shadow: var(--shadow-hard); transition: transform .22s, box-shadow .22s;
}
.feature:hover { transform: translate(-3px, -6px); box-shadow: 9px 11px 0 var(--ink); }
.feature .no {
  position: absolute; top: -20px; left: 24px;
  width: 52px; height: 52px; border-radius: 50%;
  border: var(--bw) solid var(--ink); box-shadow: var(--shadow-hard-sm);
  display: grid; place-items: center;
  font-family: var(--font-en); font-size: 1.35rem; font-weight: 700;
  background: var(--yellow); transform: rotate(-6deg);
}
.feature:nth-child(3n+2) .no { background: var(--pink); color: #fff; transform: rotate(5deg); }
.feature:nth-child(3n+3) .no { background: var(--cyan); transform: rotate(-4deg); }
.feature h3 { font-size: 1.08rem; font-weight: 900; margin: 14px 0 10px; }
.feature p { color: var(--ink-soft); font-size: .92rem; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 60px; }
.value-card {
  border: var(--bw) solid var(--ink); border-radius: var(--radius);
  padding: 40px 34px; background: #fff; display: flex; gap: 24px;
  box-shadow: var(--shadow-hard); transition: transform .22s, box-shadow .22s;
}
.value-card:nth-child(odd) { transform: rotate(-.7deg); }
.value-card:nth-child(even) { transform: rotate(.7deg); }
.value-card:hover { transform: translate(-3px,-6px) rotate(0); box-shadow: 9px 11px 0 var(--ink); }
.value-card .no {
  flex: none; width: 54px; height: 54px; border-radius: 50%;
  border: var(--bw) solid var(--ink); box-shadow: var(--shadow-hard-sm);
  display: grid; place-items: center;
  font-family: var(--font-en); font-weight: 700; font-size: 1.1rem;
  background: var(--yellow); transform: rotate(-6deg);
}
.value-card:nth-child(2) .no { background: var(--pink); color: #fff; }
.value-card:nth-child(3) .no { background: var(--cyan); }
.value-card:nth-child(4) .no { background: var(--green); color: #fff; }
.value-card h3 { font-family: var(--font-en); font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { color: var(--ink-soft); font-size: .93rem; }

/* ---------- Persona ---------- */
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.persona {
  background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-hard); transition: transform .22s, box-shadow .22s;
}
.persona:nth-child(1) { transform: rotate(-1deg); }
.persona:nth-child(3) { transform: rotate(1deg); }
.persona:hover { transform: translate(-3px,-6px) rotate(0); box-shadow: 9px 11px 0 var(--ink); }
.persona img { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-bottom: var(--bw) solid var(--ink); }
.persona .body { padding: 24px 24px 28px; }
.persona h3 { font-size: 1.02rem; font-weight: 900; margin-bottom: 8px; }
.persona p { color: var(--ink-soft); font-size: .9rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 64px; }
.gallery img {
  border: var(--bw) solid var(--ink); border-radius: 18px;
  box-shadow: var(--shadow-hard-sm);
  aspect-ratio: 3/4; object-fit: cover; width: 100%; transition: transform .3s;
}
.gallery img:nth-child(odd) { transform: rotate(-2deg); }
.gallery img:nth-child(even) { transform: rotate(2deg) translateY(16px); }
.gallery img:hover { transform: scale(1.06) rotate(0); box-shadow: var(--shadow-hard); z-index: 2; position: relative; }

/* ---------- Message ---------- */
.message-wrap { display: grid; grid-template-columns: 330px 1fr; gap: 64px; align-items: start; margin-top: 60px; }
.message-profile { position: sticky; top: 120px; text-align: center; }
.message-profile img {
  border: var(--bw) solid var(--ink); border-radius: 26px;
  box-shadow: var(--shadow-hard-lg);
  aspect-ratio: 4/5; object-fit: cover; width: 100%; transform: rotate(-1.6deg);
}
.message-profile .name { margin-top: 26px; font-weight: 900; font-size: 1.2rem; }
.message-profile .role { color: var(--ink-soft); font-size: .84rem; font-weight: 600; }
.message-profile .sns {
  display: inline-flex; margin-top: 16px; padding: 8px 20px; border-radius: 999px;
  border: var(--bw) solid var(--ink); box-shadow: var(--shadow-hard-sm);
  font-size: .82rem; font-weight: 800; background: #fff; transition: .2s;
}
.message-profile .sns:hover { transform: translate(-2px,-2px); box-shadow: 5px 6px 0 var(--ink); }
.message-body h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 900; margin-bottom: 24px; }
.message-body h4 {
  display: inline-block; font-size: 1.02rem; font-weight: 900; margin: 34px 0 12px;
  padding: 6px 18px; border-radius: 999px; background: var(--cream);
  border: var(--bw) solid var(--ink); transform: rotate(-1deg);
}
.message-body p { color: var(--ink-soft); margin-bottom: 16px; }

/* ---------- Company table ---------- */
.company-table {
  margin-top: 60px; background: #fff; border: var(--bw) solid var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow-hard); overflow: hidden;
}
.company-table .row {
  display: grid; grid-template-columns: 220px 1fr; gap: 20px;
  padding: 24px 34px; border-bottom: 2px dashed #e3d9c8;
}
.company-table .row:last-child { border-bottom: 0; }
.company-table dt { font-weight: 900; }
.company-table dd { color: var(--ink-soft); }
.company-table dd ul li { padding-left: 1.4em; position: relative; margin-bottom: 6px; }
.company-table dd ul li::before {
  content: "★"; position: absolute; left: 0; top: 0; color: var(--yellow);
  -webkit-text-stroke: 1px var(--ink); font-size: .9em;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 60px auto 0; position: relative; z-index: 2; }
.faq-item {
  border: var(--bw) solid var(--ink); border-radius: 18px; margin-bottom: 18px;
  background: #fff; overflow: hidden; box-shadow: var(--shadow-hard-sm); transition: .2s;
}
.faq-item.open { box-shadow: var(--shadow-hard); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  padding: 20px 24px; font-weight: 800; font-size: .98rem; font-family: var(--font-round);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink);
}
.faq-q .q-mark {
  flex: none; width: 34px; height: 34px; border-radius: 50%; margin-right: 4px;
  border: var(--bw) solid var(--ink); background: var(--yellow);
  display: inline-grid; place-items: center;
  color: var(--ink); font-family: var(--font-en); font-weight: 700; font-size: .9rem;
  transform: rotate(-6deg);
}
.faq-q > span:first-child { display: flex; align-items: center; gap: 10px; }
.faq-q .toggle {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: var(--bw) solid var(--ink); background: #fff;
  display: grid; place-items: center; color: var(--ink); font-weight: 900; transition: .3s;
}
.faq-item.open .toggle { transform: rotate(45deg); background: var(--blurple); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 26px 24px 72px; color: var(--ink-soft); font-size: .94rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  padding: 110px 0; background: var(--ink);
}
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 900; line-height: 1.5; position: relative; z-index: 2; }
.cta-band h2 .hl { background: linear-gradient(transparent 62%, rgba(78,92,240,.9) 62%, rgba(78,92,240,.9) 94%, transparent 94%); }
.cta-band p { color: rgba(255,255,255,.72); margin: 20px auto 40px; max-width: 40em; position: relative; z-index: 2; }
.cta-band .btns { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }
.cta-band .btn { border-color: #fff; box-shadow: 5px 6px 0 rgba(255,255,255,.9); }
.cta-band .btn:hover { box-shadow: 8px 9px 0 rgba(255,255,255,.9); }
.cta-band .btn:active { box-shadow: 2px 2px 0 rgba(255,255,255,.9); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.78); padding: 30px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px;
  padding: 50px 0 60px; border-top: 3px dashed rgba(255,255,255,.18);
}
.footer .logo img { height: 42px; width: auto; }
.footer .tagline { margin-top: 20px; font-size: .94rem; font-weight: 600; }
.footer h4 {
  color: var(--yellow); font-family: var(--font-en); letter-spacing: .12em; font-size: .84rem;
  text-transform: uppercase; margin-bottom: 20px; font-weight: 600;
}
.footer li { margin-bottom: 12px; }
.footer a { transition: .2s; font-size: .92rem; font-weight: 600; }
.footer a:hover { color: var(--yellow); padding-left: 4px; }
.footer-bottom {
  border-top: 3px dashed rgba(255,255,255,.18); padding: 24px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .8rem; color: rgba(255,255,255,.5);
}

/* ---------- Floating contact ---------- */
.float-contact {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; flex-direction: column; gap: 14px;
}
.float-contact a {
  width: 56px; height: 56px; border-radius: 50%;
  border: var(--bw) solid var(--ink); box-shadow: var(--shadow-hard-sm);
  display: grid; place-items: center; transition: .2s;
}
.float-contact a:hover { transform: translate(-2px,-4px) rotate(-6deg); box-shadow: 5px 7px 0 var(--ink); }
.float-contact .f-line { background: var(--line-green); }
.float-contact .f-mail { background: var(--yellow); }

/* ---------- Contact form ---------- */
.form-wrap { max-width: 780px; margin: 0 auto; position: relative; z-index: 2; }
.steps { display: flex; justify-content: center; margin-bottom: 60px; }
.step { display: flex; align-items: center; gap: 12px; }
.step .dot {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-en); font-weight: 700; background: #fff;
  border: var(--bw) solid var(--ink); color: var(--ink); transition: .25s;
}
.step.active .dot { background: var(--blurple); color: #fff; box-shadow: var(--shadow-hard-sm); transform: rotate(-6deg) scale(1.08); }
.step .txt { font-weight: 800; font-size: .88rem; color: var(--ink-soft); }
.step.active .txt { color: var(--ink); }
.step-bar { width: 64px; height: 3px; border-radius: 3px; background: var(--ink); opacity: .2; margin: 0 16px; }
.form-card {
  background: #fff; border: var(--bw) solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-hard); padding: 50px;
}
.field { margin-bottom: 30px; }
.field label { display: block; font-weight: 800; font-size: .93rem; margin-bottom: 10px; }
.req, .opt {
  display: inline-block; font-size: .68rem; font-weight: 800; padding: 2px 12px;
  border-radius: 999px; margin-left: 10px; vertical-align: 2px;
  border: 2px solid var(--ink);
}
.req { background: var(--pink); color: #fff; transform: rotate(-2deg); }
.opt { background: var(--cream); color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field select, .field textarea {
  width: 100%; padding: 15px 18px;
  border: var(--bw) solid var(--ink); border-radius: 14px;
  font-family: var(--font-round); font-weight: 600; font-size: .96rem;
  background: var(--paper); transition: .2s; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; box-shadow: 4px 5px 0 var(--blurple);
  transform: translate(-2px,-2px);
}
.field textarea { min-height: 170px; resize: vertical; }
.radio-group { display: flex; gap: 14px; flex-wrap: wrap; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span {
  display: inline-block; padding: 11px 26px; border-radius: 999px;
  border: var(--bw) solid var(--ink);
  font-weight: 800; font-size: .9rem; cursor: pointer; transition: .2s; background: #fff;
}
.radio-pill input:checked + span {
  background: var(--blurple); color: #fff;
  box-shadow: var(--shadow-hard-sm); transform: rotate(-2deg);
}
.error-msg { color: #e0245e; font-size: .8rem; font-weight: 700; margin-top: 6px; display: none; }
.field.invalid .error-msg { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e0245e; box-shadow: 4px 5px 0 #e0245e; }
.char-count { font-size: .78rem; color: var(--ink-soft); text-align: right; margin-top: 6px; font-weight: 700; }
.form-actions { text-align: center; margin-top: 40px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.confirm-table { border-top: 2px dashed #e3d9c8; margin-bottom: 30px; }
.confirm-table .row { display: grid; grid-template-columns: 200px 1fr; padding: 18px 6px; border-bottom: 2px dashed #e3d9c8; gap: 14px; }
.confirm-table dt { font-weight: 800; font-size: .9rem; }
.confirm-table dd { color: var(--ink-soft); font-size: .94rem; white-space: pre-wrap; word-break: break-word; }
.done-box { text-align: center; padding: 30px 0; }
.done-box .big-ico {
  width: 92px; height: 92px; margin: 0 auto 28px; border-radius: 50%;
  border: var(--bw) solid var(--ink); box-shadow: var(--shadow-hard);
  background: var(--green); display: grid; place-items: center;
  font-size: 2.4rem; color: #fff; transform: rotate(-6deg);
}
.done-box h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 14px; }
.done-box p { color: var(--ink-soft); }
.hidden { display: none !important; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.34,1.56,.64,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner, .split, .message-wrap { grid-template-columns: 1fr; }
  .message-profile { position: static; max-width: 300px; margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery img:nth-child(n+4) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split .imgs { max-width: 520px; }
  .hero { padding: 150px 0 70px; }
}
@media (max-width: 760px) {
  .gnav {
    position: fixed; inset: 0; background: var(--cream);
    flex-direction: column; justify-content: center; gap: 30px;
    opacity: 0; pointer-events: none; transition: .3s; z-index: 105;
  }
  body.nav-open .gnav { opacity: 1; pointer-events: auto; }
  .gnav a.nav-link { font-size: 1.25rem; }
  .menu-toggle { display: block; }
  .header-inner { padding: 8px 12px 8px 20px; }
  .section { padding: 70px 0; }
  .values-grid, .persona-grid, .feature-grid { grid-template-columns: 1fr; }
  .value-card { padding: 32px 26px; }
  .company-table .row { grid-template-columns: 1fr; gap: 4px; padding: 20px 24px; }
  .confirm-table .row { grid-template-columns: 1fr; gap: 4px; }
  .form-card { padding: 32px 22px; }
  .steps .txt { display: none; }
  .step-bar { width: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .fc-1 { left: -4px; }
  .fc-2 { right: -4px; }
  .stats { margin-top: -20px; }
  .stats-grid { gap: 16px; }
  .hero { padding: 130px 0 60px; }
  .page-hero { padding: 140px 0 80px; }
  .faq-a p { padding-left: 26px; }
  .doodle { display: none; }
}

