/* ==========================================================================
   Stryke Tuning, LLC
   Strictly black & white — matching the business cards, truck and anvil logo.
   Type: Playfair Display (display) + Inter (text)
   ========================================================================== */

:root {
  --ink: #000000;
  --paper: #ffffff;
  --g900: #111111;
  --g700: #3d3d3d;
  --g500: #6e6e6e;
  --g300: #d4d4d4;
  --g150: #e8e8e8;
  --g100: #f2f2f2;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --max: 1120px;
  --header-h: 104px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

/* Photos render in full color; the layout around them stays black & white.
   Add class="bw" to any single image that should be desaturated. */
img { max-width: 100%; height: auto; display: block; }
img.bw { filter: grayscale(100%); }

a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}
h1, h2, h3, h4 { text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: 0.4em; }
strong { font-weight: 600; }

.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--g500);
  margin-bottom: 1rem;
}
.lede { font-size: 1.18rem; color: var(--g700); text-wrap: pretty; }

.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.center .narrow, .narrow.center { margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* --- Rule under the header --------------------------------------------- */
/* thin rule closing off the header */
.header-rule { height: 3px; background: var(--paper); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase;
  border: 2px solid var(--ink); background: var(--ink); color: var(--paper);
  text-decoration: none !important; cursor: pointer; white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-invert { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-invert:hover { background: transparent; color: var(--paper); }
.btn-outline-light { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn-outline-light:hover { background: var(--paper); color: var(--ink); }
.btn-lg { padding: 1.05rem 2.2rem; font-size: 0.95rem; }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.78rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.btn-row.center { justify-content: center; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--paper); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 0.8rem; color: var(--paper); text-decoration: none !important; }
.brand img { height: 66px; width: auto; flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 4px; line-height: 1; text-align: center; }
.brand-tag { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper); }

.nav { display: flex; align-items: center; gap: 0.4rem; }
.nav .btn { margin-left: 0.7rem; }
.nav a:not(.btn) {
  color: var(--paper); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.6rem 0.8rem; text-decoration: none !important; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { border-bottom-color: var(--paper); }
.nav a:not(.btn)[aria-current="page"] { border-bottom-color: var(--paper); }
.nav .btn:hover { border-bottom-color: var(--paper); }

.nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; color: var(--paper); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 920px) {
  :root { --header-h: 76px; }
  .hero-content { max-width: none; margin-left: 0; }
  .hero-bg::after {
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.45) 100%);
  }
  .nav-toggle { display: inline-flex; }
  .brand img { height: 52px; }
  /* nav is collapsed, so the tagline can sit dead-centre on the page */
  .brand-text { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 0.5rem 1.25rem 1.5rem;
    border-top: 1px solid var(--g700);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 0.9rem 0.25rem; font-size: 0.95rem; border-bottom: 1px solid var(--g700); }
  .nav .btn { margin: 1.1rem 0 0; }
}

