/*
  Business Website Factory v1
  Static, responsive, WCAG-aware, no web fonts or front-end dependencies.
*/
:root {
  --bg: #f4eee2;
  --surface: #fff9ef;
  --surface-2: #eae0d1;
  --text: #1d1a17;
  --muted: #70675e;
  --line: #d8ccbc;
  --accent: #c85837;
  --accent-alt: #153c3a;
  --accent-text: #15130f;
  --display: Georgia, "Times New Roman", serif;
  --body: Arial, Helvetica, sans-serif;
  --page: min(1540px, calc(100vw - 64px));
  --reading: min(780px, calc(100vw - 48px));
  --header-h: 78px;
  --radius: 30px;
  --radius-sm: 16px;
  --pill: 999px;
  --shadow: 0 34px 90px rgba(25, 20, 14, .15);
  --ease: cubic-bezier(.18, .8, .18, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 34rem),
    radial-gradient(circle at 7% 33%, color-mix(in srgb, var(--accent-alt) 7%, transparent), transparent 38rem),
    var(--bg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: .035;
  background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.15) 0, rgba(0,0,0,.15) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: multiply;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { color: var(--accent-text); background: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 10px;
  left: 10px;
  transform: translateY(-180%);
  padding: 10px 15px;
  border-radius: var(--pill);
  color: var(--accent-text);
  background: var(--accent);
  font-size: 12px;
  font-weight: 800;
}
.skip-link:focus { transform: none; }
.demo-banner {
  position: relative;
  z-index: 900;
  padding: 7px 18px;
  color: var(--accent-text);
  background: var(--accent);
  text-align: center;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.scroll-progress {
  position: fixed;
  z-index: 1200;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
}
.scroll-progress span { display: block; width: 0; height: 100%; background: var(--accent); }

.site-header {
  position: sticky;
  z-index: 800;
  top: 0;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(20px) saturate(1.1);
}
.header-inner {
  width: var(--page);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 30px;
  align-items: center;
}
.brand { width: max-content; display: inline-flex; align-items: center; }
.brand-logo { width: 120px; height: 40px; object-fit: contain; object-position: left center; }
.brand-word { font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -.06em; text-transform: uppercase; }
.header-nav { display: flex; align-items: center; gap: 26px; }
.header-nav a {
  position: relative;
  padding: 10px 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 1px;
  background: var(--accent);
  transition: right .35s var(--ease);
}
.header-nav a:hover, .header-nav a:focus-visible, .header-nav a[aria-current="page"] { color: var(--text); }
.header-nav a:hover::after, .header-nav a:focus-visible::after, .header-nav a[aria-current="page"]::after { right: 0; }
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border-radius: var(--pill);
  color: var(--accent-text);
  background: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.menu-button { display: none; border: 0; background: none; padding: 12px; font-size: 10px; font-weight: 900; letter-spacing: .14em; }

.page-shell { width: var(--page); margin-inline: auto; }
.section { position: relative; padding: clamp(100px, 11vw, 180px) 0; }
.section.compact { padding: clamp(60px, 8vw, 118px) 0; }
.section-head { max-width: 1140px; margin-bottom: clamp(48px, 7vw, 100px); }
.eyebrow {
  margin: 0 0 15px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section-head h2,
.page-hero-small h1,
.page-hero-editorial h1,
.detail-copy h1,
.article-header h1,
.case-detail header h1,
.not-found h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(48px, 7.7vw, 126px);
  font-weight: 700;
  line-height: .84;
  letter-spacing: -.07em;
  text-wrap: balance;
}
.section-copy { max-width: 62ch; margin: 24px 0 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 22px); }
.large-copy { margin: 0; font-size: clamp(24px, 3.2vw, 48px); line-height: 1.06; letter-spacing: -.035em; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid var(--accent);
  border-radius: var(--pill);
  color: var(--accent-text);
  background: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.button:hover, .button:focus-visible { transform: translateY(-3px); box-shadow: 0 13px 34px color-mix(in srgb, var(--accent) 23%, transparent); }
.button-ghost { color: var(--text); background: transparent; border-color: var(--line); }
.button-ghost:hover { color: var(--accent); border-color: var(--accent); box-shadow: none; }
.text-link {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 7px 0;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.text-link:hover, .text-link:focus-visible { color: var(--accent); }
.section-action { margin-top: 42px; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  overflow: clip;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -3; overflow: hidden; margin: 0; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-focal, 50% 50%); transform: scale(1.025); animation: heroBreath var(--hero-motion-duration, 18s) var(--ease) infinite alternate; }
@keyframes heroBreath { to { transform: scale(1.075) translate3d(-.5%, -.4%, 0); } }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--bg) 92%, transparent) 0, color-mix(in srgb, var(--bg) 72%, transparent) 42%, transparent 78%),
    linear-gradient(180deg, transparent 52%, color-mix(in srgb, var(--bg) 92%, transparent) 100%);
}
.hero-mask {
  position: absolute;
  z-index: 1;
  width: min(56vw, 900px);
  aspect-ratio: 1.1;
  right: -7vw;
  top: 8%;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 60% 40% 51% 49% / 42% 65% 35% 58%;
  background:
    radial-gradient(circle at 40% 38%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 36%),
    radial-gradient(circle at 70% 70%, color-mix(in srgb, var(--accent-alt) 28%, transparent), transparent 44%);
  transition: translate .4s var(--ease);
  animation: morph 14s var(--ease) infinite alternate;
}
.hero-mask::before, .hero-mask::after { content: ""; position: absolute; border: 1px solid color-mix(in srgb, var(--text) 18%, transparent); border-radius: inherit; }
.hero-mask::before { inset: 10%; transform: rotate(13deg); }
.hero-mask::after { inset: 30%; transform: rotate(-16deg); }
@keyframes morph { to { border-radius: 42% 58% 63% 37% / 65% 39% 61% 35%; transform: rotate(7deg) scale(1.04); } }
.hero-shell {
  width: var(--page);
  min-height: calc(100svh - var(--header-h));
  margin-inline: auto;
  padding: clamp(80px, 11vw, 160px) 0 80px;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; max-width: min(900px, 72vw); }
