/* ==========================================================================
   ReNorm合同会社 コーポレートサイト - ベーススタイル
   ========================================================================== */

:root {
  /* Color — 白・黒・濃いグレーを基調に、差し色は少量のインクレッドのみ */
  --c-bg: #fefdfb;
  --c-bg-soft: #f4f1ea;
  --c-bg-dark: #131210;
  --c-ink: #16140f;
  --c-ink-soft: #57534a;
  --c-ink-faint: #96907f;
  --c-border: #e6e1d5;
  --c-primary: #16140f;
  --c-accent: #96301f;
  --c-accent-soft: #f3e7e0;
  --c-white: #ffffff;

  /* Type */
  --font-base: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Noto Sans JP", "Segoe UI", Roboto, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "YuMincho", "Yu Mincho", "Noto Serif JP", serif;

  /* Layout */
  --container: 1120px;
  --radius: 10px;
  --shadow-sm: 0 2px 10px rgba(18, 21, 28, 0.05);
  --shadow-md: 0 12px 32px rgba(18, 21, 28, 0.08);

  --header-h: 76px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
  overflow-x: hidden;
  width: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.grid-2,
.grid-3,
.grid-4 {
  min-width: 0;
}
.grid-2 > *,
.grid-3 > *,
.grid-4 > * {
  min-width: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: inline-flex;
  color: var(--c-ink);
}

.brand .word {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
}

.brand .word-sub {
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 0.66rem;
  color: var(--c-ink-faint);
  letter-spacing: 0.08em;
  margin-top: 3px;
}

.footer-brand .word-sub { color: rgba(255,255,255,0.4); }

.gnav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gnav a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-ink-soft);
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}

.gnav a:hover,
.gnav a[aria-current="page"] {
  color: var(--c-primary);
  background: var(--c-bg-soft);
}

.gnav .btn { margin-left: 8px; }
.gnav .btn.btn-primary {
  color: var(--c-white);
  background: var(--c-primary);
}
.gnav .btn.btn-primary:hover {
  color: var(--c-white);
  background: #2b2820;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--c-ink);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--c-primary);
  color: var(--c-white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #2b2820; box-shadow: var(--shadow-md); }

.btn-accent {
  background: var(--c-accent);
  color: var(--c-white);
  box-shadow: var(--shadow-sm);
}
.btn-accent:hover { background: #2450e0; box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  border-color: var(--c-border);
  color: var(--c-ink);
}
.btn-ghost:hover { border-color: var(--c-ink); }

.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ---------- Sections / Type ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-soft { background: var(--c-bg-soft); }
.section-dark { background: var(--c-bg-dark); color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.section-lead {
  margin-top: 18px;
  color: var(--c-ink-soft);
  font-size: 1rem;
  max-width: 640px;
  line-height: 1.9;
}

.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Editorial homepage components (index.html)
   文章そのものを主役にするための専用コンポーネント群。
   ========================================================================== */

.ed-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
}

.ed-wide {
  max-width: 920px;
}

/* ---- Hero ---- */
.ed-hero {
  padding: 108px 0 56px;
  background: var(--c-bg);
}
.ed-hero .ed-container { max-width: 1080px; }

.ed-eyebrow {
  display: block;
  font-family: var(--font-base);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--c-ink-faint);
  margin-bottom: 32px;
}

.ed-hero-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.9rem, 9vw, 6.8rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--c-ink);
}

.ed-scroll-cue {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--c-ink-faint);
}
.ed-scroll-cue::after {
  content: "";
  width: 1px;
  height: 34px;
  background: var(--c-border);
}

/* ---- Section rhythm ---- */
.ed-section {
  padding: 76px 0;
  border-top: 1px solid var(--c-border);
}
.ed-section--soft { background: var(--c-bg-soft); }
.ed-section--tight { padding-top: 32px; border-top: none; }

.ed-num {
  display: block;
  font-family: var(--font-base);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--c-accent);
  margin-bottom: 24px;
}

.ed-h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  line-height: 1.42;
  color: var(--c-ink);
  margin-bottom: 40px;
  max-width: 820px;
}

/* ---- Inner-page title (service page etc.) ---- */
.ed-page-hero {
  padding: 96px 0 8px;
  background: var(--c-bg);
}

