/* =========================================================
   Scott Kuhn Advisory — one-page site
   Palette: navy / teal / cream / orange accent
   Type:    Boska (display serif) + Satoshi (body sans)
   ========================================================= */

:root {
  /* Brand colors — pulled from logo */
  --navy: #0a1f3d;
  --navy-deep: #061429;
  --navy-soft: #142c52;
  --teal: #2ba39b;
  --teal-deep: #1f7d77;
  --teal-soft: #4ec5be;
  --orange: #e07a3a;
  --cream: #f6f2ea;
  --paper: #ffffff;
  --ink: #0e1a2b;
  --ink-soft: #46566e;
  --rule: #d9d2c4;
  --rule-strong: #b8ad99;

  /* Type */
  --font-display: 'Boska', 'Georgia', serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;

  /* Sizes (fluid) */
  --text-xs: clamp(12px, 0.78vw, 13px);
  --text-sm: clamp(13.5px, 0.92vw, 15px);
  --text-base: clamp(16px, 1.05vw, 17px);
  --text-lg: clamp(18px, 1.25vw, 20px);
  --text-xl: clamp(22px, 1.8vw, 28px);
  --text-2xl: clamp(30px, 3.4vw, 48px);
  --text-3xl: clamp(40px, 5.2vw, 76px);
  --text-hero: clamp(54px, 8.5vw, 124px);

  /* Spacing */
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 18px;

  --shadow-sm: 0 1px 2px rgba(10, 31, 61, 0.06), 0 2px 8px rgba(10, 31, 61, 0.04);
  --shadow-md: 0 4px 14px rgba(10, 31, 61, 0.08), 0 12px 40px rgba(10, 31, 61, 0.06);

  --container: 1200px;
  --container-narrow: 920px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
}
p {
  margin: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 48px);
}
.container--narrow {
  max-width: var(--container-narrow);
}

/* ---------- Eyebrow & Buttons ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--space-4);
}
.eyebrow--teal {
  color: var(--teal-deep);
}
.eyebrow--orange {
  color: var(--orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(43, 163, 155, 0.25);
}
.btn--primary:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 242, 234, 0.3);
}
.btn--ghost:hover {
  border-color: var(--cream);
  background: rgba(246, 242, 234, 0.06);
}
.btn--ghost-dark {
  background: transparent;
  color: var(--navy);
  border-color: rgba(10, 31, 61, 0.25);
}
.btn--ghost-dark:hover {
  border-color: var(--navy);
  background: rgba(10, 31, 61, 0.04);
}
.btn--lg {
  padding: 18px 30px;
  font-size: var(--text-base);
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 48px);
  background: rgba(10, 31, 61, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--cream);
  transition:
    padding 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
  border-bottom: 1px solid rgba(246, 242, 234, 0.08);
}
.nav--scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(6, 20, 41, 0.94);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
}
.nav__mark {
  width: auto;
  height: 44px;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}
@media (max-width: 600px) {
  .nav__mark {
    height: 36px;
  }
}
.nav__name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav__name-top {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.nav__name-bottom {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  color: var(--teal-soft);
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.nav__links a {
  font-size: var(--text-sm);
  color: rgba(246, 242, 234, 0.78);
  transition: color 0.2s ease;
}
.nav__links a:hover {
  color: var(--cream);
}
.nav__cta {
  background: var(--teal);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav__cta:hover {
  background: var(--teal-deep);
}
@media (max-width: 720px) {
  .nav__links a:not(.nav__cta) {
    display: none;
  }
  .nav__name-top {
    font-size: 14px;
  }
  .nav__name-bottom {
    font-size: 12px;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  background:
    radial-gradient(
      ellipse 80% 60% at 80% 0%,
      rgba(43, 163, 155, 0.18),
      transparent 60%
    ),
    radial-gradient(
      ellipse 70% 50% at 0% 100%,
      rgba(43, 163, 155, 0.1),
      transparent 60%
    ),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  overflow: hidden;
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 10vw, 120px);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 242, 234, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 242, 234, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 48px);
  width: 100%;
}
.hero .eyebrow {
  color: var(--teal-soft);
  letter-spacing: 0.22em;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-hero);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 var(--space-8);
  color: var(--cream);
  max-width: 14ch;
}
.hero__title-accent {
  color: var(--teal-soft);
  font-style: italic;
  font-weight: 500;
}
.hero__lede {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.25;
  color: var(--cream);
  max-width: 32ch;
  margin-bottom: var(--space-6);
}
.hero__sub {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.55;
  color: rgba(246, 242, 234, 0.75);
  max-width: 56ch;
  margin-bottom: var(--space-10);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ---------- Section base ---------- */
