:root {
  --ink: #172129;
  --ink-soft: #4a5660;
  --muted: #7a868e;
  --line: #e2e7e8;
  --paper: #ffffff;
  --paper-soft: #f6f8f7;
  --accent: #167a61;
  --accent-dark: #0f4f43;
  --yellow: #f1b84b;
  --shadow-sm: 0 6px 16px rgba(23, 33, 41, 0.06);
  --shadow-md: 0 18px 38px rgba(23, 33, 41, 0.10);
  --shadow-lg: 0 32px 70px rgba(23, 33, 41, 0.16);
  --header-h: 80px;
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ========== Page transition overlay ========== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

.page-transition-panel {
  position: absolute;
  inset: 0;
  will-change: transform, opacity, clip-path;
}

.page-transition-panel:nth-child(1) { background: var(--accent); z-index: 1; }
.page-transition-panel:nth-child(2) { background: var(--yellow); z-index: 2; }
.page-transition-panel:nth-child(3) { background: var(--ink); z-index: 3; }

/* ===== Pattern 1: Liquid Wipe (wave-edge panels retreating) ===== */
body.pt-liquid .page-transition-panel {
  transform: translateY(-110%);
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 88%,
    93% 92%, 86% 86%, 79% 93%, 71% 87%, 64% 93%,
    57% 87%, 50% 93%, 43% 87%, 36% 93%, 29% 87%,
    21% 93%, 14% 86%, 7% 92%, 0% 88%
  );
  transition: transform 1080ms cubic-bezier(0.85, 0, 0.15, 1);
}
body.pt-liquid .page-transition-panel:nth-child(3) { transition-delay: 0ms; }
body.pt-liquid .page-transition-panel:nth-child(2) { transition-delay: 160ms; }
body.pt-liquid .page-transition-panel:nth-child(1) { transition-delay: 320ms; }
body.pt-liquid.pt-loading .page-transition-panel {
  transform: translateY(0);
  transition: none !important;
}

/* ===== Pattern 2: Multi-Stripe + Logo ===== */
body.pt-stripes .page-transition-panel:nth-child(1) {
  background: var(--accent);
}
body.pt-stripes .page-transition-panel:nth-child(2) {
  background: repeating-linear-gradient(
    105deg,
    var(--yellow) 0,
    var(--yellow) 7%,
    transparent 7%,
    transparent 16%
  );
}
body.pt-stripes .page-transition-panel:nth-child(3) {
  background: repeating-linear-gradient(
    105deg,
    transparent 0,
    transparent 4%,
    var(--ink) 4%,
    var(--ink) 11%,
    transparent 11%,
    transparent 19%
  );
}

body.pt-stripes .page-transition-panel {
  transform: translateY(-101%);
  transition: transform 940ms cubic-bezier(0.85, 0, 0.15, 1);
}
body.pt-stripes .page-transition-panel:nth-child(3) { transition-delay: 0ms; }
body.pt-stripes .page-transition-panel:nth-child(2) { transition-delay: 160ms; }
body.pt-stripes .page-transition-panel:nth-child(1) { transition-delay: 320ms; }
body.pt-stripes.pt-loading .page-transition-panel {
  transform: translateY(0);
  transition: none !important;
}

