/* Flight Ready palette */
:root {
  --navy: #1E374A;
  --navy-2: #1F3649;
  --slate: #274052;
  --steel: #364149;
  --sky: #40B5E4;
  --blue: #2683B7;
  --cobalt: #2F5992;
  --gray: #B1B1B1;
  --white: #FFFFFF;
  --black: #000000;

  --text: #FFFFFF;
  --text-muted: rgba(255, 255, 255, .72);
  --line: rgba(64, 181, 228, .22);

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, sans-serif;

  --radius: 6px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.45rem; font-weight: 600; letter-spacing: .02em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sky); color: var(--navy); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: .9rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

/* ---------- Chart background ---------- */
.chart-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--navy);
}
.chart-bg svg { width: 100%; height: 100%; opacity: .62; }
.chart-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(30, 55, 74, .9) 0%, rgba(30, 55, 74, .35) 55%, rgba(30, 55, 74, .15) 100%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  background: var(--sky);
  border: 2px solid var(--sky);
  border-radius: var(--radius);
  padding: .8rem 1.6rem;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--white); border-color: var(--white); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--sm { padding: .5rem 1rem; font-size: .95rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1.25rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(30, 55, 74, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; text-decoration: none; color: var(--white); }
.brand__mark { width: 36px; height: 36px; }
.brand__word {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.brand__word b { font-weight: 700; color: var(--sky); margin-left: .2em; }

.nav__menu { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 1.8rem); }
.nav__menu a { white-space: nowrap; }
.nav__menu a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  transition: color .2s;
}
.nav__menu a:not(.btn):hover { color: var(--sky); }

.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__toggle span:not(.sr) { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: transform .25s, opacity .25s; }

@media (max-width: 1100px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav__menu a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__menu .btn { margin-top: 1rem; }
  .nav.is-open .nav__menu { display: flex; }
  .nav.is-open { background: var(--navy); }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); display: flex; align-items: center; padding: 4rem 0 3rem; }
.hero h1 { max-width: 13ch; }
.hero h1 span { color: var(--sky); }
.hero__lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-muted); max-width: 40rem; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }

/* Flight-strip style data row */
.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(30, 55, 74, .75);
  backdrop-filter: blur(4px);
  max-width: 920px;
}
.strip > div { padding: .9rem 1.1rem; border-right: 1px solid var(--line); }
.strip > div:last-child { border-right: 0; }
.strip dt {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
}
.strip dd { margin: .15rem 0 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.strip__live { display: flex; align-items: center; gap: .5rem; }
.strip__live i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
@media (prefers-reduced-motion: reduce) { .strip__live i { animation: none; } }

@media (max-width: 760px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip > div:nth-child(2) { border-right: 0; }
  .strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; background: rgba(30, 55, 74, .84); }
.section--panel { background: rgba(31, 54, 73, .92); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--light { background: var(--white); color: var(--navy); }
.section--light .eyebrow { color: var(--blue); }
.section__head { max-width: 46rem; margin-bottom: 3rem; }
.section__sub { color: var(--text-muted); font-size: 1.1rem; }

/* ---------- Prior clients ---------- */
.clients { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.clients__head { max-width: 40rem; margin: 0 auto 2.5rem; text-align: center; }
.clients__head .eyebrow { justify-content: center; }
.clients__grid {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
}
.clients__grid li {
  flex: 0 0 25%; min-width: 0; min-height: 112px;
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem 1.75rem;
}
.clients__logo {
  display: block; height: var(--h); width: calc(var(--h) * var(--ar)); max-width: 100%;
  background-color: var(--white); opacity: .7;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  transition: background-color .2s ease, opacity .2s ease;
}
.clients__grid li:hover .clients__logo { background-color: var(--sky); opacity: 1; }
@media (max-width: 980px) { .clients__grid li { flex-basis: 33.333%; } }
@media (max-width: 640px) {
  .clients__grid li { flex-basis: 50%; min-height: 92px; padding: 1rem; }
  .clients__logo { height: calc(var(--h) * .78); width: calc(var(--h) * .78 * var(--ar)); }
}

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split--form { grid-template-columns: 1fr 1.25fr; }
@media (max-width: 860px) { .split, .split--form { grid-template-columns: 1fr; } }
.prose p, p.prose { color: var(--text-muted); font-size: 1.1rem; }

/* Cards */
.cards { display: grid; gap: 1.25rem; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1020px) { .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .cards--3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .cards--4 { grid-template-columns: 1fr; } }

.card {
  background: rgba(39, 64, 82, .88);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: var(--sky); transform: translateY(-3px); }
.card__id {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .18em;
  color: var(--sky);
  border: 1px solid var(--sky);
  border-radius: 3px;
  padding: .1rem .45rem;
  margin-bottom: 1.1rem;
}
.card p { color: var(--text-muted); margin: 0; }

/* Industries */
.industries {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--navy);
}
.industries li {
  padding: 1.5rem 1.25rem 1.6rem 0;
  border-bottom: 1px solid #dde3e8;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.industries b {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.1;
}
.industries b::before { content: ""; display: block; width: 10px; height: 10px; background: var(--sky); transform: rotate(45deg); margin-bottom: .8rem; }
.industries span { color: var(--steel); font-size: .98rem; }
@media (max-width: 900px) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .industries { grid-template-columns: 1fr; } }

/* Process route */
.route {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  position: relative;
}
.route::before {
  content: "";
  position: absolute;
  top: 27px; left: 28px; right: 28px;
  border-top: 2px dashed rgba(64, 181, 228, .5);
}
.route li { position: relative; }
.route__fix {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  background: var(--sky);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  padding-top: 14px;
  margin-bottom: 1.4rem;
}
.route p { color: var(--text-muted); }
@media (max-width: 860px) {
  .route { grid-template-columns: 1fr; gap: 2rem; }
  .route::before { top: 28px; bottom: 28px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed rgba(64, 181, 228, .5); }
  .route li { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.25rem; }
  .route li .route__fix { grid-row: span 2; margin: 0; }
  .route h3 { margin-top: .6rem; }
}

/* Pricing */
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(39, 64, 82, .9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}
.price--featured { background: var(--cobalt); border-color: var(--sky); box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.price__flag {
  position: absolute;
  top: -13px; left: 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--sky);
  color: var(--navy);
  padding: .2rem .7rem;
  border-radius: 3px;
}
.price h3 { margin-bottom: .15rem; font-size: 1.7rem; }
.price__tag { color: var(--text-muted); margin-bottom: 1.25rem; }
.price__amt { font-family: var(--font-display); font-size: 3rem; font-weight: 700; line-height: 1; margin-bottom: 1.5rem; }
.price__amt small { font-size: 1.05rem; font-weight: 500; color: var(--text-muted); margin-left: .35rem; letter-spacing: .04em; }
.price__amt .price__from { display: block; margin: 0 0 .4rem; font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.price ul { list-style: none; padding: 0; margin: 0 0 2rem; flex: 1; }
.price li { padding: .55rem 0 .55rem 1.6rem; border-top: 1px solid rgba(255, 255, 255, .1); position: relative; }
.price li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 10px; height: 6px; border-left: 2px solid var(--sky); border-bottom: 2px solid var(--sky); transform: rotate(-45deg); }
.price--featured li::before { border-color: var(--white); }
.price--charter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: 1rem 3rem;
  align-items: start;
  margin-top: 2.5rem;
  padding: 2.5rem 2.25rem 2rem;
  background: linear-gradient(135deg, rgba(31, 54, 73, .96), rgba(47, 89, 146, .92));
  border-color: rgba(64, 181, 228, .65);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}
.price--charter .price__flag { left: 2.25rem; }
.price--charter ul { columns: 2; column-gap: 2rem; margin: 0; }
.price--charter li { break-inside: avoid; }
@media (max-width: 860px) {
  .price--charter { grid-template-columns: 1fr; padding: 2.25rem 1.75rem 2rem; }
  .price--charter .price__flag { left: 1.75rem; }
  .price--charter .price__lead { margin-bottom: 1rem; }
}
@media (max-width: 600px) { .price--charter ul { columns: 1; } }

.invoice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding: 1.5rem 1.75rem;
  border: 1px dashed rgba(64, 181, 228, .5);
  border-radius: var(--radius);
}
.invoice h3 { margin: 0 0 .2rem; }
.invoice p { margin: 0; color: var(--text-muted); }

.secure { display: flex; align-items: center; gap: .6rem; margin: 1.5rem 0 0; color: var(--gray); font-size: .95rem; }
.secure svg { width: 20px; height: 20px; flex: none; color: var(--sky); }

/* Newsletter */
.newsletter { background: linear-gradient(120deg, var(--blue) 0%, var(--cobalt) 100%); }
.newsletter .eyebrow { color: var(--white); }
.newsletter__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
.newsletter h2 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.newsletter p { font-size: 1.15rem; color: rgba(255, 255, 255, .88); max-width: 36rem; margin: 0; }
.newsletter .btn { background: var(--white); border-color: var(--white); color: var(--navy); }
.newsletter .btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
@media (max-width: 860px) { .newsletter__inner { grid-template-columns: 1fr; } }

