:root {
  color-scheme: light;
  --canvas: #f9f9f8;
  --canvas-soft: #f5f5f3;
  --canvas-warm: #eee9df;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --surface-muted: rgba(250, 249, 246, 0.78);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --text-primary: #1e2022;
  --text-secondary: #55595c;
  --text-muted: #858a8d;
  --primary-50: #eef3f8;
  --primary-100: #dce6f0;
  --primary-500: #2c3e50;
  --primary-700: #233650;
  --primary-900: #1a2b4c;
  --accent-100: #f0e7d4;
  --accent-300: #dcc999;
  --accent-500: #c7b48a;
  --accent-700: #9f875c;
  --line: rgba(26, 43, 76, 0.1);
  --line-strong: rgba(26, 43, 76, 0.16);
  --shadow-soft: 0 18px 52px rgba(31, 42, 58, 0.08), 0 4px 18px rgba(31, 42, 58, 0.04);
  --shadow-card: 0 12px 34px rgba(31, 42, 58, 0.07), 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  --shadow-hover: 0 24px 64px rgba(31, 42, 58, 0.13), 0 6px 20px rgba(31, 42, 58, 0.06);
  --shadow-primary: 0 18px 42px rgba(26, 43, 76, 0.22);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --container: min(1180px, calc(100vw - 56px));
  --wide: min(1360px, calc(100vw - 56px));
  --sans: "Noto Sans TC", "Inter", sans-serif;
  --serif: "Noto Serif TC", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--sans);
  color: var(--text-primary);
  background:
    radial-gradient(circle at 12% 6%, rgba(199, 180, 138, 0.2), transparent 30rem),
    radial-gradient(circle at 88% 10%, rgba(44, 62, 80, 0.11), transparent 28rem),
    linear-gradient(180deg, #fbfbfa 0%, var(--canvas) 46%, #f1eee6 100%);
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

html.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 4px rgba(26, 43, 76, 0.16);
}

summary:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 3px rgba(26, 43, 76, 0.12);
  border-radius: var(--radius-md);
}

.site-shell {
  position: relative;
  overflow: clip;
  min-height: 100vh;
}

.cursor-glow {
  position: fixed;
  z-index: 2;
  left: 0;
  top: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(199, 180, 138, 0.2), rgba(44, 62, 80, 0.08) 38%, transparent 68%);
  filter: blur(8px);
  transition: opacity 220ms ease-out, scale 180ms ease-out;
  will-change: transform;
}

.cursor-glow.is-visible {
  opacity: 1;
}

.cursor-glow.is-pressed {
  scale: 0.92;
}

.ambient-orb {
  position: fixed;
  z-index: 0;
  border-radius: 999px;
  filter: blur(82px);
  pointer-events: none;
  animation: float-orb 18s ease-in-out infinite;
}

.ambient-orb--primary {
  left: -12rem;
  top: -8rem;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(44, 62, 80, 0.12), transparent 68%);
}

.ambient-orb--warm {
  right: -10rem;
  top: 18rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(199, 180, 138, 0.22), transparent 68%);
  animation-delay: -6s;
}

.ambient-orb--bottom {
  left: 48%;
  bottom: -16rem;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(44, 62, 80, 0.08), transparent 70%);
  animation-delay: -10s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0 0;
  transition: padding 220ms ease-out;
}

.is-scrolled .site-header {
  padding-top: 10px;
}

.header-inner {
  position: relative;
  z-index: 90;
  width: var(--wide);
  margin: 0 auto;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 12px 18px 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(24px) saturate(1.24);
  box-shadow: 0 12px 36px rgba(26, 43, 76, 0.08);
  transition: min-height 220ms ease-out, background 220ms ease-out, box-shadow 220ms ease-out, border-color 220ms ease-out;
}

.is-scrolled .header-inner {
  min-height: 64px;
  border-color: rgba(26, 43, 76, 0.1);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 52px rgba(26, 43, 76, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  gap: 14px;
}

.brand-mark {
  width: 118px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
  max-width: 320px;
  padding-left: 14px;
  border-left: 1px solid rgba(26, 43, 76, 0.1);
}

.brand-copy strong {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary-900);
}

.brand-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-muted);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 6px;
}

.site-nav a {
  position: relative;
  padding: 10px 13px;
  border-radius: var(--radius-pill);
  color: rgba(30, 32, 34, 0.68);
  font-size: 0.94rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 180ms ease-out, background 180ms ease-out, transform 180ms ease-out;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--primary-900);
  background: rgba(26, 43, 76, 0.06);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 18px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--accent-500);
  transform: translateX(-50%);
}

.header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
}

.button-primary,
.button-secondary {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out, background 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out;
}

.header-actions .button-secondary {
  min-width: 144px;
}

.header-actions .button-primary {
  min-width: 156px;
}

.button-primary {
  border: 1px solid rgba(26, 43, 76, 0.9);
  color: #fff;
  background: linear-gradient(135deg, var(--primary-900), var(--primary-500));
  box-shadow: var(--shadow-primary);
}

.button-secondary {
  border: 1px solid rgba(26, 43, 76, 0.18);
  color: var(--primary-900);
  background: rgba(255, 255, 255, 0.58);
}

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

.button-primary:hover {
  box-shadow: 0 24px 56px rgba(26, 43, 76, 0.26);
}

.button-secondary:hover {
  border-color: rgba(26, 43, 76, 0.32);
  color: #fff;
  background: var(--primary-900);
  box-shadow: var(--shadow-soft);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  color: var(--primary-900);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(26, 43, 76, 0.12);
}

.menu-toggle .close-icon,
.menu-toggle.is-open .menu-icon {
  display: none;
}

.menu-toggle.is-open .close-icon {
  display: inline;
}

.site-menu-panel {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  align-items: stretch;
  justify-items: center;
  min-height: 100svh;
  padding: 0 24px 24px;
  background:
    radial-gradient(circle at 20% 18%, rgba(199, 180, 138, 0.24), transparent 28rem),
    rgba(249, 249, 248, 0.86);
  backdrop-filter: blur(20px);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(-12px);
  will-change: opacity, transform;
  -webkit-overflow-scrolling: touch;
  transition: opacity 280ms ease-out, visibility 280ms ease-out, transform 280ms ease-out;
}

.site-menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.menu-panel-inner {
  width: min(480px, 100%);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 100svh;
  max-height: 100svh;
  overflow-y: auto;
  padding: 112px 20px 30px;
  -webkit-overflow-scrolling: touch;
}

