/* =========================================================
   Carlo's Classic Muscle Cars — Gepps Cross, SA
   dark showroom: near-black + chrome + racing red + vintage gold
   heavy Anton display, Archivo body
   ========================================================= */

:root {
  --ink:       #0e0d0c;
  --ink-2:     #161412;
  --ink-3:     #211e1a;
  --ink-4:     #2c2823;
  --bone:      #f5f1e9;
  --bone-2:    #cfc7b8;
  --steel:     #8f887c;
  --steel-d:   #b3ab9d;
  --line:      rgba(245,241,233,0.12);
  --line-2:    rgba(245,241,233,0.07);
  --red:       #d8232a;
  --red-2:     #b21a20;
  --gold:      #e3b23c;
  --gold-2:    #c8972b;

  --display: "Anton", "Arial Narrow", sans-serif;
  --body:    "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(66px, 9vw, 128px);
  --max: 1280px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--red); color: #fff; }

.red { color: var(--red); }
.gold { color: var(--gold); }
.chrome {
  background: linear-gradient(180deg, #ffffff 0%, #d6dadf 44%, #a7adb6 56%, #eef1f4 70%, #9aa0a8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.skip { position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff; padding: 12px 16px; z-index: 200; }
.skip:focus { left: 14px; top: 14px; }

/* ---------- badge (recreated TEAM CARLO logo) ---------- */
.badge-arc  { font-family: var(--display); font-size: 17px; letter-spacing: 2.5px; }
.badge-team { font-family: var(--display); font-size: 16px; letter-spacing: 5px; }
.badge-carlo{ font-family: var(--display); font-size: 43px; letter-spacing: 1px; }
.badge-tag  { font-family: var(--body); font-style: italic; font-weight: 600; font-size: 8.5px; letter-spacing: 0.6px; }

/* ---------- brand lockup (nav) ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__badge { width: 46px; height: 46px; display: block; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--display); font-size: 22px; letter-spacing: 0.5px; color: var(--bone); }
.brand__sub { font-family: var(--body); font-weight: 700; font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
  padding: 12px var(--gutter);
  background: color-mix(in oklab, var(--ink) 90%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__links { display: flex; gap: 28px; justify-content: center; font-weight: 700; font-size: 12.5px; letter-spacing: 0.13em; text-transform: uppercase; }
.nav__links a { color: var(--bone-2); text-decoration: none; padding: 6px 0; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav__links a:hover { color: var(--bone); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__call {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.01em; text-decoration: none;
  color: #fff; background: var(--red); padding: 11px 18px; border-radius: 2px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease); white-space: nowrap;
}
.nav__call svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 1.8; }
.nav__call:hover { background: var(--red-2); transform: translateY(-1px); }
.nav__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 40px; padding: 0 10px; background: transparent;
  border: 1px solid var(--line); border-radius: 3px; cursor: pointer;
}
.nav__toggle span { display: block; height: 2px; background: var(--bone); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; gap: 12px; }
  .nav__links, .nav__call { display: none; }
  .nav__toggle { display: flex; }
}

/* ---------- mobile menu drawer ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 80; visibility: hidden; display: none; }
.mobile-menu.is-open { visibility: visible; display: block; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(4,4,4,.68); opacity: 0; transition: opacity .35s var(--ease); }
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(330px, 86vw);
  background: var(--ink-2); border-left: 1px solid var(--line);
  padding: 78px 28px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 26px;
  transform: translateX(100%); transition: transform .4s var(--ease);
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }
.mobile-menu__close { position: absolute; top: 16px; right: 18px; width: 42px; height: 42px; background: transparent; border: none; color: var(--bone); font-size: 32px; line-height: 1; cursor: pointer; }
.mobile-menu__links { display: flex; flex-direction: column; gap: 2px; }
.mobile-menu__links a {
  font-family: var(--display); font-size: 27px; text-transform: uppercase;
  letter-spacing: .01em; color: var(--bone); text-decoration: none; padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__links a:hover { color: var(--gold); }
.mobile-menu__cta { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.mobile-menu__cta .btn { justify-content: center; }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu__backdrop, .mobile-menu__panel, .nav__toggle span { transition: none !important; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  text-decoration: none; padding: 15px 26px; border-radius: 2px; border: 2px solid transparent;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--bone); border-color: color-mix(in oklab, var(--bone) 36%, transparent); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--big { font-size: 17px; padding: 18px 32px; }

/* ---------- section heads ---------- */
.sec-head { max-width: var(--max); margin: 0 auto clamp(36px, 5vw, 56px); }
.sec-eyebrow {
  font-family: var(--body); font-weight: 800; font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 16px; display: inline-flex; align-items: center; gap: 12px;
}
.sec-eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--red); }
.sec-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 5.4vw, 66px); line-height: 0.98; letter-spacing: 0.01em;
  text-transform: uppercase; margin: 0; max-width: 18ch; color: var(--bone);
}
.sec-title--light { color: var(--bone); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--bone); min-height: min(94vh, 800px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.02) contrast(1.02); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, var(--ink) 5%, color-mix(in oklab, var(--ink) 35%, transparent) 48%, transparent 82%),
    linear-gradient(to right, color-mix(in oklab, var(--ink) 82%, transparent), transparent 64%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(40px, 7vw, 88px) var(--gutter) clamp(42px, 6vw, 76px); }
