/* Ameca Auto Electric. Garage palette: signal red, black, shop-floor grey. System fonts only. */
:root {
  --accent: #c1272d;
  --accent-dark: #a01f25;
  --second: #f2b230;
  --paper: #f4f3f0;
  --ink: #17181a;
  --soft: #55585d;
  --line: #d9d7d2;
  --sign: 'Arial Black', Impact, 'Helvetica Neue', sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.55 var(--body); color: var(--ink); background: var(--paper); }
a { color: var(--accent-dark); }
a:hover { color: var(--ink); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  background: var(--accent); color: #fff; font: 700 1.05rem/1.2 var(--body); text-decoration: none;
  border: 2px solid var(--accent); border-radius: 4px; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--small { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn--big { min-height: 64px; padding: 0 28px; font: 900 clamp(1.4rem, 4vw, 1.9rem)/1.1 var(--sign); }

/* Header */
.top { background: #fff; border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.top__name { font: 900 1.05rem/1.1 var(--sign); color: var(--ink); text-decoration: none; margin-right: auto; }
.top__nav { display: flex; gap: 4px; }
.top__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink);
  text-decoration: none; font-weight: 600; }
.top__nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* The sign */
.sign { border-top: 10px solid var(--accent); border-bottom: 10px solid var(--accent); background: var(--paper); }
.sign__in { padding-top: 64px; padding-bottom: 64px; }
.sign h1 { font: 900 clamp(2.8rem, 10vw, 6.5rem)/.95 var(--sign); letter-spacing: -.01em; }
.sign h1 span { display: block; color: var(--accent); }
.sign__line { font-size: 1.3rem; margin: 24px 0 0; max-width: 40ch; }
.today { margin: 18px 0 0; font-size: 1rem; color: var(--soft); }
.status { display: block; font-weight: 700; color: var(--ink); }
.status[hidden] { display: none; }
.sign__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* The board */
.board { background: #fff; border-top: 8px solid var(--ink); padding: 28px 32px 30px; }
.board h2 { font: 700 1rem/1.2 var(--body); color: var(--soft); }
.board__list { list-style: none; margin: 14px 0 0; padding: 0; }
.board__list li { font: 900 clamp(1.5rem, 3.2vw, 2.1rem)/1.15 var(--sign); padding: 18px 0; border-top: 2px solid var(--ink); }
.board__list li:first-child { border-top: 0; padding-top: 6px; }
.board__list li:last-child { padding-bottom: 0; }

/* What we fix: the owner's own three jobs, full width */
.fix { background: #fff; padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
.fix h2, .qa h2 { font: 900 clamp(1.6rem, 4vw, 2.2rem)/1.1 var(--sign); }
.fix__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.fix__list li { font: 900 clamp(1.7rem, 3.4vw, 2.5rem)/1.1 var(--sign); padding: 20px 0 4px; border-top: 6px solid var(--ink); }
.fix__list li:first-child { border-top-color: var(--accent); }

/* Q and A */
.qa { padding: 56px 0 64px; }
.qa__in { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }
.qa__list { margin: 0; }
.qa__list div { padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line); }
.qa__list div:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.qa__list dt { font-weight: 700; font-size: 1.15rem; }
.qa__list dd { margin: 6px 0 0; max-width: 56ch; }

/* Strip: Where / Hours / Call */
.strip { background: var(--ink); color: #fff; }
.strip__in { display: grid; grid-template-columns: 1fr 1.25fr .75fr; }
.strip__cell { padding: 26px 24px 28px 0; }
.strip__cell + .strip__cell { padding-left: 24px; border-left: 1px solid #3a3c40; }
.strip .strip__k { font: 700 .8rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--second); margin-bottom: 8px; }
.strip p { margin: 0; font-size: 1.05rem; }
.strip a { color: #fff; }
.strip__where a { display: inline-block; margin-top: 6px; font-weight: 600; padding: 4px 0; }
.strip .rows div { border-bottom-color: #3a3c40; max-width: 340px; padding: 6px 0; }
.strip .rows dt { font-weight: 600; }
.strip .rows dt, .strip .rows dd { white-space: nowrap; }
.strip .closures { color: var(--second); }
.strip__call a { font: 900 1.3rem/1.3 var(--sign); text-decoration: none; display: inline-block; padding: 6px 0; }

/* Footer: name, address, phone, links */
.foot { background: #fff; border-top: 1px solid var(--line); padding: 44px 0 48px; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.foot p { margin: 0 0 10px; }
.foot__name { font: 900 1.2rem/1.2 var(--sign); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 14px; }
.foot__nav a, .foot__more a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; }
.foot__hours h2 { font: 900 1.2rem/1.2 var(--sign); margin-bottom: 10px; }
.rows { margin: 0; }
.rows div { display: flex; justify-content: space-between; gap: 16px; max-width: 380px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.rows dt { font-weight: 600; }
.rows dd { margin: 0; }
.rows:empty { display: none; }
.today-line:empty { display: none; }
.closures { list-style: none; padding: 0; margin: 0 0 10px; font-weight: 700; color: var(--accent-dark); }
.items { list-style: none; padding: 0; }
.items li[data-sold-out] { opacity: .6; }
.sold-out { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }

/* Inner pages */
.page-head { border-top: 10px solid var(--accent); padding: 56px 0 40px; }
.page-head h1 { font: 900 clamp(2.2rem, 7vw, 4.2rem)/1 var(--sign); }
.page-head p { font-size: 1.2rem; margin: 18px 0 0; max-width: 36ch; }
.page-body { padding: 0 0 64px; }
.page-body p { max-width: 60ch; }
.page-body h2 { font: 900 1.4rem/1.2 var(--sign); margin: 36px 0 12px; }
.board--page { max-width: 560px; margin: 32px 0 8px; }
.page-body .board h2 { font: 700 1rem/1.2 var(--body); margin: 0; }
.page-body > .wrap > p:first-child { margin-top: 0; }
.reach { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border-top: 8px solid var(--ink); }
.reach > div { padding: 28px 32px 32px; }
.reach > div + div { border-left: 1px solid var(--line); }
.reach h2 { margin-top: 0; }
.reach .btn { margin-top: 8px; }
.reach__big { font: 900 clamp(1.6rem, 4vw, 2.2rem)/1.2 var(--sign); margin: 0 0 6px; }

/* Call bar on phones */
.callbar { display: none; }

@media (max-width: 820px) {
  .sign__in { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
  .strip__in { grid-template-columns: 1fr; }
  .strip__cell, .strip__cell + .strip__cell { padding: 18px 0; border-left: 0; }
  .strip__cell + .strip__cell { border-top: 1px solid #3a3c40; }
  .reach { grid-template-columns: 1fr; }
  .fix__list { grid-template-columns: 1fr; }
  .qa__in { grid-template-columns: 1fr; gap: 20px; }
  .strip .rows div { flex-wrap: wrap; gap: 0 16px; }
  .reach { gap: 0; }
  .reach > div + div { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .foot { padding-bottom: 96px; }
  .sign h1 { font-size: clamp(2.8rem, 13.5vw, 6.5rem); }
  .top__in { gap: 8px; }
  .top__name { font-size: .95rem; }
  .top__nav a { padding: 0 6px; font-size: .95rem; }
  .top .btn--small { display: none; }
  .board { padding: 22px 22px 24px; }
  .sign__btns .btn { flex: 1 1 100%; }
  .reach > div { padding: 24px 22px 26px; }
  .callbar { display: flex; align-items: center; justify-content: center; position: fixed; left: 0; right: 0; bottom: 0;
    min-height: 56px; padding-bottom: env(safe-area-inset-bottom); background: var(--accent); color: #fff;
    font: 700 1.1rem/1 var(--body); text-decoration: none; z-index: 10; }
}
