/* ============================================================================
   Core BIM Solutions
   Design language: Tenity — IBM Plex Sans / display grotesque, white ground,
   ink #2c2a2b, grey #858585, signature red #ff3e60, 10px radius,
   expo-out motion, hairline borders, soft glass.
   ============================================================================ */

:root {
  --bg: #ffffff;
  --bg-warm: #faf8f5;
  --ink: #1d1c1c;
  --ink-soft: #2c2a2b;
  --grey: #858585;
  --grey-2: #a8a5a0;
  --line: rgba(29, 28, 28, .12);
  --line-2: rgba(29, 28, 28, .07);
  --red: #ff3e60;
  --red-deep: #e8294b;
  --red-tint: #ffe4e9;

  --dark: #100f10;
  --dark-2: #171517;
  --on-dark: #f3f1ee;
  --on-dark-soft: #9b9893;
  --line-dark: rgba(255, 255, 255, .12);

  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 26px;

  --display: "Inter Tight", "Helvetica Neue", "Helvetica", Arial, sans-serif;
  --sans: "IBM Plex Sans", "Georgia", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --shell: min(1280px, 100% - 4rem);
  --gut: clamp(2rem, 6vw, 5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  font-feature-settings: "ss01", "cv05";
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--red);
  color: #fff;
}

/* ---- accessibility ---- */
.skip {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: .65rem 1rem;
  border-radius: var(--radius);
  font-size: .85rem;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}

.skip:focus {
  transform: none;
}

:focus-visible {
  outline: 2.5px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- shell ---- */
.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(7rem, 12vw, 12rem);
}

/* ---- type primitives ---- */
.display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.008em;
  line-height: .98;
  color: var(--ink);
  text-wrap: balance;
}

.display em {
  font-style: italic;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--red);
}

.lede {
  color: var(--grey);
  font-size: clamp(1.15rem, 1.2vw, 1.4rem);
  line-height: 1.6;
  max-width: 42ch;
}

.lede--invert {
  color: var(--on-dark-soft);
}

/* ---- eyebrow ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
}

.eyebrow__tick {
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  transform-origin: left;
}

.eyebrow--ink {
  color: var(--ink-soft);
}

.eyebrow--ink .eyebrow__tick {
  background: var(--red);
}

.eyebrow--invert {
  color: var(--on-dark);
}

.eyebrow--invert .eyebrow__tick {
  background: var(--red);
}

/* ---- buttons (Tenity pill + circular icon) ---- */
.btn {
  --bd: transparent;
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  padding: .95rem 1.35rem;
  border-radius: 100px;
  border: 1px solid var(--bd);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  will-change: transform;
}

.btn__ic {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  flex: none;
  transition: transform .45s var(--ease), background-color .4s var(--ease), color .4s var(--ease);
}

.btn__ic svg {
  width: 14px;
  height: 14px;
  stroke-width: 2px;
}

.btn:hover .btn__ic {
  transform: translateX(3px);
}

.btn--solid {
  background: var(--red);
  color: #fff;
  --bd: var(--red);
}

.btn--solid:hover {
  background: var(--red-deep);
  --bd: var(--red-deep);
  transform: translateY(-2px);
}

.btn--solid .btn__ic {
  border-color: rgba(255, 255, 255, .5);
}

.btn--solid:hover .btn__ic {
  background: #fff;
  color: var(--red);
}

.btn--ghost {
  color: var(--ink);
  --bd: var(--line);
}

.btn--ghost:hover {
  --bd: var(--ink);
  background: var(--ink);
  color: #fff;
}

.btn--line {
  color: var(--on-dark);
  --bd: var(--line-dark);
}

.btn--line:hover {
  --bd: var(--on-dark);
  background: var(--on-dark);
  color: var(--dark);
}

.btn--lg {
  padding: 1.1rem 1.6rem;
  font-size: 1.02rem;
}

/* ============================================================================
   NAV — glass, hairline, scroll-aware
   ============================================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-block: clamp(.7rem, 1.4vw, 1.1rem);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}

.nav__bar {
  width: var(--shell);
  max-width: 1280px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav[data-scrolled] {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(0, 0, 0, .4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  letter-spacing: -.02em;
  font-size: 1.02rem;
}

.brand__logo {
  display: block;
  max-height: 39px;
  width: auto;
  object-fit: contain;
  transition: filter 0.4s var(--ease), transform 0.4s var(--ease);
  will-change: filter, transform;
}

.brand:hover .brand__logo {
  transform: scale(1.03);
}

.nav:not([data-scrolled]) .brand__logo,
[data-theme="dark"] .brand__logo {
  filter: invert(1) brightness(100) contrast(100);
}

.nav__links {
  display: none;
  gap: 2.6rem;
  font-size: .92rem;
  color: var(--on-dark-soft);
  transition: color .4s var(--ease);
}

.nav[data-scrolled] .nav__links {
  color: var(--grey);
}

.nav__links a {
  position: relative;
  padding-block: .35rem;
  transition: color .3s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--red);
  transition: width .4s var(--ease);
}

.nav__links a:hover::after,
.nav__links a[aria-current]::after {
  width: 100%;
}

.nav__links a:hover,
.nav__links a[aria-current] {
  color: var(--on-dark);
}

.nav[data-scrolled] .nav__links a:hover,
.nav[data-scrolled] .nav__links a[aria-current] {
  color: var(--ink);
}

.nav__end {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.nav__cta {
  padding: .6rem .7rem .6rem 1.1rem;
  font-size: .88rem;
}

.nav__cta .btn__ic {
  width: 1.5rem;
  height: 1.5rem;
}

/* hamburger */
.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.4rem;
  height: 2.4rem;
  padding: .42rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .2);
  background: transparent;
  transition: background .3s var(--ease), border-color .4s var(--ease);
}

