/* Self-hosted fonts (SIL Open Font License 1.1, licence files in assets/fonts/).
   Schibsted Grotesk: github.com/schibsted/schibsted-grotesk
   IBM Plex Mono: github.com/IBM/plex */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("fonts/SchibstedGrotesk-Variable.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* Naturabelle LLC corporate site
   Plain CSS. No external dependencies, no web fonts, no images beyond inline SVG. */

:root {
  /* Palette */
  --paper: #f5f2ea;
  --paper-2: #ece7db;
  --card: #fbf9f4;
  --ink: #131a16;
  --ink-2: #1b2520;
  --text: #1a201c;
  --text-soft: #46504a;
  --text-muted: #5a645d;
  --line: #d8d1c1;
  --line-strong: #b5ac98;
  --forest: #1f4a38;
  --forest-deep: #163628;
  --brass: #c2a46b;
  --brass-ink: #7a5f2c;
  --on-dark: #f1ede3;
  --on-dark-soft: #c3cbc5;
  --on-dark-line: rgba(241, 237, 227, 0.16);
  --focus: #2b6fd6;

  /* Type: one grotesk for headlines and body, one monospace for numbering and small labels */
  --sans: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --max: 1200px;
  --gutter: 20px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 0H0v48' fill='none' stroke='%23f1ede3' stroke-opacity='.05'/%3E%3C/svg%3E");
}
@media (min-width: 720px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
svg { display: block; max-width: 100%; }
a { color: var(--forest); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .2s var(--ease); }
a:hover { color: var(--forest-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 200;
  background: var(--on-dark); color: var(--ink); padding: 10px 14px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* Shared type devices */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: .8rem; font-weight: 500;
  letter-spacing: .01em; color: var(--forest);
  margin: 0 0 22px;
}
.kicker::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.on-dark .kicker, .kicker--light { color: var(--brass); }

h1, h2, h3 { font-weight: 400; margin: 0; color: inherit; }
.display {
  font-family: var(--sans);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.h-xl { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.0; letter-spacing: -0.04em; }
.h-lg { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.05; }
.h-md { font-family: var(--sans); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.18; letter-spacing: -0.025em; }
.h-sm { font-family: var(--sans); font-weight: 600; font-size: 1.22rem; line-height: 1.3; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.65; color: var(--text-soft); max-width: 58ch; }
.on-dark .lead { color: var(--on-dark-soft); }
.num {
  font-family: var(--mono); font-size: .86rem; font-weight: 500; letter-spacing: 0; color: var(--brass-ink);
  font-variant-numeric: tabular-nums;
}
.on-dark .num { color: var(--brass); }

/* Dark surfaces */
.on-dark {
  position: relative; isolation: isolate;
  background-color: var(--ink); color: var(--on-dark);
}
.on-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .22; mix-blend-mode: soft-light;
}
.on-dark a { color: var(--on-dark); }
.on-dark--forest { background-color: var(--forest-deep); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(19, 26, 22, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--on-dark-line);
  color: var(--on-dark);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--on-dark); text-decoration: none; }
.brand:hover { color: var(--on-dark); }
.brand svg { width: 30px; height: 36px; flex: none; }
.brand-name { font-family: var(--sans); font-weight: 600; font-size: 1.28rem; letter-spacing: -0.03em; line-height: 1; }
.brand-name small {
  display: inline-block; margin-left: 8px; font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: 0; color: var(--brass); vertical-align: 2px;
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.site-nav a {
  position: relative; display: inline-block; padding: 10px 14px;
  color: var(--on-dark-soft); text-decoration: none;
  font-size: .95rem; font-weight: 500; letter-spacing: -0.005em;
}
.site-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.site-nav a:hover { color: var(--on-dark); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--on-dark); }

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  background: transparent; color: var(--on-dark); border: 1px solid var(--on-dark-line);
  font: 500 .9rem/1 var(--sans); letter-spacing: 0;
  padding: 10px 12px; cursor: pointer; border-radius: 2px;
}
.nav-toggle span[aria-hidden] { position: relative; width: 16px; height: 1px; background: currentColor; }
.nav-toggle span[aria-hidden]::before, .nav-toggle span[aria-hidden]::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1px; background: currentColor; transition: transform .3s var(--ease);
}
.nav-toggle span[aria-hidden]::before { top: -5px; }
.nav-toggle span[aria-hidden]::after { top: 5px; }
.nav-toggle[aria-expanded="true"] span[aria-hidden] { background: transparent; }
.nav-toggle[aria-expanded="true"] span[aria-hidden]::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span[aria-hidden]::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 759px) {
  .brand { gap: 10px; }
  .brand svg { width: 24px; height: 30px; }
  .brand-name { font-size: 1.15rem; }
  /* Without JS: nav wraps below the brand. With JS: collapsible menu. */
  .site-header .wrap { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .site-nav { width: 100%; }
  .site-nav ul { justify-content: space-between; gap: 0; }
  .site-nav a { padding: 8px 4px; font-size: .9rem; }
  .site-nav a::after { left: 4px; right: 4px; }
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; padding: 8px 0 12px; }
  .js .site-nav.is-open ul { flex-direction: column; }
  .js .site-nav.is-open a { display: block; padding: 14px 0; font-size: 1.05rem; border-top: 1px solid var(--on-dark-line); }
  .js .site-nav.is-open a::after { display: none; }
  .js .site-nav.is-open a[aria-current="page"] { color: var(--brass); }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 15px 22px; border-radius: 2px; text-decoration: none;
  font-size: .98rem; font-weight: 500; letter-spacing: -0.005em;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn .arrow { display: inline-block; width: 22px; height: 1px; background: currentColor; position: relative; transition: width .3s var(--ease); }
.btn .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg);
}
.btn:hover .arrow { width: 32px; }
.btn--solid { background: var(--forest); color: #fff; border: 1px solid var(--forest); }
.btn--solid:hover { background: var(--forest-deep); color: #fff; }
.btn--line { color: var(--forest); border: 1px solid var(--forest); }
.btn--line:hover { background: var(--forest); color: #fff; }
.on-dark .btn--solid { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.on-dark .btn--solid:hover { background: #d5bb86; color: var(--ink); }
.on-dark .btn--line { color: var(--on-dark); border-color: rgba(241,237,227,.45); }
.on-dark .btn--line:hover { background: var(--on-dark); color: var(--ink); }

/* ---------- Home hero ---------- */
.hero { overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 520px at 85% 30%, rgba(31, 74, 56, .55), transparent 70%),
    radial-gradient(600px 400px at 0% 100%, rgba(194, 164, 107, .10), transparent 70%),
    var(--grid);
}
.hero .wrap {
  display: grid; gap: 40px; align-items: center;
  padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 8vw, 110px);
}
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.15fr .85fr; gap: 32px; } }
.hero h1 { margin-bottom: 28px; max-width: 15ch; }
.hero .lead { max-width: 50ch; }
.hero h1 .line { display: block; }
.hero-art { position: relative; width: 100%; max-width: 580px; justify-self: center; }
@media (min-width: 960px) { .hero-art { margin-right: -40px; } }
.hero-art svg { width: 100%; height: auto; overflow: visible; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--on-dark-line);
  font-size: .95rem; color: var(--on-dark-soft);
}
.hero-meta b { font-family: var(--mono); font-size: .82rem; color: var(--brass); font-weight: 500; margin-right: 8px; }

