/* Pickles Interior Design / Keith Pickles Construction - Lompoc - spec build #51
   ---------------------------------------------------------------------------
   PALETTE SAMPLED OFF THEIR ONE PHOTO, the kitchen (p01):
   - Oak: median of the floor, white-balanced against the ceiling (#88847D
     read as neutral) = #776863, then DARKENED to #6B5A50 so it clears 4.5:1
     on the light ground as text. Hue ~20, low saturation, a real floor color.
   - Ink: the black counters and pulls. Stone/ground: the white shaker cabinets.
   There is no logo, sign or truck anywhere, so the floor is the brand.

   Structure, deliberately unlike the other Lompoc builds (#46 So-Cal, #48
   Coastal Ridge, #49 Armorcoat) and unlike #50 the day before:
     light stone hero with the tall kitchen photo running past the fold,
     then TWO LICENSE CARDS SIDE BY SIDE (the thing only this prospect has:
     two licenses, two names), both reviews printed in full, and a
     "what people hired them for" list taken only from the reviews.
     Sans headings, soft 10px radius, bordered cards, no dark band until the
     footer. No eyebrows.

   ⚠ EVERY RATIO BELOW WAS COMPUTED, NOT ESTIMATED.
     #1D1C1A ink    on ground 16.17
     #6B5A50 oak    on ground  6.23 | on white 6.56 | on stone 5.51 | white on it 6.56
     #D8C7BB oakL   on ink    10.38                  DARK GROUNDS ONLY
     #5F5A55 muted  on ground  6.48 | on stone 5.73
     #B5ADA6 mutedD on ink     7.70                  DARK GROUNDS ONLY
   --------------------------------------------------------------------------- */

:root {
  --ground: #FAF9F6;
  --white:  #FFFFFF;
  --stone:  #EEEBE6;
  --ink:    #1D1C1A;
  --oak:    #6B5A50;
  --oakL:   #D8C7BB;   /* DARK GROUNDS ONLY */
  --muted:  #5F5A55;
  --mutedD: #B5ADA6;   /* DARK GROUNDS ONLY */
  --rule:   #DDD8D1;
  --r: 10px;
  --wide: 1160px;
  --sect: clamp(64px, 9vw, 112px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}

/* Browser surfaces. The parts you did not draw still carry the design, and
   this is the cheapest signal that a page was built rather than assembled. */
::selection      { background: var(--oak); color: var(--white); }
:root            { caret-color: var(--oak); accent-color: var(--oak); }
:focus-visible   { outline: 2px solid var(--oak); outline-offset: 3px; }
a                { color: var(--oak); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tabular, time, .num { font-variant-numeric: tabular-nums; }
@supports (scrollbar-color: auto) {
  html { scrollbar-color: var(--oak) var(--stone); scrollbar-width: thin; }
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
.wrap { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: 24px; }
.muted { color: var(--muted); }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.1; font-weight: 750; }
h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 0 0 12px; }
.intro { color: var(--muted); max-width: 60ch; margin: 0 0 32px; }

.btn {
  display: inline-block; background: var(--ink); color: var(--white); font-weight: 700;
  text-decoration: none; border-radius: 999px; padding: 14px 26px; white-space: nowrap;
}
.btn:hover { background: var(--oak); }

/* ── Masthead ─────────────────────────────────────────────────────────── */
.mast { background: var(--ground); }
.mast .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center;
  justify-content: space-between; padding-block: 20px; border-bottom: 1px solid var(--rule); }
.mark { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.mark span { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.mast .tel { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap;
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 9px 18px; }
.mast .tel:hover { background: var(--ink); color: var(--white); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding-block: clamp(40px, 6vw, 80px) 0; }
.hero .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.hero-text { padding-top: clamp(0px, 4vw, 48px); }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); margin: 0 0 22px; }
.hero h1 em { font-style: normal; color: var(--oak); }
.lede { font-size: 19px; max-width: 44ch; margin: 0 0 28px; }
.rating { margin: 26px 0 0; color: var(--muted); font-size: 15px; }
.stars { color: var(--oak); letter-spacing: 2px; margin-right: 6px; }
.hero-photo { margin-bottom: calc(-1 * clamp(80px, 12vw, 180px)); position: relative; z-index: 1; }
.hero-photo img { border-radius: var(--r); }
.hero-photo figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }

/* ── Two license cards ────────────────────────────────────────────────── */
.licenses { background: var(--stone); padding-block: var(--sect); padding-top: clamp(72px, 9vw, 120px); }
.licenses .wrap > h2, .licenses .wrap > .intro { max-width: 58%; }
.lic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 58%; }
.lic { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r); padding: 24px; }
.lic h3 { margin: 0; font-size: 24px; }
.lic .biz { margin: 2px 0 16px; color: var(--muted); font-size: 15px; }
.lic dl { margin: 0; }
.lic dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.lic dt { color: var(--muted); }
.lic dd { margin: 0; text-align: right; font-weight: 600; }
.lic dd.num { color: var(--oak); font-size: 20px; font-weight: 800; }
.covers { margin: 14px 0 0; font-size: 15px; }

/* ── Reviews ──────────────────────────────────────────────────────────── */
.reviews { padding-block: var(--sect); }
.review { margin: 0 0 28px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r);
  padding: clamp(24px, 4vw, 44px); }
.review blockquote { margin: 0; }
.review blockquote { max-width: 68ch; }
.review p { margin: 0 0 14px; font-size: 18px; line-height: 1.7; }
.review figcaption { margin-top: 10px; color: var(--muted); font-size: 15px; }
.review figcaption b { color: var(--ink); }

/* ── Hired for ────────────────────────────────────────────────────────── */
.hired { background: var(--stone); padding-block: var(--sect); }
.hired-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.hired-list li { padding: 18px 0; border-top: 1.5px solid var(--ink); }
.hired-list b { display: block; font-size: 20px; letter-spacing: -0.015em; }
.hired-list span { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ── Reach ────────────────────────────────────────────────────────────── */
.reach { padding-block: clamp(52px, 7vw, 84px); }
.reach .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.reach h2 { margin-bottom: 6px; }
.reach p { margin: 0; }
.reach-call { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.big { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.big a { color: var(--ink); text-decoration: none; }

/* ── Letter ───────────────────────────────────────────────────────────── */
.letter { padding-block: var(--sect); border-top: 1px solid var(--rule); }
.letter .wrap { max-width: 700px; }
.letter p { font-size: 18px; margin: 0 0 18px; }
.sign { margin-top: 26px !important; font-weight: 700; }

/* ── Footer ───────────────────────────────────────────────────────────── */
footer { background: var(--ink); color: var(--ground); padding-block: 56px 96px; }
footer .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
footer h4 { margin: 0 0 8px; font-size: 17px; }
footer p { margin: 0 0 4px; color: var(--mutedD); font-size: 15px; }
footer a { color: var(--oakL); }
footer .legal { grid-column: 1 / -1; margin-top: 18px; padding-top: 18px; border-top: 1px solid #3A3835; font-size: 13px; line-height: 1.6; }

.callbar { display: none; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { margin-bottom: 0; max-width: 460px; }
  .hero-photo img { max-height: 540px; width: 100%; object-fit: cover; object-position: 50% 60%; }
  .licenses .wrap > h2, .licenses .wrap > .intro, .lic-grid { max-width: none; }
  .hired-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .lic-grid, .hired-list, footer .wrap { grid-template-columns: 1fr; }
  .mast .tel { display: none; }
  .callbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ground);
    border-top: 1px solid var(--rule);
  }
  .callbar a { display: block; text-align: center; background: var(--ink); color: var(--white);
    font-weight: 700; text-decoration: none; border-radius: 999px; padding: 14px; }
}