.section {
  padding-block: clamp(72px, 9vw, 140px);
  position: relative;
}
.section--light {
  background: var(--paper);
  color: var(--ink);
}
.section--dark {
  background: var(--navy);
  color: var(--cream);
}
.section--navy {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
}
.section--cream {
  background: var(--cream);
  color: var(--ink);
}

.section__head {
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
}
.section__head--invert {
  color: var(--cream);
}
.section__title {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: var(--space-6);
}
.section__title--invert {
  color: var(--cream);
}
.section__lede {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 auto;
}
.section__lede--invert {
  color: rgba(246, 242, 234, 0.78);
}

/* ---------- Grid: 6-card What We Do ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}
.grid--6 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .grid--6 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .grid--6 {
    grid-template-columns: 1fr;
  }
}
.card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 32px);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}
.card__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--teal-deep);
  font-weight: 500;
  margin-bottom: 6px;
}
.card__title {
  font-size: var(--text-lg);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.card__body {
  color: var(--ink-soft);
  font-size: var(--text-base);
  line-height: 1.55;
}

/* ---------- AI Visibility split ---------- */
.container--split {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 880px) {
  .container--split {
    grid-template-columns: 1fr;
  }
}
.split__left .section__title {
  text-align: left;
}
.split__left .section__lede {
  margin: 0;
}
.callout {
  border: 1px solid rgba(78, 197, 190, 0.3);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  background: rgba(43, 163, 155, 0.06);
  margin-bottom: var(--space-8);
}
.callout__kicker {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-soft);
  margin-bottom: var(--space-3);
}
.callout__quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
  color: var(--cream);
  font-weight: 500;
}
.callout__bold {
  font-weight: 700;
}
.callout__bold--teal {
  color: var(--teal-soft);
}
.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: var(--text-base);
  color: rgba(246, 242, 234, 0.85);
  line-height: 1.55;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 1.5px;
  background: var(--teal-soft);
}
.split__note {
  font-size: var(--text-base);
  color: rgba(246, 242, 234, 0.7);
  font-style: italic;
}

/* ---------- Methodologies ---------- */
.method {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--rule);
}
.method:last-of-type {
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 820px) {
  .method {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}
.method__tag {
  display: inline-block;
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-deep);
  padding: 6px 10px;
  border: 1px solid var(--teal);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
  font-weight: 500;
}
.method__name {
  font-size: clamp(26px, 2.6vw, 38px);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-3);
}
.method__sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-base);
  color: var(--ink-soft);
}
.method__body p {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: var(--space-6);
}
.method__body p:last-child {
  margin-bottom: 0;
}
.method__footnote {
  font-style: italic;
  color: var(--ink-soft) !important;
  font-size: var(--text-base) !important;
  margin-top: var(--space-4) !important;
}

