/* Hallmark · shape: shop front, menu board, work wall, statement, visit · genre: editorial · theme: brand · job: hire · hero: full-bleed photograph, head left on the dark side · nav: logo left, words, one call action · footer: the visit block, logo, address, hours line · imagery: photographs · signature: the service menu set like the board on a shop wall, ivory on carbon
 * copy: verbatim (the service menu is Freddie's own board, from his flyer) · axes: dark/paper, condensed display, flat grounds · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, stand-in build photos until Freddie sends his own; the menu, address and car club carry the specificity */
/* Hallmark · waive 38ii · the logo wordmark is italic · the LS Cutlass Factory logo sets its name in a slanted speed face, so the display heads follow the logo */
/* Hallmark · waive 49b · the shop address link · the street and the city sit on two lines on purpose, like the address on the shop flyer */
/* Hallmark · waive 77 · the club statement and the quote form · the Factory Boyz line is one statement set at h2 size, and the quote form sits beside the shop phone and address */
/* Hallmark · answered F4 · the hero pair is one filled quote button and one outlined call button; the call is a real phone line for the shop */
/* taste-skill waivers (business needs, same as Sterling): the real shop phone and street address stay on the page (Google listing must match); dark ground is the client's logo colours */

@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url(fonts/barlow-condensed-latin-800-italic.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/barlow-condensed-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/barlow-latin-600-normal.woff2) format("woff2"); }

:root {
  --carbon: #121416;
  --carbon-deep: #0b0c0d;
  --carbon-raise: #1b1e21;
  --ivory: #f3eddf;
  --ivory-dim: #d9d2c3;
  --red: #a8241f;
  --red-hi: #c8322b;
  --red-text: #ef5a50;
  --steel: #8f9295;
  --steel-on-paper: #5a5d61;
  --line-dark: #2c3034;
  --line-paper: #d6cebd;
  --field: #fbf8f1;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --display-weight: 800;
  --display-tracking: 0;
  --t-h1: clamp(3rem, 7.4vw, 6rem);
  --t-h2: clamp(2.25rem, 4.4vw, 3.75rem);
  --t-h3: 1.5rem;
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --r-btn: 4px;
  --r-box: 4px;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --wrap: 1200px;
  --gap: 24px;

  /* the kit's names (motion layer, moment) read these */
  --bg: var(--carbon);
  --ink: var(--ivory);
  --muted: var(--steel);
  --accent: var(--red-text);
  --action: var(--red);
  --action-ink: var(--ivory);
  --line: var(--line-dark);
  --line-strong: var(--steel);
  --card: var(--carbon-raise);
}

.paper {
  --bg: var(--ivory);
  --ink: var(--carbon);
  --muted: var(--steel-on-paper);
  --accent: var(--red);
  --line: var(--line-paper);
  --line-strong: var(--steel-on-paper);
  --card: var(--ivory);
}

* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; scrollbar-color: var(--steel) var(--carbon-deep); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html { font-synthesis: none; }
body { background: var(--carbon); color: var(--ivory); font-family: var(--font-body); font-size: var(--t-body); line-height: 1.6; caret-color: var(--red-text); }
::selection { background: var(--red); color: var(--ivory); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; }
.paper :focus-visible { outline-color: var(--red); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--s-5)); margin: 0 auto; padding: 0 var(--s-5); }
.skip-link { position: absolute; left: max(var(--s-5), calc(50% - var(--wrap) / 2)); top: -60px; background: var(--ivory); color: var(--carbon); padding: var(--s-2) var(--s-4); z-index: 100; border-radius: var(--r-btn); }
.skip-link:focus-visible { top: var(--s-3); }

h1, h2, h3 { font-family: var(--font-display); font-weight: var(--display-weight); text-transform: uppercase; line-height: 1.0; text-wrap: balance; overflow-wrap: break-word; color: var(--ink); }
h1 { font-size: var(--t-h1); font-style: italic; }
h2 { font-size: var(--t-h2); font-style: italic; }
h3 { font-size: var(--t-h3); line-height: 1.1; font-style: normal; }
p { text-wrap: pretty; }
.lead { font-size: 1.25rem; color: var(--ivory-dim); max-width: 34ch; }
.muted { color: var(--muted); }

/* buttons: the motion layer steps and presses them; page CSS sets colour only */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 48px; padding: var(--s-3) var(--s-5); border-radius: var(--r-btn); border: 2px solid transparent; font-family: var(--font-body); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; }
.btn--primary { background: var(--action); color: var(--action-ink); }
.btn--secondary { background: transparent; color: var(--ink); border-color: color-mix(in oklab, var(--ink) 55%, transparent); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--carbon-deep); border-bottom: 1px solid var(--line-dark); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); height: 76px; }
.nav__logo img { height: 56px; width: auto; }
.nav__links { display: flex; gap: var(--s-6); }
.nav__link { text-decoration: none; font-weight: 600; font-size: 1rem; color: var(--ivory-dim); padding: var(--s-3) 0; }
.nav__link:hover { color: var(--ivory); }
.nav__end { display: flex; align-items: center; gap: var(--s-4); }
.nav__phone { text-decoration: none; font-weight: 600; white-space: nowrap; color: var(--ivory); }
.nav__menu { display: none; background: none; border: 1px solid var(--line-dark); color: var(--ivory); width: 48px; height: 48px; border-radius: var(--r-btn); cursor: pointer; }
.nav__menu svg { width: 22px; height: 22px; }