.ed-page-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 6.6vw, 4.6rem);
  line-height: 1.32;
  letter-spacing: 0.01em;
  color: var(--c-ink);
  margin: 24px 0 0;
}

/* ---- 領域スコープ（この領域で行うこと） ---- */
.ed-scope {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--c-border);
}
.ed-scope .label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--c-ink-faint);
  margin-bottom: 14px;
}
.ed-scope p {
  font-size: 0.94rem;
  line-height: 2;
  color: var(--c-ink-soft);
}
.ed-section--dark .ed-scope { border-top-color: rgba(255,255,255,0.15); }
.ed-section--dark .ed-scope .label { color: rgba(255,255,255,0.45); }
.ed-section--dark .ed-scope p { color: rgba(255,255,255,0.68); }

/* ---- ケーススタディ（例えば、こんな仕事をしています。） ---- */
.ed-case { margin-top: 56px; }
.ed-case:first-child { margin-top: 0; }
.ed-case h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  color: var(--c-ink);
  margin-bottom: 18px;
}

/* ---- 箇条書き（こんな方と働きたい 等） ---- */
.ed-body .ed-list {
  margin: 8px 0 24px;
  padding: 0;
  list-style: none;
}
.ed-body .ed-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 16px;
  font-size: 1.1rem;
  line-height: 1.95;
  color: var(--c-ink-soft);
}
.ed-body .ed-list li:last-child { margin-bottom: 0; }
.ed-body .ed-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* ---- Body copy ---- */
.ed-body {
  padding: 0 48px;
}

.ed-body p {
  font-size: 1.1rem;
  line-height: 1.95;
  color: var(--c-ink-soft);
  margin: 0 0 16px;
}
.ed-body p:last-child { margin-bottom: 0; }
.ed-body p strong { color: var(--c-ink); font-weight: 700; }
.ed-section--dark .ed-body p strong { color: #fff; }

.ed-body h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--c-ink);
  margin: 48px 0 18px;
}
.ed-body ul:not(.ed-stack):not(.ed-list) {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.ed-body ul:not(.ed-stack):not(.ed-list) li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--c-ink-soft);
}
.ed-body ul:not(.ed-stack):not(.ed-list) li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* ---- ニュース一覧 ---- */
.ed-news-list { border-top: 1px solid var(--c-border); }
.ed-news-item {
  display: flex;
  align-items: baseline;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--c-border);
  transition: opacity 0.15s;
}
a.ed-news-item:hover { opacity: 0.55; }
.ed-news-item time {
  flex-shrink: 0;
  width: 96px;
  font-size: 0.8rem;
  color: var(--c-ink-faint);
  font-variant-numeric: tabular-nums;
}
.ed-news-tag {
  flex-shrink: 0;
  width: 96px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-accent);
}
.ed-news-item .title {
  flex: 1;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.6;
}

/* ---- 記事ヘッダー ---- */
.ed-article-head {
  padding: 96px 0 8px;
  background: var(--c-bg);
}
.ed-article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--c-ink-faint);
  margin-bottom: 24px;
}
.ed-article-meta .ed-news-tag { width: auto; }
.ed-article-head .ed-page-title {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.5;
  max-width: 880px;
}

@media (max-width: 560px) {
  .ed-news-item { gap: 4px 16px; flex-wrap: wrap; }
  .ed-news-item time { width: auto; order: 1; }
  .ed-news-tag { width: auto; order: 2; }
  .ed-news-item .title { width: 100%; order: 3; }
}

/* 段落の切れ目（話題の転換点）に少しだけ余白を戻す */
.ed-body p.ed-beat { margin-top: 36px; }

/* 導入直後のリード文：本文よりひと回り大きく */
.ed-body p.ed-lede {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  line-height: 1.7;
  color: var(--c-ink);
  margin-bottom: 30px;
}

/* 短い一文を連ねるリズム段落（広告を出すこと。LPを作ること。…） */
.ed-body .ed-stack { margin: 15px 0; }
.ed-body .ed-stack p {
  margin: 0 0 3px;
  line-height: 1.2;
  color: var(--c-ink);
}
.ed-body .ed-stack p:last-child { margin-bottom: 0; }

