/* ============================================================
   QUIET QUALITY INC. — SITE STYLES
   Brand Design System v1 (2026)
   静かな重厚感と、一筋のゴールド。
   地(黒 or 紙色)90% / 文字10% / ゴールド1%未満
   ============================================================ */

:root {
  --black: #050607;
  --ink: #11100e;
  --charcoal: #0b0d0f;
  --slate: #16191b;
  --graphite: #1b1f21;
  --cream: #f5efe5;
  --paper: #eee5d7;
  --paper-soft: #f8f2e8;
  --muted: #b9b1a6;
  --dim: rgba(245, 239, 229, 0.68);
  --line: rgba(245, 239, 229, 0.14);
  --line-strong: rgba(245, 239, 229, 0.28);
  --dark-line: rgba(17, 16, 14, 0.14);
  --gold: #c9863b;
  --gold-soft: #e8c88c;
  --gold-deep: #8f612f;
  --gold-grad: linear-gradient(90deg, var(--gold), var(--gold-soft));
  --cta-grad: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 42%),
    linear-gradient(90deg, var(--gold), var(--gold-soft));
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 22px;
  --r-panel: 28px 28px 28px 8px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.35);
  --gold-glow: 0 18px 42px rgba(201, 134, 59, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family:
    "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", "Meiryo", system-ui,
    -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.page {
  width: 100%;
  overflow-x: hidden;
  background: var(--black);
}

/* ============ HEADER ============ */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 var(--gutter);
  background: rgba(5, 6, 7, 0.78);
  border-bottom: 1px solid rgba(245, 239, 229, 0.12);
  backdrop-filter: blur(16px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 6, 7, 0.94);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  border-bottom-color: rgba(232, 200, 140, 0.22);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 40px;
  height: 16px;
  border-radius: 999px;
  background: var(--gold-grad);
  box-shadow: 0 0 26px rgba(201, 134, 59, 0.35);
}

.brand-name {
  color: var(--cream);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  color: rgba(245, 239, 229, 0.62);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.main-nav a {
  white-space: nowrap;
}

.main-nav a:not(.nav-cta) {
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}

.main-nav a:not(.nav-cta):hover {
  color: var(--cream);
}

.main-nav a[aria-current="page"] {
  color: var(--cream);
}

.main-nav a:not(.nav-cta):hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--black);
  background: var(--cta-grad);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 10px 26px rgba(201, 134, 59, 0.22);
  font-family:
    "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 14px 30px rgba(201, 134, 59, 0.32);
}

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(245, 239, 229, 0.06);
  color: var(--cream);
}

.mobile-menu-toggle span,
.mobile-menu-toggle::before,
.mobile-menu-toggle::after {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  isolation: isolate;
  background: var(--black);
}

.hero.compact {
  min-height: 560px;
}

.motion-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: -2;
  pointer-events: none;
  opacity: 0.5;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: var(--hero-image, url("../images/hero-tunnel.jpg"));
  background-size: cover;
  background-position: 62% center;
  opacity: 0.5;
  filter: grayscale(100%) contrast(1.08);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 78% 24%, rgba(201, 134, 59, 0.16), transparent 26%),
    linear-gradient(90deg, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.88) 44%, rgba(5, 6, 7, 0.45) 78%, rgba(5, 6, 7, 0.85) 100%),
    linear-gradient(180deg, transparent 60%, var(--black) 100%);
}

.hero.compact::after {
  background:
    radial-gradient(circle at 82% 16%, rgba(201, 134, 59, 0.14), transparent 26%),
    linear-gradient(90deg, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.88) 48%, rgba(5, 6, 7, 0.55) 100%),
    linear-gradient(180deg, transparent 60%, var(--black) 100%);
}

