/* ========================================================================
   Air Prop, Inc. — Shared design system
   ======================================================================== */

:root {
  /* Brand */
  --hue: 218;             /* base blue hue, tweakable */
  --primary: oklch(0.42 0.16 var(--hue));
  --primary-deep: oklch(0.32 0.17 var(--hue));
  --primary-mid: oklch(0.55 0.18 var(--hue));
  --primary-soft: oklch(0.92 0.04 var(--hue));
  --primary-tint: oklch(0.97 0.02 var(--hue));
  --accent: oklch(0.65 0.15 var(--hue));

  /* Neutrals (slightly cool) */
  --ink: oklch(0.20 0.02 250);
  --ink-soft: oklch(0.38 0.02 250);
  --muted: oklch(0.55 0.015 250);
  --line: oklch(0.92 0.01 250);
  --line-soft: oklch(0.96 0.008 250);
  --bg: oklch(0.995 0.003 250);
  --bg-alt: oklch(0.985 0.005 240);

  /* Type */
  --font-en: "Outfit", "Manrope", system-ui, sans-serif;
  --font-jp: "Zen Kaku Gothic New", "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Noto Sans JP", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Density */
  --section-y: clamp(36px, 4.4vw, 62px);
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);

  /* Container width — tweakable */
  --container-w: 1240px;
}

/* Tweak font pairings */
body.font--serif {
  --font-jp: "Shippori Mincho", "Noto Serif JP", serif;
}
body.font--mono-feature .section-head__label,
body.font--mono-feature .page-hero__crumbs,
body.font--mono-feature .news-row__date {
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
}

[data-density="cozy"] {
  --section-y: clamp(28px, 3.4vw, 48px);
}
[data-density="airy"] {
  --section-y: clamp(54px, 6vw, 88px);
}
[data-fontset="serif"] {
  --font-jp: "Shippori Mincho", "Noto Serif JP", serif;
  --font-body: "Noto Serif JP", serif;
}
[data-fontset="mono"] {
  --font-en: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

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

/* ----------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.brand__mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  color: var(--primary);
  display: grid;
  place-items: center;
}
.brand__mark .brand__img,
.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand__mark svg { width: 100%; height: 100%; }
.brand__type {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__type strong {
  font-family: var(--font-en);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: 16px;
  color: var(--primary-deep);
}
.brand__type span {
  font-family: var(--font-jp);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a {
  font-family: var(--font-jp);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 2px;
  letter-spacing: 0.02em;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--primary-deep);
  color: #fff !important;
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 500;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); background: var(--primary); }
.nav-cta::after { display: none; }

/* ----------------------------------------------------------- Hero (bg image variant) */
.hero--bgimg {
  position: relative;
  min-height: clamp(320px, 44vh, 480px);
  padding: clamp(54px, 6vw, 86px) 0 clamp(54px, 6vw, 86px);
  isolation: isolate;
  overflow: hidden;
}
.hero--bgimg .hero__bg {
  position: absolute; inset: 0; z-index: -2;
}
.hero--bgimg .hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: 70% 50%; /* keep plane (right side) visible */
}
.hero--bgimg .hero__bg-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg,
      oklch(0.99 0.01 var(--hue) / 0.95) 0%,
      oklch(0.99 0.01 var(--hue) / 0.82) 28%,
      oklch(0.99 0.01 var(--hue) / 0.45) 52%,
      oklch(0.99 0.01 var(--hue) / 0.10) 70%,
      transparent 90%),
    linear-gradient(180deg, transparent 0%, oklch(0.20 0.05 var(--hue) / 0.08) 100%);
}
.hero--bgimg .hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 56%) 1fr;
  gap: 32px;
  align-items: center;
}
.hero--bgimg .hero__copy {
  max-width: 580px;
}
.hero--bgimg .hero__caption {
  position: absolute;
  left: 0;
  bottom: -22px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  color: oklch(0.40 0.05 var(--hue) / 0.85);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}
.hero--bgimg .hero__caption::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.btn--ghost-on-photo {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
}
@media (max-width: 980px) {
  .hero--bgimg .hero__inner { grid-template-columns: 1fr; }
  .hero--bgimg .hero__bg-scrim {
    background:
      linear-gradient(180deg,
        oklch(0.99 0.01 var(--hue) / 0.92) 0%,
        oklch(0.99 0.01 var(--hue) / 0.75) 50%,
        oklch(0.99 0.01 var(--hue) / 0.30) 90%);
  }
}

