/* ================================================================
   MARLOW REED · concept design study
   Style system: warm cream editorial consultancy
   Serif display + sans body + mono labels
   ================================================================ */

:root {
  --cream: #F7F7F2;
  --surface: #EFEDE7;
  --greige: #E1DCD5;
  --ink: #191818;
  --ink-88: rgba(25, 24, 24, .88);
  --ink-64: rgba(25, 24, 24, .64);
  --ink-40: rgba(25, 24, 24, .40);
  --ink-16: rgba(25, 24, 24, .16);
  --paper: #F7F7F2;
  --paper-88: rgba(247, 247, 242, .88);
  --paper-64: rgba(247, 247, 242, .64);
  --pine: #111A0D;

  --serif: "IBM Plex Serif", Georgia, serif;
  --sans: "IBM Plex Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;

  --r-xl: 24px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;

  --gap: 24px;
  --notch: 12px; /* cream border used for stepped/notch collage joints */

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-swap: cubic-bezier(.77, 0, .18, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-88);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
.image-cover { width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container {
  max-width: 1376px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { position: relative; }

/* ============ TYPE ============ */
h1, h2, h3, .h3, .h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink-88);
}
h1 { font-size: clamp(44px, 4.6vw, 64px); line-height: 1.12; letter-spacing: -2.5px; }
h2 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -2px; }
.h3 { font-size: clamp(30px, 2.9vw, 40px); line-height: 1.1; letter-spacing: -1px; }
.h4 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.12; letter-spacing: -1px; }
h1 em, h2 em, .h3 em, .h4 em { font-style: italic; }

.text-lede {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.3;
  letter-spacing: -.5px;
  color: var(--ink-88);
}
.body-muted { color: var(--ink-64); }
.body-strong { color: var(--ink-88); font-weight: 500; }
.text-small { font-size: 14px; color: var(--ink-64); }

/* mono label chip */
.chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-64);
  background: var(--surface);
  border: 1px solid var(--ink-16);
  border-radius: 100px;
  padding: 5px 12px 4px;
  width: fit-content;
}
.chip-flat { background: var(--greige); border-color: transparent; }
.chip-dark {
  background: rgba(247, 247, 242, .06);
  border-color: rgba(247, 247, 242, .18);
  color: var(--paper-64);
}

.ic { width: 16px; height: 16px; flex: none; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), transform .25s var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #2b2a29; }
.btn-outline { background: transparent; color: var(--ink-88); border: 1px solid var(--ink-16); }
.btn-outline:hover { border-color: var(--ink-40); }
.btn-light { background: var(--cream); color: var(--ink-88); }
.btn-light:hover { background: #fff; }
.btn-glass {
  background: rgba(247, 247, 242, .14);
  color: var(--cream);
  border: 1px solid rgba(247, 247, 242, .25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(247, 247, 242, .24); }

/* letter-split hover (JS wraps letters) */
.btn-label { display: inline-block; }
.btn-split .btn-label .w { display: inline-block; overflow: hidden; vertical-align: top; }
.btn-split .btn-label .l {
  display: inline-block;
  position: relative;
  transition: transform .5s var(--ease-swap);
  transition-delay: calc(var(--i) * 14ms);
}
.btn-split .btn-label .l::after {
  content: attr(data-c);
  position: absolute;
  left: 0;
  top: 100%;
}
.btn-split:hover .btn-label .l { transform: translateY(-100%); }

.round-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--ink-16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-88);
  transition: background .25s, border-color .25s, transform .25s;
}
.round-btn:hover { background: var(--surface); border-color: var(--ink-40); }
.round-btn:active { transform: scale(.94); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ REVEAL ============ */
[data-reveal] {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(26px);
  transition:
    opacity .9s var(--ease-out),
    filter .9s var(--ease-out),
    transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, filter, transform;
}
[data-reveal].is-in { opacity: 1; filter: blur(0); transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; filter: none; transform: none; transition: none; }
  .marquee-track { animation: none !important; }
  html { scroll-behavior: auto; }
  .mobile-menu, .menu-btn span { transition: none; }
}

