/* ==========================================================================
   Chonlatee — Editorial Boomerang Design System
   Self-hosted Noto Sans Thai · Pure #FFFFFF / #191919 / #F4F3F3 / #E5E7EB
   ========================================================================== */

/* Fonts (self-hosted WOFF2) */
@font-face {
  font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/noto-sans-thai.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
  font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/noto-sans-thai-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Noto Sans Thai';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/noto-sans-thai-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #ffffff;
  --ink: #191919;
  --ink-70: rgba(25, 25, 25, 0.72);
  --ink-50: rgba(25, 25, 25, 0.52);
  --ink-40: rgba(25, 25, 25, 0.42);
  --ink-30: rgba(25, 25, 25, 0.28);
  --muted: rgba(25, 25, 25, 0.68);
  --surface: #f4f3f3;
  --surface-hover: #eaeaea;
  --line: #e5e7eb;
  --line-strong: #858b93;
  --gutter: clamp(20px, 4.5vw, 56px);
  --radius: 8px;
  --radius-sm: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color: var(--ink);
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  font-synthesis: none;
  scroll-padding-top: 96px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

::selection {
  background: var(--ink);
  color: #ffffff;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  caret-color: var(--ink);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 600;
}

h2 {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 600;
}

h3 {
  font-size: clamp(19px, 1.5vw, 22px);
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.24em;
}

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

button,
summary {
  cursor: pointer;
}

address {
  font-style: normal;
}

small,
.fine {
  font-size: 15px;
  color: var(--muted);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px #ffffff;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  transform: translateY(-200%);
  background: var(--ink);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 100;
}

.skip:focus {
  transform: none;
}

/* Container & Rhythm */
.wrap {
  width: min(calc(100% - 2 * var(--gutter)), 1200px);
  margin-inline: auto;
}

.band {
  padding-block: clamp(56px, 7vw, 96px);
}

.ruled {
  border-top: 1px solid var(--line);
}

.band-head {
  max-width: 680px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.band-head p {
  margin-top: 10px;
  color: var(--ink-70);
  font-size: 16px;
}

.band-head-split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.band-head-split>div {
  max-width: 640px;
}

.band-divider {
  height: 1px;
  background: var(--line);
  margin-block: clamp(44px, 5.5vw, 72px);
}

/* Interactive Links & Primary Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 200ms ease, transform 200ms var(--ease);
}

.button:hover {
  background: rgba(25, 25, 25, 0.88);
  color: #ffffff;
}

.chat-icon {
  width: 18px;
  height: 15px;
  border: 1.6px solid currentColor;
  border-radius: 55%;
  position: relative;
  flex: none;
}

.chat-icon::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 1px;
  background: var(--ink);
  border: solid #ffffff;
  border-width: 0 0 1.5px 1.5px;
  width: 4px;
  height: 4px;
  transform: skew(-22deg, -22deg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding-inline: 2px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--ink-30);
  transition: text-decoration-color 200ms ease, color 200ms ease;
}

.text-link:hover {
  text-decoration-color: var(--ink);
}

.card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.hero-feature-arrow {
  width: 16px;
  height: 16px;
  flex: none;
  color: #9ca3af;
  transition: color 200ms ease, transform 200ms ease;
}

.photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

/* Preview Banner */
.previewbar {
  padding: 6px var(--gutter);
  text-align: center;
  background: #fff5de;
  color: #704700;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid #f0dfb6;
}

.is-home .previewbar {
  position: fixed;
  bottom: 12px;
  right: 12px;
  z-index: 60;
  margin-top: 0;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #ebd29b;
  box-shadow: 0 4px 12px rgba(25, 25, 25, 0.08);
  font-size: 12px;
}

/* Fixed Transparent Navbar Across ALL Pages (scrolls to frosted white) */
.mast {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.mast.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}

.mast-inner {
  width: 100%;
  margin-inline: auto;
  padding: 16px clamp(24px, 4vw, 56px);
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  flex: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--ink);
}

.brand-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.brand-logo-foot {
  height: 44px;
  max-width: 190px;
  margin-bottom: 6px;
}

.mast nav {
  display: contents;
}

.nav-list {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.8vw, 40px);
}

.nav-cta {
  grid-column: 3;
  justify-self: end;
  min-height: 44px;
  padding: 10px 26px;
  font-size: 14.5px;
  font-weight: 500;
  border-radius: 10px;
  flex: none;
}

.nav-list>a,
.nav-group>summary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-inline: 8px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-70);
  white-space: nowrap;
  transition: color 200ms ease, background-color 200ms ease;
}

.nav-list>a:hover,
.nav-group>summary:hover,
.nav-group[open]>summary,
.mast [aria-current="page"],
.mast .current-nav {
  color: var(--ink);
}

.nav-group>summary:hover,
.nav-group[open]>summary,
.mast [aria-current="page"],
.mast .current-nav {
  background: var(--surface);
}

.is-home .mast:not(.is-scrolled) .nav-group>summary:hover,
.is-home .mast:not(.is-scrolled) .nav-group[open]>summary {
  background: rgba(255, 255, 255, 0.65);
}

.nav-group {
  position: relative;
}

.nav-group>summary,
.qa>summary {
  list-style: none;
}

.nav-group>summary::-webkit-details-marker,
.qa>summary::-webkit-details-marker {
  display: none;
}

.nav-group>summary {
  gap: 6px;
  -webkit-tap-highlight-color: transparent;
}

.nav-group>summary::after {
  content: '';
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: 0.6;
  transform: translateY(-1.5px) rotate(45deg);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-group[open]>summary::after {
  opacity: 1;
  transform: translateY(1.5px) rotate(225deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 248px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(25, 25, 25, 0.08);
  animation: nav-reveal 160ms var(--ease);
}

@keyframes nav-reveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

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

.dropdown a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-70);
  transition: background-color 160ms ease, color 160ms ease;
}

.dropdown a:hover {
  background: var(--surface);
  color: var(--ink);
}

.nav-cta {
  min-height: 40px;
  padding: 9px 18px;
  font-size: 14px;
  border-radius: var(--radius);
  flex: none;
}