body.pt-stripes .page-transition::before {
  content: 'BONTEC';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 100;
  font-family: "Inter", "Helvetica Neue", "Noto Sans JP", sans-serif;
  font-size: clamp(60px, 14vw, 200px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1;
  opacity: 0;
  transform: scale(0.85);
  filter: blur(14px);
  transition:
    opacity 480ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 620ms cubic-bezier(0.7, 0, 0.2, 1),
    filter 480ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.35);
}
body.pt-stripes.pt-loading .page-transition::before {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

body.pt-stripes .page-transition::after {
  content: 'KYOTO · MOBILITY';
  position: absolute;
  bottom: 11%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  transition: opacity 360ms ease 100ms;
  pointer-events: none;
}
body.pt-stripes.pt-loading .page-transition::after {
  opacity: 1;
}

/* Default (no pattern class yet): stay hidden */
body:not(.pt-liquid):not(.pt-stripes) .page-transition-panel {
  opacity: 0;
}

body.pt-leaving .page-transition {
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .page-transition-panel { transition: none !important; transition-delay: 0 !important; }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

/* ========== Header ========== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  height: var(--header-h);
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(226, 231, 232, 0.6);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--accent);
  border-radius: 9px;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.brand-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.brand-text small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
}

.nav a {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 6px 4px;
  color: var(--ink);
  text-align: center;
  transition: color 200ms ease;
}

.nav a span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  line-height: 1.1;
}

.nav a small {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.1;
  transition: color 200ms ease;
}

.nav a::after {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms ease;
  content: "";
}

.nav a:hover,
.nav a:hover small,
.nav a.is-active,
.nav a.is-active small { color: var(--accent); }

.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.header-call {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0 10px;
  padding: 9px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  font-weight: 900;
  letter-spacing: -0.01em;
  transition: background 220ms ease, transform 220ms ease;
}

.header-call:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.header-call-icon {
  display: none;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.header-call-text {
  font-size: 0.92rem;
}

.header-call small {
  grid-column: 1 / -1;
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  font-weight: 700;
  text-align: right;
  letter-spacing: 0;
}

/* ========== Hero ========== */

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: var(--header-h) 32px 80px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.06) 70%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-content {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.hero-eyebrow {
  margin: 0 0 28px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.hero-title {
  margin: 0;
  font-size: clamp(3rem, 8.4vw, 7.4rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
}

.hero-title > span {
  display: block;
  overflow: hidden;
}

.hero-title .ht-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(115%);
  animation: heroCharIn 1000ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0ms);
}

.hero-title > span:nth-child(2) .ht-char { animation-delay: calc(180ms + var(--d, 0ms)); }
.hero-title > span:nth-child(3) .ht-char { animation-delay: calc(360ms + var(--d, 0ms)); }

@keyframes heroCharIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroLineIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  margin: 32px 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.86);
  opacity: 0;
  animation: heroLineIn 900ms cubic-bezier(0.22, 1, 0.36, 1) 800ms forwards;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: inline-grid;
  justify-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.scroll-cue-line {
  display: block;
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}

.scroll-cue-line::after {
  position: absolute;
  top: -56px;
  left: 0;
  width: 100%;
  height: 56px;
  background: linear-gradient(180deg, transparent, #fff);
  animation: scrollCue 1.8s ease-in-out infinite;
  content: "";
}

@keyframes scrollCue {
  0% { transform: translateY(0); }
  100% { transform: translateY(112px); }
}

/* ========== Carousel ========== */

.carousel-section {
  padding: 100px 32px;
  background: var(--paper-soft);
}

.carousel {
  position: relative;
  width: min(100%, var(--container));
  margin: 0 auto;
}

.carousel-track {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 880ms ease;
}

.carousel-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.carousel-slide.is-active img {
  animation: kenBurns 6500ms ease-out forwards;
}

@keyframes kenBurns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.10) translate3d(-1.2%, -0.6%, 0); }
}