/* PIER list */
.pier {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
@media (max-width: 640px) {
  .pier {
    grid-template-columns: 1fr;
  }
}
.pier li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.pier__letter {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  color: var(--teal-deep);
  flex-shrink: 0;
  width: 54px;
  padding-top: 4px;
}
.pier li strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 4px;
}
.pier li p {
  font-size: var(--text-base);
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

/* Hook bullet lines */
.bulletline {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.bulletline li {
  position: relative;
  padding-left: 28px;
  font-size: var(--text-base);
  color: var(--ink);
  line-height: 1.55;
}
.bulletline li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 16px;
  height: 1.5px;
  background: var(--teal);
}

/* HUC Method ---------------- */
.tm {
  font-family: var(--font-body);
  font-size: 0.4em;
  vertical-align: super;
  font-weight: 400;
  color: var(--teal-deep);
  margin-left: 0.1em;
  letter-spacing: 0;
}
.huc-tenet {
  border-left: 3px solid var(--teal);
  padding: 14px 0 14px 20px;
  margin: var(--space-2) 0 var(--space-8) !important;
  font-family: var(--font-display);
  font-size: var(--text-lg) !important;
  color: var(--navy) !important;
  line-height: 1.4 !important;
  background: rgba(43, 163, 155, 0.04);
}
.huc-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin: 0 0 var(--space-6);
  padding: 0;
  list-style: none;
}
@media (max-width: 720px) {
  .huc-pillars {
    grid-template-columns: 1fr;
  }
}
.huc-pillars li {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(18px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.huc-pillars__num {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 500;
  margin-bottom: 4px;
}
.huc-pillars li strong {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1;
}
.huc-pillars li p {
  font-size: var(--text-sm) !important;
  color: var(--ink-soft) !important;
  line-height: 1.5 !important;
  margin: 4px 0 0 !important;
}
.huc-cta {
  color: var(--teal-deep) !important;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(31, 125, 119, 0.3);
  text-underline-offset: 3px;
  margin-left: 6px;
  white-space: nowrap;
  font-style: normal !important;
}
.huc-cta:hover {
  text-decoration-color: var(--teal);
}

/* Shared Custody grid */
.custody {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: var(--space-4);
}
@media (max-width: 760px) {
  .custody {
    grid-template-columns: repeat(2, 1fr);
  }
}
.custody__cell {
  padding: clamp(16px, 2vw, 24px);
  background: var(--cream);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  text-align: center;
}
.custody__cell:last-child {
  border-right: none;
}
@media (max-width: 760px) {
  .custody__cell:nth-child(2) {
    border-right: none;
  }
  .custody__cell:nth-child(3),
  .custody__cell:nth-child(4) {
    border-bottom: none;
  }
}
@media (min-width: 761px) {
  .custody__cell {
    border-bottom: none;
  }
}
.custody__cell-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--navy);
  letter-spacing: -0.005em;
}

/* ---------- Pipeline Intelligence ---------- */
.signals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
  max-width: var(--container);
  margin: 0 auto;
}
@media (max-width: 900px) {
  .signals {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .signals {
    grid-template-columns: 1fr;
  }
}
.signal {
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid rgba(246, 242, 234, 0.12);
  border-radius: var(--radius);
  background: rgba(246, 242, 234, 0.03);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}
.signal:hover {
  border-color: var(--teal);
  background: rgba(43, 163, 155, 0.08);
  transform: translateY(-2px);
}
.signal__num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--orange);
  margin-bottom: var(--space-3);
  line-height: 1;
}
.signal h4 {
  font-size: var(--text-lg);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: var(--space-2);
  letter-spacing: -0.005em;
}
.signal p {
  font-size: var(--text-base);
  color: rgba(246, 242, 234, 0.72);
  line-height: 1.55;
}

/* ---------- Pipelintel footer row ---------- */
.trademark {
  font-family: var(--font-body);
  font-size: 0.35em;
  vertical-align: super;
  font-weight: 400;
  color: var(--teal-soft);
  margin-left: 0.15em;
  letter-spacing: 0;
}
.pipelintel-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid rgba(246, 242, 234, 0.1);
  text-align: center;
}
.pipelintel-foot__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-base);
  color: rgba(246, 242, 234, 0.7);
}

/* ---------- Books / Briefing ---------- */
.book {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.book--secondary {
  grid-template-columns: 1fr minmax(220px, 320px);
}
.book--secondary .book__cover {
  transform: rotate(1.5deg);
}
.book--secondary .book__cover:hover {
  transform: rotate(0deg) translateY(-4px);
}
@media (max-width: 860px) {
  .book,
  .book--secondary {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    text-align: left;
  }
  .book--secondary .book__copy {
    order: 2;
  }
  .book__cover-wrap {
    max-width: 280px;
    margin: 0 auto;
  }
}
.book__kicker {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.45;
  color: var(--navy);
  margin: calc(-1 * var(--space-3)) 0 var(--space-6);
  padding-left: var(--space-4);
  border-left: 2px solid var(--teal);
  max-width: 50ch;
}
.book__pages-tag {
  margin-top: var(--space-5);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-deep);
  text-align: center;
}
.book__note {
  margin-top: var(--space-4);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--ink-soft);
  max-width: 50ch;
}
.book__cover-wrap {
  position: relative;
  width: 100%;
}
.book__cover {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.05),
    0 12px 28px rgba(10, 31, 61, 0.18),
    0 30px 60px rgba(10, 31, 61, 0.14);
  transform: rotate(-1.5deg);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.book__cover:hover {
  transform: rotate(0deg) translateY(-4px);
}
.book__cover-shadow {
  position: absolute;
  inset: 8% -4% -6% 4%;
  background: radial-gradient(ellipse at center, rgba(10, 31, 61, 0.18), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.book__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: var(--space-4);
  text-transform: none;
}
.book__subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.35;
  color: var(--teal-deep);
  margin-bottom: var(--space-6);
  max-width: 50ch;
}
.book__body {
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: var(--space-6);
  max-width: 56ch;
}
.book__points {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  padding-left: 0;
}
.book__points li {
  position: relative;
  padding-left: 28px;
  font-size: var(--text-base);
  color: var(--ink);
  line-height: 1.5;
}
.book__points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 16px;
  height: 1.5px;
  background: var(--teal);
}
.book__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--rule);
  max-width: 50ch;
}
.book__author > span:first-child {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--navy);
  letter-spacing: -0.005em;
}
.book__author-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--ink-soft);
}
.book__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ---------- Pipelintel tagline ---------- */
.pipelintel__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.01em;
  color: var(--orange, #e07a3a);
  margin: var(--space-2) 0 var(--space-6);
}