/* ============ NAV ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 1px 0 var(--ink-16); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -.5px;
  color: var(--ink-88);
}
.brand.light { color: var(--paper-88); }
.nav-links { display: flex; gap: 8px; }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 100px;
  color: var(--ink-88);
  transition: background .25s;
}
.nav-link:hover { background: var(--surface); }
.nav-right { display: flex; align-items: center; gap: 12px; }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ink-16);
  position: relative;
}
.menu-btn span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.6px;
  background: var(--ink-88);
  transition: transform .35s var(--ease-swap), top .35s var(--ease-swap);
}
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 24px; }
.menu-btn.open span:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.menu-btn.open span:nth-child(2) { top: 20.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 76px 0 0;
  background: var(--cream);
  z-index: 90;
  padding: 32px;
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.mobile-menu.show { display: block; }
.mobile-menu.in { opacity: 1; transform: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-menu nav a:not(.btn) {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -1px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink-16);
}
.mobile-menu .btn { margin-top: 24px; justify-content: center; }

/* ============ HERO ============ */
.hero-section { padding: 40px 0 96px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  gap: 48px;
  align-items: stretch;
}
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-top: 24px;
}
.hero-heading { display: flex; flex-direction: column; }
.rotator {
  height: 1.16em;
  overflow: hidden;
  font-size: clamp(44px, 4.6vw, 64px);
  line-height: 1.12;
  letter-spacing: -2.5px;
  font-family: var(--serif);
}
.rotator-track { transition: transform .8s var(--ease-swap); will-change: transform; }
.rotator-word { height: 1.16em; display: flex; align-items: baseline; }
.rotator-word em { font-style: italic; color: var(--ink-88); }
.hero-sub { max-width: 420px; color: var(--ink-64); }
.hero-proof { display: flex; align-items: center; gap: 16px; margin-top: auto; }
.avatar-stack { display: flex; }
.avatar-stack img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cream);
  margin-left: -10px;
  transition: transform .3s var(--ease-out);
}
.avatar-stack img:first-child { margin-left: 0; }
.avatar-stack:hover img { transform: translateX(4px) rotate(4deg); }

.hero-media { position: relative; min-height: 560px; }
.hero-hook {
  position: absolute;
  top: 2px;
  left: -4px;
  width: 34px;
  height: 34px;
  z-index: 2;
}
.hero-img-clip {
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
}
/* stepped notch cutout (Webflow-style collage joint) when shape() is supported */
@supports (clip-path: shape(from 0% 0%, line to 100% 0%)) {
  .hero-img-clip {
    clip-path: shape(
      from 13.5% 0%,
      line to 96.5% 0%, curve to 100% 1.8% with 100% 0%,
      line to 100% 98.2%, curve to 96.5% 100% with 100% 100%,
      line to 3% 100%, curve to 0% 98.2% with 0% 100%,
      line to 0% 46.8%, curve to 3% 45% with 0% 45%,
      line to 6.2% 45%, curve to 9.8% 41.5% with 9.8% 45%,
      line to 9.8% 1.8%, curve to 13.5% 0% with 9.8% 0%
    );
    border-radius: 0;
  }
}
.case-card {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  gap: 16px;
  align-items: stretch;
  width: min(400px, 78%);
  background: var(--surface);
  border: var(--notch) solid var(--cream);
  border-right: 0;
  border-bottom: 0;
  border-radius: var(--r-lg);
  padding: 12px;
  transition: transform .35s var(--ease-out);
}
.case-card:hover { transform: translateY(-4px); }
.case-thumb {
  width: 96px;
  border-radius: var(--r-sm);
  object-fit: cover;
  align-self: stretch;
}
.case-body { display: flex; flex-direction: column; gap: 14px; padding: 4px 4px 4px 0; }
.case-title { font-size: 15px; font-weight: 500; line-height: 1.4; }
.case-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.case-foot .ic { transition: transform .3s var(--ease-out); }
.case-card:hover .case-foot .ic { transform: translateX(4px); }

