/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --ink: #17251d;
  --ink-soft: #4b594e;
  --forest: #1d372c;
  --forest-deep: #142720;
  --paper: #f3efe3;
  --paper-dim: #e9e2cd;
  --paper-line: #d8cfb2;
  --white: #fffdf8;
  --gold: #a3813f;
  --gold-soft: #cdae74;
  --line-on-forest: rgba(243, 239, 227, 0.18);
  --text-on-forest: #f3efe3;
  --shadow-color: 30 40% 12%;

  --font-serif: "Shippori Mincho", serif;
  --font-sans: "Noto Sans JP", sans-serif;

  --wrap: 1240px;
  --radius: 2px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

/* Japanese line-break discipline */
body, h1, h2, h3, p, dt, dd, label, a, button, span {
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: anywhere;
}
h1, h2, h3, .hero-sub, .section-lead {
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: pretty;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: var(--text-on-forest);
  padding: 0.75em 1.2em;
  z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* Reveal-on-scroll: whole block rises together */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: transform, opacity;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

.hover-lift {
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.hover-lift:hover, .hover-lift:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 26px 48px -20px hsl(var(--shadow-color) / 0.45);
}

/* ==========================================================================
   Eyebrow / rules
   ========================================================================== */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin: 0 0 1.1rem;
}
.eyebrow-rule {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex: none;
}
.eyebrow-rule-light { background: var(--gold-soft); }
.eyebrow-tag {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink-soft);
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  line-height: 1.5;
  margin: 0 0 1.5rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--paper-line);
}
/* A separate layer carries the blur so it never becomes a containing
   block for the fixed mobile nav (backdrop-filter on an ancestor of
   position:fixed elements traps them inside its own box). */
.site-header-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(10px);
}
.header-inner {
  position: relative;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0.9rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}
.brand-mark { width: 30px; height: 30px; color: var(--gold); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.brand-line1 { font-size: 0.82rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.brand-line2 { font-size: 0.72rem; color: var(--ink-soft); white-space: nowrap; }

.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); font-size: 0.92rem; }
.primary-nav a { padding: 0.4rem 0.1rem; position: relative; }
.primary-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.primary-nav a:not(.nav-cta):hover::after,
.primary-nav a:not(.nav-cta):focus-visible::after { transform: scaleX(1); }
.nav-cta {
  background: var(--forest);
  color: var(--text-on-forest);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav-cta:hover { background: var(--forest-deep); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  flex: none;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); margin-inline: auto; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Placeholder photo blocks
   ========================================================================== */
.ph {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 220px;
}
.ph-caption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.7rem;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  background: rgba(20, 30, 24, 0.35);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}
.ph-city-day {
  background:
    linear-gradient(180deg, rgba(20, 39, 32, 0) 45%, rgba(15, 28, 23, 0.5) 100%),
    url("/images/ph-city-day.jpg") center / cover no-repeat;
}
.ph-book-desk { background: url("/images/ph-book-desk.jpg") center / cover no-repeat; }
.ph-factory { background: url("/images/ph-factory.jpg") center / cover no-repeat; min-height: 280px; }
.ph-city-mono {
  background:
    linear-gradient(0deg, rgba(15, 22, 18, 0.55) 0%, rgba(15, 22, 18, 0) 35%),
    url("/images/ph-city-mono.jpg") center / cover no-repeat;
}
.ph-contract { background: url("/images/ph-contract.jpg") center / cover no-repeat; }
.ph-office-view {
  background:
    linear-gradient(90deg, rgba(15, 22, 18, 0.35) 0%, rgba(15, 22, 18, 0) 22%),
    url("/images/ph-office-view.jpg") center / cover no-repeat;
}
.ph-note { background: url("/images/ph-note.jpg") center / cover no-repeat; min-height: 130px; }
.ph-docs { background: url("/images/ph-docs.jpg") center / cover no-repeat; min-height: 130px; }
.ph-estimate { background: url("/images/ph-estimate.jpg") center / cover no-repeat; min-height: 130px; }
.ph-fieldwork { background: url("/images/ph-fieldwork.jpg") center / cover no-repeat; min-height: 130px; }
.map-embed {
  position: relative;
  align-self: stretch;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-dim);
  box-shadow: 0 0 0 1px var(--paper-line);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-open-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 1.2rem;
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}
.map-open-link:hover, .map-open-link:focus-visible { color: var(--gold); }

