/* J SPEED SERVICE — red & white theme.
   All colours, type, spacing, shapes and motion come from the tokens below. */
:root {
  /* colour */
  --red: #d71920;
  --red-600: #b8121a;
  --red-800: #8e0d13;
  --red-900: #5c080c;
  --red-50: #fdeeee;
  --ink: #17171a;
  --ink-2: #222226;
  --text: #2b2b30;
  --muted: #5f6168;
  --line: #e7e7ea;
  --bg: #f6f6f7;
  --paper: #ffffff;
  --on-red: #ffffff;
  --on-red-muted: #ffd9db;

  /* type */
  --font-body: 'Sarabun', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Kanit', 'Sarabun', system-ui, sans-serif;
  --font-display: 'Orbitron', 'Kanit', system-ui, sans-serif;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.2rem, 1.05rem + .5vw, 1.4rem);
  --fs-2xl: clamp(1.6rem, 1.25rem + 1.4vw, 2.3rem);
  --fs-3xl: clamp(2rem, 1.5rem + 2.2vw, 3rem);
  --fs-hero: clamp(2.3rem, .6rem + 7.4vw, 6.4rem);

  /* space & layout */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --section-y: clamp(56px, 4vw + 36px, 104px);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 76px;

  /* shape */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgb(23 23 26 / .06), 0 2px 6px rgb(23 23 26 / .06);
  --shadow-md: 0 8px 24px rgb(23 23 26 / .08), 0 2px 6px rgb(23 23 26 / .05);
  --shadow-lg: 0 24px 50px -12px rgb(23 23 26 / .22), 0 8px 16px rgb(23 23 26 / .06);
  --shadow-red: 0 14px 30px -10px rgb(215 25 32 / .55);

  /* motion */
  --dur-fast: 150ms;
  --dur-base: 260ms;
  --dur-slow: 650ms;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-std: cubic-bezier(.4, 0, .2, 1);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; animation-timing-function: var(--ease-std); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; overflow-x: hidden;
  font: var(--fs-base)/1.75 var(--font-body);
  color: var(--text); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--red); text-decoration: none; transition: color var(--dur-fast) var(--ease-std); }
a:hover { color: var(--red-600); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.3; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--red) 60%, white); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -999px; top: 0; z-index: 99; background: var(--paper); padding: 10px 14px; }
.skip:focus { left: 10px; }
.accent { color: var(--red); }
.display { font-family: var(--font-display); font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5); border-radius: var(--r-pill);
  font: 600 var(--fs-base)/1.2 var(--font-head);
  background: var(--red); color: var(--on-red); border: 2px solid transparent; cursor: pointer;
  box-shadow: var(--shadow-red);
  transition: transform var(--dur-fast) var(--ease-std), box-shadow var(--dur-base) var(--ease-std),
              background-color var(--dur-base) var(--ease-std), color var(--dur-base), border-color var(--dur-base);
}
.btn:hover { background: var(--red-600); color: var(--on-red); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn--small { min-height: 40px; padding: 0 var(--s-4); font-size: var(--fs-sm); }
.btn--lg { min-height: 56px; padding: 0 var(--s-6); font-size: var(--fs-lg); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / .5); box-shadow: none; }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--red-800); }
.btn--white { background: #fff; color: var(--red-800); box-shadow: var(--shadow-md); }
.btn--white:hover { background: var(--ink); color: #fff; }

/* ---------- top bar & navigation ---------- */
.topbar { background: var(--bg); border-bottom: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 40px; }
.topbar__in > * { display: inline-flex; align-items: center; gap: var(--s-2); }
.topbar .ico { color: var(--red); }
.topbar a { color: var(--muted); }
.topbar a:hover { color: var(--red); }
.topbar__tow { font-weight: 600; color: var(--ink); }

.mainnav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4);
  transition: box-shadow var(--dur-base) var(--ease-std), background-color var(--dur-base);
}
.mainnav.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgb(23 23 26 / .35); }
.mainnav__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__logo { width: auto; height: 52px; transition: transform var(--dur-base) var(--ease-out); }
.brand:hover .brand__logo { transform: scale(1.03); }

