/* Jenkins Consulting — site styles
   Palette and type carried over from the WordPress site. */

:root {
  --stone: #d5d2ce;
  --stone-light: #e4e1dd;
  --ink: #201e1f;
  --olive: #707363;
  --olive-light: #a1a390;
  --cream: #fdf9f5;
  --line: rgba(32, 30, 31, 0.16);
  --serif: "Cardo", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1120px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: 0.02em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); letter-spacing: 0.06em; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: 0.07em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

section { padding: clamp(56px, 8vw, 96px) 0; }
.section-title { text-align: center; margin-bottom: clamp(32px, 5vw, 56px); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--cream); padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }
.dark :focus-visible, .olive :focus-visible { outline-color: var(--cream); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  font: 500 0.9rem/1.2 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 22px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: #3a3738; }
.btn:active { transform: translateY(1px); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn[disabled] { opacity: 0.6; cursor: default; }

.text-link {
  font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.9rem;
  text-underline-offset: 4px;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(32, 30, 31, 0.97);
  backdrop-filter: blur(8px);
  color: var(--cream);
}
/* The logo file is black; this shows it in white on the dark bar. */
.brand img { filter: invert(1); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 72px;
}
.brand img { width: 190px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  text-decoration: none; font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--cream); }
.nav .btn { padding: 11px 18px; background: var(--cream); color: var(--ink); }
.nav .btn:hover { background: #fff; }
.site-header :focus-visible { outline-color: var(--cream); }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(253, 249, 245, 0.35); border-radius: var(--radius);
  width: 44px; height: 44px; padding: 0; cursor: pointer; color: var(--cream);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 8px 24px 20px;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(253, 249, 245, 0.15); }
  .nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: rgba(253, 249, 245, 0.5); }
  .nav .btn { margin-top: 16px; text-align: center; }
  .brand img { width: 160px; }
}