.subscribe__form { display: flex; gap: .6rem; }
.subscribe__form input {
  flex: 1;
  min-width: 0;
  font: 400 1.05rem/1.4 var(--font-body);
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--white);
  border-radius: var(--radius);
  padding: .8rem 1rem;
}
.subscribe__form input:focus { outline: none; border-color: var(--navy); }
.subscribe__form input.is-invalid { border-color: #f87171; }
.newsletter .subscribe__form .btn { background: var(--navy); border-color: var(--navy); color: var(--white); flex: none; }
.newsletter .subscribe__form .btn:hover { background: var(--black); border-color: var(--black); }
.subscribe__status { min-height: 1.4em; margin: .6rem 0 .2rem; font-size: .98rem; color: var(--white); }
.subscribe__link { font-family: var(--font-display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; color: rgba(255, 255, 255, .85); text-decoration: none; }
.subscribe__link:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 480px) { .subscribe__form { flex-direction: column; } }

/* Contact */
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.callout { margin-top: 2rem; padding: 1.25rem 1.4rem; border: 1px dashed rgba(64, 181, 228, .5); border-radius: var(--radius); background: rgba(31, 54, 73, .6); }
.callout p { margin: 0 0 1rem; color: var(--text-muted); }
.callout .callout__title { margin-bottom: .3rem; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: .02em; text-transform: uppercase; color: var(--white); }
[hidden] { display: none !important; }
.checks li { padding: .45rem 0 .45rem 1.9rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .95rem; width: 12px; height: 7px; border-left: 2px solid var(--sky); border-bottom: 2px solid var(--sky); transform: rotate(-45deg); }

.form {
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  display: grid;
  gap: 1.1rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.form label, .form legend {
  display: grid;
  gap: .4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray);
}
.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%;
  font: 400 1rem/1.4 var(--font-body);
  letter-spacing: normal;
  text-transform: none;
  color: var(--white);
  background: var(--navy);
  border: 1px solid rgba(177, 177, 177, .3);
  border-radius: 4px;
  padding: .75rem .85rem;
  transition: border-color .2s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sky) 50%), linear-gradient(135deg, var(--sky) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.2rem; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sky); }