.carousel-text {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  padding: 32px 40px;
  width: 100%;
  color: #fff;
  font-size: clamp(1.6rem, 3.6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.carousel-dots button {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(23, 33, 41, 0.18);
  border-radius: 999px;
  cursor: pointer;
  transition: background 220ms ease, width 220ms ease;
}

.carousel-dots button.is-active {
  width: 56px;
  background: var(--accent);
}

/* ========== Section base ========== */

section {
  scroll-margin-top: var(--header-h);
}

.section-head {
  width: min(100%, var(--container));
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section-lead {
  margin: 18px auto 0;
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ========== About ========== */

.about {
  padding: 120px 32px;
  background: var(--paper);
}

.about-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-inner .eyebrow { text-align: left; }

.about-inner h2 {
  margin: 0 0 24px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.about-copy {
  margin: 0 0 32px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== Buttons ========== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.button.primary {
  color: #fff;
  background: var(--ink);
  box-shadow: var(--shadow-sm);
}

.button.primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button::after {
  content: "→";
  display: inline-block;
  transition: transform 240ms ease;
}

.button:hover::after {
  transform: translateX(4px);
}

/* ========== Business ========== */

.business {
  padding: 120px 32px;
  background: var(--paper-soft);
}

.business-grid {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.business-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.business-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.business-link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}

.business-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.business-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.business-card:hover .business-img img {
  transform: scale(1.05);
}

.business-body {
  padding: 28px 28px 30px;
}

.business-body .number {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.business-body h3 {
  margin: 0 0 12px;
  font-size: 1.32rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.business-body > p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
}

.tag-list li {
  padding: 4px 12px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.card-link::after {
  content: "→";
  transition: transform 240ms ease;
}

.business-card:hover .card-link::after {
  transform: translateX(4px);
}

/* ========== Strength ========== */

.strength {
  padding: 120px 32px;
  background: var(--paper);
  position: relative;
}

.strength-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.strength-head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  display: grid;
  gap: 16px;
}

.strength-head .eyebrow { margin: 0; }

.strength-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.strength-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 0;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.strength-progress-num {
  font-size: 1.6rem;
  color: var(--accent);
}

.strength-progress-line {
  flex: 1;
  height: 2px;
  background: rgba(23, 33, 41, 0.12);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}

.strength-progress-fill {
  position: absolute;
  inset: 0;
  width: var(--strength-progress, 33%);
  background: var(--accent);
  border-radius: 999px;
  transition: width 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.strength-progress-total {
  font-size: 1rem;
  color: var(--muted);
}

.strength-list {
  display: grid;
  gap: 24px;
}

.strength-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
  padding: 28px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 480ms ease, border-color 480ms ease, background 480ms ease;
  opacity: 0.55;
  transform: translateY(20px);
}

.strength-item.is-active {
  opacity: 1;
  transform: translateY(0);
  background: #fff;
  border-color: rgba(22, 122, 97, 0.32);
  box-shadow: 0 22px 48px -16px rgba(22, 122, 97, 0.22);
}

.strength-img {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.strength-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}

.strength-item.is-active .strength-img img {
  transform: scale(1.04);
}

.strength-num {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.strength-body h3 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.strength-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.86;
}

/* ========== More-CTA bridge (index → details) ========== */

.more-cta {
  padding: 120px 32px;
  background: linear-gradient(180deg, var(--paper-soft) 0%, #fff 100%);
  text-align: center;
}

.more-cta-inner {
  width: min(100%, 880px);
  margin: 0 auto;
}

.more-cta .eyebrow {
  display: inline-block;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.more-cta h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.more-cta > .more-cta-inner > p {
  margin: 0 auto 36px;
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

.more-cta-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 56px;
}

.more-cta-links {
  list-style: none;
  margin: 0;
  padding: 36px 0 0;
  border-top: 1px solid rgba(13, 24, 39, 0.08);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px 32px;
  text-align: left;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.more-cta-links a {
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 200ms ease;
}

.more-cta-links a:hover { color: var(--accent); }

@media (max-width: 880px) {
  .more-cta { padding: 80px 22px; }
  .more-cta-actions { flex-direction: column; }
  .more-cta-links { grid-template-columns: 1fr; }
}

/* ========== Inline link enrichment ========== */

.strength-links {
  margin: 16px 0 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.84rem !important;
}

.strength-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
}

.strength-links a:hover {
  color: var(--accent-dark);
  border-color: var(--accent);
}

.bt-voice-link {
  display: inline-block;
  margin-top: 12px;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--accent);
  transition: color 200ms ease, border-color 200ms ease;
}

.bt-voice-link:hover {
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button.ghost-line {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.button.ghost-line:hover {
  background: var(--accent);
  color: #fff;
}

.about-quick-links {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.about-quick-links a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 200ms ease;
}

.about-quick-links a:hover {
  color: var(--accent);
}

.carousel-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.carousel-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: color 200ms ease, transform 200ms ease;
}

.recruit-link:hover {
  color: var(--accent-dark);
  transform: translateX(2px);
}

/* ========== Sub-page system (auto-service / lease / teleappointer) ========== */

body.subpage {
  background: var(--paper);
}

.sub-hero {
  position: relative;
  min-height: 70vh;
  padding: calc(var(--header-h) + 80px) 32px 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.sub-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.sub-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 24, 39, 0.45) 0%, rgba(13, 24, 39, 0.65) 60%, rgba(13, 24, 39, 0.85) 100%),
    radial-gradient(circle at 78% 32%, rgba(22, 122, 97, 0.45), transparent 60%);
}

.sub-hero-bg img,
.sub-hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.95);
}

.sub-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--container));
  margin: 0 auto;
}

.sub-hero .eyebrow {
  display: inline-block;
  padding: 6px 16px;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--yellow);
  border: 1px solid rgba(241, 184, 75, 0.4);
  border-radius: 999px;
  margin-bottom: 28px;
}

.sub-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  max-width: 920px;
}

