/* ============================================================
   Realtin Consultancy — brand system from Figma template
   Charcoal + blush + pink, Fraunces display serif, DM Sans body
   ============================================================ */

:root {
  --charcoal: #4c4c4c;
  --charcoal-deep: #404040;
  --ink: #2b2b2b;
  --blush: #fdf5f8;
  --pink: #f9dcea;
  --pink-soft: #fceef5;
  --rose: #f2b6cf;
  --rose-deep: #c96f9e;
  --white: #ffffff;
  --grey-text: #b9b9b9;

  --font-display: "Fraunces", Georgia, serif;
  --font-logo: "Cormorant", "Fraunces", Georgia, serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-card: 24px;
  --radius-pill: 999px;
  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--blush);
  line-height: 1.6;
  font-size: 17px;
}

img, svg { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */

h1, h2, h3 { font-weight: 600; line-height: 1.15; }

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  font-weight: 500;
}

.lede { font-size: 1.15rem; max-width: 34em; }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--rose);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline-light { color: var(--white); background: transparent; }
.btn-outline-light:hover { background: var(--rose); color: var(--ink); }

.btn-outline-dark { color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--rose); color: var(--ink); }

.btn-solid { background: var(--rose); color: var(--ink); border-color: var(--rose); }
.btn-solid:hover { background: var(--rose-deep); border-color: var(--rose-deep); color: var(--white); }

/* ---------- Header / nav ---------- */

.site-header {
  background: var(--charcoal);
  padding: 28px 0;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- Wordmark: high-contrast serif, twin sparkles over a dotless i,
              letter-spaced CONSULTANCY sub-line — per the Figma logo ---------- */

.wordmark {
  display: inline-block;
  color: var(--rose);
  text-decoration: none;
  line-height: 1;
}

.wordmark-name {
  display: block;
  font-family: var(--font-logo);
  font-size: 5.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.wordmark-i {
  position: relative;
  display: inline-block;
}

.wordmark-i .i-stars {
  position: absolute;
  left: 50%;
  transform: translateX(-52%);
  bottom: 0.66em; /* sits just on top of the dotless i */
  width: 0.72em;
  height: 0.6em;
  overflow: visible;
}

/* CONSULTANCY in the plain sans; flexed letters so it always
   spans exactly the same width as the Realtin wordmark above */
.wordmark-sub {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 1.44rem;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 0.3em;
}

.site-nav { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.98rem;
  opacity: 0.9;
}

.site-nav a:hover, .site-nav a[aria-current="page"] {
  opacity: 1;
  border-bottom: 2px solid var(--rose);
  padding-bottom: 2px;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 90px 0 110px;
}

.hero .eyebrow { color: var(--grey-text); }

.hero h1 { margin: 18px 0 22px; max-width: 15em; }

.hero .lede { color: #d9d9d9; }

.hero-star {
  position: absolute;
  right: -150px;
  top: 50%;
  transform: translateY(-50%);
  width: 640px;
  height: 640px;
  pointer-events: none;
  opacity: 0.97;
}

.hero-inner { position: relative; z-index: 1; }

/* Below full desktop the star would sit under the text — fade it to a watermark */
@media (max-width: 1200px) {
  .hero-star { opacity: 0.12; }
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  margin: 38px 0 44px;
  max-width: 760px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

.chip .chip-arrow {
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--rose);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rose);
  font-size: 0.85rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.chip:hover .chip-arrow { background: var(--rose); color: var(--ink); }

/* ---------- Sections ---------- */

section { padding: 90px 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

.section-head .eyebrow { color: var(--rose-deep); margin-bottom: 10px; }

@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 980px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 44px 36px;
  box-shadow: 0 10px 30px rgba(59, 59, 59, 0.06);
}

.card.highlight { background: var(--pink); }

.card .card-icon { margin-bottom: 26px; color: var(--ink); }

.card h3 { margin-bottom: 12px; }

.card ul { list-style: none; }

.card ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose-deep);
}

.card-tags {
  font-size: 0.95rem;
  line-height: 1.7;
}

.card-more {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--rose-deep);
  text-decoration: none;
}