/* ============ INTRO + MARQUEE ============ */
.intro-section { padding: 64px 0 96px; }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  gap: 48px;
}
.intro-copy { display: flex; flex-direction: column; gap: 40px; }

.marquee { position: relative; overflow: hidden; margin-top: 56px; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 96px;
  width: max-content;
  padding-right: 96px;
  animation: marquee 28s linear infinite;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.marquee-fade.left { left: 0; background: linear-gradient(90deg, var(--cream), transparent); }
.marquee-fade.right { right: 0; background: linear-gradient(-90deg, var(--cream), transparent); }

.mq-logo {
  font-size: 26px;
  color: var(--ink-40);
  white-space: nowrap;
  filter: grayscale(1);
}
.mq-logo sup { font-size: .45em; }
.mq-serif { font-family: var(--serif); }
.mq-low { font-weight: 600; letter-spacing: -1px; }
.mq-mono { font-family: var(--mono); font-size: 22px; }
.mq-star { font-family: var(--serif); font-style: italic; }
.mq-wide { font-weight: 500; letter-spacing: .35em; font-size: 20px; }

/* ============ FOUNDATIONS SLIDER ============ */
.foundations-section { padding: 96px 0; background: var(--surface); }
.foundations-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.slider-nav { display: flex; gap: 10px; }

.slider { overflow: hidden; cursor: grab; }
.slider.dragging { cursor: grabbing; }
.slider-track {
  display: flex;
  gap: var(--gap);
  padding: 0 32px;
  will-change: transform;
}
.slide {
  position: relative;
  flex: 0 0 min(880px, 74vw);
  height: 560px;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
}
.slide-bg { position: absolute; inset: 0; z-index: -2; }
.slide-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(25,24,24,.66), rgba(25,24,24,.05) 48%, rgba(25,24,24,.3));
}
.hero-img { object-position: 62% 38%; }
.slide-text {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--cream);
  max-width: 520px;
  padding: 36px;
}
.slide .btn-glass { position: absolute; left: 36px; bottom: 32px; }

/* ============ COLUMN SECTIONS ============ */
.column-section { padding: 120px 0; }
.column-section.alt { background: var(--surface); }
.column-grid {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  gap: 72px;
  align-items: center;
}
.column-grid.flip { grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); }
.column-copy { display: flex; flex-direction: column; gap: 72px; }
.column-copy .chip { margin-bottom: 20px; }
.column-copy .h3 { margin-bottom: 20px; max-width: 480px; }
.column-copy .body-muted { max-width: 460px; margin-bottom: 28px; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--greige);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.feature-icon .ic { width: 20px; height: 20px; }
.feature-title { font-family: var(--sans); font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.feature-text { font-size: 15px; color: var(--ink-64); }

/* collage: stepped image with UI cards, notch joints via cream borders */
.collage { position: relative; min-height: 620px; }
.collage-main {
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
}
.collage-main.tall-right { left: 10%; clip-path: inset(0 round var(--r-xl)); }
.collage-main.tall-left { right: 10%; }

.ui-card {
  position: absolute;
  background: var(--cream);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 48px -24px rgba(25, 24, 24, .35);
}
.dropdown-card {
  right: 6%;
  top: 20%;
  width: 240px;
  padding: 8px;
  border: 1px solid var(--ink-16);
}
.dd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 12px;
}
.dd-caret { transition: transform .35s var(--ease-out); }
.dd-head[aria-expanded="false"] .dd-caret { transform: rotate(180deg); }
.dd-list { list-style: none; overflow: hidden; max-height: 220px; transition: max-height .45s var(--ease-out), opacity .35s; }
.dd-list.closed { max-height: 0; opacity: 0; }
.dd-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--ink-64);
}
.dd-list li.active { background: var(--surface); color: var(--ink-88); }
.dd-list li:hover { background: var(--surface); }

.play-chip {
  position: absolute;
  left: 6%;
  bottom: 8%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(25, 24, 24, .55);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .3s var(--ease-out);
}
.play-chip:hover { transform: scale(1.08); }

