/* ==========================================================================
   Hope Village Corporate Site — Design System
   Concept: 「人を育て、成果を創り、未来を変える。」
   Palette: Deep Green × Black × White × Gray — Luxury × Business
   ========================================================================== */

:root {
  --c-green-deep: #0b3d2e;
  --c-green: #12523d;
  --c-green-mid: #1f7a4d;
  --c-green-bright: #34c77b;
  --c-green-tint: #eef6f0;
  --c-black: #0d0f0d;
  --c-ink: #16181a;
  --c-gray-900: #23262b;
  --c-gray-700: #565b60;
  --c-gray-500: #8a9089;
  --c-gray-300: #d7dad5;
  --c-gray-100: #f4f5f2;
  --c-white: #ffffff;

  --font-serif: "Shippori Mincho", "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;

  --max-width: 1180px;
  --gutter: clamp(24px, 5vw, 80px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: var(--font-sans);
  color: var(--c-ink);
  background: var(--c-white);
  line-height: 1.9;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--c-green-mid);
  text-transform: uppercase;
  margin-bottom: 18px;
}
/* The lead rule marks the numbered business chapters (01 / 02) only —
   every other eyebrow stands on its own. */
.eyebrow.ruled::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--c-green-bright);
}
.hl { color: var(--c-green-mid); font-weight: 700; }
.note-small { color: var(--c-gray-500); font-size: 13px; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.5; letter-spacing: 0.02em; }
h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.4; }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 20px; }
p.lead { font-size: 17px; color: var(--c-gray-700); }
.jp-vertical-note { writing-mode: vertical-rl; font-family: var(--font-serif); letter-spacing: 0.3em; font-size: 12px; color: var(--c-gray-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  font-size: 14px;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-green-bright);
  color: var(--c-black);
  font-weight: 700;
}
.btn-primary:hover { background: var(--c-white); transform: translateY(-2px); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--c-white);
}
.btn-outline:hover { border-color: var(--c-green-bright); color: var(--c-green-bright); }
.btn-outline-dark {
  border: 1px solid var(--c-gray-300);
  color: var(--c-ink);
}
.btn-outline-dark:hover { border-color: var(--c-green-mid); color: var(--c-green-mid); }
.btn-arrow { transition: transform 0.4s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  /* Sits above .mobile-nav so the logo and the close button stay reachable
     while the menu is open. */
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.on-dark { color: var(--c-white); }
.site-header.scrolled {
  background: rgba(13, 15, 13, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px var(--gutter);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  color: var(--c-white);
}
.logo {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* The H is optically centred, not just box-centred: the logo's tracking would
   add an empty column to the glyph's right and pull it left, and centring the
   line box leaves a cap-height letter sitting low. Padding (border-box) lifts
   it without moving the ::after square, which hangs off the padding box. */
.logo .mark {
  width: 30px; height: 30px;
  border: 1px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0;
  padding-bottom: 1.5px;
  position: relative;
}
.logo .mark::after {
  content: "";
  position: absolute; inset: 4px;
  border: 1px solid var(--c-green-bright);
}
.logo small { display: block; font-family: var(--font-sans); font-size: 9px; letter-spacing: 0.2em; color: var(--c-green-bright); font-weight: 400; }

.main-nav { display: flex; align-items: center; gap: 42px; }
.main-nav ul { display: flex; gap: 36px; font-size: 13.5px; letter-spacing: 0.04em; }
/* The underline offset must not reach .nav-cta — it would override the
   button's own padding and push its label off-centre. */
.main-nav a:not(.nav-cta) { position: relative; padding-bottom: 4px; }
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--c-green-bright);
  transition: width 0.35s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after, .main-nav a:not(.nav-cta).active::after { width: 100%; }
.main-nav a.active { color: var(--c-green-bright); }
.nav-cta {
  padding: 11px 22px;
  border: 1px solid var(--c-green-bright);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: all 0.35s var(--ease);
}
.nav-cta:hover { background: var(--c-green-bright); color: var(--c-black); }

/* 44px square hit area; the bars stay flush with the gutter. Two bars of
   unequal width read as a mark rather than a generic icon. */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 7px;
  width: 44px; height: 44px;
  /* Buttons don't inherit colour from the header on their own. */
  color: inherit;
}
.nav-toggle span {
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.45s var(--ease), width 0.45s var(--ease);
}
.nav-toggle span:nth-child(1) { width: 26px; }
.nav-toggle span:nth-child(2) { width: 17px; }
/* Bars are 1.5px tall with a 7px gap, so their centres are 8.5px apart —
   half of that reunites them on the centre line as an X. */
.nav-toggle.open span:nth-child(1) { width: 24px; transform: translateY(4.25px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { width: 24px; transform: translateY(-4.25px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0;
  background: linear-gradient(168deg, #10503c 0%, var(--c-green-deep) 26%, var(--c-black) 82%);
  color: var(--c-white);
  z-index: 250;
  display: flex; flex-direction: column;
  gap: 42px;
  padding: 108px var(--gutter) 44px;
  /* x must be hidden: the ::before glow sticks out past the right edge, and
     overflow-y:auto alone would turn that into a horizontal scrollbar. */
  overflow: hidden auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.55s var(--ease), visibility 0s linear 0.55s;
}
/* Same glow as .page-hero, so the panel reads as part of the site. */
.mobile-nav::before {
  content: "";
  position: absolute; right: -34%; top: -12%;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,199,123,0.20), transparent 70%);
  pointer-events: none;
}
/* Auto margins centre the links when they fit and collapse to 0 when they
   don't — unlike justify-content:center, which makes overflow unreachable. */
.mobile-nav > :first-child { margin-top: auto; }
.mobile-nav > :last-child { margin-bottom: auto; }
.mobile-nav.open {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.55s var(--ease), visibility 0s;
}

/* Capped so the rows don't stretch into a thin band on tablet widths. */
.m-links, .m-foot {
  position: relative; z-index: 1;
  width: 100%; max-width: 520px;
  margin-left: auto; margin-right: auto;
}
.m-links { border-top: 1px solid rgba(255,255,255,0.1); }
.m-link {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 16px;
  padding: 19px 2px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.m-num { font-family: var(--font-serif); font-size: 11px; letter-spacing: 0.14em; color: var(--c-green-bright); }
.m-ja { font-family: var(--font-serif); font-size: 20px; letter-spacing: 0.08em; transition: color 0.3s var(--ease); }
.m-en { font-size: 9.5px; letter-spacing: 0.22em; color: rgba(255,255,255,0.38); text-transform: uppercase; }
.m-link.active .m-ja { color: var(--c-green-bright); }
.m-link.active .m-en { color: rgba(52,199,123,0.6); }

.m-foot {
  display: flex; flex-direction: column; gap: 18px;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-nav .m-cta { width: 100%; justify-content: center; padding: 15px 24px; }
.m-meta { font-size: 10px; letter-spacing: 0.24em; color: rgba(255,255,255,0.34); text-align: center; }

/* Delays live on .open only, so the panel closes without a lingering fade. */
.mobile-nav.open .m-link, .mobile-nav.open .m-foot { opacity: 1; transform: none; }
.mobile-nav.open .m-link:nth-child(1) { transition-delay: 0.16s; }
.mobile-nav.open .m-link:nth-child(2) { transition-delay: 0.22s; }
.mobile-nav.open .m-link:nth-child(3) { transition-delay: 0.28s; }
.mobile-nav.open .m-link:nth-child(4) { transition-delay: 0.34s; }
.mobile-nav.open .m-link:nth-child(5) { transition-delay: 0.40s; }
.mobile-nav.open .m-foot { transition-delay: 0.46s; }

/* The panel sits under the header, so the bar must not paint over it. */
body.nav-open .site-header {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  color: var(--c-white);
}
/* Keyboard focus stays visible, in brand green rather than the UA blue. */
.nav-toggle:focus-visible, .mobile-nav a:focus-visible {
  outline: 2px solid var(--c-green-bright);
  outline-offset: 6px;
}

/* Scroll lock. position:fixed rather than overflow:hidden, which iOS Safari
   ignores on <body>; script.js preserves and restores the offset. */
body.nav-open {
  position: fixed;
  left: 0; right: 0;
  width: 100%;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav, .nav-toggle span, .m-link, .m-foot { transition: none; }
  .m-link, .m-foot { opacity: 1; transform: none; }

  /* Everything below is decorative motion — show the end state immediately. */
  [data-reveal],
  [data-reveal-stagger] > *,
  [data-reveal-stagger] > tbody > tr,
  .hero-tagline, .hero-sub, .hero-actions, .hero-meta, .scroll-cue,
  .page-hero .breadcrumb, .page-hero .en-label, .page-hero h1, .page-hero .lead {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .story-media img, .msg-portrait img { transform: none !important; transition: none !important; }
  .scroll-cue .line { animation: none; }
}

/* ---------- Page Hero (sub pages) ---------- */
.page-hero {
  position: relative;
  padding: 200px var(--gutter) 100px;
  background: var(--c-black);
  color: var(--c-white);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; right: -10%; top: -30%;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,199,123,0.18), transparent 70%);
}
.page-hero .breadcrumb { font-size: 12px; letter-spacing: 0.1em; color: var(--c-gray-500); margin-bottom: 22px; }
.page-hero .breadcrumb a:hover { color: var(--c-green-bright); }
.page-hero h1 { position: relative; z-index: 2; }
.page-hero .en-label { font-family: var(--font-serif); font-size: 13px; letter-spacing: 0.3em; color: var(--c-green-bright); text-transform: uppercase; margin-bottom: 14px; display: block; }
.page-hero.compact { padding: 140px var(--gutter) 56px; }
.page-hero.compact h1 { font-size: clamp(30px, 4vw, 44px); }
.page-hero .lead { color: var(--c-gray-300); max-width: 700px; margin-top: 16px; }

/* ---------- Sections ---------- */
section { position: relative; }
.sect { padding: 120px var(--gutter); }
.sect-tight { padding: 90px var(--gutter); }
.bg-black { background: var(--c-black); color: var(--c-white); }
.bg-deep { background: var(--c-green-deep); color: var(--c-white); }
.bg-deep .eyebrow, .bg-black .eyebrow { color: var(--c-green-bright); }
.bg-tint { background: var(--c-green-tint); }
.bg-gray { background: var(--c-gray-100); }

.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal="flip"] {
  transform: perspective(1400px) rotateX(-90deg);
  transform-origin: top center;
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
  backface-visibility: hidden;
}
[data-reveal="flip"].is-visible { transform: perspective(1400px) rotateX(0deg); }
[data-reveal-delay="1"] { transition-delay: 0.12s; }
[data-reveal-delay="2"] { transition-delay: 0.24s; }
[data-reveal-delay="3"] { transition-delay: 0.36s; }
[data-reveal-delay="4"] { transition-delay: 0.48s; }

/* Staggered children — cards cascade in one at a time instead of landing as
   a single block. script.js numbers each child with --i. */
[data-reveal-stagger] > *,
[data-reveal-stagger] > tbody > tr {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.08s);
}
/* Transforms on table rows are unreliable across engines — fade rows only. */
[data-reveal-stagger] > tbody > tr { transform: none; }
[data-reveal-stagger].is-visible > *,
[data-reveal-stagger].is-visible > tbody > tr { opacity: 1; transform: none; }

/* ---------- Entrance (fires once on load, not on scroll) ---------- */
/* Driven by keyframes rather than a JS-toggled class: if script.js ever fails
   to load, the first thing a visitor sees must not stay invisible. */
@keyframes entranceUp {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.hero-tagline, .hero-sub, .hero-actions, .hero-meta, .scroll-cue,
.page-hero .breadcrumb, .page-hero .en-label, .page-hero h1, .page-hero .lead {
  animation: entranceUp 1s var(--ease) both;
}
.hero-tagline { animation-delay: 0.15s; }
.hero-sub { animation-delay: 0.32s; }
.hero-actions { animation-delay: 0.46s; }
.hero-meta { animation-delay: 0.58s; }
.scroll-cue { animation-delay: 0.8s; }
.page-hero .breadcrumb { animation-delay: 0.1s; }
.page-hero .en-label { animation-delay: 0.2s; }
.page-hero h1 { animation-delay: 0.3s; }
.page-hero .lead { animation-delay: 0.46s; }

/* ---------- Hero (index) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(100deg, rgba(13,15,13,0.92) 0%, rgba(13,15,13,0.8) 32%, rgba(13,15,13,0.42) 58%, rgba(13,15,13,0.18) 78%),
    url("images/hero-bg.webp") center 30% / cover no-repeat,
    var(--c-black);
  color: var(--c-white);
  overflow: hidden;
  padding: 140px var(--gutter) 80px;
}
.hero-bg-lines { position: absolute; inset: 0; z-index: 0; opacity: 0.55; }
.hero-glow {
  position: absolute; top: 10%; right: -8%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(52,199,123,0.22), transparent 65%);
  z-index: 0;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-tagline { font-family: var(--font-serif); font-size: clamp(32px, 5.6vw, 64px); line-height: 1.55; }
.hero-tagline .accent { color: var(--c-green-bright); }
.hero-sub { margin-top: 26px; max-width: 520px; color: var(--c-gray-300); font-size: 15.5px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 46px; }
.hero-meta {
  position: relative; z-index: 2;
  display: flex; gap: 48px; margin-top: 90px;
  padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}
.hero-meta div span { display: block; font-family: var(--font-serif); font-size: 26px; color: var(--c-green-bright); }
.hero-meta div small { font-size: 11.5px; color: var(--c-gray-500); letter-spacing: 0.08em; }
.scroll-cue {
  position: absolute; bottom: 36px; left: var(--gutter);
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.2em; color: var(--c-gray-500);
  z-index: 2;
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(var(--c-green-bright), transparent); animation: scrollcue 2s infinite; }
@keyframes scrollcue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Philosophy / Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--c-gray-300); }
.pillar {
  background: var(--c-white);
  padding: 48px 36px;
  transition: background 0.4s var(--ease);
}
.pillar:hover { background: var(--c-green-tint); }
.pillar .num { font-family: var(--font-serif); font-size: 13px; color: var(--c-green-mid); letter-spacing: 0.15em; }
.pillar h3 { margin: 18px 0 14px; font-size: 22px; }
.pillar p { color: var(--c-gray-700); font-size: 14.5px; }

/* ---------- Business cards ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 20px; }
.biz-card {
  border: 1px solid var(--c-gray-300);
  padding: 44px;
  position: relative;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.biz-card:hover { border-color: var(--c-green-mid); transform: translateY(-4px); }
.biz-card .tag { font-size: 11.5px; letter-spacing: 0.15em; color: var(--c-green-mid); border: 1px solid var(--c-green-mid); display: inline-block; padding: 5px 12px; margin-bottom: 22px; }
.biz-card h3 { margin-bottom: 16px; }
.biz-card p { color: var(--c-gray-700); font-size: 14.5px; margin-bottom: 20px; }
.biz-card ul li { font-size: 13.5px; color: var(--c-gray-700); padding-left: 18px; position: relative; margin-bottom: 8px; }
.biz-card ul li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 1px; background: var(--c-green-bright); }
.card-link { margin-top: 26px; font-size: 13px; letter-spacing: 0.05em; color: var(--c-green-mid); display: inline-flex; align-items: center; gap: 8px; position: relative; padding-bottom: 3px; }
.card-link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}
.card-link:hover::after { width: 100%; }

/* ---------- Stats strip ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,0.15); border-bottom: 1px solid rgba(255,255,255,0.15); }
.stat-item { padding: 40px 30px; border-right: 1px solid rgba(255,255,255,0.15); }
.stat-item:last-child { border-right: none; }
.stat-item .val { font-family: var(--font-serif); font-size: 40px; color: var(--c-green-bright); }
.stat-item .lbl { font-size: 12px; color: var(--c-gray-400); letter-spacing: 0.06em; margin-top: 8px; }

/* ---------- Business story blocks ---------- */
.story-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-block.reverse .story-media { order: 2; }
.story-media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(31,122,77,0.06), rgba(31,122,77,0.01));
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-media span {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--c-gray-500);
}
.story-block h3 { font-size: 26px; margin-bottom: 18px; }
.story-block p { color: var(--c-gray-700); font-size: 14.5px; margin-bottom: 20px; }
.story-block p.story-note { font-size: 14px; margin-bottom: 0; }
.story-block .tag-list { margin-top: 0; }
.story-list { color: var(--c-gray-700); font-size: 14.5px; margin-bottom: 22px; }
.story-list li { position: relative; padding-left: 20px; margin-bottom: 10px; }
.story-list li::before { content: "―"; position: absolute; left: 0; color: var(--c-green-mid); }

/* ---------- Business flip-page scroll animation ---------- */
.flip-wrap { position: relative; height: 170vh; }
.flip-stage {
  position: sticky;
  top: 96px;
  height: calc(100vh - 140px);
  max-height: 580px;
  overflow: hidden;
}
.flip-page {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: var(--c-green-tint);
}
.flip-page .wrap { width: 100%; }
.flip-page.page-01 {
  z-index: 2;
  transform-origin: top center;
  backface-visibility: hidden;
  will-change: transform;
  box-shadow: 0 40px 70px rgba(11,61,46,0.18);
  transform: perspective(1800px) rotateX(0deg);
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}
.flip-page.page-01.is-flipped { transform: perspective(1800px) rotateX(-130deg); }
.flip-page.page-02 { z-index: 1; }

@media (max-width: 980px) {
  .flip-wrap { height: auto; }
  .flip-stage { position: static; height: auto; max-height: none; overflow: visible; }
  /* .page-01 must be named here too: it sets the flip shadow at a higher
     specificity, and a media query adds none of its own, so a bare
     .flip-page rule loses and the shadow bleeds under the stacked block. */
  .flip-page, .flip-page.page-01 {
    position: static; inset: auto;
    display: block;
    box-shadow: none;
    transform: none !important;
  }
  /* The .business-band padding override lives in the main responsive block
     further down — its base rule is declared after this one, so setting it
     here would simply be overridden. */

  /* Stacked, the two businesses share one tint background and read as a
     single block, so they get a rule between them. Desktop needs none — the
     page-flip already separates them, and .flip-page is absolute there. */
  .flip-page + .flip-page {
    position: relative;
    margin-top: 48px;
    padding-top: 48px;
  }
  /* A short centred mark rather than a full rule — roughly twice the 28px
     .eyebrow dash, so it reads as part of the same family. */
  .flip-page + .flip-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 1px;
    /* Green rather than --c-gray-300: the tag boxes just above use that grey
       for their borders, and the mark needs to read as a break, not an edge.
       Carries more alpha than a full-width rule would — short marks need it. */
    background: rgba(31, 122, 77, 0.42);
  }
  /* Trailing paragraph margin turns into dead space at the block's edge. */
  .story-block p:last-child { margin-bottom: 0; }
}

