/* Reboot Tech & Mobile — one system for every page.
   Tokens first; components follow in page order. */

:root {
  /* colour: the logo's red and white. Neutral greys only for text and surfaces.
     --red-logo is the exact logo red (#FD0100). --red is the same red one step
     deeper, so white text on it passes 4.5:1; it fills buttons and red bands. */
  --bg: #ffffff;
  --surface: #f5f5f5;
  --surface-2: #ebebeb;
  --ink: #141414;
  --ink-2: #3b3b3b;
  --muted: #636363;
  --line: rgb(20 20 20 / 0.12);
  --line-strong: rgb(20 20 20 / 0.24);
  --red-logo: #fd0100;
  --red: #eb0000;
  --red-press: #c40000;
  --red-tint: #fff0f0;
  --red-ink: #ffffff;
  --inv-bg: var(--red);
  --inv-surface: #ffffff;
  --inv-ink: #ffffff;
  --inv-muted: #ffffff;
  --inv-quiet: #3a0000;
  --inv-line: rgb(255 255 255 / 0.4);

  /* type: Rethink Sans, display at 400 with tight tracking */
  --font: "Rethink Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-h1: clamp(2.375rem, 1.35rem + 3.9vw, 4.5rem);
  --t-h2: clamp(1.875rem, 1.35rem + 1.9vw, 3rem);
  --t-h2-sm: clamp(1.5rem, 1.25rem + 0.9vw, 2rem);
  --t-moment: clamp(3rem, 1.2rem + 7vw, 7.25rem);
  --t-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --t-card: 1.125rem;
  --t-body: 1rem;
  --t-small: 0.875rem;
  --t-label: 0.8125rem;
  --track-display: -0.03em;

  /* space: 4 8 12 16 24 32 48 64 96 128 */
  --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; --s-10: 128px;
  --gut: 80px;
  --nav: 72px;
  --section: clamp(56px, 2.5rem + 3.5vw, 104px);
  --head-gap: clamp(var(--s-6), 1.25rem + 1.25vw, 40px);

  /* shape */
  --r-frame: 16px;
  --r-ctl: 10px;
  --btn-h: 48px;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms;
  --t-mid: 320ms;

  --bar: 0px;
  color-scheme: light;
}

@media (max-width: 1023px) { :root { --gut: 48px; } }
@media (max-width: 639px) {
  :root { --gut: 24px; --nav: 60px; --bar: calc(72px + env(safe-area-inset-bottom)); --section: 44px; }
}
@media (max-width: 374px) { :root { --section: 40px; } }

/* ---------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--t-body)/1.6 var(--font);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--bar);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgb(235 0 0 / 0.16); color: var(--ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
html { scrollbar-color: var(--line-strong) transparent; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { width: min(100% - 2 * var(--gut), 1280px); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gut), 760px); }
.muted { color: var(--muted); }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* ---------------------------------------------------------------- icons */

.i { flex: none; display: block; }
.i-wa {
  flex: none; display: block; width: 20px; height: 20px;
  background: currentColor;
  -webkit-mask: url("/img/icons/whatsapp-mask.svg") center / contain no-repeat;
  mask: url("/img/icons/whatsapp-mask.svg") center / contain no-repeat;
}
.brand__logo { display: block; height: 28px; width: auto; }
.brand__lockup { display: block; height: clamp(64px, 6vw, 88px); width: auto; }
@media (max-width: 639px) { .brand__logo { height: 21px; } }

/* ---------------------------------------------------------------- buttons and links */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--r-ctl);
  font-size: 1rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.005em;
  white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease, color var(--t-fast) ease, transform var(--t-fast) ease;
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--primary { background: var(--red); color: var(--red-ink); }
.btn--primary:hover { background: var(--red-press); }
/* Every clickable action is red: outline buttons and arrow links take --cta, the
   site red (#eb0000, 4.6:1 on white). On the grey panels the same red one step
   deeper (#c40000, 5.4:1 on grey), because #eb0000 there is 4.2:1; on red and on
   ink they stay white (the hero and inverse rules below). */
:root { --cta: var(--red); }
.section--surface, .contact__form, .quote__aside, .qdone, .offer__link { --cta: var(--red-press); }
.btn--secondary { background: transparent; color: var(--cta); border-color: var(--cta); }
.btn--secondary:hover { border-color: var(--red); background: var(--red); color: var(--red-ink); }
.btn [data-arrow] { transition: transform var(--t-fast) var(--ease-out); }
.btn:hover [data-arrow] { transform: translateX(3px); }
/* a full-width button may wrap its label onto two lines rather than push past a
   narrow screen ("Ask about this phone on WhatsApp" at 320px) */
.btn--block { width: 100%; white-space: normal; text-align: center; padding-block: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--cta);
  min-height: 44px;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0 1px no-repeat;
  transition: background-size var(--t-mid) var(--ease-out);
}
.link-arrow:hover { background-size: calc(100% - 28px) 1px; }
.link-arrow .i { width: 18px; height: 18px; transition: transform var(--t-fast) var(--ease-out); }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------------------------------------------------------------- header */

.skip-link {
  position: absolute; left: var(--gut); top: 8px; z-index: 30;
  padding: 10px 16px; border-radius: var(--r-ctl);
  background: var(--ink); color: #fff; font-weight: 500;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.nav {
  position: fixed; inset: 0 0 auto; z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav__bar { height: var(--nav); display: flex; align-items: center; gap: var(--s-6); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.nav__links { margin-left: auto; }
.nav__links ul { display: flex; gap: var(--s-1); }
.nav__links a {
  position: relative; display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 14px;
  font-size: 0.9375rem; font-weight: 500; color: var(--ink-2);
  transition: color var(--t-fast) ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-mid) var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); background: var(--red); }
.nav__actions { display: flex; align-items: center; gap: var(--s-3); }
.nav__cta { min-height: 44px; }
.nav__toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--bg);
}
.nav__toggle-close { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-open { display: none; }
.nav__toggle[aria-expanded="true"] .nav__toggle-close { display: block; }

.sheet {
  position: fixed; inset: var(--nav) 0 0; z-index: 19;
  background: var(--bg); overflow-y: auto;
  animation: sheet-in var(--t-mid) var(--ease-out);
}
.sheet[hidden] { display: none; }
.sheet__inner { display: flex; flex-direction: column; min-height: 100%; padding-block: var(--s-4) calc(var(--s-6) + env(safe-area-inset-bottom)); }
.sheet__links a {
  display: flex; align-items: center; min-height: 60px;
  font-size: 1.75rem; letter-spacing: var(--track-display);
  border-bottom: 1px solid var(--line);
}
.sheet__links a[aria-current="page"] { color: var(--red); }
.sheet__foot { margin-top: auto; padding-top: var(--s-7); display: grid; gap: var(--s-4); }
.sheet__addr a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; color: var(--ink-2); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 1023px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__toggle { display: inline-flex; }
}
@media (max-width: 639px) {
  .nav__cta { display: none; }
}
html.menu-open { overflow: hidden; }