/* ---------- Specialties ---------- */
.speciality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 900px) {
  .speciality-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .speciality-grid {
    grid-template-columns: 1fr;
  }
}
.spec {
  background: var(--paper);
  padding: clamp(22px, 2.4vw, 32px);
  transition: background 0.2s ease;
}
.spec:hover {
  background: var(--cream);
}
.spec h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: var(--space-2);
  letter-spacing: -0.005em;
}
.spec p {
  font-size: var(--text-sm);
  color: var(--ink-soft);
  line-height: 1.55;
}
.spec--feature {
  background: var(--navy);
}
.spec--feature h3 {
  color: var(--teal-soft);
}
.spec--feature p {
  color: rgba(246, 242, 234, 0.82);
}
.spec--feature:hover {
  background: var(--navy-soft);
}

/* ---------- Final CTA ---------- */
.cta {
  background: linear-gradient(140deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  color: var(--cream);
  padding-block: clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 60% at 50% 100%,
    rgba(43, 163, 155, 0.18),
    transparent 70%
  );
  pointer-events: none;
}
.cta__inner {
  position: relative;
  text-align: center;
  max-width: 860px;
}
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  color: var(--cream);
}
.cta__title-accent {
  color: var(--teal-soft);
  font-style: italic;
  font-weight: 500;
}
.cta__lede {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: rgba(246, 242, 234, 0.78);
  max-width: 60ch;
  margin: 0 auto var(--space-10);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(246, 242, 234, 0.7);
  padding-block: clamp(36px, 5vw, 56px);
  border-top: 1px solid rgba(246, 242, 234, 0.08);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__mark {
  width: auto;
  height: 48px;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
}
.footer__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--cream);
  letter-spacing: -0.005em;
}
.footer__tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: rgba(246, 242, 234, 0.55);
  margin-top: 2px;
}
.footer__meta {
  text-align: right;
  font-size: var(--text-sm);
  line-height: 1.7;
}
.footer__meta a {
  color: var(--teal-soft);
  transition: color 0.2s ease;
}
.footer__meta a:hover {
  color: var(--cream);
}
@media (max-width: 600px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__meta {
    text-align: left;
  }
}

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 2px solid var(--teal-soft);
  outline-offset: 3px;
  border-radius: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Briefing request form ---------- */