.card-more:hover { text-decoration: underline; }

/* ---------- Quote band ---------- */

.quote-band { background: var(--white); text-align: center; }

.quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  max-width: 22em;
  margin: 0 auto 18px;
}

.quote-band cite { font-style: normal; color: var(--rose-deep); font-weight: 500; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 64px;
  text-align: left;
}

@media (max-width: 820px) { .testimonial-grid { grid-template-columns: 1fr; } }

/* an odd final card spans the full row so the grid stays balanced */
.testimonial-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

.testimonial-card {
  background: var(--blush);
  border-radius: var(--radius-card);
  padding: 36px 34px;
}

.testimonial-card p {
  font-size: 1rem;
  margin-bottom: 18px;
}

.testimonial-card p::before { content: "\201C"; color: var(--rose-deep); }
.testimonial-card p::after { content: "\201D"; color: var(--rose-deep); }

.testimonial-card cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--rose-deep);
  font-weight: 500;
}

/* ---------- Split blocks (about / why us) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
}

@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.split .pane { padding: 64px 56px; }

.pane-pink { background: var(--pink); }
.pane-white { background: var(--white); }
.pane-charcoal { background: var(--charcoal); color: var(--white); }

.split h2 { margin-bottom: 18px; }
.split p + p { margin-top: 14px; }

.pane-visual {
  min-height: 320px;
  background:
    radial-gradient(circle at 30% 30%, var(--pink-soft) 0, transparent 55%),
    radial-gradient(circle at 75% 70%, var(--rose) 0, transparent 60%),
    var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pane-visual svg { width: 180px; height: 180px; }

.pane-photo {
  min-height: 320px;
  position: relative;
}

.pane-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ---------- Reach stats ---------- */

.reach-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 56px;
  margin-bottom: 48px;
}

.reach-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--rose-deep);
}

.reach-label {
  font-size: 0.95rem;
  color: #6b6b6b;
}

/* ---------- Photo strips ---------- */

.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.photo-strip.two-up { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 980px) { .photo-strip, .photo-strip.two-up { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .photo-strip, .photo-strip.two-up { grid-template-columns: 1fr; } }

.photo-strip figure {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(59, 59, 59, 0.06);
}

.photo-strip img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.photo-strip figcaption {
  padding: 16px 22px 20px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6b6b6b;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}

@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  box-shadow: 0 10px 30px rgba(59, 59, 59, 0.06);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--rose);
  display: block;
  margin-bottom: 14px;
}

.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { font-size: 0.96rem; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--charcoal);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band h2 { max-width: 18em; margin: 0 auto 20px; }
.cta-band p { max-width: 36em; margin: 0 auto 36px; color: #d9d9d9; }

.cta-star {
  position: absolute;
  left: -110px;
  bottom: -110px;
  width: 300px;
  height: 300px;
  opacity: 0.15;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal-deep);
  color: var(--grey-text);
  padding: 64px 0 40px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .wordmark-name { font-size: 2rem; }
.site-footer .wordmark-sub { font-size: 0.62rem; }

.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
  font-weight: 500;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }

.site-footer a { color: var(--grey-text); text-decoration: none; }
.site-footer a:hover { color: var(--rose); }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-credit {
  margin-top: 18px;
  font-size: 0.8rem;
  text-align: center;
}

/* ---------- Pain points (MSP page) ---------- */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 820px) { .pain-grid { grid-template-columns: 1fr; } }

.pain {
  border-left: 3px solid var(--rose);
  padding: 8px 0 8px 28px;
}

.pain h3 { margin-bottom: 8px; }

/* ---------- Two-mode section (MSP page) ---------- */

.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 820px) { .modes { grid-template-columns: 1fr; } }

.mode {
  border-radius: var(--radius-card);
  padding: 48px 40px;
}

.mode-coach { background: var(--pink); }
.mode-dfy { background: var(--charcoal); color: var(--white); }
.mode-dfy h3, .mode-dfy .mode-label { color: var(--white); }

.mode-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rose-deep);
  display: block;
  margin-bottom: 12px;
}

.mode-dfy .mode-label { color: var(--rose); }