/* ---------------------------------------------------------------- sections */

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 2rem + 2vw, 72px); }
.section--flush-top { padding-top: 0; }
.section--surface { background: var(--surface); }
.section--inverse { background: var(--inv-bg); color: var(--inv-ink); }
.section--inverse .muted { color: var(--inv-quiet); }
.section--inverse :focus-visible, .footer :focus-visible { outline-color: #fff; }
.section--inverse ::selection, .footer ::selection { background: #fff; color: var(--red); }
.section--inverse .link-arrow { color: var(--inv-ink); }

.section-title {
  font-size: var(--t-h2); font-weight: 400; line-height: 1.06;
  letter-spacing: var(--track-display);
  max-width: 22ch;
}
.section-title--sm { font-size: var(--t-h2-sm); line-height: 1.15; max-width: none; }
/* Section header: the heading on columns 1-7, the side block (a line and/or a
   link) on the split line at column 8, the same line the hero text uses, with
   both bottoms level. Stacked below 1024px. */
.head-row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: var(--s-4);
  align-items: end; margin-bottom: var(--head-gap);
}
.head-row .section-title { grid-column: 1 / span 7; max-width: 24ch; }
.head-row__side { grid-column: 8 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: 46ch; }
@media (max-width: 1023px) {
  .head-row { grid-template-columns: minmax(0, 1fr); }
  .head-row .section-title, .head-row__side { grid-column: 1; }
}
.head-row__side p { color: var(--muted); }
.section--inverse .head-row__side p { color: var(--inv-muted); }

.frame {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--r-frame); background: var(--surface);
}
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
a.frame:hover img, a:hover > .frame img, .cat:hover .frame img { transform: scale(1.03); }

/* ---------------------------------------------------------------- hero */

/* The client's banner (two iPhones on red) fills the hero. On desktop the text
   block sits over the plain red on the left, clear of the phones, which begin
   about 53% across the image. Below 1024px the text sits on the same red and the
   image follows, cropped to the two phones, so no text ever crosses them.
   On red, text is white: #fff on --hero-red is 5.7:1. */