.hero-inner,
.section-inner {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.hero-inner {
  min-height: 780px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.62fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding: 130px 0 72px;
}

.hero.compact .hero-inner {
  min-height: 560px;
  grid-template-columns: 1fr;
  padding: 140px 0 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  color: rgba(245, 239, 229, 0.72);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.eyebrow::before {
  content: "";
  width: 52px;
  height: 2px;
  border-radius: 999px;
  background: var(--gold-grad);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
  line-break: strict;
  overflow-wrap: normal;
  word-break: normal;
  font-feature-settings: "palt" 1;
}

h1 {
  margin: 0;
  max-width: 900px;
  color: var(--cream);
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.compact h1 {
  font-size: clamp(38px, 4.8vw, 68px);
  line-height: 1.18;
}

.hero-copy {
  margin: 30px 0 0;
  max-width: 640px;
  color: rgba(245, 239, 229, 0.82);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.95;
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: normal;
  font-feature-settings: "palt" 1;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

/* ============ BUTTONS ============ */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  min-width: 0;
  max-width: 100%;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  white-space: normal;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.2s ease;
}

.button::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::after {
  transform: translate(2px, -2px) rotate(45deg);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.button-primary {
  color: var(--black);
  background: var(--cta-grad);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    var(--gold-glow);
}

.button-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 18px 44px rgba(201, 134, 59, 0.3);
}

.button-secondary {
  color: var(--cream);
  border-color: rgba(245, 239, 229, 0.28);
  background: rgba(245, 239, 229, 0.055);
}

.button-secondary:hover {
  border-color: var(--gold);
  background: rgba(201, 134, 59, 0.1);
}

.paper-band .button-secondary {
  color: var(--ink);
  border-color: rgba(17, 16, 14, 0.3);
  background: transparent;
}

.paper-band .button-secondary:hover {
  border-color: var(--gold-deep);
  background: rgba(17, 16, 14, 0.06);
  color: var(--ink);
}

.paper-band .button-primary {
  color: var(--cream);
  background: var(--ink);
  box-shadow: 0 16px 36px rgba(17, 16, 14, 0.24);
}

.paper-band .button-primary::after {
  border-color: var(--gold-soft);
}

/* ============ HERO STATS ============ */

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(640px, 100%);
  margin-top: 52px;
}

.stat,
.metric-card {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: 16px;
  border: 1px solid rgba(245, 239, 229, 0.13);
  background: linear-gradient(180deg, rgba(245, 239, 229, 0.06), rgba(245, 239, 229, 0.02));
}

.stat::before,
.metric-card::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  width: 42px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: var(--gold);
}

.stat strong,
.metric-card strong {
  display: block;
  color: var(--cream);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.05;
  font-feature-settings: "palt" 1;
}

.stat span,
.metric-card span {
  display: block;
  margin-top: 8px;
  color: rgba(245, 239, 229, 0.6);
  font-size: 11.5px;
  line-height: 1.6;
  font-weight: 700;
}

/* ============ HERO CONSULT CARD (CV) ============ */

.consult-card {
  position: relative;
  align-self: center;
  padding: 32px 30px 30px;
  border-radius: var(--r-panel);
  border: 1px solid rgba(232, 200, 140, 0.34);
  background:
    linear-gradient(180deg, rgba(245, 239, 229, 0.08), rgba(245, 239, 229, 0.02)),
    rgba(17, 21, 23, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}

.consult-card-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--gold-grad);
  color: var(--black);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.consult-card .panel-kicker {
  margin: 0 0 6px;
  color: var(--gold-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.consult-card h2 {
  margin: 0;
  max-width: none;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--cream);
}

.consult-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(245, 239, 229, 0.14);
}

.consult-price strong {
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
  color: var(--cream);
  white-space: nowrap;
  font-feature-settings: "palt" 1;
}

.consult-price strong span {
  font-size: 17px;
  font-weight: 700;
}

.consult-price small {
  font-size: 12px;
  font-weight: 700;
  color: rgba(245, 239, 229, 0.6);
}

.consult-card ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.consult-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.7;
  font-weight: 600;
  color: rgba(245, 239, 229, 0.85);
}

.consult-card li::before {
  content: "";
  flex: none;
  margin-top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
}

.consult-card .button {
  width: 100%;
  margin-top: 22px;
}

.consult-note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(245, 239, 229, 0.55);
}

/* legacy hero panel (subpages) */

.hero-panel,
.glass-panel {
  position: relative;
  padding: 32px 30px;
  border-radius: var(--r-panel);
  border: 1px solid rgba(232, 200, 140, 0.28);
  background:
    linear-gradient(180deg, rgba(245, 239, 229, 0.075), rgba(245, 239, 229, 0.025)),
    rgba(17, 21, 23, 0.66);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}