/* ---------- About Us ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: center; }
.about-head { max-width: 760px; }
.about-heading { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.6; margin-bottom: 28px; }
.about-lead { margin-top: 26px; }
.business-band { padding: 0 0 60px; }
.about-media {
  aspect-ratio: 4/5;
  border: 1px dashed rgba(255,255,255,0.28);
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-media span {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.35);
}

/* ---------- Message excerpt (index) ---------- */
.msg-excerpt { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.msg-layout { display: grid; grid-template-columns: 280px 1fr; gap: 80px; align-items: start; }
.msg-portrait {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--c-green-deep), var(--c-black));
  position: relative;
  overflow: hidden;
}
.msg-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }

/* Photos settle out of a slight over-scale as they come into view, and lean
   in on hover. Both wrappers already clip overflow. */
.story-media img, .msg-portrait img {
  transform: scale(1.08);
  transition: transform 1.5s var(--ease);
}
.story-media.media-in img, .msg-portrait.media-in img { transform: scale(1); }
.story-media:hover img, .msg-portrait:hover img { transform: scale(1.045); transition-duration: 0.8s; }
.msg-quote { font-family: var(--font-serif); font-size: 24px; line-height: 1.9; color: var(--c-ink); margin-bottom: 26px; }
.msg-name { font-size: 14px; color: var(--c-gray-700); }
.msg-name b { font-family: var(--font-serif); font-size: 17px; color: var(--c-ink); display: block; margin-bottom: 4px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  display: grid; grid-template-columns: repeat(2, 1fr);
}
.cta-half {
  padding: 76px var(--gutter);
  position: relative;
  overflow: hidden;
}
.cta-half.corp { background: var(--c-green-deep); color: var(--c-white); }
.cta-half.recruit { background: var(--c-black); color: var(--c-white); }
.cta-half h3 { font-size: 26px; margin-bottom: 14px; }
.cta-half p { color: var(--c-gray-300); margin-bottom: 30px; max-width: 380px; }