/* Hero SVG motion */
.route { stroke-dasharray: 4 7; animation: route-flow 2.2s linear infinite; }
.route-draw { stroke-dasharray: 900; stroke-dashoffset: 900; animation: route-draw 2.6s .4s var(--ease) forwards; }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3s var(--ease) infinite; }
.pulse--late { animation-delay: 1.5s; }
.rings { transform-box: fill-box; transform-origin: center; animation: spin 140s linear infinite; }
@keyframes route-flow { to { stroke-dashoffset: -22; } }
@keyframes route-draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .65; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Facts band ---------- */
.facts { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.facts dl { margin: 0; display: grid; grid-template-columns: 1fr; }
@media (min-width: 600px) { .facts dl { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .facts dl { grid-template-columns: repeat(4, 1fr); } }
.facts .fact { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 960px) {
  .facts .fact { border-bottom: 0; padding: 36px 28px; border-left: 1px solid var(--line); }
  .facts .fact:first-child { border-left: 0; padding-left: 0; }
}
@media (max-width: 959px) { .facts .fact:last-child { border-bottom: 0; } }
@media (min-width: 600px) and (max-width: 959px) { .facts .fact:nth-last-child(2) { border-bottom: 0; } }
.facts dt { font-family: var(--mono); font-size: .78rem; font-weight: 500; color: var(--text-muted); margin-bottom: 8px; }
.facts dd { margin: 0; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; color: var(--text); }
.facts dd small { display: block; font-family: var(--sans); font-size: .82rem; color: var(--text-muted); margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.split { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .split { grid-template-columns: 5fr 7fr; gap: 72px; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .sticky { position: sticky; top: 112px; align-self: start; }
}
.section-intro .lead { margin-top: 22px; }
.ghost-num {
  font-family: var(--sans); font-weight: 400; letter-spacing: -0.06em; font-size: clamp(6rem, 16vw, 12rem); line-height: .8;
  color: #e7e1d3;
  margin-top: 36px; user-select: none;
}
.on-dark .ghost-num { color: rgba(241,237,227,.07); }

/* Service cards */
.cards { display: grid; gap: 18px; }
.card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  padding: 34px 30px 32px; border-radius: 2px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px;
  background: var(--forest); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(19, 26, 22, .45); border-color: var(--line-strong); }
.card:hover::before { transform: scaleY(1); }
.card-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 14px; }
.card p { color: var(--text-soft); margin: 0; }
.card ul { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.card li { position: relative; padding-left: 20px; color: var(--text-soft); font-size: .97rem; }
.card li::before { content: ""; position: absolute; left: 0; top: .78em; width: 9px; height: 1px; background: var(--brass-ink); }

/* Pull statement */
.statement { text-align: left; }
.statement .wrap { position: relative; }
.statement blockquote { margin: 0; position: relative; z-index: 1; }
.statement p.display { font-size: clamp(1.9rem, 4.6vw, 3.6rem); line-height: 1.08; margin: 0; max-width: 20ch; }
.statement .mark {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  width: min(38vw, 360px); opacity: .9; pointer-events: none;
}
@media (max-width: 759px) { .statement .mark { display: none; } }

/* Japan band */
.japan-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .japan-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.activity-list { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--on-dark-line); }
.activity-list li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--on-dark-line); }
.activity-list h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 4px; }
.activity-list p { margin: 0; color: var(--on-dark-soft); }
.notice {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 30px; padding: 20px 22px;
  border: 1px solid rgba(194,164,107,.5); background: rgba(194,164,107,.07); border-radius: 2px;
}
.notice svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.notice p { margin: 0; color: var(--on-dark-soft); }
.notice strong { color: var(--on-dark); font-weight: 600; }
.paper .notice { border-color: var(--line-strong); background: var(--card); }
.paper .notice p { color: var(--text-soft); }
.paper .notice strong { color: var(--text); }