/* 強調する一文・二文（引用のように見せる） */
.ed-body .ed-emph {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.55;
  color: var(--c-ink);
  margin: 44px 0;
  padding-left: 28px;
  border-left: 3px solid var(--c-accent);
}
.ed-body .ed-emph p {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0 0 6px;
  max-width: none;
}
.ed-body .ed-emph p:last-child { margin-bottom: 0; }

/* ---- Dark manifesto section ---- */
.ed-section--dark {
  background: var(--c-bg-dark);
  color: rgba(255,255,255,0.92);
  border-top: none;
  padding: 104px 0;
}
.ed-section--dark .ed-num { color: #d99a86; }
.ed-section--dark .ed-h2 { color: #fff; max-width: 900px; }
.ed-section--dark .ed-body p { color: rgba(255,255,255,0.68); }
.ed-section--dark .ed-body .ed-stack p { color: #fff; }
.ed-section--dark .ed-body .ed-emph {
  border-left-color: #d99a86;
}
.ed-section--dark .ed-body .ed-emph p { color: #fff; }

.ed-manifesto-lines { margin: 48px 0; }
.ed-manifesto-lines p {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.5;
  color: #fff;
  margin: 0 0 14px;
  max-width: 880px;
}
.ed-manifesto-lines p:last-child { margin-bottom: 0; }
.ed-manifesto-lines .muted { color: rgba(255,255,255,0.5); font-family: var(--font-base); font-size: 0.95rem; max-width: none; }

/* ---- Closing ---- */
.ed-close-line {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 1.4;
  color: var(--c-ink);
  margin: 20px 0 40px;
  max-width: 820px;
}

.ed-note {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
  font-size: 0.85rem;
  line-height: 1.9;
  color: var(--c-ink-faint);
  max-width: 640px;
}
.ed-note strong { color: var(--c-ink-soft); font-weight: 600; }

.ed-close-cta {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .ed-h2 { max-width: 100%; }
}

@media (max-width: 720px) {
  .ed-container { padding: 0 24px; }
  .ed-hero { padding: 80px 0 44px; }
  .ed-hero-title { font-size: clamp(2.3rem, 11vw, 3.4rem); }
  .ed-section { padding: 56px 0; }
  .ed-section--dark { padding: 64px 0; }
  .ed-h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); margin-bottom: 32px; }
  .ed-body { padding: 0 8px; }
  .ed-body p { font-size: 1.02rem; line-height: 1.9; }
  .ed-body .ed-list li { font-size: 1.02rem; line-height: 1.9; }
  .ed-body p.ed-lede { font-size: 1.2rem; }
  .ed-body .ed-emph { padding-left: 18px; font-size: clamp(1.3rem, 6vw, 1.7rem); }
  .ed-manifesto-lines p { font-size: clamp(1.2rem, 6vw, 1.6rem); }
  .ed-close-line { font-size: clamp(1.6rem, 8vw, 2.2rem); }
}

/* ---------- Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: transparent;
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card .icon svg { width: 22px; height: 22px; }

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card p {
  color: var(--c-ink-soft);
  font-size: 0.92rem;
}

.card .more {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-accent);
}

.card ul.check-list { margin-top: 16px; }

/* ---------- Check list ---------- */
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--c-ink-soft);
  line-height: 1.75;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-accent-soft);
  box-shadow: inset 0 0 0 2px var(--c-accent);
}
.check-list li strong { color: var(--c-ink); font-weight: 600; }

/* ---------- Values grid ---------- */
.value-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--c-bg-soft);
}
.value-card .num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.value-card h3 { font-size: 1.02rem; margin-bottom: 10px; }
.value-card p { font-size: 0.88rem; color: var(--c-ink-soft); }