.hero {
  --hero-red: #c9183a; /* sampled from the image's plain red field */
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: var(--nav);
  background: var(--hero-red); color: #fff;
}
.hero__media img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center;
  /* the image's 16:9 height, kept within the first screen; 580px keeps both phones whole */
  min-height: max(580px, min(56.25vw, calc(100svh - var(--nav))));
  padding-block: clamp(40px, 5vw, 72px);
}
.hero__text { grid-column: 1 / span 6; display: grid; gap: var(--s-5); justify-items: start; }
.hero__title { font-size: min(var(--t-h1), 4.6vw); font-weight: 400; line-height: 1.02; letter-spacing: -0.035em; }
.hero__lead { font-size: var(--t-lead); line-height: 1.5; color: #fff; max-width: 46ch; }
.hero__text .btn-row { margin-top: var(--s-2); }

/* buttons on red: the main action turns white with red text (4.65:1), the second
   becomes a white outline */
.hero .btn--primary { background: #fff; color: var(--red); }
.hero .btn--primary:hover { background: var(--red-tint); }
.hero .btn--secondary { color: #fff; border-color: rgb(255 255 255 / 0.7); }
.hero .btn--secondary:hover { border-color: #fff; background: rgb(255 255 255 / 0.12); }
.hero :focus-visible { outline-color: #fff; }
.hero ::selection { background: #fff; color: var(--red); }

@media (max-width: 1023px) {
  .hero { display: flex; flex-direction: column; }
  .hero__grid { order: 1; min-height: 0; padding-block: var(--s-7) var(--s-5); }
  .hero__text { grid-column: 1 / -1; max-width: 600px; }
  .hero__title { font-size: var(--t-h1); }
  /* the image below the text, cropped to the two phones on the right */
  .hero__media { order: 2; display: block; aspect-ratio: 4 / 3; }
  .hero__media img { position: static; object-position: 100% 50%; }
}
@media (max-width: 639px) {
  .hero__grid { padding-block: var(--s-5) var(--s-4); }
  .hero__text .btn-row { flex-direction: column; width: 100%; margin-top: 0; }
  .hero__text .btn { width: 100%; }
  /* the paragraph reads as the headline's second line, the buttons follow a step apart */
  .hero__title + .hero__lead { margin-top: calc(-1 * var(--s-2)); }
}

/* entrance: once, on load, from an already-visible default */
@media (prefers-reduced-motion: no-preference) {
  [data-enter] { animation: enter 900ms var(--ease-out) both; }
  @keyframes enter { from { opacity: 0.001; transform: translateY(14px); } }
}

/* ---------------------------------------------------------------- categories */

.cats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto auto; gap: 24px;
}
.cat { display: flex; flex-direction: column; gap: var(--s-4); }
.cat--lead { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.cat__media { aspect-ratio: 4 / 3; }
.cat--lead .cat__media { aspect-ratio: auto; flex: 1 1 0; min-height: 320px; }
.cat--lead .cat__media img { position: absolute; inset: 0; }
.cat__text { display: flex; align-items: baseline; gap: var(--s-3); }
.cat__name { font-size: var(--t-card); font-weight: 500; letter-spacing: -0.01em; }
.cat--lead .cat__name { font-size: 1.5rem; letter-spacing: -0.02em; font-weight: 400; }
.cat__count { color: var(--muted); font-size: var(--t-small); }
.cat__text .i { margin-left: auto; align-self: center; transition: transform var(--t-fast) var(--ease-out); }
.cat:hover .cat__text .i { transform: translateX(3px); }
.cat:hover .cat__name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

@media (max-width: 1023px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat--lead { grid-column: 1 / -1; grid-row: auto; }
  .cat--lead .cat__media { aspect-ratio: 16 / 9; min-height: 0; flex: none; }
}
@media (max-width: 639px) {
  .cats { gap: 20px 12px; }
  .cat--lead .cat__media { aspect-ratio: 4 / 3; }
  .cat__media { aspect-ratio: 1; }
  .cat__text { flex-wrap: wrap; gap: 2px 8px; }
  .cat__text .i { display: none; }
}

/* ---------------------------------------------------------------- product cards */

.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1023px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-products--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .grid-products, .grid-products--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

.pcard { min-width: 0; }
.pcard[hidden] { display: none; }
.pcard__link {
  display: flex; flex-direction: column; height: 100%;
  border-radius: var(--r-frame); background: var(--bg);
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out);
}
.section--surface .pcard__link { background: var(--bg); }
.pcard__link:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -18px rgb(23 23 26 / 0.35); }
.pcard__media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-frame) var(--r-frame) 0 0; background: var(--surface-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.pcard__link:hover .pcard__media img { transform: scale(1.03); }
.pcard__body { display: grid; gap: 2px; padding: var(--s-4) var(--s-4) var(--s-5); }
.pcard__brand { font-size: var(--t-label); font-weight: 500; color: var(--muted); }
.pcard__name { font-size: var(--t-card); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.pcard__meta { font-size: var(--t-small); color: var(--muted); }
.pcard__price { margin-top: var(--s-3); font-size: 0.9375rem; font-weight: 500; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.pcard__stock, .pd__stock { font-size: var(--t-small); font-weight: 400; color: var(--ink-2); }
.pcard__stock::before, .pd__stock::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; background: #1d8a4a; vertical-align: 1px; }
[data-stock="sold-out"]::before { background: var(--muted); }
[data-stock="order"]::before { background: #b26a00; }
/* card on a white section sits on the stone surface */
.section:not(.section--surface) .pcard__link, .shop .pcard__link { background: var(--surface); }
.section:not(.section--surface) .pcard__media, .shop .pcard__media { background: var(--surface-2); }
@media (max-width: 639px) {
  /* the body fills the card and the price sits on its floor, so cards of one
     height line their prices up without a blank line under a short name */
  .pcard__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: var(--s-3) var(--s-3) var(--s-4); }
  .pcard__name { font-size: 1rem; }
  .pcard__price { margin-top: auto; padding-top: var(--s-3); white-space: nowrap; }
  /* the four-card showcase: every row as tall as the tallest */
  .grid-products--4 { grid-auto-rows: 1fr; }
}
@media (max-width: 374px) {
  /* 128px cards: "Samsung Galaxy" and "Price on request" each fit one line,
     and the specs wrap inside the card instead of running to its edge */
  .pcard__body { padding-inline: 10px; }
  .pcard__name { font-size: 0.875rem; }
  .pcard__meta { font-size: var(--t-label); }
  .pcard__meta .nowrap { white-space: normal; }
  .pcard__price { font-size: 0.875rem; }
}

/* ---------------------------------------------------------------- split: why */

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.split__media { grid-column: 1 / span 6; min-height: 440px; }
.split__text { grid-column: 8 / span 5; display: grid; gap: var(--s-6); align-content: start; }
.reasons { display: grid; }
.reasons li { padding-block: var(--s-5); border-top: 1px solid var(--line); display: grid; gap: var(--s-2); }
.reasons li:last-child { border-bottom: 1px solid var(--line); }
.reasons h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.015em; }
.reasons p { color: var(--ink-2); }
@media (max-width: 1023px) {
  .split__media { grid-column: 1 / -1; aspect-ratio: 16 / 10; min-height: 0; order: 2; }
  .split__text { grid-column: 1 / -1; }
}
@media (max-width: 639px) { .split__media { aspect-ratio: 4 / 3; } }
/* home "why": the store photograph beside the reasons, then four points in one row
   across the full width, each with a white icon on a red tile on the surface grey
   (white on --red is 4.6:1). Stacked below 1024px: the heading leads, then the
   photograph, the reasons and the points (two across, then one on phones). */
.why__photo img { object-position: 50% 35%; }
.perks { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-5); }
.perk {
  display: grid; gap: var(--s-2); align-content: start;
  padding: var(--s-5); border-radius: var(--r-frame); background: var(--surface);
}
.perk__icon {
  width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: var(--s-2);
  border-radius: 12px; background: var(--red); color: #fff;
}
.perk__icon .i { width: 22px; height: 22px; }
.perk h3 { font-size: var(--t-card); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.perk p { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.55; }
@media (max-width: 1023px) {
  .split--why .split__text { display: contents; }
  .split--why .split__text > * { grid-column: 1 / -1; }
  .split--why .reasons { order: 3; }
  .perks { order: 4; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--s-2); }
}
@media (max-width: 639px) {
  .split--why .why__photo { aspect-ratio: 3 / 2; }
  .why__photo img { object-position: 50% 30%; }
  /* the points become rows: the icon beside its title and line */
  .perks { grid-template-columns: 1fr; gap: var(--s-3); }
  .perk { grid-template-columns: 44px minmax(0, 1fr); column-gap: var(--s-4); row-gap: 2px; padding: var(--s-4); }
  .perk__icon { grid-row: span 2; margin-bottom: 0; }
  .reasons li { padding-block: var(--s-4); gap: var(--s-1); }
  .reasons h3 { font-size: 1.125rem; }
  /* body text at the phone size the repairs and process lists use */
  .reasons p { font-size: 0.9375rem; line-height: 1.55; }
}

.prose { display: grid; gap: var(--s-4); }
.prose p { color: var(--ink-2); max-width: 62ch; }
.prose h2 { font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em; margin-top: var(--s-5); }
.prose .section-title { margin-top: 0; font-size: var(--t-h2); }

/* ---------------------------------------------------------------- brands */

.brands { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.brands li + li { border-left: 1px solid var(--line); }
.brands a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  min-height: 112px; padding: var(--s-5) var(--s-5) var(--s-5) 0;
  flex-wrap: wrap; align-content: center;
  font-size: clamp(1.75rem, 1rem + 1.6vw, 2.75rem); letter-spacing: var(--track-display); line-height: 1;
  transition: color var(--t-fast) ease;
}
.brands li + li a { padding-left: var(--s-5); }
.brands a .i { opacity: 0; transform: translateX(-6px); transition: opacity var(--t-fast) ease, transform var(--t-mid) var(--ease-out); color: var(--red); }
.brands a:hover { color: var(--red); }
.brands a:hover .i, .brands a:focus-visible .i { opacity: 1; transform: none; }
@media (max-width: 1023px) {
  .brands { grid-template-columns: 1fr; }
  .brands li + li { border-left: 0; }
  .brands li { border-bottom: 1px solid var(--line); }
  .brands a, .brands li + li a { min-height: 80px; padding: var(--s-4) 0; }
  .brands a .i { opacity: 1; transform: none; color: var(--muted); }
}

/* ---------------------------------------------------------------- audio band */

.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.feature__media { grid-column: 1 / span 7; min-height: 480px; background: var(--inv-surface); }
.rows-products { grid-column: 8 / span 5; display: flex; flex-direction: column; border-top: 1px solid var(--inv-line); }
.rows-products li { border-bottom: 1px solid var(--inv-line); flex: 1; display: flex; }
.rows-products a { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4) 0; width: 100%; }
.rows-products__thumb { width: 88px; height: 88px; flex: none; overflow: hidden; border-radius: 12px; background: var(--inv-surface); }
.rows-products__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.rows-products__text { display: grid; gap: 2px; min-width: 0; }
.rows-products__name { font-size: var(--t-card); font-weight: 500; letter-spacing: -0.01em; }
.rows-products__sum { font-size: var(--t-small); color: var(--inv-ink); line-height: 1.45; }
.rows-products a > .i { margin-left: auto; color: var(--inv-ink); transition: transform var(--t-fast) var(--ease-out), color var(--t-fast) ease; }
.rows-products a:hover > .i { transform: translateX(3px); color: var(--inv-ink); }
.rows-products a:hover .rows-products__thumb img { transform: scale(1.05); }
.rows-products a:hover .rows-products__name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 1023px) {
  .feature__media { grid-column: 1 / -1; min-height: 0; aspect-ratio: 16 / 9; }
  .rows-products { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .rows-products__thumb { width: 72px; height: 72px; }
  .rows-products a > .i { display: none; }
}

/* ---------------------------------------------------------------- visit */

.type-moment {
  margin-top: var(--s-5);
  font-size: var(--t-moment); line-height: 0.98; letter-spacing: -0.04em; font-weight: 400;
}
.type-moment a {
  background: linear-gradient(var(--red), var(--red)) 0 100% / 0 4px no-repeat;
  transition: background-size 600ms var(--ease-out);
  padding-bottom: 0.06em;
}
.type-moment a:hover { background-size: 100% 4px; }
.visit__cols {
  margin-top: var(--s-7); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-6) 24px;
  border-top: 1px solid var(--line-strong); padding-top: var(--s-6);
}
.visit__col { display: grid; gap: var(--s-3); align-content: start; }
.visit__label { font-size: var(--t-label); font-weight: 500; color: var(--muted); letter-spacing: 0; }
.visit__value { font-size: 1.0625rem; line-height: 1.55; max-width: 32ch; }
.contact-list { display: grid; gap: 2px; }
.contact-list a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 1.0625rem; }
.contact-list a:hover span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.hours { display: grid; gap: 6px; }
/* a time range never breaks; where the column is too narrow for day and time side
   by side, the time drops under its day. Every label starts from the same width
   (about "Monday – Friday"), so all rows switch together, never one of each. */
.hours__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px var(--s-3); font-variant-numeric: tabular-nums; }
.hours dt { flex: 1 0 7.75em; color: var(--ink-2); }
.hours dd { white-space: nowrap; }
@media (max-width: 639px) {
  /* the heading leads; the street is given once, in the address column */
  .visit .type-moment { display: none; }
  .visit__cols { margin-top: var(--s-5); padding-top: var(--s-5); row-gap: var(--s-5); }
  /* the quote link becomes the same full-width red button as the hero's */
  .visit__cta {
    justify-content: center; gap: 10px; width: 100%; min-height: var(--btn-h); padding: 0 22px; margin-top: var(--s-2);
    border-radius: var(--r-ctl); background: var(--red); color: var(--red-ink); line-height: 1.2;
    transition: background-color var(--t-fast) ease;
  }
  .visit__cta:hover { background: var(--red-press); }
}