/* CTA band */
.cta .wrap { display: grid; gap: 28px; align-items: end; }
@media (min-width: 960px) { .cta .wrap { grid-template-columns: 1.4fr 1fr; } .cta .actions { justify-content: flex-end; margin: 0; } }

/* ---------- Inner page header ---------- */
.page-head { overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(700px 380px at 90% 0%, rgba(31,74,56,.6), transparent 70%), var(--grid);
}
.page-head .wrap { position: relative; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(48px, 7vw, 88px); }
.crumbs { font-family: var(--mono); font-size: .8rem; color: var(--on-dark-soft); margin: 0 0 26px; }
.crumbs a { color: var(--on-dark-soft); text-decoration: none; }
.crumbs a:hover { color: var(--on-dark); }
.crumbs span[aria-hidden] { margin: 0 10px; color: var(--brass); }
.page-head h1 { max-width: 16ch; }
.page-head .lead { margin-top: 24px; }
.page-head .big-letter {
  position: absolute; right: calc(var(--gutter) - 10px); bottom: -0.18em; z-index: -1;
  font-family: var(--sans); font-weight: 600; letter-spacing: -0.06em; font-size: clamp(9rem, 24vw, 20rem); line-height: 1;
  color: rgba(241,237,227,.045); user-select: none; pointer-events: none;
}