.hero__badge { width: clamp(72px, 9vw, 104px); height: clamp(72px, 9vw, 104px); display: block; margin: 0 0 22px; filter: drop-shadow(0 8px 24px rgba(0,0,0,.5)); }
.hero__eyebrow { font-family: var(--body); font-weight: 800; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; display: inline-flex; align-items: center; gap: 12px; }
.hero__eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--red); }
.hero__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(46px, 8.4vw, 108px); line-height: 0.92; letter-spacing: 0.01em;
  text-transform: uppercase; margin: 0 0 24px; text-shadow: 0 4px 40px rgba(0,0,0,.55);
}
.hero__lede { max-width: 52ch; font-size: clamp(15.5px, 1.4vw, 18px); color: var(--bone-2); margin: 0 0 30px; line-height: 1.62; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--bone-2); margin: 0; }
.hero__rating strong { font-size: 17px; color: var(--bone); }
.stars, .rev__stars { color: var(--gold); letter-spacing: 2px; }

/* ---------- trust bar ---------- */
.trust {
  background: var(--ink-2); color: var(--bone);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.trust__item { padding: clamp(24px, 3vw, 36px) var(--gutter); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.trust__item:first-child { border-left: none; }
.trust__big { font-family: var(--display); font-size: clamp(20px, 2.2vw, 27px); text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.04; }
.trust__sm { font-size: 13px; color: var(--steel-d); font-weight: 500; }
@media (max-width: 760px) {
  .trust { grid-template-columns: 1fr 1fr; }
  .trust__item:nth-child(odd) { border-left: none; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- what we do ---------- */
.services { padding: var(--section-y) var(--gutter); background: var(--ink); }
.svc-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.svc { background: var(--ink-2); padding: clamp(28px, 3.5vw, 46px); display: flex; flex-direction: column; gap: 10px; transition: background 0.3s var(--ease); }
.svc:hover { background: var(--ink-3); }
.svc__no { font-family: var(--display); font-size: 28px; color: var(--red); line-height: 1; }
.svc__name { font-family: var(--body); font-weight: 800; font-size: clamp(19px, 1.8vw, 24px); margin: 4px 0 0; letter-spacing: -0.01em; color: var(--bone); }
.svc__desc { margin: 0; font-size: 15px; color: var(--steel-d); line-height: 1.62; max-width: 46ch; }
.svc-note { max-width: var(--max); margin: clamp(28px, 4vw, 40px) auto 0; text-align: center; font-size: 15px; color: var(--steel-d); }
.svc-note a { color: var(--gold); font-weight: 700; text-decoration: none; white-space: nowrap; }
.svc-note a:hover { text-decoration: underline; }
@media (max-width: 680px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- why (image + text) ---------- */
.why { background: var(--ink-2); color: var(--bone); padding: var(--section-y) var(--gutter); }
.why { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 76px); align-items: center; max-width: var(--max); margin: 0 auto; }
.why__media { margin: 0; overflow: hidden; border-radius: 2px; aspect-ratio: 1 / 1.02; border: 1px solid var(--line); position: relative; }
.why__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(227,178,60,.18); pointer-events: none; }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.why__para { color: var(--bone-2); font-size: 16px; line-height: 1.72; margin: 22px 0 24px; max-width: 52ch; }
.why__list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 13px; }
.why__list li { position: relative; padding-left: 30px; color: var(--bone); font-weight: 500; }
.why__list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }
@media (max-width: 820px) { .why { grid-template-columns: 1fr; } .why__media { aspect-ratio: 16 / 11; } }

/* ---------- collection gallery ---------- */
.work { padding: var(--section-y) var(--gutter); background: var(--ink); }
.work-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.work__item { margin: 0; overflow: hidden; border-radius: 2px; background: var(--ink-3); position: relative; border: 1px solid var(--line); }
.work__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.work__item:hover img { transform: scale(1.05); }
.work__item figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  font-family: var(--display); font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--bone); padding: 9px 14px; background: linear-gradient(to top, rgba(8,8,8,.85), transparent);
  width: 100%;
}
.work__item--tall { grid-row: 1 / 3; }
.work__item--tall figcaption { font-size: 18px; }
@media (max-width: 760px) {
  .work-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .work__item { aspect-ratio: 4 / 3; }
  .work__item--tall { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
}

/* ---------- social proof ---------- */
.reviews { padding: var(--section-y) var(--gutter); background: var(--ink-2); text-align: center; }
.reviews .sec-head { text-align: center; }
.reviews .sec-title { margin-left: auto; margin-right: auto; text-align: center; max-width: none; }
.reviews .sec-eyebrow { justify-content: center; }
.rev-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left; }
.rev { margin: 0; background: var(--ink-3); border: 1px solid var(--line); border-top: 3px solid var(--red); padding: clamp(26px, 3vw, 38px); display: flex; flex-direction: column; gap: 14px; }
.rev__stars { font-size: 17px; }
.rev p { margin: 0; font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; line-height: 1.45; flex: 1; color: var(--bone); }
.rev cite { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel-d); }
.rev--stat .rev__big { font-family: var(--display); font-size: 60px; line-height: 0.8; color: var(--gold); display: inline-block; margin-right: 8px; vertical-align: -6px; }
.rev--stat p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.rev--gold { border-top-color: var(--gold); }
.rev--cta { background: var(--ink); justify-content: space-between; }
.rev--cta .link-arrow { font-size: 15px; }
@media (max-width: 820px) { .rev-grid { grid-template-columns: 1fr; } }