.form .is-invalid { border-color: #f87171 !important; }
.form textarea { resize: vertical; min-height: 110px; }

.form__chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.form__chips legend { margin-bottom: .5rem; }
.form__chips label { display: inline-block; cursor: pointer; }
.form__chips input { position: absolute; opacity: 0; }
.form__chips span {
  display: inline-block;
  padding: .45rem .95rem;
  border: 1px solid rgba(177, 177, 177, .35);
  border-radius: 999px;
  color: var(--white);
  font-size: .95rem;
  letter-spacing: .08em;
  transition: all .2s;
}
.form__chips input:checked + span { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.form__chips input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }

.form__status { margin: 0; min-height: 1.4em; font-size: .98rem; }
.form__status.is-ok { color: #86efac; }
.form__status.is-err { color: #fca5a5; }

/* Footer */
.footer { background: var(--black); padding: 3.5rem 0 2rem; font-size: .95rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__inner p { color: var(--gray); margin: .5rem 0 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.footer nav a { text-decoration: none; color: var(--gray); font-family: var(--font-display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.footer nav a:hover { color: var(--sky); }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; padding-top: 1.5rem; color: rgba(177, 177, 177, .7); font-size: .85rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Simple page (payment success) */
.simple { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 2rem var(--gutter); }
.simple .eyebrow { justify-content: center; }
.simple p { color: var(--text-muted); max-width: 34rem; margin: 0 auto 2rem; font-size: 1.15rem; }

/* ---------- Social ---------- */
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social[hidden] { display: none; }
.social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(177, 177, 177, .35);
  border-radius: 50%;
  color: var(--white);
  transition: background .2s, border-color .2s, color .2s;
}
.social a:hover { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.social svg { width: 18px; height: 18px; }
.follow, .post-share { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.follow[hidden], .post-share[hidden] { display: none; }
.follow > span, .post-share > span { font-family: var(--font-display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; color: var(--gray); }
.follow .social, .post-share .social { margin-top: 0; }

/* ---------- Blog listings ---------- */
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.section__head--row h2 { margin-bottom: 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  background: rgba(39, 64, 82, .9);
  border: 1px solid var(--line);
  border-top: 3px solid var(--sky);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: border-color .25s, transform .25s;
}
.post-card a:hover { border-color: var(--sky); transform: translateY(-3px); }
.post-card__cat { font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sky); margin-bottom: .8rem; }
.post-card h3 { font-size: 1.5rem; line-height: 1.1; }
.post-card p { color: var(--text-muted); flex: 1; }
.post-card__meta { font-size: .88rem; color: var(--gray); }
.blog-hero { padding-top: clamp(3rem, 6vw, 5rem); min-height: 70vh; }
.blog-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.blog-hero .section__sub a { color: var(--sky); }

/* ---------- Article ---------- */
.wrap--narrow { max-width: 780px; }
.post { padding-top: clamp(2.5rem, 5vw, 4rem); }
.post h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.post__back { display: inline-block; margin-bottom: 2rem; font-family: var(--font-display); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--gray); }
.post__back:hover { color: var(--sky); }
.post__meta { color: var(--gray); font-size: .95rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.post__body { font-size: 1.12rem; line-height: 1.75; color: rgba(255, 255, 255, .88); }
.post__body h2 { font-size: 1.9rem; margin: 2.2rem 0 .7rem; color: var(--white); }
.post__body ul { padding-left: 1.2rem; margin: 0 0 1.2em; }
.post__body li { margin-bottom: .45rem; }
.post__body li::marker { color: var(--sky); }
.post__body strong { color: var(--white); }
.post__body a { color: var(--sky); }
.post-cta {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--blue), var(--cobalt));
}
.post-cta h2 { font-size: 1.9rem; margin-bottom: .3rem; }
.post-cta p { color: rgba(255, 255, 255, .88); }
.post-cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.post-cta .btn:not(.btn--ghost) { background: var(--white); border-color: var(--white); color: var(--navy); }
.post-cta .btn--ghost { border-color: rgba(255, 255, 255, .7); }

/* beehiiv embed */
.subscribe__embed { min-height: 60px; margin-bottom: .9rem; }
.subscribe__embed iframe { max-width: 100%; }

/* Footer policy links */
.footer__policies { display: inline-flex; gap: 1.25rem; }
.footer__policies a, .secure a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__policies a:hover, .secure a:hover { color: var(--sky); }

/* ---------- Portfolio (rotating strip) ---------- */
.folio__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.folio { overflow: hidden; padding: .5rem 0 1rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.folio__track { display: flex; gap: 1.25rem; width: max-content; padding: 0 var(--gutter); }
.folio__track.is-rotating { animation: folio-scroll var(--folio-duration, 40s) linear infinite; }
.folio__track.is-rotating:hover, .folio__track.is-rotating:focus-within, .folio__track.is-paused { animation-play-state: paused; }
@keyframes folio-scroll { to { transform: translateX(calc(-50% - .625rem)); } }
.folio-card { width: 22rem; flex: 0 0 auto; }
.folio-card a {
  display: flex; flex-direction: column; height: 100%;
  text-decoration: none;
  background: rgba(39, 64, 82, .95);
  border: 1px solid var(--line); border-top: 3px solid var(--sky);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: border-color .25s;
}
.folio-card a:hover, .folio-card a:focus-visible { border-color: var(--sky); }
.folio-card__pub { font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sky); margin-bottom: .7rem; }
.folio-card h3 { font-size: 1.4rem; line-height: 1.12; }
.folio-card p { color: var(--text-muted); flex: 1; font-size: .98rem; }
.folio-card__meta { font-size: .88rem; color: var(--gray); }
@media (max-width: 600px) { .folio-card { width: 17.5rem; } }
/* Not rotating (few items or reduced motion): swipeable row */
.folio__track:not(.is-rotating) { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem; }
.folio__track:not(.is-rotating) .folio-card { scroll-snap-align: start; }
@media (prefers-reduced-motion: reduce) { .folio__track.is-rotating { animation: none; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.25rem; }
.quote { margin: 0; display: flex; flex-direction: column; background: rgba(39, 64, 82, .9); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.6rem; position: relative; }
.quote::before { content: "\201C"; position: absolute; top: .4rem; right: 1.2rem; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--sky); opacity: .35; }
.quote__stars { margin: 0 0 .75rem; color: var(--sky); letter-spacing: .15em; }
.quote blockquote { margin: 0 0 1.5rem; flex: 1; }
.quote blockquote p { margin: 0; font-size: 1.1rem; line-height: 1.55; }
.quote figcaption { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1rem; }
.quote figcaption strong { display: block; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .03em; }
.quote figcaption span { font-size: .92rem; color: var(--text-muted); }

/* Full portfolio page */
.folio-tools { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1rem; margin-bottom: 1rem; }
.folio-tools label { display: grid; gap: .4rem; font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.folio-tools input, .folio-tools select { font: inherit; font-family: var(--font-body, inherit); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--white); background: rgba(30, 55, 74, .9); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem .9rem; }
.folio-tools input:focus, .folio-tools select:focus { outline: 2px solid var(--sky); outline-offset: 1px; }
.folio-tools__count { color: var(--gray); font-size: .92rem; margin: 0 0 1.25rem; }
.folio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem; }
.folio-grid .folio-card { width: auto; }
.folio-empty { color: var(--text-muted); }
.folio-more { text-align: center; margin-top: 2rem; }
@media (max-width: 600px) { .folio-tools { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.founder__card { margin: 0; background: rgba(39, 64, 82, .95); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem .75rem 1rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.founder__photo { position: relative; aspect-ratio: 4 / 5; border-radius: calc(var(--radius) - 2px); overflow: hidden; background: linear-gradient(135deg, var(--cobalt), var(--navy)); display: grid; place-items: center; }
.founder__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.founder__initials { font-family: var(--font-display); font-weight: 700; font-size: 4.5rem; letter-spacing: .06em; color: rgba(255, 255, 255, .35); }
.founder__card figcaption { padding: .9rem .4rem 0; }
.founder__card figcaption strong { display: block; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .03em; text-transform: uppercase; }
.founder__card figcaption span { font-size: .92rem; color: var(--text-muted); }
.creds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 2rem 0 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.creds > div { padding: 1rem 1.1rem; border-right: 1px solid var(--line); background: rgba(31, 54, 73, .6); }
.creds > div:last-child { border-right: 0; }
.creds dt { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; line-height: 1.05; color: var(--white); }
.creds dd { margin: .3rem 0 0; font-size: .85rem; color: var(--sky); letter-spacing: .04em; }
.text-link { color: var(--sky); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(64, 181, 228, .4); }
.text-link:hover { border-bottom-color: var(--sky); }
.quotes__more { margin: 1.75rem 0 0; text-align: center; }
.upwork-note { margin: 1.25rem 0 0; font-size: .95rem; color: var(--text-muted); }
.upwork-note a { color: var(--sky); }
@media (max-width: 980px) { .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); } .creds > div:nth-child(2) { border-right: 0; } .creds > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } .founder__card { max-width: 20rem; } }

.quote--lead { grid-column: 1 / -1; padding: 2.25rem 2.5rem; background: linear-gradient(135deg, rgba(31, 54, 73, .96), rgba(47, 89, 146, .9)); border-color: rgba(64, 181, 228, .55); }
.quote--lead blockquote p { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; max-width: 52rem; }
@media (max-width: 600px) { .quote--lead { padding: 1.75rem 1.6rem; } }

/* Founder: background tags and career log */
.founder__tags { list-style: none; margin: 1rem .4rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.founder__tags li { font-size: .8rem; font-weight: 600; letter-spacing: .03em; color: var(--sky); border: 1px solid rgba(64, 181, 228, .4); border-radius: 999px; padding: .2rem .65rem; }
.founder__links { display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; margin: 0; }
.logbook { margin-top: clamp(2.5rem, 5vw, 3.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(31, 54, 73, .75); overflow: hidden; }
.logbook__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); background: rgba(39, 64, 82, .9); }
.logbook__head h3 { margin: 0; font-size: 1.35rem; letter-spacing: .06em; text-transform: uppercase; }
.logbook__head span { font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.logbook__rows { list-style: none; margin: 0; padding: 0; }
.logbook__rows li { display: grid; grid-template-columns: 8.5rem minmax(0, 1.1fr) minmax(0, 1.4fr); gap: .35rem 1.75rem; padding: 1.05rem 1.5rem; border-bottom: 1px dashed rgba(64, 181, 228, .2); }
.logbook__rows li:last-child { border-bottom: 0; }
.logbook__when { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .05em; color: var(--sky); }
.logbook__what { color: var(--white); }
.logbook__what strong { font-weight: 600; }
.logbook__note { color: var(--text-muted); font-size: .95rem; }
.logbook__foot { margin: 0; padding: .9rem 1.5rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--gray); }
@media (max-width: 860px) {
  .logbook__rows li { grid-template-columns: 1fr; padding: 1rem 1.25rem; }
  .logbook__head, .logbook__foot { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* Case study page */
.cs-hero { padding-top: clamp(7rem, 12vw, 9rem); }
.cs-crumbs { font-size: .92rem; color: var(--gray); margin: 0 0 1.25rem; }
.cs-crumbs a { color: var(--sky); text-decoration: none; }
.cs-crumbs a:hover { text-decoration: underline; }
.cs-hero h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); max-width: 14ch; }
.cs-lede { max-width: 46rem; }
.cs-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 2rem; margin: 2rem 0 0; padding: 1.25rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cs-meta dt { font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
.cs-meta dd { margin: .25rem 0 0; color: var(--text-muted); font-size: .98rem; }
.cs-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 2rem 0 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cs-stats > div { padding: 1.2rem 1.1rem; border-right: 1px solid var(--line); background: rgba(31, 54, 73, .7); }
.cs-stats > div:last-child { border-right: 0; }
.cs-stats dt { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1; color: var(--white); }
.cs-stats dd { margin: .5rem 0 .25rem; font-size: .95rem; line-height: 1.35; }
.cs-stats span { font-size: .8rem; color: var(--sky); letter-spacing: .04em; }

.cs-body { max-width: 860px; }
.cs-body > p { color: var(--text-muted); font-size: 1.08rem; }
.cs-body > p strong, .cs-list strong { color: var(--white); }
.cs-list { padding-left: 1.2rem; color: var(--text-muted); }
.cs-list li { margin: .5rem 0; }
.cs-list li::marker { color: var(--sky); }

.cs-chart { margin: 2rem 0; padding: clamp(1.1rem, 3vw, 1.75rem); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(20, 38, 52, .85); }
.cs-chart figcaption { margin-bottom: 1.5rem; }
.cs-chart__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.65rem); line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; }
.cs-chart__sub { display: block; margin-top: .35rem; color: var(--text-muted); font-size: .95rem; }
.cs-source { margin: 1.25rem 0 0; font-size: .8rem; color: var(--gray); }

/* vertical columns (readers) */
.cs-cols { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); align-items: end; }
.cs-col { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; text-align: center; }
.cs-col b { font-family: var(--font-display); font-weight: 600; font-size: clamp(.8rem, 1.8vw, 1.1rem); margin-bottom: .3rem; }
.cs-col i { display: block; margin: 0 clamp(.15rem, .8vw, .5rem); height: calc(var(--v) / var(--max) * 220px); background: var(--gray); opacity: .55; border-radius: 2px 2px 0 0; }
.cs-col.is-hi i { background: var(--sky); opacity: 1; }
.cs-col span { border-top: 1px solid rgba(255, 255, 255, .25); padding-top: .45rem; font-size: clamp(.68rem, 1.6vw, .85rem); color: var(--text-muted); white-space: nowrap; }

/* monthly clicks */
.cs-clicks__plot { position: relative; display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); grid-template-rows: 100%; column-gap: clamp(3px, .9vw, 10px); align-items: end; height: 250px; margin-top: 2.2rem; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.cs-clicks__plot > i { display: block; position: relative; height: calc(var(--v) / 140 * 100%); background: var(--sky); border-radius: 2px 2px 0 0; }
.cs-clicks__plot > i.is-after { background: var(--gray); opacity: .6; }
.cs-clicks__plot > i b { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding-bottom: .2rem; font-style: normal; font-family: var(--font-display); font-weight: 600; font-size: clamp(.62rem, 1.5vw, .95rem); color: var(--white); }
.cs-clicks__plot > i.is-after b { color: var(--text-muted); }
.cs-update { position: absolute; top: -1.6rem; bottom: 0; left: calc(9 / 16 * 100% - 1px); border-left: 2px dashed rgba(255, 255, 255, .55); }
.cs-update em { position: absolute; top: 0; left: .5rem; font-style: normal; font-size: clamp(.68rem, 1.5vw, .82rem); line-height: 1.25; color: var(--text-muted); width: min(15rem, 38vw); }
.cs-clicks__x { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); column-gap: clamp(3px, .9vw, 10px); padding-top: .4rem; text-align: center; font-size: clamp(.58rem, 1.4vw, .8rem); line-height: 1.25; color: var(--text-muted); }

/* horizontal bars (top 10) */
.cs-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.cs-bars li { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: .9rem; align-items: center; }
.cs-bars span { text-align: right; font-size: .95rem; }
.cs-bars i { display: block; position: relative; height: 1.6rem; width: calc(var(--v) / var(--max) * (100% - 3.5rem)); background: var(--blue); border-radius: 0 2px 2px 0; }
.cs-bars li.is-top i { background: var(--sky); }
.cs-bars b { position: absolute; left: 100%; top: 50%; transform: translateY(-50%); padding-left: .5rem; font-style: normal; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }

.cs-table-wrap { overflow-x: auto; margin: 1.25rem 0 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); }
.cs-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.cs-table th { text-align: left; font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); background: rgba(31, 54, 73, .9); padding: .8rem 1rem; }
.cs-table td { padding: .7rem 1rem; border-top: 1px solid var(--line); }
.cs-table td:first-child { font-weight: 600; }
.cs-table th:not(:first-child), .cs-table td:not(:first-child) { text-align: right; white-space: nowrap; }