.panel-kicker {
  margin: 0 0 24px;
  color: var(--gold-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.layer-stack {
  position: relative;
  display: grid;
  gap: 14px;
}

.layer {
  position: relative;
  padding: 16px 18px 16px 22px;
  border-radius: 16px 16px 16px 5px;
  border: 1px solid rgba(245, 239, 229, 0.16);
  background: rgba(5, 6, 7, 0.42);
}

.layer:nth-child(2) {
  transform: translateX(16px);
  border-color: rgba(232, 200, 140, 0.58);
  background: rgba(201, 134, 59, 0.1);
}

.layer:nth-child(3) {
  transform: translateX(32px);
}

.layer b {
  display: block;
  color: var(--gold-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
}

.layer span {
  display: block;
  margin-top: 6px;
  color: rgba(245, 239, 229, 0.92);
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.6;
}

.scroll-note {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  writing-mode: vertical-rl;
  color: rgba(245, 239, 229, 0.44);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

/* ============ SECTIONS / BANDS ============ */

section {
  position: relative;
}

.section-pad {
  padding: clamp(72px, 8vw, 110px) 0;
}

.dark-band {
  background: var(--charcoal);
  border-top: 1px solid rgba(245, 239, 229, 0.08);
  color: var(--cream);
}

.graphite-band {
  background: var(--slate);
  color: var(--cream);
}

.paper-band {
  background: var(--paper);
  color: var(--ink);
}

.paper-band + .paper-band {
  border-top: 1px solid rgba(17, 16, 14, 0.12);
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(40px, 4vw, 60px);
}

.section-label {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-soft);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.paper-band .section-label {
  color: var(--gold-deep);
}

h2 {
  margin: 0;
  max-width: 960px;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: 0.005em;
}

h3 {
  font-weight: 800;
}

.lead {
  margin: 0;
  color: rgba(245, 239, 229, 0.68);
  font-size: 15px;
  line-height: 2;
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: normal;
}

.paper-band .lead {
  color: rgba(17, 16, 14, 0.7);
}

/* ============ FAULT / LINE LISTS ============ */

.fault-list,
.line-list {
  border-top: 1px solid var(--line);
}

.paper-band .fault-list,
.paper-band .line-list {
  border-color: var(--dark-line);
}

.fault-row,
.line-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.paper-band .fault-row,
.paper-band .line-row {
  border-bottom-color: var(--dark-line);
}

.fault-row small,
.line-row small {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.paper-band .fault-row small,
.paper-band .line-row small {
  color: var(--gold-deep);
}

.fault-row strong,
.line-row strong {
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.6;
  font-weight: 800;
  font-feature-settings: "palt" 1;
}

.fault-row span,
.line-row span {
  color: rgba(245, 239, 229, 0.62);
  font-size: 14px;
  line-height: 1.9;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.paper-band .fault-row span,
.paper-band .line-row span {
  color: rgba(17, 16, 14, 0.64);
}

/* ============ CONCEPT / TWO-COL ============ */

.concept-grid,
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.concept-copy p,
.body-copy p {
  margin: 24px 0 0;
  font-size: 15px;
  line-height: 2;
  font-weight: 600;
  color: rgba(17, 16, 14, 0.72);
  overflow-wrap: anywhere;
}

.dark-band .body-copy p,
.graphite-band .body-copy p {
  color: rgba(245, 239, 229, 0.72);
}

.image-panel,
.concept-visual {
  position: relative;
  min-height: 480px;
  border-radius: var(--r-panel);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 6, 7, 0.02), rgba(5, 6, 7, 0.4)),
    var(--panel-image, url("../images/oculus-architecture.jpg"));
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(17, 16, 14, 0.16);
  box-shadow: 0 24px 70px rgba(17, 16, 14, 0.16);
  filter: grayscale(100%) contrast(1.05);
}

/* ============ CARD GRIDS ============ */

.pillars,
.card-grid,
.service-grid,
.timeline,
.column-list {
  display: grid;
  gap: clamp(14px, 1.6vw, 20px);
}

.pillars {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.column-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pillar,
.content-card,
.service-card,
.phase,
.column-item {
  position: relative;
  min-height: 200px;
  padding: 26px 24px;
  border-radius: var(--r-md);
  border: 1px solid rgba(245, 239, 229, 0.13);
  background: rgba(245, 239, 229, 0.035);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.graphite-band .pillar,
.graphite-band .content-card,
.graphite-band .column-item,
.graphite-band .phase {
  background: var(--graphite);
  border-color: rgba(245, 239, 229, 0.14);
}

.paper-band .pillar,
.paper-band .content-card,
.paper-band .phase,
.paper-band .column-item {
  border-color: var(--dark-line);
  background: var(--paper-soft);
  color: var(--ink);
}

.pillar:hover,
.content-card:hover,
.service-card:hover,
.column-item:hover,
.phase:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.2);
  border-color: rgba(201, 134, 59, 0.55);
}

.paper-band .pillar:hover,
.paper-band .content-card:hover,
.paper-band .phase:hover,
.paper-band .column-item:hover {
  box-shadow: 0 24px 48px rgba(17, 16, 14, 0.14);
}

.pillar small,
.content-card small,
.service-card small,
.column-item small,
.phase small {
  color: var(--gold-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.paper-band .pillar small,
.paper-band .content-card small,
.paper-band .phase small,
.paper-band .column-item small {
  color: var(--gold-deep);
}

.pillar h3,
.content-card h3,
.column-item h3 {
  margin: 14px 0 10px;
  font-size: 19px;
  line-height: 1.5;
}

.content-card p,
.pillar p,
.service-card p,
.column-item p,
.phase p {
  margin: 0;
  color: rgba(245, 239, 229, 0.64);
  font-size: 13.5px;
  line-height: 1.85;
  font-weight: 600;
}

.paper-band .content-card p,
.paper-band .pillar p,
.paper-band .phase p,
.paper-band .column-item p {
  color: rgba(17, 16, 14, 0.66);
}

/* ============ SERVICE CARDS ============ */

.service-card {
  min-height: 280px;
  padding: 30px 28px;
  border-radius: var(--r-lg);
  background: var(--graphite);
  border-color: rgba(245, 239, 229, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.service-card.featured {
  border-color: rgba(232, 200, 140, 0.32);
  background:
    linear-gradient(180deg, rgba(201, 134, 59, 0.12), rgba(201, 134, 59, 0.03)),
    var(--graphite);
}

.service-card.featured:hover {
  box-shadow: 0 30px 70px rgba(201, 134, 59, 0.18);
}

.service-card h3 {
  margin: 14px 0 0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.4;
  color: var(--cream);
}

.service-card p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(245, 239, 229, 0.7);
}

.service-card.featured small {
  color: var(--gold-soft);
}

.service-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-card-foot .service-price {
  margin-top: 0;
}

.service-price {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 18px;
  color: var(--gold-soft);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  color: var(--cream);
  font-size: 13px;
  font-weight: 800;
  transition: gap 0.25s var(--ease), color 0.2s ease;
}

.paper-band .card-link {
  color: var(--ink);
}

.card-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.service-card:hover .card-link {
  gap: 13px;
}

.service-card:hover .card-link::after {
  transform: translateX(3px) rotate(45deg);
}

/* ============ STEPS (HOW IT WORKS) ============ */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  align-items: stretch;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px 24px;
  border-radius: var(--r-md);
  background: var(--paper-soft);
  border: 1px solid var(--dark-line);
}

.step small {
  color: var(--gold-deep);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.step h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
}

.step p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.85;
  font-weight: 600;
  color: rgba(17, 16, 14, 0.66);
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  z-index: 2;
}

.step.featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  box-shadow: 0 20px 44px rgba(17, 16, 14, 0.28);
}

.step.featured small {
  color: var(--gold-soft);
}

.step.featured p {
  color: rgba(245, 239, 229, 0.72);
}

/* ============ METHOD ============ */

.method-diagram {
  position: relative;
}

.method-line {
  position: relative;
  display: grid;
  gap: 14px;
}

.method-layer {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: 24px 28px;
  border-radius: 16px;
  border: 1px solid rgba(245, 239, 229, 0.16);
  background: rgba(245, 239, 229, 0.045);
  width: min(100%, 860px);
}

.method-layer:nth-child(2) {
  border-color: rgba(232, 200, 140, 0.3);
  background: linear-gradient(90deg, rgba(201, 134, 59, 0.14), rgba(201, 134, 59, 0.02));
  width: min(100%, 1000px);
  margin-left: auto;
  margin-right: auto;
}

.method-layer:nth-child(3) {
  width: 100%;
  margin-left: auto;
}

.method-layer small {
  color: var(--gold-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.method-layer strong {
  font-size: 15.5px;
  line-height: 1.8;
  font-weight: 700;
  color: var(--cream);
  font-feature-settings: "palt" 1;
}

/* ============ TIMELINE / PHASES ============ */

.phase {
  min-height: 0;
}

.phase-number {
  display: block;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 22px;
  line-height: 1;
  font-weight: 600;
}

.phase h3 {
  margin: 12px 0 10px;
  font-size: 18px;
  line-height: 1.6;
}

/* ============ CASE STUDY ============ */

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
}

.case-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 20px;
  align-items: stretch;
  padding: 24px;
  border-radius: 20px;
  background: var(--graphite);
  border: 1px solid rgba(245, 239, 229, 0.13);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.2);
  border-color: rgba(201, 134, 59, 0.55);
}

.case-card small {
  color: var(--gold-soft);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.case-card h3 {
  margin: 12px 0 10px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--cream);
}

.case-card p {
  margin: 0;
  color: rgba(245, 239, 229, 0.62);
  font-size: 13.5px;
  line-height: 1.85;
  font-weight: 600;
}

.case-image {
  min-height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--case-image, url("../images/tower.jpg"));
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(1.05);
  opacity: 0.85;
  transition: transform 0.6s var(--ease);
}

.case-card:hover .case-image {
  transform: scale(1.04);
}

/* ============ REPRESENTATIVE ============ */

.representative {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.representative-photo {
  width: 100%;
  border-radius: 24px 24px 24px 8px;
  border: 1px solid rgba(245, 239, 229, 0.16);
  filter: grayscale(100%);
}

.representative h2 span {
  margin-left: 16px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(245, 239, 229, 0.6);
}

.representative .rep-copy {
  margin: 20px 0 0;
  max-width: 680px;
  font-size: 15px;
  line-height: 2.05;
  font-weight: 600;
  color: rgba(245, 239, 229, 0.74);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--cream);
  transition: gap 0.25s var(--ease);
}

.text-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  transform: rotate(45deg);
}

.text-link:hover {
  gap: 14px;
}

/* ============ PRICE BOARD (fused table) ============ */

.pricing {
  display: block;
}

.price-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--dark-line);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.price-board.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.price-item {
  position: relative;
  min-height: 0;
  padding: 24px 22px;
  border: none;
  border-radius: 0;
  background: var(--paper-soft);
  color: var(--ink);
  box-shadow: none;
}