/* ---------- Company profile ---------- */
.profile {
  margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 2px;
  box-shadow: 0 30px 60px -40px rgba(19,26,22,.35);
}
.profile-row {
  display: grid; grid-template-columns: 1fr; gap: 4px;
  padding: 22px 24px; border-bottom: 1px solid var(--line);
  transition: background-color .3s var(--ease);
}
.profile-row:last-child { border-bottom: 0; }
.profile-row:hover { background: #f7f4ec; }
@media (min-width: 700px) { .profile-row { grid-template-columns: 220px 1fr; gap: 28px; padding: 26px 34px; } }
.profile dt {
  display: flex; gap: 14px; align-items: baseline;
  font-size: .98rem; font-weight: 500; letter-spacing: -0.005em; color: var(--text-muted);
}
.profile dt .num { font-size: .8rem; }
.profile dd { margin: 0; font-size: 1.06rem; color: var(--text); }
.profile dd .strong { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }
.profile dd ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.profile dd li { position: relative; padding-left: 20px; }
.profile dd li::before { content: ""; position: absolute; left: 0; top: .82em; width: 9px; height: 1px; background: var(--brass-ink); }
.profile .note { display: block; font-size: .9rem; color: var(--text-muted); margin-top: 4px; }
.profile-caption { margin: 16px 0 0; font-size: .86rem; color: var(--text-muted); }
.aside-card { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.aside-card p { color: var(--text-soft); }

/* ---------- Business lines ---------- */
.line-rows { border-top: 1px solid var(--line); }
.line-row {
  display: grid; gap: 22px; padding: 48px 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 960px) { .line-row { grid-template-columns: 180px 1fr 1fr; gap: 56px; padding: 64px 0; } }
.line-row .big {
  font-family: var(--sans); font-weight: 400; letter-spacing: -0.06em; font-size: clamp(4rem, 9vw, 6.5rem); line-height: .85; color: var(--forest);
}
.line-row .big { margin: 0; }
.line-row h2 { margin-bottom: 16px; }
.line-row p { color: var(--text-soft); }
.line-row ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.line-row li {
  display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line);
  color: var(--text); transition: padding-left .3s var(--ease), color .3s var(--ease);
}
.line-row li::after { content: ""; flex: none; width: 7px; height: 7px; margin-top: .55em; border-top: 1px solid var(--brass-ink); border-right: 1px solid var(--brass-ink); transform: rotate(45deg); }
.line-row li:hover { padding-left: 8px; color: var(--forest); }

/* ---------- Contact ---------- */
.contact-hero-email {
  display: inline-block; margin-top: 8px;
  font-family: var(--sans); font-weight: 500; letter-spacing: -0.03em; font-size: clamp(1.35rem, 2.4vw, 2.1rem); line-height: 1.2;
  color: var(--forest); text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.contact-hero-email:hover { background-size: 100% 1px; }
.addr-cards { display: grid; gap: 18px; }
@media (min-width: 700px) { .addr-cards { grid-template-columns: 1fr 1fr; } }
.addr { background: var(--card); border: 1px solid var(--line); padding: 30px 28px; border-radius: 2px; position: relative; }
.addr .tag { padding-right: 40px; font-family: var(--mono); font-size: .8rem; font-weight: 500; color: var(--text-muted); margin-bottom: 16px; display: block; }
.addr address { font-style: normal; font-size: 1.18rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.5; }
.addr .note { display: block; margin-top: 14px; font-size: .9rem; color: var(--text-muted); }
.addr svg { position: absolute; right: 22px; top: 24px; width: 26px; height: 26px; }

/* ---------- Footer ---------- */
.site-footer { padding: 80px 0 36px; }
.site-footer .footer-mark {
  font-family: var(--sans); font-weight: 600; font-size: clamp(3rem, 12.5vw, 10.5rem); line-height: .85; letter-spacing: -0.03em;
  color: rgba(241,237,227,.07); margin: 0 0 56px; user-select: none;
  white-space: nowrap; overflow: hidden;
}
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h2 { font-family: var(--mono); font-size: .8rem; font-weight: 500; color: var(--brass); margin: 0 0 14px; }
.footer-grid p, .footer-grid address { margin: 0; font-style: normal; color: var(--on-dark-soft); font-size: .95rem; line-height: 1.75; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-grid a { color: var(--on-dark-soft); text-decoration: none; font-size: .95rem; }
.footer-grid a:hover { color: var(--on-dark); text-decoration: underline; }
.legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--on-dark-line);
  font-size: .88rem; color: var(--on-dark-soft);
}


/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .1s; }
.js .reveal-d2 { transition-delay: .2s; }
.js .reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .route-draw { stroke-dashoffset: 0; }
}