/* ---------- Contact band ---------- */
.contact-band {
  position: relative;
  /* Trimmed from 130px to stay in proportion now that the headline is gone. */
  padding: 112px var(--gutter);
  background:
    linear-gradient(155deg, rgba(11,61,46,0.92) 0%, rgba(13,15,13,0.9) 70%),
    url("images/contact-bg.webp") center / cover no-repeat,
    var(--c-black);
  color: var(--c-white);
  text-align: center;
  overflow: hidden;
}
.contact-band::before {
  content: "";
  position: absolute; top: -25%; left: 50%;
  width: 760px; height: 760px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(52,199,123,0.16), transparent 65%);
}
.contact-band .inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
/* Doubles as the section heading, so it resets the global h2 weight/leading. */
.contact-label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-serif); font-size: 12.5px; letter-spacing: 0.3em;
  font-weight: 400; line-height: 1.9;
  color: var(--c-green-bright); margin-bottom: 26px;
}
.contact-label::before, .contact-label::after {
  content: ""; width: 34px; height: 1px; background: var(--c-green-bright);
}
/* With no headline above it, this line carries the band on its own. */
.contact-band .sub {
  color: rgba(255,255,255,0.9);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.95;
  max-width: 30em;
  margin: 0 auto 40px;
}
.contact-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.btn-line { background: #06c755; color: #fff; font-weight: 700; }
.btn-line:hover { background: #05b34c; transform: translateY(-2px); }
.btn-white { background: var(--c-white); color: var(--c-ink); font-weight: 700; }
.btn-white:hover { transform: translateY(-2px); }
.btn svg { flex-shrink: 0; }
.contact-meta {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  font-size: 14px; color: var(--c-gray-300);
}
.contact-meta .sep { color: rgba(255,255,255,0.28); }

/* ---------- Contact page cards ---------- */
.contact-section { padding: 60px var(--gutter) 80px; }
.contact-cards { max-width: 720px; margin: 0 auto; }
.contact-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray-300);
  padding: 56px 48px;
  text-align: center;
}
.contact-card .line-mark {
  width: 64px; height: 64px; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #06c755; color: var(--c-white);
}
.contact-card .lbl {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--c-green-mid);
  margin-bottom: 14px;
}
.contact-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.75;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.contact-card p { color: var(--c-gray-700); font-size: 14.5px; margin-bottom: 28px; }
.contact-card .btn-line { padding: 18px 44px; font-size: 15px; }
.contact-card .meta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 26px; font-size: 13.5px; color: var(--c-gray-700);
}
.contact-card .meta .sep { color: var(--c-gray-300); }
.contact-card .note { font-size: 12.5px; color: var(--c-gray-500); margin: 10px 0 0; }
.contact-topics {
  margin-top: -1px;
  border: 1px solid var(--c-gray-300);
  border-top: none;
  background: rgba(255,255,255,0.55);
  padding: 30px 40px 32px;
}
.contact-topics .ttl {
  font-size: 12px; letter-spacing: 0.14em; color: var(--c-green-mid);
  text-align: center; margin-bottom: 16px;
}
.contact-topics ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px;
}
.contact-topics li {
  font-size: 13px; line-height: 1.6; color: var(--c-gray-700);
  border: 1px solid var(--c-gray-300); border-radius: 999px;
  padding: 7px 16px; background: var(--c-white);
}