.menu-card strong {
  display: block;
  color: var(--primary-900);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.menu-card p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  line-height: 1.82;
}

.site-menu-panel nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-menu-panel nav a {
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  color: var(--primary-900);
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 200ms ease, transform 200ms ease;
}

.site-menu-panel nav a:hover,
.site-menu-panel nav a.is-active {
  background: rgba(255, 255, 255, 0.75);
  transform: translateX(4px);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.mobile-actions a {
  width: 100%;
  justify-content: center;
}

.mobile-only {
  display: none;
}

.section {
  position: relative;
  z-index: 1;
  padding: 112px 0;
}

.section--first {
  padding-top: 24px;
  padding-bottom: 0;
}

.section--tight {
  padding-top: 88px;
}

.section--compact {
  padding: 76px 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.wide-container {
  width: var(--wide);
  margin: 0 auto;
}

.eyebrow,
.service-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
}

.eyebrow::before,
.service-kicker::before {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-500), transparent);
}

.hero-abstract {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  min-height: min(72svh, 720px);
  border-top: 1px solid rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(105deg, rgba(249, 248, 245, 0.96) 0%, rgba(247, 243, 235, 0.9) 48%, rgba(30, 32, 34, 0.24) 100%),
    radial-gradient(circle at 76% 20%, rgba(199, 180, 138, 0.22), transparent 20rem),
    url("/assets/hero-b2b-consult.jpg") center center / cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
  isolation: isolate;
}

.hero-abstract::before,
.hero-abstract::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-abstract::before {
  right: -10rem;
  top: -12rem;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.18), transparent 34%),
    repeating-linear-gradient(120deg, rgba(26, 43, 76, 0.06) 0 1px, transparent 1px 18px);
  mask-image: radial-gradient(circle, #000 0 58%, transparent 74%);
  opacity: 0.64;
  animation: slow-drift 18s ease-in-out infinite;
}

.hero-abstract::after {
  left: -8rem;
  bottom: -14rem;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  border: 1px solid rgba(199, 180, 138, 0.24);
  background: radial-gradient(circle, rgba(199, 180, 138, 0.18), transparent 66%);
  filter: blur(4px);
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100vw - 72px));
  min-height: inherit;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: start;
  gap: 72px;
  padding: clamp(88px, 10vh, 118px) 0 72px;
}

.hero-copy {
  max-width: none;
  display: grid;
  justify-items: start;
}

.hero-copy h1,
.page-hero-copy h1,
.section-head h2,
.story-copy h2,
.feature-copy h2,
.simple-cta h2,
.contact-direct-copy h2 {
  margin: 18px 0 0;
  color: var(--text-primary);
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-copy h1 {
  max-width: 100%;
  font-size: clamp(2.6rem, 4.2vw, 3.5rem);
  line-height: 1.1;
}

.hero-copy h1 span,
.page-hero-title span {
  display: block;
  white-space: normal;
  text-wrap: balance;
}

@media (min-width: 1440px) {
  .hero-grid {
    width: min(1360px, calc(100vw - 72px));
    grid-template-columns: minmax(0, 1fr) minmax(360px, 400px);
    gap: 56px;
  }

  .hero-copy h1 span {
    white-space: nowrap;
    text-wrap: nowrap;
  }
}

.hero-description {
  max-width: 39rem;
  margin: 30px 0 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.92;
  text-wrap: pretty;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  max-width: 540px;
}

.hero-meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid rgba(26, 43, 76, 0.1);
  border-radius: var(--radius-pill);
  color: var(--primary-900);
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(14px);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-insight-panel {
  position: relative;
  overflow: hidden;
  align-self: start;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.48)),
    radial-gradient(circle at 82% 18%, rgba(199, 180, 138, 0.22), transparent 15rem);
  backdrop-filter: blur(22px) saturate(1.12);
  box-shadow: var(--shadow-soft);
}

.hero-insight-panel::before {
  content: "";
  position: absolute;
  inset: auto -18% -42% 26%;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(26, 43, 76, 0.12), transparent 68%);
}

.hero-insight-panel > * {
  position: relative;
  z-index: 1;
}

.hero-insight-panel h2 {
  margin: 16px 0 0;
  color: var(--primary-900);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.hero-insight-panel p {
  margin: 16px 0 0;
  color: var(--text-secondary);
  line-height: 1.86;
}

.mini-flow {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.mini-flow span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 11px 14px;
  border: 1px solid rgba(26, 43, 76, 0.1);
  border-radius: var(--radius-md);
  color: var(--primary-900);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  font-weight: 700;
}

.mini-flow span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-500);
  box-shadow: 0 0 0 5px rgba(199, 180, 138, 0.16);
}

.mini-flow-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent-700);
}

.hero-actions .button-primary,
.hero-actions .button-secondary,
.simple-cta .button-primary,
.simple-cta .button-secondary {
  min-width: 196px;
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.orbital-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.32)),
    radial-gradient(circle at 70% 18%, rgba(199, 180, 138, 0.28), transparent 18rem);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.orbital-card::before {
  content: "";
  position: absolute;
  inset: 54px;
  border: 1px solid rgba(26, 43, 76, 0.12);
  border-radius: 50%;
}

.orbital-card::after {
  content: "";
  position: absolute;
  inset: 94px;
  border: 1px solid rgba(199, 180, 138, 0.34);
  border-radius: 50%;
}

.strategy-map {
  position: absolute;
  inset: 12%;
  display: grid;
  place-items: center;
}

.strategy-map strong {
  width: 170px;
  height: 170px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--primary-900), var(--primary-500));
  box-shadow: var(--shadow-primary);
}

.strategy-point {
  position: absolute;
  display: grid;
  gap: 6px;
  min-width: 132px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.strategy-point b {
  color: var(--primary-900);
  font-size: 0.98rem;
}

.strategy-point span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.strategy-point--a {
  top: 2%;
  left: 6%;
}

.strategy-point--b {
  top: 18%;
  right: -2%;
}

.strategy-point--c {
  bottom: 14%;
  left: -3%;
}

.strategy-point--d {
  right: 10%;
  bottom: 0;
}

.page-hero,
.soft-hero {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 78% 24%, rgba(199, 180, 138, 0.24), transparent 22rem),
    radial-gradient(circle at 18% 10%, rgba(44, 62, 80, 0.1), transparent 24rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 241, 233, 0.76));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
  isolation: isolate;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.page-hero::before {
  right: -10rem;
  top: -12rem;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 180, 138, 0.2), transparent 68%);
  filter: blur(10px);
}