.price-item small {
  display: block;
  color: var(--gold-deep);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.price-item strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.5;
  font-weight: 800;
  font-feature-settings: "palt" 1;
}

.price-item span {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.6;
  font-weight: 700;
  color: rgba(17, 16, 14, 0.6);
}

.price-item.featured {
  background: var(--ink);
  color: var(--cream);
}

.price-item.featured small {
  color: var(--gold-soft);
}

.price-item.featured span {
  color: rgba(245, 239, 229, 0.6);
}

.dark-band .price-board,
.graphite-band .price-board {
  background: rgba(245, 239, 229, 0.14);
  border-color: rgba(245, 239, 229, 0.14);
}

.dark-band .price-item,
.graphite-band .price-item {
  background: var(--graphite);
  color: var(--cream);
}

.dark-band .price-item small,
.graphite-band .price-item small {
  color: var(--gold-soft);
}

.dark-band .price-item span,
.graphite-band .price-item span {
  color: rgba(245, 239, 229, 0.6);
}

.short-consult-board {
  margin-top: 0;
}

.price-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.9;
  font-weight: 600;
  color: rgba(17, 16, 14, 0.55);
}

/* ============ FINAL CTA ============ */

.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  display: block;
  padding: clamp(80px, 9vw, 128px) 0;
  background: var(--black);
  color: var(--cream);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(201, 134, 59, 0.14), transparent 34%),
    radial-gradient(circle at 85% 80%, rgba(201, 134, 59, 0.08), transparent 30%);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.8fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.contact-panel,
