/* Ikigai Global Industries — corporate identity system */

:root {
  --ink: #16161a;
  --ink-soft: #3d3d44;
  --paper: #f7f6f3;
  --paper-raised: #ffffff;
  --line: #e2e0da;
  --accent: #b3261e; /* vermilion */
  --accent-deep: #7a1611;
  --muted: #8a8a92;
  --serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 14px;
  text-transform: uppercase;
}

.logo .mark {
  width: 26px;
  height: 26px;
  flex: none;
}

nav.primary { display: flex; gap: 30px; align-items: center; }

nav.primary > a, .navgroup > a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 21px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  display: inline-block;
}

nav.primary > a:hover, nav.primary > a.active,
.navgroup:hover > a, .navgroup > a.active {
  color: var(--ink);
  border-color: var(--accent);
}

.navgroup { position: relative; }

.navgroup > a::after {
  content: " ▾";
  font-size: 9px;
  color: var(--muted);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 250px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.10);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
  z-index: 60;
}

.navgroup:hover .dropdown, .navgroup:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown a {
  display: block;
  padding: 10px 24px;
  font-size: 13px;
  color: var(--ink-soft);
  transition: background 0.15s, color 0.15s;
}

.dropdown a:hover { background: var(--paper); color: var(--ink); }

.dropdown .dd-label {
  padding: 10px 24px 4px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-search-link { display: none; }

.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-soft);
  padding: 8px;
  display: flex;
  align-items: center;
}

.search-toggle:hover { color: var(--ink); }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(22, 22, 26, 0.96);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 18vh 24px 0;
}

.search-overlay.open { display: flex; }

.search-box { width: 100%; max-width: 640px; }

.search-box .s-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.search-box input {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(247, 246, 243, 0.3);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 34px;
  padding: 10px 2px 14px;
}

.search-box input:focus { outline: none; border-color: var(--accent); }

.search-box .s-hint {
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(247, 246, 243, 0.4);
}

/* ---------- Search results page ---------- */
.results { max-width: 720px; }

.result { padding: 26px 4px; border-bottom: 1px solid var(--line); display: block; }

.result:hover { background: var(--paper-raised); }

.result .r-url { font-size: 11.5px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 6px; }

.result h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin-bottom: 6px; }

.result p { font-size: 14px; color: var(--ink-soft); }

.result.restricted .r-url, .result.restricted h3 { color: var(--accent); }

/* ---------- Product pages ---------- */
.product-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(1000px 540px at 75% 30%, rgba(179, 38, 30, 0.13), transparent 60%),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.product-hero .kicker {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.product-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  margin-bottom: 26px;
  max-width: 16ch;
}

.product-hero .lede {
  font-size: 18px;
  color: rgba(247, 246, 243, 0.7);
  max-width: 50ch;
  margin-bottom: 40px;
}

.spec-table { width: 100%; border-collapse: collapse; }

.spec-table th, .spec-table td {
  text-align: left;
  padding: 18px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  vertical-align: top;
}

.spec-table th {
  width: 220px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row:last-child { border-bottom: none; }

.feature-row .f-art {
  min-height: 300px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.feature-row .f-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.feature-row h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 30px;
  margin-bottom: 14px;
}

.feature-row p { color: var(--ink-soft); max-width: 48ch; }

/* ---------- Photography ---------- */
.hero.photo, .product-hero.photo {
  background-size: cover !important;
  background-position: center;
}

.page-hero.photo {
  background-size: cover;
  background-position: center;
  color: var(--paper);
  border-bottom: none;
  padding: 150px 0 110px;
}

.page-hero.photo h1 { color: var(--paper); }
.page-hero.photo p { color: rgba(247, 246, 243, 0.78); }
.page-hero.photo .kicker { color: #d4736b; }

.photo-band {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
}

.photo-band.quote-over {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 24px;
  color: var(--paper);
}

.photo-band.quote-over blockquote {
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.3;
  max-width: 26ch;
  margin: 0 auto 24px;
}

.photo-band.quote-over cite {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(247, 246, 243, 0.6);
  display: block;
}

.split .art img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.tile {
  background-size: cover;
  background-position: center;
}

@media (max-width: 640px) {
  .photo-band { min-height: 280px; }
}

/* ---------- Scroll story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.story-sticky {
  position: sticky;
  top: 96px;
  height: calc(100vh - 190px);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  padding: 52px;
  border-radius: 2px;
  overflow: hidden;
  transition: background 1.4s ease;
}

.story-sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 300px at 75% 25%, rgba(179, 38, 30, 0.14), transparent 65%);
  pointer-events: none;
}

.story-sticky .s-kicker {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.story-sticky .s-time {
  font-family: var(--serif);
  font-size: clamp(58px, 6.5vw, 100px);
  line-height: 1;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}

.story-sticky .s-note {
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(247, 246, 243, 0.7);
  max-width: 38ch;
  transition: opacity 0.45s;
}

.story-sticky.fading .s-note { opacity: 0; }

.story-steps .step {
  min-height: 72vh;
  display: flex;
  align-items: center;
}

.story-steps .step:last-child { min-height: 60vh; }

.step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  margin-bottom: 12px;
}

.step .st-time {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.step p { color: var(--ink-soft); max-width: 46ch; }

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-sticky { position: sticky; top: 76px; height: auto; min-height: 0; padding: 28px; z-index: 5; }
  .story-sticky .s-time { font-size: 44px; margin-bottom: 8px; }
  .story-sticky .s-note { display: none; }
  .story-steps .step { min-height: 55vh; }
}

/* ---------- Restricted search docs ---------- */
.result .r-lock {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 2px 8px;
  margin-left: 10px;
  vertical-align: middle;
}

/* ---------- Portal ---------- */
.portal-wrap {
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  padding: 60px 24px;
}

.portal-card {
  width: 100%;
  max-width: 420px;
  border: 1px solid rgba(247, 246, 243, 0.14);
  padding: 48px 44px;
}

.portal-card .p-kicker {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.portal-card h1 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin-bottom: 30px; }

.portal-card label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 246, 243, 0.5);
  margin-bottom: 8px;
}