.nav[data-scrolled] .nav__burger {
  border-color: var(--line);
}

.nav__burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--on-dark);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s var(--ease), background-color .4s var(--ease);
  transform-origin: center;
}

.nav[data-scrolled] .nav__burger span {
  background: var(--ink);
}

.nav__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  pointer-events: none;
}

.mobile-menu.is-open {
  transform: none;
  pointer-events: all;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(5rem, 12vw, 6.5rem) clamp(1.5rem, 6vw, 3rem) 3rem;
  gap: 2.5rem;
  height: 100%;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.mobile-menu nav a {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.03em;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: var(--ink);
  padding: .5rem 0;
  border-bottom: 1px solid var(--line-2);
  transition: color .3s var(--ease), padding-left .4s var(--ease);
}

.mobile-menu nav a:hover {
  color: var(--red);
  padding-left: .5rem;
}

.mobile-menu__contact {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: .5rem;
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .03em;
  color: var(--grey);
}

.mobile-menu__contact a {
  color: var(--grey);
  transition: color .3s var(--ease);
}

.mobile-menu__contact a:hover {
  color: var(--red);
}

@media (min-width:980px) {
  .nav__links {
    display: inline-flex;
  }

  .nav__burger {
    display: none;
  }

  .mobile-menu {
    display: none;
  }
}

@media (max-width:620px) {
  .nav__cta span:first-child {
    display: none;
  }

  .nav__cta {
    padding: .55rem;
  }
}

/* ============================================================================
   HERO — full-bleed video, left-set, mask reveal, stat ledger
   ============================================================================ */
.hero {
  position: relative;
  min-height: 104svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: clamp(8rem, 16vh, 12rem);
  padding-bottom: clamp(6rem, 13vh, 9.5rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: var(--dark);
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0) scale(1.02);
  will-change: transform, opacity;
  animation: videoFadeIn 2.5s var(--ease) forwards;
  opacity: 0;
}

@keyframes videoFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Cinematic overlay — darker left behind text, brighter right, soft vignette,
   gentle grounding at the foot so the low-set content stays legible. */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(102deg, rgba(16, 15, 16, .76) 0%, rgba(16, 15, 16, .5) 26%, rgba(16, 15, 16, .16) 52%, rgba(16, 15, 16, 0) 78%),
    radial-gradient(135% 115% at 74% 30%, transparent 52%, rgba(16, 15, 16, .42) 100%),
    linear-gradient(to top, rgba(16, 15, 16, .62) 0%, rgba(16, 15, 16, 0) 30%);
  box-shadow: inset 0 0 180px rgba(0, 0, 0, .45);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
}

[data-theme="dark"] .hero__title {
  color: var(--on-dark);
}

.hero .eyebrow {
  letter-spacing: .22em;
}

.hero__title {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.008em;
  line-height: .98;
  font-size: clamp(2.85rem, 7.6vw, 7rem);
  margin-top: clamp(2.2rem, 4vw, 3.4rem);
  max-width: 24ch;
}

.hero__title em {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  letter-spacing: -.02em;
  /* italic descender of "design." needs a touch more right-side room */
  padding-right: .04em;
}

/* Masked line reveal — generous bottom padding fully clears descenders (the
   italic "g" in design.), a matching negative margin keeps the two lines
   optically tight so the headline still reads as one block. */
.mask {
  display: block;
  overflow: hidden;
  padding-bottom: .32em;
  margin-bottom: -.22em;
}

.mask>span {
  display: block;
  transform: translateY(110%);
}

[data-line].in>span {
  transition: transform 1.05s var(--ease);
  transform: none;
}

[data-line]:nth-child(2).in>span {
  transition-delay: .12s;
}

[data-line]:nth-child(3).in>span {
  transition-delay: .24s;
}

[data-line]:nth-child(4).in>span {
  transition-delay: .36s;
}

.hero__lede {
  margin-top: clamp(1.8rem, 3.2vw, 2.6rem);
  max-width: 38ch;
  color: rgba(243, 241, 238, .88);
  font-size: clamp(1.05rem, 1rem + .3vw, 1.18rem);
  line-height: 1.65;
}