.quote-mini {
  right: 0;
  bottom: -8%;
  width: min(360px, 82%);
  padding: 24px;
  background: var(--cream);
  border: var(--notch) solid var(--surface);
  border-right: 0;
  border-bottom: 0;
}
.column-section:not(.alt) .quote-mini { border-color: var(--cream); background: var(--surface); }
.stars { display: flex; gap: 3px; color: var(--ink-88); margin-bottom: 14px; }
.stars .ic { width: 14px; height: 14px; }
.quote-mini-text { font-size: 15px; line-height: 1.5; margin-bottom: 18px; }
.quote-mini-who { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; }
.quote-mini-who img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }

/* ============ CALLOUT ============ */
.callout-section { padding: 140px 0; overflow: clip; }
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--cream), rgba(247,247,242,0) 22%, rgba(247,247,242,0) 78%, var(--cream));
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 1;
}
.b1 {
  width: 64vw; height: 64vw;
  left: -14%; top: -22%;
  background: radial-gradient(circle, #F0B183 0%, rgba(240,177,131,0) 68%);
  animation: drift1 16s ease-in-out infinite alternate;
}
.b2 {
  width: 58vw; height: 58vw;
  right: -12%; top: 4%;
  background: radial-gradient(circle, #E2542C 0%, rgba(226,84,44,0) 66%);
  animation: drift2 20s ease-in-out infinite alternate;
}
.b3 {
  width: 54vw; height: 54vw;
  left: 22%; bottom: -32%;
  background: radial-gradient(circle, #C9AED8 0%, rgba(201,174,216,0) 64%);
  animation: drift3 18s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(10vw, 8vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-8vw, 10vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(6vw, -8vh) scale(1.2); } }

.callout-card {
  display: grid;
  grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
  gap: 48px;
  background: var(--ink);
  border-radius: var(--r-xl);
  padding: 48px;
  min-height: 620px;
}
.callout-content { display: flex; flex-direction: column; justify-content: space-between; gap: 64px; }
.callout-content .chip-dark { margin-bottom: 24px; }
.callout-title { color: var(--paper-88); max-width: 480px; }
.callout-bottom { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.callout-bottom p { color: var(--paper-64); max-width: 460px; }
.callout-media { border-radius: var(--r-lg); overflow: hidden; }

/* ============ TESTIMONIALS ============ */
.testimonial-section { padding: 130px 0; background: var(--greige); }
.center-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  margin-bottom: 72px;
}
.center-head h2 { max-width: 620px; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  align-items: stretch;
}
.testi-photo { border-radius: var(--r-lg); overflow: hidden; min-height: 520px; }
.testi-card {
  position: relative;
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.testi-card blockquote {
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.35;
  letter-spacing: -.3px;
}
.testi-card figcaption {
  margin-top: auto;
  padding-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 70%;
}
.who-name { font-weight: 600; font-size: 15px; }
.who-role { font-size: 14px; color: var(--ink-64); }
.testi-avatar {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 96px;
  height: 96px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: var(--notch) solid var(--greige);
  border-right: 0;
  border-bottom: 0;
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ============ FAQ ============ */
.faq-section { padding: 130px 0; }
.faq-section .center-head { margin-bottom: 48px; gap: 14px; }
.faq-tabs { max-width: 680px; margin: 0 auto; }
.tab-menu {
  display: flex;
  justify-content: center;
  gap: 4px;
  background: var(--cream);
  border: 1px solid var(--ink-16);
  border-radius: 100px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 40px;
}
.tab-link {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  color: var(--ink-64);
  transition: background .25s, color .25s;
}
.tab-link.active { background: var(--ink); color: var(--cream); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: paneIn .45s var(--ease-out); }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } }

.faq-item {
  background: var(--surface);
  border-radius: var(--r-lg);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  font-weight: 500;
  font-size: 16px;
  padding: 22px 24px;
}
.faq-plus { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--cream); flex: none; }
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 10px; height: 1.6px;
  background: var(--ink-88);
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease-swap);
}
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease-out);
}
.faq-body p { padding: 0 24px 22px; color: var(--ink-64); max-width: 560px; }

