/* Leatherback Lighting - /commercial/ page layer.
   No design board exists for this page. Its geometry is taken from the two
   built pages it sits beside: the header, proof strip, ruled columns and
   question list follow /erie/, and the cost handoff band follows /faq/. Tokens,
   the fixture CTA, .wrap, .proof, .eyebrow, .caption, .metallic, .calc-band,
   .link-arrow, figure and figcaption all come from leatherback.css. Only what
   that file does not provide lives here, and every class defined here carries
   the comm- prefix, or is scoped under one that does, so a later shared class
   of the same name can never restyle this page by accident.

   MOBILE. Everything under the 900px and 820px queries is the engineering
   default from Home's 375 pattern: single column, 16px gutters, full-width CTA,
   headline before photograph. Flagged for design sign-off, not a finished
   design.

   FLOORS. Nothing under 11px. Every tap target in <main> reaches 44px: the
   breadcrumb link by min-width and min-height, the three cost buttons by
   min-height, the close phone link by min-height, and the links that sit inside
   a sentence by vertical padding on the inline box (see "in-body links" below).
   The nav and footer are shared.

   BREAKPOINT COMPLEMENTS. leatherback.css switches the proof strip at
   max-width:900px. The desktop side here is written as the exact complement,
   "not all and (max-width:900px)", rather than min-width:901px, so a fractional
   viewport between 900 and 901 CSS px (125% and 150% display scaling, browser
   zoom) can never fall between the two. */

main p{text-wrap:pretty}

/* ---------- commercial header ---------- */
.comm-head{padding:72px 0 0}
.comm-crumbs ol{list-style:none;display:flex;align-items:center;gap:10px;margin:0 0 26px;padding:0;
  font-size:13px;color:var(--ink-60)}
.comm-crumbs a{display:inline-flex;align-items:center;min-width:44px;min-height:44px;padding-right:4px;
  text-decoration:none}
/* the separator is its own aria-hidden list item, as on /faq/ and /erie/, so no
   screen reader announces the angle mark. .35 is the board's value for this
   ornament; it is not text. */
.comm-crumbs-sep{color:rgba(244,247,255,.35)}
.comm-head .eyebrow{margin-bottom:16px}
.comm-head h1{max-width:22ch;margin:0 0 6px;line-height:1.04;letter-spacing:-1.7px}

/* the header ribbon: the house two-stroke ribbon at headline scale, with the
   sheen gradient running through the top stroke. The gradient stops take their
   color here rather than from attributes in the markup. */
.comm-ribbon{display:block;width:250px;max-width:70%;height:15px;margin:18px 0 22px;overflow:visible;
  filter:drop-shadow(0 2px 8px rgba(217,164,65,.45))}
.comm-ribbon path{fill:none;stroke-linecap:round}
.comm-ribbon .a{stroke-width:2.6}
.comm-ribbon .b{stroke:var(--gold-pale);stroke-opacity:.5;stroke-width:1}
.comm-ribbon .s-edge{stop-color:var(--gold)}
.comm-ribbon .s-deep{stop-color:var(--gold-deep)}
.comm-ribbon .s-sheen{stop-color:#fff6e0}   /* the first stop of --metallic; it has no token of its own */

/* the lead is the page's own class, not .lead plus overrides */
.comm-lead{font-size:clamp(18px,1.4vw,20px);line-height:1.65;font-weight:400;color:var(--ink);
  max-width:72ch;margin:0 0 14px}
.comm-intro{max-width:72ch;line-height:1.75;color:var(--ink-82);margin:0 0 30px}
.comm-head-cta{margin:6px 0 46px}   /* clears the fixture's floor reflection */
.comm-updated{margin:0;padding-bottom:36px;border-bottom:1px solid rgba(217,164,65,.2)}

/* ---------- proof: four figures, ruled inside the content column ----------
   .proof.comm-proof states the override of the shared .proof borders by
   specificity, not by the order the two stylesheets happen to load in. */
.proof.comm-proof{border:0;margin-top:36px}
.comm-proof .proof-in{padding-top:24px;padding-bottom:24px;
  border-top:1px solid rgba(217,164,65,.3);border-bottom:1px solid rgba(217,164,65,.3)}
@media not all and (max-width:900px){
  .comm-proof .proof-in{grid-template-columns:repeat(4,1fr)}
}

/* ---------- section rhythm: 64px between sections on one ground ---------- */
.comm-section{padding:64px 0 0}
.comm-section .eyebrow{margin-bottom:14px}
.comm-section h2{font-size:clamp(28px,2.95vw,42px);line-height:1.1;letter-spacing:-1.2px;margin:0 0 14px}
.comm-sub{max-width:68ch;line-height:1.75;color:var(--ink-82);margin:0}

/* ---------- what the money buys: three ruled columns ---------- */
.comm-buys h2{max-width:30ch}
.comm-buys-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:40px}
.comm-buy{padding-top:22px;border-top:2px solid rgba(217,164,65,.45)}
.comm-buy h3{font-size:22px;line-height:1.25;letter-spacing:-.3px;margin:0 0 12px}
.comm-buy p{font-size:16px;line-height:1.7;color:var(--ink-82);margin:0 0 10px}
/* .7 is the value /erie/ uses for the quieter second paragraph of a ruled
   column. It sits between --ink-82 and --ink-60 and has no token of its own.
   Flagged for design, as it is there. */
