/* =========================================================
   Carbacio Group · brand identity stylesheet (v2 · dark)
   Deep Navy #0D1B2A · Bronze #B87333
   Cormorant Garamond + Montserrat
   ========================================================= */

:root {
  /* Core palette */
  --ink:        #0D1B2A;        /* primary background */
  --ink-2:      #14253A;        /* sections, cards */
  --ink-3:      #1F3149;        /* borders, hover */
  --ink-deep:   #050E1A;        /* footer, deepest section */
  --bronze:     #B87333;        /* primary accent */
  --bronze-2:   #D08F50;        /* hover / brighter accent */
  --bronze-deep:#8E5722;        /* pressed states */
  --paper:      #F3EDE2;        /* primary light text */
  --paper-2:    #C8C0AE;        /* dimmer light text */
  --text-soft:  #B8C0CC;        /* body copy on dark */
  --text-dim:   #6B7589;        /* labels, captions */
  --rule:       rgba(243,237,226,0.10);
  --rule-strong:rgba(243,237,226,0.18);
  --bronze-rule:rgba(184,115,51,0.30);

  /* Type */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max:    1320px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle texture overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: 0.5;
  z-index: 1;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(184,115,51,0.04) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(184,115,51,0.04) 0%, transparent 45%);
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

/* ============= TYPOGRAPHY ============= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: currentColor;
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--paper);
}
h1 { font-size: clamp(2.25rem, 4.75vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.75rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.15rem); line-height: 1.15; }
h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  color: var(--paper);
}
.italic, em.fs {
  font-style: italic;
  color: var(--bronze-2);
  font-weight: 500;
}
.light  { font-weight: 300; }

p { color: var(--text-soft); max-width: 62ch; }
p.lead { font-size: 1.15rem; color: var(--paper-2); line-height: 1.55; max-width: 60ch; }

/* ============= NAVIGATION ============= */
.nav {
  position: sticky; top: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
  will-change: transform, opacity;
}
.nav--tucked {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.wordmark { display: flex; align-items: center; }
.wordmark img {
  height: 140px;
  width: auto;
  display: block;
}
.nav__links {
  display: flex; gap: 28px;
  font-size: 14px;
  font-weight: 500;
  align-items: center;
  letter-spacing: 0.01em;
}
.nav__links a {
  color: var(--paper-2);
  transition: color .2s var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--bronze); }
.nav__cta {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--bronze);
  border-radius: 999px;
  color: var(--ink);
  background: var(--bronze);
  /* HARD GUARDS — these must never be overridden anywhere in the stylesheet.
     They prevent the "BOOKACALL stacked vertically" failure mode on small viewports. */
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
  word-wrap: normal !important;
  transition: all .25s var(--ease);
}
.nav__cta:hover {
  background: var(--bronze-2);
  border-color: var(--bronze-2);
  color: var(--ink);
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--bronze);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
  white-space: nowrap;
  cursor: pointer;
}
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 16px var(--gutter) 24px;
  gap: 0;
  background: var(--ink-2);
  border-bottom: 1px solid var(--rule);
}
.nav__mobile a {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--paper-2);
}
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile.open { display: flex; }
.nav__mobile-cta {
  display: block;
  margin-top: 16px;
  padding: 14px 20px !important;
  background: var(--bronze);
  color: var(--ink) !important;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 999px;
  border-bottom: none !important;
  white-space: nowrap;
}
.nav__mobile-cta:hover { background: var(--bronze-2); }

@media (max-width: 980px) {
  .nav__links { display: none !important; }
  .nav__toggle { display: inline-block !important; }
  .nav .nav__cta,
  .nav__inner .nav__cta,
  a.nav__cta { display: none !important; }
  .wordmark img { height: 72px; max-width: 70vw; object-fit: contain; object-position: left center; }
}

/* Extra safety for very narrow phones */
@media (max-width: 480px) {
  .nav__cta { display: none !important; }
  .wordmark img { height: 56px; max-width: 70vw; }
}