.ph-side-label {
  position: absolute; left: 1.2rem; top: 1.2rem; bottom: 1.2rem;
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.08em;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  padding-left: 0.8rem;
}
.philosophy-caption {
  display: flex; align-items: center; gap: 0.9rem;
  color: var(--text-on-forest);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  position: absolute; left: 0; bottom: 0; margin: 1.6rem clamp(1.25rem, 4vw, 2.5rem);
}

/* ==========================================================================
   Typography scale
   ========================================================================== */
.section-headline {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.4;
  margin: 0 0 1rem;
  color: var(--ink);
}
.headline-forest { color: var(--forest); }
.headline-on-forest { color: var(--text-on-forest); max-width: 18ch; }
.section-lead {
  font-size: 1.02rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 2rem;
}
.hard-break { display: inline; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-white { background: var(--white); }
.section-paper { background: var(--paper); }
.section-forest { background: var(--forest); color: var(--text-on-forest); position: relative; padding-bottom: 0; }
.section-forest > .wrap { padding-bottom: clamp(3.5rem, 8vw, 7rem); }
.section-forest .ph { border-radius: 0; min-height: 260px; }

.grid-split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.grid-split.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr); }
.grid-split.reverse > *:first-child { order: 2; }
.grid-split .ph { min-height: 420px; align-self: stretch; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media .ph { position: absolute; inset: 0; border-radius: 0; min-height: 100%; }
.hero-panel {
  background: var(--white);
  max-width: 640px;
  margin: 6rem clamp(1.25rem, 6vw, 6rem);
  padding: clamp(2.2rem, 4vw, 3.2rem);
  box-shadow: 0 40px 80px -30px hsl(var(--shadow-color) / 0.5);
}
.hero-headline {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 1.2rem;
}
.hero-sub { font-size: 1.02rem; color: var(--ink-soft); max-width: 40ch; margin: 0 0 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-bottom: 1.8rem; }
.hero-meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--paper-line);
  padding-top: 1.2rem;
  margin: 0;
}

/* ==========================================================================
   Buttons / links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn .arrow, .btn .arrow-up, .btn .arrow-down { transition: transform 0.35s var(--ease); }
.btn:hover .arrow, .btn:focus-visible .arrow { transform: translateX(4px); }
.btn-primary { background: var(--forest); color: var(--text-on-forest); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--forest-deep); transform: translateY(-3px); box-shadow: 0 18px 32px -16px hsl(var(--shadow-color) / 0.55); }
.btn-outline {
  background: transparent;
  color: var(--text-on-forest);
  border: 1px solid rgba(243, 239, 227, 0.55);
}
.btn-outline:hover, .btn-outline:focus-visible { background: rgba(243, 239, 227, 0.12); transform: translateY(-3px); }
.btn-block { width: 100%; justify-content: center; }
.btn-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--ink);
}
.btn-link:hover .arrow-down, .btn-link:focus-visible .arrow-down { transform: translateY(3px); }
.chip-link {
  align-self: center;
  font-size: 0.85rem;
  border: 1px solid var(--paper-line);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex; gap: 0.4rem; align-items: center;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.chip-link:hover, .chip-link:focus-visible { border-color: var(--gold); background: var(--white); transform: translateY(-2px); }
.chip-link .arrow-down { transition: transform 0.3s var(--ease); }
.chip-link:hover .arrow-down { transform: translateY(3px); }

/* ==========================================================================
   Section 2: consultation
   ========================================================================== */
.headline-consult { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
.grid-consult {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(2rem, 5vw, 4.5rem);
}
.consult-head { grid-column: 1; }
.consult-head .ph { margin-top: 2rem; min-height: 260px; }
.consult-list { grid-column: 2; display: flex; flex-direction: column; }
.consult-note { grid-column: 1 / -1; margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--paper-line); color: var(--ink-soft); font-size: 0.95rem; }

.consult-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--paper-line);
}
.consult-row:last-child { border-bottom: 1px solid var(--paper-line); }
.consult-num { font-family: var(--font-serif); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.consult-body h3 { font-size: 1.12rem; margin: 0 0 0.4rem; color: var(--ink); }
.consult-body p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ==========================================================================
   Feature cols (corporate service)
   ========================================================================== */
.feature-cols {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--paper-line);
}
.feature-col {
  padding: 1.8rem clamp(1rem, 2vw, 2rem) 0;
  border-left: 1px solid var(--paper-line);
}
.feature-col:first-child { border-left: none; padding-left: 0; }
.feature-col h3 {
  font-size: 1.08rem;
  margin: 0 0 0.7rem;
  color: var(--forest);
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.feature-col p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.section-note { grid-column: 1 / -1; margin-top: 2rem; color: var(--ink-soft); font-size: 0.92rem; border-top: 1px solid var(--paper-line); padding-top: 1.4rem; }

/* ==========================================================================
   Philosophy (forest section)
   ========================================================================== */
.section-forest .wrap { position: relative; z-index: 1; }
.steps-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
}
.step-rule { display: block; width: 30px; height: 1px; background: var(--gold-soft); margin-bottom: 1.1rem; }
.step { border-top: 1px solid var(--line-on-forest); padding-top: 1.4rem; }
.step h3 { font-family: var(--font-serif); font-size: 1.25rem; margin: 0 0 0.7rem; }
.step p { margin: 0; color: rgba(243, 239, 227, 0.78); font-size: 0.95rem; }
.section-forest .ph { position: relative; height: clamp(220px, 30vw, 340px); margin-top: 3.5rem; }