@media print {
  .site-header, .skip-link, .actions, .hero-art, .statement .mark { display: none; }
  .on-dark { background: #fff; color: #000; }
}

/* Small-screen refinements */
@media (max-width: 959px) {
  .ghost-num { display: none; }
  .line-row { gap: 14px; }
  .line-row .big { font-size: 3.2rem; }
}
@media (max-width: 599px) {
  .page-head .big-letter { display: none; }
}

/* ---------- Language switcher ---------- */
.header-tools { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px; margin: 0;
  font-size: .9rem; font-weight: 500; line-height: 1;
}
.lang-switch a, .lang-switch .is-current { display: inline-block; padding: 9px 8px; border-radius: 2px; text-decoration: none; }
.lang-switch a { color: var(--on-dark-soft); }
.lang-switch a:hover { color: var(--on-dark); background: rgba(241,237,227,.08); }
.lang-switch .is-current { color: var(--on-dark); box-shadow: inset 0 -1px 0 var(--brass); }
.lang-switch .sep { color: rgba(241,237,227,.35); }
.footer-lang { margin-top: 18px; }
.footer-lang .lang-switch { margin-left: -8px; }
@media (min-width: 760px) {
  .site-header .wrap { gap: 28px; }
  .site-nav { margin-left: auto; }
  .header-tools { order: 3; padding-left: 18px; border-left: 1px solid var(--on-dark-line); }
}
@media (max-width: 759px) {
  .header-tools { margin-left: auto; }
  .site-nav { order: 3; }
  .nav-toggle { padding: 10px; }
  .nav-toggle .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 400px) {
  .brand { gap: 8px; }
  .brand-name { font-size: 1.06rem; }
  .brand-name small { margin-left: 5px; font-size: .66rem; }
  .lang-switch { font-size: .84rem; }
  .lang-switch a, .lang-switch .is-current { padding: 9px 5px; }
}

/* ---------- Japanese typography ---------- */
html[lang="ja"] {
  --sans: "Schibsted Grotesk", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", "Noto Sans JP", sans-serif;
  --mono: "IBM Plex Mono", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", "Noto Sans JP", monospace;
}
html[lang="ja"] body { line-height: 1.9; line-break: strict; font-size: 1rem; }
html[lang="ja"] .lead { line-height: 1.9; }
html[lang="ja"] .display,
html[lang="ja"] .h-md,
html[lang="ja"] .h-sm,
html[lang="ja"] .activity-list h3 {
  letter-spacing: .02em; font-feature-settings: "palt";
  word-break: keep-all; overflow-wrap: anywhere; line-break: strict;
}
html[lang="ja"] .display { font-weight: 600; line-height: 1.38; }
html[lang="ja"] .h-xl { font-size: clamp(1.85rem, 3.7vw, 3.15rem); line-height: 1.38; }
html[lang="ja"] .h-lg { font-size: clamp(1.55rem, 3vw, 2.4rem); line-height: 1.42; }
html[lang="ja"] .h-md { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.5; font-weight: 600; }
html[lang="ja"] .h-sm { font-size: 1.1rem; line-height: 1.5; }
html[lang="ja"] .hero h1 { max-width: 14em; }
html[lang="ja"] .statement p.display { font-size: clamp(1.4rem, 3vw, 2.3rem); max-width: 16em; line-height: 1.5; }
html[lang="ja"] .page-head h1 { max-width: none; }
html[lang="ja"] .facts dd { letter-spacing: .01em; font-size: 1.12rem; line-height: 1.5; }
html[lang="ja"] .profile dd, html[lang="ja"] .card p, html[lang="ja"] .line-row p { line-height: 1.85; }
html[lang="ja"] .contact-hero-email, html[lang="ja"] .brand-name, html[lang="ja"] .footer-mark { letter-spacing: -0.03em; }
html[lang="ja"] .kicker, html[lang="ja"] .crumbs { letter-spacing: .02em; }
html[lang="ja"] .btn { letter-spacing: .03em; }

/* ---------- 404 ---------- */
.notfound .wrap { padding-top: clamp(64px, 10vw, 120px); padding-bottom: clamp(64px, 10vw, 120px); }
.notfound-grid { display: grid; gap: 48px; margin-top: 40px; }
@media (min-width: 860px) { .notfound-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.notfound-grid section { border-top: 1px solid var(--on-dark-line); padding-top: 28px; }
.notfound-grid [lang="ja"] { font-family: "Schibsted Grotesk", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", "Noto Sans JP", sans-serif; line-height: 1.9; }
.notfound { min-height: calc(100vh - 73px); }
.notfound-grid [lang="ja"] .display {
  font-weight: 600; letter-spacing: .02em; line-height: 1.4; font-feature-settings: "palt";
  word-break: keep-all; overflow-wrap: anywhere; font-size: clamp(1.55rem, 3vw, 2.4rem);
}

/* Japanese phrase spans: line breaks fall only between phrases */
.ph { display: inline-block; }
html[lang="ja"] .notice strong { display: block; margin-bottom: 4px; }
