/* Studio A — one stylesheet for all three pages.
   A migration of a HighLevel funnel: same content, better craft. No framework. */

:root {
  --ink: #141414;
  --body: #4a4a4a;
  --muted: #6e6e6e;        /* >=4.5:1 on both --ground and --sand (WCAG AA) */
  --muted-on-dark: #9a9a9a; /* >=4.5:1 on --ink — the footer's own ground */
  --ground: #ffffff;
  --sand: #f4f1ec;          /* warm neutral — the studio's own palette is warm */
  --line: #e2ddd5;
  --accent: #141414;
  --radius: 4px;
  --wrap: 1180px;
  --head: 'Jost', 'Futura', system-ui, sans-serif;
  --body-face: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--body);
  font-family: var(--body-face); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* height:auto is load-bearing, not tidiness. Every <img> carries explicit
   width/height attributes so the browser reserves space and the page does not
   jump as images load — but those attributes also FORCE the height. Without
   height:auto, max-width:100% shrinks the width while the height attribute
   holds, and every image on the site renders vertically stretched. */
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(34px, 7vw, 68px); font-weight: 700; letter-spacing: .01em; }
h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 600; }
h3 { font-size: clamp(18px, 2.4vw, 22px); font-weight: 600; }

.eyebrow {
  font-family: var(--head); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  margin: 0 0 14px;
}

/* Navigation ------------------------------------------------------------- */
.nav { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--ground); z-index: 20; }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 74px; }
.nav .brand { display: flex; align-items: center; text-decoration: none; }
.nav .brand img { display: block; width: 44px; height: 44px; }
.nav-links { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { text-decoration: underline; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-block; font-family: var(--head); font-weight: 600; font-size: 15px;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  padding: 15px 34px; border-radius: var(--radius); border: 1px solid var(--ink); color: var(--ink);
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }

/* Hero ------------------------------------------------------------------- */
.hero { padding: clamp(56px, 9vw, 110px) 0 clamp(46px, 7vw, 84px); }
.hero p.lede { font-size: clamp(17px, 2.2vw, 21px); max-width: 46ch; margin: 0 0 34px; }

/* Sections --------------------------------------------------------------- */
.section { padding: clamp(48px, 7vw, 92px) 0; }
.section.sand { background: var(--sand); }
.section-title { margin-bottom: 34px; }

/* Grids and cards -------------------------------------------------------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
/* book.html's five rate tiers: minmax(260px) only fits 4 across the .wrap's
   1132px content width, orphaning the fifth card alone on its own row. A
   narrower minimum lets all five sit on one row at desktop widths while still
   wrapping sensibly at narrower ones. Scoped to this section, not the shared
   .grid used elsewhere for 2-6 item layouts that don't have this problem. */
.tier-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
/* Every tier card gets an .eyebrow line — a real badge (POPULAR, BEST VALUE)
   or an aria-hidden spacer — so the price below it starts at the same height
   in every card regardless of which cards carry a badge. */
.card { }
.card img { border-radius: var(--radius); margin-bottom: 16px; }
/* Cards in a row carry descriptions of different lengths — one of them has a
   <br> in the client's own copy — so without this the images start at different
   heights and a matched pair reads as mismatched. The grid already stretches
   every card to the row's height; pushing the image to the bottom of that puts
   them all on one line.
   `:last-child` is what keeps this off the badge cards, where the image comes
   FIRST and `margin-top:auto` would shove it below its own label. */
.card { display: flex; flex-direction: column; }
.card picture:last-child { margin-top: auto; }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; font-size: 15.5px; }

/* Testimonials ----------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.quote { border-left: 2px solid var(--ink); padding-left: 22px; }
.quote h3 { font-size: 19px; margin-bottom: 10px; }
.quote p { margin: 0 0 12px; font-size: 15.5px; }
.quote cite { font-style: normal; color: var(--muted); font-size: 14px; }

/* FAQ -------------------------------------------------------------------- */
.faq { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { margin-bottom: 8px; }
.faq-item p { margin: 0; font-size: 16px; }

/* Footer ----------------------------------------------------------------- */
.footer { background: var(--ink); color: #d9d9d9; padding: 56px 0 44px; }
.footer h2, .footer h3 { color: #fff; }
.footer a { color: #fff; }
.footer .grid { gap: 34px; }
.footer address { font-style: normal; line-height: 1.8; }
.footer .eyebrow { color: var(--muted-on-dark); }

/* Contact form ------------------------------------------------------------
   Lives in the footer, on the dark --ink ground, so inputs get their own
   light-on-dark treatment rather than inheriting the light-page defaults. */
.footer-contact { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid #333; }
.footer-contact .lede { color: #d9d9d9; max-width: 56ch; margin: 0 0 28px; }
.contact-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px 24px; max-width: 760px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-family: var(--head); font-size: 13px; font-weight: 600; letter-spacing: .04em; color: #fff; }
.form-field input, .form-field textarea {
  font-family: var(--body-face); font-size: 16px; color: #fff; background: #232323;
  border: 1px solid #444; border-radius: var(--radius); padding: 12px 14px;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #8a8a8a; }
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input:focus, .form-field textarea:focus {
  outline: 2px solid #fff; outline-offset: 1px; border-color: #fff;
}
/* Honeypot: off-screen (not display:none, which some bots detect and skip),
   unreachable by keyboard (tabindex="-1") and invisible to assistive tech
   (aria-hidden). A human never sees or reaches this field. */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn { grid-column: 1 / -1; justify-self: start; background: #fff; color: var(--ink); border-color: #fff; cursor: pointer; }
.contact-form .btn:hover { background: #d9d9d9; }
.contact-form .btn:disabled { opacity: .55; cursor: not-allowed; }
.contact-status { max-width: 760px; margin: 16px 0 0; font-size: 15px; }
.contact-status.is-error { color: #ff9b9b; }
.contact-status.is-ok { color: #9be79b; }

@media (max-width: 640px) {
  .nav .wrap { height: 62px; gap: 16px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