.hero__actions {
  margin-top: clamp(2.2rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero__actions .btn {
  padding: 1.05rem 1.6rem;
}

/* ============================================================================
   METRICS — editorial transition between hero and problem.
   Large numerals, hairline dividers only. No boxes, no cards, no shadows.
   ============================================================================ */
.metrics {
  background: var(--bg);
  /* pulled tighter so it reads as one editorial breath after the hero,
     not a separate stranded band — ~40% shorter than before */
  padding-block: clamp(2.6rem, 5.2vw, 5rem);
}

.metrics__eyebrow {
  margin-bottom: clamp(1.7rem, 3.4vw, 2.6rem);
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2.5rem, 6vw, 4rem) 1rem;
}

.metric {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(.5rem, .9vw, .7rem);
  padding: 0;
  border-bottom: 0;
}

.metric__n {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .9;
  /* sized so the widest figure (24–48h) holds one line across the 4-column
     range while staying the dominant element on the page */
  font-size: clamp(2.9rem, 5.4vw, 5rem);
  color: var(--ink);
  font-feature-settings: "ss01", "tnum";
}

.metric__label {
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (min-width:760px) {
  .metrics__grid {
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    gap: 2rem;
  }
}

/* ============================================================================
   PROBLEM — editorial split: sticky title left, ruled list right
   ============================================================================ */
.problem {
  background: var(--bg);
}

.problem::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--line);
}

.problem__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.problem__intro .lede {
  margin-top: 1.6rem;
}

.problem__title {
  margin-top: 1.3rem;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  max-width: 16ch;
  line-height: 1.02;
}

.problem__list {
  display: grid;
  gap: 0;
}

.prob {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: start;
  padding: clamp(1.4rem, 2.4vw, 1.9rem) 0;
  border-top: 1px solid var(--line);
  transition: padding-left .45s var(--ease);
}

.prob:last-child {
  border-bottom: 1px solid var(--line);
}

.prob__n {
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--red);
  padding-top: .35rem;
  letter-spacing: .05em;
}

.prob__body h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  letter-spacing: -.02em;
  color: var(--ink);
}

.prob__body p {
  margin-top: .45rem;
  color: var(--grey);
  font-size: .96rem;
  line-height: 1.55;
  max-width: 48ch;
}

@media (hover:hover) {
  .prob:hover {
    padding-left: 1rem;
  }

  .prob:hover .prob__body h3 {
    color: var(--red);
  }
}

@media (min-width:920px) {
  .problem__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(3rem, 6vw, 7rem);
  }

  .problem__intro {
    position: sticky;
    top: 6.5rem;
    align-self: start;
  }
}

/* ============================================================================
   PROCESS — dark room, ruled steps with node rail, right-set descriptions
   ============================================================================ */
.process {
  background: var(--dark);
  color: var(--on-dark);
}

.process .display {
  color: var(--on-dark);
}

.process__head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.process__title {
  margin-top: 1.3rem;
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 1.02;
}

.process__head .lede {
  margin-top: 1.6rem;
}

.steps {
  display: grid;
  gap: 0;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem 2rem;
  align-items: baseline;
  padding: clamp(1.6rem, 3vw, 2.6rem) 0;
  border-top: 1px solid var(--line-dark);
  /* no transition on opacity here — data-reveal handles it */
}

.step:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.step__rail {
  display: none;
}

.step__n {
  font-family: var(--mono);
  font-size: .85rem;
  color: var(--on-dark-soft);
  letter-spacing: .05em;
  min-width: 2rem;
}

.step h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.03em;
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  line-height: 1;
  color: var(--on-dark);
}

.step p {
  color: var(--on-dark-soft);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 52ch;
}

.step--accent h3 {
  color: var(--red);
}

/* red underline slide-in when step reveals */
.step::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--red);
  transition: width 1.3s var(--ease) .3s;
}

.step.in::after {
  width: 100%;
}

@media (min-width:820px) {
  .step {
    grid-template-columns: 5rem minmax(0, 7fr) minmax(0, 9fr);
    align-items: center;
    gap: 2.5rem;
  }

  .step h3 {
    margin: 0;
  }
}

/* ============================================================================
   CAPACITY — right-heavy: tight text column, oversized stacked figures
   ============================================================================ */
.capacity {
  background: var(--bg-warm);
}

.capacity__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.capacity__title {
  margin-top: 1.3rem;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  max-width: 14ch;
  line-height: 1.02;
}

.capacity__text .lede {
  margin-top: 1.6rem;
}

.chips {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  list-style: none;
  padding: 0;
}

.chips li {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .02em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .55rem 1rem;
  background: var(--bg);
  transition: border-color .35s var(--ease), color .35s;
}

.chips li:hover {
  border-color: var(--red);
  color: var(--red);
}

.capacity__figs {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.fig {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2rem;
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line);
}

.fig__n {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .85;
  color: var(--red);
  font-size: clamp(3rem, 7vw, 5.2rem);
  min-width: 4.5ch;
}

.fig figcaption {
  color: var(--grey);
  font-size: .96rem;
  line-height: 1.5;
  max-width: 28ch;
}

@media (min-width:960px) {
  .capacity__layout {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(3rem, 7vw, 7rem);
  }
}

/* ============================================================================
   FREE SAMPLE — centered, red wash, offset ticked list (text-dominant)
   ============================================================================ */
.sample {
  position: relative;
  background: var(--bg);
  overflow: hidden;
  text-align: center;
}

.sample__wash {
  display: none;
}

.sample__inner {
  position: relative;
  z-index: 2;
  max-width: 60rem;
  margin-inline: auto;
}

