/* ==========================================================================
   ハルカゼ翻訳事務所 — 共通スタイル
   外部フォント・外部 CDN は一切使わない（自己完結）
   ========================================================================== */

:root {
  --ink: #1a1f26;
  --ink-soft: #3d4652;
  --muted: #6f7783;
  --navy: #16232f;
  --navy-2: #22364a;
  --brass: #9a7b4f;
  --brass-soft: #c3a878;
  --line: #e3e0da;
  --paper: #ffffff;
  --bg: #fbfaf7;
  --bg-warm: #f5f2ec;
  --wrap: 1080px;
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(22, 35, 47, .04), 0 2px 8px rgba(22, 35, 47, .04);
  --shadow-md: 0 8px 24px rgba(22, 35, 47, .08);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP",
    "Songti SC", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Yu Gothic", "YuGothic", Meiryo, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brass); }

p { margin: 0 0 1.3em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.55; letter-spacing: .06em; }

/* ---------- layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}
.narrow { max-width: 780px; }

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--warm { background: var(--bg-warm); }
.section--navy {
  background: var(--navy);
  color: #e8e4dc;
}
.section--navy .section-kicker { color: var(--brass-soft); }
.section--navy .section-title { color: #fff; border-color: rgba(255,255,255,.14); }

/* ---------- eyebrow ---------- */
.eyebrow {
  margin: 0 0 22px;
  font-size: 10.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ---------- section title ---------- */
.section-head { margin-bottom: 48px; }
.section-kicker {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 10px;
}
.section-title {
  font-size: 27px;
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
}
.section-title--plain { border-bottom: 0; padding-bottom: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, .88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(22, 35, 47, .02), 0 4px 16px rgba(22, 35, 47, .05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 84px;
}

.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--navy);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--navy);
  flex: 0 0 auto;
  transition: background .25s var(--ease), color .25s var(--ease), transform .4s var(--ease);
}
.brand:hover .brand-mark {
  background: var(--navy);
  color: #fff;
  transform: rotate(-6deg);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: .08em;
}
.brand-text small {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.site-nav { display: flex; align-items: center; gap: 26px; font-size: 13.5px; }
.site-nav a { position: relative; color: var(--ink-soft); padding: 4px 0; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.site-nav a[aria-current="page"] { color: var(--navy); }

.nav-cta {
  border: 1px solid var(--navy);
  padding: 10px 20px;
  border-radius: var(--radius);
  color: var(--navy);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}

/* hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.5px;
  background: var(--navy);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21.5px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: 13.5px;
  letter-spacing: .1em;
  transition: transform .3s var(--ease), background .3s var(--ease),
              color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(22, 35, 47, .18);
}
.btn-primary:hover {
  background: var(--navy-2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(22, 35, 47, .22);
}

.btn-ghost { border: 1px solid rgba(22, 35, 47, .28); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 88px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(170deg, #fdfcfa 0%, #f7f4ee 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .5;
  animation: drift 22s var(--ease) infinite alternate;
}
.hero-bg .b1 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(154, 123, 79, .22), transparent 68%);
  top: -160px; right: -80px;
}
.hero-bg .b2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(22, 35, 47, .14), transparent 70%);
  bottom: -180px; left: -100px;
  animation-delay: -8s;
}
.hero-bg .b3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(195, 168, 120, .2), transparent 70%);
  top: 40%; left: 42%;
  animation-delay: -14s;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-28px, 24px, 0) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.hero .eyebrow {
  margin: 0 0 22px;
  font-size: 10.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brass);
}

.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.5;
  letter-spacing: .08em;
  color: var(--navy);
}
.hero h1 .line { display: block; }

.hero .lead {
  max-width: 560px;
  font-size: 15.5px;
  color: var(--ink-soft);
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0 0;
  padding: 0;
}
.hero-meta li {
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 5px 14px;
  background: rgba(255,255,255,.6);
}

/* hero side card */
.hero-card {
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(6px);
}
.hero-card-label {
  margin: 0 0 10px;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-card-status {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: 15.5px;
  color: var(--navy);
  line-height: 1.65;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4e8d63;
  margin-top: 10px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 0 rgba(78, 141, 99, .55);
  animation: pulse 2.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(78, 141, 99, .5); }
  70%  { box-shadow: 0 0 0 9px rgba(78, 141, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(78, 141, 99, 0); }
}

.hero-facts { margin: 0; border-top: 1px solid var(--line); }
.hero-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.hero-facts dt { color: var(--muted); margin: 0; }
.hero-facts dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- page head ---------- */
.page-head {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(170deg, #fdfcfa, #f7f4ee);
  position: relative;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 123, 79, .14), transparent 70%);
  filter: blur(40px);
}
.page-head h1 {
  position: relative;
  margin: 0 0 14px;
  font-size: clamp(25px, 3vw, 33px);
  color: var(--navy);
  letter-spacing: .08em;
}
.page-head .lead { position: relative; max-width: 620px; margin: 0; color: var(--ink-soft); }

/* ---------- cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 22px;
}
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brass), var(--brass-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(154, 123, 79, .35);
}
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: var(--brass);
  transition: transform .5s var(--ease);
}
.card:hover .card-icon { transform: translateY(-2px) scale(1.05); }

.card h3 {
  margin: 0 0 12px;
  font-size: 17px;
  color: var(--navy);
}
.card p { margin: 0; font-size: 13.8px; line-height: 1.9; color: var(--ink-soft); }

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--navy);
  padding: 34px 24px;
  text-align: center;
  transition: background .4s var(--ease);
}
.stat:hover { background: var(--navy-2); }
.stat-value {
  display: block;
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.2;
  color: #fff;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.stat-value .unit { font-size: 15px; margin-left: 4px; color: var(--brass-soft); }
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  letter-spacing: .16em;
  color: rgba(232, 228, 220, .7);
}

/* ---------- news ---------- */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li {
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), padding-left .3s var(--ease);
}
.news-list li:first-child { border-top: 1px solid var(--line); }
.news-list a, .news-list li > div {
  display: flex;
  align-items: baseline;
  gap: 26px;
  padding: 20px 8px;
  font-size: 14px;
  color: var(--ink-soft);
}
.news-list li:hover { background: rgba(154, 123, 79, .05); padding-left: 4px; }
.news-list time {
  flex: 0 0 104px;
  color: var(--brass);
  font-size: 12.5px;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}
.news-list .tag {
  flex: 0 0 auto;
  font-size: 10.5px;
  letter-spacing: .1em;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2px 8px;
  color: var(--muted);
  background: #fff;
}

/* ---------- service blocks ---------- */
.service-block {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 28px;
}
.service-block:first-child { padding-top: 0; }
.service-block:last-child { border-bottom: 0; padding-bottom: 0; }
.service-block .card-icon { width: 44px; height: 44px; margin: 4px 0 0; }
.service-block h2 {
  margin: 0 0 16px;
  font-size: 20px;
  color: var(--navy);
}
.service-block p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- tables ---------- */
table { width: 100%; border-collapse: collapse; font-size: 14px; }

.info-table th, .info-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info-table tr { transition: background .3s var(--ease); }
.info-table tr:hover { background: rgba(154, 123, 79, .04); }
.info-table th {
  width: 28%;
  font-weight: 500;
  font-family: var(--serif);
  color: var(--navy);
  white-space: nowrap;
}

.price-table, .works-table { font-size: 14px; }
.price-table th, .price-table td,
.works-table th, .works-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.price-table thead th, .works-table thead th {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  background: transparent;
}
.price-table tbody tr, .works-table tbody tr { transition: background .3s var(--ease); }
.price-table tbody tr:hover, .works-table tbody tr:hover { background: rgba(154, 123, 79, .05); }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; }
.works-table { font-size: 13.5px; }