.sub-hero p {
  margin: 0 0 36px;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.85;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

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

.sub-hero .button.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.sub-hero .button.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Breadcrumb */
.breadcrumb {
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 18px 32px;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(13, 24, 39, 0.06);
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb-sep {
  opacity: 0.4;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

/* Detail (intro / overview) sections */
.detail-section {
  padding: 100px 32px;
}

.detail-section.alt { background: var(--paper-soft); }
.detail-section.dark { background: var(--ink); color: #fff; }
.detail-section.dark .section-head h2 { color: #fff; }
.detail-section.dark .section-head .eyebrow { color: var(--yellow); }
.detail-section.dark p { color: rgba(255, 255, 255, 0.78); }

.section-head.single {
  width: min(100%, var(--container));
  margin: 0 auto 56px;
  text-align: left;
}

.section-head.single h2 {
  margin: 12px 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-head.single p {
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* Detail card grid (services breakdown) */
.detail-grid {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.detail-card {
  position: relative;
  padding: 36px 28px 32px;
  background: #fff;
  border: 1px solid rgba(13, 24, 39, 0.06);
  border-radius: 18px;
  box-shadow: 0 18px 36px -22px rgba(13, 24, 39, 0.18);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 280ms ease;
}

.detail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px -22px rgba(13, 24, 39, 0.24);
}

.detail-card > span {
  display: inline-block;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(22, 122, 97, 0.32);
  margin-bottom: 14px;
  line-height: 1;
}

.detail-card h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.detail-card p {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ink-soft);
}

.detail-card-meta {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(13, 24, 39, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 0.74rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.detail-card-meta li {
  position: relative;
  padding-left: 12px;
}

.detail-card-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* Process mini (compact step list) */
.process-mini {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  counter-reset: process-mini;
}

.process-mini-item {
  position: relative;
  padding: 32px 24px 28px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(13, 24, 39, 0.06);
}

.process-mini-item::before {
  counter-increment: process-mini;
  content: counter(process-mini, decimal-leading-zero);
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(22, 122, 97, 0.18);
}

.process-mini-item h4 {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.process-mini-item p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--ink);
}

/* Why-list (value props) */
.why-list {
  width: min(100%, var(--container));
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.why-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 0;
  border-top: 2px solid var(--accent);
}

.why-item h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.why-item p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* Pricing rows */
.price-table {
  width: min(100%, var(--container));
  margin: 0 auto;
  border: 1px solid rgba(13, 24, 39, 0.08);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.price-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.4fr;
  gap: 24px;
  padding: 24px 28px;
  align-items: center;
  border-bottom: 1px solid rgba(13, 24, 39, 0.06);
}

.price-row:last-child { border-bottom: none; }
.price-row.head {
  background: var(--paper-soft);
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.price-row strong {
  font-size: 1.04rem;
  font-weight: 900;
  color: var(--ink);
}

.price-row .price-fee {
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--accent);
}

.price-row p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* Related services */
.related-services {
  padding: 100px 32px;
  background: var(--paper-soft);
}

.related-grid {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

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

@media (max-width: 880px) {
  .related-grid-3 { grid-template-columns: 1fr; }
}

.related-card {
  position: relative;
  padding: 40px 32px;
  background: #fff;
  border-radius: 22px;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid rgba(13, 24, 39, 0.06);
  box-shadow: 0 18px 36px -22px rgba(13, 24, 39, 0.18);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 280ms ease;
  display: block;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -22px rgba(13, 24, 39, 0.26);
}

.related-card .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
}

.related-card h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.related-card p {
  margin: 0 0 20px;
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.related-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.related-card-arrow::after {
  content: "→";
  transition: transform 200ms ease;
}

.related-card:hover .related-card-arrow::after {
  transform: translateX(4px);
}

/* Sub CTA */
.sub-cta {
  padding: 100px 32px;
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.sub-cta h2 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.sub-cta p {
  margin: 0 auto 32px;
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

.sub-cta-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.sub-cta-tel {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: #fff;
}

.sub-cta-tel span {
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
}

.sub-cta-tel small {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
}

.sub-cta-tel:hover span { color: var(--yellow); }

/* Sub-footer */
.sub-footer {
  padding: 60px 32px 40px;
  background: #0c1217;
  color: rgba(255, 255, 255, 0.65);
}

.sub-footer-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sub-footer h4 {
  margin: 0 0 16px;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.sub-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.sub-footer a {
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
}

.sub-footer a:hover { color: var(--yellow); }

.sub-footer-brand strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.sub-footer-copyright {
  width: min(100%, var(--container));
  margin: 24px auto 0;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}

/* Sub-page responsive */
@media (max-width: 880px) {
  .sub-hero {
    min-height: 60vh;
    padding: calc(var(--header-h) + 56px) 22px 56px;
  }
  .sub-hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .breadcrumb { padding: 14px 22px; }
  .detail-section { padding: 64px 22px; }
  .related-services { padding: 64px 22px; }
  .related-grid { grid-template-columns: 1fr; }
  .price-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 22px;
  }
  .sub-cta { padding: 64px 22px; }
  .sub-cta-actions { flex-direction: column; }
  .sub-footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ========== Recruit ========== */

.recruit {
  padding: 120px 32px;
  background: var(--paper-soft);
  color: var(--ink);
}

.recruit-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.recruit-head {
  text-align: center;
  margin-bottom: 60px;
}

.recruit-head .eyebrow { color: var(--accent); }
.recruit-head h2 { margin: 12px 0 18px; }
.recruit-head .section-lead {
  max-width: 640px;
  margin: 0 auto;
}

.recruit-list {
  list-style: none;
  margin: 0 0 56px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.recruit-item {
  position: relative;
  padding: 36px 28px 30px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 40px -22px rgba(13, 24, 39, 0.16);
  border: 1px solid rgba(13, 24, 39, 0.05);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 280ms ease;
}

.recruit-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px -22px rgba(13, 24, 39, 0.22);
}

.recruit-num {
  margin: 0 0 14px;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(22, 122, 97, 0.18);
}

.recruit-tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(22, 122, 97, 0.32);
  border-radius: 999px;
}

.recruit-item h3 {
  margin: 0 0 14px;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.4;
}

.recruit-detail {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}

.recruit-meta {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(13, 24, 39, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.recruit-meta li {
  font-size: 0.74rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  position: relative;
  padding-left: 12px;
}

.recruit-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.recruit-cta {
  text-align: center;
  padding: 36px 28px;
  background: var(--ink);
  color: #fff;
  border-radius: 22px;
}

.recruit-cta p {
  margin: 0 0 22px;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.recruit-cta-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.recruit-cta-tel {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: #fff;
  font-family: "Inter", "Helvetica Neue", sans-serif;
}

.recruit-cta-tel span {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.recruit-cta-tel small {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.6);
}

.recruit-cta-tel:hover span { color: var(--yellow); }

@media (max-width: 880px) {
  .recruit { padding: 80px 22px; }
  .recruit-head { margin-bottom: 40px; }
  .recruit-list { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .recruit-item { padding: 28px 22px 24px; }
  .recruit-num { font-size: 2rem; }
  .recruit-cta { padding: 28px 22px; border-radius: 16px; }
  .recruit-cta-actions { flex-direction: column; gap: 16px; }
}

/* ========== Numbers ========== */

.numbers {
  padding: 120px 32px;
  background: var(--ink);
  color: #fff;
}

.numbers .eyebrow { color: var(--yellow); }

.numbers .section-head h2 { color: #fff; }

.numbers-grid {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
}

.number-item {
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-align: center;
}

.number-label {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.number-value {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
}

.number-value .unit,
.number-value .dash {
  font-size: 0.7em;
  color: var(--yellow);
  margin: 0 2px;
  font-weight: 700;
}

.number-value.static {
  color: var(--yellow);
}

.number-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

/* ========== Company ========== */

.company {
  padding: 120px 32px;
  background: var(--paper);
}

.company-list {
  width: min(100%, 880px);
  margin: 0 auto;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.company-list div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 24px 16px;
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--accent);
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

.company-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.98rem;
}

.company-list dd a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ========== Contact ========== */

.contact {
  padding: 120px 32px;
  background: var(--paper-soft);
}

.contact-grid {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: stretch;
}

.phone-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 56px 32px;
  color: #fff;
  background: var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: background 220ms ease, transform 220ms ease;
}

.phone-card:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.phone-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.72);
}

.phone-number {
  margin: 4px 0 6px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.phone-hours {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.form-label {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form span {
  font-size: 0.84rem;
  font-weight: 900;
  color: var(--ink);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 14px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  transition: border-color 200ms ease, background 200ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--accent);
  background: #fff;
}

.contact-form .button { margin-top: 10px; }

/* ========== Footer ========== */

.site-footer {
  padding: 40px 32px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.footer-brand small {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
}

.copyright {
  margin: 0;
  font-size: 0.82rem;
}

/* ========== Scroll progress bar ========== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  background: rgba(23, 33, 41, 0.06);
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: var(--scroll-pct, 0%);
  background: linear-gradient(90deg, var(--accent) 0%, var(--yellow) 100%);
  transition: width 80ms linear;
}

/* ========== Hero floating stats + vertical label ========== */

.hero-vertical {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.42em;
  color: rgba(255, 255, 255, 0.55);
  z-index: 2;
  pointer-events: none;
}

.hero-floats {
  position: absolute;
  left: 32px;
  bottom: 80px;
  display: flex;
  gap: 28px;
  z-index: 2;
  opacity: 0;
  animation: heroFloatIn 900ms cubic-bezier(0.22, 1, 0.36, 1) 1100ms forwards;
}

.hero-float {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-float-label {
  margin: 0;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}

.hero-float-value {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
}

@keyframes heroFloatIn {
  to { opacity: 1; }
}

/* ========== Manifesto (3 chapters, one business per viewport) ========== */

.bt-manifesto {
  --m-progress: 0;
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: clip;
}

.bt-manifesto-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bt-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
}

.bt-shape-1 {
  top: 8vh;
  left: -10vw;
  width: 50vw;
  height: 50vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(closest-side, rgba(22, 122, 97, 0.45), transparent 70%);
  transform:
    translate3d(calc(var(--m-progress) * -12vw), calc(var(--m-progress) * 56vh), 0)
    scale(calc(0.6 + var(--m-progress) * 1.1))
    rotate(calc(var(--m-progress) * 40deg));
}

.bt-shape-2 {
  bottom: 12vh;
  right: -12vw;
  width: 46vw;
  height: 46vw;
  max-width: 680px;
  max-height: 680px;
  background: radial-gradient(closest-side, rgba(241, 184, 75, 0.28), transparent 70%);
  transform:
    translate3d(calc(var(--m-progress) * 14vw), calc(var(--m-progress) * -40vh), 0)
    scale(calc(1.4 - var(--m-progress) * 0.8))
    rotate(calc(var(--m-progress) * -50deg));
}

.bt-chapter {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + clamp(56px, 10vh, 120px)) clamp(28px, 8vw, 120px) clamp(80px, 16vh, 200px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: clamp(40px, 6vh, 80px);
  overflow: hidden;
  z-index: 1;
}

.bt-chapter + .bt-chapter {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.bt-chapter-num {
  position: absolute;
  top: 50%;
  right: clamp(-6vw, -2vw, -20px);
  transform:
    translateY(calc(-50% + (0.5 - var(--c-progress, 0.5)) * 22vh))
    translateX(calc((var(--c-progress, 0.5) - 0.5) * 36vw))
    scale(calc(0.6 + var(--c-progress, 0.5) * 0.9))
    rotate(calc((var(--c-progress, 0.5) - 0.5) * -10deg));
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: clamp(14rem, 38vw, 32rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  will-change: transform;
}

.bt-l1 .bt-chapter-num { color: rgba(22, 122, 97, 0.10); }
.bt-l2 .bt-chapter-num { color: rgba(22, 122, 97, 0.10); }
.bt-l3 .bt-chapter-num { color: rgba(241, 184, 75, 0.10); }

.bt-chapter-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), opacity 900ms ease;
}

.bt-line.is-on .bt-chapter-content {
  transform: translateY(0);
  opacity: 1;
}

.bt-chapter-eyebrow {
  display: inline-block;
  margin: 0 0 clamp(24px, 3.5vh, 40px);
  padding: 7px 18px;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: clamp(0.74rem, 1vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(22, 122, 97, 0.45);
  border-radius: 999px;
}

.bt-l3 .bt-chapter-eyebrow {
  color: var(--yellow);
  border-color: rgba(241, 184, 75, 0.45);
}

.bt-chapter-title {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #fff;
  transform: translateY(calc((0.5 - var(--c-progress, 0.5)) * 14vh));
  will-change: transform;
}

.bt-chapter-sub {
  margin: clamp(28px, 4vh, 48px) 0 0;
  font-size: clamp(0.95rem, 1.3vw, 1.18rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  transform: translateX(calc((var(--c-progress, 0.5) - 0.5) * 60px));
  will-change: transform;
}

.bt-chapter-eyebrow {
  transform: translateX(calc((var(--c-progress, 0.5) - 0.5) * 80px));
  will-change: transform;
}

/* Full-bleed video section (dedicated viewport for chapter 02's visual) */
.bt-fullvideo {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--ink);
}

.bt-fullvideo-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(calc(1.0 + var(--c-progress, 0) * 0.18)) saturate(calc(0.7 + var(--c-progress, 0) * 0.5)) brightness(calc(0.7 + var(--c-progress, 0) * 0.45));
  opacity: clamp(0, calc((var(--c-progress, 0) - 0.05) * 5), 1);
  transform:
    scale(calc(1.55 - var(--c-progress, 0) * 0.55))
    translateY(calc((0.5 - var(--c-progress, 0)) * 18vh))
    translateX(calc((var(--c-progress, 0) - 0.5) * 12vw))
    rotate(calc((var(--c-progress, 0) - 0.5) * -3deg));
  will-change: transform, opacity, filter;
}

.bt-fullvideo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 24, 39, 0.45) 0%, rgba(13, 24, 39, 0) 35%, rgba(13, 24, 39, 0) 65%, rgba(13, 24, 39, 0.7) 100%);
  pointer-events: none;
  z-index: 1;
  opacity: clamp(0, calc((var(--c-progress, 0) - 0.18) * 4), 1);
}

.bt-fullvideo-caption {
  position: absolute;
  left: clamp(28px, 8vw, 120px);
  bottom: clamp(40px, 8vh, 80px);
  margin: 0;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: clamp(0.78rem, 1.1vw, 0.96rem);
  font-weight: 700;
  letter-spacing: calc(0.16em + var(--c-progress, 0) * 0.18em);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  z-index: 2;
  opacity: clamp(0, calc((var(--c-progress, 0) - 0.32) * 4), 1);
  transform:
    translateY(calc((1 - clamp(0, calc((var(--c-progress, 0) - 0.28) * 3.5), 1)) * 60px))
    translateX(calc((1 - clamp(0, calc((var(--c-progress, 0) - 0.28) * 3.5), 1)) * -40px));
  will-change: transform, opacity;
}

/* ========== Marquee ========== */

.bt-marquee {
  background: var(--accent);
  color: #fff;
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.bt-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  animation: btMarquee 32s linear infinite;
}

.bt-marquee-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border-radius: 50%;
}

@keyframes btMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== Process timeline ========== */

.process {
  padding: 120px 32px;
  background: var(--paper-soft);
}

.process .section-head {
  width: min(100%, var(--container));
  margin: 0 auto 64px;
}

.process-list {
  width: min(100%, var(--container));
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
  position: relative;
}

.process-list::before {
  position: absolute;
  left: 40px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: rgba(23, 33, 41, 0.08);
  content: "";
}

.process-list::after {
  position: absolute;
  left: 40px;
  top: 24px;
  width: 2px;
  height: var(--process-progress, 0%);
  background: var(--accent);
  border-radius: 999px;
  transition: height 480ms cubic-bezier(0.22, 1, 0.36, 1);
  content: "";
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: center;
  padding: 26px 32px 26px 0;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1), border-color 480ms ease, box-shadow 480ms ease;
  opacity: 0.55;
  transform: translateY(20px);
}

.process-step.is-active {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(22, 122, 97, 0.32);
  box-shadow: 0 22px 48px -16px rgba(22, 122, 97, 0.22);
}

.process-num {
  display: grid;
  place-items: center;
  width: 80px;
  height: 100%;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  border-right: 1px solid var(--line);
  transition: color 360ms ease, background 360ms ease;
}

.process-step.is-active .process-num {
  color: #fff;
  background: var(--accent);
  border-right-color: var(--accent);
}

.process-body h3 {
  margin: 0 0 6px;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.005em;
}

.process-body p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.86;
}

/* ========== Voice (sticky-pinned testimonials) ========== */

.bt-voice {
  padding: 120px 32px;
  background: var(--paper);
}

.bt-voice .section-head {
  width: min(100%, var(--container));
  margin: 0 auto 64px;
}

.bt-voice-stage {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.bt-voice-pinned {
  position: sticky;
  top: calc(var(--header-h) + 36px);
  display: grid;
  gap: 22px;
  padding: 28px;
  background: var(--ink);
  color: #fff;
  border-radius: 18px;
}

.bt-voice-quotemark {
  margin: 0;
  font-family: "Georgia", serif;
  font-size: 5rem;
  font-weight: 900;
  line-height: 0.7;
  color: var(--accent);
}

.bt-voice-label {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.55);
}

.bt-voice-counter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-weight: 900;
}

.bt-voice-counter [data-voice-current] {
  font-size: 1.8rem;
  color: var(--accent);
}

.bt-voice-bar {
  flex: 1;
  position: relative;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.bt-voice-bar [data-voice-fill] {
  position: absolute;
  inset: 0;
  width: var(--voice-progress, 33%);
  background: var(--accent);
  transition: width 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bt-voice-counter [data-voice-total] {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
}

.bt-voice-rail {
  display: grid;
  gap: 22px;
}

.bt-voice-card {
  position: relative;
  padding: 36px 36px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  opacity: 0.45;
  transform: translateY(28px);
  transition: opacity 480ms ease, transform 480ms cubic-bezier(0.22, 1, 0.36, 1), border-color 480ms ease, box-shadow 480ms ease;
}

.bt-voice-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 540ms cubic-bezier(0.22, 1, 0.36, 1);
  content: "";
}

.bt-voice-card.is-active {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(22, 122, 97, 0.28);
  box-shadow: 0 22px 60px -22px rgba(22, 122, 97, 0.28);
}

.bt-voice-card.is-active::before {
  transform: scaleY(1);
}

.bt-voice-tag {
  display: inline-block;
  margin: 0 0 18px;
  padding: 5px 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bt-voice-card blockquote {
  margin: 0 0 22px;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.92;
}

.bt-voice-meta {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.bt-voice-name {
  margin: 0 0 4px;
  font-size: 0.94rem;
  font-weight: 900;
  color: var(--ink);
}

.bt-voice-detail {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ========== Reveal animation ========== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-revealed {
  opacity: 1;
  transform: none;
}

/* ========== Responsive ========== */

@media (max-width: 1024px) {
  .nav { gap: 18px; font-size: 0.78rem; }
  .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strength-inner { grid-template-columns: 1fr; gap: 40px; }
  .strength-head { position: relative; top: auto; }
  .about-inner { gap: 40px; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }

  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 0 14px;
    gap: 8px;
    height: 64px;
  }

  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; font-size: 0.92rem; }
  .brand-text strong { font-size: 0.92rem; }
  .brand-text small { display: none; }

  .nav {
    display: none;
  }

  .header-call {
    grid-template-columns: auto;
    padding: 8px 12px;
    gap: 0;
  }

  .header-call-icon { display: none; }
  .header-call-text { display: inline-block; font-size: 0.84rem; letter-spacing: -0.01em; }
  .header-call small { display: none; }

  .hero {
    padding: var(--header-h) 22px 100px;
    min-height: calc(100vh - var(--header-h));
  }

  .hero-content { padding: 0; }
  .hero-eyebrow { margin: 0 0 18px; font-size: 0.7rem; letter-spacing: 0.16em; }
  .hero-title { font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.06; }
  .hero-sub { margin: 22px 0 0; font-size: 0.82rem; }

  .scroll-cue { bottom: 18px; }
  .scroll-cue-line { height: 42px; }

  .carousel-section { padding: 64px 16px; }
  .carousel-track { aspect-ratio: 4 / 5; }
  .carousel-text { padding: 22px 22px 26px; font-size: 1.4rem; }
  .carousel-dots button { width: 22px; }
  .carousel-dots button.is-active { width: 38px; }

  .about, .business, .strength, .numbers, .company, .contact, .process, .bt-voice { padding: 80px 18px; }

  .hero-vertical { display: none; }
  .hero-floats { left: 22px; bottom: 72px; gap: 18px; }
  .hero-float { padding-left: 10px; }
  .hero-float-label { font-size: 0.55rem; letter-spacing: 0.18em; }
  .hero-float-value { font-size: 1.1rem; }

  .bt-chapter {
    padding: calc(var(--header-h) + 32px) 22px clamp(80px, 14vh, 140px);
    gap: clamp(28px, 4vh, 48px);
  }
  .bt-chapter-num {
    font-size: clamp(10rem, 52vw, 18rem);
    right: -8vw;
  }
  .bt-chapter-eyebrow {
    font-size: 0.72rem;
    padding: 6px 14px;
    margin-bottom: 20px;
  }
  .bt-chapter-title {
    font-size: clamp(2rem, 8.6vw, 3.2rem);
  }
  .bt-chapter-sub {
    font-size: 0.92rem;
    line-height: 1.65;
    margin-top: 22px;
  }
  .bt-chapter-visual {
    aspect-ratio: 16 / 10;
    border-radius: 16px;
  }
  .bt-shape-1, .bt-shape-2 { width: 88vw; height: 88vw; }

  .bt-marquee { padding: 14px 0; }
  .bt-marquee-track { gap: 24px; font-size: 1.05rem; }

  .process-list::before, .process-list::after { left: 28px; }
  .process-step {
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding: 18px 22px 18px 0;
  }
  .process-num { width: 56px; font-size: 1.05rem; }
  .process-body h3 { font-size: 1.05rem; }

  .bt-voice-stage { grid-template-columns: 1fr; gap: 22px; }
  .bt-voice-pinned { position: relative; top: auto; padding: 22px; gap: 14px; }
  .bt-voice-quotemark { font-size: 3.4rem; }
  .bt-voice-card { padding: 24px 22px 22px; opacity: 1; transform: none; }

  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .section-lead { font-size: 0.92rem; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-inner h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }

  .business-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .business-body { padding: 22px 22px 24px; }
  .business-body h3 { font-size: 1.18rem; }

  .strength-list { gap: 16px; }

  .strength-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
    opacity: 1;
    transform: none;
  }

  .strength-body h3 { font-size: clamp(1.4rem, 6vw, 1.8rem); }
  .strength-progress { display: none; }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .number-item { padding: 22px 12px; }
  .number-value { font-size: clamp(1.3rem, 5.4vw, 1.7rem); }
  .number-label { font-size: 0.7rem; }
  .number-note { font-size: 0.7rem; }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px 8px;
  }

  .company-list dt { font-size: 0.78rem; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .phone-card { padding: 36px 20px; }
  .phone-number { font-size: clamp(1.7rem, 8vw, 2.2rem); }

  .contact-form { padding: 26px 20px; }

  .site-footer { flex-direction: column; padding: 32px 18px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .hero-title span { opacity: 1; transform: none; }
  .hero-sub { opacity: 1; }
}