.form-panel {
  padding: 30px 28px;
  border-radius: 24px 24px 24px 8px;
  border: 1px solid rgba(245, 239, 229, 0.16);
  background: rgba(245, 239, 229, 0.04);
  backdrop-filter: blur(10px);
}

.contact-panel ul {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.contact-panel li {
  position: relative;
  padding: 0 0 0 20px;
  color: rgba(245, 239, 229, 0.8);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.7;
}

.contact-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--gold);
  transform: rotate(45deg);
}

.contact-panel .button {
  width: 100%;
}

/* ============ FORMS ============ */

.form-grid {
  display: grid;
  gap: 16px;
}

.form-intro {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.form-intro li {
  position: relative;
  padding-left: 20px;
  color: rgba(245, 239, 229, 0.74);
  font-weight: 600;
  line-height: 1.75;
}

.form-intro li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--gold);
  transform: rotate(45deg);
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: rgba(245, 239, 229, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(245, 239, 229, 0.18);
  border-radius: 14px;
  padding: 13px 15px;
  background: rgba(5, 6, 7, 0.56);
  color: var(--cream);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 134, 59, 0.2);
}

.form-grid textarea {
  min-height: 160px;
  resize: vertical;
}

.form-grid input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--gold);
}

.form-consent {
  display: flex !important;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 12px !important;
  line-height: 1.75;
}