/* Hero */
.hero { text-align: center; padding-bottom: clamp(48px, 7vw, 80px); background: linear-gradient(180deg, #fdf9f5 0%, #e6e3df 100%); }
.hero p { max-width: 640px; margin: 20px auto 28px; font-size: 1.15rem; }

.hero p.praise { font-size: 0.92rem; margin: 22px auto 0; color: #4a4748; max-width: 760px; }
.praise strong { font-weight: 600; color: var(--ink); }
.more { display: inline-block; margin-top: 12px; font-size: 0.9rem; font-weight: 600; text-underline-offset: 4px; }

/* Services */
.services { padding-top: clamp(44px, 6vw, 72px); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.service { text-align: center; }
.service img { width: 170px; margin: 0 auto 20px; }
.service h3 { margin-bottom: 14px; }
.service p { text-align: left; }
.service .proof { font-size: 0.9rem; color: #4a4748; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 14px; }
/* Phones: each service is a compact row with a small icon beside the heading. */
@media (max-width: 760px) {
  .cards-3 { grid-template-columns: 1fr; gap: 14px; }
  .service {
    display: grid; grid-template-columns: 60px 1fr; column-gap: 14px; align-items: center;
    text-align: left; background: var(--cream); border-radius: 14px; padding: 18px;
  }
  .service img { width: 60px; margin: 0; }
  .service h3 { margin: 0; font-size: 1.15rem; }
  .service h3 br { display: none; }
  .service p, .service .more { grid-column: 1 / -1; }
  .service p { margin: 12px 0 0; font-size: 0.95rem; }
  .service .proof { margin-top: 12px; }
}

/* Colour bands */
.olive { background: var(--olive); color: var(--cream); }
.dark { background: var(--ink); color: var(--cream); }
.gradient { background: linear-gradient(135deg, var(--olive) 2%, var(--olive-light) 100%); color: var(--cream); }

/* About */
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-grid img { border-radius: 50%; width: 300px; aspect-ratio: 1; object-fit: cover; }
.about-grid h2 { margin-bottom: 20px; }
.about-grid .text-link { display: inline-block; margin-top: 8px; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid img { width: 220px; margin: 0 auto; }
  .about-grid h2 { text-align: center; }
}

/* Endeavors */
.endeavor { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.endeavor h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 16px; }
.endeavor .role { font-style: italic; font-weight: 600; }
.endeavor img { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(32, 30, 31, 0.18); }
.endeavor a.shot { display: block; }
@media (max-width: 860px) { .endeavor { grid-template-columns: 1fr; } }

/* Testimonials */
/* Wide screens: full quotes on cards in one row, moved along with the arrow buttons. */
.tq-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.tq-track::-webkit-scrollbar { display: none; }
.quote {
  flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; margin: 0;
  display: grid; grid-template-columns: 52px 1fr; grid-template-rows: 1fr auto; column-gap: 12px; row-gap: 20px; align-items: center;
  background: rgba(253, 249, 245, 0.07); border: 1px solid rgba(253, 249, 245, 0.12); border-radius: 14px; padding: 24px;
}
.quote blockquote { grid-column: 1 / -1; grid-row: 1; align-self: start; margin: 0; font-size: 0.96rem; line-height: 1.6; }
.quote img { grid-row: 2; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote figcaption { grid-row: 2; text-align: left; font-size: 0.85rem; line-height: 1.35; opacity: 0.9; }
.quote figcaption strong { display: block; font-size: 0.98rem; font-weight: 600; }
.tq-nav { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 22px; }
.tq-nav[hidden] { display: none; }
.tq-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(253, 249, 245, 0.4); background: none; color: var(--cream); font-size: 1.1rem; cursor: pointer; }
.tq-nav button:hover { background: rgba(253, 249, 245, 0.12); }
.tq-dots { display: none; gap: 7px; }
.tq-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(253, 249, 245, 0.3); }
.tq-dots i.on { background: var(--cream); }
@media (max-width: 960px) { .quote { flex-basis: calc((100% - 20px) / 2); } }

/* Phones: one quote at a time in larger type, one photo, arrows and dots to step through. */
@media (max-width: 700px) {
  .tq-track { display: block; overflow: visible; padding: 0; }
  .quote {
    grid-template-columns: 52px auto; justify-content: center; row-gap: 22px;
    background: none; border: 0; border-radius: 0; padding: 0; margin-bottom: 40px;
  }
  .quote blockquote { font-family: var(--serif); font-size: 1.08rem; line-height: 1.55; text-align: center; }
  .tq.js .quote { display: none; margin-bottom: 0; }
  .tq.js .quote.on { display: grid; }
  .tq.js .quote blockquote { min-height: 15.5em; display: flex; align-items: center; }
  .tq-dots { display: flex; }
}

/* Automate */
.automate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.automate-grid img { border-radius: 18px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.automate-grid .btn { margin-top: 12px; }
@media (max-width: 860px) { .automate-grid { grid-template-columns: 1fr; } }

/* Pricing cards */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  background: var(--olive); color: var(--cream);
  border-radius: 28px; padding: 28px 24px;
  display: flex; flex-direction: column; text-align: center; position: relative;
}
.plan h3 { font-family: var(--sans); font-size: 1.5rem; letter-spacing: 0.04em; margin-bottom: 20px; }
.plan .icon { background: var(--stone); border-radius: 22px; padding: 14px; margin-bottom: 20px; }
.plan .icon img { width: 150px; margin: 0 auto; }
.plan .blurb { background: var(--stone); color: var(--ink); border-radius: 22px; padding: 22px 18px; flex: 1; font-size: 0.98rem; display: flex; align-items: center; }
.plan .price { background: var(--ink); border-radius: 22px; padding: 18px; margin-top: 20px; font-size: 0.95rem; }
.plan .price strong { display: block; font-size: 1.6rem; font-weight: 500; }
.plan .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--cream); color: var(--ink); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.plans-cta { text-align: center; margin-top: 36px; }
.page-head { text-align: center; margin-bottom: 56px; }
.page-head p { margin-top: 16px; font-size: 1.15rem; }

@media (max-width: 860px) {
  .page-head { margin-bottom: 28px; }
  .page-head h1 { font-size: 1.55rem; }
  .page-head p { font-size: 1rem; margin-top: 10px; }
  .plans-cta { margin-top: 24px; }
}

/* Compare table */
.table-scroll { overflow-x: auto; border-radius: 14px; background: var(--cream); margin-top: 48px; }
table.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.98rem; }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; background: var(--stone-light); }
.compare tbody th { font-weight: 500; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .no { color: rgba(32, 30, 31, 0.4); }
.compare .yes { color: var(--olive); font-weight: 700; }

/* About page: portrait and bio, the vision/purpose/mission path, the decade chart, boards, badges */
.eyebrow { font: 600 0.78rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive); margin: 0 0 10px; }
.a-top { background: linear-gradient(180deg, #fdf9f5 0%, #e6e3df 100%); padding: clamp(40px, 6vw, 72px) 0; }
.a-top .wrap { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 1000px; }
.a-top img { border-radius: 18px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 14px 36px rgba(32, 30, 31, 0.18); }
.a-top h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }

.drive { background: var(--stone-light); }
.path { max-width: 780px; margin: 0 auto; position: relative; }
.path::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--olive-light); }
.path-step { position: relative; padding: 0 0 36px 68px; }
.path-step:last-child { padding-bottom: 0; }
.path-step > b { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--olive); color: var(--cream); display: grid; place-items: center; font: 400 1.2rem var(--serif); }
.path-step h3 { font: 600 0.9rem var(--sans); letter-spacing: 0.12em; color: var(--olive); margin-bottom: 6px; }
.path-step p.big { font-family: var(--serif); font-size: clamp(1.25rem, 2.6vw, 1.75rem); line-height: 1.3; margin: 0; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.path-grid div { background: var(--cream); border-radius: 12px; padding: 16px 18px; font-size: 0.92rem; line-height: 1.5; }
.path-grid strong { display: block; font: 400 1.1rem var(--serif); margin-bottom: 4px; }

.decade { max-width: 900px; margin: 0 auto; }
.decade-row { display: grid; grid-template-columns: 270px 1fr; gap: 20px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.decade-row:first-child { border-top: 0; }
.decade-label { font-weight: 600; line-height: 1.3; }
.decade-label small { display: block; font-weight: 400; font-size: 0.85rem; color: #4a4748; }
.yrs { display: flex; flex-wrap: wrap; gap: 8px; }
.yr { width: 44px; height: 44px; border-radius: 50%; background: var(--olive); color: var(--cream); display: inline-grid; place-items: center; font: 600 0.8rem var(--sans); }
.yr.star { background: var(--ink); box-shadow: 0 0 0 3px var(--stone), 0 0 0 5px var(--ink); }
.yr.em { background: none; color: var(--ink); border: 2px solid var(--ink); }
.yr.none { visibility: hidden; }
.decade-key { font-size: 0.88rem; margin: 18px 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.decade-key .yr { width: 26px; height: 26px; font-size: 0.7rem; box-shadow: none; }
.decade-key .yr.em { margin-left: 14px; }
.decade-note { font-size: 0.88rem; color: #4a4748; margin-top: 10px; }
.boards { max-width: 900px; margin: clamp(32px, 5vw, 52px) auto 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--cream); border-radius: 999px; padding: 7px 14px; font-size: 0.88rem; }
.chips li.now { background: var(--ink); color: var(--cream); }

.badge-band { background: var(--cream); }
.badge-group { max-width: 980px; margin: 0 auto clamp(32px, 5vw, 52px); }
.badge-group:last-child { margin-bottom: 0; }
.badge-group h3 { font: 600 0.82rem var(--sans); letter-spacing: 0.12em; color: var(--olive); text-align: center; margin-bottom: 18px; }
.badge-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 24px; }
.badge-row img { height: 104px; width: auto; }
.badge-row img.wide { height: 62px; }
.badge-band .decade-note { text-align: center; margin-top: 16px; }
.badge-band .chips li { background: var(--stone-light); }
.u40 { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 40px); }
.u40 img { height: 120px; width: auto; }
.u40 p { margin: 0 0 12px; max-width: 46ch; }
/* Top 100 ribbons: a blue year block with an angled edge beside a grey label, one per year. */
.t100-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.t100 { display: inline-flex; align-items: stretch; height: 46px; border-radius: 999px; overflow: hidden; background: #dcdcdc; font-family: var(--sans); line-height: 1; }
.t100 b { background: #1b5ea8; color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 26px 0 20px; font-weight: 500; font-size: 1.15rem; clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); }
.t100 b small { font-size: 0.5rem; font-weight: 400; letter-spacing: 0.02em; margin-top: 3px; white-space: nowrap; }
.t100 i { font-style: normal; color: #5b5b5b; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 20px 0 4px; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; }
.t100 i small { font-size: 0.68rem; font-weight: 400; letter-spacing: 0; margin-top: 3px; }
.t100.poy { background: #201e1f; box-shadow: 0 0 0 2px #1b5ea8; }
.t100.poy i { color: #fdf9f5; }
.t100.emeritus b { background: #707363; }

@media (max-width: 860px) {
  .a-top .wrap { grid-template-columns: 1fr; }
  .a-top img { max-width: 260px; margin: 0 auto; }
  .a-top h1, .a-top .eyebrow { text-align: center; }
  .path-grid { grid-template-columns: 1fr; }
  /* Phones: each award is its own block, label above a row of year circles. Nothing scrolls sideways. */
  .decade-row { grid-template-columns: 1fr; gap: 10px; }
  .yrs { gap: 4px; }
  .yr { width: 25px; height: 25px; font-size: 0.6rem; }
  .yr.star { box-shadow: 0 0 0 2px var(--stone), 0 0 0 3px var(--ink); }
  .yr.em { border-width: 1.5px; }
  .badge-row img { height: 76px; }
  .badge-row img.wide { height: 46px; }
  .u40 { flex-direction: column; text-align: center; }
  .u40 .chips { justify-content: center; }
  .u40 img { height: 96px; }
  .t100 { height: 40px; }
  .t100 b { font-size: 1rem; padding: 0 22px 0 16px; }
}

/* About page (earlier version; the media lists below still use .media) */
.about-top { padding-bottom: clamp(40px, 6vw, 72px); }
.cred-line { font-size: 1rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.cred-line span { color: var(--olive); padding: 0 4px; }
.bio { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; max-width: 920px; margin: 0 auto; }
.bio img { border-radius: 50%; width: 260px; aspect-ratio: 1; object-fit: cover; }
.inline-links { display: flex; gap: 20px; list-style: none; padding: 0; margin: 18px 0 0; font-weight: 600; font-size: 0.92rem; }
.inline-links a { text-underline-offset: 4px; }
.mission { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 6vw, 72px); }
.mission h2 { font-size: 1.25rem; margin: 0 0 8px; }
.mission div > h2 + p + h2 { margin-top: 28px; }
.mission ul { margin: 10px 0 0; padding-left: 20px; }
.mission li { margin-bottom: 10px; }
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
.creds h3 { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; color: var(--olive); margin: 0 0 10px; }
.creds ul + h3 { margin-top: 28px; }
.creds ul { list-style: none; margin: 0; padding: 0; font-size: 0.96rem; }
.creds li { padding: 9px 0; border-top: 1px solid var(--line); line-height: 1.4; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(36px, 5vw, 60px); }
.photo-pair figure { margin: 0; }
.photo-pair img { border-radius: 14px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.media details { border-bottom: 1px solid rgba(253, 249, 245, 0.2); }
.media details:first-child { border-top: 1px solid rgba(253, 249, 245, 0.2); }
.media summary { cursor: pointer; list-style: none; padding: 18px 34px 18px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.media summary::-webkit-details-marker { display: none; }
.media summary span { font-weight: 400; font-size: 0.85rem; opacity: 0.65; margin-left: 8px; }
.media summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 1.5rem; font-weight: 400; color: var(--olive-light); }
.media details[open] summary::after { content: "–"; }
.media ul { list-style: none; margin: 0 0 20px; padding: 0; font-size: 0.95rem; }
.media li { padding: 9px 0; border-top: 1px solid rgba(253, 249, 245, 0.1); line-height: 1.45; }
.media a { text-underline-offset: 3px; text-decoration-color: rgba(253, 249, 245, 0.4); }
.media a:hover { text-decoration-color: currentColor; }
.media em { font-style: normal; font-size: 0.85rem; opacity: 0.65; white-space: nowrap; margin-left: 6px; }
@media (max-width: 860px) {
  .bio { grid-template-columns: 1fr; }
  .bio img { width: 200px; margin: 0 auto; }
  .inline-links { justify-content: center; }
  .mission, .creds { grid-template-columns: 1fr; }
  .creds div + div { margin-top: 8px; }
  .photo-pair { grid-template-columns: 1fr; }
  .media em { white-space: normal; display: block; margin: 2px 0 0; }
}

/* "Ask about this package" links, the terms line, and the common questions. */
.plan-ask { display: block; margin-top: 14px; color: var(--cream); font-size: 0.9rem; font-weight: 600; text-underline-offset: 4px; }
.pm-ask { display: block; text-align: center; margin: 16px 0 10px; }
.terms { text-align: center; font-size: 0.98rem; margin: 28px auto 0; max-width: 60ch; }
.faq { max-width: 760px; margin: clamp(40px, 6vw, 64px) auto 0; }
.faq h2 { text-align: center; font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: 18px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; font-weight: 400; color: var(--olive); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; max-width: 64ch; }

/* The small "i" button beside a feature name, and the explanation it opens. */
.info {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; margin-left: 6px; padding: 0; vertical-align: middle; position: relative; top: -1px;
  border: 1px solid var(--olive); border-radius: 50%; background: none; color: var(--olive);
  font: italic 700 0.66rem/1 Georgia, "Times New Roman", serif; cursor: pointer;
}
/* Keeps the small button easy to tap on a phone without making it look bigger. */
.info::after { content: ""; position: absolute; inset: -10px; }
.info:hover, .info[aria-expanded="true"] { background: var(--olive); color: var(--cream); }
.def { font-size: 0.88rem; font-weight: 400; line-height: 1.5; color: #4a4748; margin: 8px 0 2px; max-width: 52ch; text-align: left; }
.def[hidden] { display: none; }

/* Pricing page on phones: one package at a time, chosen with three buttons.
   Replaces the package cards and the comparison table at this size. */
.pm { display: none; }
@media (max-width: 860px) {
  .pm { display: block; }
  .pm ~ .plans, .pm ~ .table-scroll { display: none; }
  .pm ~ .plans-cta .btn { display: block; }

  .pm-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--stone-light); border-radius: 10px; padding: 4px; margin-bottom: 14px; }
  /* Before the script runs, keep the buttons' space reserved so the page does not jump. */
  .pm-tabs[hidden] { display: grid; visibility: hidden; }
  .pm-tabs button { font: 600 0.88rem var(--sans); color: var(--ink); background: none; border: 0; border-radius: 7px; padding: 12px 4px; cursor: pointer; }
  .pm-tabs button[aria-selected="true"] { background: var(--ink); color: var(--cream); }

  .pm-panel { background: var(--cream); border-radius: 14px; padding: 22px 20px 12px; margin-bottom: 14px; }
  .pm.tabs-on .pm-panel { margin-bottom: 0; }
  .pm.tabs-on .pm-panel[hidden] { display: none; }
  .pm.tabs-on .pm-name { display: none; }
  .pm-name { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 10px; }
  .pm-from { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive); }
  .pm-pill { display: inline-block; background: var(--olive); color: var(--cream); font-size: 0.62rem; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 999px; margin-left: 6px; }
  .pm-price { font-family: var(--serif); font-size: 1.9rem; line-height: 1.15; }
  .pm-price small { font-family: var(--sans); font-size: 0.85rem; color: #4a4748; }
  .pm-blurb { font-size: 0.93rem; line-height: 1.5; margin: 10px 0 14px; }
  .pm-more { display: inline-block; margin: 0 0 10px; font-size: 0.88rem; font-weight: 600; text-underline-offset: 4px; }
  .pm ~ .plans-cta { margin-top: 16px; }
  .pm-list { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
  .pm-list li { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 14px; padding: 9px 0; border-top: 1px solid var(--line); line-height: 1.35; }
  .pm-list li > span:first-child { flex: 1 1 0; min-width: 0; }
  .pm-list li > span:last-of-type { text-align: right; font-weight: 600; white-space: nowrap; }
  .pm-list li.off { color: rgba(32, 30, 31, 0.5); }
  .pm-list li.off > span:last-of-type { font-weight: 400; }
  .pm-list .def { flex-basis: 100%; max-width: none; margin: 8px 0 4px; }
}

/* Contact */
.contact p.lead { text-align: center; margin-bottom: 28px; }
form.contact-form { max-width: 520px; margin: 0 auto; display: grid; gap: 18px; }
.contact-form label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.contact-form label small { font-weight: 400; opacity: 0.85; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid transparent; border-radius: var(--radius); padding: 14px;
}
.contact-form textarea { min-height: 170px; resize: vertical; }
.contact-form .hp { position: absolute; left: -9999px; }
.contact-form .btn { justify-self: center; }
.form-note { text-align: center; min-height: 1.6em; font-weight: 500; }
.form-note a { text-underline-offset: 3px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--cream); padding: 56px 0 26px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); }
.footer-logo { width: 190px; filter: invert(1); margin-bottom: 14px; }
.footer-grid p { max-width: 30ch; opacity: 0.8; }
.site-footer h2 { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; color: var(--olive-light); margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .email { display: block; font-weight: 600; margin-bottom: 16px; }
.site-footer .social { display: flex; gap: 18px; margin-top: 18px; }
.footer-base { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(253, 249, 245, 0.15); font-size: 0.82rem; opacity: 0.7; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