.menu-toggle {
  display: none;
}

/* ==========================================================================
   Band 1: Full-Viewport Boomerang Hero + Anchored Glass Panel
   ========================================================================== */
.boomerang-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  min-height: 100vh;
  min-height: 100svh;
  background: #ffffff;
}

.boomerang-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 64px;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.boomerang-bg-scale,
.hero-art-parallax {
  width: 100%;
  height: 100%;
  will-change: transform;
  transform: translate3d(var(--hero-px, 0px), var(--hero-py, 0px), 0);
}

.hero-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  transform: scale(1.06);
  animation: hero-art-drift 22s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes hero-art-drift {
  0% {
    transform: scale(1.05) translate3d(0%, 0%, 0);
  }

  50% {
    transform: scale(1.095) translate3d(-0.8%, -0.6%, 0);
  }

  100% {
    transform: scale(1.065) translate3d(0.8%, 0.4%, 0);
  }
}

.hero-light-sweep {
  position: absolute;
  inset: -20%;
  background: linear-gradient(118deg,
      transparent 34%,
      rgba(255, 255, 255, 0.42) 48%,
      rgba(255, 255, 255, 0.14) 54%,
      transparent 66%);
  transform: translateX(-60%);
  animation: hero-sheen 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hero-sheen {

  0%,
  15% {
    transform: translateX(-65%);
    opacity: 0;
  }

  35% {
    opacity: 1;
  }

  65% {
    opacity: 0.7;
  }

  85%,
  100% {
    transform: translateX(65%);
    opacity: 0;
  }
}

.boomerang-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.04) 45%,
      rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

/* Smooth editorial photo zoom on cards & split headers */
.trust-media,
.split-head-media,
.reading-visual {
  overflow: hidden;
  border-radius: var(--radius);
}

.trust-media .photo,
.split-head-media .photo,
.article-card .photo,
.directory-card .photo {
  transition: transform 600ms var(--ease);
}

.trust-media:hover .photo,
.split-head-media:hover .photo,
.article-card:hover .photo,
.directory-card:hover .photo {
  transform: scale(1.035);
}

.boomerang-canvas {
  display: none;
}

.boomerang-bg.is-ready .boomerang-video {
  display: none;
}

.boomerang-bg.is-ready .boomerang-canvas {
  display: block;
}

.boomerang-hero .hero-copy {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-block: auto;
  padding: 88px 20px 24px;
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
}

.boomerang-hero .hero-copy h1 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 500;
  max-width: 900px;
  margin-inline: auto;
}

.boomerang-hero .hero-copy h1>span {
  display: block;
}

.hero-subcopy {
  max-width: 520px;
  margin: clamp(14px, 1.8vw, 20px) auto 0;
  font-size: clamp(15px, 1.1vw, 16.5px);
  line-height: 1.65;
  color: var(--ink-70);
}

.hero-actions {
  display: flex;
  justify-content: center;
  margin: clamp(22px, 2.6vw, 32px) auto 0;
}

.hero-pill {
  border-radius: 999px;
  padding: 13px 34px;
  min-height: 50px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 6px 20px rgba(25, 25, 25, 0.14);
}

.hero-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(25, 25, 25, 0.18);
}

.hero-price {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-70);
  font-variant-numeric: tabular-nums;
}

.hero-price strong {
  font-size: 1.15em;
  font-weight: 600;
  color: var(--ink);
}

.hero-pending {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-50);
}

/* Anchored Frosted-White Bottom Panel (straddling Hero / White seam) */
.hero-panel-outer {
  position: relative;
  z-index: 10;
  margin-top: 0;
  width: 100%;
  max-width: 1024px;
  padding-inline: 16px;
}

@media (min-width: 640px) {
  .hero-panel-outer {
    padding-inline: 24px;
  }
}

.hero-panel {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(25, 25, 25, 0.06);
}

.hero-panel-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  padding: clamp(24px, 3vw, 36px) clamp(22px, 3.8vw, 44px);
}

@media (min-width: 768px) {
  .hero-panel-top {
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4.5vw, 56px);
  }
}

.hero-micro {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-50);
  font-weight: 500;
}

.hero-panel-title {
  margin-top: 8px;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.02em;
}

.sm-br {
  display: none;
}

@media (min-width: 640px) {
  .sm-br {
    display: inline;
  }
}

.hero-panel-desc {
  font-size: clamp(14px, 1.02vw, 15px);
  line-height: 1.65;
  color: var(--ink-70);
}

.hero-panel-divider {
  display: none;
}

.hero-panel-rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  background: #e9e7e4;
}

@media (min-width: 640px) {
  .hero-panel-rows {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 0;
  }
}

.hero-feature-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  background: transparent;
  padding: 18px 20px;
  font-size: 15px;
  color: var(--ink);
  transition: background-color 200ms ease;
}

@media (min-width: 640px) {
  .hero-feature-row+.hero-feature-row {
    border-left: 1px solid rgba(255, 255, 255, 0.85);
  }
}

@media (max-width: 639px) {
  .hero-feature-row+.hero-feature-row {
    border-top: 1px solid rgba(255, 255, 255, 0.85);
  }
}

.hero-feature-row:hover {
  background: #dfdcd8;
}

.hero-feature-row .hero-feature-arrow {
  color: var(--ink);
}

.hero-feature-row:hover .hero-feature-arrow {
  color: var(--ink);
  transform: translateX(3px);
}

.hero-feature-text {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.hero-feature-num {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.hero-feature-slash {
  margin-inline: 6px;
  color: var(--ink-50);
}

.hero-feature-label {
  font-weight: 500;
  color: var(--ink);
}

/* ==========================================================================
   Band 2: Dual-Path Comparison Cards (Registration vs Monthly Accounting)
   ========================================================================== */
.dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 28px);
}

.offer-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3.2vw, 40px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.offer-card-alt {
  background: var(--surface);
  border-color: transparent;
}

.offer-card h2,
.offer-card h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
}

.offer-desc {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-70);
}