.sample__title {
  margin-top: 1.4rem;
  font-size: clamp(2.1rem, 5.4vw, 4.4rem);
  line-height: 1;
}

.sample__lede {
  margin: 1.8rem auto 0;
  text-align: center;
}

.deliver {
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  width: max-content;
  max-width: 100%;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: .4rem 2.5rem;
  text-align: left;
}

.deliver li {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 1.02rem;
  color: var(--ink-soft);
}

.deliver__tick {
  position: relative;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}

.deliver__tick::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: .42rem;
  height: .72rem;
  border: 2px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: translateY(-1px) rotate(45deg);
}

.sample__cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.sample__note {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .02em;
  color: var(--grey);
}

@media (min-width:680px) {
  .deliver {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================================
   PORTFOLIO — image-dominant exhibition, alternating editorial splits
   ============================================================================ */
.work {
  background: var(--bg-warm);
}

.work__head {
  max-width: 50rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.work__title {
  margin-top: 1.3rem;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  line-height: 1.02;
  max-width: 17ch;
}

.work__head .lede {
  margin-top: 1.6rem;
  max-width: 54ch;
}

.work__flow {
  display: grid;
  gap: clamp(4rem, 9vw, 8rem);
}

.case {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.case__fig {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-warm);
}

.case__fig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/10;
  clip-path: inset(0 0 0 0);
  transition: transform 1.2s var(--ease);
  will-change: transform;
}

.case[data-reveal] .case__fig img {
  clip-path: inset(0 0 100% 0);
}

.case[data-reveal].in .case__fig img {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease), transform 1.2s var(--ease);
}

@media (hover:hover) {
  .case:hover .case__fig img {
    transform: scale(1.04);
  }
}

.case__fig--portrait img {
  aspect-ratio: 4/5;
}

.case__fig--pano img {
  aspect-ratio: 16/8;
}

.case__tags {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  gap: .4rem;
}

.case__tags span {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(8px);
  color: var(--ink);
  padding: .4rem .7rem;
  border-radius: 100px;
}

.case__tags .muted {
  color: var(--grey);
}

.case__idx {
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--red);
  letter-spacing: .08em;
}

.case__meta h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.02;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  margin: .7rem 0 1rem;
  color: var(--ink);
}

.case__meta p {
  color: var(--grey);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 44ch;
}

.case__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.case__facts dt {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey);
}

.case__facts dd {
  font-weight: 500;
  font-size: .96rem;
  color: var(--ink);
  margin-top: .2rem;
}

@media (min-width:860px) {
  .case {
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
  }

  /* feature (Project 1) — text left, image right */
  .case--feature .case__fig {
    grid-column: 6/13;
    grid-row: 1;
  }

  .case--feature .case__meta {
    grid-column: 1/6;
    grid-row: 1;
    align-self: center;
  }

  /* default odd (Project 5) — text left, image right */
  .case .case__fig {
    grid-column: 6/13;
    grid-row: 1;
  }

  .case .case__meta {
    grid-column: 1/6;
    grid-row: 1;
    align-self: center;
  }

  /* even — image left, meta right */
  .case:nth-of-type(even) .case__fig {
    grid-column: 1/7;
    grid-row: 1;
  }

  .case:nth-of-type(even) .case__meta {
    grid-column: 8/13;
    grid-row: 1;
  }

  /* wide pano — full image, meta as a row beneath */
  .case--wide .case__fig {
    grid-column: 1/13;
    grid-row: 1;
  }

  .case--wide .case__meta {
    grid-column: 1/13;
    grid-row: 2;
  }

  .case__meta--row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 2rem;
  }

  .case__meta--row .case__facts {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
  }
}

/* ============================================================================
   FAQ — text-dominant, big questions, native details/summary
   ============================================================================ */
.faq {
  background: var(--bg);
}

.faq__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.faq__title {
  margin-top: 1.3rem;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.02;
  max-width: 14ch;
}

.faq__list {
  border-top: 1px solid var(--line);
}

.qa {
  border-bottom: 1px solid var(--line);
}

.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.3rem, 2.4vw, 1.8rem) 0;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -.02em;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  color: var(--ink);
  transition: color .3s var(--ease);
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary:hover {
  color: var(--red);
}

.qa__ic {
  position: relative;
  width: 1.3rem;
  height: 1.3rem;
  flex: none;
}

.qa__ic::before,
.qa__ic::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--red);
  transition: transform .4s var(--ease);
}

.qa__ic::before {
  width: 1.3rem;
  height: 1.8px;
}

.qa__ic::after {
  width: 1.8px;
  height: 1.3rem;
}

.qa[open] .qa__ic::after {
  transform: scaleY(0);
}

.qa__a {
  overflow: hidden;
}

.qa__a p {
  padding-bottom: clamp(1.3rem, 2.4vw, 1.8rem);
  color: var(--grey);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 58ch;
}

.qa[open] .qa__a {
  animation: qaIn .5s var(--ease);
}

@keyframes qaIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width:880px) {
  .faq__layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: clamp(3rem, 7vw, 7rem);
  }

  .faq__head {
    position: sticky;
    top: 6.5rem;
    align-self: start;
  }
}