.cs-lessons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.75rem 0 0; }
.cs-lessons > div { padding: 1.25rem; border: 1px solid var(--line); border-top: 3px solid var(--sky); border-radius: var(--radius); background: rgba(31, 54, 73, .7); }
.cs-lessons h3 { font-size: 1.25rem; line-height: 1.1; }
.cs-lessons p { margin: 0; color: var(--text-muted); font-size: .98rem; }
.cs-cta { margin-top: 2.5rem; }
.cs-cta__btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.cs-method > p, .cs-method .cs-list { font-size: .98rem; }

/* case study callout on the portfolio page and homepage */
.cs-feature { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; margin: 0 0 2.5rem; padding: 1.4rem 1.6rem; border: 1px solid rgba(64, 181, 228, .5); border-left: 4px solid var(--sky); border-radius: var(--radius); background: rgba(31, 54, 73, .85); text-decoration: none; color: inherit; }
.cs-feature:hover { border-color: var(--sky); }
.cs-feature__eyebrow { font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sky); }
.cs-feature__title { display: block; margin: .3rem 0 .35rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.8vw, 1.9rem); line-height: 1.05; text-transform: uppercase; }
.cs-feature__text { color: var(--text-muted); font-size: .98rem; }
.cs-feature .btn { white-space: nowrap; }