/* ============= BUTTONS ============= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bronze);
  color: var(--ink);
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: all .25s var(--ease);
  border: 1px solid var(--bronze);
  cursor: pointer;
}
.btn-primary:hover { background: var(--bronze-2); border-color: var(--bronze-2); transform: translateY(-1px); }
.btn-primary svg { transition: transform .25s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 14px;
  color: var(--paper);
  border-bottom: 1px solid var(--bronze);
  padding-bottom: 4px;
  transition: all .2s var(--ease);
}
.btn-text:hover { gap: 14px; color: var(--bronze); }

.btn-gold, .btn-bronze {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bronze);
  color: var(--ink);
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: all .25s var(--ease);
}
.btn-gold:hover, .btn-bronze:hover { background: var(--bronze-2); }

/* ============= STAT STRIP ============= */
.strip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--ink-2);
  padding: 36px 0;
}
.strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.strip__item { display: flex; flex-direction: column; gap: 4px; }
.strip__num {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.strip__num sup {
  font-size: 0.5em;
  color: var(--bronze);
  margin-left: 4px;
}
.strip__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 8px;
}
@media (max-width: 720px) {
  .strip__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
}

/* ============= SECTIONS ============= */
section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
section.sm { padding: clamp(60px, 8vw, 100px) 0; }
section.dark, section.bone, section.paper-2 { background: var(--ink-2); }
section.deep { background: var(--ink-deep); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  margin-bottom: clamp(48px, 7vw, 80px);
  align-items: end;
}
.section-head > div:first-child { display: flex; flex-direction: column; gap: 20px; }
.section-head h2 { max-width: 18ch; }
.section-head--center {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}
.section-head--center > div:first-child { align-items: center; }
@media (max-width: 740px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ============= HERO ============= */
.hero {
  padding: clamp(60px, 11vw, 140px) 0 clamp(80px, 12vw, 160px);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.hero--page {
  padding: clamp(80px, 9vw, 120px) 0 clamp(60px, 7vw, 100px);
}
.hero--dark { background: var(--ink-deep); }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
.hero__headline { grid-column: 1 / -1; max-width: 18ch; }
.hero__sub {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--paper-2);
  max-width: 42ch;
}
.hero__cta { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero__meta { display: flex; flex-direction: column; gap: 24px; }
.hero__verticals { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.hero__vertical {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--bronze-rule);
  border-radius: 999px;
  color: var(--bronze);
}
@media (max-width: 740px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* ============= BREADCRUMB ============= */
.crumb {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.crumb a { color: var(--bronze); transition: color .2s var(--ease); }
.crumb a:hover { color: var(--bronze-2); }
.crumb__sep { color: var(--text-dim); opacity: 0.5; }

/* ============= TWO-COLUMN CONTENT ============= */
.twocol {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.twocol--flip { grid-template-columns: 7fr 5fr; }
.twocol__head {
  position: sticky;
  top: 110px;
  align-self: start;
}
.twocol__head h2 { max-width: 12ch; margin-top: 16px; }
.twocol__head p { margin-top: 24px; color: var(--paper-2); }
.twocol__body p { margin-bottom: 16px; max-width: 68ch; color: var(--text-soft); }
.twocol__body h3 { margin-top: 36px; margin-bottom: 16px; max-width: 24ch; }
.twocol__body h3:first-child { margin-top: 0; }
.twocol__body strong { color: var(--paper); font-weight: 600; }
@media (max-width: 880px) {
  .twocol, .twocol--flip { grid-template-columns: 1fr; }
  .twocol__head { position: static; }
}

/* ============= CARDS / GRIDS ============= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .card-grid, .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  min-height: 100%;
}
.card:hover { background: var(--ink-3); transform: translateY(-3px); border-color: var(--bronze-rule); }
.card__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--bronze);
}
.card__title {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.005em;
  font-weight: 500;
  color: var(--paper);
}
.card__desc { font-size: 0.95rem; color: var(--text-soft); }
.card__link {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .2s var(--ease);
}
.card:hover .card__link { gap: 12px; }
.card--dark { background: var(--ink-deep); border-color: var(--rule-strong); }
.card--dark:hover { background: var(--ink-2); }

/* ============= NUMBERED LIST ============= */
.numlist { list-style: none; counter-reset: nl; }
.numlist li {
  counter-increment: nl;
  padding: 22px 0 22px 64px;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.numlist li::before {
  content: counter(nl, decimal-leading-zero);
  position: absolute;
  left: 0; top: 24px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--bronze);
  letter-spacing: 0.05em;
}
.numlist h4 { margin-bottom: 6px; font-weight: 500; font-size: 1.02rem; color: var(--paper); }
.numlist p { font-size: 0.92rem; margin: 0; color: var(--text-soft); }

/* ============= TIMELINE / PROCESS ============= */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.timeline--3 { grid-template-columns: repeat(3, 1fr); }
.timeline--5 { grid-template-columns: repeat(5, 1fr); }
.timeline__step {
  background: var(--ink-2);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
}
.timeline__num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--bronze);
  font-style: italic;
  font-weight: 500;
}
.timeline__week {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.timeline__title { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; font-weight: 500; color: var(--paper); }
.timeline__desc { font-size: 0.92rem; color: var(--text-soft); }
@media (max-width: 880px) {
  .timeline, .timeline--5 { grid-template-columns: 1fr 1fr; }
  .timeline--3 { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .timeline, .timeline--5 { grid-template-columns: 1fr; }
}

/* ============= DELIVERABLES LIST ============= */
.delivs {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.delivs li {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: baseline;
}
.delivs li::before {
  content: "→";
  font-family: var(--mono);
  font-size: 14px;
  color: var(--bronze);
  font-weight: 500;
}
.delivs strong { font-weight: 600; color: var(--paper); }
.delivs span { color: var(--text-soft); font-size: 0.95rem; display: block; margin-top: 4px; }

/* Clean stacked credentials list — title on top, sentence below */
.cred-list { display: flex; flex-direction: column; margin-top: 8px; }
.cred-list__item {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.cred-list__item:first-child { padding-top: 4px; }
.cred-list__item:last-child { border-bottom: none; }
.cred-list__item h4 {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.cred-list__item p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin: 0;
  max-width: 60ch;
  line-height: 1.55;
}

/* ============= PULL QUOTE ============= */
.quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-style: italic;
  font-weight: 400;
  color: var(--paper);
  border-left: 2px solid var(--bronze);
  padding-left: 24px;
  margin: 40px 0;
  max-width: 36ch;
}

/* ============= KPIs ============= */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .kpi-grid { grid-template-columns: 1fr; } }

.kpi {
  padding: 28px;
  background: var(--ink-deep);
  border-radius: 6px;
  border: 1px solid var(--rule);
}
.kpi__num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  line-height: 1;
  color: var(--bronze);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.kpi__title { font-family: var(--sans); font-weight: 500; font-size: 0.95rem; color: var(--paper); margin-bottom: 8px; }
.kpi__desc { font-size: 0.85rem; color: var(--text-soft); line-height: 1.55; }

/* ============= FAQ ============= */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--rule); padding: 26px 0; }
.faq-q {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.25;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  list-style: none;
  transition: color .2s var(--ease);
  color: var(--paper);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--bronze);
  transition: transform .25s var(--ease);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-item[open] .faq-q { color: var(--bronze); }
.faq-a {
  color: var(--text-soft);
  padding: 18px 60px 4px 0;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 78ch;
}

/* ============= CTA BLOCK ============= */
.cta {
  background: var(--ink-deep);
  color: var(--paper);
  border-top: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "Carbacio";
  position: absolute;
  bottom: -100px;
  right: -20px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(180px, 28vw, 380px);
  font-weight: 500;
  color: rgba(184,115,51,0.05);
  letter-spacing: -0.03em;
  line-height: 1;
  pointer-events: none;
}
.cta .container { position: relative; z-index: 2; }
.cta__inner {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 60px;
  align-items: center;
}
.cta h2 { color: var(--paper); max-width: 16ch; }
.cta h2 em { font-style: italic; color: var(--bronze); font-weight: 500; }
.cta p { color: var(--paper-2); font-size: 1.05rem; max-width: 50ch; margin-top: 20px; }
.cta__form {
  background: var(--ink-2);
  padding: 36px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cta__field { display: flex; flex-direction: column; gap: 6px; }
.cta__field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.cta__field input, .cta__field select, .cta__field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  padding: 10px 0;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  outline: none;
  transition: border-color .2s var(--ease);
  resize: vertical;
}
.cta__field input::placeholder, .cta__field textarea::placeholder { color: var(--text-dim); }
.cta__field input:focus, .cta__field select:focus, .cta__field textarea:focus { border-color: var(--bronze); }
.cta__btn {
  background: var(--bronze);
  color: var(--ink);
  border: 0;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all .25s var(--ease);
  margin-top: 12px;
}
.cta__btn:hover { background: var(--bronze-2); }
@media (max-width: 880px) { .cta__inner { grid-template-columns: 1fr; } }

/* ============= RELATED SERVICES STRIP ============= */
.related {
  background: var(--ink-2);
  border-top: 1px solid var(--rule);
  padding: 60px 0;
}
.related__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.related__card {
  background: var(--ink-2);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background .25s var(--ease);
}
.related__card:hover { background: var(--ink-3); }
.related__num { font-family: var(--mono); font-size: 11px; color: var(--bronze); letter-spacing: 0.08em; }
.related__name { font-family: var(--serif); font-size: 1.25rem; line-height: 1.15; font-weight: 500; color: var(--paper); margin-top: 4px; }
.related__desc { font-size: 0.88rem; color: var(--text-soft); margin-top: 4px; }
@media (max-width: 880px) { .related__grid { grid-template-columns: 1fr; } }

/* ============= FOOTER ============= */
.footer {
  background: var(--ink-deep);
  color: var(--paper-2);
  padding: 72px 0 28px;
  border-top: 1px solid var(--rule);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer__brand img { height: 140px; width: auto; margin-bottom: 16px; }
.footer__brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 32ch;
}
.footer__col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer__col a {
  display: block;
  padding: 6px 0;
  color: var(--paper-2);
  font-size: 0.9rem;
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--bronze); }
.footer__base {
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 16px;
}
.footer__tagline {
  text-align: center;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
}
@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ============= UTILITIES ============= */
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-80 { margin-top: 80px; }

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal   { animation: rise .9s var(--ease) both; }
.reveal-2 { animation: rise .9s .15s var(--ease) both; }
.reveal-3 { animation: rise .9s .30s var(--ease) both; }
.reveal-4 { animation: rise .9s .45s var(--ease) both; }

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

/* ============= MOBILE OVERFLOW DEFENSES ============= */
@media (max-width: 600px) {
  /* Tighter horizontal padding on small phones */
  :root { --gutter: 1.1rem; }

  /* Prevent any text overflow */
  h1, h2, h3, h4, h5, p, span, a, li, div, strong, em {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }

  /* Long single tokens (emails, URLs) can break anywhere if needed.
     Note: .nav__cta is intentionally EXCLUDED — it must stay on one line
     or be display:none on mobile. Allowing overflow-wrap:anywhere on the
     CTA button causes "BOOKACALL" to stack character-by-character when
     squeezed. */
  .footer__base, .footer__col a, .footer__brand p,
  .cta__form a, .crumb {
    overflow-wrap: anywhere;
  }

  /* Footer tagline — reduce letter-spacing so it fits on narrow screens */
  .footer__tagline {
    letter-spacing: 0.12em;
    font-size: 10px;
    line-height: 1.5;
  }

  /* Footer base lines stack neatly on mobile */
  .footer__base {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  /* CTA giant background "Carbacio" — keep it contained */
  .cta::before {
    font-size: clamp(120px, 38vw, 220px);
    bottom: -40px;
    right: -10px;
  }

  /* Quote pull-quote breathes better on mobile */
  .quote {
    padding-left: 16px;
    margin: 32px 0;
  }
}