/* hero: full-bleed '72 Cutlass, car pushed right, the words overlaid on the dark shop wall (the commercial site's overlay, in carbon and red) */
.hero { color: var(--ivory); position: relative; overflow: hidden; background: var(--carbon-deep); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in oklab, var(--carbon-deep) 92%, transparent) 0%, color-mix(in oklab, var(--carbon-deep) 70%, transparent) 42%, color-mix(in oklab, var(--carbon-deep) 35%, transparent) 100%),
    linear-gradient(0deg, var(--carbon) 0%, transparent 22%),
    linear-gradient(0deg, color-mix(in oklab, var(--red) 22%, transparent) 0%, transparent 35%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; }
.hero__copy { max-width: 720px; display: grid; gap: var(--s-5); padding: var(--s-8) 0; }
.hero__copy h1 { font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1.0; text-shadow: 0 2px 24px color-mix(in oklab, var(--carbon-deep) 70%, transparent); }
.hero__stripe { display: flex; gap: var(--s-2); }
.hero__stripe span { display: block; height: 6px; clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%); background: var(--red); color: var(--ivory); }
.hero__stripe span:first-child { width: 96px; }
.hero__stripe span:last-child { width: 32px; background: var(--ivory); }
.hero__copy .lead { font-size: 1.25rem; color: var(--ivory-dim); max-width: 32ch; }
.hero__call { font-size: 1rem; color: var(--ivory-dim); }
.hero__call a { color: var(--ivory); font-weight: 600; }
.hero__fact { font-size: var(--t-small); color: var(--ivory-dim); }

/* sections: one idea per screen */
main > section { min-height: 100svh; padding: var(--s-9) 0; display: flex; align-items: flex-start; }
main > section.hero { padding: 0; display: flex; align-items: center; min-height: calc(100svh - 76px); }
.section-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-7); max-width: 720px; }
.section-head p { color: var(--ink); }
.paper { background: var(--bg); color: var(--ink); }

/* the menu board */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--gap); }
.board__col h3 { padding-bottom: var(--s-3); border-bottom: 3px solid var(--accent); margin-bottom: var(--s-3); }
.board__col p { color: var(--ink); font-size: var(--t-small); margin-bottom: var(--s-4); }
.board ul { list-style: none; }
.board li { padding: var(--s-2) 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.board li.sub { color: var(--muted); font-size: var(--t-small); }
.board__note { margin-top: var(--s-7); font-weight: 600; }

/* the work wall */
.wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.wall a { position: relative; display: block; overflow: hidden; border-radius: var(--r-box); background: var(--carbon-deep); }
.wall a:focus-visible { outline: 3px solid var(--red-text); outline-offset: 3px; }
.wall img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.wall__more { margin-top: var(--s-6); }

/* links */
.link { color: var(--ink); text-decoration: none; font-weight: 600; }

/* statement */
.statement { align-items: center !important; background: var(--carbon-deep); }
.statement .mo-wh__text { color: var(--ink); font-family: var(--font-display); font-weight: var(--display-weight); font-style: italic; font-size: var(--t-h2); line-height: 1.15; max-width: 30ch; text-wrap: balance; }
.statement .mo-wh__text strong { color: var(--accent); font-weight: inherit; }

/* visit */
.visit { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.visit .form { grid-column: span 7; }
.visit .facts { grid-column: 8 / span 5; }
.form { display: grid; gap: var(--s-4); }
.field { display: grid; gap: var(--s-2); font-size: var(--t-small); font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 1rem; color: var(--carbon); background: var(--field); border: 1px solid var(--line-strong); border-radius: var(--r-box); padding: var(--s-3) var(--s-4); min-height: 48px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.form__sms { display: none; color: var(--ink); border-color: color-mix(in oklab, var(--ink) 55%, transparent); }
@media (hover: none) and (pointer: coarse) { .form__sms { display: inline-flex; } }
.form__note { font-size: var(--t-small); color: var(--muted); min-height: 1lh; }
.facts { display: grid; gap: var(--s-5); }
.facts dt { font-size: var(--t-small); color: var(--muted); }
.facts dd { font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; line-height: 1.15; text-transform: uppercase; }
.facts dd a { text-decoration: none; }
.facts dd a:hover { color: var(--accent); }
.facts .link { display: inline-flex; align-items: center; min-height: 44px; }

/* footer */
.closing { border-top: 1px solid var(--line-dark); padding: var(--s-7) 0; background: var(--carbon-deep); color: var(--steel); font-size: var(--t-small); }
.closing .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-5); }
.closing img { height: 64px; width: auto; }
.closing a { color: var(--ivory-dim); }

.callbar { display: none; }

@media (max-width: 980px) {
  .hero__copy { max-width: none; }
  .nav__links, .nav__phone { display: none; }
  .nav__menu { display: inline-grid; place-items: center; }
  .nav.is-open .nav__links { display: grid; position: absolute; top: 76px; left: 0; right: 0; background: var(--carbon-deep); padding: var(--s-5); gap: var(--s-2); border-bottom: 1px solid var(--line-dark); }
  .nav.is-open .nav__link { padding: var(--s-3) 0; font-size: 1.25rem; }
  .board { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .visit .form, .visit .facts { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .nav__end .btn { display: none; }
  .btn-row .btn { width: 100%; }
  main > section { min-height: auto; padding: var(--s-8) 0; }
  main > section.hero { min-height: calc(100svh - 76px); }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .wall { grid-template-columns: minmax(0, 1fr); }
  .wall img { aspect-ratio: 4 / 3; }
  body { padding-bottom: 80px; }
  .callbar { display: block; position: fixed; inset: auto 0 0 0; z-index: 60; padding: var(--s-2) var(--s-4); background: var(--carbon-deep); border-top: 1px solid var(--line-dark); }
  .callbar .btn { width: 100%; }
}