.form-help {
  margin: 0;
  color: rgba(245, 239, 229, 0.58);
  font-size: 12px;
  line-height: 1.7;
}

/* ============ BOOKING ============ */

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(340px, 0.72fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
}

.booking-copy h2 {
  margin-bottom: 24px;
}

.booking-note,
.booking-panel,
.checkout-shell {
  border-radius: var(--r-panel);
  border: 1px solid var(--dark-line);
  background: var(--paper-soft);
}

.dark-band .booking-panel,
.dark-band .checkout-shell,
.graphite-band .checkout-shell {
  border-color: rgba(245, 239, 229, 0.14);
  background: var(--graphite);
}

.booking-note {
  margin-top: 34px;
  padding: 26px;
  color: rgba(17, 16, 14, 0.72);
  font-weight: 600;
  line-height: 1.8;
}

.booking-note strong {
  display: block;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 17px;
}

.booking-note ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
}

.booking-panel,
.checkout-shell {
  padding: 28px;
}

.checkout-shell[hidden] {
  display: none;
}

.booking-status {
  margin: 0 0 22px;
  color: rgba(17, 16, 14, 0.68);
  font-weight: 700;
  line-height: 1.7;
}

.dark-band .booking-status,
.graphite-band .booking-status {
  color: rgba(245, 239, 229, 0.7);
}

.slot-grid {
  display: grid;
  gap: 22px;
}

.slot-day h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.5;
}

.dark-band .slot-day h3,
.graphite-band .slot-day h3 {
  color: var(--cream);
}

.slot-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.slot-button {
  min-height: 46px;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s ease, background-color 0.2s ease;
}

.slot-button:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.slot-button.is-selected {
  border-color: transparent;
  background: var(--cta-grad);
  color: var(--black);
}

.booking-summary {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--dark-line);
  background: var(--paper-soft);
  color: rgba(17, 16, 14, 0.76);
  font-weight: 800;
  line-height: 1.7;
}

.dark-band .booking-summary {
  border-color: rgba(232, 200, 140, 0.3);
  background: rgba(201, 134, 59, 0.08);
  color: rgba(245, 239, 229, 0.85);
}

#checkout {
  min-height: 520px;
}

.hp-field,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

/* ============ STATUS PANEL ============ */

.status-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 52px);
  border-radius: var(--r-panel);
  border: 1px solid rgba(232, 200, 140, 0.3);
  background:
    linear-gradient(180deg, rgba(245, 239, 229, 0.075), rgba(245, 239, 229, 0.035)),
    rgba(17, 21, 23, 0.72);
  box-shadow: var(--shadow-soft);
}

.status-panel ul {
  margin: 22px 0 0;
  padding-left: 1.2em;
  color: rgba(245, 239, 229, 0.72);
  font-weight: 600;
  line-height: 1.85;
}

/* ============ SERVICE DETAIL GRIDS ============ */

.service-detail-grid,
.impact-grid,
.schedule-grid,
.profile-grid {
  display: grid;
  gap: clamp(14px, 1.6vw, 20px);
}

.impact-grid,
.schedule-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.impact-card,
.schedule-card,
.profile-card {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--r-md);
  border: 1px solid rgba(245, 239, 229, 0.13);
  background: rgba(245, 239, 229, 0.035);
  color: var(--cream);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.paper-band .impact-card,