.comm-buy p + p{font-size:15px;color:rgba(244,247,255,.7);margin-bottom:0}
@media (max-width:900px){
  .comm-buys-grid{grid-template-columns:1fr;gap:32px;margin-top:32px}
}

/* ---------- commercial work: three captioned frames ----------
   Three frames, and every count has to read as finished, so the row is flex
   with equal children rather than a fixed three-column grid: two or one still
   fill the row instead of leaving an empty cell if a frame is ever pulled. */
.comm-work-grid{display:flex;align-items:flex-start;gap:24px;margin-top:36px}
.comm-work-item{flex:1 1 0;min-width:0;margin:0}
.comm-work-item img{width:100%;height:250px;object-fit:cover;object-position:50% 55%;
  border-radius:var(--r-carousel);border:1px solid rgba(217,164,65,.22)}
.comm-work-item figcaption{font-size:13px;line-height:1.55;color:var(--ink-60);margin-top:12px}
.comm-work-more{margin:22px 0 0}
@media (max-width:900px){
  .comm-work-grid{flex-direction:column;gap:32px;margin-top:28px}
  .comm-work-item{flex:0 0 auto;width:100%}
  .comm-work-item img{height:auto;aspect-ratio:3/2}
}

/* ---------- the five questions ----------
   Each article has an id for deep links. The shared sheet clears the sticky nav
   from the header's own measured height, so there are no per-breakpoint copies
   here to drift out of step with it. */
.comm-qa-list{margin-top:40px}
.comm-qa{display:grid;grid-template-columns:200px minmax(0,1fr);gap:36px;padding:36px 0;
  border-top:1px solid rgba(217,164,65,.2)}
.comm-qa:last-child{padding-bottom:0}
/* The label names the subject of the question, never this repo's planning
   vocabulary (S33). 11px is the floor, so the gold is lifted to .78 alpha,
   5.54:1 on the page ground, rather than the .7 the boards draw it at. */
.comm-qa-topic{font-size:11px;font-weight:800;letter-spacing:2px;text-transform:uppercase;line-height:1.6;
  color:rgba(217,164,65,.78);margin:8px 0 0}
.comm-qa-body{min-width:0}   /* lets the single mobile column shrink below its longest word */
.comm-qa h3{font-size:clamp(22px,2.1vw,30px);line-height:1.18;letter-spacing:-.7px;max-width:32ch;margin:0 0 14px}
.comm-qa-answer{font-size:clamp(17px,1.35vw,19px);line-height:1.7;font-weight:500;color:var(--ink);
  max-width:74ch;margin:0 0 14px}
.comm-qa-detail{line-height:1.75;color:var(--ink-82);max-width:74ch;margin:0}
@media (max-width:820px){
  .comm-qa-list{margin-top:28px}
  .comm-qa{grid-template-columns:minmax(0,1fr);gap:8px;padding:28px 0}
  .comm-qa-topic{margin:0}
}

/* ---------- in-body links ----------
   A link inside a sentence is one text line tall. Vertical padding on the
   inline box grows the hit area past 44px without moving the line, the
   technique /faq/ uses for its inline phone link. 14px rather than 12 so the
   16px paragraphs still clear the floor if a shorter fallback font is in use. */
.comm-buy p a,.comm-sub a,.comm-qa-answer a,.comm-qa-detail a{padding:14px 0}