.offer-price-box {
  margin-block: 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.offer-price,
.price,
.split-price {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-70);
  font-variant-numeric: tabular-nums;
}

.offer-price strong,
.price strong,
.split-price strong {
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-inline: 4px;
}

.offer-points {
  list-style: none;
  padding: 0;
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.offer-points li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--ink-70);
}

.offer-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 1.5px;
  background: var(--ink-50);
}

.offer-pending {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-50);
}

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

/* ==========================================================================
   Band 3: 6 Services Numbered Matrix
   ========================================================================== */
.services-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  transition: background-color 200ms ease;
}

.service-row:hover {
  background: var(--surface-hover);
}

.service-row:hover .hero-feature-arrow {
  color: var(--ink);
  transform: translateX(2px);
}

.service-row-body {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.row-num {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-40);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
  flex: none;
}

.service-row h3 {
  font-size: 18px;
  font-weight: 600;
}

.service-row p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.6;
}

.home-paths {
  margin-top: 28px;
}

/* ==========================================================================
   Band 4: Process + Trust & Industries (Full-Bleed Soft Surface Band)
   ========================================================================== */
.surface-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.process-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px);
}

.process-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-40);
  font-variant-numeric: tabular-nums;
  margin-bottom: 14px;
}

.process-item h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.process-item p {
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.65;
}

.trust-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.trust-legal {
  margin-top: 12px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}

.trust-reg {
  font-size: 15px;
  color: var(--ink-70);
  font-variant-numeric: tabular-nums;
}

.trust-summary {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-70);
  max-width: 460px;
}

.trust-photo {
  aspect-ratio: 4 / 3;
}

.industry-block {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.industry-block h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
}

.industry-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.industry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.industry-row:hover {
  background: var(--surface-hover);
  border-color: var(--ink-30);
}

.industry-row:hover .hero-feature-arrow {
  color: var(--ink);
  transform: translateX(2px);
}

/* ==========================================================================
   Band 5: Knowledge Guides + FAQ Split
   ========================================================================== */
.article-grid,
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-card,
.directory-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.article-card:hover,
.directory-card:hover {
  border-color: var(--ink-30);
  background: var(--surface);
}

.article-card:hover .hero-feature-arrow,
.directory-card:hover .hero-feature-arrow {
  color: var(--ink);
  transform: translateX(2px);
}

.article-card .photo,
.directory-card .photo {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.article-card-body,
.directory-copy {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-body h3,
.directory-copy h2 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}

.article-card-body p,
.directory-copy p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.65;
  flex: 1;
}

/* FAQ Split & Accordion */
.faq-split {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.faq-split-head p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-70);
}

.faq-split-head .text-link {
  margin-top: 10px;
}

.qa {
  border-top: 1px solid var(--line);
}

.qa:last-of-type {
  border-bottom: 1px solid var(--line);
}

.qa>summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  transition: background-color 180ms ease;
}

.qa>summary:hover {
  background: var(--surface);
}

.qa>summary::after {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 200ms ease;
  margin-right: 6px;
}

.qa[open]>summary::after {
  transform: translateY(2px) rotate(225deg);
}

.qa>div {
  padding: 0 8px 20px;
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.75;
}

.qa>div a {
  text-decoration: underline;
}

/* ==========================================================================
   Band 6: Architectural Contact Strip & 4-Column Footer
   ========================================================================== */
.contact-strip-wrap {
  padding-block: clamp(16px, 3vw, 32px) clamp(48px, 6vw, 80px);
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-strip-copy {
  max-width: 540px;
}

.contact-strip-copy h2 {
  font-size: clamp(24px, 2.5vw, 32px);
}

.contact-strip-copy p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--ink-70);
}

.contact-strip-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex: none;
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 14px;
  color: var(--ink-70);
}

.contact-meta a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer {
  border-top: 1px solid var(--line);
  padding-top: clamp(44px, 5vw, 64px);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 0.85fr;
  gap: 32px;
}

.footer .wordmark {
  margin-bottom: 14px;
}

.footer p,
.footer address {
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.7;
}

.footer address {
  max-width: 340px;
  margin-top: 4px;
}

.footer h2 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
}

.footer address~h2 {
  margin-top: 22px;
}

.footer section>a:not(.wordmark) {
  display: flex;
  align-items: center;
  min-height: 36px;
  font-size: 14px;
  color: var(--ink-70);
  transition: color 180ms ease;
}

.footer section>a:not(.wordmark):hover {
  color: var(--ink);
}

.copyright {
  margin-top: 40px;
  padding: 20px 0 max(24px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-50);
}

/* ==========================================================================
   Interior Pages — Conversion Mode (T03, T05, T07, T08) & Reading Mode (T09, T10)
   ========================================================================== */
.crumbs {
  padding-top: 24px;
}

.crumbs nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-50);
}

.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* Conversion Split Header (Services T07 & Business Types T08) */
.split-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(28px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.split-head-copy h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.16;
}

.split-head-copy .lead {
  margin-top: 16px;
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-70);
  line-height: 1.7;
}

.split-price {
  margin-top: 20px;
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 24px;
}

.split-photo {
  aspect-ratio: 4 / 3;
}

/* Reading / Directory / Pricing / FAQ / Contact Header */
.interior-head {
  padding-block: clamp(28px, 4vw, 56px) clamp(24px, 3vw, 36px);
}

.interior-head h1 {
  max-width: 900px;
}

.reading-head {
  max-width: 860px;
  margin-inline: auto;
}

.reading-head h1 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.2;
}

.category-pill {
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-70);
}

.lead {
  margin-top: 16px;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-70);
  max-width: 780px;
  line-height: 1.7;
}

.meta-date {
  margin-top: 14px;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-50);
}