/* ==========================================================================
   Icon feature rows
   ========================================================================== */
.icon-feature { display: flex; gap: 1.2rem; padding: 1.4rem 0; border-top: 1px solid var(--paper-line); }
.icon-box {
  flex: none;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper);
  color: var(--gold);
  border: 1px solid var(--paper-line);
}
.icon-box svg { width: 24px; height: 24px; }
.icon-feature h3 { font-size: 1.05rem; margin: 0 0 0.35rem; color: var(--ink); }
.icon-feature p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

.cta-band {
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--forest);
  color: var(--text-on-forest);
  padding: clamp(2rem, 4vw, 2.6rem) clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band p { display: flex; align-items: center; gap: 1rem; margin: 0; font-family: var(--font-serif); font-size: clamp(1.05rem, 2vw, 1.35rem); }

/* ==========================================================================
   Profile
   ========================================================================== */
.profile-card { border-top: 1px solid var(--paper-line); padding-top: 1.6rem; margin-top: 0.5rem; }
.profile-role { font-size: 0.95rem; color: var(--ink-soft); margin: 0 0 0.2rem; }
.profile-name { font-family: var(--font-serif); font-size: 1.6rem; color: var(--ink); margin-left: 0.4rem; }
.profile-cred { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 1.4rem; }
.profile-history { border-top: 1px solid var(--paper-line); padding-top: 1.2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.profile-history > div { display: flex; gap: 1.2rem; font-size: 0.95rem; }
.profile-history dt { font-family: var(--font-serif); color: var(--gold); width: 4.5ch; flex: none; }
.profile-history dd { margin: 0; color: var(--ink-soft); }
.profile-posts { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--paper-line); font-size: 0.88rem; color: var(--ink-soft); }

/* ==========================================================================
   Process (4 steps) + cost band
   ========================================================================== */
.steps-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 2.5vw, 2rem);
  margin-top: 2.8rem;
}
.step-4-num { display: block; font-family: var(--font-serif); color: var(--gold); font-size: 1.6rem; border-bottom: 1px solid var(--paper-line); padding-bottom: 0.6rem; margin-bottom: 0.9rem; }
.step-4 h3 { font-size: 1.02rem; margin: 0 0 0.4rem; color: var(--ink); }
.step-4 p { margin: 0 0 1rem; color: var(--ink-soft); font-size: 0.88rem; }
.step-4 .ph { min-height: 150px; }

.cost-band { background: var(--paper-dim); margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(2.2rem, 4vw, 3rem) 0; }
.cost-band-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 3rem; }
.cost-band h3 { font-family: var(--font-serif); font-size: 1.4rem; margin: 0; flex: 0 0 auto; border-left: 2px solid var(--gold); padding-left: 1rem; }
.cost-band p { flex: 1 1 320px; margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; }
.faq-row { border-top: 1px solid var(--paper-line); padding: 1.6rem 0; }
.faq-row:last-child { border-bottom: 1px solid var(--paper-line); }
.faq-row dt, .faq-row dd { display: flex; gap: 0.9rem; margin: 0; }
.faq-row dt { font-size: 1.02rem; font-weight: 500; color: var(--ink); margin-bottom: 0.6rem; }
.faq-row dd { color: var(--ink-soft); font-size: 0.92rem; }
.qa-mark { font-family: var(--font-serif); color: var(--gold); flex: none; width: 1.3ch; }

/* ==========================================================================
   Office table
   ========================================================================== */
.office-table { display: flex; flex-direction: column; margin-top: 1.5rem; }
.office-table > div { display: grid; grid-template-columns: 8ch 1fr; gap: 1.4rem; padding: 1.2rem 0; border-top: 1px solid var(--paper-line); }
.office-table > div:last-child { border-bottom: 1px solid var(--paper-line); }
.office-table dt { color: var(--ink-soft); font-size: 0.9rem; }
.office-table dd { margin: 0; color: var(--ink); font-size: 0.95rem; }