/* ----------------------------------------------------------- Hero (legacy) */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(40px, 4.5vw, 72px) 0 clamp(54px, 6vw, 92px);
  background:
    radial-gradient(120% 90% at 90% 0%, oklch(0.96 0.06 var(--hue)) 0%, transparent 60%),
    linear-gradient(180deg, oklch(0.985 0.012 var(--hue)) 0%, var(--bg) 90%);
}
.hero::before {
  /* subtle contrail arc */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(2px 2px at 12% 22%, color-mix(in oklab, var(--primary) 30%, transparent), transparent 60%),
    radial-gradient(2px 2px at 28% 38%, color-mix(in oklab, var(--primary) 18%, transparent), transparent 60%),
    radial-gradient(2px 2px at 44% 14%, color-mix(in oklab, var(--primary) 14%, transparent), transparent 60%);
  z-index: -1;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.hero__title {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--primary-deep);
  margin: 0 0 18px;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(110deg, var(--primary-mid) 0%, var(--primary) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 0 26px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--primary {
  background: var(--primary-deep);
  color: #fff;
  box-shadow: 0 8px 30px -10px color-mix(in oklab, var(--primary-deep) 60%, transparent);
}
.btn--primary:hover { transform: translateY(-2px); background: var(--primary); }
.btn--ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.hero__visual {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(170deg, oklch(0.92 0.05 var(--hue)) 0%, oklch(0.97 0.02 var(--hue)) 100%);
  box-shadow: 0 30px 60px -30px color-mix(in oklab, var(--primary-deep) 40%, transparent);
}
.hero__visual::after {
  /* skyline silhouette overlay */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 32%;
  background:
    linear-gradient(0deg, color-mix(in oklab, var(--primary) 18%, transparent), transparent),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 80' preserveAspectRatio='none'><g fill='%231462D4' fill-opacity='0.18'><rect x='10' y='40' width='14' height='40'/><rect x='30' y='28' width='10' height='52'/><rect x='46' y='34' width='18' height='46'/><rect x='70' y='20' width='12' height='60'/><rect x='88' y='32' width='14' height='48'/><rect x='108' y='14' width='10' height='66'/><rect x='124' y='38' width='16' height='42'/><rect x='148' y='26' width='12' height='54'/><rect x='168' y='30' width='10' height='50'/><rect x='184' y='10' width='14' height='70'/><rect x='208' y='32' width='12' height='48'/><rect x='226' y='22' width='16' height='58'/><rect x='250' y='36' width='10' height='44'/><rect x='266' y='18' width='12' height='62'/><rect x='284' y='34' width='18' height='46'/><rect x='308' y='28' width='10' height='52'/><rect x='324' y='40' width='14' height='40'/><rect x='344' y='24' width='12' height='56'/><rect x='362' y='32' width='16' height='48'/></g></svg>") bottom/cover no-repeat;
  pointer-events: none;
}
.hero__slot {
  width: 100%; height: 100%;
}
.hero__caption {
  position: absolute;
  left: 24px; bottom: 22px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.9;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}

/* small marquee of contrails behind hero */
.contrails {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

/* ----------------------------------------------------------- Sections */
section {
  padding: var(--section-y) 0;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: 48px;
  align-items: start;
  margin-bottom: clamp(26px, 3.4vw, 48px);
}
.section-head__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}
.section-head__title {
  font-family: var(--font-jp);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 6px 0 0;
}
.section-head__title em {
  font-style: normal;
  display: block;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.section-head__lede {
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* About (社名由来) */
.about {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.about__visual {
  position: relative;
  aspect-ratio: 1/1;
  max-height: 460px;
  display: grid;
  place-items: center;
}
.about__rings {
  /* hidden — new about image has its own circular composition */
  display: none;
}
.about__prop {
  width: 100%;
  max-width: 420px;
  color: var(--primary);
  display: grid;
  place-items: center;
}
.about__prop-img {
  width: 100%;
  height: auto;
  display: block;
  /* image already has its own circular composition; no rotation */
}
@keyframes prop { to { transform: rotate(360deg); } }

.about__text h2 {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 48px);
  letter-spacing: -0.02em;
  color: var(--primary-deep);
  margin: 8px 0 20px;
  line-height: 1.05;
}
.about__defs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.about__def {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
}
.about__def b {
  font-family: var(--font-en);
  font-size: 28px;
  color: var(--primary);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}
.about__def span {
  font-family: var(--font-jp);
  font-size: 13px;
  color: var(--ink-soft);
}
.about__quote {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 2;
  color: var(--ink-soft);
  border-left: 2px solid var(--primary);
  padding-left: 20px;
  margin: 0;
}

/* Services */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 24px;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--primary) 30%, var(--line));
  box-shadow: 0 30px 50px -30px color-mix(in oklab, var(--primary-deep) 35%, transparent);
}
.svc-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 16px;
}
.svc-card__icon {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  color: var(--primary);
}
.svc-card h3 {
  font-family: var(--font-jp);
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.4;
}
.svc-card h3 em {
  display: block;
  font-style: normal;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.svc-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.svc-card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--primary);
}
.svc-card__more svg { transition: transform .3s var(--ease); }
.svc-card:hover .svc-card__more svg { transform: translateX(4px); }