/* ---------- Footer ----------
   Corporate-standard layout: company details on the left, a plain sitemap on
   the right, copyright underneath. The contact CTA lives in the section above
   the footer, so it is deliberately not repeated here. */
.site-footer {
  background: var(--c-black);
  color: var(--c-white);
  padding: 76px var(--gutter) 28px;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 56px;
  flex-wrap: wrap;
  padding-bottom: 46px;
}
.footer-company .logo { margin-bottom: 24px; }
.footer-address {
  font-style: normal;
  font-size: 13.5px;
  line-height: 2.1;
  color: var(--c-gray-500);
}
.footer-address .corp {
  display: block;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--c-white);
  margin-bottom: 4px;
}
.footer-address a:hover { color: var(--c-green-bright); }

.footer-sitemap { display: flex; gap: 92px; flex-wrap: wrap; }
.footer-sitemap ul { font-size: 13.5px; letter-spacing: 0.04em; }
.footer-sitemap li + li { margin-top: 15px; }
.footer-sitemap a { position: relative; transition: color 0.3s var(--ease); }
.footer-sitemap a::after {
  content: "";
  position: absolute; left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--c-green-bright);
  transition: width 0.35s var(--ease);
}
.footer-sitemap a:hover { color: var(--c-green-bright); }
.footer-sitemap a:hover::after { width: 100%; }