.visual-band {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.visual-band .photo {
  max-height: 400px;
}

.reading-visual {
  max-width: 920px;
}

.reading-visual .photo {
  aspect-ratio: 2.1;
  max-height: none;
}

/* Pricing & Contact Grids */
.pricing-comparison {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: clamp(48px, 6vw, 72px);
}

.contact-card {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-card-primary {
  background: var(--surface);
  border-color: transparent;
}

.contact-card h2 {
  font-size: 20px;
}

.contact-highlight {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.contact-legal {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}

.contact-card .button {
  margin-top: 8px;
  align-self: flex-start;
}

/* Article & Conversion 2-Column Body + Sticky Sidebar */
.article-layout {
  padding-block: clamp(32px, 4.5vw, 56px) clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.article-layout:has(.reading-aside) {
  grid-template-columns: 272px minmax(0, 1fr);
}

.reading-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.toc {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
}

.toc h2 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.toc a {
  display: block;
  padding: 7px 10px;
  margin-inline: -10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.5;
  transition: background-color 160ms ease, color 160ms ease;
}

.toc a:hover {
  background: var(--surface-hover);
  color: var(--ink);
}

.aside-cta-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  display: grid;
  gap: 10px;
}

.aside-cta-card h3 {
  font-size: 16px;
}

.aside-cta-card p {
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.6;
}

.aside-cta-card .button {
  width: 100%;
}

.aside-phone {
  text-align: center;
  font-size: 14px;
  color: var(--ink-70);
  padding-top: 4px;
}

.aside-phone:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* Prose & Numbered Scope Sections */
.prose {
  max-width: 720px;
  width: 100%;
}

.prose section+section {
  margin-top: 44px;
}

.prose h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  margin-bottom: 14px;
  line-height: 1.3;
}

.prose p+p,
.prose ul {
  margin-top: 14px;
}

.prose p,
.prose li {
  color: var(--ink-70);
  line-height: 1.8;
}

.prose ul {
  padding-left: 1.35em;
}

.prose li {
  padding-block: 3px;
}

.prose a:not(.button) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--ink-30);
}

.prose a:not(.button):hover {
  text-decoration-color: var(--ink);
}

.scope-block {
  padding: 24px 28px;
  background: var(--surface);
  border-radius: var(--radius);
}

.scope-block+.scope-block {
  margin-top: 16px;
}

.section-heading-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.scope-num {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-40);
  font-variant-numeric: tabular-nums;
  flex: none;
}

.inline-cta {
  margin-top: 20px;
}

.sources-block {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.sources-block small {
  margin-left: 8px;
  font-size: 13px;
}

.pending {
  padding: 20px 24px;
  margin-top: 32px;
  background: #fff5de;
  border: 1px solid #f0dfb6;
  border-radius: var(--radius);
}

.pending h2 {
  font-size: 18px;
  color: #704700;
  margin-bottom: 8px;
}

.pending li {
  color: #704700;
}

/* Article Attachments */
.article-attachments {
  max-width: 920px;
  margin-bottom: 48px;
}

.article-attachments h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-bottom: 18px;
}

.attachment-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.attachment-download {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  transition: background-color 180ms ease;
}

.attachment-download:hover {
  background: var(--surface-hover);
}

.attachment-type {
  padding: 8px 10px;
  min-width: 60px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
}

.attachment-details {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.attachment-action {
  font-size: 14px;
  font-weight: 500;
  flex: none;
}

/* Related Articles */
.related-section h2 {
  margin-bottom: 24px;
}

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

.related a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.related a:hover {
  background: var(--surface);
  border-color: var(--ink-30);
}

.related-photo {
  width: 112px;
  height: 76px;
  flex: none;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

/* Directory, Search & FAQ Controls */
.directory,
.faq-page {
  margin-bottom: 64px;
}

.topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 28px;
}

.topic-links a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-70);
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.topic-links a:hover,
.topic-links a[aria-current="page"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.faq-controls {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  max-width: 820px;
  margin-bottom: 28px;
}

.faq-controls label {
  font-size: 14px;
  font-weight: 600;
  display: grid;
  gap: 6px;
}

.faq-controls input,
.faq-controls select,
.site-search input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 15px;
}

.empty-note {
  margin-top: 20px;
  color: var(--ink-70);
}

.site-search {
  max-width: 720px;
  margin-bottom: 24px;
}

.site-search label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.site-search div {
  display: flex;
  gap: 10px;
}

.site-search input {
  flex: 1;
  min-width: 0;
}

.search-results {
  margin-bottom: 64px;
}

.search-results h2 {
  font-size: 22px;
  margin-bottom: 16px;
}

.search-results article {
  max-width: 780px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.search-results p {
  margin-top: 6px;
  font-size: 15px;
  color: var(--ink-70);
}

.missing {
  padding-block: 96px;
}

.missing p {
  margin: 16px 0 24px;
  max-width: 560px;
  color: var(--ink-70);
}

.section-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-50);
  margin-bottom: 10px;
}

/* Interior Architectural Wave Header Band (T02, T03, T04, T05, T06) */
.page-hero-band {
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.86) 72%, #ffffff 100%),
    url(/media/hero-editorial-1536.webp);
  background-size: cover;
  background-position: center 35%;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(28px, 4vw, 44px);
}

.page-hero-band .interior-head {
  padding-bottom: clamp(32px, 4.5vw, 52px);
}

/* Warm-stone architectural accent echo across offer cards & contact strip */
.offer-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(25, 25, 25, 0.03);
}

.offer-card-alt {
  background: #ffffff;
  border-color: var(--line);
}

.offer-card-top {
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) 0;
}

.offer-price-box {
  margin: 22px clamp(24px, 3vw, 36px) 24px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.offer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 18px clamp(24px, 3vw, 36px);
  background: #e9e7e4;
  border-top: 1px solid rgba(25, 25, 25, 0.06);
}

.offer-actions .button {
  border-radius: 999px;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px);
  background: #e9e7e4;
  border: 1px solid rgba(25, 25, 25, 0.06);
  border-radius: 12px;
}

.contact-strip .button {
  border-radius: 999px;
}

.contact-card-primary {
  background: #e9e7e4;
  border-color: rgba(25, 25, 25, 0.06);
}

.contact-card {
  border-radius: 12px;
}

.contact-card .button {
  border-radius: 999px;
}