@media (max-width: 900px) {
  .cs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-stats > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .cs-stats > div:nth-child(2n) { border-right: 0; }
  .cs-stats > div:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .cs-lessons { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .cs-meta { grid-template-columns: 1fr; }
  .cs-bars li { grid-template-columns: 1fr; gap: .25rem; }
  .cs-bars span { text-align: left; font-size: .9rem; }
  .cs-clicks__x span:nth-child(even) { visibility: hidden; }
  .cs-clicks__plot { margin-top: 3rem; }
  .cs-update em { width: 40vw; }
  .cs-feature { grid-template-columns: 1fr; }
}

/* Evergreen blog case study */
.cs-hero__btns { margin-top: 1.75rem; }
.cs-stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cs-stats--4 dd { margin-bottom: 0; }
.cs-meta--stack { grid-template-columns: 1fr; gap: 1rem; }
.cs-meta--stack > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; align-items: baseline; }
.cs-meta--stack dd { margin: 0; }
.cs-table-title { margin: 2rem 0 0; font-size: 1.2rem; }
.cs-table--text th, .cs-table--text td, .cs-table--dates th, .cs-table--dates td { text-align: left !important; white-space: normal !important; vertical-align: top; }
.cs-table--text tbody th { font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--white); background: none; border-top: 1px solid var(--line); padding: .7rem 1rem; }
.cs-table--text td { color: var(--text-muted); }
.cs-table--text td:first-child { font-weight: 400; }
.cs-table--dates td:first-child { white-space: nowrap !important; font-weight: 400; color: var(--sky); width: 7rem; }
.cs-table--dates td:last-child { font-weight: 600; }