/* ============ CTA ============ */
.cta-section { padding: 130px 0 96px; }
.cta-section h2 { margin-bottom: 48px; }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.cta-card {
  border-radius: var(--r-xl);
  padding: 40px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cta-card.dark { background: var(--ink); color: var(--paper-64); }
.cta-card.dark .h4 { color: var(--paper-88); }
.cta-card.gradient {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, .85);
  isolation: isolate;
}
.cta-card.gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(80% 90% at 18% 92%, #C64722 0%, rgba(198,71,34,0) 72%),
    radial-gradient(70% 80% at 85% 12%, #DDBA9B 0%, rgba(221,186,155,0) 65%),
    radial-gradient(90% 90% at 72% 82%, #A0522D 0%, rgba(160,82,45,0) 70%),
    linear-gradient(150deg, #B99880, #8A4632);
  animation: ctaShift 14s ease-in-out infinite alternate;
}
@keyframes ctaShift { to { transform: scale(1.25) rotate(4deg); } }
.cta-card.gradient .h4 { color: #FDFCFB; }
.cta-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  border: 1px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .85;
}
.cta-icon .ic { width: 22px; height: 22px; }
.cta-card .h4 { max-width: 380px; }
.cta-foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.cta-foot p { max-width: 280px; font-size: 15px; }

.legal-note {
  margin-top: 64px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-40);
  max-width: 100%;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: var(--paper-64);
  padding: 88px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr));
  gap: 48px;
  padding-bottom: 72px;
}
.footer-brand { display: flex; flex-direction: column; gap: 24px; }
.footer-brand p { max-width: 300px; }
.footer-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(247, 247, 242, .4);
  margin-bottom: 18px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--paper-88); font-size: 15px; width: fit-content; transition: opacity .25s; }
.footer-col a:hover { opacity: .6; }
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(247, 247, 242, .12);
}
.socials { display: flex; gap: 18px; }
.socials a { color: var(--paper-64); transition: color .25s; }
.socials a:hover { color: var(--paper-88); }
.socials .ic { width: 18px; height: 18px; }
.footer-legal {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(247, 247, 242, .4);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 991px) {
  .container { padding: 0 24px; }
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-right .btn { display: none; }

  .hero-section { padding: 16px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { min-height: 0; height: 560px; }
  .hero-img-clip { clip-path: none; border-radius: var(--r-lg); }

  .intro-grid { grid-template-columns: 1fr; }
  .column-grid, .column-grid.flip { grid-template-columns: 1fr; gap: 56px; }
  .column-grid.flip .collage { order: 2; }
  .column-copy { gap: 48px; }
  .collage { min-height: 480px; }
  .quote-mini { bottom: 0; }

  .callout-card { grid-template-columns: 1fr; min-height: 0; }
  .callout-media { min-height: 380px; order: -1; }
  .callout-content { gap: 48px; }

  .testimonial-grid { grid-template-columns: 1fr; }
  .testi-photo { min-height: 380px; }
  .testi-card { min-height: 320px; }

  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  h1 { letter-spacing: -1.5px; }
  .rotator { letter-spacing: -1.5px; }
  .hero-media { height: 480px; }
  .case-card { width: 92%; }
  .case-thumb { width: 72px; }

  .slide { flex-basis: 86vw; height: 480px; }
  .slide-text { padding: 24px; }
  .slide .btn-glass { left: 24px; bottom: 24px; }
  .slider-track { padding: 0 24px; }

  .foundations-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .feature-row { grid-template-columns: 1fr; }
  .dropdown-card { right: 2%; top: 12%; }
  .callout-card { padding: 24px; }
  .callout-section { padding: 96px 0; }
  .cta-foot { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bar { flex-direction: column-reverse; align-items: flex-start; }
  .tab-menu { max-width: 100%; overflow-x: auto; }
}