.menu { display: flex; align-items: center; gap: var(--s-1); }
.menu__item { position: relative; display: flex; align-items: center; }
.menu__item > a {
  position: relative; display: block; padding: 10px 16px; color: var(--ink);
  font: 500 var(--fs-base)/1.4 var(--font-head);
}
.menu__item > a::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out);
}
.menu__item > a:hover, .menu__item.is-active > a { color: var(--red); }
.menu__item > a:hover::after, .menu__item.is-active > a::after { transform: scaleX(1); }
.sub-toggle { display: none; }
.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; padding: var(--s-2);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-out), visibility var(--dur-base);
}
.submenu::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.is-open .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: flex; align-items: center; gap: var(--s-3); padding: 10px 12px; border-radius: var(--r-sm); color: var(--text); font-size: .95rem; }
.submenu a .ico { color: var(--red); }
.submenu a:hover { background: var(--red-50); color: var(--red-600); }
.nav-call {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4);
  border: 1.5px solid var(--red); border-radius: var(--r-pill); color: var(--red);
  font: 600 var(--fs-base)/1 var(--font-head); white-space: nowrap;
  transition: background-color var(--dur-base) var(--ease-std), color var(--dur-base), transform var(--dur-fast);
}
.nav-call:hover { background: var(--red); color: #fff; }
.nav-call:active { transform: scale(.98); }
.menu-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(36px, 5vw, 72px) 0 var(--section-y); overflow: hidden; }
.hero__title { font-size: var(--fs-hero); line-height: .95; margin: 0 0 var(--s-5); color: var(--ink); letter-spacing: .01em; }
.hero__title span { color: var(--red); }
.hero__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-6); align-items: end; }
.hero__lead { font-size: var(--fs-lg); color: var(--muted); max-width: 56ch; margin: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: flex-end; }

.hero__panel {
  position: relative; display: grid; grid-template-columns: minmax(220px, .7fr) 1.6fr; margin-top: var(--s-7);
  border-radius: var(--r-lg); overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, var(--red) 0%, var(--red-800) 55%, var(--red-900) 100%);
  box-shadow: var(--shadow-lg);
}
.stats { display: grid; align-content: center; gap: var(--s-6); padding: var(--s-7) var(--s-6); position: relative; z-index: 1; }
.stats li { display: grid; gap: 2px; }
.stats b { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); line-height: 1; color: #fff; }
.stats b small { font: 600 .45em/1 var(--font-head); margin-left: 6px; letter-spacing: 0; text-transform: none; }
.stats span { color: var(--on-red-muted); font-size: var(--fs-sm); }
.hero__media { position: relative; min-height: 360px; }
/* The photo meets the red panel with a sharp slanted edge (like the logo's "J") instead of a
   red fade, so the photo itself stays untinted. The cut is on the image, so the badge isn't clipped. */
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: polygon(72px 0, 100% 0, 100% 100%, 0 100%);
}
.hero__badge {
  position: absolute; right: var(--s-5); bottom: var(--s-5); z-index: 1; display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-4); border-radius: var(--r-md); color: var(--ink);
  background: rgb(255 255 255 / .92); backdrop-filter: blur(8px); box-shadow: var(--shadow-md);
  font: 500 var(--fs-sm)/1.35 var(--font-head);
}
.hero__badge b { display: block; font-size: var(--fs-base); }
.hero__badge .ico { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--red); color: #fff; }