/* ---------------------------------------------------------------- page heads, crumbs */

.page-head { padding-top: calc(var(--nav) + clamp(32px, 4vw, 64px)); padding-bottom: clamp(40px, 5vw, 72px); }
.page-head--404 { min-height: 70svh; }
.page-title { font-size: var(--t-h1); font-weight: 400; line-height: 1.02; letter-spacing: -0.035em; max-width: 18ch; }
.page-lead { margin-top: var(--s-5); font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); max-width: 58ch; }
.page-head--404 .btn-row { margin-top: var(--s-6); }
.crumbs { margin-bottom: var(--s-5); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; font-size: var(--t-small); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line-strong); }
.crumbs a { display: inline-block; padding-block: 11px; color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { padding-block: 11px; }

/* ---------------------------------------------------------------- shop */

.shop { padding-bottom: var(--section); }
.toolbar { display: grid; gap: var(--s-5); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px 2px; }
.tab { position: relative; }
.tab input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tab span:first-of-type {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  border-radius: var(--r-ctl); font-weight: 500; color: var(--ink-2);
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease;
}
.tab__n { font-size: var(--t-label); color: var(--muted); font-weight: 400; font-variant-numeric: tabular-nums; }
.tab:hover span:first-of-type { background: var(--surface); color: var(--ink); }
.tab input:checked + span { background: var(--red); color: #fff; }
.tab input:checked + span .tab__n { color: #fff; }
.tab input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.toolbar__fields { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: end; }

.field { display: grid; gap: 6px; }
.field label, .picker legend { font-size: var(--t-small); font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--bg);
  font-size: 1rem; line-height: 1.4;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  appearance: none; padding-right: 40px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317171a' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(235 0 0 / 0.25); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.field__error { font-size: var(--t-small); color: #b3141a; }
.field--inline { min-width: 200px; }
.field--search { flex: 1; min-width: 240px; max-width: 420px; }
.search { position: relative; display: block; }
.search .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { padding-left: 44px; }
.results-count { margin: var(--s-5) 0; font-size: var(--t-small); color: var(--muted); }
.empty { padding: var(--s-9) 0; display: grid; gap: var(--s-4); justify-items: start; max-width: 560px; }
.empty[hidden] { display: none; }
.empty h2 { font-size: var(--t-h2-sm); font-weight: 400; letter-spacing: -0.02em; }
.empty p { color: var(--ink-2); }
@media (max-width: 639px) {
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab span:first-of-type { white-space: nowrap; }
  .field--inline, .field--search { min-width: 0; flex: 1 1 100%; max-width: none; }
}

/* ---------------------------------------------------------------- product detail */

.pd { padding-top: calc(var(--nav) + var(--s-5)); padding-bottom: var(--s-9); }
.pd__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.pd__gallery { grid-column: 1 / span 7; display: grid; gap: var(--s-3); min-width: 0; }
.pd__main { aspect-ratio: 4 / 5; max-height: calc(100svh - var(--nav) - 120px); width: 100%; }
.pd__main img { transition: opacity 240ms ease, transform 700ms var(--ease-out); }
.pd__main img.is-swapping { opacity: 0; }
.thumbs { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.thumb {
  width: 80px; height: 80px; padding: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  transition: border-color var(--t-fast) ease;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { border-color: var(--ink-2); }
.thumb[aria-pressed="true"] { border: 2px solid var(--red); }
.pd__info { grid-column: 9 / span 4; min-width: 0; display: grid; gap: var(--s-4); position: sticky; top: calc(var(--nav) + var(--s-5)); }
.pd__brand { font-size: var(--t-small); font-weight: 500; color: var(--muted); }
.pd__title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 400; line-height: 1.05; letter-spacing: var(--track-display); }
.pd__summary { font-size: 1.0625rem; color: var(--ink-2); }
.pd__price { font-size: 1.25rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.pd__form { display: grid; gap: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); margin-top: var(--s-2); }
.picker { display: grid; gap: var(--s-3); }
.picker legend { padding: 0; margin-bottom: var(--s-3); }
.picker__value { color: var(--muted); font-weight: 400; margin-left: 6px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.swatch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.swatch__dot {
  width: 32px; height: 32px; border-radius: 50%; background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgb(23 23 26 / 0.18);
  outline: 2px solid transparent; outline-offset: 3px;
  transition: outline-color var(--t-fast) ease, transform var(--t-fast) ease;
}
.swatch:hover .swatch__dot { transform: scale(1.06); }
.swatch input:checked + .swatch__dot { outline-color: var(--red); }
.swatch input:focus-visible + .swatch__dot { outline-color: var(--red); }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.option { position: relative; }
.option input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.option span {
  display: flex; align-items: center; justify-content: center; min-height: 48px;
  border: 1px solid var(--line-strong); border-radius: var(--r-ctl);
  font-weight: 500; font-variant-numeric: tabular-nums;
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.option:hover span { border-color: var(--ink-2); }
.option input:checked + span { border: 2px solid var(--red); background: var(--red-tint); }
.option input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.pd__actions { display: grid; gap: var(--s-3); }
.pd__note { font-size: var(--t-small); color: var(--muted); min-height: 1.4em; }
.pd__assure { display: grid; gap: 8px; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.pd__assure li { display: flex; gap: 10px; align-items: center; font-size: var(--t-small); color: var(--ink-2); }
.pd__assure .i { width: 18px; height: 18px; color: var(--ink); }
.pd__details { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-7) 24px; border-top: 1px solid var(--line); padding-top: var(--s-8); }
.pd__details > :first-child { grid-column: 1 / span 5; display: grid; gap: var(--s-4); align-content: start; }
.pd__details > :last-child { grid-column: 7 / span 6; display: grid; gap: var(--s-4); align-content: start; }
.pd__desc { font-size: 1.0625rem; color: var(--ink-2); max-width: 52ch; }
.specs { border-top: 1px solid var(--line-strong); }
.specs__row { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: var(--s-4); padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 500; }
.specs__note { font-size: var(--t-small); color: var(--muted); }
@media (max-width: 1023px) {
  .pd__gallery, .pd__info { grid-column: 1 / -1; }
  .pd__info { position: static; }
  .pd__main { max-height: none; aspect-ratio: 1; }
  .pd__details > :first-child, .pd__details > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .pd__main { aspect-ratio: 4 / 5; }
  .thumb { width: 64px; height: 64px; }
  .specs__row { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------------------------------------------------------------- about */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps li { display: grid; gap: var(--s-3); align-content: start; padding-top: var(--s-5); border-top: 2px solid var(--red); }
.steps h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -0.015em; }
.steps p { color: var(--ink-2); }
@media (max-width: 1023px) { .steps { grid-template-columns: 1fr; gap: var(--s-6); } }
.close { display: grid; gap: var(--s-5); justify-items: start; }
.close__line { font-size: var(--t-lead); color: var(--ink-2); }

/* ---------------------------------------------------------------- contact */

.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-7) 24px; align-items: start; }
.contact__info { grid-column: 1 / span 4; display: grid; gap: var(--s-7); }
.contact__block { display: grid; gap: var(--s-3); justify-items: start; }
.contact__addr { font-size: 1.5rem; line-height: 1.3; letter-spacing: -0.02em; margin-bottom: var(--s-2); }
.contact__addr a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.contact__form { grid-column: 6 / span 7; background: var(--surface); border-radius: var(--r-frame); padding: clamp(24px, 4vw, 48px); display: grid; gap: var(--s-6); scroll-margin-top: calc(var(--nav) + 16px); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-4); }
.field--full { grid-column: 1 / -1; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-6); }
.form__hint { font-size: var(--t-small); color: var(--muted); }
.form__status { margin-top: var(--s-4); font-size: 0.9375rem; color: var(--ink); }
.form__status:empty { display: none; }
.form__status[data-tone="error"] { color: #b3141a; }
@media (max-width: 1023px) {
  .contact__info, .contact__form { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .form__grid { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
}

.credits { display: grid; gap: var(--s-3); margin-block: var(--s-4); }
.credits li { display: grid; padding-bottom: var(--s-2); border-bottom: 1px solid var(--line); }
/* each photograph's link is a full 44px row, easy to tap on a phone */
.credits li > a { display: block; padding-block: 9px; font-weight: 500; }
.credits span { font-size: var(--t-small); color: var(--muted); }
.prose a, .credits a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- footer */

.footer { background: var(--inv-bg); color: var(--inv-ink); padding-block: var(--s-8) var(--s-6); }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.footer__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-7) 24px; padding-bottom: var(--s-8); }
.footer__brand { grid-column: 1 / span 5; display: grid; gap: var(--s-5); align-content: start; }
.footer__addr { font-size: 1.25rem; line-height: 1.45; letter-spacing: -0.01em; }
.footer__col { grid-column: span 2; display: grid; gap: var(--s-4); align-content: start; }
.footer__col:nth-of-type(2) { grid-column: 7 / span 2; }
.footer__head { font-size: var(--t-label); font-weight: 500; color: var(--inv-ink); }
.footer__col ul { display: grid; }
.footer__col a { display: inline-flex; align-items: center; min-height: 44px; color: var(--inv-ink); }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); align-items: center; padding-top: var(--s-5); border-top: 1px solid var(--inv-line); font-size: var(--t-small); color: var(--inv-muted); }
.footer__legal ul { display: flex; gap: var(--s-5); }
.footer__legal a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__tm { margin-left: auto; }

/* business hours and "Follow us" under the address: white on the red, side by
   side where they fit, stacked where they do not. The icons sit in 44px white
   outline circles that fill white (icon turning red) on hover; focus is the
   footer's white ring, fitted to the circle. */
.footer__meta { display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-7); margin-top: var(--s-2); }
.footer__hours, .footer__follow { display: grid; gap: var(--s-3); align-content: start; }
.footer__times { display: grid; gap: 6px; font-variant-numeric: tabular-nums; }
.footer__times div { display: flex; flex-wrap: wrap; column-gap: var(--s-4); }
.footer__times dt { min-width: 8.5em; font-weight: 500; }
.footer__times dd { white-space: nowrap; }
.social { display: flex; gap: var(--s-3); }
.social__link {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgb(255 255 255 / 0.6); color: #fff;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out);
}
.footer .social__link:hover { background: #fff; color: var(--red); border-color: #fff; text-decoration: none; transform: translateY(-1px); }
.social__link:focus-visible { outline-offset: 3px; border-radius: 50%; }
.social__link .i, .social__link .i-wa { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .footer .social__link:hover { transform: none; } }

@media (max-width: 1023px) {
  .footer__brand { grid-column: 1 / -1; }
  .footer__col, .footer__col:nth-of-type(2) { grid-column: span 4; }
}
@media (max-width: 639px) {
  .footer { padding-block: var(--s-6) var(--s-5); }
  /* Repairs over Contact on the left, Shop beside them: no row for a single link */
  .footer__top { row-gap: var(--s-5); padding-bottom: var(--s-6); }
  .footer__brand { margin-bottom: var(--s-2); }
  .footer__col, .footer__col:nth-of-type(2) { grid-column: 1 / span 6; gap: var(--s-2); }
  .footer__col:nth-of-type(3) { grid-column: 7 / span 6; grid-row: 2 / span 2; }
  .footer__col:last-child { grid-column: 1 / span 6; grid-row: 3; }
  .footer__legal { row-gap: 0; padding-top: var(--s-4); }
  .footer__tm { margin-left: 0; }
  /* the icons sit at the right of the "Business hours" heading, the hours run full
     width under both; "Follow us" stays for screen readers only */
  .footer__meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-4); row-gap: var(--s-3); align-items: center; }
  .footer__hours { display: contents; }
  .footer__hours .footer__head { grid-column: 1; grid-row: 1; }
  .footer__times { grid-column: 1 / -1; grid-row: 2; }
  .footer__follow { grid-column: 2; grid-row: 1; }
  .footer__follow .footer__head {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .social { gap: var(--s-2); }
}

/* ---------------------------------------------------------------- phone action bar */

.actionbar { display: none; }
@media (max-width: 639px) {
  .actionbar {
    display: block; position: fixed; inset: auto 0 0; z-index: 18;
    padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
    background: var(--bg); border-top: 1px solid var(--line);
    transition: transform var(--t-mid) var(--ease-out), visibility 0s;
  }
  .js .actionbar.is-hidden { transform: translateY(100%); visibility: hidden; transition: transform var(--t-mid) var(--ease-out), visibility 0s var(--t-mid); }
}

/* ---------------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .pcard__link:hover, .frame img, a.frame:hover img, .pcard__link:hover .pcard__media img { transform: none !important; }
}
.cat--lead .cat__media img { object-position: 50% 22%; }

.brands__name { flex: 1 1 auto; }
.brands__n { order: 3; flex: 1 0 100%; margin-top: 10px; font-size: var(--t-small); letter-spacing: 0; color: var(--muted); line-height: 1.3; }
.brands a:hover .brands__n { color: var(--ink-2); }
.contact__note { font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.contact__form--visit { justify-items: start; }
@media (max-width: 1023px) { .brands__n { flex: 0 0 auto; order: 2; margin: 0 0 0 12px; } .brands a .i { order: 3; margin-left: auto; } }

/* ================================================================ repair-first pages */

.page-lead a, .devices__other a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.page-lead a:hover, .devices__other a:hover { color: var(--red); }
.page-head__split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-6) var(--s-7); }
.page-head__split > div:first-child { max-width: 760px; }