/* ---------- cost handoff: the house diagonal band ----------
   The band itself (ground, gold glow, the diagonal and its step at 1000px) is
   the shared .calc-band, the same surface Home and /faq/ use for cost. Only the
   spacing and the button column are this page's. */
.comm-cost{margin-top:64px;padding:44px 0}
.comm-cost-grid{display:grid;grid-template-columns:1fr 360px;gap:48px;align-items:center}
.comm-cost .eyebrow{margin-bottom:14px}
.comm-cost h2{font-size:clamp(28px,2.8vw,40px);line-height:1.08;letter-spacing:-1.2px;margin:0 0 16px}
.comm-cost-lead{font-size:clamp(17px,1.35vw,19px);line-height:1.7;color:var(--ink);
  max-width:64ch;margin:0 0 14px}
.comm-cost-body{font-size:17px;line-height:1.75;color:var(--ink-82);max-width:64ch;margin:0}
.comm-cost-links{display:flex;flex-direction:column;gap:12px}
.comm-btn{display:flex;align-items:center;justify-content:center;min-height:54px;padding:8px 20px;
  border:1px solid rgba(217,164,65,.4);border-radius:var(--r-btn);
  font-size:16px;font-weight:700;line-height:1.3;text-align:center;text-decoration:none;
  color:var(--gold-pale);
  transition:background var(--t-fast),border-color var(--t-fast),filter var(--t-fast)}
.comm-btn:not(.comm-btn-gold):hover{color:var(--gold-pale);border-color:var(--gold);
  background:rgba(217,164,65,.08)}
/* gold fill: ink is --gold-ink, never cream */
.comm-btn-gold{border-color:transparent;font-weight:800;color:var(--gold-ink);
  background:linear-gradient(180deg,var(--gold-pale) 0%,var(--gold) 46%,var(--gold-deep) 100%);
  box-shadow:0 10px 26px rgba(217,164,65,.28),inset 0 1px 0 rgba(255,255,255,.6)}
.comm-btn-gold:hover{color:var(--gold-ink);filter:brightness(1.06)}
.comm-btn-gold:active{background:var(--gold-deep)}
@media (max-width:1000px){
  .comm-cost-grid{grid-template-columns:1fr;gap:30px}
}

/* ---------- close ----------
   The band ground is the one /erie/ closes on. Its stops are not in the README
   palette and have no token. Flagged for design, as they are there. */
.comm-close{padding-bottom:64px}
.comm-close-band{display:flex;align-items:center;flex-wrap:wrap;gap:32px;padding:44px 48px;
  border-radius:var(--r-band);
  background:radial-gradient(120% 80% at 84% 12%,#1a1408 0%,rgba(26,20,8,0) 58%),
    linear-gradient(160deg,#0a0f22 0%,#05070f 52%,#0b0d14 100%)}
.comm-close-copy{flex:1 1 340px}
.comm-close-band h2{font-size:clamp(26px,2.4vw,34px);line-height:1.12;letter-spacing:-.9px;margin:0 0 10px}
.comm-close-copy p{margin:0;max-width:56ch;color:var(--ink-82)}
.comm-close-cta{flex:0 0 auto;margin:0}
.comm-close-tel{flex:0 0 auto;display:inline-flex;align-items:center;min-height:44px;
  font-size:24px;font-weight:800;color:var(--ink);text-decoration:none;white-space:nowrap}
.comm-close-tel:hover{color:var(--gold-pale)}

/* ---------- mobile: Home's 375 pattern ---------- */
@media (max-width:820px){
  .comm-head{padding-top:12px}
  .comm-crumbs ol{margin-bottom:10px}
  .comm-ribbon{margin:14px 0 18px}
  .comm-intro{margin-bottom:24px}
  .comm-updated{padding-bottom:28px}
  .proof.comm-proof{margin-top:28px}
  .comm-section{padding-top:56px}
  .comm-cost{margin-top:40px;padding:36px 0}
  .comm-close{padding-bottom:56px}
  .comm-close-band{padding:32px 20px;border-radius:var(--r-card);gap:22px}
  .comm-close-cta{flex:1 1 100%}
  /* full-width CTA from the 820 breakpoint, not only from the shared 680 one:
     the header CTA appears at 820 and the nav CTA goes at 820 */
  .comm-head-cta .fixture,.comm-close-cta .fixture{width:100%}
  .comm-close-tel{font-size:22px}
}

@media (prefers-reduced-motion:reduce){
  .comm-btn{transition:none}
}