/* Strengths */
.strengths {
  background:
    linear-gradient(180deg, var(--primary-tint) 0%, var(--bg) 100%);
}
.str-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.str-card {
  text-align: center;
  padding: 8px 12px;
}
.str-card__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--primary);
  position: relative;
  transition: transform .4s var(--ease);
}
.str-card:hover .str-card__icon { transform: translateY(-4px) rotate(-3deg); }
.str-card__icon svg { width: 44px; height: 44px; }
.str-card__en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.str-card__en::before,
.str-card__en::after {
  content: "";
  width: 16px;
  height: 1px;
  background: color-mix(in oklab, var(--primary) 38%, transparent);
}
.str-card h3 {
  font-family: var(--font-jp);
  font-weight: 600;
  font-size: 16px;
  color: var(--primary-deep);
  margin: 0 0 12px;
  line-height: 1.5;
}
.str-card p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0;
}

/* News */
.news-list {
  display: grid;
  gap: 0;
}
.news-row {
  display: grid;
  grid-template-columns: 140px 110px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 18px 4px;
  border-top: 1px solid var(--line);
  transition: padding .3s var(--ease);
}
.news-row:last-child { border-bottom: 1px solid var(--line); }
.news-row:hover { padding-left: 12px; }
.news-row__date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 0.05em;
}
.news-row__tag {
  font-family: var(--font-jp);
  font-size: 11px;
  font-weight: 500;
  color: var(--primary-deep);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 5px 14px;
  justify-self: start;
}
.news-row__title {
  font-family: var(--font-jp);
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.news-row__arr {
  color: var(--primary);
  transition: transform .3s var(--ease);
}
.news-row:hover .news-row__arr { transform: translateX(6px); }

/* Company snippet */
.company {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}
.co-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.co-item {
  padding: 22px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.co-item:last-child { border-right: none; }
.co-item__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}
.co-item__label-jp {
  font-family: var(--font-jp);
  font-size: 12px;
  color: var(--muted);
}
.co-item__value {
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-top: auto;
}

/* Contact CTA */
.cta {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(150deg, var(--primary-deep) 0%, var(--primary) 70%, var(--primary-mid) 100%);
  color: #fff;
  padding: clamp(54px, 6.6vw, 94px) 0;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 90% 30%, rgba(255,255,255,0.15), transparent),
    radial-gradient(40% 40% at 10% 80%, rgba(255,255,255,0.1), transparent);
  z-index: -1;
}
.cta__plane {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  opacity: 0.18;
  z-index: -1;
}
.cta__inner { text-align: center; }
.cta__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 22px;
}
.cta h2 {
  font-family: var(--font-jp);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.3;
  margin: 0 0 20px;
  letter-spacing: -0.005em;
}
.cta h2 em {
  display: block;
  font-style: normal;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 0.5em;
  opacity: 0.7;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.cta p {
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.85;
  opacity: 0.85;
  max-width: 50ch;
  margin: 0 auto 28px;
}
.btn--inv {
  background: #fff;
  color: var(--primary-deep);
  font-size: 15px;
  padding: 16px 32px;
}
.btn--inv:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(0,0,0,.4); }