/* ---------------------------------------------------------------- devices */

.devices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.device { display: grid; gap: var(--s-5); align-content: start; }
.device__media { aspect-ratio: 16 / 10; }
.device__text { display: grid; gap: var(--s-4); justify-items: start; }
.device__title { font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem); font-weight: 400; letter-spacing: -0.025em; line-height: 1.15; }
.device__list { width: 100%; border-top: 1px solid var(--line); }
.device__list li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); text-wrap: pretty; }
.devices__other { margin-top: var(--s-6); color: var(--ink-2); font-size: 1.0625rem; }
@media (max-width: 767px) { .devices { grid-template-columns: 1fr; gap: var(--s-6); } }
/* phone: the title leads; the whole phone stands in a slim portrait frame beside
   its model list (the frame takes the list's height); the quote link follows */
@media (max-width: 639px) {
  .device {
    grid-template-columns: 120px minmax(0, 1fr);
    grid-template-areas: "title title" "media list" "link link";
    gap: var(--s-3) var(--s-4);
  }
  .device__text { display: contents; }
  .device__title { grid-area: title; }
  .device__media { grid-area: media; aspect-ratio: auto; min-height: 180px; }
  .device__media img { position: absolute; inset: 0; }
  .device__list { grid-area: list; align-self: start; }
  .device__list li { padding: 8px 0; font-size: 0.9375rem; line-height: 1.45; }
  .device .link-arrow { grid-area: link; justify-self: start; }
}
@media (max-width: 374px) { .device { grid-template-columns: 96px minmax(0, 1fr); } }