/* ============================================================================
   FINAL CTA — dark, centered, emotional
   ============================================================================ */
.final {
  position: relative;
  background: var(--dark);
  color: var(--on-dark);
  overflow: hidden;
  text-align: center;
  padding-block: clamp(6rem, 12vw, 11rem);
}

.final__bg {
  position: absolute;
  inset: -10%;
  z-index: 1;
  pointer-events: none;
}

.final__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;
}

.final__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 15, 16, 0.3) 0%, var(--dark) 100%);
}

.final__inner {
  position: relative;
  z-index: 2;
  max-width: 58rem;
  margin-inline: auto;
}

.final__title {
  color: var(--on-dark);
  font-size: clamp(2.4rem, 6.5vw, 5.6rem);
  line-height: .96;
  letter-spacing: -0.008em;
}

.final .lede {
  margin: 1.8rem auto 0;
  max-width: 46ch;
}

.final__actions {
  margin-top: clamp(2.4rem, 5vw, 3.2rem);
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: center;
}

.final__contact {
  margin-top: clamp(1.8rem, 3.5vw, 2.6rem);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .55rem 1rem;
  font-family: var(--mono);
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--on-dark-soft);
}

.final__contact a {
  color: var(--on-dark-soft);
  transition: color .3s var(--ease);
}

.final__contact a:hover {
  color: var(--on-dark);
}

.final__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--on-dark-soft);
  opacity: .5;
}

@media (max-width:460px) {
  .final__sep {
    display: none;
  }

  .final__contact {
    flex-direction: column;
    gap: .35rem;
  }
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.foot {
  background: var(--dark-2);
  color: var(--on-dark);
  padding-block: clamp(3.5rem, 6vw, 5rem) 2.5rem;
}

.foot .brand__mark {
  box-shadow: 0 0 0 4px rgba(255, 62, 96, .18);
}

.foot__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line-dark);
}

.foot__brand p {
  margin-top: 1.1rem;
  color: var(--on-dark-soft);
  font-size: .95rem;
  line-height: 1.6;
  max-width: 32ch;
}

.foot__col h2 {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
  font-weight: 500;
}

.foot__col a {
  display: block;
  color: var(--on-dark-soft);
  font-size: .96rem;
  padding: .42rem 0;
  transition: color .3s var(--ease);
}

.foot__col a:hover {
  color: var(--on-dark);
}

.foot__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  padding-top: 2rem;
}

.foot__base small {
  color: var(--on-dark-soft);
  font-size: .82rem;
}

@media (min-width:760px) {
  .foot__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
  }
}

/* ============================================================================
   MOTION — reveals (only what deserves it), reduced-motion safe
   ============================================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

[data-reveal][data-delay="1"] {
  transition-delay: .1s;
}

[data-reveal][data-delay="2"] {
  transition-delay: .2s;
}

[data-reveal][data-delay="3"] {
  transition-delay: .3s;
}

.eyebrow[data-reveal] {
  transform: none;
  opacity: 0;
}

.eyebrow[data-reveal].in {
  opacity: 1;
}

.eyebrow[data-reveal] .eyebrow__tick {
  transform: scaleX(0);
  transition: transform .8s var(--ease) .1s;
}

.eyebrow[data-reveal].in .eyebrow__tick {
  transform: scaleX(1);
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal],
  [data-line]>span,
  .case__fig img {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .hero__video {
    display: none;
  }

  .hero__bg {
    background: var(--dark-2);
  }

  .final__glow {
    display: none;
  }
}

/* ============================================================================
   SECTION HAIRLINES — section-specific border separators
   ============================================================================ */
/* problem section already has ::before via .problem { ... } */
.faq::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: var(--line);
}

.process::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line-dark);
}

/* ============================================================================
   WORK — visual separator between cases
   ============================================================================ */
.work__flow>article+article {
  position: relative;
}

.work__flow>article+article::before {
  content: "";
  position: absolute;
  top: calc(clamp(4rem, 9vw, 8rem) / -2);
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-2);
}

/* ============================================================================
   PROCESS — subtle background texture
   ============================================================================ */
.process {
  background-color: var(--dark);
  color: var(--on-dark);
}

/* ============================================================================
   CAPACITY — warm background separator
   ============================================================================ */
.capacity {
  border-top: 1px solid var(--line);
}

/* ============================================================================
   SAMPLE — ensure it separates from the work section cleanly
   ============================================================================ */
.sample {
  border-top: 1px solid var(--line);
}

/* ============================================================================
   UTILITIES — data-theme dark sections handle child color overrides
   ============================================================================ */
[data-theme="dark"] .brand__name {
  color: var(--on-dark);
}

[data-theme="dark"] .brand__mark {
  box-shadow: 0 0 0 4px rgba(255, 62, 96, .22);
}

/* ============================================================================
   PRINT — hide animations, collapse decorative elements
   ============================================================================ */
@media print {

  .nav,
  .mobile-menu,
  .hero__bg,
  .final__glow,
  .sample__wash {
    display: none;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  body {
    font-size: 11pt;
  }

  a[href^="mailto"]::after {
    content: " (" attr(href) ")";
  }
}

/* ============================================================================
   HERO TRUSTED
   ============================================================================ */
.hero__trusted {
  margin-top: 1.8rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 241, 238, 0.6);
}