.page-hero::after {
  right: 6%;
  bottom: -12rem;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  border: 1px solid rgba(26, 43, 76, 0.08);
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.3), transparent 36%),
    repeating-linear-gradient(120deg, rgba(26, 43, 76, 0.05) 0 1px, transparent 1px 16px);
  opacity: 0.72;
  mask-image: radial-gradient(circle, #000 0 58%, transparent 74%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.5fr);
  width: min(1280px, calc(100vw - 64px));
  margin: 0 auto;
  gap: 56px;
  align-items: start;
  min-height: min(78svh, 680px);
  padding: 132px 0 72px;
}

.page-hero-copy {
  max-width: 780px;
}

.page-hero-copy small {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-700);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.page-hero-copy small::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--accent-500);
}

.page-hero-copy h1 {
  max-width: min(11.4em, 100%);
  font-size: clamp(2.2rem, 3.35vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.page-hero-title .nowrap {
  white-space: nowrap;
}

body[data-page="about"] .page-hero-title .nowrap {
  white-space: normal;
}

@media (min-width: 1024px) {
  body[data-page="about"] .page-hero-title .nowrap {
    white-space: nowrap;
  }
}

.page-hero-copy p {
  max-width: 39rem;
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: 1.04rem;
  line-height: 1.88;
}

.page-hero-panel,
.glass-panel {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.page-hero-panel {
  max-width: 390px;
  justify-self: end;
}

body[data-page="insights"] .page-hero--light::after,
body[data-page="contact"] .page-hero--light::after {
  right: 0;
  bottom: -15rem;
  width: 34rem;
  height: 34rem;
  opacity: 0.38;
}

body[data-page="insights"] .page-hero--light .page-hero-content,
body[data-page="contact"] .page-hero--light .page-hero-content {
  grid-template-columns: minmax(0, 1fr);
  width: min(1040px, calc(100vw - 64px));
  gap: 30px;
  min-height: auto;
  padding: 116px 0 44px;
}

body[data-page="insights"] .page-hero--light .page-hero-copy,
body[data-page="contact"] .page-hero--light .page-hero-copy {
  max-width: 840px;
}

body[data-page="contact"] .page-hero--light .page-hero-copy {
  max-width: 760px;
}

body[data-page="contact"] .page-hero--light .page-hero-copy {
  max-width: 720px;
}

body[data-page="insights"] .page-hero--light .page-hero-copy p,
body[data-page="contact"] .page-hero--light .page-hero-copy p {
  max-width: 42rem;
}

body[data-page="insights"] .page-hero--light .page-hero-panel,
body[data-page="contact"] .page-hero--light .page-hero-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: none;
  justify-self: stretch;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

body[data-page="contact"] .page-hero--light .page-hero-panel {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page="about"] .page-hero--balanced::after,
body[data-page="services"] .page-hero--balanced::after {
  right: 2%;
  bottom: -14rem;
  width: 36rem;
  height: 36rem;
  opacity: 0.48;
}

body[data-page="about"] .page-hero--balanced .page-hero-content,
body[data-page="services"] .page-hero--balanced .page-hero-content {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  width: min(1180px, calc(100vw - 64px));
  gap: 40px;
  min-height: min(72svh, 620px);
  padding: 122px 0 58px;
}

body[data-page="about"] .page-hero--balanced .page-hero-copy,
body[data-page="services"] .page-hero--balanced .page-hero-copy {
  max-width: 740px;
}

body[data-page="about"] .page-hero--balanced .page-hero-copy {
  max-width: 700px;
}

body[data-page="about"] .page-hero--balanced .page-hero-copy p,
body[data-page="services"] .page-hero--balanced .page-hero-copy p {
  max-width: 36rem;
}

body[data-page="about"] .page-hero--balanced .page-hero-panel,
body[data-page="services"] .page-hero--balanced .page-hero-panel {
  max-width: 340px;
  padding: 20px 22px;
  border-color: rgba(26, 43, 76, 0.08);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 22px rgba(0, 0, 0, 0.04);
}

body[data-page="about"] .page-hero--balanced .page-hero-panel h2,
body[data-page="services"] .page-hero--balanced .page-hero-panel h2 {
  font-size: clamp(1.22rem, 1.8vw, 1.7rem);
  line-height: 1.3;
}

body[data-page="about"] .page-hero--balanced .page-hero-panel p,
body[data-page="services"] .page-hero--balanced .page-hero-panel p {
  margin-top: 10px;
  line-height: 1.78;
}

.hero-support-card {
  min-height: 100%;
  padding: 18px 20px;
  border: 1px solid rgba(26, 43, 76, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 6px 18px rgba(0, 0, 0, 0.04);
}

.hero-support-card p,
.hero-support-card a {
  margin: 10px 0 0;
  color: var(--text-secondary);
  line-height: 1.8;
}

.hero-support-card a {
  display: inline-flex;
  align-items: center;
  color: var(--primary-900);
  text-decoration-color: rgba(26, 43, 76, 0.16);
}

.hero-contact-link {
  font-family: "Inter", var(--sans);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.hero-contact-link:hover,
.hero-contact-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.page-hero-panel h2 {
  margin: 12px 0 0;
  color: var(--primary-900);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.26;
  letter-spacing: -0.03em;
}

.page-hero-panel p {
  margin: 12px 0 0;
  color: var(--text-secondary);
}

.page-hero-panel a,
.contact-detail-list > div a {
  color: var(--primary-900);
  text-decoration: underline;
  text-decoration-color: rgba(26, 43, 76, 0.16);
  text-underline-offset: 0.18em;
}

.section-head {
  max-width: 820px;
}

.section-head--center {
  margin: 0 auto;
  text-align: center;
}

.section-head h2,
.story-copy h2,
.feature-copy h2,
.simple-cta h2,
.contact-direct-copy h2 {
  font-size: clamp(1.85rem, 3.4vw, 3.15rem);
  line-height: 1.22;
}

.section-head p,
.story-copy p,
.feature-copy p,
.simple-cta p,
.contact-direct-copy p {
  margin: 20px 0 0;
  max-width: 44rem;
  color: var(--text-secondary);
  line-height: 1.9;
  text-wrap: pretty;
}

.journal-feature-copy h2 {
  margin: 14px 0 0;
  color: var(--text-primary);
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.journal-feature-copy p {
  margin: 18px 0 0;
  color: var(--text-secondary);
  line-height: 1.9;
}

.story-section,
.feature-split,
.contact-direct,
.journal-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 76px;
  align-items: center;
}

body[data-page="home"] .section--first + .section {
  padding-top: 52px;
}

body[data-page="insights"] .section--first + .section,
body[data-page="contact"] .section--first + .section {
  padding-top: 34px;
}

.story-section--reverse,
.feature-split--reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.image-card,
.story-frame,
.feature-media,
.journal-feature-media {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: var(--shadow-soft);
}

.image-card img,
.story-frame img,
.feature-media img,
.journal-feature-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.75) brightness(1.08) contrast(0.9);
}

.feature-media--compact {
  min-height: 360px;
}

.image-card::after,
.story-frame::after,
.feature-media::after,
.journal-feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(249, 249, 248, 0.78));
}

.floating-note,
.story-frame-note,
.journal-feature-caption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
}