.footer-copy {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--c-gray-500);
}

/* ---------- Generic content blocks ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.divider { width: 100%; height: 1px; background: var(--c-gray-300); margin: 60px 0; }
.tag-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.tag-list span { font-size: 12px; letter-spacing: 0.05em; border: 1px solid var(--c-gray-300); padding: 6px 14px; color: var(--c-gray-700); }

/* Process / flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: flow; }
/* No left padding: step 01 stays flush with the section heading and the rule
   above it. The right padding alone forms the gutter between steps. */
.flow-step { position: relative; padding: 32px 32px 0 0; border-top: 2px solid var(--c-gray-300); }
.flow-step::before { counter-increment: flow; content: "0" counter(flow); font-family: var(--font-serif); font-size: 30px; color: var(--c-green-bright); display: block; margin-bottom: 14px; }
.flow-step h4 { font-size: 15px; margin-bottom: 8px; }
.flow-step p { font-size: 13px; color: var(--c-gray-700); }

/* ---------- Business page rhythm ----------
   Scoped to business.html so the shared .sect scale stays untouched elsewhere.
   Section padding is fluid, so tablet widths stop carrying desktop-sized gaps,
   and heading blocks without a lead paragraph get a proportionally smaller
   gap before their content. */
.page-biz .sect { padding: clamp(84px, 8vw, 120px) var(--gutter); }
.page-biz .page-hero { padding-bottom: clamp(72px, 6vw, 88px); }
.page-biz .section-head { margin-bottom: 56px; }
.page-biz .section-head.tight { margin-bottom: 40px; }