.paper-band .schedule-card,
.paper-band .profile-card {
  border-color: var(--dark-line);
  background: var(--paper-soft);
  color: var(--ink);
}

.graphite-band .impact-card,
.graphite-band .schedule-card,
.graphite-band .profile-card {
  background: var(--graphite);
}

.impact-card:hover,
.schedule-card:hover,
.profile-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 134, 59, 0.55);
}

.impact-card small,
.schedule-card small,
.profile-card small {
  display: block;
  margin-bottom: 12px;
  color: var(--gold-soft);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.paper-band .impact-card small,
.paper-band .schedule-card small,
.paper-band .profile-card small {
  color: var(--gold-deep);
}

.impact-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  font-feature-settings: "palt" 1;
}

.impact-card p,
.schedule-card p,
.profile-card p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.85;
  color: rgba(245, 239, 229, 0.64);
}

.paper-band .impact-card p,
.paper-band .schedule-card p,
.paper-band .profile-card p {
  color: rgba(17, 16, 14, 0.66);
}

.schedule-card h3,
.profile-card h3 {
  margin: 0 0 12px;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.45;
}

/* ============ LEGAL / COMPANY ============ */

.legal-page {
  background: var(--paper);
  color: var(--ink);
}

.legal-hero {
  padding: 150px var(--gutter) 64px;
  background: var(--paper);
  border-bottom: 1px solid var(--dark-line);
}

.legal-hero-inner,
.legal-content {
  width: min(1040px, calc(100% - (var(--gutter) * 2)));
  margin: 0 auto;
}

.legal-hero h1 {
  color: var(--ink);
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.3;
  font-weight: 800;
}

.legal-hero p {
  max-width: 780px;
  margin: 20px 0 0;
  color: rgba(17, 16, 14, 0.68);
  font-size: 15px;
  line-height: 1.95;
  font-weight: 600;
}

.legal-content {
  padding: 72px 0;
}

.legal-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--dark-line);
}

.legal-section h2 {
  max-width: none;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
}

.legal-section p,
.legal-section li,
.company-table dd {
  color: rgba(17, 16, 14, 0.72);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 500;
}

.legal-section ol,
.legal-section ul {
  margin: 0;
  padding-left: 1.3em;
}

.company-table {
  display: grid;
  grid-template-columns: 180px 1fr;
  margin: 0;
  border-top: 1px solid rgba(17, 16, 14, 0.16);
}

.company-table dt,
.company-table dd {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid rgba(17, 16, 14, 0.12);
}

.company-table dt {
  color: rgba(17, 16, 14, 0.62);
  font-weight: 800;
}

.company-table dd {
  font-weight: 600;
}

/* ============ STAFF ============ */

.staff-profile {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.portrait {
  width: 180px;
  aspect-ratio: 1;
  border-radius: 24px 24px 24px 8px;
  overflow: hidden;
  border: 1px solid var(--dark-line);
  box-shadow: 0 18px 48px rgba(17, 16, 14, 0.14);
}

.dark-band .portrait,
.graphite-band .portrait {
  border-color: rgba(245, 239, 229, 0.16);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.6s var(--ease), filter 0.6s ease;
}

.staff-profile:hover .portrait img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.profile-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--dark-line);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-md);
  overflow: hidden;
}

/* ============ FOOTER ============ */

.footer {
  padding: 36px var(--gutter);
  background: var(--black);
  border-top: 1px solid rgba(245, 239, 229, 0.1);
  color: rgba(245, 239, 229, 0.62);
}

.footer-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer strong {
  color: var(--cream);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.footer small {
  font-size: 11px;
  color: rgba(245, 239, 229, 0.45);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  font-size: 12.5px;
  font-weight: 700;
}

.footer-nav a {
  color: rgba(245, 239, 229, 0.66);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--cream);
}

/* ============ STICKY CTA ============ */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 28px);
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(5, 6, 7, 0.82);
  border-top: 1px solid rgba(232, 200, 140, 0.3);
  backdrop-filter: blur(16px);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(245, 239, 229, 0.85);
}

.sticky-cta p b {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
  margin-right: 12px;
}