/* Unified Interior Sub-Hero (Matches Homepage Glass-Wave Architecture 100%) */
.sub-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-y: visible;
  min-height: clamp(500px, 68vh, 660px);
  background: #ffffff;
}

.sub-hero-copy {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-block: auto;
  padding: 96px 20px 28px;
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
}

.sub-hero-copy h1 {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--ink);
  margin-top: 14px;
}

.hero-crumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(25, 25, 25, 0.08);
  font-size: 13px;
  color: var(--ink-70);
}

.hero-crumb a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.hero-meta-row {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-50);
}

.panel-price {
  margin-top: 6px;
  font-size: 15px;
  color: var(--ink-70);
  font-variant-numeric: tabular-nums;
}

.panel-price strong {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-inline: 4px;
}

.panel-faq-controls {
  margin-bottom: 0;
  max-width: none;
  gap: 10px;
}

.band-directory {
  padding-top: clamp(36px, 4.5vw, 56px);
}

.prose-figure {
  margin: 0 0 32px;
  overflow: hidden;
  border-radius: 12px;
}

.prose-photo {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}

.ref-card {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.ref-card h2 {
  font-size: 18px;
  margin-bottom: 12px;
}

.ref-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ref-list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-70);
}

.ref-list strong a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--ink-30);
}

.ref-list strong a:hover {
  text-decoration-color: var(--ink);
}

/* ==========================================================================
   Distinct Page Archetypes (Same Theme DNA · Unique Structure Per Page Type)
   ========================================================================== */
.inline-crumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-50);
  margin-bottom: 16px;
}

.inline-crumb a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* Archetype A: Service & Business Type Split Dossier (T07 / T08) */
.dossier-hero {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.88) 72%, #ffffff 100%),
    url(/media/hero-editorial-1536.webp);
  background-size: cover;
  background-position: center 30%;
  padding: 108px 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.dossier-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.dossier-copy h1 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.16;
}

.dossier-lead {
  margin-top: 14px;
  font-size: 16.5px;
  color: var(--ink-70);
  line-height: 1.7;
}

.dossier-meta-card {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(25, 25, 25, 0.05);
}

.dossier-meta-main {
  padding: 20px 24px;
}

.dossier-meta-main .fine {
  margin-top: 6px;
  font-size: 14px;
}

.dossier-quote {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.dossier-meta-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 16px 24px;
  background: #e9e7e4;
}

.dossier-photo-frame {
  padding: 12px;
  background: #e9e7e4;
  border-radius: 14px;
  overflow: hidden;
}

.dossier-photo {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 0;
}

/* Archetype B & E: Compact Wave Header (Pricing T03, Directories T06, FAQ T04) */
.compact-wave-head {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.85) 75%, #ffffff 100%),
    url(/media/hero-editorial-1536.webp);
  background-size: cover;
  background-position: center 35%;
  padding: 108px 0 clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.compact-head-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.compact-head-grid>div:first-child {
  max-width: 700px;
}

.compact-head-grid h1 {
  font-size: clamp(32px, 4vw, 48px);
}

.pricing-trust-badge {
  max-width: 340px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.badge-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-50);
  font-weight: 600;
  margin-bottom: 6px;
}

.pricing-trust-badge p {
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.6;
}

/* Pricing Ledger (6-Service Overview Table on T03) */
.pricing-main {
  padding-top: clamp(32px, 4vw, 48px);
}

.pricing-ledger {
  margin-top: clamp(44px, 5vw, 64px);
}

.pricing-ledger h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-bottom: 20px;
}

.ledger-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.ledger-row {
  display: grid;
  grid-template-columns: 44px 1.1fr 1.2fr 1.5fr 20px;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease;
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-row:hover {
  background: var(--surface);
}

.ledger-row:hover .hero-feature-arrow {
  color: var(--ink);
  transform: translateX(2px);
}

.ledger-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-40);
  font-variant-numeric: tabular-nums;
}

.ledger-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.ledger-rate {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.ledger-note {
  font-size: 14px;
  color: var(--ink-70);
}

/* Archetype C: Contact Split Concierge Studio (T05) */
.concierge-hero {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.85) 75%, #ffffff 100%),
    url(/media/hero-editorial-1536.webp);
  background-size: cover;
  background-position: center 35%;
  padding: 112px 0 clamp(56px, 7vw, 88px);
}

.concierge-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.office-card {
  margin-top: 28px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.office-card h2 {
  font-size: 20px;
  margin-top: 8px;
}

.office-card address {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.7;
}

.office-card .text-link {
  margin-top: 10px;
}

.concierge-right {
  display: grid;
  gap: 18px;
}

.channel-card {
  padding: clamp(24px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(25, 25, 25, 0.04);
}

.channel-primary {
  background: #e9e7e4;
  border-color: rgba(25, 25, 25, 0.08);
}

.channel-card h2 {
  font-size: 20px;
  margin-top: 8px;
}

.channel-big {
  display: block;
  margin-top: 8px;
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.channel-actions {
  margin-top: 18px;
}

/* Archetype D: FAQ Search-First Header (T04) */
.faq-hero-inner {
  max-width: 840px;
}

.glass-search-bar {
  margin-top: 24px;
  margin-bottom: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(25, 25, 25, 0.05);
}

.faq-narrow {
  max-width: 840px;
  margin-inline: auto;
}

/* Archetype F: Pure Editorial Long-Read Publication (T09 / T10 / T02) */
.editorial-article-head {
  padding: 112px 0 32px;
  max-width: 780px;
}

.editorial-article-head h1 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.2;
}

.editorial-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-50);
}

.editorial-cover {
  max-width: 920px;
  margin-bottom: 12px;
}

.editorial-cover-img {
  aspect-ratio: 2.05;
  border-radius: 12px;
}

@media (max-width: 920px) {

  .dossier-grid,
  .concierge-grid {
    grid-template-columns: 1fr;
  }

  .compact-head-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .ledger-row {
    grid-template-columns: 36px 1fr;
    gap: 6px 12px;
  }

  .ledger-rate,
  .ledger-note {
    grid-column: 2;
  }

  .ledger-row .hero-feature-arrow {
    display: none;
  }
}