/* ---------- timeline / steps ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; --tl-bg: var(--bg); }
.timeline::before {
  content: "";
  position: absolute;
  left: 92px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line);
}
.timeline li {
  display: flex;
  gap: 26px;
  padding: 14px 0;
  font-size: 14px;
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 88px;
  top: 24px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tl-bg);
  border: 1px solid var(--brass);
  transition: background .3s var(--ease);
}
.section--warm .timeline { --tl-bg: var(--bg-warm); }
.timeline li:hover::before { background: var(--brass); }
.tl-year {
  flex: 0 0 72px;
  color: var(--brass);
  font-size: 13px;
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 30px 62px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--brass);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--brass);
  background: var(--bg);
  transition: background .3s var(--ease), color .3s var(--ease);
  z-index: 1;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}
.steps li:last-child::after { display: none; }
.steps li:hover::before { background: var(--brass); color: #fff; }
.steps strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15.5px;
  color: var(--navy);
  margin-bottom: 3px;
  letter-spacing: .06em;
}
.steps span { font-size: 14px; color: var(--ink-soft); }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-bottom: 16px;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.contact-card h2 {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--sans);
  font-weight: 400;
}
.contact-main {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 12px;
  word-break: break-all;
  letter-spacing: .03em;
}
.contact-main a { border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.contact-main a:hover { border-bottom-color: var(--brass); }
.contact-card p:last-child { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.85; }

/* form */
.form { margin-top: 8px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.field .req {
  font-size: 10px;
  color: var(--brass);
  border: 1px solid var(--brass);
  border-radius: 2px;
  padding: 1px 5px;
  margin-left: 8px;
  vertical-align: 1px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.8; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(154, 123, 79, .12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 12px; color: var(--muted); margin: 0 0 22px; }

/* ---------- misc ---------- */
.check-list { margin: 0 0 1.4em; padding-left: 1.3em; font-size: 14.5px; color: var(--ink-soft); }
.check-list li { margin-bottom: 8px; }
.note { font-size: 13px; color: var(--muted); line-height: 1.9; }
.signature {
  text-align: right;
  font-family: var(--serif);
  color: var(--navy);
  margin-top: 36px;
  letter-spacing: .08em;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  letter-spacing: .08em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.text-link:hover { border-color: var(--brass); gap: 12px; }

.quote {
  margin: 0;
  padding: 36px 40px;
  border-left: 2px solid var(--brass);
  background: rgba(255, 255, 255, .6);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 2;
  color: var(--navy);
}
.quote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-style: normal;
  color: var(--muted);
  letter-spacing: .1em;
}

.cta-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(100deg, #f7f4ee, #fbfaf7 60%);
  padding: 64px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 {
  margin: 0 0 8px;
  font-size: 24px;
  color: var(--navy);
}
.cta-inner p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(232, 228, 220, .72);
  padding: 64px 0 28px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: .1em;
  color: #fff;
}
.footer-addr { margin: 0; font-size: 12px; line-height: 1.9; }
.site-footer nav { display: flex; gap: 24px; font-size: 12.5px; flex-wrap: wrap; }
.site-footer nav a { color: rgba(232, 228, 220, .72); }
.site-footer nav a:hover { color: #fff; }
.copyright {
  font-size: 11.5px;
  letter-spacing: .08em;
  padding-top: 24px;
  color: rgba(232, 228, 220, .5);
}

/* ---------- back to top ---------- */
.to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(22, 35, 47, .22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  z-index: 60;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--navy-2); transform: translateY(-2px); }

/* ---------- scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 72px 0 64px; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 22px; }
  .header-inner { min-height: 68px; }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(251, 250, 247, .98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    box-shadow: 0 12px 24px rgba(22, 35, 47, .06);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .site-nav a::after { display: none; }
  .nav-cta {
    margin-top: 14px;
    text-align: center;
    border-bottom: 1px solid var(--navy) !important;
    padding: 12px 20px;
  }

  .news-list a, .news-list li > div { flex-wrap: wrap; gap: 6px 14px; }
  .news-list time { flex: 0 0 auto; }
  .service-block { grid-template-columns: 1fr; gap: 16px; }
  .timeline::before { left: 5px; }
  .timeline li { flex-direction: column; gap: 2px; padding-left: 26px; }
  .timeline li::before { left: 1px; top: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .quote { padding: 26px 24px; font-size: 15.5px; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: 27px; }
  .stat-value { font-size: 32px; }
  .works-table th:nth-child(4), .works-table td:nth-child(4) { display: none; }
  .to-top { right: 16px; bottom: 16px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