.hero-copy h1 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(66px, 10.5vw, 174px);
  font-weight: 700;
  line-height: .79;
  letter-spacing: -.085em;
  text-wrap: balance;
}
.hero-summary { max-width: 52ch; margin: 28px 0; color: color-mix(in srgb, var(--text) 80%, var(--muted)); font-size: clamp(17px, 1.7vw, 24px); }
.hero-facts {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
}
.hero-facts span { padding: 9px 13px; border: 1px solid color-mix(in srgb, var(--text) 18%, transparent); border-radius: var(--pill); background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(12px); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hero-word {
  position: absolute;
  z-index: -1;
  left: -1.5vw;
  right: 0;
  bottom: -1vw;
  overflow: hidden;
  color: color-mix(in srgb, var(--text) 8%, transparent);
  font-family: var(--display);
  font-size: 21vw;
  font-weight: 800;
  line-height: .58;
  letter-spacing: -.105em;
  white-space: nowrap;
  text-transform: uppercase;
  pointer-events: none;
}

/* Curated composition families. Structure is selected by the compiler; these
   rules complete the hierarchy without creating an arbitrary page builder. */
.composition-direct .hero {
  min-height: max(720px, calc(100svh - var(--header-h)));
}
.composition-direct .hero-direct-shell {
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, .5fr);
  grid-template-rows: 1fr;
  gap: clamp(36px, 7vw, 120px);
}
.composition-direct .hero-media {
  inset: clamp(28px, 4vw, 62px) 0 clamp(28px, 4vw, 62px) 54%;
  z-index: -2;
  border-radius: var(--radius) 0 0 var(--radius);
  box-shadow: var(--shadow);
}
.composition-direct .hero-media::after {
  background: linear-gradient(90deg, var(--bg), transparent 28%);
}
.composition-direct .hero-copy {
  max-width: 780px;
}
.hero-action-panel {
  align-self: center;
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.hero-action-panel .button-row {
  display: grid;
}
.hero-action-panel .button {
  width: 100%;
}
.hero-action-panel .hero-facts {
  display: grid;
  margin-top: 26px;
}
.hero-action-panel .hero-facts span {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding-inline: 0;
  background: none;
  backdrop-filter: none;
}

.composition-authority .hero-authority-shell {
  grid-template-columns: minmax(320px, .74fr) minmax(0, 1.26fr);
  grid-template-rows: 1fr;
  gap: clamp(48px, 8vw, 140px);
}
.composition-authority .hero-media {
  inset: 0 50% 0 0;
}
.composition-authority .hero-media::after {
  background:
    linear-gradient(90deg, transparent 58%, var(--bg) 100%),
    linear-gradient(180deg, transparent 54%, color-mix(in srgb, var(--bg) 84%, transparent));
}
.composition-authority .hero-copy {
  grid-column: 2;
  max-width: 850px;
}
.composition-authority .hero-copy h1 {
  max-width: 9ch;
  font-size: clamp(60px, 8.6vw, 146px);
}
.hero-authority-panel {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  position: relative;
  z-index: 2;
  margin-bottom: 4px;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(22px);
}
.hero-authority-panel ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-authority-panel li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}
.hero-authority-panel li > span {
  grid-row: 1 / 3;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
}
.hero-authority-panel h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: .95;
}
.hero-authority-panel li p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.hero-authority-panel .hero-facts {
  margin-top: 18px;
}

.composition-showcase .hero-showcase-shell {
  grid-template-rows: 1fr auto auto;
}
.composition-showcase .hero-copy {
  max-width: min(930px, 72vw);
}
.hero-showcase-links {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 18px;
}
.hero-showcase-links a {
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.composition-catalog .hero {
  min-height: max(760px, calc(100svh - var(--header-h)));
}
.composition-catalog .hero-catalog-shell {
  grid-template-columns: minmax(0, 1fr) minmax(340px, .7fr);
  grid-template-rows: 1fr auto;
  gap: clamp(35px, 7vw, 110px);
}
.composition-catalog .hero-media {
  inset: 8% 0 8% 44%;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--surface-2);
}
.composition-catalog .hero-media::after {
  background: linear-gradient(90deg, var(--bg), transparent 32%);
}
.composition-catalog .hero-copy {
  align-self: center;
  max-width: 760px;
}
.composition-catalog .hero-copy h1 {
  font-size: clamp(58px, 8vw, 132px);
}
.hero-catalog-panel {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.hero-catalog-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-catalog-panel li {
  border-top: 1px solid var(--line);
}
.hero-catalog-panel a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 17px 0;
}
.hero-catalog-panel strong {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: .95;
}
.hero-catalog-panel span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.composition-catalog .hero-facts {
  grid-column: 1 / -1;
}