/* Remove underlines everywhere — use bold weight, scale, and clean surface hover */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 12px;
  margin-inline: -12px;
  border-radius: var(--radius-sm);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.text-link:hover {
  background: rgba(25, 25, 25, 0.06);
  color: var(--ink);
  text-decoration: none;
}

.card-more {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.qa>div a,
.prose a:not(.button),
.ref-list strong a,
.inline-crumb a:hover,
.crumbs a:hover,
.contact-meta a:hover,
.aside-phone:hover,
.hero-crumb a:hover {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}

.prose a:not(.button):hover,
.qa>div a:hover,
.ref-list strong a:hover {
  background: var(--surface);
  border-radius: 4px;
  padding-inline: 4px;
  margin-inline: -4px;
}

.ledger-row {
  grid-template-columns: 44px 1.1fr 1.2fr 1.5fr;
}

.channel-big.text-link {
  margin-inline: -12px;
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Designed Structured Bands (replaces bare prose on Services, Pricing, Contact, How-It-Works) */
.structured-band {
  padding-block: clamp(40px, 5vw, 68px);
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(28px, 4vw, 48px);
}

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

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

.structured-cols-1 {
  grid-template-columns: minmax(0, 760px);
}

.structured-card {
  padding: clamp(24px, 3vw, 32px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.structured-card-stone {
  background: #e9e7e4;
  border-color: rgba(25, 25, 25, 0.08);
}

.structured-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-40);
  font-variant-numeric: tabular-nums;
}

.structured-card h2 {
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.3;
  margin: 0;
}

.structured-card p {
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.75;
}

.structured-list {
  margin-top: 4px;
  padding-left: 1.2em;
  display: grid;
  gap: 6px;
  font-size: 15px;
  color: var(--ink-70);
}

.ref-card-wide {
  margin-top: 24px;
  background: #ffffff;
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 14px;
}

.ref-item h3 {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.ref-item p {
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.65;
}

/* Timeline / Editorial Split Rows for T02 (How It Works & About) */
.timeline-band {
  padding-top: clamp(28px, 4vw, 48px);
}

.timeline-stack {
  display: grid;
  gap: 16px;
}

.timeline-row {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  padding: clamp(24px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.timeline-label h2 {
  margin-top: 6px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
}

.timeline-body {
  display: grid;
  gap: 10px;
}

.timeline-body p {
  font-size: 16px;
  color: var(--ink-70);
  line-height: 1.8;
}

@media (max-width: 920px) {

  .structured-grid,
  .structured-cols-2,
  .ref-grid,
  .timeline-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Redesigned Contact Page (T05) — Dark Accent Bento + Prep Band
   ========================================================================== */
.contact-v2-hero {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.88) 76%, #ffffff 100%),
    url(/media/hero-editorial-1536.webp);
  background-size: cover;
  background-position: center 35%;
  padding: 112px 0 clamp(44px, 6vw, 72px);
}

.contact-v2-head {
  max-width: 680px;
  margin-bottom: clamp(28px, 3.5vw, 40px);
}

.contact-v2-head h1 {
  font-size: clamp(34px, 4.4vw, 54px);
}

.contact-bento {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 20px;
  align-items: stretch;
}

.bento-line {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 4vw, 48px);
  background: #191919;
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(25, 25, 25, 0.14);
}

.bento-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.bento-tag-dark {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-50);
  font-weight: 600;
}

.bento-handle {
  margin-top: 14px;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
}

.bento-desc {
  margin-top: 14px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
  max-width: 460px;
}

.bento-line-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.button-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  background: #ffffff;
  color: #191919;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 180ms ease, transform 180ms var(--ease);
}

.button-light:hover {
  background: #e9e7e4;
  transform: translateY(-1px);
}

.bento-hours {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.bento-side {
  display: grid;
  gap: 20px;
}

.bento-phone,
.bento-office {
  padding: clamp(24px, 3vw, 32px);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bento-phone {
  background: #e9e7e4;
  border: 1px solid rgba(25, 25, 25, 0.06);
}

.bento-phone h2,
.bento-office h2 {
  font-size: 19px;
  margin-top: 4px;
}

.bento-phone-num {
  display: inline-block;
  margin-top: 4px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.bento-office {
  background: #ffffff;
  border: 1px solid var(--line);
}

.bento-office address {
  margin-top: 4px;
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.7;
}

.bento-map-btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: background-color 180ms ease;
}

.bento-map-btn:hover {
  background: #e9e7e4;
}

.contact-prep-band {
  margin-bottom: 0;
}

/* ==========================================================================
   Redesigned How-It-Works Page — Stepper Hero + Dual-Track Cards + Prep
   ========================================================================== */
.how-hero {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.88) 76%, #ffffff 100%),
    url(/media/hero-editorial-1536.webp);
  background-size: cover;
  background-position: center 35%;
  padding: 112px 0 clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.how-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.how-hero-copy h1 {
  font-size: clamp(34px, 4.4vw, 54px);
}

.how-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 26px;
}

.how-stepper-card {
  padding: clamp(24px, 3vw, 36px);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(25, 25, 25, 0.06);
}

.stepper-list {
  list-style: none;
  padding: 0;
  margin-top: 18px;
  display: grid;
  gap: 18px;
  position: relative;
}

.stepper-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-dot {
  width: 34px;
  height: 34px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e9e7e4;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stepper-list strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
}

.stepper-list p {
  margin-top: 2px;
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.55;
}

/* Dual-Track Cards (One-Time vs Monthly) */
.tracks-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.track-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
}

.track-head {
  padding: clamp(24px, 3vw, 32px);
}

.track-head-stone {
  background: #e9e7e4;
  color: var(--ink);
}

.track-head-dark {
  background: #191919;
  color: #ffffff;
}

.track-head h3 {
  font-size: 22px;
  margin-top: 8px;
  color: inherit;
}

.track-head p {
  margin-top: 6px;
  font-size: 14.5px;
  opacity: 0.78;
}

.track-steps {
  list-style: none;
  padding: clamp(22px, 3vw, 30px);
  display: grid;
  gap: 18px;
  flex: 1;
}

.track-steps li {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.track-steps li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.track-steps strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
}

.track-steps span {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--ink-70);
  line-height: 1.65;
}

.track-foot {
  padding: 14px clamp(22px, 3vw, 30px);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

/* How-It-Works Prep Split Band */
.how-prep-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.how-check-list {
  list-style: none;
  padding: 0;
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.how-check-list li {
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.65;
}

.how-check-list strong {
  color: var(--ink);
}

.how-prep-photo {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
}

@media (max-width: 920px) {

  .contact-bento,
  .how-hero-grid,
  .tracks-grid,
  .how-prep-grid {
    grid-template-columns: 1fr;
  }
}

/* Guides Toolbar & Architectural Pagination */
.guides-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 28px;
}

.guides-toolbar .topic-links {
  margin-bottom: 0;
}

.guides-count {
  font-size: 14px;
  color: var(--ink-50);
  font-variant-numeric: tabular-nums;
}

.pager {
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
}

.pager-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.pager-summary {
  font-size: 14px;
  color: var(--ink-50);
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}

.pager-pages {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pager-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  color: var(--ink-40);
  font-weight: 600;
}

.pager-num,
.pager-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.pager-num {
  min-width: 44px;
  padding-inline: 12px;
  background: var(--surface);
  font-variant-numeric: tabular-nums;
}

.pager-num:hover {
  background: #e9e7e4;
}

.pager-num.is-current {
  background: var(--ink);
  color: #ffffff;
}

.pager-nav {
  padding: 0 22px;
  background: #e9e7e4;
}

.pager-nav:hover {
  background: #dfdcd8;
}

.pager-nav.is-disabled {
  background: var(--surface);
  color: var(--ink-40);
  cursor: default;
}

@media (max-width: 640px) {
  .pager {
    justify-content: center;
  }
}

/* ==========================================================================
   Editorial Magazine Split (T09 — All 25 Guides & Case Studies)
   ========================================================================== */
.mag-hero {
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48) 0%, rgba(255, 255, 255, 0.9) 76%, #ffffff 100%),
    url(/media/hero-editorial-1536.webp);
  background-size: cover;
  background-position: center 35%;
  padding: 112px 0 clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}

.mag-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.mag-hero-copy h1 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.mag-lead {
  margin-top: 14px;
  font-size: 16.5px;
  color: var(--ink-70);
  line-height: 1.75;
}
.mag-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-50);
}