.brief-form {
  margin-top: clamp(64px, 9vw, 112px);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px) clamp(36px, 4vw, 56px);
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 24px 60px -32px rgba(10, 31, 61, 0.18);
  scroll-margin-top: 96px;
}
.brief-form__head {
  max-width: 60ch;
  margin: 0 0 var(--space-8);
}
.brief-form__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: var(--space-2) 0 var(--space-3);
}
.brief-form__lede {
  font-size: var(--text-base);
  color: var(--ink);
  line-height: 1.55;
  margin: 0;
}
.brief-form__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.brief-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 640px) {
  .brief-form__row {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}
.brief-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brief-form__field--full {
  width: 100%;
}
.brief-form__label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.brief-form__label em {
  font-style: normal;
  color: var(--teal-deep);
  margin-left: 2px;
}
.brief-form__form input[type="text"],
.brief-form__form input[type="email"],
.brief-form__form textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--navy);
  background: #fdfcfa;
  border: 1px solid #d8d3ca;
  border-radius: 8px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
  -webkit-appearance: none;
  appearance: none;
}
.brief-form__form input::placeholder,
.brief-form__form textarea::placeholder {
  color: #9a9690;
}
.brief-form__form input:focus,
.brief-form__form textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(43, 163, 155, 0.18);
}
.brief-form__form textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.5;
}
.brief-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-3);
}
.brief-form__submit {
  min-width: 200px;
}
.brief-form__submit[disabled] {
  opacity: 0.7;
  cursor: progress;
}
.brief-form__fineprint {
  flex: 1;
  min-width: 240px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--ink-soft);
  margin: 0;
}
.brief-form__status {
  margin-top: var(--space-4);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: var(--text-base);
  line-height: 1.5;
}
.brief-form__status p {
  margin: 0;
}
.brief-form__status--success {
  background: rgba(43, 163, 155, 0.08);
  border: 1px solid rgba(43, 163, 155, 0.35);
  color: var(--navy);
}
.brief-form__status--error {
  background: rgba(224, 122, 58, 0.08);
  border: 1px solid rgba(224, 122, 58, 0.4);
  color: var(--navy);
}
.brief-form__status--error a {
  color: var(--teal-deep);
  text-decoration: underline;
}

/* ---------- The Marble in the Jar® ---------- */
.marble {
  background:
    radial-gradient(ellipse 1200px 600px at 50% -10%,
      rgba(43, 163, 155, 0.10) 0%,
      transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.marble__container {
  position: relative;
  z-index: 1;
}
.marble__eyebrow-row {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.marble__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(20px, 3vw, 32px);
}
.marble__art {
  width: clamp(180px, 22vw, 280px);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.35));
}
.marble__title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.marble__title {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.6vw, 8px);
}
.marble__title-top {
  color: var(--cream);
  font-size: clamp(44px, 7vw, 88px);
}
.marble__title-bottom {
  color: var(--teal-soft);
  font-style: italic;
  font-size: clamp(44px, 7vw, 88px);
}
.marble__title .r {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.35em;
  vertical-align: super;
  letter-spacing: 0;
  color: rgba(125, 221, 211, 0.7);
  margin-left: 4px;
}
.marble__subhead {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.7);
  margin: 0;
}
.marble__body {
  max-width: 64ch;
  margin: clamp(48px, 6vw, 72px) auto 0;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.65;
  color: rgba(246, 242, 234, 0.88);
}
.marble__body p {
  margin: 0 0 var(--space-5);
}
.marble__body p:last-child {
  margin-bottom: 0;
}
.marble__lede {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.7vw, 24px) !important;
  line-height: 1.45 !important;
  color: var(--cream) !important;
  font-weight: 400;
}
.marble__lede em {
  font-style: italic;
  color: var(--teal-soft);
}
.marble__pull {
  margin: clamp(32px, 4vw, 48px) 0;
  padding: clamp(20px, 2.5vw, 28px) clamp(24px, 3vw, 36px);
  border-left: 3px solid var(--teal);
  background: rgba(43, 163, 155, 0.08);
  border-radius: 0 6px 6px 0;
}
.marble__pull p {
  margin: 0 !important;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 1.4vw, 22px) !important;
  line-height: 1.5 !important;
  color: var(--cream) !important;
}
.marble__strap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(16px, 2vw, 28px);
  margin: clamp(56px, 7vw, 88px) auto clamp(40px, 5vw, 56px);
  padding: clamp(20px, 2.5vw, 28px) clamp(24px, 4vw, 48px);
  border-top: 1px solid rgba(125, 221, 211, 0.18);
  border-bottom: 1px solid rgba(125, 221, 211, 0.18);
  max-width: fit-content;
}
.marble__strap-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.005em;
  color: var(--cream);
}
.marble__strap-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.7;
  flex-shrink: 0;
}
.marble__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-2);
}

@media (max-width: 640px) {
  .marble__strap {
    gap: 12px;
    padding: 16px 20px;
  }
  .marble__strap-dot {
    width: 4px;
    height: 4px;
  }
}

/* ---------- Footer: full horizontal logo treatment ---------- */
.footer__brand {
  align-items: center;
  flex: 0 1 auto;
  max-width: 420px;
}
.footer__lockup {
  display: block;
  width: 100%;
  height: auto;
  max-width: 360px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}
@media (max-width: 600px) {
  .footer__brand {
    max-width: 280px;
  }
  .footer__lockup {
    max-width: 280px;
  }
}