/* ---------------------------------------------------------------- services: a ruled list, not cards */

.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.service {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: var(--s-4) var(--s-5); align-items: start;
  padding: var(--s-5) 0; border-top: 1px solid var(--line);
}
.services .service:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
.service__icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 12px; background: var(--bg); color: var(--red); box-shadow: inset 0 0 0 1px var(--line);
}
.section:not(.section--surface) .service__icon { background: var(--surface); box-shadow: none; }
.service__icon .i { width: 24px; height: 24px; }
.service__text { display: grid; gap: 4px; }
.service__name { font-size: var(--t-card); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.service__text p { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.55; }
.service__quote { min-height: 44px; align-self: center; font-size: 0.9375rem; }
@media (max-width: 1023px) {
  .services { grid-template-columns: 1fr; }
  .services .service:nth-last-child(-n + 2) { border-bottom: 0; }
  .services .service:last-child { border-bottom: 1px solid var(--line); }
}
@media (max-width: 639px) {
  /* icon, name and quote on one line; the description takes the full width below */
  .service {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    grid-template-areas: "icon name quote" "desc desc desc";
    column-gap: var(--s-3); row-gap: var(--s-2); align-items: center; padding: var(--s-3) 0 var(--s-4);
  }
  .service__icon { grid-area: icon; width: 40px; height: 40px; }
  .service__text { display: contents; }
  .service__name { grid-area: name; }
  .service__text p { grid-area: desc; }
  .service__quote { grid-area: quote; justify-self: end; }
}

/* ---------------------------------------------------------------- process */

.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1024px) {
    .process { grid-template-rows: auto auto 1fr; row-gap: var(--s-3); }
    .process li { grid-row: span 3; grid-template-rows: subgrid; }
  }
}
.process li { display: grid; gap: var(--s-3); align-content: start; padding-top: var(--s-5); border-top: 2px solid var(--ink); }
.process li:first-child { border-top-color: var(--red); }
.process__n { font-size: 2.25rem; line-height: 1; letter-spacing: -0.03em; color: var(--red); font-variant-numeric: tabular-nums; }
.process h3 { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.process p { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.55; }
.process__foot { margin-top: var(--s-7); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); }
.process__note { max-width: 62ch; color: var(--ink-2); }
@media (max-width: 1023px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process li { grid-template-columns: 56px minmax(0, 1fr); column-gap: var(--s-4); padding: var(--s-5) 0; border-top-width: 1px; border-top-color: var(--line); }
  .process li:first-child { border-top: 2px solid var(--red); }
  .process__n { grid-row: span 2; font-size: 1.75rem; }
}
@media (max-width: 639px) {
  .process li { grid-template-columns: 40px minmax(0, 1fr); row-gap: var(--s-1); padding-block: var(--s-4); }
  .process__n { font-size: 1.5rem; line-height: 1.4rem; }
  .process__foot { margin-top: var(--s-5); gap: var(--s-4); }
  .process__foot .btn { width: 100%; }
}