.mag-hero-media {
  overflow: hidden;
  border-radius: 14px;
  background: #e9e7e4;
  padding: 10px;
}
.mag-cover-photo {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 0;
  transition: transform 600ms var(--ease);
}
.mag-hero-media:hover .mag-cover-photo { transform: scale(1.03); }

.mag-layout {
  padding-block: clamp(36px, 5vw, 64px) clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.mag-prose { max-width: 740px; }

.mag-summary-box {
  padding: clamp(24px, 3vw, 32px);
  background: #e9e7e4;
  border-radius: 14px;
  margin-bottom: 44px;
}
.mag-summary-box h2 {
  font-size: 20px;
  margin: 8px 0 10px;
}
.mag-summary-box > p:not(.hero-micro) {
  font-size: 15.5px;
  color: var(--ink-70);
  line-height: 1.75;
}
.mag-summary-points {
  margin-top: 14px;
  padding-top: 14px;
  padding-left: 1.2em;
  border-top: 1px solid rgba(25, 25, 25, 0.1);
  display: grid;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}

.mag-section + .mag-section {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.mag-section-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}
.mag-section-num {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-40);
  font-variant-numeric: tabular-nums;
  flex: none;
}
.mag-section-head h2 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); }

.mag-checklist-card {
  margin-top: 18px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.mag-checklist-card ul {
  margin: 0;
  padding-left: 1.25em;
  display: grid;
  gap: 8px;
}
.mag-checklist-card li {
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.7;
}

/* Right Sticky Rail: Minimal Vertical Hairline TOC + Bordered LINE Card */
.mag-rail {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 24px;
}

.mag-toc h2 {
  font-size: 16px;
  margin: 4px 0 14px;
}
.mag-toc-list {
  display: grid;
  gap: 4px;
  border-left: 1px solid var(--line);
  padding-left: 14px;
}
.mag-toc-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.5;
  transition: background-color 160ms ease, color 160ms ease;
}
.mag-toc-list a:hover {
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
}
.mag-toc-num {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-40);
  font-variant-numeric: tabular-nums;
  flex: none;
}

.mag-cta-card {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(25, 25, 25, 0.04);
  display: grid;
  gap: 10px;
}
.mag-cta-card h3 { font-size: 18px; line-height: 1.35; }
.mag-cta-card > p:not(.hero-micro) { font-size: 14px; color: var(--ink-70); line-height: 1.65; }
.mag-cta-card .button { width: 100%; margin-top: 4px; }
.mag-phone-link {
  text-align: center;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px;
  border-radius: 8px;
  transition: background-color 160ms ease;
}
.mag-phone-link:hover { background: var(--surface); }

@media (max-width: 960px) {
  .mag-hero-grid,
  .mag-layout {
    grid-template-columns: 1fr;
  }
  .mag-rail { position: static; }
}