.portal-card input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(247, 246, 243, 0.18);
  color: var(--paper);
  padding: 12px 13px;
  font-size: 16px;
  margin-bottom: 22px;
  font-family: var(--sans);
}

.portal-card input:focus { outline: none; border-color: var(--accent); }

.portal-error {
  display: none;
  border-left: 2px solid var(--accent);
  padding: 12px 14px;
  font-size: 13px;
  color: rgba(247, 246, 243, 0.8);
  margin-bottom: 22px;
  background: rgba(179, 38, 30, 0.08);
}

/* ---------- News thumbs ---------- */
.news-item { grid-template-columns: 88px 130px 1fr 32px; }

.news-thumb {
  width: 88px;
  height: 64px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--ink);
  align-self: center;
}

.news-thumb svg { width: 100%; height: 100%; display: block; }

/* ---------- Region selector ---------- */
.region {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12.5px;
  color: rgba(247, 246, 243, 0.55);
}

.region details { position: relative; }

.region summary {
  cursor: pointer;
  list-style: none;
  color: var(--paper);
  letter-spacing: 0.06em;
}

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

.region summary::after { content: " ▾"; font-size: 10px; color: var(--muted); }

.region .region-list {
  position: absolute;
  bottom: 130%;
  left: 0;
  background: #0e0e11;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 12px 0;
  min-width: 260px;
  max-height: 280px;
  overflow-y: auto;
  z-index: 40;
}

.region .region-list a {
  display: block;
  padding: 8px 20px;
  color: rgba(247, 246, 243, 0.7);
  font-size: 12.5px;
}

.region .region-list a:hover { color: var(--paper); background: rgba(255, 255, 255, 0.05); }

.region .region-list .rl-note {
  padding: 8px 20px 4px;
  font-size: 10.5px;
  color: rgba(247, 246, 243, 0.35);
  letter-spacing: 0.06em;
}

.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 72px 0 96px;
  background:
    radial-gradient(1200px 600px at 85% 15%, rgba(179, 38, 30, 0.16), transparent 60%),
    radial-gradient(900px 700px at 10% 90%, rgba(179, 38, 30, 0.07), transparent 55%),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 500px at 70% 60%, rgba(255, 255, 255, 0.035), transparent 65%);
  animation: hero-breathe 9s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes hero-breathe {
  from { opacity: 0.4; transform: translateY(0); }
  to { opacity: 1; transform: translateY(-30px); }
}

.hero::before {
  content: "生き甲斐";
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 320px;
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.04);
  writing-mode: vertical-rl;
  pointer-events: none;
  user-select: none;
  animation: kanji-drift 24s ease-in-out infinite alternate;
}

@keyframes kanji-drift {
  from { transform: translateY(-52%); }
  to { transform: translateY(-46%); }
}

.hero .wrap, .product-hero .wrap { position: relative; z-index: 1; width: 100%; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(247, 246, 243, 0.5));
  animation: cue 2.2s ease-in-out infinite;
  z-index: 1;
}

@keyframes cue {
  0%, 100% { opacity: 0.25; transform: translateX(-50%) scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: translateX(-50%) scaleY(1); transform-origin: top; }
}

.hero .kicker {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.08;
  max-width: 15ch;
  margin-bottom: 32px;
}