.strip { aspect-ratio: 1280 / 300; margin-bottom: var(--s-8); }
@media (max-width: 639px) { .strip { aspect-ratio: 16 / 7; } }

/* ---------------------------------------------------------------- faq */

.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-6) 24px; }
.faq > .section-title { grid-column: 1 / span 4; }
.faq__list { grid-column: 6 / span 7; border-top: 1px solid var(--line-strong); }
.faq__list > div { padding: var(--s-5) 0; border-bottom: 1px solid var(--line); display: grid; gap: var(--s-2); }
.faq__list dt { font-size: var(--t-card); font-weight: 500; letter-spacing: -0.01em; }
.faq__list dd { color: var(--ink-2); max-width: 62ch; }
@media (max-width: 1023px) { .faq > .section-title, .faq__list { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- the quote request */

.page-head--quote { padding-bottom: var(--s-7); }
.quote { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-7) 24px; align-items: start; }
.quote__main { grid-column: 1 / span 8; min-width: 0; }
.quote__aside {
  grid-column: 10 / span 3; position: sticky; top: calc(var(--nav) + var(--s-5));
  background: var(--surface); border-radius: var(--r-frame); padding: var(--s-6); display: grid; gap: var(--s-5);
}
.quote__aside-title { font-size: 1.25rem; font-weight: 400; letter-spacing: -0.02em; }
.mini-steps { display: grid; gap: var(--s-4); counter-reset: mini; }
.mini-steps li { display: grid; gap: 2px; padding-left: 32px; position: relative; counter-increment: mini; font-size: 0.9375rem; }
.mini-steps li::before {
  content: counter(mini); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 0.75rem; font-weight: 500; color: var(--ink);
}
.mini-steps strong { font-weight: 500; }
.mini-steps span { color: var(--ink-2); line-height: 1.5; }
.quote__visit { display: grid; gap: 2px; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.quote__visit p { font-size: var(--t-small); color: var(--muted); }
@media (max-width: 1023px) {
  .quote__main, .quote__aside { grid-column: 1 / -1; }
  .quote__aside { position: static; }
}

/* progress: six segments; done ones red, the current one ink */
.qprogress { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin-bottom: var(--s-7); }
.qprogress li { padding-top: 10px; border-top: 3px solid var(--surface-2); font-size: var(--t-label); color: var(--muted); transition: border-color var(--t-mid) ease, color var(--t-mid) ease; }
.qprogress li.is-done { border-top-color: var(--red); color: var(--ink-2); }
.qprogress li.is-current { border-top-color: var(--ink); color: var(--ink); font-weight: 500; }
.qprogress[hidden], .qform[hidden], .qdone[hidden] { display: none; }
@media (max-width: 639px) {
  .qprogress { gap: 4px; }
  .qprogress li span { display: none; }
  .qprogress li.is-current span { display: inline; white-space: nowrap; }
}
html:not(.js) .qprogress { display: none; }

.qform { display: grid; gap: var(--s-8); }
.qform.is-stepped { gap: 0; }
.qstep { display: grid; gap: var(--s-5); min-width: 0; }
.qstep[hidden] { display: none; }
.qstep__legend { display: grid; gap: 6px; padding: 0; margin-bottom: var(--s-2); width: 100%; }
.qstep__title { font-size: var(--t-h2-sm); line-height: 1.15; letter-spacing: -0.025em; outline: none; }
.qstep__hint { color: var(--ink-2); margin-top: -8px; max-width: 60ch; }
.qstep__nav { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between; margin-top: var(--s-4); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.qstep__nav .btn--primary { margin-left: auto; }
html:not(.js) .qstep__nav { display: none; }
.field__help { font-size: var(--t-small); color: var(--muted); line-height: 1.5; }
.optional { font-weight: 400; color: var(--muted); }
[data-model-select][hidden], [data-model-other][hidden] { display: none; }

/* brand choice: three large options */
.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice__box {
  display: grid; gap: 4px; align-content: start; min-height: 112px; padding: 20px;
  border: 1px solid var(--line-strong); border-radius: 14px; background: var(--bg);
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease, box-shadow var(--t-fast) ease;
}
.choice__name { font-size: 1.375rem; letter-spacing: -0.02em; line-height: 1.2; }
.choice__sub { font-size: var(--t-small); color: var(--muted); line-height: 1.4; }
.choice:hover .choice__box { border-color: var(--ink-2); }
.choice input:checked + .choice__box { border-color: var(--red); background: var(--red-tint); box-shadow: inset 0 0 0 1px var(--red); }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--red); outline-offset: 3px; }
@media (max-width: 639px) {
  .choices { grid-template-columns: 1fr; }
  .choice__box { min-height: 0; padding: 16px 18px; }
}

/* problems: several can be ticked */
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.check { position: relative; display: flex; }
.check input { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin: -10px 0 0; accent-color: var(--red); cursor: pointer; }
.check span {
  flex: 1; display: flex; align-items: center; min-height: 52px; padding: 10px 16px 10px 48px;
  border: 1px solid var(--line-strong); border-radius: var(--r-ctl); cursor: pointer; font-weight: 500;
  transition: border-color var(--t-fast) ease, background-color var(--t-fast) ease;
}
.check:hover span { border-color: var(--ink-2); }
.check input:checked + span { border-color: var(--red); background: var(--red-tint); }
.check input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }

.qerrors { background: var(--red-tint); border-radius: var(--r-ctl); padding: 16px 20px; margin-bottom: var(--s-5); outline: none; }
.qerrors p { font-weight: 500; }
.qerrors ul { margin-top: 6px; display: grid; gap: 4px; }
.qerrors a { color: #b30000; text-decoration: underline; text-underline-offset: 3px; }
.qerrors:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.qsummary { border-top: 1px solid var(--line-strong); }
.qsummary__row { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: var(--s-2) var(--s-4); padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.qsummary dt { color: var(--muted); }
.qsummary dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.qsummary__edit { background: none; border: 0; padding: 10px 0; min-height: 44px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.qsummary__edit:hover { color: var(--red); }
@media (max-width: 639px) { .qsummary__row { grid-template-columns: minmax(0, 1fr) auto; } .qsummary dd { grid-column: 1 / -1; grid-row: 2; } }
.qnote { font-size: var(--t-small); color: var(--ink-2); background: var(--surface); border-radius: var(--r-ctl); padding: 14px 16px; line-height: 1.55; }
.qstep__nav--send .btn--primary { min-width: 240px; }

.qdone { display: grid; gap: var(--s-5); padding: clamp(24px, 4vw, 48px); background: var(--surface); border-radius: var(--r-frame); outline: none; }
.qdone__ref { font-size: var(--t-small); color: var(--muted); }
.qdone__ref strong { display: inline-block; margin-left: 6px; padding: 4px 10px; border-radius: 8px; background: var(--bg); color: var(--ink); font-weight: 500; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.qdone__lead { font-size: var(--t-lead); color: var(--ink-2); max-width: 56ch; }
.qdone .qsummary { background: var(--bg); border-radius: var(--r-ctl); padding: 0 var(--s-4); border-top: 0; }
.qdone .qsummary__row:last-child { border-bottom: 0; }

@media print {
  .nav, .footer, .actionbar, .page-head .crumbs, .quote__aside, .qdone .btn-row { display: none !important; }
  body { padding: 0; }
  .page-head { padding-top: 0; }
  .qdone { background: none; padding: 0; }
}

.device:first-child .device__media img { object-position: 50% 10%; }
.device:nth-child(2) .device__media img { object-position: 50% 21%; }
body.no-bar { padding-bottom: 0; }

.nowrap { white-space: nowrap; }

@media (min-width: 1280px) {
  .visit > .wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .visit .section-title, .visit .type-moment { grid-column: 1 / span 7; }
  .visit .type-moment { font-size: clamp(3rem, 1rem + 5.6vw, 6.25rem); }
  .visit__cols { grid-column: 8 / span 5; grid-row: 1 / span 2; margin-top: 0; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
.picker__note { font-size: var(--t-small); color: var(--muted); }
.picker__note[hidden] { display: none; }

/* ---------------------------------------------------------------- local phone collection */

/* The promotion band: charcoal ink (#141414), white text, the red icon tile and the
   standard red button. White on ink is 18:1; the note at 72% white is 9.7:1. */
.collect { background: var(--ink); color: #fff; }
.collect__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: var(--s-5); align-items: end; }
.collect__text { grid-column: 1 / span 7; display: grid; gap: var(--s-4); justify-items: start; }
.collect__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: var(--red); color: #fff; }
.collect__icon .i { width: 28px; height: 28px; }
.collect .section-title { color: #fff; }
.collect__lead { font-size: var(--t-lead); line-height: 1.5; color: rgb(255 255 255 / 0.86); max-width: 46ch; }
.collect__action { grid-column: 8 / span 5; display: grid; gap: var(--s-3); justify-items: start; }
.collect__note { font-size: var(--t-small); line-height: 1.5; color: rgb(255 255 255 / 0.72); max-width: 40ch; }
.collect :focus-visible { outline-color: #fff; }
@media (max-width: 1023px) { .collect__text, .collect__action { grid-column: 1 / -1; } }
@media (max-width: 639px) { .collect__action, .collect__action .btn { width: 100%; } }

/* the hand-over step in the quote request */
.choices--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice__icon { display: block; color: var(--red); margin-bottom: 6px; }
.choice__icon .i { width: 24px; height: 24px; }
.collect-fields { display: grid; gap: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.collect-fields[hidden] { display: none; }
.qnote--collect { background: var(--red-tint); color: var(--ink); }
.qnote--collect[hidden] { display: none; }
.quote__collect { display: flex; gap: 10px; align-items: flex-start; padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: var(--t-small); line-height: 1.5; color: var(--ink-2); }
.quote__collect .i { flex: none; color: var(--red); }
@media (max-width: 639px) { .choices--two { grid-template-columns: 1fr; } }

/* the contact page mention */
.contact__collect p { color: var(--ink-2); max-width: 36ch; }

/* ---------------------------------------------------------------- what else we do */

/* Four business categories beyond phone repairs, in the product card's family: one
   link per card on the surface grey, a 4:3 photograph, the title, a short line and
   a call to action pinned to the foot so the four line up. Hover lifts the card,
   zooms the photograph 3% and draws the action's underline; focus is the site's red
   ring, fitted to the card. Below 1280px each card becomes a row (photograph beside
   the words), so the section stays short on tablets and phones. */
.offers__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.offer { min-width: 0; }
.offer__link {
  display: flex; flex-direction: column; height: 100%;
  border-radius: var(--r-frame); background: var(--surface);
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out);
}
.offer__link:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -18px rgb(23 23 26 / 0.35); }
.offer__link:focus-visible { outline-offset: 4px; border-radius: var(--r-frame); }
.offer__media { aspect-ratio: 4 / 3; border-radius: var(--r-frame) var(--r-frame) 0 0; }
.offer__body { display: flex; flex-direction: column; gap: var(--s-2); flex: 1; padding: var(--s-5); }
.offer__title { font-size: var(--t-card); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.offer__line { color: var(--ink-2); font-size: 0.9375rem; line-height: 1.55; }
.offer__cta {
  align-self: flex-start; margin-top: auto; padding-top: var(--s-4);
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--cta);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size var(--t-mid) var(--ease-out);
}
.offer__cta .i { width: 18px; height: 18px; transition: transform var(--t-fast) var(--ease-out); }
.offer__link:hover .offer__cta { background-size: calc(100% - 26px) 1px; }
.offer__link:hover .offer__cta .i { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .offer__link:hover { transform: none; } }

/* below 1280px four columns get too narrow for the words: each card becomes a row,
   a fixed-shape photograph (4:3, then square) beside the words, two across, then
   one across on phones */
@media (max-width: 1279px) {
  .offers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer__link { flex-direction: row; align-items: flex-start; gap: var(--s-4); padding: var(--s-3); }
  .offer__media { flex: none; width: 38%; border-radius: calc(var(--r-frame) - 4px); }
  .offer__body { align-self: stretch; padding: var(--s-2) var(--s-2) 0 0; }
  .offer__cta { padding-top: var(--s-3); }
}
@media (max-width: 1023px) {
  .offer__media { width: 104px; aspect-ratio: 1; }
  .offer__media img { object-position: var(--focus-phone, 50% 50%); }
  .offer__title { font-size: 1.0625rem; }
  .offer__line { font-size: 0.875rem; line-height: 1.5; }
  .offer__body { gap: 4px; padding: 2px 4px 0 0; }
  .offer__cta { padding-top: var(--s-2); }
}
@media (max-width: 639px) {
  .offers__grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .offer__media { width: 96px; }
}