/* Soft Feathered Fade on All 4 Edges & Corners — ONLY on Article Reading Pages (T09) */
.mag-hero-media {
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.mag-cover-photo {
  border: 0;
  background: transparent;
  border-radius: 0;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-list {
    gap: 8px;
  }

  .nav-list>a,
  .nav-group>summary {
    font-size: 13.5px;
    padding-inline: 6px;
  }

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

@media (max-width: 920px) {
  .is-home .mast {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom-color: var(--line);
  }

  .mast-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 64px;
    padding: 10px var(--gutter);
  }

  .mast nav {
    flex: none;
    width: 100%;
    display: block;
    padding-bottom: 16px;
  }

  .nav-list {
    display: block;
    margin-inline: 0;
    grid-column: auto;
    justify-self: auto;
  }

  .nav-cta {
    grid-column: auto;
    justify-self: auto;
    margin-top: 14px;
    width: 100%;
  }

  .nav-list>a,
  .nav-group>summary {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 4px 0 8px 14px;
    animation: none;
  }

  .nav-cta {
    margin-top: 14px;
    width: 100%;
  }

  .js .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 4px;
    border: 0;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
  }

  .menu-lines {
    width: 22px;
    height: 14px;
    border-block: 2px solid currentColor;
    position: relative;
  }

  .menu-lines::before {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: 4px;
    border-top: 2px solid currentColor;
  }

  .js .mast nav {
    display: none;
  }

  .js .mast nav.is-open {
    display: block;
    max-height: calc(100dvh - 76px);
    overflow: auto;
  }

  .split-head,
  .trust-split,
  .faq-split,
  .article-layout:has(.reading-aside) {
    grid-template-columns: 1fr;
  }

  .reading-aside {
    position: static;
  }

  .contact-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-strip-action {
    align-items: flex-start;
    width: 100%;
  }

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

@media (max-width: 700px) {
  :root {
    --gutter: 20px;
  }

  .band-head-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .dual-grid,
  .services-matrix,
  .process-grid,
  .industry-rows,
  .article-grid,
  .directory-grid,
  .contact-grid,
  .related,
  .faq-controls,
  .foot-grid {
    grid-template-columns: 1fr;
  }

  .boomerang-hero .hero-copy {
    padding-top: 96px;
  }

  .boomerang-hero .hero-copy h1 {
    font-size: clamp(32px, 8.5vw, 40px);
  }

  .boomerang-hero .hero-actions .button {
    width: 100%;
    max-width: 320px;
  }

  .offer-actions .button,
  .split-actions .button,
  .contact-strip .button {
    width: 100%;
  }

  .scope-block {
    padding: 20px;
  }

  .site-search div {
    flex-direction: column;
  }

  .attachment-download {
    flex-wrap: wrap;
    gap: 10px;
  }

  .attachment-type {
    display: none;
  }

  .attachment-details {
    flex-basis: 100%;
  }

  .foot-grid {
    gap: 0;
  }

  .foot-grid section {
    padding-block: 22px;
    border-bottom: 1px solid var(--line);
  }

  .copyright {
    margin-top: 0;
    border-top: 0;
  }
}

@media (max-width: 920px) and (scripting: enabled) {
  .mast nav:not(.is-open) {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 4px;
    border: 0;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* =========================================================================
   ARCHETYPE H: Industry Playbook Showcase (T08 — /business-types/*)
   ========================================================================= */
.industry-hero {
  padding-top: clamp(96px, 11vw, 128px);
  padding-bottom: clamp(28px, 4vw, 48px);
  background: linear-gradient(180deg, #f6f6f5 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

.industry-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.industry-top-bar .inline-crumb {
  margin-bottom: 0;
}

.industry-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.industry-tab {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink-70);
  font-size: 13.5px;
  font-weight: 500;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.industry-tab:hover {
  background: var(--surface);
  color: var(--ink);
  border-color: rgba(25, 25, 25, 0.22);
}

.industry-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.industry-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 40px;
  margin-bottom: clamp(28px, 3.5vw, 40px);
}

.industry-head-copy {
  max-width: 720px;
  min-width: 0;
}

.industry-head-copy .category-pill {
  margin-bottom: 14px;
}

.industry-head-copy h1 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4.2vw, 54px);
  overflow-wrap: break-word;
}

.industry-head-copy .lead {
  color: var(--ink-70);
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.65;
}

.industry-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
}

.industry-banner {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.industry-banner-img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 440px;
  object-fit: cover;
  object-position: center 32%;
  border: 0;
  border-radius: 0;
}

.industry-pillars-band .band-head {
  max-width: 680px;
}

.industry-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.industry-pillar-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  transition: border-color 200ms ease, transform 200ms var(--ease);
}

.industry-pillar-card:hover {
  border-color: rgba(25, 25, 25, 0.24);
  transform: translateY(-2px);
}

.industry-pillar-card.is-featured {
  background: #e9e7e4;
  border-color: rgba(25, 25, 25, 0.08);
}

.industry-pillar-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 18px;
}

.industry-pillar-card h3 {
  font-size: clamp(19px, 1.5vw, 22px);
  margin-bottom: 12px;
}

.industry-pillar-card p {
  color: var(--ink-70);
  line-height: 1.7;
  font-size: 15.5px;
}

.industry-rec-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(56px, 7vw, 88px);
}

.industry-rec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.industry-rec-panel {
  border-radius: 16px;
  padding: clamp(26px, 3.2vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.industry-rec-dark {
  background: var(--ink);
  color: #ffffff;
}

.industry-rec-dark h2 {
  color: #ffffff;
  font-size: clamp(22px, 2vw, 28px);
}

.industry-rec-dark .industry-rec-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  margin-bottom: 10px;
}

.industry-rec-light {
  background: #ffffff;
  border: 1px solid var(--line);
}

.industry-rec-light h2 {
  font-size: clamp(22px, 2vw, 28px);
}

.industry-rec-light .industry-rec-sub {
  color: var(--ink-70);
  font-size: 15px;
  margin-bottom: 10px;
}

.industry-rec-list {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.industry-rec-item,
.industry-rec-item-light {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 10px;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.industry-rec-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.industry-rec-item:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.28);
}

.industry-rec-item strong {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

.industry-rec-item span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.industry-rec-item-light {
  background: var(--surface);
  border: 1px solid transparent;
}

.industry-rec-item-light:hover {
  background: #e9e7e4;
  border-color: rgba(25, 25, 25, 0.12);
}

.industry-rec-item-light strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.industry-rec-item-light span {
  color: var(--ink-70);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .industry-head-split {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .industry-pillars-grid,
  .industry-rec-grid {
    grid-template-columns: 1fr;
  }

  .industry-banner-img {
    aspect-ratio: 16 / 10;
  }
}