/* Image treatments are intentionally bounded and apply across hero, offer,
   proof and editorial media to keep the selected direction coherent. */
.image-treatment-natural .hero-image,
.image-treatment-natural .offer-image,
.image-treatment-natural .case-image,
.image-treatment-natural .about-image,
.image-treatment-natural .detail-image,
.image-treatment-natural .article-image,
.image-treatment-natural .team-image {
  object-fit: cover;
  filter: none;
}
.image-treatment-documentary .hero-image,
.image-treatment-documentary .offer-image,
.image-treatment-documentary .case-image,
.image-treatment-documentary .about-image,
.image-treatment-documentary .detail-image,
.image-treatment-documentary .article-image,
.image-treatment-documentary .team-image {
  object-fit: cover;
  filter: saturate(.62) contrast(1.08);
  border: 1px solid color-mix(in srgb, var(--text) 20%, transparent);
}
.image-treatment-editorial .hero-image,
.image-treatment-editorial .offer-image,
.image-treatment-editorial .case-image,
.image-treatment-editorial .about-image,
.image-treatment-editorial .detail-image,
.image-treatment-editorial .article-image,
.image-treatment-editorial .team-image {
  object-fit: cover;
  filter: saturate(.92) contrast(1.06);
  clip-path: inset(0 0 0 0);
}
.image-treatment-product-clean .hero-image,
.image-treatment-product-clean .offer-image,
.image-treatment-product-clean .case-image,
.image-treatment-product-clean .about-image,
.image-treatment-product-clean .detail-image,
.image-treatment-product-clean .article-image,
.image-treatment-product-clean .team-image {
  object-fit: contain;
  padding: clamp(10px, 2vw, 28px);
  background: var(--surface-2);
  filter: none;
}