@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .brand { gap: 0.6rem; }
  .brand img { height: 46px; }
  .brand-tag { font-size: 0.68rem; letter-spacing: 0.13em; }
}
@media (max-width: 360px) {
  /* the tagline is centred on the page here, so shrink both sides
     to keep it clear of the logo on very narrow screens */
  .brand img { height: 40px; }
  .brand-tag { font-size: 0.58rem; letter-spacing: 0.06em; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.bg-paper { background: var(--g100); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--paper); }
.bg-ink a:not(.btn) { color: var(--paper); }
.bg-ink .eyebrow { color: var(--g300); }
.bg-ink .lede { color: var(--g300); }

.section-head { max-width: 680px; margin-bottom: 2.75rem; }
.section-head.center { margin-inline: auto; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.photo { overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-wide img { aspect-ratio: 4 / 3; }
.photo-tall img { aspect-ratio: 4 / 5; }

/* --------------------------------------------------------------------------
   Hero — photo is its own panel, aligned to the page container like every
   other image on the site (never full-bleed, never a darkened background)
   -------------------------------------------------------------------------- */
.hero { background: var(--ink); color: var(--paper); }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-block: clamp(2.75rem, 5.5vw, 4.5rem);
}
.hero h1 { margin-bottom: 1rem; }
.hero .lede { color: var(--g300); font-size: 1.12rem; margin-bottom: 1.9rem; }
.hero .eyebrow { color: var(--g300); }
.hero-photo img { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
    padding-block: 1.3rem 2rem;
  }
  /* full container width so it lines up with the text, but a shallower crop
     so it takes less vertical space */
  .hero-photo { order: 1; }
  .hero-photo img { aspect-ratio: 2 / 1; object-fit: cover; object-position: 38% 54%; }
  .hero-text { order: 2; text-align: center; }
  .hero-text .btn-row { justify-content: center; }
  .hero h1 { font-size: 2.3rem; margin-bottom: 0.7rem; }
  .hero .lede { font-size: 1rem; margin-bottom: 1.35rem; }
  .hero .eyebrow { margin-bottom: 0.7rem; }
}

.page-hero { background: var(--ink); color: var(--paper); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.page-hero h1 { margin-bottom: 0.7rem; }
.page-hero .lede { color: var(--g300); max-width: 700px; }
.page-hero .eyebrow { color: var(--g300); }
@media (max-width: 900px) {
  /* matches the centred home-page hero */
  .page-hero { text-align: center; }
  .page-hero .lede { margin-inline: auto; }
}

@media (max-width: 900px) {
  /* section headings announce the section; the content below stays left-aligned */
  .section h2 { text-align: center; }
  .section-head .lede,
  .container.narrow > h2 + .lede { text-align: center; margin-inline: auto; }
}

/* Trust strip */
.trust { background: var(--ink); color: var(--paper); border-top: 1px solid var(--g700); }
.trust .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem 2.6rem; padding-block: 1.15rem; }
.trust-item { display: flex; align-items: center; gap: 0.55rem; font-size: 0.86rem; color: var(--g300); }
.trust-item strong { color: var(--paper); font-weight: 600; }
.stars { letter-spacing: 0.08em; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card { background: var(--paper); border: 1px solid var(--ink); padding: 1.9rem; }
.bg-paper .card { border-color: var(--ink); }
a.card { color: inherit; text-decoration: none !important; display: block; transition: background 0.15s ease, color 0.15s ease; }
a.card:hover { background: var(--ink); color: var(--paper); }
a.card:hover h3, a.card:hover p, a.card:hover .more, a.card:hover .card-price { color: var(--paper); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--g700); font-size: 0.97rem; }
.card-price { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 0.4rem; }
.card .more { display: inline-block; margin-top: 0.9rem; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }

/* Price cards */
.price-card { display: flex; flex-direction: column; border: 2px solid var(--ink); padding: 2rem; background: var(--paper); }
.price-card h3 { font-size: 1.6rem; margin-bottom: 0.9rem; }
.price-card .price { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; line-height: 1; display: flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.price-card .price small { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--g500); }
.price-card > p { flex: 1; }
.price-card .btn { align-self: flex-start; margin-top: 1.3rem; }
.price-card .pitch-note {
  display: block; margin-top: 1.2rem; padding: 0.85rem 1rem;
  background: var(--g100); border-left: 3px solid var(--ink);
  font-size: 0.84rem; line-height: 1.5; color: var(--g700); text-decoration: none !important;
}
.price-card .pitch-note:hover { background: var(--g150); }
.price-card .pitch-note strong { color: var(--ink); }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 2.8rem; }
.step::before {
  counter-increment: step; content: "Step " counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; line-height: 1;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
}
.step::after { content: ""; position: absolute; top: 1.7rem; left: 0; width: 2.2rem; height: 2px; background: var(--ink); }
.bg-ink .step::before, .bg-ink .step::after { color: var(--paper); background: var(--paper); }
.bg-ink .step::before { background: none; }
.step h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.step p { color: var(--g700); font-size: 0.97rem; }
.bg-ink .step p { color: var(--g300); }

/* Numbered care/info list */
.rules { list-style: none; padding: 0; margin: 0; }
.rules > li {
  display: grid; grid-template-columns: 3.2rem 1fr; gap: 1.2rem;
  padding: 1.75rem 0; margin: 0; border-top: 1px solid var(--g300);
}
.rules > li:first-child { border-top: 0; padding-top: 0; }
.rules .num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; line-height: 1.1; }
.rules h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.rules p { color: var(--g700); font-size: 0.97rem; }

/* Reference list — heading left, detail right; no implied sequence */
.ref-list { margin: 0; }
.ref-list dt {
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.2;
  padding-top: 1.9rem; margin-bottom: 0.6rem; border-top: 1px solid var(--g300);
}
.ref-list dt:first-of-type { border-top: 0; padding-top: 0; }
.ref-list dd { margin: 0 0 1.9rem; color: var(--g700); font-size: 0.97rem; }
.ref-list dd ul { margin-top: 0.6rem; }
@media (min-width: 760px) {
  .ref-list { display: grid; grid-template-columns: 14rem 1fr; column-gap: 2.5rem; }
  /* side by side here, so the stacked gap under the term isn't needed */
  .ref-list dt { grid-column: 1; margin-bottom: 0; }
  .ref-list dd { grid-column: 2; padding-top: 1.9rem; border-top: 1px solid var(--g300); margin-bottom: 0; }
  .ref-list dt:first-of-type + dd { border-top: 0; padding-top: 0; }
}