/* ---------- Table (company info) ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--c-border);
}
.info-table tr { border-bottom: 1px solid var(--c-border); }
.info-table th, .info-table td {
  text-align: left;
  padding: 20px 16px;
  vertical-align: top;
  font-size: 0.94rem;
}
.info-table th {
  width: 200px;
  color: var(--c-ink-faint);
  font-weight: 600;
}
.info-table td { color: var(--c-ink); }
.info-table--dense th, .info-table--dense td { padding: 16px; font-size: 0.85rem; line-height: 1.8; }
.info-table--dense th { width: 180px; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 20px;
  padding: 64px;
  background: var(--c-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.72); font-size: 0.95rem; }
.cta-band .btn-primary { background: #fff; color: var(--c-primary); }
.cta-band .btn-primary:hover { background: #eef2ff; }

/* ---------- News list ---------- */
.news-list { border-top: 1px solid var(--c-border); }
.news-item {
  display: flex;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-border);
  transition: opacity 0.15s;
}
a.news-item:hover { opacity: 0.6; }
.news-item time {
  flex-shrink: 0;
  width: 100px;
  font-size: 0.85rem;
  color: var(--c-ink-faint);
  font-variant-numeric: tabular-nums;
}
.news-tag {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--c-accent);
  background: var(--c-accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}
.news-item h3, .news-item .title {
  font-size: 0.95rem;
  font-weight: 500;
  flex: 1;
}

/* ---------- Article ---------- */
.article-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.article-head time { font-size: 0.85rem; color: var(--c-ink-faint); }
.article-head h1 { margin-top: 14px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.6; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body h2 { font-size: 1.25rem; font-weight: 700; margin: 44px 0 16px; }
.article-body h3 { font-size: 1.05rem; font-weight: 700; margin: 28px 0 12px; }
.article-body p { color: var(--c-ink-soft); margin-bottom: 18px; font-size: 0.96rem; }
.article-body ul { margin: 0 0 20px; }
.article-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--c-ink-soft);
  font-size: 0.94rem;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--c-ink-faint);
  padding: 20px 0;
}
.breadcrumb a { color: var(--c-ink-faint); }
.breadcrumb a:hover { color: var(--c-accent); }

/* ---------- Page header (interior pages) ---------- */
.page-header {
  padding: 64px 0 56px;
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-border);
}
.page-header .eyebrow { margin-bottom: 12px; }
.page-header h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 700; }
.page-header p { margin-top: 16px; color: var(--c-ink-soft); max-width: 620px; }

/* ---------- Form ---------- */
.form-grid { display: grid; gap: 22px; max-width: 640px; margin: 0 auto; }
.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.field .req { color: #e0483f; margin-left: 4px; font-size: 0.78rem; }
.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--c-white);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-soft);
}
.field textarea { min-height: 160px; resize: vertical; }
.field-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--c-ink-soft);
}
.field-consent input { width: auto; margin-top: 4px; }
.form-note { font-size: 0.85rem; color: var(--c-ink-faint); }
.form-error {
  font-size: 0.85rem;
  color: #d1453b;
  background: #fdecea;
  border: 1px solid #f6c8c4;
  padding: 14px 18px;
  border-radius: 8px;
}
.honeypot { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Legal / Policy text ---------- */
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-ink);
  margin: 44px 0 14px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--c-ink-soft); font-size: 0.92rem; line-height: 1.9; margin-bottom: 12px; }
.legal-body ul { margin-bottom: 16px; }
.legal-body li { padding-left: 18px; position: relative; }
.legal-body li::before {
  content: "";
  position: absolute; left: 2px; top: 9px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--c-accent);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 88px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.footer-brand .brand { color: #fff; }
.footer-brand .brand .word { font-size: 1.5rem; }

.footer-tagline {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-tagline span {
  font-family: var(--font-base);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.42);
}

.footer-nav h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 22px;
}
.footer-nav ul {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  column-gap: 64px;
  row-gap: 14px;
}
.footer-nav li { margin-bottom: 0; }
.footer-nav a { font-size: 0.94rem; color: rgba(255,255,255,0.78); white-space: nowrap; }
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; }
}

@media (max-width: 720px) {
  .gnav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .gnav.is-open { transform: translateX(0); }
  .gnav a { padding: 16px 14px; font-size: 1rem; border-bottom: 1px solid var(--c-border); border-radius: 0; }
  .gnav .btn { margin: 16px 14px 0; justify-content: center; }
  .nav-toggle { display: block; }

  .section { padding: 64px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; flex-direction: column; align-items: flex-start; }
  .info-table th { width: 120px; }
  .footer-nav ul { column-gap: 36px; }
}