.hero__trusted-label {
  font-weight: 500;
  color: var(--red);
}

.hero__trusted-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  list-style: none;
}

.hero__trusted-list li:not(:last-child)::after {
  content: "•";
  margin-left: 0.75rem;
  opacity: 0.4;
}

/* ============================================================================
   ROI SECTION
   ============================================================================ */
.roi {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.roi__layout {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 4rem);
}

.roi__title {
  margin-top: 1.3rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.roi__body {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.roi__body p {
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  color: var(--grey);
  line-height: 1.6;
  max-width: 50ch;
}

.roi__conclusion {
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}

.roi__conclusion p {
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  color: var(--ink);
  line-height: 1.5;
  max-width: 48ch;
  font-weight: 500;
}

.roi__conclusion strong {
  font-weight: 600;
}

/* RIGHT SIDE: STATISTICS PANEL */
.roi__stats {
  background: var(--dark-2);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 3.5rem);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.roi__stat {
  padding: clamp(1.5rem, 3vw, 2rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.roi__stat:first-child {
  padding-top: 0;
}

.roi__stat:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.roi__stat-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin-bottom: 0.75rem;
}

.roi__stat-n {
  font-family: var(--display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  color: #fff;
  margin-bottom: 0.5rem;
  font-feature-settings: "ss01", "tnum";
}

.roi__stat-sub {
  font-size: 0.95rem;
  color: var(--on-dark-soft);
}

@media (min-width: 920px) {
  .roi__layout {
    flex-direction: row;
    align-items: center;
    gap: clamp(4rem, 8vw, 8rem);
  }
  
  .roi__content {
    flex: 0 0 52%;
  }
  
  .roi__stats {
    flex: 1;
  }
}

/* ============================================================================
   DELIVERABLES
   ============================================================================ */
.deliverables {
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.deliverables__title {
  margin-top: 1.3rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.02;
}

.deliverables__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.deliverable {
  padding: clamp(1.2rem, 2.4vw, 1.5rem) 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: padding-left 0.4s var(--ease), color 0.4s var(--ease);
}

@media (hover: hover) {
  .deliverable:hover {
    padding-left: 1rem;
    color: var(--red);
  }
}

@media (min-width: 600px) {
  .deliverables__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deliverable {
    padding-inline: clamp(1rem, 2vw, 2rem);
    border-right: 1px solid var(--line);
  }

  .deliverable:nth-child(2n) {
    border-right: none;
  }

  .deliverable:nth-child(2n-1) {
    padding-left: 0;
  }

  @media (hover: hover) {
    .deliverable:hover {
      padding-left: 1rem;
    }

    .deliverable:nth-child(2n-1):hover {
      padding-left: 1rem;
    }
  }
}

@media (min-width: 960px) {
  .deliverables__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .deliverable {
    border-right: 1px solid var(--line);
  }

  .deliverable:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .deliverable:nth-child(4n) {
    border-right: none;
  }

  .deliverable:nth-child(2n-1) {
    padding-left: clamp(1rem, 2vw, 2rem);
  }

  .deliverable:nth-child(4n-3) {
    padding-left: 0;
  }
}

/* ============================================================================
   CBS PREMIUM POPUPS
   ============================================================================ */

/* Scroll Lock & Compensation */
body.cbs-popup-open {
  overflow: hidden !important;
  padding-right: var(--scrollbar-compensation, 0px) !important;
}

/* Modal Wrapper */
.cbs-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cbs-popup.cbs-active {
  opacity: 1;
  visibility: visible;
}

/* Overlay */
.cbs-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 15, 16, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  z-index: 1;
}

/* Modal Window */
.cbs-popup-window {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 540px;
  border-radius: 16px;
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transform: scale(0.96) translateY(10px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  z-index: 2;
  overscroll-behavior: contain;
}

.cbs-popup.cbs-active .cbs-popup-window {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  .cbs-popup,
  .cbs-popup-window {
    transition: opacity 0.1s ease, visibility 0.1s ease;
    transform: none;
  }
}

/* Close Button */
.cbs-popup-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border: none;
  background: #faf8f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1d1c1c;
  transition: background 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

.cbs-popup-close:hover,
.cbs-popup-close:focus-visible {
  background: #f3f1ee;
  transform: scale(1.05);
  outline: 2px solid #1d1c1c;
  outline-offset: 2px;
}

.cbs-popup-close svg {
  width: 18px;
  height: 18px;
}

/* Header & Typography */
.cbs-popup-header {
  padding: 2.5rem 2.5rem 1.5rem;
}

.cbs-popup-header h2 {
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #1d1c1c;
  margin: 0 0 0.5rem;
}

.cbs-popup-header p {
  font-size: 0.95rem;
  color: #858585;
  line-height: 1.5;
  margin: 0;
}

.cbs-popup-body {
  padding: 0 2.5rem 2.5rem;
}

/* CF7 Overrides inside popup */
.cbs-popup .wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cbs-popup .wpcf7 p {
  margin: 0;
}

.cbs-popup .wpcf7 label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1d1c1c;
  margin-bottom: 0.5rem;
}

.cbs-popup .wpcf7-form-control-wrap {
  display: block;
  position: relative;
}

.cbs-popup .wpcf7 input[type="text"],
.cbs-popup .wpcf7 input[type="email"],
.cbs-popup .wpcf7 input[type="tel"],
.cbs-popup .wpcf7 select,
.cbs-popup .wpcf7 textarea {
  width: 100%;
  background: #faf8f5;
  border: 1px solid rgba(29, 28, 28, 0.07);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: #1d1c1c;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.cbs-popup .wpcf7 textarea {
  resize: vertical;
  min-height: 100px;
}

.cbs-popup .wpcf7 input:focus,
.cbs-popup .wpcf7 select:focus,
.cbs-popup .wpcf7 textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #1d1c1c;
  box-shadow: 0 0 0 1px #1d1c1c;
}

.cbs-popup .wpcf7 input::placeholder,
.cbs-popup .wpcf7 textarea::placeholder {
  color: #a8a5a0;
}

.cbs-popup .wpcf7 input[type="file"] {
  padding: 0.75rem 0;
  font-size: 0.85rem;
}

.cbs-popup .wpcf7-list-item {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

/* Submit Button & States */
.cbs-popup .wpcf7-submit {
  width: 100%;
  background: #1d1c1c;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, opacity 0.25s ease;
  margin-top: 0.5rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cbs-popup .wpcf7-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 28, 28, 0.15);
}

.cbs-popup .wpcf7-submit:disabled,
.cbs-popup .wpcf7-submit.is-submitting {
  opacity: 0.7;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

/* Spinner wrapper refactor */
.cbs-popup .wpcf7-spinner {
  margin: 0 0 0 0.5rem;
  background-color: #ffffff;
  width: 18px;
  height: 18px;
  border-radius: 100%;
  display: none;
  position: relative;
}

.cbs-popup .wpcf7-submit.is-submitting+.wpcf7-spinner {
  display: inline-block;
  vertical-align: middle;
  position: absolute;
  right: 1.5rem;
  bottom: 1.15rem;
  pointer-events: none;
}

/* Validation */
.cbs-popup .wpcf7-not-valid-tip {
  font-size: 0.8rem;
  color: #ff3e60;
  margin-top: 0.4rem;
  display: block;
}

.cbs-popup .wpcf7 form.invalid .wpcf7-response-output,
.cbs-popup .wpcf7 form.unaccepted .wpcf7-response-output,
.cbs-popup .wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #ff3e60;
  color: #ff3e60;
  background: #ffe4e9;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.85rem;
  margin-top: 1rem;
  margin-bottom: 0;
}

.cbs-popup .wpcf7 form.sent .wpcf7-response-output {
  display: none !important;
}

/* Success State */
.cbs-popup-success {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
}

.cbs-success-icon {
  width: 64px;
  height: 64px;
  stroke: #1d1c1c;
  stroke-width: 2;
  margin-bottom: 1.5rem;
}

.cbs-success-icon circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: cbStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.cbs-success-icon path {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: cbStroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes cbStroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.cbs-popup-success h3 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: #1d1c1c;
  opacity: 0;
  transform: translateY(10px);
  animation: cbFadeUp 0.6s ease 0.8s forwards;
}

.cbs-popup-success p {
  font-size: 0.95rem;
  color: #858585;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  animation: cbFadeUp 0.6s ease 0.9s forwards;
}

@keyframes cbFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .cbs-popup {
    padding: 1rem;
    align-items: flex-end;
  }

  .cbs-popup-window {
    border-radius: 20px;
    max-height: calc(100vh - 2rem);
  }

  .cbs-popup-header {
    padding: 2rem 1.5rem 1rem;
  }

  .cbs-popup-body {
    padding: 0 1.5rem 2rem;
  }

  .cbs-popup-close {
    top: 1rem;
    right: 1rem;
  }
}

/* ============================================================================
   REFINEMENTS & PRICING SECTION (Merged Update)
   ============================================================================ */

/* ---- Global Animations & Reduced Motion ---- */
:root {
  --ease: cubic-bezier(.16, 1, .3, 1);
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .case__fig img {
    transform: none !important;
  }

  .mask>span {
    transform: none !important;
    transition: none !important;
  }
}

/* ---- Buttons: Micro-interactions ---- */
.btn {
  transition: background-color 0.8s var(--ease), color 0.8s var(--ease), border-color 0.8s var(--ease), transform 0.8s var(--ease);
}

.btn__ic {
  transition: transform 0.8s var(--ease), background-color 0.8s var(--ease), color 0.8s var(--ease);
}

.btn:hover .btn__ic {
  transform: translateX(4px);
}

.btn--solid:hover {
  transform: none;
  /* Removed physical lift */
  background: var(--red-deep);
}

/* ---- Card Global Hovers ---- */
.prob,
.step,
.pcard {
  transition: border-color 0.8s var(--ease), box-shadow 0.8s var(--ease);
}

.prob:hover,
.step:hover {
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.04);
  border-color: rgba(29, 28, 28, 0.15);
}

/* ---- Metrics Mobile Refinement (1 col, staggered offsets removed, varying shadows) ---- */
.metric__sub {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--grey);
  margin-top: 0.2rem;
  line-height: 1.4;
}