.floating-note strong,
.story-frame-note strong,
.journal-feature-caption strong {
  color: var(--primary-900);
}

.floating-note p,
.story-frame-note p,
.journal-feature-caption p {
  margin: 8px 0 0;
  color: var(--text-secondary);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 50px;
}

body[data-page="services"] .service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 32px 30px;
  border: 1px solid rgba(26, 43, 76, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.service-card[id] {
  scroll-margin-top: 128px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -18% -42% 18%;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 180, 138, 0.22), transparent 68%);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(26, 43, 76, 0.22);
  box-shadow: var(--shadow-hover);
}

.service-card span {
  color: var(--accent-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.service-card h3 {
  margin: 26px 0 0;
  color: var(--primary-900);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.24;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--text-secondary);
  line-height: 1.85;
}

.service-card small {
  display: inline-flex;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.trust-strip {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(26, 43, 76, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(26, 43, 76, 0.1);
  box-shadow: var(--shadow-card);
}

.trust-strip article {
  min-height: 196px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
}

.trust-strip em {
  color: var(--accent-700);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.trust-strip strong {
  color: var(--primary-900);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.trust-strip p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.78;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 72px;
  align-items: start;
}

.feature-photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.feature-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform 360ms ease-out;
}

.feature-photo:hover img {
  transform: scale(1.03);
}

.strategy-board {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  column-gap: 40px;
  align-items: start;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(26, 43, 76, 0.12);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 12%, rgba(199, 180, 138, 0.22), transparent 18rem),
    rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
}

.strategy-board h3 {
  grid-column: 1;
  grid-row: 2;
  margin: 14px 0 0;
  color: var(--primary-900);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.strategy-grid {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
}

.strategy-grid article {
  min-height: 158px;
  padding: 20px;
  border: 1px solid rgba(26, 43, 76, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  transition: transform 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
}

.strategy-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(26, 43, 76, 0.2);
  box-shadow: var(--shadow-card);
}

.strategy-grid strong {
  color: var(--primary-900);
  font-size: 1.02rem;
}

.strategy-grid p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  line-height: 1.76;
}

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

.service-grid--feature .service-card:first-child {
  grid-row: auto;
  min-height: auto;
}

.service-grid--feature .service-card:first-child h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.service-card--rich {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.service-card--rich i {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(26, 43, 76, 0.08);
  font-family: "Inter", var(--sans);
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  font-style: normal;
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.service-card--rich b {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 0 0;
  color: var(--primary-900);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
}

.service-card--rich b::after {
  content: "→";
  transition: transform 180ms ease-out;
}

.service-card--rich:hover b::after {
  transform: translateX(4px);
}

/* Service Card with Image */
.service-card--has-img {
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.service-card--has-img::before {
  display: none;
}

.service-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) brightness(1.02);
  transition: transform 400ms ease-out;
}

.service-card--has-img:hover .service-card-img img {
  transform: scale(1.06);
}

.service-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 30px 30px;
}

.service-card-body i {
  position: absolute;
  top: 14px;
  right: 18px;
  color: rgba(26, 43, 76, 0.06);
  font-family: "Inter", var(--sans);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-style: normal;
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.08em;
}

.service-card-body b {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 0 0;
  color: var(--primary-900);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
}

.process-panel {
  overflow: hidden;
  padding: 48px;
  border-radius: var(--radius-lg);
  color: #f7f3ea;
  background:
    radial-gradient(circle at 84% 18%, rgba(199, 180, 138, 0.22), transparent 20rem),
    linear-gradient(135deg, #1a2b4c 0%, #2c3e50 100%);
  box-shadow: var(--shadow-primary);
}

.process-panel .eyebrow,
.process-panel .section-head h2,
.process-panel .section-head p {
  color: inherit;
}

.process-panel .eyebrow::before {
  background: linear-gradient(90deg, rgba(240, 231, 212, 0.9), transparent);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.process-steps article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
  transition: transform 180ms ease-out, background 180ms ease-out, border-color 180ms ease-out;
}

.process-steps article:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
}

.process-steps strong {
  color: var(--accent-300);
  font-family: "Inter", var(--sans);
  font-size: 0.84rem;
  letter-spacing: 0.16em;
}

.process-steps h3 {
  margin: 26px 0 0;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.35;
}

.process-steps p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.78;
}

.proof-grid,
.role-cards,
.compare-grid,
.article-grid {
  display: grid;
  gap: 20px;
}

.proof-grid {
  grid-template-columns: 1.12fr 1fr 1fr;
  margin-top: 42px;
}

.proof-grid article,
.role-cards article,
.compare-grid article,
.article-grid article,
.about-stats article {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(26, 43, 76, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
}

.proof-grid article:hover,
.role-cards article:hover,
.compare-grid article:hover,
.article-grid article:hover,
.about-stats article:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 43, 76, 0.22);
  box-shadow: var(--shadow-hover);
}