.mode h3 { font-size: 1.5rem; margin-bottom: 16px; }

.mode ul { list-style: none; margin-top: 8px; }

.mode ul li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 12px;
}

.mode ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--rose-deep);
  font-size: 0.8rem;
}

.mode-dfy ul li::before { color: var(--rose); }

/* ---------- Pricing page ---------- */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 980px) { .tier-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.tier {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 44px 36px;
  box-shadow: 0 10px 30px rgba(59, 59, 59, 0.06);
  display: flex;
  flex-direction: column;
  position: relative;
}

.tier-featured { background: var(--pink); border: 2px solid var(--rose-deep); }

.tier-badge {
  position: absolute;
  top: -15px;
  left: 36px;
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

.tier h3 { font-size: 1.8rem; }
.tier-tag { color: var(--rose-deep); font-weight: 500; margin: 4px 0 18px; }

.tier-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 18px;
}

.tier-price .from, .tier-price .per {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: #6b6b6b;
}

.tier h4 {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b6b6b;
  margin: 24px 0 10px;
}

.tier ul { list-style: none; }

.tier ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
  font-size: 0.96rem;
}

.tier ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose-deep);
}

.tier-outcome { margin: 24px 0 28px; font-size: 0.96rem; }
.tier .btn { margin-top: auto; text-align: center; }

.matrix-wrap { overflow-x: auto; border-radius: var(--radius-card); box-shadow: 0 10px 30px rgba(59, 59, 59, 0.06); }

.matrix {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: var(--white);
}

.matrix th, .matrix td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--pink); }
.matrix tbody th { text-align: left; font-weight: 500; }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }

.matrix thead th {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  background: var(--charcoal);
  color: var(--white);
  border-bottom: 0;
}

.matrix thead small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--rose);
}

.matrix .col-featured { background: var(--rose-deep) !important; }
.matrix .col-featured small { color: var(--white); }
.matrix td.yes { color: var(--rose-deep); font-size: 1.2rem; font-weight: 700; }
.matrix td.no { color: #c8c8c8; }

.price-note { margin-top: 24px; text-align: center; font-size: 0.92rem; color: #6b6b6b; }

/* ---------- Case studies ---------- */

.sector-index {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
  max-width: 920px;
}

.sector-index a {
  color: var(--white);
  text-decoration: none;
  border: 1.5px solid var(--rose);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.sector-index a:hover { background: var(--rose); color: var(--ink); }

.sector { scroll-margin-top: 16px; }
.sector.alt { background: var(--white); }

.sector-head { margin-bottom: 40px; }
.sector-head .eyebrow { color: var(--rose-deep); margin-bottom: 10px; }

.sector-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) { .sector-grid { grid-template-columns: 1fr; gap: 32px; } }

@media (min-width: 901px) { .sector-grid aside { position: sticky; top: 24px; } }

.sector-exp {
  background: var(--pink);
  border-radius: var(--radius-card);
  padding: 32px 30px;
}

.sector.alt .sector-exp { background: var(--blush); }

.sector-exp h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.sector-exp ul, .case ul { list-style: none; }

.sector-exp li, .case li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.sector-exp li::before, .case li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose-deep);
}

.sector-photo {
  margin: 24px 0 0;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.sector-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.case {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px 38px;
  box-shadow: 0 10px 30px rgba(59, 59, 59, 0.06);
}

.sector.alt .case { background: var(--blush); box-shadow: none; }

.case + .case { margin-top: 28px; }

.case-label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--rose-deep);
}

.case h3 { font-size: 1.5rem; margin: 8px 0 24px; }

.case-block + .case-block { margin-top: 22px; }

.case-block h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rose-deep);
  margin-bottom: 8px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 28px;
}

.case-tags span {
  background: var(--pink);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.85rem;
}

.cta-list {
  list-style: none;
  display: inline-block;
  text-align: left;
  margin: 0 auto 28px;
}

.cta-list li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 6px;
  color: #d9d9d9;
}

.cta-list li::before {
  content: "\2726";
  position: absolute;
  left: 0;
  color: var(--rose);
  font-size: 0.8rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}