/* Table */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--c-gray-300); }
.info-table th, .info-table td { text-align: left; padding: 22px 0; vertical-align: top; }
.info-table th { width: 200px; font-weight: 500; color: var(--c-gray-700); font-size: 13.5px; letter-spacing: 0.05em; }
.info-table td { font-size: 14.5px; }
.info-table.narrow { max-width: 820px; margin: 0 auto; }
.info-table .map-block { margin-top: 20px; }
.map-toggle { margin-top: 0; }

/* ---------- Recruit block (index) ---------- */
.rec-intro { color: var(--c-gray-300); margin-top: 20px; max-width: 620px; }
.rec-group { margin-top: 76px; }
.rec-group-head {
  display: flex; align-items: baseline; gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 36px;
}
.rec-group-head .n { font-family: var(--font-serif); font-size: 21px; color: var(--c-green-bright); letter-spacing: 0.06em; }
.rec-group-head h3 { font-size: 19px; letter-spacing: 0.1em; }

.rec-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 56px; }
.rec-checklist li { display: flex; gap: 14px; font-size: 14.5px; color: var(--c-gray-300); }
.rec-checklist li::before { content: "✓"; color: var(--c-green-bright); font-size: 13px; }

.rec-merits { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rec-merit {
  border: 1px solid rgba(255,255,255,0.18);
  padding: 30px 32px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.rec-merit:hover { border-color: var(--c-green-bright); transform: translateY(-3px); }
.rec-merit h4 { font-size: 16px; margin-bottom: 10px; }
.rec-merit p { font-size: 13.5px; color: var(--c-gray-300); }

.rec-steps { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.rec-steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 25px; height: 1px;
  background: rgba(255,255,255,0.22);
}
.rec-step { text-align: center; padding: 0 14px; }
.rec-step .dot {
  position: relative; z-index: 1;
  width: 50px; height: 50px; margin: 0 auto 22px;
  border: 1px solid var(--c-green-bright);
  border-radius: 50%;
  background: var(--c-green-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 16px; color: var(--c-green-bright);
}
.rec-step:last-child .dot {
  background: var(--c-green-bright);
  color: var(--c-green-deep);
  box-shadow: 0 0 0 7px rgba(52,199,123,0.15);
}
.rec-step .stage { display: block; font-size: 11px; letter-spacing: 0.18em; color: var(--c-green-bright); margin-bottom: 8px; }
.rec-step h4 { font-size: 15px; margin-bottom: 10px; }
.rec-step p { font-size: 12.5px; color: var(--c-gray-300); line-height: 1.85; }

.rec-cta {
  margin-top: 76px;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 60px 40px;
  text-align: center;
}
.rec-cta h3 { font-size: 24px; margin-bottom: 14px; }
.rec-cta p { color: var(--c-gray-300); font-size: 14.5px; margin-bottom: 32px; }

@media (max-width: 980px) {
  .rec-checklist, .rec-merits { grid-template-columns: 1fr; }
  .rec-steps { grid-template-columns: 1fr; gap: 34px; }
  .rec-steps::before { display: none; }
  .rec-step { text-align: left; display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 0; position: relative; }
  .rec-step .dot { margin: 0; }
  .rec-step::before {
    content: ""; position: absolute; left: 25px; top: 50px; bottom: -34px;
    width: 1px; background: rgba(255,255,255,0.22);
  }
  .rec-step:last-child::before { display: none; }
  .rec-cta { padding: 44px 26px; }
}

/* Timeline (message page) */
.letter { max-width: 760px; }
.letter p { margin-bottom: 26px; font-size: 15.5px; color: var(--c-gray-700); }
.letter h3 { margin: 50px 0 18px; font-size: 21px; }
.pull-quote { font-family: var(--font-serif); font-size: 26px; line-height: 1.8; color: var(--c-ink); border-left: 2px solid var(--c-green-bright); padding-left: 28px; margin: 44px 0; }
.letter > .pull-quote:first-child { margin-top: 0; }
.letter p.lead { margin-bottom: 26px; }
.signature {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--c-gray-300);
  text-align: right;
}
.signature .company { display: block; font-family: var(--font-serif); font-size: 20px; margin-bottom: 6px; }
.signature .name { color: var(--c-gray-700); font-size: 14px; }

/* Company map placeholder */
.map-block { aspect-ratio: 16/8; background: var(--c-gray-900); position: relative; overflow: hidden; }
.map-block svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-block iframe { width: 100%; height: 100%; border: 0; }

/* Contact forms */
.contact-tabs { display: flex; gap: 2px; background: var(--c-gray-300); margin-bottom: 0; }
.contact-tab-panel { display: none; }
.contact-tab-panel.active { display: block; }
.form-select-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 60px; }
.form-select-card {
  border: 1px solid var(--c-gray-300);
  padding: 36px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.form-select-card.active { border-color: var(--c-green-mid); background: var(--c-green-tint); }
.form-select-card h4 { margin-bottom: 8px; }
.form-select-card p { font-size: 13px; color: var(--c-gray-700); }
.form-group { margin-bottom: 26px; }
.form-group label { display: block; font-size: 13px; letter-spacing: 0.04em; margin-bottom: 10px; color: var(--c-gray-700); }
.form-group label .req { color: var(--c-green-mid); font-size: 11px; margin-left: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--c-gray-300);
  font-family: inherit;
  font-size: 14.5px;
  background: var(--c-white);
  transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--c-green-mid); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-submit { margin-top: 10px; }
.form-note { display: none; margin-top: 22px; padding: 16px 20px; background: var(--c-green-tint); color: var(--c-green-deep); font-size: 13.5px; border-left: 2px solid var(--c-green-bright); }
.form-note.show { display: block; }
.form-required-note { font-size: 12.5px; color: var(--c-gray-500); margin-bottom: 30px; }
.contact-info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.contact-info-item { padding: 30px; background: var(--c-gray-100); }
.contact-info-item .lbl { font-size: 12px; color: var(--c-green-mid); letter-spacing: 0.08em; margin-bottom: 10px; }

/* Responsive */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .pillars, .biz-grid, .stats-strip, .cta-banner, .form-select-row, .form-row, .contact-info-strip { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .msg-excerpt { grid-template-columns: 1fr; }
  .msg-layout { grid-template-columns: 1fr; gap: 36px; }
  .msg-portrait { max-width: 360px; margin: 0 auto; aspect-ratio: 4/5; }
  .msg-profile { text-align: center; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { order: -1; aspect-ratio: 16/9; }
  .story-block, .story-block.reverse { grid-template-columns: 1fr; gap: 30px; }
  .story-block .story-media, .story-block.reverse .story-media { order: -1; aspect-ratio: 16/9; }
  /* Steps wrap onto a second row here, so the rows need their own gap —
     without it the next row's rule lands on the previous row's last line. */
  .flow { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  /* Stacked, the band is an ordinary section — pad it like one so the first
     image isn't flush against the top of the tint. Matches .sect at 120px. */
  .business-band { padding: 120px 0; }
  .footer-main { gap: 44px; }
  .footer-sitemap { gap: 48px; }
  .page-hero { padding: 150px var(--gutter) 70px; }
}
@media (max-width: 600px) {
  .flow { grid-template-columns: 1fr; row-gap: 32px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }

  /* Tighter vertical rhythm on phones */
  body { font-size: 15px; }
  .sect { padding: 72px var(--gutter); }
  .section-head { margin-bottom: 40px; }
  h3 { font-size: 18px; }
  /* The page-scoped business rules outrank the two above, so restate them. */
  .page-biz .sect { padding: 72px var(--gutter); }
  .page-biz .section-head, .page-biz .section-head.tight { margin-bottom: 36px; }
  .flow-step { padding: 26px 0 0; }

  /* Hero */
  .hero { padding: 120px var(--gutter) 96px; min-height: 88vh; }
  /* Keep 「人を育て、成果を創り、」on one line */
  .hero-tagline { font-size: clamp(24px, 7.2vw, 30px); line-height: 1.6; }
  .hero-sub { margin-top: 20px; }
  .hero-actions { gap: 12px; margin-top: 34px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .scroll-cue { bottom: 24px; }

  /* Decorative line breaks read badly at narrow widths */
  .about-heading br, .lead br { display: none; }
  .about-heading { line-height: 1.55; }

  /* Business: tags wrap raggedly at this width, so stack them at equal width */
  .tag-list { flex-direction: column; align-items: stretch; gap: 8px; }
  .tag-list span { padding: 11px 16px; font-size: 12.5px; }

  /* Business band matches the .sect rhythm (72px), with a slightly tighter
     gap between the two blocks so they read as one section, not two. */
  .business-band { padding: 72px 0; }
  /* Keeps the 64px total gap agreed earlier, with the rule centred in it. */
  .flip-page + .flip-page { margin-top: 32px; padding-top: 32px; }

  /* Message */
  .msg-portrait { max-width: 100%; }
  .pull-quote { font-size: 20px; padding-left: 20px; margin: 32px 0; }
  .letter p { font-size: 15px; }

  /* Recruit */
  .rec-group { margin-top: 52px; }
  .rec-merit { padding: 24px 22px; }
  .rec-step { grid-template-columns: 44px 1fr; gap: 16px; }
  .rec-step .dot { width: 44px; height: 44px; font-size: 15px; }
  .rec-step::before { left: 22px; top: 44px; }
  .rec-cta { margin-top: 52px; padding: 40px 22px; }
  .rec-cta h3 { font-size: 20px; }
  .rec-cta .btn { width: 100%; justify-content: center; }

  /* Company table stacks into rows */
  .info-table th, .info-table td { display: block; width: auto; padding: 0; }
  .info-table th { padding-top: 20px; color: var(--c-green-mid); }
  .info-table td { padding: 6px 0 20px; }
  .map-block { aspect-ratio: 4/3; }

  /* Contact */
  .contact-band { padding: 76px var(--gutter); }
  .contact-band .sub { margin-bottom: 34px; }
  .contact-actions { gap: 12px; margin-bottom: 28px; }
  .contact-actions .btn { width: 100%; justify-content: center; }
  .contact-meta { flex-direction: column; gap: 6px; font-size: 13px; }
  .contact-meta .sep { display: none; }

  /* Contact page */
  .contact-card { padding: 42px 22px; }
  .contact-card h2 br { display: none; }
  .contact-card .line-mark { width: 56px; height: 56px; margin-bottom: 20px; }
  .contact-card .btn { width: 100%; justify-content: center; }
  .contact-card .meta { flex-direction: column; gap: 4px; font-size: 13px; }
  .contact-card .meta .sep { display: none; }
  .contact-topics { padding: 26px 22px 28px; }
  .contact-topics ul { flex-direction: column; align-items: stretch; gap: 8px; }
  .contact-topics li { text-align: center; }

  /* Footer */
  .site-footer { padding: 56px var(--gutter) 26px; }
  .footer-main { flex-direction: column; gap: 36px; padding-bottom: 34px; }
  /* The two link columns stay side by side — stacking them makes the footer
     needlessly long on a phone. */
  .footer-sitemap { gap: 32px; width: 100%; }
  .footer-sitemap ul { flex: 1 1 0; min-width: 120px; }
}