.proof-grid span,
.role-cards span,
.compare-grid span,
.article-grid span,
.about-stats span,
.service-detail-list span {
  color: var(--accent-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.proof-grid h3,
.role-cards h3,
.compare-grid strong,
.article-grid h3,
.about-stats h3 {
  margin: 18px 0 0;
  color: var(--primary-900);
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.proof-grid p,
.role-cards p,
.compare-grid p,
.article-grid p,
.about-stats p {
  margin: 14px 0 0;
  color: var(--text-secondary);
  line-height: 1.82;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: 52px;
  align-items: start;
  padding: 46px;
  border: 1px solid rgba(26, 43, 76, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid rgba(26, 43, 76, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  transition: border-color 180ms ease-out, box-shadow 180ms ease-out;
}

.faq-list details[open],
.faq-list details:hover {
  border-color: rgba(26, 43, 76, 0.2);
  box-shadow: var(--shadow-card);
}

.faq-list summary {
  min-height: 58px;
  padding: 18px 20px;
  color: var(--primary-900);
  font-weight: 700;
  line-height: 1.65;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--text-secondary);
  line-height: 1.82;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 68px;
  align-items: start;
}

.role-cards {
  grid-template-columns: 1fr;
}

.milestone-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: start;
  padding: 46px;
  border-radius: var(--radius-lg);
  color: #f7f3ea;
  background:
    radial-gradient(circle at 12% 0%, rgba(199, 180, 138, 0.22), transparent 18rem),
    linear-gradient(135deg, #1a2b4c 0%, #243d5a 100%);
  box-shadow: var(--shadow-primary);
}

.milestone-panel .eyebrow,
.milestone-panel h2 {
  color: inherit;
}

.milestone-panel h2 {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.2vw, 3rem);
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.milestone-list {
  display: grid;
  gap: 14px;
}

.milestone-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
}

.milestone-list strong {
  color: var(--accent-300);
  font-family: "Inter", var(--sans);
  letter-spacing: 0.12em;
}

.milestone-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.82;
}

.service-detail-list {
  display: grid;
  gap: 18px;
}

.service-detail-list article {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: 42px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.service-detail-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.service-detail-list h2 {
  margin: 12px 0 0;
  color: var(--primary-900);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.service-detail-list p {
  margin: 8px 0 0;
  color: var(--text-secondary);
  line-height: 1.85;
}

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

.service-detail-list li {
  position: relative;
  padding: 14px 16px 14px 38px;
  border: 1px solid rgba(26, 43, 76, 0.09);
  border-radius: var(--radius-md);
  color: var(--primary-900);
  background: rgba(255, 255, 255, 0.6);
  font-weight: 700;
}

.service-detail-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-500);
  transform: translateY(-50%);
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.service-detail-actions .button-primary,
.service-detail-actions .button-secondary {
  min-height: 46px;
}

.compare-panel {
  padding: 46px;
  border: 1px solid rgba(26, 43, 76, 0.1);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 10%, rgba(199, 180, 138, 0.18), transparent 17rem),
    rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}

.compare-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
}

.compare-grid strong {
  display: block;
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.category-row a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid rgba(26, 43, 76, 0.12);
  border-radius: var(--radius-pill);
  color: var(--primary-900);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 180ms ease-out, border-color 180ms ease-out, background 180ms ease-out;
}

.category-row a:hover {
  transform: translateY(-1px);
  border-color: rgba(26, 43, 76, 0.24);
  background: rgba(255, 255, 255, 0.9);
}

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

.article-grid article {
  display: flex;
  min-height: 330px;
  flex-direction: column;
}

.article-grid a {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: var(--primary-900);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.principle-list,
.journal-list,
.contact-detail-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.principle-item,
.journal-list article,
.contact-detail-list > div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) minmax(160px, auto);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.contact-detail-list > div strong {
  display: block;
  color: var(--primary-900);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-detail-list > div {
  grid-template-columns: 160px minmax(0, 1fr);
}

.contact-support-stack {
  display: grid;
  gap: 24px;
}

.contact-detail-list--card {
  padding: 0 28px;
  border: 1px solid rgba(26, 43, 76, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-card);
}

.contact-detail-list--card > div {
  padding: 24px 0;
}

.principle-item strong,
.journal-list article strong {
  color: rgba(26, 43, 76, 0.42);
  font-size: 1.2rem;
  font-weight: 500;
}

.principle-item h3,
.journal-list h3 {
  margin: 0;
  color: var(--primary-900);
  font-size: clamp(1.35rem, 2.6vw, 2.4rem);
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.principle-item p,
.journal-list p,
.contact-detail-list p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  line-height: 1.85;
}

.principle-item small {
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.soft-band {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  min-height: 480px;
  display: grid;
  align-items: center;
  padding: 80px max(28px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(180deg, rgba(249, 249, 248, 0.15), rgba(249, 249, 248, 0.88)),
    url("/assets/editorial-notes.jpg") center / cover;
}

.soft-band--lobby {
  background:
    linear-gradient(180deg, rgba(249, 249, 248, 0.12), rgba(249, 249, 248, 0.88)),
    url("/assets/services-strategy-workshop.jpg") center / cover;
}

.soft-band--lines {
  background:
    linear-gradient(180deg, rgba(249, 249, 248, 0.12), rgba(249, 249, 248, 0.90)),
    url("/assets/contact-consultation-entry.jpg") center / cover;
}

.soft-band--conversation {
  background:
    linear-gradient(180deg, rgba(249, 249, 248, 0.12), rgba(249, 249, 248, 0.88)),
    url("/assets/about-consulting-conversation.jpg") center / cover;
}

.soft-band--strategy {
  background:
    linear-gradient(180deg, rgba(249, 249, 248, 0.12), rgba(249, 249, 248, 0.88)),
    url("/assets/services-strategy-workshop.jpg") center / cover;
}

.soft-band--entry {
  background:
    linear-gradient(180deg, rgba(249, 249, 248, 0.12), rgba(249, 249, 248, 0.9)),
    url("/assets/contact-consultation-entry.jpg") center / cover;
}

.soft-band__copy {
  max-width: 680px;
  padding: 48px 44px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
}

.soft-band__copy p {
  margin: 16px 0 0;
  color: var(--text-secondary);
  line-height: 1.85;
}

.soft-band__copy .button-row {
  margin-top: 28px;
}

.soft-band__copy h2 {
  margin: 12px 0 0;
  color: var(--primary-900);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.32;
  letter-spacing: -0.03em;
}

.simple-cta {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 60px 58px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-xl);
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(26, 43, 76, 0.92) 0%, rgba(44, 62, 80, 0.88) 100%),
    url("/assets/brand-lobby.webp") center center / cover;
  box-shadow: var(--shadow-primary);
  color: #f7f3ea;
}

.simple-cta .eyebrow {
  color: var(--accent-300);
}

.simple-cta .eyebrow::before {
  background: linear-gradient(90deg, rgba(240, 231, 212, 0.9), transparent);
}

.simple-cta h2 {
  color: #fff;
}

.simple-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.simple-cta .button-primary {
  border-color: rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, var(--accent-500), var(--accent-700));
  color: var(--primary-900);
}

.simple-cta .button-secondary {
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.simple-cta .button-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.simple-cta .button-row {
  justify-content: center;
  align-items: stretch;
}

.contact-number {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px 28px;
  border: 2px solid var(--primary-900);
  border-radius: var(--radius-md);
  color: var(--primary-900);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  transition: background 200ms ease, color 200ms ease;
}

.contact-number:hover {
  background: var(--primary-900);
  color: #fff;
}

.line-contact {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 80;
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.line-contact[hidden] {
  display: none;
}

body:not(.line-dock-active) .line-contact {
  opacity: 0;
  transform: translateY(18px);
}

body.line-dock-active .line-contact {
  opacity: 1;
  transform: translateY(0);
}

.line-float {
  position: relative;
  display: inline-flex;
  width: 66px;
  height: 66px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  color: #fff;
  background: linear-gradient(135deg, #06c755, #03b84c);
  border: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 42px rgba(6, 199, 85, 0.3), 0 8px 18px rgba(3, 137, 57, 0.16);
  pointer-events: auto;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out, filter 180ms ease-out;
}

.line-float::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  background: rgba(6, 199, 85, 0.18);
  transform: scale(0.92);
  opacity: 0;
  transition: opacity 180ms ease-out, transform 180ms ease-out;
}

.line-float span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 34px;
  color: transparent;
  background: none;
  font-family: "Inter", var(--sans);
  font-size: 0;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: none;
}

.line-float span::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    center / 100% 100% no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 38'%3E%3Cpath fill='%23fff' d='M24 3C13.507 3 5 9.812 5 18.214c0 4.657 2.608 8.825 6.707 11.6l-1.772 6.122a.77.77 0 0 0 1.116.871l7.079-3.734c1.909.405 3.884.607 5.87.6 10.493 0 19-6.812 19-15.214S34.493 3 24 3Z'/%3E%3Ctext x='24' y='22.5' text-anchor='middle' font-family='Arial,Helvetica,sans-serif' font-size='10.5' font-weight='800' fill='%2306C755'%3ELINE%3C/text%3E%3C/svg%3E");
}

.line-float:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 24px 58px rgba(6, 199, 85, 0.34), 0 10px 24px rgba(3, 137, 57, 0.18);
}