/* Quotes */
.quote { border-top: 2px solid var(--ink); padding-top: 1.4rem; display: flex; flex-direction: column; gap: 0.9rem; }
.bg-ink .quote { border-top-color: var(--paper); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.22rem; line-height: 1.45; flex: 1; }
.quote cite { font-style: normal; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--g500); }
.quote cite strong { display: block; color: var(--ink); font-size: 0.92rem; letter-spacing: 0; margin-bottom: 2px; }
.bg-ink .quote cite { color: var(--g300); }
.bg-ink .quote cite strong { color: var(--paper); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.chips li { border: 1px solid var(--g300); padding: 0.35rem 0.9rem; font-size: 0.86rem; margin: 0; }
.bg-ink .chips li { border-color: var(--g700); }

/* Service blocks */
.service-block { padding: 1.9rem 0; border-top: 1px solid var(--g300); }
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block h3 { font-size: 1.45rem; }
.service-block p { color: var(--g700); }

/* Figure with inline diagram */
.figure { margin: 2.5rem 0 0; }
.figure figcaption { margin-top: 1.25rem; color: var(--g700); font-size: 0.97rem; line-height: 1.6; }
.figure-intro { margin: 0 0 1.25rem; color: var(--g700); font-size: 0.97rem; line-height: 1.6; }
.pitch-diagram { width: 100%; height: auto; display: block; background: var(--g100); padding: 1rem 0; }
.pitch-diagram .pd-line { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pitch-diagram .pd-line-fail { stroke: var(--g500); stroke-dasharray: 9 7; }
.diagram-heading {
  /* visually a label, semantically an h3 */
  font-family: var(--font-body); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--g500);
  margin: 0 0 0.9rem;
}
.pitch-diagram .pd-ref { stroke: var(--g500); stroke-width: 1.5; stroke-dasharray: 6 6; }
.pitch-diagram .pd-dot { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.pitch-diagram .pd-ref-label,
.pitch-diagram .pd-label {
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  letter-spacing: 0.06em; fill: var(--g700);
}
.pitch-diagram .pd-num {
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  fill: var(--ink); text-anchor: middle;
}

/* Callout */
.callout { border: 1px solid var(--ink); padding: 1.3rem 1.5rem; background: var(--paper); }
.callout p { margin: 0; font-size: 0.95rem; }
.callout.solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.callout.center { text-align: center; }
.tax-note { font-style: italic; color: var(--g500); font-size: 0.95rem; margin: 0 0 1.5rem; }

/* Table */
.table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.table th, .table td { text-align: left; padding: 0.85rem 0.7rem; border-bottom: 1px solid var(--g300); vertical-align: top; }
.table th { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g500); font-weight: 600; }
.table tr:first-child th { border-top: 2px solid var(--ink); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--g300); padding: 1.1rem 0; }
.faq details:first-of-type { border-top: 1px solid var(--g300); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.03rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 300; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.8rem; color: var(--g700); font-size: 0.97rem; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--paper); padding: clamp(3rem, 6vw, 5rem) 0; text-align: center; }
.cta-band h2 { color: var(--paper); }
.cta-band p { color: var(--g300); max-width: 44rem; margin-inline: auto; margin-bottom: 1.9rem; text-wrap: balance; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--g300); padding: 3.5rem 0 2rem; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 4rem); margin-bottom: 2.5rem; }
.site-footer h4 { color: var(--paper); font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a:not(.btn) { color: var(--paper); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; color: var(--paper); text-decoration: none !important; margin-bottom: 1.1rem; }
.footer-brand img { height: 78px; width: auto; }
.footer-contact li { line-height: 1.5; }
.footer-note { color: var(--g500); font-size: 0.8rem; margin-top: 0.4rem; }
.footer-creds { list-style: none; padding: 0; margin-top: 0.9rem; }
.footer-creds li { margin-bottom: 0.3rem; }
.footer-bottom { border-top: 1px solid var(--g700); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; font-size: 0.78rem; color: var(--g500); }
@media (max-width: 640px) {
  /* footer stacks to one column, so centre it like the rest of the mobile layout */
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* Mobile sticky bar */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: var(--paper); border-top: 2px solid var(--ink);
  padding: 0.6rem 0.7rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
}
.mobile-bar .btn { flex: 1; }
@media (max-width: 700px) { .mobile-bar { display: flex; } body { padding-bottom: 74px; } }

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

@media print {
  .site-header, .site-footer, .mobile-bar, .cta-band, .btn, .header-rule { display: none !important; }
}