/* Offers */
.offer-list { display: grid; gap: 1px; border-top: 1px solid var(--line); }
.offer-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, .7fr) 1.3fr;
  gap: clamp(30px, 6vw, 96px);
  align-items: center;
  padding: clamp(28px, 4vw, 58px) 0;
  border-bottom: 1px solid var(--line);
}
.offer-card:nth-child(even) { grid-template-columns: 1.3fr minmax(240px, .7fr); }
.offer-card:nth-child(even) .offer-media { order: 2; }
.offer-media { overflow: hidden; border-radius: var(--radius); background: var(--surface-2); }
.offer-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .75s var(--ease); }
.offer-media:hover .offer-image { transform: scale(1.04); }
.offer-card-copy { position: relative; min-width: 0; }
.offer-number { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.offer-card h3 { max-width: 11ch; margin: 16px 0 20px; font-family: var(--display); font-size: clamp(38px, 5.3vw, 84px); line-height: .86; letter-spacing: -.065em; }
.offer-card p { max-width: 55ch; color: var(--muted); font-size: 17px; }
.price-label { display: block; margin: 17px 0; color: var(--text); font-size: 11px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }

/* Process */
.process-section { overflow: clip; background: color-mix(in srgb, var(--accent-alt) 96%, var(--bg)); color: #f4f6f2; }
.process-section .eyebrow { color: color-mix(in srgb, var(--accent) 80%, white); }
.process-section .section-copy { color: rgba(255,255,255,.68); }
.process-track { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.process-step { min-height: 300px; padding: 28px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.process-step > span { color: var(--accent); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.process-step h3 { margin: 72px 0 15px; font-family: var(--display); font-size: clamp(28px, 3.5vw, 52px); line-height: .9; letter-spacing: -.05em; }
.process-step p { color: rgba(255,255,255,.68); }

/* Cases / about / insights */
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 4vw, 60px); }
.case-card { min-width: 0; }
.case-card:nth-child(even) { margin-top: 90px; }
.case-card > a { display: block; overflow: hidden; border-radius: var(--radius); }
.case-image { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .8s var(--ease); }
.case-card:hover .case-image { transform: scale(1.04); }
.case-card h3, .case-card h2 { margin: 22px 0 10px; font-family: var(--display); font-size: clamp(30px, 3.8vw, 58px); line-height: .9; letter-spacing: -.05em; }
.case-card p { max-width: 55ch; color: var(--muted); }
.about-section { overflow: clip; }
.about-grid { display: grid; grid-template-columns: minmax(280px, .78fr) 1.22fr; gap: clamp(45px, 9vw, 150px); align-items: center; }
.about-media { position: relative; }
.about-media::before { content: ""; position: absolute; z-index: -1; inset: 11% -11% -8% 16%; border-radius: 55% 45% 62% 38% / 47% 61% 39% 53%; background: color-mix(in srgb, var(--accent) 34%, transparent); }
.about-image { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 53% 47% 38% 62% / 42% 57% 43% 58%; box-shadow: var(--shadow); }
.about-copy h2 { max-width: 10ch; margin: 0 0 28px; font-family: var(--display); font-size: clamp(50px, 7vw, 112px); line-height: .82; letter-spacing: -.07em; }
.value-list { display: grid; gap: 15px; margin: 42px 0; }
.value-list > div { display: grid; grid-template-columns: minmax(110px,.3fr) 1fr; gap: 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.value-list strong { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.value-list span { color: var(--muted); }
.insights-section { background: var(--surface); }
.insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.insight-card { min-height: 360px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--surface) 84%, transparent); transition: transform .35s var(--ease), border-color .35s var(--ease); }
.insight-card:hover, .insight-card:focus-within { transform: translateY(-6px); border-color: var(--accent); }
.insight-card > span { color: var(--accent); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.insight-card h3, .insight-card h2 { margin: 45px 0 16px; font-family: var(--display); font-size: clamp(27px, 2.7vw, 43px); line-height: .95; letter-spacing: -.045em; }
.insight-card p { color: var(--muted); }
.insight-card .text-link { margin-top: auto; }

/* Trust and FAQ */
.trust-section { border-top: 1px solid var(--line); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.metric { min-height: 190px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.metric strong { display: block; color: var(--accent); font-family: var(--display); font-size: clamp(48px, 6vw, 92px); line-height: .8; letter-spacing: -.07em; }
.metric span { display: block; margin-top: 20px; color: var(--muted); }
.testimonial-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 20px; }
.testimonial { margin: 0; padding: clamp(26px,4vw,54px); border-radius: var(--radius); background: var(--surface); }
.testimonial p { margin: 0 0 25px; font-family: var(--display); font-size: clamp(26px,3.3vw,48px); line-height: 1; letter-spacing: -.04em; }
.testimonial cite { color: var(--muted); font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.proof-empty { max-width: 760px; padding: clamp(28px,5vw,68px); border: 1px solid var(--line); border-radius: 50% 50% 15px 50%; background: var(--surface); }
.proof-empty strong { font-family: var(--display); font-size: clamp(34px,5vw,72px); line-height: .9; }
.proof-empty p { max-width: 52ch; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 25px 55px 25px 0; list-style: none; cursor: pointer; font-family: var(--display); font-size: clamp(21px,2.5vw,36px); line-height: 1; letter-spacing: -.035em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 3px; top: 20px; color: var(--accent); font-family: var(--body); font-size: 30px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item > div { max-width: 760px; padding: 0 0 27px; color: var(--muted); }

/* Contact */
.contact-portal {
  position: relative;
  width: min(1780px, calc(100vw - 24px));
  margin: clamp(80px, 10vw, 160px) auto 0;
  padding: clamp(40px, 6vw, 92px);
  overflow: hidden;
  border-radius: clamp(44px, 7vw, 110px) clamp(44px, 7vw, 110px) 18px 18px;
  color: var(--accent-text);
  background: var(--accent);
}
.contact-orbit { position: absolute; width: 70vw; aspect-ratio: 1; right: -37vw; top: -40vw; border-radius: 50%; background: color-mix(in srgb, var(--accent-alt) 70%, transparent); filter: blur(8px); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(42px, 8vw, 140px); }
.contact-copy .eyebrow { color: inherit; }
.contact-copy h2 { max-width: 8ch; margin: 0; font-family: var(--display); font-size: clamp(52px, 8vw, 128px); line-height: .76; letter-spacing: -.08em; }
.contact-copy > p { max-width: 50ch; font-size: 18px; }
.contact-channels { display: grid; gap: 0; margin-top: 42px; border-top: 1px solid color-mix(in srgb, var(--accent-text) 35%, transparent); }
.contact-channels a { display: grid; grid-template-columns: minmax(90px,.3fr) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--accent-text) 35%, transparent); }
.contact-channels span { font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.contact-channels strong { overflow-wrap: anywhere; font-weight: 600; }
.contact-form-shell { padding: clamp(24px,4vw,50px); border-radius: 20px 70px 70px 70px; color: var(--text); background: var(--bg); box-shadow: var(--shadow); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field > span { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; outline: 0; color: var(--text); background: var(--surface); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: 12px; }
.consent input { margin-top: 4px; }
.form-message { min-height: 22px; margin: 0; color: var(--muted); font-size: 12px; }

/* Footer */
.site-footer { padding: 75px 0 95px; }
.footer-inner { width: var(--page); margin-inline: auto; }
.footer-name { display: block; overflow: hidden; font-family: var(--display); font-size: clamp(74px, 18vw, 280px); font-weight: 800; line-height: .67; letter-spacing: -.105em; white-space: nowrap; text-transform: uppercase; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 28px; margin-top: 70px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div { display: flex; flex-wrap: wrap; gap: 14px; }

/* Inner pages */
.inner-main { min-height: 70vh; }
.breadcrumbs { width: var(--page); margin: 30px auto 0; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.breadcrumbs > *:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--line); }
.page-hero-small { width: var(--page); margin: 0 auto; padding: clamp(70px, 10vw, 150px) 0 40px; }
.page-hero-small h1 { max-width: 12ch; }
.page-hero-small > p:last-child { max-width: 60ch; margin: 28px 0 0; color: var(--muted); font-size: 20px; }
.page-hero-editorial { padding: clamp(70px,10vw,150px) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; border-bottom: 1px solid var(--line); }
.page-hero-editorial h1 { max-width: 10ch; }
.about-detail-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px,8vw,130px); align-items: start; }
.detail-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.value-stack { display: grid; gap: 40px; }
.value-stack article { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.value-stack h2 { margin: 0 0 12px; font-family: var(--display); font-size: clamp(36px,5vw,72px); line-height: .88; letter-spacing: -.05em; }
.value-stack p { color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 70px; }
.team-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.team-image { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: calc(var(--radius) * .7); }
.team-card h3 { margin: 20px 0 5px; font-family: var(--display); font-size: 34px; }
.detail-page { padding: clamp(70px,9vw,140px) 0; }
.detail-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px,8vw,130px); align-items: center; }
.detail-copy h1 { max-width: 10ch; }
.detail-copy .large-copy { margin: 30px 0; color: var(--muted); }
.detail-columns { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin: clamp(80px,10vw,150px) 0; padding-top: 40px; border-top: 1px solid var(--line); }
.detail-columns h2 { margin: 0 0 20px; font-family: var(--display); font-size: clamp(32px,4vw,56px); line-height: .9; }
.detail-columns ul, .detail-columns ol { margin: 0; padding-left: 20px; color: var(--muted); }
.detail-columns li { margin-bottom: 10px; }
.detail-columns ol { list-style: none; padding: 0; }
.detail-columns ol li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.detail-columns ol span { color: var(--accent); font-size: 10px; font-weight: 900; }
.case-detail { padding: clamp(65px,9vw,140px) 0; }
.case-detail header { max-width: 1100px; margin-bottom: 60px; }
.case-detail header h1 { max-width: 12ch; }
.case-detail header .large-copy { max-width: 30ch; margin-top: 30px; }
.case-hero { width: 100%; max-height: 80vh; object-fit: cover; border-radius: clamp(28px,5vw,75px); }
.case-story { display: grid; grid-template-columns: repeat(3,1fr); gap: 35px; margin-top: 80px; }
.case-story section { padding-top: 20px; border-top: 1px solid var(--line); }
.case-story h2 { font-family: var(--display); font-size: 42px; line-height: .9; }
.case-story p { color: var(--muted); }

/* Articles / GEO-AEO */
.article-main { padding-bottom: 120px; }
.article-layout { width: var(--page); margin-inline: auto; }
.article-header { max-width: 1120px; padding: clamp(65px,9vw,140px) 0 50px; }
.article-header h1 { max-width: 13ch; }
.article-intro { max-width: 58ch; margin: 30px 0; color: var(--muted); font-size: clamp(20px,2vw,28px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-visual { margin-bottom: 80px; }
.article-image { width: 100%; max-height: 70vh; object-fit: cover; border-radius: clamp(30px,5vw,80px); }
.article-content { display: grid; grid-template-columns: minmax(190px,.34fr) 1.66fr; gap: clamp(35px,7vw,120px); align-items: start; }
.article-toc { position: sticky; top: calc(var(--header-h) + 25px); display: grid; gap: 9px; padding: 20px 0; border-top: 1px solid var(--line); }
.article-toc strong { margin-bottom: 8px; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.article-toc a { color: var(--muted); font-size: 12px; }
.article-toc a:hover { color: var(--accent); }
.article-copy { max-width: 850px; min-width: 0; }
.answer-card { margin-bottom: 70px; padding: clamp(25px,4vw,48px); border-left: 5px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; background: var(--surface); }
.answer-card p:last-child { margin: 0; font-family: var(--display); font-size: clamp(25px,3.2vw,44px); line-height: 1.03; letter-spacing: -.04em; }
.local-signals { margin-bottom: 70px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--accent-alt) 7%, var(--surface)); }
.local-signals h2 { margin: 0 0 15px; font-family: var(--display); font-size: 30px; }
.local-signals ul { margin: 0; padding-left: 20px; color: var(--muted); }
.article-section { scroll-margin-top: calc(var(--header-h) + 30px); margin-bottom: 75px; }
.article-section h2, .article-sources h2, .article-cta h2, .legal-page h1 { margin: 0 0 24px; font-family: var(--display); font-size: clamp(34px,4.6vw,68px); line-height: .9; letter-spacing: -.05em; }
.article-section p { color: color-mix(in srgb, var(--text) 76%, var(--muted)); font-size: 18px; }
.article-section ul { padding-left: 22px; color: var(--muted); }
.article-section li { margin-bottom: 10px; }
.table-scroll { max-width: 100%; margin-top: 30px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 580px; }
th, td { padding: 15px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--accent); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.article-copy .faq-section { padding: 20px 0 70px; }
.article-copy .faq-section .page-shell { width: auto; }
.article-sources { margin-top: 70px; padding-top: 35px; border-top: 1px solid var(--line); }
.article-sources ol { padding-left: 20px; }
.article-sources li { margin-bottom: 14px; }
.article-sources a { text-decoration: underline; text-underline-offset: 4px; }
.article-sources span { display: block; color: var(--muted); font-size: 13px; }
.article-cta { margin-top: 80px; padding: clamp(30px,5vw,65px); border-radius: var(--radius); color: var(--accent-text); background: var(--accent); }
.article-cta .button { color: var(--text); background: var(--bg); border-color: var(--bg); }
.legal-page { max-width: 900px; padding: clamp(65px,9vw,140px) 0; }
.legal-page p { color: var(--muted); font-size: 18px; }
.not-found { min-height: 70vh; display: grid; place-items: center; align-content: center; text-align: center; }
.not-found h1 { margin-bottom: 35px; }

/* Presets: structure, typography, shape and composition—not just colors. */
.preset-precision { --radius: 8px; }
.preset-precision .hero-mask, .preset-precision .about-image, .preset-precision .offer-media { border-radius: 0; clip-path: polygon(8% 0,100% 5%,92% 100%,0 91%); }
.preset-precision .hero-copy h1, .preset-precision .section-head h2 { text-transform: uppercase; }
.preset-precision .process-track { grid-template-columns: repeat(4,1fr); }
.preset-precision .insight-card, .preset-precision .contact-form-shell, .preset-precision .detail-image { border-radius: 0; }
.preset-precision .offer-number::before { content: "// "; }

.preset-human .hero-copy h1, .preset-human .section-head h2 { font-weight: 600; }
.preset-human .hero-mask { filter: blur(2px); }
.preset-human .offer-media, .preset-human .insight-card { border-radius: 60px 60px 16px 60px; }
.preset-human .contact-form-shell { border-radius: 70px 20px 70px 70px; }

.preset-editorial { --radius: 0px; }
.preset-editorial .hero-mask { display: none; }
.preset-editorial .hero-copy h1, .preset-editorial .section-head h2 { font-style: italic; font-weight: 500; }
.preset-editorial .offer-card { grid-template-columns: .55fr 1.45fr; }
.preset-editorial .offer-media, .preset-editorial .insight-card, .preset-editorial .contact-form-shell, .preset-editorial .case-card > a { border-radius: 0; box-shadow: none; }
.preset-editorial .section { border-top: 1px solid var(--line); }
.preset-editorial .about-copy .large-copy::first-letter { float: left; margin-right: 10px; color: var(--accent); font-family: var(--display); font-size: 4em; line-height: .72; }

.preset-atelier .hero-copy h1 { max-width: 9ch; }
.preset-atelier .offer-card:nth-child(3n) .offer-media { border-radius: 50% 50% 15px 50%; }
.preset-atelier .insight-card:nth-child(2n) { border-radius: 60px 15px 60px 60px; }
.preset-atelier .case-card:nth-child(even) > a { border-radius: 50% 50% 20px 50%; }

.preset-momentum { --radius: 4px; }
.preset-momentum .hero-copy h1, .preset-momentum .section-head h2 { text-transform: uppercase; }
.preset-momentum .hero-mask { border-radius: 0; clip-path: polygon(18% 0,100% 0,82% 100%,0 86%); }
.preset-momentum .hero-word { color: color-mix(in srgb, var(--accent) 11%, transparent); }
.preset-momentum .offer-media, .preset-momentum .case-card > a, .preset-momentum .insight-card, .preset-momentum .contact-form-shell { border-radius: 0; }
.preset-momentum .offer-card:nth-child(even) { transform: skewY(-.5deg); }

.preset-commerce { --radius: 22px; }
.preset-commerce .offer-list { grid-template-columns: repeat(3, 1fr); gap: 14px; border: 0; }
.preset-commerce .offer-card, .preset-commerce .offer-card:nth-child(even) { display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.preset-commerce .offer-card:nth-child(even) .offer-media { order: initial; }
.preset-commerce .offer-card h3 { font-size: clamp(28px,3vw,45px); }
.preset-commerce .offer-media { border-radius: calc(var(--radius) * .7); }
.preset-commerce .hero-mask { border-radius: var(--pill); }

/* Shape is a resolved visual axis, independent from the preset. */
.shape-soft {
  --shape-radius: 34px;
  --radius: 34px;
}
.shape-soft .hero-mask,
.shape-soft .offer-media,
.shape-soft .case-card > a,
.shape-soft .about-image,
.shape-soft .insight-card,
.shape-soft .contact-form-shell {
  border-radius: 34px 34px 12px 34px;
  clip-path: none;
}
.shape-cut {
  --shape-radius: 4px;
  --radius: 4px;
}
.shape-cut .hero-mask,
.shape-cut .offer-media,
.shape-cut .case-card > a,
.shape-cut .about-image,
.shape-cut .insight-card,
.shape-cut .contact-form-shell {
  border-radius: 4px;
  clip-path: polygon(7% 0, 100% 0, 100% 88%, 93% 100%, 0 100%, 0 12%);
}
.shape-organic {
  --shape-radius: 48% 52% 24% 76% / 58% 32% 68% 42%;
  --radius: 30px;
}
.shape-organic .hero-mask,
.shape-organic .offer-media,
.shape-organic .case-card > a,
.shape-organic .about-image,
.shape-organic .insight-card,
.shape-organic .contact-form-shell {
  border-radius: 48% 52% 24% 76% / 58% 32% 68% 42%;
  clip-path: none;
}
.shape-editorial {
  --shape-radius: 0;
  --radius: 0;
}
.shape-editorial .hero-mask,
.shape-editorial .offer-media,
.shape-editorial .case-card > a,
.shape-editorial .about-image,
.shape-editorial .insight-card,
.shape-editorial .contact-form-shell {
  border-radius: 0;
  outline: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
}
.shape-pill {
  --shape-radius: var(--pill);
  --radius: 24px;
}
.shape-pill .hero-mask,
.shape-pill .offer-media,
.shape-pill .case-card > a,
.shape-pill .about-image,
.shape-pill .insight-card,
.shape-pill .contact-form-shell {
  border-radius: var(--pill);
  clip-path: none;
}

/* Density changes spacing and information rhythm, not only a body hook. */
.density-compact {
  --density-section: clamp(66px, 7vw, 112px);
  --density-card: 22px;
}
.density-compact .section { padding-block: clamp(66px, 7vw, 112px); }
.density-compact .section-head { margin-bottom: clamp(34px, 5vw, 66px); }
.density-compact .insight-card { min-height: 286px; padding: 22px; }
.density-balanced {
  --density-section: clamp(88px, 9vw, 148px);
  --density-card: 28px;
}
.density-balanced .section { padding-block: clamp(88px, 9vw, 148px); }
.density-balanced .section-head { margin-bottom: clamp(44px, 6vw, 82px); }
.density-balanced .insight-card { min-height: 340px; padding: 28px; }
.density-airy {
  --density-section: clamp(112px, 12vw, 195px);
  --density-card: 34px;
}
.density-airy .section { padding-block: clamp(112px, 12vw, 195px); }
.density-airy .section-head { margin-bottom: clamp(60px, 8vw, 112px); }
.density-airy .insight-card { min-height: 390px; padding: 34px; }

/* Motion intensity is bounded and remains subordinate to user preferences. */
body[data-motion="low"] {
  --motion-distance: 0px;
  --motion-duration: 0s;
  --hero-motion-duration: 0s;
}
body[data-motion="medium"] {
  --motion-distance: 26px;
  --motion-duration: .8s;
  --hero-motion-duration: 18s;
}
body[data-motion="high"] {
  --motion-distance: 42px;
  --motion-duration: 1s;
  --hero-motion-duration: 12s;
}
body[data-motion="medium"] .hero-image { animation-duration: 18s; }
body[data-motion="high"] .hero-image { animation-duration: 12s; }

/* Progressive reveal; content remains visible without JS. */
.reveal { opacity: 1; transform: none; }
body:not([data-motion="low"]) .reveal { opacity: 0; transform: translateY(var(--motion-distance, 26px)); transition: opacity var(--motion-duration, .8s) var(--ease-out), transform var(--motion-duration, .8s) var(--ease-out); }
body:not([data-motion="low"]) .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  :root { --page: min(100% - 40px, 1180px); }
  .header-nav { gap: 16px; }
  .hero-copy { max-width: 80vw; }
  .process-track { grid-template-columns: repeat(2,1fr); }
  .insight-grid { grid-template-columns: repeat(2,1fr); }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid, .page-hero-editorial, .about-detail-grid { grid-template-columns: 1fr; }
  .contact-copy h2 { max-width: 10ch; }
  .article-content { grid-template-columns: 1fr; }
  .article-toc { position: static; grid-template-columns: repeat(2,1fr); }
  .article-toc strong { grid-column: 1 / -1; }
  .preset-commerce .offer-list { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 880px) {
  :root { --header-h: 68px; }
  .header-inner { grid-template-columns: 1fr auto auto; gap: 10px; }
  .header-nav {
    position: fixed;
    inset: calc(var(--header-h) + 12px) 16px auto;
    display: none;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
  }
  .header-nav.is-open { display: grid; gap: 12px; }
  .header-cta { display: none; }
  .menu-button { display: block; }
  .hero-copy { max-width: 90vw; }
  .hero-mask { width: 100vw; right: -47vw; top: 18%; }
  .offer-card, .offer-card:nth-child(even) { grid-template-columns: 1fr; }
  .offer-card:nth-child(even) .offer-media { order: initial; }
  .offer-media { width: min(78vw, 620px); }
  .about-grid, .detail-grid { grid-template-columns: 1fr; }
  .about-media { width: min(74vw, 580px); }
  .detail-columns, .case-story { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .composition-direct .hero-direct-shell,
  .composition-authority .hero-authority-shell,
  .composition-catalog .hero-catalog-shell {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-content: center;
    padding-block: clamp(62px, 10vw, 100px);
  }
  .composition-direct .hero-media,
  .composition-catalog .hero-media {
    inset: 0;
    opacity: .34;
    border-radius: 0;
    box-shadow: none;
  }
  .composition-direct .hero-media::after,
  .composition-catalog .hero-media::after {
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--bg) 78%, transparent), var(--bg)),
      linear-gradient(90deg, var(--bg), transparent);
  }
  .composition-authority .hero-media {
    inset: 0;
    opacity: .26;
  }
  .composition-authority .hero-copy,
  .hero-authority-panel,
  .composition-catalog .hero-facts {
    grid-column: 1;
    grid-row: auto;
  }
  .hero-action-panel,
  .hero-authority-panel,
  .hero-catalog-panel {
    width: min(100%, 680px);
  }
}

@media (max-width: 680px) {
  :root { --page: calc(100vw - 24px); --reading: calc(100vw - 28px); --radius: 22px; }
  body { font-size: 15px; }
  .hero-image { object-position: var(--hero-focal-mobile, var(--hero-focal, 50% 50%)); }
  .demo-banner { font-size: 8px; padding-inline: 8px; }
  .brand-logo { width: 92px; height: 32px; }
  .brand-word { font-size: 20px; }
  .hero { min-height: 760px; }
  .hero-shell { min-height: 760px; padding: 70px 0 55px; }
  .hero-copy { max-width: 100%; }
  .hero-copy h1 {
    max-width: 10ch;
    overflow-wrap: anywhere;
    font-size: clamp(54px,17vw,92px);
  }
  .hero-summary { font-size: 17px; }
  .hero-mask { width: 130vw; right: -75vw; top: 16%; opacity: .78; }
  .hero-facts { gap: 5px; }
  .hero-facts span { padding: 7px 9px; font-size: 8px; }
  .hero-word { bottom: 0; font-size: 29vw; }
  .composition-direct .hero,
  .composition-authority .hero,
  .composition-catalog .hero {
    min-height: auto;
  }
  .composition-direct .hero-direct-shell,
  .composition-authority .hero-authority-shell,
  .composition-catalog .hero-catalog-shell {
    gap: 28px;
    min-height: auto;
    padding-block: 64px 76px;
  }
  .composition-authority .hero-copy h1,
  .composition-catalog .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(42px, 13.8vw, 76px);
  }
  .composition-showcase .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(46px, 15vw, 82px);
  }
  .hero-action-panel,
  .hero-authority-panel,
  .hero-catalog-panel {
    padding: 20px;
  }
  .hero-authority-panel li p {
    display: none;
  }
  .hero-showcase-links {
    display: none;
  }
  .section { padding: 88px 0; }
  .section-head h2, .page-hero-small h1, .page-hero-editorial h1, .detail-copy h1, .article-header h1, .case-detail header h1 { font-size: clamp(43px,15vw,72px); }
  .offer-media { width: 100%; }
  .offer-card h3 { font-size: 42px; }
  .process-track { grid-template-columns: 1fr; }
  .process-step { min-height: 220px; }
  .process-step h3 { margin-top: 42px; }
  .case-grid, .insight-grid, .testimonial-grid, .metric-grid, .team-grid { grid-template-columns: 1fr; }
  .case-card:nth-child(even) { margin-top: 0; }
  .about-media { width: 88vw; max-width: 520px; }
  .about-copy h2 { font-size: 58px; }
  .large-copy { font-size: 29px; }
  .value-list > div { grid-template-columns: 1fr; gap: 7px; }
  .insight-card { min-height: 310px; }
  .contact-portal { width: calc(100vw - 12px); padding: 50px 18px 28px; border-radius: 42px 42px 16px 16px; }
  .contact-grid { gap: 45px; }
  .contact-copy h2 { font-size: 60px; }
  .contact-form-shell { padding: 24px 16px; border-radius: 16px 40px 40px 40px; }
  .contact-form { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .contact-channels a { grid-template-columns: 1fr; gap: 3px; }
  .footer-name { font-size: 24vw; }
  .footer-grid { grid-template-columns: 1fr; margin-top: 45px; }
  .breadcrumbs { margin-top: 20px; }
  .page-hero-small { padding-top: 70px; }
  .detail-page { padding-top: 60px; }
  .detail-columns { margin-top: 70px; }
  .case-story { margin-top: 50px; }
  .article-header { padding-top: 60px; }
  .article-visual { margin-bottom: 45px; }
  .article-toc { grid-template-columns: 1fr; }
  .answer-card { margin-bottom: 50px; border-left-width: 4px; }
  .article-section p { font-size: 17px; }
  .article-section h2, .article-sources h2, .article-cta h2, .legal-page h1 { font-size: 40px; }
  .article-meta { display: grid; gap: 5px; }
  .preset-commerce .offer-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

@media (forced-colors: active) {
  .button, .header-cta, .insight-card, .contact-form-shell, .offer-media { border: 1px solid CanvasText; }
}

/* Hardening against accidental horizontal overflow. */
html, body { overflow-x: clip; }
.header-inner > *, .hero-shell > *, .offer-card > *, .about-grid > *, .contact-grid > *, .detail-grid > *, .article-content > *, .footer-grid > * { min-width: 0; }

/* ---------------------------------------------------------------------------
   Barra de acción móvil. Solo se muestra en pantallas táctiles estrechas y
   únicamente si el negocio tiene dos o más canales reales de contacto.
   --------------------------------------------------------------------------- */
.mobile-actions { display: none; }

@media (max-width: 760px) {
  .mobile-actions {
    position: fixed;
    z-index: 90;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 6px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: var(--pill);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 44px rgba(0, 0, 0, .22);
  }
  .mobile-actions a {
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 8px 6px;
    border-radius: var(--pill);
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .01em;
    text-align: center;
  }
  .mobile-actions a:first-child { color: var(--accent-text); background: var(--accent); }
  .mobile-actions a span { font-size: 15px; line-height: 1; }
  /* Deja aire para que la barra no tape el final del contenido ni el footer. */
  .site-footer { padding-bottom: 84px; }
}

/* ---------------------------------------------------------------------------
   Refinamientos de acabado premium: las variable fonts permiten un ajuste
   óptico que las fuentes de sistema no daban.
   --------------------------------------------------------------------------- */
.hero-title, .hero h1 { text-wrap: balance; }
p, .large-copy, .article-intro { text-wrap: pretty; }
.answer-card { border-left: 3px solid var(--accent); }
.eyebrow, .kicker { font-variant-numeric: tabular-nums; }
.metric strong { font-variant-numeric: tabular-nums lining-nums; }