.line-float:hover::before,
.line-float[aria-expanded="true"]::before {
  opacity: 1;
  transform: scale(1);
}

.line-float:focus-visible {
  box-shadow: 0 0 0 4px rgba(6, 199, 85, 0.2), 0 22px 54px rgba(6, 199, 85, 0.34);
}

.line-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(340px, calc(100vw - 44px));
  padding: 24px;
  border: 1px solid rgba(26, 43, 76, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(24px) saturate(1.18);
  box-shadow: 0 24px 64px rgba(31, 42, 58, 0.14), 0 8px 20px rgba(26, 43, 76, 0.08);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transform-origin: bottom right;
  visibility: hidden;
  transition:
    opacity 190ms ease-out,
    transform 190ms ease-out,
    visibility 190ms ease-out;
}

.line-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.line-panel-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 43, 76, 0.08);
  transition: transform 160ms ease-out, background 160ms ease-out, color 160ms ease-out;
}

.line-panel-close:hover {
  color: var(--primary-900);
  background: rgba(255, 255, 255, 0.94);
  transform: translateY(-1px);
}

.line-panel strong {
  display: block;
  margin-top: 10px;
  max-width: 14rem;
  color: var(--primary-900);
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.34;
  letter-spacing: -0.02em;
}

.line-panel p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.78;
}

.line-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.line-panel-actions a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 15px;
  border-radius: var(--radius-pill);
  color: var(--primary-900);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(26, 43, 76, 0.12);
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 160ms ease-out, border-color 160ms ease-out, background 160ms ease-out;
}

.line-panel-actions a:first-child {
  color: #fff;
  background: linear-gradient(135deg, #1a2b4c, #2c3e50);
  border-color: rgba(26, 43, 76, 0.28);
  box-shadow: 0 12px 28px rgba(26, 43, 76, 0.18);
}

.line-panel-actions a:hover {
  transform: translateY(-1px);
  border-color: rgba(26, 43, 76, 0.28);
}

.no-js-contact {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 79;
  display: grid;
  gap: 10px;
  width: min(232px, calc(100vw - 32px));
}

.no-js-contact a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  color: var(--primary-900);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 43, 76, 0.12);
  box-shadow: 0 18px 42px rgba(31, 42, 58, 0.12), 0 6px 18px rgba(31, 42, 58, 0.06);
  font-size: 0.94rem;
  font-weight: 700;
}

.no-js-contact a:last-child {
  color: #fff;
  background: linear-gradient(135deg, #223650, #1a2b4c);
  border-color: rgba(26, 43, 76, 0.26);
}

.article-shell {
  position: relative;
}

.article-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 520px;
  background:
    radial-gradient(circle at 18% 18%, rgba(199, 180, 138, 0.22), transparent 18rem),
    radial-gradient(circle at 82% 22%, rgba(26, 43, 76, 0.08), transparent 20rem),
    linear-gradient(180deg, rgba(249, 248, 245, 0.92), rgba(249, 248, 245, 0));
  pointer-events: none;
  z-index: 0;
}

.article-shell > * {
  position: relative;
  z-index: 1;
}

.article-hero {
  width: min(1040px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 132px 0 52px;
}

body[data-page="insights"][data-template="article"] .article-hero--cover {
  width: min(980px, calc(100vw - 48px));
  padding: 124px 0 34px;
}

body[data-page="insights"][data-template="article"] .article-hero--cover[data-article-slug="telemarketing-followup-flow"],
body[data-page="insights"][data-template="article"] .article-hero--cover[data-article-slug="service-page-search-intent"],
body[data-page="insights"][data-template="article"] .article-hero--cover[data-article-slug="grant-fit-before-apply"],
body[data-page="insights"][data-template="article"] .article-hero--cover[data-article-slug="website-role-before-redesign"] {
  width: min(980px, calc(100vw - 48px));
}

.article-hero-head {
  max-width: 800px;
}

body[data-page="insights"][data-template="article"] .article-hero--cover .article-hero-head {
  max-width: 760px;
}

.article-meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
}