@media (max-width: 759px) {
  .metrics__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .metric {
    border-bottom: 1px solid var(--line-2);
    padding: 2.2rem 0;
    align-items: flex-start;
  }

  .metric:nth-child(even) {
    padding-left: 0;
  }

  .metric:nth-child(even)::before {
    display: none;
  }

  /* Varying shadow depth on mobile list items using pseudo-elements */
  .metric::after {
    content: "";
    position: absolute;
    inset: -1rem -1rem -1rem -1rem;
    border-radius: var(--radius);
    background: transparent;
    z-index: -1;
    transition: background 0.8s var(--ease), box-shadow 0.8s var(--ease);
  }

  .metric:hover::after {
    background: #fff;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.03);
  }
}

/* ---- Portfolio Refinements ---- */
.case__fig {
  overflow: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.2s var(--ease);
}

.case.in .case__fig {
  clip-path: inset(0 0 0% 0);
}

.case__fig img {
  transform: scale(1.02);
  transition: filter 1s var(--ease), transform 1s var(--ease);
  filter: brightness(0.95);
}

.case:hover .case__fig img {
  transform: scale(1.02);
  /* No aggressive zoom */
  filter: brightness(1.02);
}

/* ---- FAQ Transition Polish ---- */
.qa {
  overflow: hidden;
}