.sticky-cta .button {
  min-height: 46px;
  padding: 0 24px;
  font-size: 14px;
}

/* ============ MISC ============ */

.nowrap {
  white-space: nowrap;
}

br.mobile-break {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms ease, transform 800ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-parallax] {
  will-change: transform;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 1080px) {
  .site-header {
    justify-content: flex-start;
  }

  .brand {
    margin-right: auto;
  }

  .main-nav {
    order: 2;
    margin-left: auto;
  }

  .main-nav a:not(.nav-cta) {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
    order: 3;
    margin-left: 10px;
  }

  .main-nav.is-open {
    position: absolute;
    top: 72px;
    left: var(--gutter);
    right: var(--gutter);
    display: grid;
    gap: 2px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px 20px 20px 8px;
    background: rgba(5, 6, 7, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
  }

  .main-nav.is-open a {
    display: block;
    padding: 14px;
    border-radius: 12px;
    font-size: 13px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .main-nav.is-open a::after {
    display: none;
  }

  .main-nav.is-open a:hover,
  .main-nav.is-open a[aria-current="page"] {
    background: rgba(201, 134, 59, 0.12);
    color: var(--cream);
  }

  .main-nav.is-open .nav-cta {
    position: fixed;
    top: 17px;
    right: calc(var(--gutter) + 54px);
    z-index: 90;
  }

  .hero,
  .hero-inner,
  .hero.compact,
  .hero.compact .hero-inner {
    min-height: auto;
  }

  .hero-inner,
  .concept-grid,
  .two-col,
  .cta-grid,
  .booking-layout,
  .representative {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 130px;
  }

  .split-head,
  .case-card {
    grid-template-columns: 1fr;
  }

  .fault-row,
  .line-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .pillars,
  .card-grid,
  .service-grid,
  .timeline,
  .case-grid,
  .column-list {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .service-card,
  .phase,
  .column-item,
  .content-card {
    min-height: auto;
  }

  .method-layer,
  .method-layer:nth-child(2),
  .method-layer:nth-child(3) {
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    margin: 0;
  }

  .impact-grid,
  .schedule-grid,
  .service-detail-grid,
  .profile-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-board,
  .price-board.five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .representative-photo {
    max-width: 300px;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 64px;
  }

  .brand-mark {
    width: 34px;
    height: 14px;
  }

  .brand-name {
    font-size: 15px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 16px;
    font-size: 12px;
  }

  .main-nav.is-open {
    top: 64px;
    padding: 16px;
  }

  .main-nav.is-open .nav-cta {
    top: 13px;
    right: calc(var(--gutter) + 54px);
  }

  h1,
  .compact h1 {
    font-size: clamp(34px, 9.6vw, 48px);
    line-height: 1.16;
  }

  h2 {
    font-size: clamp(26px, 7.4vw, 38px);
    line-height: 1.3;
  }

  .split-head h2,
  .final-cta h2 {
    max-width: 100%;
  }

  br.mobile-break {
    display: block;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.85;
  }

  .hero-actions,
  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 56px;
    padding: 0 22px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .steps,
  .price-board,
  .price-board.five,
  .impact-grid,
  .schedule-grid,
  .service-detail-grid,
  .profile-metrics,
  .slot-buttons {
    grid-template-columns: 1fr;
  }

  .slot-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-table,
  .staff-profile {
    grid-template-columns: 1fr;
  }

  .company-table dt {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .company-table dd {
    padding-top: 0;
  }

  .portrait {
    width: 132px;
  }

  .representative h2 span {
    display: block;
    margin: 8px 0 0;
  }

  .scroll-note {
    display: none;
  }

  .footer-inner {
    display: grid;
  }

  .sticky-cta p {
    display: none;
  }

  .sticky-cta .button {
    width: 100%;
  }

  .mobile-menu-toggle {
    width: 44px;
    height: 44px;
    outline: none;
  }

  .mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--gold-soft);
    outline-offset: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .button:hover,
  .nav-cta:hover,
  .pillar:hover,
  .content-card:hover,
  .service-card:hover,
  .column-item:hover,
  .phase:hover,
  .case-card:hover,
  .impact-card:hover,
  .schedule-card:hover,
  .profile-card:hover {
    transform: none;
  }

  .case-card:hover .case-image,
  .staff-profile:hover .portrait img {
    transform: none;
  }
}