.article-hero h1 {
  max-width: 14ch;
  margin: 18px 0 0;
  color: var(--primary-900);
  font-size: clamp(2.2rem, 3.85vw, 3.45rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

body[data-page="insights"][data-template="article"] .article-hero--cover h1 {
  max-width: 13.5ch;
  margin-top: 14px;
  font-size: clamp(2rem, 3.25vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -0.048em;
}

.article-lead {
  max-width: 42rem;
  margin: 24px 0 0;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.9;
}

body[data-page="insights"][data-template="article"] .article-hero--cover .article-lead {
  max-width: 40rem;
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.84;
  text-wrap: pretty;
}

.article-cover {
  margin-top: 34px;
}

body[data-page="insights"][data-template="article"] .article-hero--cover .article-cover {
  margin-top: 28px;
}

.article-cover img {
  width: 100%;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

body[data-page="insights"][data-template="article"] .article-hero--cover .article-cover img {
  aspect-ratio: 16 / 8.4;
  border-color: rgba(255, 255, 255, 0.84);
  box-shadow:
    0 18px 42px rgba(26, 43, 76, 0.12),
    0 6px 18px rgba(26, 43, 76, 0.08);
  object-position: center;
}

.article-layout {
  width: min(980px, calc(100vw - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 44px;
  align-items: start;
  padding-bottom: 48px;
}

.article-content {
  display: grid;
  gap: 28px;
}

.article-block {
  padding: 34px;
  border: 1px solid rgba(26, 43, 76, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
}

.article-block h2 {
  margin: 0;
  color: var(--primary-900);
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.article-block p {
  margin: 16px 0 0;
  color: var(--text-secondary);
  line-height: 1.9;
}

.article-block ul,
.article-block ol {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--text-secondary);
  line-height: 1.82;
}

.article-aside {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 16px;
}

.article-aside-card {
  padding: 24px;
  border: 1px solid rgba(26, 43, 76, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-card);
}

.article-aside-card h2,
.article-aside-card h3 {
  margin: 10px 0 0;
  color: var(--primary-900);
  font-size: 1.2rem;
  line-height: 1.35;
}

.article-aside-card p {
  margin: 12px 0 0;
  color: var(--text-secondary);
  line-height: 1.82;
}

.article-outline {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.article-outline a {
  display: block;
  color: var(--primary-900);
  font-weight: 700;
  line-height: 1.65;
}

.article-related-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.article-related-list a {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(26, 43, 76, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
  color: var(--primary-900);
  font-weight: 700;
  line-height: 1.65;
  transition: transform 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
}

.article-related-list a:hover {
  transform: translateY(-1px);
  border-color: rgba(26, 43, 76, 0.22);
  box-shadow: var(--shadow-card);
}

.article-cta {
  width: min(980px, calc(100vw - 48px));
  margin: 0 auto;
  padding-bottom: 88px;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 36px 0 28px;
}

.footer-shell {
  width: var(--container);
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 58px;
}

.footer-lead {
  max-width: 32rem;
  margin: 18px 0 0;
  color: var(--text-secondary);
}

.footer-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
}

.footer-meta strong {
  display: block;
  color: var(--primary-900);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.footer-meta nav,
.footer-contact {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  color: var(--text-secondary);
}

.footer-contact-link--address {
  line-height: 1.75;
  max-width: 18rem;
  text-wrap: pretty;
}

.footer-note {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 680ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes float-orb {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -18px, 0) scale(1.04);
  }
}

@keyframes slow-drift {
  0%,
  100% {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }
  50% {
    transform: rotate(8deg) translate3d(-18px, 24px, 0);
  }
}

@media (max-width: 1279px) {
  .header-inner {
    gap: 12px;
    padding-inline: 16px;
  }

  .brand-mark {
    width: 108px;
  }

  .brand-copy {
    max-width: 230px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding-inline: 10px;
    font-size: 0.9rem;
  }

  .header-actions .button-secondary.desktop-only {
    display: none;
  }

  .header-actions .button-primary {
    min-width: 152px;
    padding-inline: 18px;
  }

  .hero-grid,
  .page-hero-content,
  .story-section,
  .story-section--reverse,
  .feature-split,
  .feature-split--reverse,
  .intro-grid,
  .team-grid,
  .milestone-panel,
  .faq-section,
  .contact-direct,
  .journal-feature,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .strategy-board {
    grid-template-columns: 1fr;
    row-gap: 24px;
  }

  .strategy-board h3,
  .strategy-grid {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-insight-panel,
  .page-hero-panel {
    justify-self: stretch;
  }

  .hero-visual {
    min-height: 440px;
  }

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

  body[data-page="services"] .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid--feature .service-card:first-child {
    grid-row: auto;
  }
}

@media (max-width: 1120px) {
  .brand-copy {
    display: none;
  }

  .site-nav a {
    padding-inline: 9px;
  }
}

@media (max-width: 1023px) {
  .site-header {
    padding-top: 12px;
  }

  .site-menu-panel {
    padding: 0 14px 22px;
  }

  .header-inner {
    width: calc(100vw - 28px);
    min-height: 62px;
    padding: 10px 10px 10px 14px;
  }

  .brand-copy,
  .site-nav,
  .header-actions .desktop-only {
    display: none;
  }

  .mobile-only,
  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid {
    width: calc(100% - 40px);
    min-height: min(82svh, 720px);
    padding: 84px 0 44px;
    gap: 28px;
  }

  .hero-copy h1 span {
    white-space: normal;
    text-wrap: balance;
  }

  .hero-copy {
    max-width: 40rem;
  }

  .hero-abstract {
    min-height: min(84svh, 780px);
    background-position: center;
  }

  .page-hero-content {
    min-height: auto;
    width: calc(100vw - 40px);
    padding: 112px 0 48px;
    gap: 28px;
  }

  body[data-page="insights"] .page-hero--light .page-hero-content,
  body[data-page="contact"] .page-hero--light .page-hero-content {
    width: calc(100vw - 40px);
    padding: 104px 0 34px;
    gap: 22px;
  }

  body[data-page="about"] .page-hero--balanced .page-hero-content,
  body[data-page="services"] .page-hero--balanced .page-hero-content {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.4fr);
    width: calc(100vw - 40px);
    gap: 26px;
    padding: 108px 0 42px;
  }

  .page-hero-panel {
    max-width: none;
    justify-self: stretch;
  }

  body[data-page="contact"] .page-hero--light .page-hero-panel {
    grid-template-columns: 1fr;
  }

  body[data-page="about"] .page-hero--balanced .page-hero-panel,
  body[data-page="services"] .page-hero--balanced .page-hero-panel {
    max-width: none;
  }

  .section {
    padding: 78px 0;
  }

  .section--compact {
    padding: 58px 0;
  }

  .story-section,
  .feature-split,
  .intro-grid,
  .team-grid,
  .milestone-panel,
  .contact-direct,
  .journal-feature {
    gap: 42px;
  }

  body[data-page="home"] .section--first + .section {
    padding-top: 46px;
  }

  .trust-strip,
  .about-stats,
  .compare-grid,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-list article {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 767px) {
  :root {
    --container: calc(100vw - 28px);
    --wide: calc(100vw - 28px);
  }

  body {
    line-height: 1.75;
  }

  .header-inner {
    width: calc(100vw - 24px);
  }

  .site-menu-panel {
    padding: 0 12px 18px;
  }

  .menu-panel-inner {
    gap: 20px;
    min-height: 100svh;
    max-height: 100svh;
    padding: 66px 16px 22px;
    border-radius: var(--radius-lg);
  }

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

  .hero-grid {
    width: calc(100% - 28px);
    min-height: auto;
    padding: 56px 0 32px;
    gap: 20px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .article-hero,
  .article-layout,
  .article-cta {
    width: calc(100vw - 28px);
  }

  .article-hero {
    padding: 88px 0 34px;
  }

  body[data-page="insights"][data-template="article"] .article-hero--cover {
    width: calc(100vw - 28px);
    padding: 84px 0 28px;
  }

  .article-hero h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 8vw, 2.85rem);
    line-height: 1.14;
  }

  body[data-page="insights"][data-template="article"] .article-hero--cover h1 {
    max-width: 13ch;
    font-size: clamp(1.82rem, 7.2vw, 2.42rem);
    line-height: 1.17;
  }

  body[data-page="insights"][data-template="article"] .article-hero--cover .article-lead {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.8;
  }

  body[data-page="insights"][data-template="article"] .article-hero--cover .article-cover {
    margin-top: 22px;
  }

  body[data-page="insights"][data-template="article"] .article-hero--cover .article-cover img {
    aspect-ratio: 16 / 10.4;
  }

  .article-block,
  .article-aside-card {
    padding: 24px;
  }

  .hero-copy h1 {
    max-width: 100%;
    margin-top: 14px;
    font-size: clamp(2.2rem, 10vw, 3.05rem);
    line-height: 1.1;
    letter-spacing: -0.055em;
  }

  .hero-copy h1 span:first-child {
    max-width: 9ch;
  }

  .hero-copy h1 span:last-child {
    max-width: 9.8ch;
  }

  .hero-description,
  .page-hero-copy p {
    font-size: 0.98rem;
    line-height: 1.82;
  }

  .hero-description {
    max-width: 23rem;
    margin-top: 24px;
    line-height: 1.88;
  }

  .hero-actions,
  .simple-cta .button-row {
    width: 100%;
    margin-top: 28px;
  }

  .hero-actions > a,
  .simple-cta .button-row > a {
    flex: 1 1 100%;
  }

  .section {
    padding: 64px 0;
  }

  .section--compact,
  .section--tight {
    padding: 52px 0;
  }

  .section--first {
    padding-top: 18px;
  }

  body[data-page="home"] .section--first + .section {
    padding-top: 34px;
  }

  .page-hero-content {
    width: calc(100vw - 28px);
    padding: 76px 0 28px;
  }

  body[data-page="insights"] .page-hero--light .page-hero-content,
  body[data-page="contact"] .page-hero--light .page-hero-content {
    width: calc(100vw - 28px);
    padding: 72px 0 22px;
    gap: 18px;
  }

  body[data-page="about"] .page-hero--balanced .page-hero-content,
  body[data-page="services"] .page-hero--balanced .page-hero-content {
    width: calc(100vw - 28px);
    grid-template-columns: 1fr;
    padding: 74px 0 24px;
    gap: 16px;
  }

  body[data-page="contact"] .page-hero--light .page-hero-copy h1 {
    max-width: min(9.2em, 100%);
    font-size: clamp(1.8rem, 6.3vw, 2.2rem);
    line-height: 1.16;
  }

  body[data-page="about"] .page-hero--balanced .page-hero-copy h1 {
    max-width: min(9.8em, 100%);
  }

  .page-hero-copy h1 {
    max-width: min(10.8em, 100%);
    font-size: clamp(1.92rem, 7.2vw, 2.48rem);
    line-height: 1.18;
    letter-spacing: -0.045em;
    text-wrap: balance;
  }

  .page-hero-panel,
  .glass-panel {
    padding: 20px;
  }

  body[data-page="insights"] .page-hero--light .page-hero-panel,
  body[data-page="contact"] .page-hero--light .page-hero-panel {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 12px;
  }

  body[data-page="about"] .page-hero--balanced .page-hero-panel,
  body[data-page="services"] .page-hero--balanced .page-hero-panel {
    padding: 16px 18px;
  }

  .hero-support-card {
    padding: 16px 18px;
  }

  .hero-meta-row {
    gap: 8px;
    margin-top: 18px;
  }

  .hero-meta-row span {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .section-head h2,
  .story-copy h2,
  .feature-copy h2,
  .simple-cta h2,
  .contact-direct-copy h2 {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
    line-height: 1.26;
  }

  .image-card,
  .story-frame,
  .feature-media,
  .journal-feature-media {
    min-height: 310px;
    border-radius: var(--radius-lg);
  }

  .trust-strip,
  .service-grid,
  .service-grid--feature,
  .proof-grid,
  .about-stats,
  .process-steps,
  .compare-grid,
  .article-grid,
  .strategy-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .hero-insight-panel,
  .strategy-board,
  .process-panel,
  .faq-section,
  .milestone-panel,
  .compare-panel {
    padding: 24px;
  }

  .service-card--rich,
  .article-grid article,
  .process-steps article {
    min-height: auto;
  }

  .principle-item,
  .journal-list article,
  .contact-detail-list > div {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-detail-list--card {
    padding-inline: 20px;
  }

  .soft-band {
    min-height: 500px;
    padding: 56px 14px;
  }

  .simple-cta {
    padding: 34px 20px;
  }

  .footer-grid,
  .footer-meta {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .line-contact {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
  }

  .line-float {
    width: 58px;
    height: 58px;
  }

  .line-float span {
    width: 44px;
    height: 30px;
    font-size: 0;
  }

  .line-panel {
    width: calc(100vw - 32px);
    padding: 22px;
  }

  .no-js-contact {
    width: calc(100vw - 32px);
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