.eg-legend { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: -.5rem 0 1.25rem; padding: 0; font-size: .9rem; color: var(--text-muted); }
.eg-legend li { display: inline-flex; align-items: center; gap: .45rem; }
.eg-legend i { width: .85rem; height: .85rem; border-radius: 2px; }
.eg-svg { display: block; width: 100%; height: auto; }
.eg-svg__label { fill: rgba(255, 255, 255, .88); font-family: var(--font-body); font-size: 15px; }
.eg-svg__value { fill: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.eg-svg--narrow { display: none; }
.eg-svg--narrow .eg-svg__label { font-size: 13px; }
.eg-svg--narrow .eg-svg__value { font-size: 14px; }

.eg-takeaway { padding: clamp(1.4rem, 4vw, 2.25rem); border-radius: var(--radius); border-left: 5px solid var(--sky); background: #F2F5F8; color: var(--navy); }
.eg-takeaway h2 { color: var(--navy); font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.eg-takeaway__lead { font-size: 1.15rem; font-weight: 600; color: #364149; }
.eg-takeaway ul { margin: 1rem 0 0; padding-left: 1.2rem; color: #364149; }
.eg-takeaway li { margin: .6rem 0; }
.eg-takeaway li::marker { color: var(--blue); }
.eg-takeaway strong { color: var(--navy); }
.eg-band .text-link { white-space: nowrap; color: var(--white); border-bottom-color: rgba(255, 255, 255, .7); }
.eg-band .cs-cta__btns { margin-top: 1.25rem; }

.cs-features { display: grid; gap: 1rem; margin: 0 0 2.5rem; }
.cs-features .cs-feature { margin: 0; }

@media (max-width: 900px) {
  .cs-stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-stats--4 > div:last-child { grid-column: auto; }
  .cs-stats--4 > div:nth-child(3) { border-bottom: 0; }
}
@media (max-width: 680px) {
  .eg-svg--wide { display: none; }
  .eg-svg--narrow { display: block; }
  .cs-meta--stack > div { grid-template-columns: 1fr; gap: .2rem; }
  .cs-table th, .cs-table td { padding-left: .7rem; padding-right: .7rem; }
  .cs-table thead th { white-space: normal !important; }
  .cs-table--text thead { display: none; }
  .cs-table--text tr, .cs-table--text tbody th, .cs-table--text td { display: block; }
  .cs-table--text tr { padding: .4rem 0; border-top: 1px solid var(--line); }
  .cs-table--text tr:first-child { border-top: 0; }
  .cs-table--text tbody th, .cs-table--text td { border-top: 0; padding: .25rem 1rem; }
  .cs-table--text tbody th { color: var(--sky); font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; }
}

/* Dirt Legal case study */
.dl-hero h1 { max-width: 18ch; }
.dl-note { display: inline-block; margin: 0 0 .5rem; padding: .3rem .75rem; border: 1px solid rgba(64, 181, 228, .5); border-radius: 999px; font-size: .9rem; color: var(--sky); }
.dl-strip { background: var(--navy-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2rem 0; position: relative; }
.dl-strip dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin: 0; }
.dl-strip dl > div { border-left: 3px solid var(--sky); padding: .25rem 0 .25rem 1rem; }
.dl-strip dt { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; }
.dl-strip dd { margin: .45rem 0 0; font-size: .95rem; line-height: 1.4; color: var(--text-muted); }
.cs-intro { font-size: 1.2rem !important; color: var(--white) !important; }
.dl-steps { margin: 1.5rem 0 0; padding-left: 1.4rem; }
.dl-steps > li { margin: 0 0 1.1rem; padding-left: .3rem; }
.dl-steps > li::marker { font-family: var(--font-display); font-weight: 700; color: var(--sky); }
.dl-steps p { margin: 0; color: var(--text-muted); font-size: 1.05rem; }
.dl-steps strong { color: var(--white); }
.dl-steps .cs-table-wrap { margin: 1rem 0 .5rem; }
.dl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dl-table { min-width: 30rem; }
.dl-table thead th { background: var(--navy); color: var(--white); }
.dl-table th, .dl-table td { text-align: left; white-space: normal; }
.dl-table th.num, .dl-table td.num { text-align: right; white-space: nowrap; }
.dl-table td:first-child { font-weight: 400; }
.dl-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .035); }
.dl-table tbody tr.is-me { background: rgba(64, 181, 228, .16); box-shadow: inset 0 -2px 0 var(--sky); }
.dl-table--text td:first-child { font-weight: 600; }
.dl-quote { margin: 2rem 0 0; padding: 1.5rem 1.75rem; background: var(--cobalt); border-left: 6px solid var(--sky); border-radius: 0 var(--radius) var(--radius) 0; }
.dl-quote p { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.2; color: var(--white); }
.dl-download { margin-top: 2rem; }
.dl-author { padding: clamp(1.25rem, 3vw, 1.75rem); background: var(--navy); border: 1px solid var(--line); border-radius: var(--radius); }
.dl-author h2 { font-size: 1.5rem; }
.dl-author p { color: var(--text-muted); }
.dl-author p:last-child { margin-bottom: 0; }
.dl-author strong { color: var(--white); }
.dl-method { margin: 1.5rem 0 0; font-size: .85rem !important; color: var(--gray) !important; line-height: 1.55; }

/* case study cards: grid of three */
.cs-features { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.25rem; }
.cs-features .cs-feature { grid-template-columns: 1fr; align-content: space-between; align-items: start; gap: 1.25rem; }
.cs-features .cs-feature__title { font-size: clamp(1.35rem, 2.2vw, 1.6rem); }
.cs-features .cs-feature .btn { justify-self: start; }
.cs-feature__stat { display: block; margin: .9rem 0 0; font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--sky); }
.cs-feature__stat small { display: block; margin-top: .3rem; font-family: var(--font-body); font-weight: 400; font-size: .85rem; line-height: 1.35; color: var(--text-muted); }

@media (max-width: 900px) {
  .dl-strip dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* packages without prices */
.price__scope { margin: .25rem 0 1.25rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