/* ==========================================================================
   Contact
   ========================================================================== */
.section-contact { position: relative; background: var(--paper-dim); overflow: hidden; }
.contact-media { position: absolute; inset: 0; opacity: 0.16; }
.section-contact .wrap { position: relative; }
.contact-phone { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--paper-line); }
.contact-phone-label { margin: 0 0 0.5rem; color: var(--ink-soft); font-size: 0.88rem; }
.contact-phone-num { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--forest); }
.contact-phone-num svg { width: 22px; height: 22px; color: var(--gold); }
.contact-phone-office { margin: 0.4rem 0 0; color: var(--ink-soft); font-size: 0.9rem; }

.contact-form {
  background: var(--white);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  box-shadow: 0 30px 60px -30px hsl(var(--shadow-color) / 0.4);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label { font-size: 0.9rem; color: var(--ink); }
.req { color: var(--gold); font-size: 0.8rem; margin-left: 0.3rem; }
.opt { color: var(--ink-soft); font-size: 0.8rem; margin-left: 0.3rem; }
.field input, .field textarea {
  border: 1px solid var(--paper-line);
  background: var(--white);
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius);
  color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder { color: #8b8677; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(163, 129, 63, 0.18);
}
.field textarea { resize: vertical; }
.form-note { margin: -0.6rem 0 0; font-size: 0.8rem; color: var(--ink-soft); }
.checkbox-row { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--ink); }
.checkbox-row input { width: 18px; height: 18px; accent-color: var(--forest); }
.form-success {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  color: var(--forest);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--forest); color: var(--text-on-forest); padding: 1.6rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.brand-footer .brand-line1 { color: var(--text-on-forest); }
.brand-footer .brand-line2 { color: rgba(243, 239, 227, 0.7); }
.footer-copy { margin: 0; font-size: 0.82rem; color: rgba(243, 239, 227, 0.7); }
.footer-top { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; transition: transform 0.3s var(--ease); }
.footer-top:hover, .footer-top:focus-visible { transform: translateY(-3px); }

/* ==========================================================================
   Responsive: 1280 / 1024 / 768 / 480
   ========================================================================== */
@media (max-width: 1280px) {
  .hero-panel { max-width: 560px; }
}

@media (max-width: 1024px) {
  .grid-split, .grid-split.reverse { grid-template-columns: 1fr; }
  .grid-split.reverse > *:first-child { order: 0; }
  .grid-split .ph { grid-column: 1; grid-row: auto; min-height: 300px; }
  .split-body { grid-column: 1; }
  .feature-cols { grid-template-columns: 1fr; row-gap: 1.4rem; }
  .feature-col { border-left: none; border-top: 1px solid var(--paper-line); padding-left: 0; padding-top: 1.4rem; }
  .feature-col:first-child { border-top: none; padding-top: 0; }
  .steps-3 { grid-template-columns: 1fr; gap: 1.8rem; }
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-consult { grid-template-columns: 1fr; }
  .consult-head, .consult-list, .consult-note { grid-column: 1; }
  .consult-head .ph { display: none; }
  .hero-panel { margin: 5rem clamp(1.25rem, 5vw, 3rem); }
}

@media (max-width: 768px) {
  .primary-nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem clamp(1.25rem, 6vw, 2.5rem);
    gap: 1.6rem;
    font-size: 1.1rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .primary-nav.is-open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .nav-cta { margin-top: 0.5rem; }

  .hero { min-height: auto; padding-top: 88px; flex-direction: column; align-items: stretch; }
  .hero-media { position: relative; inset: auto; width: 100%; height: 46vh; min-height: 260px; }
  .hero-media .ph { position: absolute; }
  .hero-panel { margin: -3rem clamp(1.1rem, 6vw, 2rem) 2.5rem; position: relative; }

  .form-row.two-col { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cost-band-inner { flex-direction: column; align-items: flex-start; }
  .steps-4 { grid-template-columns: 1fr; }
  .office-table > div { grid-template-columns: 1fr; gap: 0.4rem; }
  .ph-side-label { display: none; }
  .map-embed { min-height: 320px; }
}

@media (max-width: 480px) {
  .hero-panel { padding: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .consult-row { grid-template-columns: auto 1fr; row-gap: 0.8rem; }
  .chip-link { grid-column: 1 / -1; justify-self: start; }
  .brand-line1, .brand-line2 { white-space: normal; }
}