.hero p.lede {
  font-size: 18px;
  color: rgba(247, 246, 243, 0.72);
  max-width: 52ch;
  margin-bottom: 44px;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  background: none;
  font-family: var(--sans);
}

.hero .btn:hover { background: var(--paper); color: var(--ink); }

.btn.solid {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn.solid:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }

/* ---------- Sections ---------- */
section.block { padding: 96px 0; }

section.block.alt { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  margin-bottom: 56px;
  max-width: 60ch;
}

.section-head .kicker {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

.section-head p { margin-top: 18px; color: var(--ink-soft); }

/* ---------- Grid cards ---------- */
.grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.cell {
  background: var(--paper);
  padding: 40px 32px;
  transition: background 0.2s;
}

.cell:hover { background: var(--paper-raised); }

.cell .num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.cell h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 12px;
}

.cell p { font-size: 14.5px; color: var(--ink-soft); }

.cell .jp {
  display: block;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

/* ---------- Market strip ---------- */
.market {
  background: #0e0e11;
  color: rgba(247, 246, 243, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.market .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 38px;
  overflow-x: auto;
  scrollbar-width: none;
}

.market .wrap::-webkit-scrollbar { display: none; }

.market span { white-space: nowrap; }

.market .sym { color: var(--paper); font-weight: 600; letter-spacing: 0.12em; }

.market .up { color: #c94f43; }      /* in this world, red is up */
.market .note { margin-left: auto; color: rgba(247, 246, 243, 0.35); }

/* ---------- Division tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tile {
  position: relative;
  min-height: 320px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--paper);
  overflow: hidden;
  border-radius: 2px;
  isolation: isolate;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.tile:hover { transform: none; }

.tile::before {
  content: attr(data-kanji);
  position: absolute;
  right: -10px;
  bottom: -40px;
  font-family: var(--serif);
  font-size: 220px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  z-index: -1;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.tile:hover::before { transform: translateY(-14px); }

.tile.t-rail { background: linear-gradient(135deg, #1b1b21 0%, #2a1416 55%, #4a1712 100%); }
.tile.t-energy { background: linear-gradient(135deg, #16161a 0%, #1d2026 60%, #232a35 100%); }
.tile.t-consumer { background: linear-gradient(135deg, #17171b 0%, #24201d 60%, #33291f 100%); }
.tile.t-life { background: linear-gradient(135deg, #16161a 0%, #1c2220 60%, #223028 100%); }

.tile .t-kicker {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(247, 246, 243, 0.5);
  margin-bottom: 10px;
}

.tile h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  margin-bottom: 10px;
}

.tile p {
  font-size: 14.5px;
  color: rgba(247, 246, 243, 0.65);
  max-width: 42ch;
  margin-bottom: 18px;
}

.tile .t-link {
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
}

.tile .t-link::after {
  content: " →";
  color: var(--accent);
  transition: margin-left 0.3s;
}

.tile:hover .t-link::after { margin-left: 5px; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .hero::after, .scroll-cue { animation: none; }
}

/* ---------- Pledge band (ESG) ---------- */
.pledge-band {
  position: relative;
  padding: 120px 0;
  background:
    radial-gradient(900px 500px at 20% 20%, rgba(179, 38, 30, 0.12), transparent 60%),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.pledge-band .kicker {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.pledge-band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.15;
  max-width: 22ch;
  margin-bottom: 20px;
}

.pledge-band p {
  color: rgba(247, 246, 243, 0.65);
  max-width: 58ch;
  margin-bottom: 36px;
  font-size: 16.5px;
}

/* ---------- Investors ---------- */
.stock-panel {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 40px;
}

.stock-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.stock-head .sym {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.stock-head .px {
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stock-head .chg { font-size: 15px; font-weight: 600; }
.stock-head .chg.up { color: #b3261e; }

.stock-note { font-size: 12px; color: var(--muted); margin-bottom: 24px; }

#stock-chart { width: 100%; height: 300px; display: block; }

.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 56px;
}

.figures .fig { background: var(--paper); padding: 32px 28px; }

.figures .fig .n {
  font-family: var(--serif);
  font-size: 32px;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.figures .fig .l {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Split layout with art ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 72px;
  align-items: center;
}

.split .art { width: 100%; }
.split .art svg { width: 100%; height: auto; display: block; }

/* ---------- Stats band ---------- */
.stats {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0;
}

.stats .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stats .n {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  margin-bottom: 10px;
}

.stats .l {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(247, 246, 243, 0.55);
}

/* ---------- Quote band ---------- */
.quote-band {
  padding: 110px 0;
  text-align: center;
  background: var(--paper-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-band blockquote {
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.3;
  max-width: 26ch;
  margin: 0 auto 24px;
}

.quote-band cite {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- News list ---------- */
.news-list { border-top: 1px solid var(--line); }

.news-item {
  display: grid;
  grid-template-columns: 160px 1fr 32px;
  gap: 32px;
  align-items: baseline;
  padding: 32px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}

.news-item:hover { background: var(--paper-raised); }

.news-item .date {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.news-item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.3;
}

.news-item .arrow { color: var(--accent); font-size: 18px; }

/* ---------- Article ---------- */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 88px 24px 120px;
}

.article .date {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.article h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.15;
  margin-bottom: 36px;
}

.article p { margin-bottom: 22px; color: var(--ink-soft); font-size: 16.5px; }

.article p.dateline { color: var(--ink); }

.article .divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 44px 0;
}

.article .boiler { font-size: 13.5px; color: var(--muted); }

/* ---------- Careers ---------- */
.job {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 36px;
  margin-bottom: 20px;
}

.job header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.job h3 { font-family: var(--serif); font-weight: 400; font-size: 23px; }

.job .meta {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.job p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 14px; }

.job ul { list-style: none; }

.job ul li {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 7px 0 7px 22px;
  position: relative;
  border-top: 1px dotted var(--line);
}

.job ul li::before {
  content: "・";
  position: absolute;
  left: 2px;
  color: var(--accent);
}

/* ---------- Form ---------- */
form.apply {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 48px;
  max-width: 640px;
}

form.apply .field { margin-bottom: 26px; }

form.apply label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

form.apply input, form.apply select, form.apply textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: var(--sans);
  font-size: 16px; /* ≥16px prevents iOS Safari auto-zoom on focus */
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

form.apply input:focus, form.apply select:focus, form.apply textarea:focus {
  outline: none;
  border-color: var(--accent);
}

form.apply .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }

form.apply .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 30px;
}

form.apply .consent input { width: auto; margin-top: 4px; }

.form-success {
  display: none;
  border: 1px solid var(--accent);
  padding: 28px;
  margin-top: 28px;
  font-family: var(--serif);
  font-size: 18px;
}

/* ---------- Footer ---------- */
footer.site {
  background: var(--ink);
  color: rgba(247, 246, 243, 0.6);
  padding: 72px 0 40px;
  font-size: 13px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

footer .logo { color: var(--paper); margin-bottom: 18px; }

footer h4 {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 16px;
  font-weight: 600;
}

footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer a:hover { color: var(--paper); }

.foot-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(247, 246, 243, 0.4);
}

.foot-legal .motto { font-family: var(--serif); letter-spacing: 0.06em; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--line);
}

.page-hero .kicker {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  max-width: 20ch;
}

.page-hero p {
  margin-top: 22px;
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 17px;
}

/* ---------- Tenets ---------- */
.tenet {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}

.tenet .jp-big {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--ink);
}

.tenet h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 6px;
}

.tenet .romaji {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.tenet p { color: var(--ink-soft); max-width: 62ch; }

/* ---------- Office clocks ---------- */
.clocks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 28px 0;
  margin-bottom: 0;
}

.clock { text-align: center; }

.clock .t {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

.clock .l {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(247, 246, 243, 0.45);
}

.clock:last-child .l { color: var(--accent); }

@media (max-width: 640px) {
  .clocks { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .clock:last-child { grid-column: span 2; }
}

/* ---------- Print ---------- */
@media print {
  body::after {
    content: "This document is the property of Ikigai Global Industries. Unauthorized possession triggers honor review.";
    display: block;
    margin-top: 40px;
    font-family: var(--serif);
    font-size: 11px;
    letter-spacing: 0.06em;
    border-top: 1px solid #000;
    padding-top: 12px;
  }
  .nav-toggle { display: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  nav.primary {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
  }
  nav.primary.open { display: flex; }
  nav.primary > a, .navgroup > a { padding: 12px 0; border-bottom: 1px solid var(--line); display: block; }
  .navgroup { width: 100%; }
  .navgroup > a::after { content: ""; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: none;
    min-width: 0;
    padding: 0 0 6px 14px;
  }
  .dropdown a { padding: 9px 0; }
  .search-toggle { display: none; }
  .nav-search-link { display: block !important; }
  .news-item { grid-template-columns: 1fr; }
  .news-thumb { width: 100%; height: 110px; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .nav-toggle { display: block; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 240px; padding: 30px; }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .stats .row { grid-template-columns: repeat(2, 1fr); }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .news-item .arrow { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split .art { max-width: 260px; }
  .tenet { grid-template-columns: 1fr; gap: 16px; }
  .hero::before { font-size: 200px; }
  form.apply { padding: 28px; }
}