/* ---------- section heads ---------- */
.section { padding: var(--section-y) 0; background: var(--paper); }
.section--tint { background: var(--bg); }
.section--dark { background: var(--ink); color: #c9c9cf; }
.section--dark .section-title { color: #fff; }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-4) var(--s-7); margin-bottom: var(--s-7); }
.head > div { max-width: 640px; }
.head p { margin: 0; color: var(--muted); }
/* Heading and action button on one line, centred on each other (eyebrow sits above the row). */
.head--inline { align-items: center; }
.head--inline .section-title { margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-3);
  font: 700 .78rem/1 var(--font-display); letter-spacing: .18em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; }
.section-title { font-size: var(--fs-3xl); font-weight: 600; margin-bottom: var(--s-3); }
.section-title--sm { font-size: var(--fs-2xl); margin-top: var(--s-7); }
.section-lead { font-size: var(--fs-lg); color: var(--muted); margin-bottom: var(--s-6); max-width: 70ch; }

/* ---------- photos ---------- */
.ph {
  position: relative; aspect-ratio: 4 / 3; width: 100%; overflow: hidden;
  display: grid; place-items: center; color: rgb(255 255 255 / .85);
  background: linear-gradient(135deg, var(--red-800), var(--red));
}
.ph::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(120deg, transparent 0 22px, rgb(255 255 255 / .05) 22px 24px),
              radial-gradient(circle at 80% 15%, rgb(255 255 255 / .22), transparent 45%);
}
.ph--v1 { background: linear-gradient(135deg, #26262b, #45454d); }
.ph--v2 { background: linear-gradient(135deg, var(--red), #ef4a50); }
.ph--v3 { background: linear-gradient(135deg, #2b2b30, var(--red-900)); }
.ph--photo { background: #2b2b30; }
.ph--photo::before { display: none; }
.ph--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.ph__ico { position: relative; width: 30%; height: auto; max-width: 84px; stroke-width: 1.3; transition: transform var(--dur-base) var(--ease-out); }
.post:hover .ph--photo img, .gitem:hover .ph--photo img, .work:hover .ph--photo img, .gallery .ph:hover img { transform: scale(1.05); }
.banners { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--s-4); align-items: start; }
.banners img { width: 100%; height: auto; border-radius: var(--r-sm); background: #fff; }

/* ---------- service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.svc {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: var(--s-5);
  border-radius: var(--r-md); overflow: hidden; isolation: isolate; color: #fff; background: var(--ink-2);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.svc:hover { color: #fff; transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc__img { position: absolute; inset: 0; z-index: -2; }
.svc__img .ph { height: 100%; aspect-ratio: auto; }
.svc__img img { transition: transform var(--dur-slow) var(--ease-out); }
.svc:hover .svc__img img { transform: scale(1.07); }
.svc::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(23 23 26 / .05) 25%, rgb(23 23 26 / .55) 55%, rgb(23 23 26 / .92) 100%);
  transition: background-color var(--dur-base);
}
.svc:hover::before { background-color: rgb(92 8 12 / .25); }
.svc__ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: auto; border-radius: 50%; background: rgb(255 255 255 / .16); backdrop-filter: blur(6px); }
.svc__ico .ico { width: 22px; height: 22px; }
.svc__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.svc__title { color: #fff; font-size: var(--fs-xl); margin: 0; }
.svc__text {
  margin: var(--s-2) 0 0; font-size: var(--fs-sm); line-height: 1.6; color: #e6e6ea;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  max-height: 0; opacity: 0; transform: translateY(8px);
  transition: max-height var(--dur-slow) var(--ease-out), opacity var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.svc:hover .svc__text, .svc:focus-visible .svc__text { max-height: 6em; opacity: 1; transform: none; }
.svc__go {
  flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: var(--shadow-red);
  transition: transform var(--dur-base) var(--ease-out);
}
.svc:hover .svc__go { transform: rotate(-45deg); }
@media (hover: none) { .svc__text { max-height: 6em; opacity: 1; transform: none; } }

/* ---------- about band (home) ---------- */
.about-band {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); align-items: center;
  padding: var(--s-6); border-radius: var(--r-lg); color: var(--on-red-muted);
  background: radial-gradient(120% 140% at 100% 0%, var(--red) 0%, var(--red-800) 60%, var(--red-900) 100%);
  box-shadow: var(--shadow-lg);
}
.about-band__img { border-radius: var(--r-md); overflow: hidden; }
.about-band__img .ph { aspect-ratio: 4 / 3; }
.about-band .eyebrow { color: #fff; }
.about-band h2 { color: #fff; font-size: var(--fs-2xl); }
.about-band p { font-size: var(--fs-lg); }
.about-band__list { display: grid; gap: var(--s-2); margin: 0 0 var(--s-5); }
.about-band__list li { display: flex; gap: var(--s-2); align-items: center; color: #fff; font-weight: 500; }
.about-band__list .ico { color: #fff; background: rgb(255 255 255 / .18); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }

/* ---------- why choose us ---------- */
.why { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-6); align-items: stretch; }
.why__card { position: relative; padding: var(--s-7) var(--s-6) var(--s-6); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); margin-top: 28px; }
.why__tab {
  position: absolute; left: var(--s-6); top: -28px; margin: 0; padding: var(--s-3) var(--s-5);
  border-radius: var(--r-md) var(--r-md) var(--r-md) 4px; color: #fff; font-size: var(--fs-xl);
  background: linear-gradient(135deg, var(--red), var(--red-800)); box-shadow: var(--shadow-red);
}
.why__card > p { color: var(--muted); }
.why__card .section-title { font-size: var(--fs-2xl); }
.why__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.why__cols h3 { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-lg); color: var(--red-600); margin-bottom: var(--s-1); }
.why__cols p { font-size: var(--fs-sm); color: var(--muted); margin: 0; line-height: 1.6; }
.why__media { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 320px; }
.why__media .ph { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.why__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 40%, rgb(142 13 19 / .55)); }

/* ---------- posts & gallery ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
.post-grid--3 { grid-template-columns: repeat(3, 1fr); }
.post {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--paper);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.post:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.post:hover .ph__ico { transform: scale(1.1); }
.post__img .ph { aspect-ratio: 16 / 10; }
.post__body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.post__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.post__body .btn { align-self: flex-start; }
.post__title { font-size: var(--fs-lg); font-weight: 600; margin-bottom: var(--s-2); }
.post__title a { color: var(--ink); }
.post__title a:hover { color: var(--red); }
.meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .82rem; color: var(--muted); margin-bottom: var(--s-3); }
.meta li { display: inline-flex; align-items: center; gap: 5px; }
.meta .ico { width: 14px; height: 14px; color: var(--red); }

.gallery { display: grid; gap: var(--s-3); }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.gallery--mosaic { grid-template-columns: repeat(4, 1fr); }
.gallery .ph, .gitem { border-radius: var(--r-sm); overflow: hidden; }
.gitem { position: relative; display: block; }
.gitem__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px;
  color: #fff; font: 500 .95rem/1.3 var(--font-head);
  background: linear-gradient(transparent, rgb(23 23 26 / .8));
  transform: translateY(100%); transition: transform var(--dur-base) var(--ease-out);
}
.gitem:hover .gitem__cap, .gitem:focus-visible .gitem__cap { transform: none; }
.gitem:hover .ph__ico { transform: scale(1.1); }
.gitem[hidden] { display: none; }

/* ---------- brands and products (home) ---------- */
.brands-sec { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-7); align-items: center; }
.brands-sec .section-lead { margin-bottom: var(--s-5); }
.checks { display: grid; gap: var(--s-4); margin-bottom: var(--s-6); }
.checks li { display: flex; gap: var(--s-3); align-items: flex-start; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.checks b { display: block; color: var(--ink); font: 600 var(--fs-lg)/1.35 var(--font-head); }
.checks .ico { width: 28px; height: 28px; padding: 5px; margin-top: 2px; border-radius: 50%; background: var(--red); color: #fff; }
.brands-sec__cards { display: grid; grid-template-columns: repeat(2, 240px); gap: var(--s-5); align-items: start; }
.brand-tile {
  margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.brand-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.brand-tile img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.brand-tile figcaption { padding: var(--s-3) var(--s-4) var(--s-4); font-size: .85rem; color: var(--muted); line-height: 1.4; }
.brand-tile b { display: block; color: var(--ink); font: 600 var(--fs-base)/1.3 var(--font-head); }

/* ---------- sidebar & cards ---------- */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-7); align-items: start; }
.sidebar { display: grid; gap: var(--s-5); position: sticky; top: calc(var(--nav-h) + 16px); }
.card { background: var(--bg); border-radius: var(--r-md); padding: var(--s-5); border: 1px solid var(--line); }
.card__h { font-size: var(--fs-xl); color: var(--ink); display: flex; align-items: center; gap: var(--s-2); }
.card__h::before { content: ''; width: 4px; height: 1.1em; border-radius: 2px; background: var(--red); }
.card h3 { font-size: var(--fs-base); color: var(--red-600); }
.card p { font-size: .95rem; color: var(--muted); }
.card__note { display: flex; gap: var(--s-3); background: var(--paper); border-radius: var(--r-sm); padding: var(--s-3); font-size: .95rem !important; color: var(--ink) !important; }
.card__note .ico { color: var(--red); margin-top: 3px; }
.products { display: grid; gap: var(--s-3); }
.products li { display: flex; gap: var(--s-3); align-items: flex-start; background: var(--paper); border-radius: var(--r-sm); padding: var(--s-3) var(--s-4); }
.products .ico { width: 26px; height: 26px; color: var(--red); }
.products span { font-size: .82rem; color: var(--muted); line-height: 1.45; }
.products b { display: block; font-size: .95rem; color: var(--ink); }
.sidelinks li a { display: flex; align-items: center; gap: var(--s-3); padding: 10px 12px; border-radius: var(--r-sm); color: var(--text); font: 500 var(--fs-base)/1.4 var(--font-head); transition: background-color var(--dur-fast), color var(--dur-fast); }
.sidelinks li a:hover, .sidelinks li.is-active a { background: var(--paper); color: var(--red); }
.sidelinks .ico { color: var(--red); }

/* Red info card (hours in sidebars, the three tiles under the map). */
.infocard {
  position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--r-md); padding: var(--s-6) var(--s-5);
  background: radial-gradient(120% 140% at 0% 0%, var(--red), var(--red-800) 70%); color: var(--on-red-muted);
}
.infocard > * { position: relative; }
.infocard__title { color: #fff; font-size: var(--fs-2xl); margin: 0 0 var(--s-2); padding-right: 64px; }
.infocard p { margin: 0; font-size: .95rem; color: var(--on-red-muted); }
.infocard .infocard__lead { font: 600 var(--fs-lg)/1.4 var(--font-head); color: #fff; }
.infocard .infocard__ico { position: absolute; right: -14px; top: 50%; transform: translateY(-50%); width: 140px; height: 140px; color: rgb(255 255 255 / .13); stroke-width: 2.2; transition: transform var(--dur-slow) var(--ease-out); }
a.infocard { transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
a.infocard:hover { color: var(--on-red-muted); transform: translateY(-4px); box-shadow: var(--shadow-red); }
a.infocard:hover .infocard__ico { transform: translateY(-50%) rotate(-8deg) scale(1.05); }
/* Light variant: same layout for plain information, so red stays reserved for actions. */
.infocard--light { background: var(--bg); border: 1px solid var(--line); color: var(--muted); }
.infocard--light .infocard__title, .infocard--light .infocard__lead { color: var(--ink); }
.infocard--light p { color: var(--muted); }
.infocard--light .infocard__ico { color: rgb(23 23 26 / .09); }
/* Compact size for the row of three under the map: same layout, smaller scale. */
.mapsec__info .infocard { padding: var(--s-4) var(--s-5); border-radius: var(--r-sm); }
.mapsec__info .infocard__title { font-size: var(--fs-lg); margin-bottom: 2px; padding-right: 48px; }
.mapsec__info .infocard .infocard__lead { font-size: var(--fs-base); }
.mapsec__info .infocard p { font-size: .82rem; line-height: 1.45; }
.mapsec__info .infocard .infocard__ico { width: 84px; height: 84px; right: -10px; }

/* ---------- map ---------- */
.mapsec { background: var(--paper); padding: var(--section-y) 0; }
.section:not(.section--tint) + .mapsec { padding-top: 0; }
/* Full-width map with nothing on top of it; the shop's details sit in tiles below. */
.mapsec__box { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); background: #e5e3df; }
.mapsec iframe { width: 100%; height: 440px; border: 0; }
.mapsec__frame { position: relative; }
.mapsec__box:fullscreen { border-radius: 0; }
.mapsec__box:fullscreen .mapsec__frame, .mapsec__box:fullscreen iframe { height: 100%; }
.mapsec__info { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-5); }
.mapctl { position: absolute; right: 16px; bottom: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mapctl__panel { display: grid; gap: 10px; }
.mapctl__panel[hidden] { display: none; }
.mapctl button {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 0; box-shadow: var(--shadow-md);
  transition: background-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}
.mapctl button:hover, .mapctl button[aria-pressed='true'], .mapctl__toggle[aria-expanded='true'] { background: var(--red); color: #fff; }
.mapctl button:active { transform: scale(.94); }
.mapctl .ico { width: 20px; height: 20px; }

/* ---------- inner pages ---------- */
.pagehead {
  position: relative; overflow: hidden; color: #fff; padding: clamp(40px, 5vw, 72px) 0;
  background: radial-gradient(70% 140% at 100% 0%, rgb(215 25 32 / .55), transparent 70%), var(--ink);
}
.pagehead::after {
  content: ''; position: absolute; right: -40px; bottom: -60%; width: 380px; height: 200%;
  background: linear-gradient(90deg, transparent, rgb(215 25 32 / .25)); transform: skewX(-24deg); pointer-events: none;
}
.pagehead h1 { color: #fff; font-size: var(--fs-3xl); margin: 0; position: relative; }
.pagehead__lead { margin: var(--s-2) 0 0; color: #d4d4da; font-size: var(--fs-lg); position: relative; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--s-3); padding: 0; list-style: none; font-size: var(--fs-sm); color: #b4b4bc; position: relative; }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: .6; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: #ffb3b6; }

.prose { font-size: 1.05rem; max-width: 75ch; }
.prose p { color: #4a4b52; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.chips li { display: inline-flex; align-items: center; gap: var(--s-2); padding: 8px 16px; border-radius: var(--r-pill); background: var(--red-50); color: var(--red-600); font: 500 .95rem/1.3 var(--font-head); }
.article__img { margin: var(--s-3) 0 var(--s-5); border-radius: var(--r-md); overflow: hidden; }
.article__img .ph { aspect-ratio: 16 / 8; }
.article__gallery { margin: var(--s-2) 0 var(--s-6); }
.content > .btn { margin-bottom: var(--s-3); }

.svc-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); margin-bottom: var(--s-7); }
.svc-link {
  display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-5); border-radius: var(--r-md); border: 1px solid var(--line);
  color: var(--muted); font-size: .82rem; line-height: 1.5; background: var(--paper);
  transition: border-color var(--dur-base), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.svc-link b { display: block; color: var(--ink); font: 600 var(--fs-lg)/1.3 var(--font-head); margin-bottom: 4px; }
.svc-link .ico { width: 30px; height: 30px; color: var(--red); }
.svc-link:hover { border-color: transparent; box-shadow: var(--shadow-lg); color: var(--muted); transform: translateY(-3px); }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-bottom: var(--s-5); }
.filters__label { font: 700 .78rem/1 var(--font-display); letter-spacing: .14em; color: var(--ink); margin-right: var(--s-2); }
.filter {
  font: 500 .95rem/1 var(--font-head); cursor: pointer; min-height: 40px;
  padding: 0 var(--s-4); border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--paper); color: var(--text);
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.filter:hover { border-color: var(--red); color: var(--red); }
.filter.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.pager { display: flex; justify-content: center; gap: var(--s-2); margin-top: var(--s-7); }
.pager a, .pager span { display: grid; place-items: center; min-width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); font-weight: 700; transition: background-color var(--dur-fast), color var(--dur-fast); }
.pager a:hover { background: var(--red-50); }
.pager span { background: var(--red); border-color: var(--red); color: #fff; }

.about-intro { display: grid; grid-template-columns: 1fr 380px; gap: var(--s-7); align-items: center; }
.facts { display: grid; gap: var(--s-3); }
.facts li { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.facts .ico { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--red-50); color: var(--red); }
.facts span { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.facts b { display: block; color: var(--ink); font: 600 var(--fs-lg)/1.35 var(--font-head); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.work { margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--ink-2); transition: transform var(--dur-base) var(--ease-out); }
.work:hover { transform: translateY(-4px); }
.work figcaption { padding: var(--s-4) var(--s-5) var(--s-5); color: #c9c9cf; font-size: .95rem; line-height: 1.6; border-top: 3px solid var(--red); }
.brands { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: var(--s-5); }
.brandcard {
  display: flex; align-items: center; gap: var(--s-4); padding: var(--s-5); border-radius: var(--r-md); border: 1px solid var(--line);
  color: var(--ink); font: 600 var(--fs-lg)/1.3 var(--font-head);
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.brandcard span:last-child { display: inline-flex; align-items: center; gap: 6px; }
.brandcard:hover { box-shadow: var(--shadow-lg); border-color: transparent; color: var(--red); transform: translateY(-3px); }
.brandcard__img { width: 120px; height: auto; flex: none; border-radius: var(--r-sm); }
.brandcard__badge { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #3a3a40, #0e0e10); color: #fff; font-family: var(--font-display); font-weight: 900; letter-spacing: .08em; border: 4px solid var(--red); flex: none; }

/* Title and Maps button on one line, the address under the title (also on phones, above the button). */
.mapsec__head { display: grid; grid-template-columns: 1fr auto; gap: var(--s-2) var(--s-7); }
.mapsec__head .btn { grid-column: 2; grid-row: 1; }
.head .mapsec__addr { grid-column: 1 / -1; display: flex; gap: var(--s-2); align-items: flex-start; }
.head .mapsec__addr .ico { color: var(--red); flex: none; margin-top: 4px; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.contact-card {
  display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-5); border-radius: var(--r-md);
  background: var(--bg); border: 1px solid var(--line); color: var(--muted); font-size: .95rem; line-height: 1.5;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--muted); }
.contact-card b { display: block; color: var(--ink); font: 600 var(--fs-lg)/1.35 var(--font-head); margin-bottom: 4px; }
.contact-card .ico { width: 30px; height: 30px; color: var(--red); }
.contact-card--accent { background: radial-gradient(120% 140% at 0% 0%, var(--red), var(--red-800)); border-color: transparent; color: #fff; font: 700 1.4rem/1.3 var(--font-display); }
.contact-card--accent b { color: var(--on-red-muted); }
.contact-card--accent .ico { color: #fff; }
a.contact-card--accent:hover { color: #fff; box-shadow: var(--shadow-red); }

/* ---------- call-to-action band ---------- */
.cta { padding: 0 0 var(--section-y); background: var(--paper); }
.cta__in {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  padding: var(--s-7) var(--s-6); border-radius: var(--r-lg); color: var(--on-red-muted);
  background: radial-gradient(120% 160% at 100% 100%, var(--red), var(--red-800) 60%, var(--red-900));
}
.cta__in::after { content: ''; position: absolute; right: 18%; top: -50%; width: 120px; height: 200%; background: rgb(255 255 255 / .06); transform: skewX(-24deg); }
.cta h2 { color: #fff; font-size: var(--fs-2xl); margin-bottom: 4px; }
.cta p { margin: 0; }
.cta .btn { position: relative; z-index: 1; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #a9a9b1; padding: var(--s-8) 0 var(--s-4); position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--red-800)); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--s-6); }
.footer__brand p { font-size: .9rem; margin-top: var(--s-4); max-width: 34ch; }
.brand--light { color: #fff; }
.brand--light:hover { color: #fff; }
.brand--light { padding: var(--s-2) var(--s-4); background: #fff; border-radius: var(--r-sm); }
.footer__h { color: #fff; font-size: var(--fs-base); margin-bottom: var(--s-3); }
.footer__links li, .footer__contact li { margin-bottom: var(--s-2); font-size: .95rem; }
.footer__links a { color: #a9a9b1; display: inline-block; transition: color var(--dur-fast), transform var(--dur-base) var(--ease-out); }
.footer__links a:hover { color: #fff; transform: translateX(4px); }
.footer__contact li { display: flex; gap: var(--s-3); align-items: flex-start; }
.footer__contact .ico { color: var(--red); margin-top: 5px; }
.footer__contact a { color: #fff; font-weight: 700; }
.footer__social { display: flex; justify-content: center; gap: var(--s-3); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgb(255 255 255 / .08); }
.social { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .15); color: #fff; transition: background-color var(--dur-base), border-color var(--dur-base), transform var(--dur-base) var(--ease-out); }
.social .ico { width: 20px; height: 20px; }
.social:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }
.copyright { font-size: .78rem; color: #8f8f99; padding-top: var(--s-4); margin: 0; text-align: center; }
.copyright a { color: #8f8f99; }

.totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 40; display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: var(--shadow-red);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out), visibility var(--dur-base), background-color var(--dur-fast);
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { color: #fff; background: var(--ink); }
.totop .ico { width: 22px; height: 22px; }

/* ---------- scroll reveal (only when JS runs) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .svc[data-reveal].is-in { transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); transition-delay: 0s; }
/* Hero is above the fold: it animates in on load instead of waiting for the observer. */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js .hero [data-reveal] { opacity: 1; transform: none; transition: none; animation: rise var(--dur-slow) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .menu__item > a { padding: 10px 11px; }
  .svc-grid, .svc-links { grid-template-columns: repeat(2, 1fr); }
  .svc { min-height: 320px; }
  .with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .sidebar .infocard { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .about-intro { grid-template-columns: 1fr; }
  .about-intro .facts { grid-template-columns: repeat(3, 1fr); }
  .work-grid, .post-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr; }
  .brands-sec { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .topbar__fb { display: none !important; }
  .mainnav__in { gap: var(--s-3); }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: var(--s-2); order: 3; min-height: 44px; padding: 0 var(--s-3);
    font: 500 var(--fs-base)/1 var(--font-head); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-pill); cursor: pointer;
  }
  .menu-toggle .ico { width: 22px; height: 22px; }
  .menu-toggle .ico--close, .menu-toggle[aria-expanded='true'] .ico--open { display: none; }
  .menu-toggle[aria-expanded='true'] .ico--close { display: block; }
  .nav-call { margin-left: auto; }
  .menu {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--s-2) var(--gutter) var(--s-4); background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-out), visibility var(--dur-base);
  }
  .menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .menu__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .menu__item > a { flex: 1; padding: 14px 4px; font-size: var(--fs-lg); }
  .menu__item > a::after { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 48px; height: 48px; color: var(--ink); cursor: pointer; background: transparent; border: 0; }
  .sub-toggle .ico { transition: transform var(--dur-base) var(--ease-std); }
  .sub-toggle[aria-expanded='true'] .ico { transform: rotate(180deg); }
  .submenu { position: static; display: none; width: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 var(--s-2); background: transparent; }
  .submenu::before { display: none; }
  .has-sub:hover .submenu, .has-sub:focus-within .submenu { display: none; }
  .has-sub.is-open .submenu { display: block; }

  .hero__top { grid-template-columns: 1fr; align-items: start; }
  .hero__cta { justify-content: flex-start; }
  .hero__panel { grid-template-columns: 1fr; }
  .hero__media { min-height: 260px; order: -1; }
  .hero__media img { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%); }
  .stats { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); padding: var(--s-5); }
  .about-band { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-5); }
  .gallery--3 { grid-template-columns: repeat(2, 1fr); }
  .gallery--mosaic { grid-template-columns: repeat(3, 1fr); }
  .mapsec__info { grid-template-columns: 1fr; }
  .cta__in { flex-direction: column; align-items: flex-start; }
}

/* ---------- phone ---------- */
@media (max-width: 600px) {
  .mapsec__head { grid-template-columns: 1fr; }
  .mapsec__head .btn { grid-column: 1; grid-row: 3; justify-self: start; margin-top: var(--s-2); }
  body { font-size: .95rem; }
  .topbar__in { justify-content: center; }
  .topbar__hours { display: none !important; }
  .brand__logo { height: 42px; }
  .nav-call { width: 44px; padding: 0; justify-content: center; }
  .nav-call span { display: none; }
  .menu-toggle span { display: none; }
  .menu-toggle { width: 44px; padding: 0; justify-content: center; }

  .hero__cta .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr; }
  .stats { gap: var(--s-5); }
  .hero__badge { left: var(--s-4); right: var(--s-4); bottom: var(--s-4); }
  .svc-grid, .svc-links, .post-grid, .post-grid--3, .work-grid, .contact-grid, .brands, .sidebar, .why__cols, .about-intro .facts { grid-template-columns: 1fr; }
  .svc { min-height: 300px; }
  .brands-sec__cards { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
  .gallery--3, .gallery--mosaic { grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
  .why__card { padding: var(--s-7) var(--s-5) var(--s-5); }
  .why__tab { left: var(--s-5); }
  .mapsec iframe { height: 320px; }
  .mapsec__info { gap: var(--s-3); margin-top: var(--s-4); }
  .cta__in { padding: var(--s-6) var(--s-5); }
  .cta .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .totop { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