.qa__a {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  padding-bottom: 0;
  transition: grid-template-rows 0.6s var(--ease), opacity 0.6s var(--ease), padding 0.6s var(--ease);
}

.qa__a>p {
  overflow: hidden;
}

.qa[open] .qa__a {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: 1.5rem;
}

/* ---- Pricing Section Base ---- */
.pricing {
  background: var(--bg);
}

.pricing__layout {
  display: flex;
  flex-direction: column;
}

.pricing__intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
}

.pricing__quote {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: var(--grey);
  line-height: 1.5;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  font-style: italic;
}

.pricing__title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.pricing__lede {
  margin: 0 auto;
}

/* ---- Pricing Cards ---- */
.pricing__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 560px;
  margin: 0 auto clamp(4rem, 8vw, 6rem);
}

@media (min-width: 980px) {
  .pricing__cards {
    align-items: center;
  }
}

.pcard {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: clamp(3rem, 6vw, 4.5rem);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.8s var(--ease), border-color 0.8s var(--ease), transform 0.8s var(--ease);
}

.pcard:hover {
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.05);
  border-color: rgba(29, 28, 28, 0.15);
}

.pcard--featured {
  background: var(--dark-2);
  color: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.1);
  padding: 3rem 2.5rem;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.15);
}

.pcard--featured:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.pcard__pill {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  background: var(--bg-warm);
  color: var(--grey);
  margin-bottom: 1.5rem;
}

.pcard__pill--gold {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pcard__name {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.pcard--featured .pcard__name {
  color: #fff;
}

.pcard__desc {
  font-size: 1.05rem;
  color: var(--grey);
  line-height: 1.5;
  margin-bottom: 2.5rem;
  flex: 1;
}

.pcard--featured .pcard__desc {
  color: var(--on-dark-soft);
}

.pcard__price-block {
  margin-bottom: 2.5rem;
}

.pcard__price {
  font-size: clamp(3rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--ink);
}

.pcard--featured .pcard__price {
  color: #fff;
}

.pcard__price-note {
  font-size: 0.85rem;
  color: var(--grey);
  margin-top: 0.5rem;
}

.pcard--featured .pcard__price-note {
  color: var(--on-dark-soft);
}

.pcard__cta {
  width: 100%;
  justify-content: center;
}

/* Hide card room list to use unified list below */
.pcard__rooms {
  display: none;
}

/* ---- Room Pricing Section ---- */
.pricing__rooms-section {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.pricing__toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.pricing__tabs {
  display: inline-flex;
  background: var(--bg-warm);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 0.3rem;
  position: relative;
}

.pricing__tab {
  position: relative;
  z-index: 2;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 1.4rem;
  color: var(--grey);
  border-radius: 100px;
  transition: color 0.4s var(--ease);
}

.pricing__tab.is-active {
  color: var(--ink);
}

.pricing__tab-glider {
  position: absolute;
  top: 0.3rem;
  bottom: 0.3rem;
  left: 0;
  background: #fff;
  border-radius: 100px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease);
  z-index: 1;
}

/* Rooms Table */
.pricing__rooms {
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: #fff;
}

.pricing__rooms-header {
  margin-bottom: 1.5rem;
}

.pricing__rooms-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}

.pricing__room-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-2);
}

.pricing__room-row:last-of-type {
  border-bottom: none;
}

.pricing__room-name {
  font-size: 1rem;
  color: var(--ink-soft);
}

.pricing__room-prices {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing__room-price {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
}

.pricing__room-price-strike {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--grey-2);
  text-decoration: line-through;
  display: none;
}

.pricing__note {
  font-size: 0.85rem;
  color: var(--grey);
  text-align: center;
  margin-top: 2rem;
  line-height: 1.6;
}