/* Footer */
.site-footer {
  background: oklch(0.18 0.02 250);
  color: oklch(0.85 0.01 250);
  padding: 54px 0 24px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.foot-brand .brand__type strong { color: #fff; }
.foot-brand .brand__type span { color: oklch(0.65 0.02 250); }
.foot-brand .brand__mark { color: oklch(0.7 0.13 var(--hue)); filter: brightness(1.05); }
.foot-brand p {
  font-size: 13px;
  line-height: 1.9;
  color: oklch(0.7 0.01 250);
  margin: 22px 0 0;
  max-width: 38ch;
}
.foot-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: oklch(0.7 0.13 var(--hue));
  margin: 0 0 18px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.foot-col a {
  font-family: var(--font-jp);
  font-size: 13.5px;
  color: oklch(0.85 0.01 250);
  transition: color .3s var(--ease);
}
.foot-col a:hover { color: oklch(0.85 0.13 var(--hue)); }

.foot-bottom {
  border-top: 1px solid oklch(0.28 0.02 250);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: oklch(0.55 0.01 250);
  flex-wrap: wrap;
  gap: 12px;
}

/* Page header (inner pages) */
.page-hero {
  position: relative;
  padding: clamp(54px, 6.5vw, 92px) 0 clamp(40px, 4.5vw, 66px);
  background: linear-gradient(180deg, var(--primary-tint) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner { max-width: 760px; }
.page-hero__crumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.page-hero__crumbs a { color: var(--primary); }
.page-hero h1 {
  font-family: var(--font-jp);
  font-weight: 600;
  font-size: clamp(36px, 4.5vw, 56px);
  letter-spacing: -0.005em;
  margin: 0 0 14px;
  color: var(--primary-deep);
  line-height: 1.2;
}
.page-hero h1 em {
  display: block;
  font-style: normal;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 0.42em;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  opacity: 0.85;
}
.page-hero__lede {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 2;
  color: var(--ink-soft);
  margin: 0;
}

/* Generic content */
.prose h2 {
  font-family: var(--font-jp);
  font-weight: 600;
  font-size: 24px;
  color: var(--primary-deep);
  margin: 56px 0 18px;
  border-left: 3px solid var(--primary);
  padding-left: 16px;
  line-height: 1.4;
}
.prose h3 {
  font-family: var(--font-jp);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  margin: 32px 0 12px;
}
.prose p { font-size: 14.5px; line-height: 1.95; color: var(--ink-soft); margin: 0 0 18px; }
.prose ul { padding-left: 22px; margin: 0 0 24px; }
.prose li { font-size: 14.5px; line-height: 2; color: var(--ink-soft); }

/* Detail tables (services / company) */
.detail-list {
  border-top: 1px solid var(--line);
}
.detail-list dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.detail-list dt {
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 13px;
  color: var(--primary-deep);
  padding: 26px 24px 26px 4px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  gap: 10px;
}
.detail-list dt::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
}
.detail-list dd {
  margin: 0;
  padding: 26px 24px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--ink);
}

/* Form */
.form-grid {
  display: grid;
  gap: 22px;
  max-width: 640px;
}
.form-row label {
  display: block;
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink);
}
.form-row label span { color: var(--primary); margin-left: 6px; font-size: 11px; }
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 10%, transparent);
}
.form-row textarea { min-height: 160px; resize: vertical; }
.form-actions { margin-top: 8px; }

/* Tweaks panel */
.tweaks {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 280px;
  background: oklch(0.99 0.005 250);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 30px 60px -20px rgba(15, 30, 60, 0.18);
  z-index: 100;
  font-family: var(--font-jp);
  display: none;
}
.tweaks[data-open="true"] { display: block; }
.tweaks__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.tweaks__head h4 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}
.tweaks__head button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}
.tweaks__group { margin-bottom: 14px; }
.tweaks__group label {
  font-size: 12px;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}
.tweaks__opts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 6px;
}
.tweaks__opts button {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 11.5px;
  color: var(--ink);
  font-family: var(--font-jp);
}
.tweaks__opts button[data-active="true"] {
  background: var(--primary-deep);
  color: #fff;
  border-color: var(--primary-deep);
}
.tweaks__hue {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.tweaks__hue button {
  height: 32px;
  border-radius: 8px;
  border: 2px solid transparent;
}
.tweaks__hue button[data-active="true"] {
  border-color: var(--ink);
}

/* Responsive */
@media (max-width: 980px) {
  .nav { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .svc-grid { grid-template-columns: 1fr; }
  .str-grid { grid-template-columns: repeat(2, 1fr); }
  .news-row { grid-template-columns: 100px 80px 1fr 24px; gap: 16px; font-size: 13px; }
  .co-grid { grid-template-columns: 1fr 1fr; }
  .co-item { border-right: none; border-bottom: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .detail-list dl { grid-template-columns: 1fr; }
  .detail-list dt { padding: 16px 16px 6px; background: transparent; }
  .detail-list dd { padding: 0 16px 20px; }
}
