/* home-v2 draft only (2026-11-24): the home page below the ribbon in the light Apple Store palette,
   matching restaurants-v2 (industry.css). Loaded after industry.css; never by the live pages.
   White and #f5f5f7 sections take turns, #1d1d1f text, #6e6e73 secondary, blue only on actions and links.
   site.js still runs here for the lead form and the work grid; its scroll trail is hidden below. */

:root {
  --white: #fff;
  --grey: #f5f5f7;
  --field-edge: #86868b;
  --error: #e30000;
}

.s-white { background: var(--white); color: var(--on-light); }
.s-grey { background: var(--grey); color: var(--on-light); }
.sec { padding-block: var(--section); }

/* site.js extras that do not belong on a light page */
.scroll-trail { display: none !important; }

/* sticky sub-nav: white on the white sections */
.subnav { background: var(--white); }

/* 1. the lean, the but, the snapback */
.lede-more {
  margin-top: 2rem; max-width: 40rem; font-size: clamp(1.1875rem, 2vw, 1.5rem); line-height: 1.45;
  color: var(--on-light-soft);
}
.lede-more strong { color: var(--on-light); font-weight: 600; }
.sec-cta { margin-top: 2.25rem; }

/* 2. why the big brands win: four short lines, then the gap in plain words */
.gap-lines { margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 6vw, 6rem); }
.gap-lines li { border-top: 1px solid var(--rule-light); padding-top: 1.25rem; }
.gap-lines h3 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
.gap-lines p { margin-top: 0.75rem; color: var(--on-light-soft); max-width: 30rem; }
.gap-close {
  margin: clamp(4rem, 8vw, 6rem) auto 0; max-width: 48rem; text-align: center;
  font-size: clamp(1.375rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em;
}
.gap-close span { color: var(--on-light-soft); }

/* 3. work grid (rendered by site.js into .work-groups) */
.work-groups { margin-top: clamp(3rem, 6vw, 4.5rem); }
.work-group + .work-group { margin-top: clamp(3rem, 6vw, 4.5rem); }
.work-group-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem;
  padding-bottom: 1rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--rule-light);
}
.work-cat { font-size: clamp(1.5rem, 2.4vw, 1.75rem); font-weight: 700; letter-spacing: -0.02em; }
.work-group-head p { font-size: 1rem; color: var(--on-light-soft); }
.work-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2rem 1.25rem; }
.work-item a { display: block; }
.work-item img, .work-item video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: var(--grey);
  outline: 1px solid rgba(0, 0, 0, 0.1); outline-offset: -1px;
}
.work-item figcaption {
  display: flex; flex-direction: column; gap: 0.15rem; margin-top: 0.75rem;
  font-size: 1rem; font-weight: 600; line-height: 1.35;
}
.work-item figcaption .muted { font-weight: 400; color: var(--on-light-soft-strong); font-size: 0.9375rem; }
.work-item--wide { grid-column: span 3; }
.work-grid .work-item--wide img, .work-grid .work-item--wide video { aspect-ratio: 16 / 9; }
.work-item--site {
  grid-column: span 3;
  /* picture and words as one centred unit in each half (user 2026-11-25: "not centered") */
  display: grid; grid-template-columns: minmax(0, 13.5rem) minmax(0, 17rem); gap: 1.75rem;
  align-items: center; justify-content: center;
}
.work-item--site figcaption {
  margin: 0; padding-bottom: 0; justify-content: center; gap: 0.5rem;
  font-size: clamp(1.1875rem, 1.6vw, 1.375rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2;
}
.work-item--site figcaption .muted { font-size: 1rem; line-height: 1.45; max-width: 30ch; letter-spacing: 0; }
.work-site-link {
  align-self: flex-start; margin-top: 0.25rem; padding-block: 0.5rem;
  font-size: 1rem; font-weight: 400; color: var(--red-text-light); text-decoration: none; letter-spacing: 0;
}
@media (hover: hover) { .work-site-link:hover { text-decoration: underline; text-underline-offset: 0.25em; } }
.work-site-host { font-size: 0.875rem; font-weight: 400; color: var(--on-light-soft-strong); overflow-wrap: anywhere; letter-spacing: 0; }

/* 4. services: open one at a time (details name="services") */
.rows { margin-top: clamp(3rem, 6vw, 4rem); }
.rows summary { display: flex; align-items: center; }
.h-row { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.rows summary { padding-block: 1.6rem; }
.row-body { padding: 0 2.5rem 1.75rem 0; max-width: 40rem; }
.row-body p { padding: 0; color: var(--on-light-soft); }
.row-body .text-link { display: inline-block; margin-top: 0.5rem; padding-inline: 0; }

/* 5. three steps: a real sequence, so it is numbered */
.steps { margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); counter-reset: step; }
.steps li { border-top: 1px solid var(--rule-light); padding-top: 1.5rem; counter-increment: step; }
.steps li::before {
  content: counter(step); display: block; margin-bottom: 1rem;
  font-size: 2.75rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.steps p { margin-top: 0.75rem; color: var(--on-light-soft); }

/* 6. price */
.price-inner { text-align: center; }
.price-big {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  font-size: clamp(4rem, 11vw, 6rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums;
}
.price-note { margin: 1rem auto 0; max-width: 34rem; color: var(--on-light-soft); }
.price-inner .text-link { display: inline-block; margin-top: 1.25rem; }

/* 7. closing + the lead form (id start) */
.start-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.start-copy { position: sticky; top: 6rem; }
.start-title { font-size: clamp(2.5rem, 5.4vw, 4.5rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; }
.start-title span { color: var(--on-light-soft); }
.start-sub { margin-top: 1.5rem; max-width: 30rem; color: var(--on-light-soft); font-size: clamp(1.1875rem, 1.8vw, 1.375rem); }
.lead { background: var(--grey); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.5rem); scroll-margin-top: 4.5rem; }
.lead-title { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.lead-note { margin-top: 0.5rem; font-size: 1rem; color: var(--on-light-soft); }
.lead-note[data-plan-note] { color: var(--on-light); font-weight: 600; }
.lead form { margin-top: 1.75rem; display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.9375rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--on-light-soft); }
.field input, .field select {
  font: inherit; font-size: 1.0625rem; color: var(--on-light); background: var(--white);
  min-height: 3.25rem; padding: 0.7rem 1rem; border: 1px solid var(--field-edge); border-radius: 12px;
  width: 100%; min-width: 0; color-scheme: light;
  transition: border-color 160ms var(--ease-out);
}
.field select {
  appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #6e6e73 50%), linear-gradient(135deg, #6e6e73 50%, transparent 50%);
  background-position: calc(100% - 1.35rem) 55%, calc(100% - 1rem) 55%;
  background-size: 0.35rem 0.35rem; background-repeat: no-repeat;
}
.field select option { background: var(--white); color: var(--on-light); }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field .err { font-size: 0.875rem; color: var(--error); }
.field .err:empty { display: none; }
.pill--wide { width: 100%; min-height: 3.25rem; font-size: 1.0625rem; margin-top: 0.25rem; }
.pill[disabled] { opacity: 0.5; cursor: progress; }
button.pill { border: 0; cursor: pointer; }
.pill:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.status { font-size: 1rem; line-height: 1.45; font-weight: 600; }
.status:empty { display: none; }
.lead .fine { margin-top: 0; text-align: left; font-size: 0.9375rem; line-height: 1.45; color: var(--on-light-soft-strong); }

/* footer */
.foot-note { font-size: 0.9375rem; color: var(--on-light-soft-strong); }
.site-foot { background: var(--grey); }
.site-foot .wrap { flex-wrap: wrap; }

@media (max-width: 62rem) {
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 47.99rem) {
  .gap-lines, .steps, .start-grid { grid-template-columns: minmax(0, 1fr); }
  .start-copy { position: static; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 0.875rem; }
  .work-item--wide, .work-item--site { grid-column: span 2; }
  .work-item--site { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
  .site-foot .foot-note { flex-basis: 100%; padding-bottom: 1.5rem; }
}