/* ---------- visit ---------- */
.visit { background: var(--ink); color: var(--bone); padding: var(--section-y) var(--gutter); }
.visit__text { max-width: var(--max); margin: 0 auto; }
.visit__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); margin: clamp(32px, 4vw, 48px) 0; }
.visit__block { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--red); }
.visit__label { font-weight: 800; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.visit__block address { font-style: normal; font-family: var(--display); font-size: clamp(20px, 2vw, 27px); text-transform: uppercase; line-height: 1.16; letter-spacing: 0.01em; color: var(--bone); }
.visit__avail { margin: 0; color: var(--bone-2); font-size: 15.5px; line-height: 1.6; }
.visit__phone { font-family: var(--display); font-size: clamp(27px, 3vw, 40px); color: var(--bone); text-decoration: none; letter-spacing: 0.01em; }
.visit__phone:hover { color: var(--gold); }
.link-arrow { font-weight: 700; font-size: 14px; color: var(--gold); text-decoration: none; }
.link-arrow:hover { color: var(--red); text-decoration: underline; }
.visit__map { max-width: var(--max); margin: 0 auto clamp(32px, 4vw, 48px); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; height: clamp(220px, 32vw, 360px); }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05) brightness(0.92); }
.visit__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; max-width: var(--max); margin: 0 auto; }
@media (max-width: 760px) { .visit__grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- footer ---------- */
.foot { background: #090807; color: var(--bone); padding: clamp(48px, 6vw, 80px) var(--gutter) calc(78px + env(safe-area-inset-bottom)); text-align: center; }
.foot__brand { display: inline-flex; margin-bottom: 18px; }
.foot__badge { width: 86px; height: 86px; display: block; }
.foot__line { margin: 0; font-size: 14px; color: var(--bone-2); }
.foot__line a { color: var(--gold); font-weight: 700; text-decoration: none; }
.foot__contact { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; margin: 22px 0 6px; }
.foot__contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--bone-2); text-decoration: none; font-size: 13.5px; font-weight: 600; transition: color .25s var(--ease); }
.foot__contact a:hover { color: var(--gold); }
.foot__contact svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.foot__contact a:last-child svg { fill: currentColor; stroke: none; }
.foot__fine { margin: 20px 0 0; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel); }
.jtn-credit { margin: 10px 0 0; font-size: 11.5px; color: var(--steel); }
.jtn-credit a { color: var(--steel-d); text-decoration: none; border-bottom: 1px solid var(--line); transition: color .25s var(--ease), border-color .25s var(--ease); }
.jtn-credit a:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- mobile sticky call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; align-items: center; justify-content: center; gap: 10px;
  background: var(--red); color: #fff; text-decoration: none;
  font-family: var(--display); font-size: 18px; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 15px 16px calc(15px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(0,0,0,.5);
}
.callbar svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.9; }
@media (max-width: 900px) { .callbar { display: flex; } .foot { padding-bottom: calc(78px + env(safe-area-inset-bottom)); } }

/* ---------- reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal-img] { opacity: 0; transform: translateY(12px) scale(0.99); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-delay="1"] { transition-delay: 80ms; } [data-delay="2"] { transition-delay: 160ms; }
[data-delay="3"] { transition-delay: 240ms; } [data-delay="4"] { transition-delay: 320ms; }
.is-in[data-reveal], .is-in[data-reveal-img] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal], [data-reveal-img] { opacity: 1 !important; transform: none !important; transition: none !important; } }
