:root {
  --bg: #f7f7f8;
  --surface: #fff;
  --soft: #eceff2;
  --ink: #0f172a;
  --muted: #525d6e;
  --accent: #00729d;
  --button: #0f172a;
  --button-ink: #fff;
  --max: 70rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 1rem;
  color-scheme: light;
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

:root.dark {
  --bg: #0e1116;
  --surface: #161b23;
  --soft: #1c222c;
  --ink: #f4f5f7;
  --muted: #aab4c2;
  --accent: #5ac9f5;
  --button: #5ac9f5;
  --button-ink: #071a24;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.55; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip {
  position: fixed;
  z-index: 1200;
  inset: 1rem auto auto 1rem;
  padding: .75rem 1rem;
  border-radius: .5rem;
  background: var(--button);
  color: var(--button-ink);
  transform: translateY(-180%);
}

.skip:focus { transform: none; }

.wrap {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu a {
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: .5rem;
}

.menu a .icon { width: 1rem; height: 1rem; }

.td-unified-header .menu a:hover,
.td-unified-header .menu a[aria-current="page"] { color: var(--accent); }

.theme-toggle {
  display: grid;
  padding: 0;
  border: 0;
  place-items: center;
  border-radius: .625rem;
}

.theme-toggle[hidden], .theme-toggle .sun, .dark .theme-toggle .moon { display: none; }
.dark .theme-toggle .sun { display: block; }

.hero {
  padding-block: clamp(2.75rem, 6.2vw, 5.25rem) clamp(3.5rem, 7vw, 6rem);
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  margin-bottom: .8rem;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  max-width: 15ch;
  font-size: clamp(2.5rem, 1.45rem + 4.9vw, 5.25rem);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -.058em;
}

h1 span {
  display: block;
  color: var(--accent);
}

.hero-lead {
  max-width: 34rem;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, .93rem + .53vw, 1.25rem);
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem 1.4rem;
  margin-top: 1.65rem;
}

.button, .text-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-size: .95rem;
  font-weight: 700;
}

.button {
  padding: .6rem 1.15rem;
  border-radius: .75rem;
  background: var(--button);
  color: var(--button-ink);
}

.button:hover { filter: brightness(1.17); }
.text-link { color: var(--accent); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .icon { width: .975rem; height: .975rem; }

.hero-portfolio {
  display: grid;
  min-width: 0;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.5rem, 1.8vw, .95rem);
  padding: clamp(1.15rem, 4.3vw, 3rem);
  border-radius: clamp(1rem, 2.5vw, 1.5rem);
  background:
    radial-gradient(ellipse at 7% 9%, #ccecf6, transparent 62%),
    linear-gradient(125deg, #e5eef4, #ece9e4 67%, #f0dfcc);
}

.dark .hero-portfolio {
  background:
    radial-gradient(ellipse at 7% 9%, #123a50, transparent 65%),
    linear-gradient(125deg, #192838, #282523 67%, #432e20);
}

.hero-shot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  background: #1c201f;
  border-radius: clamp(.65rem, 1.4vw, 1rem);
  box-shadow: 0 22px 38px -18px #1119249c;
  transform: translateY(-4%) rotate(-5deg);
  transition: transform .24s ease;
}

.hero-shot + .hero-shot { transform: translateY(4%) rotate(5deg); }
.hero-shot:hover { transform: translateY(-7%) rotate(-3deg); }
.hero-shot + .hero-shot:hover { transform: translateY(1%) rotate(3deg); }

.hero-shot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-shot-image img { object-position: 78% center; }

.hero-shot span {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: .35rem;
  position: absolute;
  inset: auto 0 0;
  min-height: 43%;
  padding: .55rem clamp(.5rem, 1.45vw, .95rem);
  background: linear-gradient(transparent, #10151de8);
  color: #fff;
  font-size: clamp(.78rem, .62rem + .6vw, 1.03rem);
  font-weight: 750;
}

.hero-shot .icon { width: .9rem; height: .9rem; margin-bottom: .26rem; }

.section { padding-block: clamp(3.5rem, 7vw, 6.25rem); }

.section-head {
  max-width: 41rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.7rem);
}

h2 {
  font-size: clamp(1.95rem, 1.25rem + 2.2vw, 3.35rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -.047em;
  text-wrap: balance;
}

.section-head > p:not(.eyebrow) {
  margin-top: .85rem;
  color: var(--muted);
  font-size: clamp(1.02rem, .94rem + .27vw, 1.13rem);
  text-wrap: pretty;
}

.gallery { background: var(--surface); }

.work-group + .work-group { margin-top: clamp(2.75rem, 6vw, 5rem); }

.work-heading { margin-bottom: 1.1rem; }

.work-heading h3 {
  font-size: clamp(1.4rem, 1.13rem + 1.15vw, 2rem);
}

.work-heading p, .art-copy p {
  color: var(--muted);
  margin-top: .35rem;
}

.art-card {
  overflow: hidden;
  min-width: 0;
  border-radius: var(--radius);
  background: var(--bg);
}

.art-preview {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1200 / 630;
  background: #181513;
}

.art-preview img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.art-preview:focus-visible { outline-offset: -4px; }

.art-preview > .icon {
  position: absolute;
  inset: .8rem .8rem auto auto;
  color: #fff;
  filter: drop-shadow(0 0 4px #000);
}

.art-copy {
  align-self: center;
  padding: clamp(1rem, 3.25vw, 2.6rem);
}

.art-copy h4 {
  font-size: clamp(1.2rem, 1.05rem + .65vw, 1.55rem);
  line-height: 1.22;
  letter-spacing: -.025em;
}

.reels-grid {
  display: grid;
  gap: clamp(1.3rem, 3.3vw, 2.6rem);
  align-items: start;
}

.reel {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg);
}

.reel-media {
  position: relative;
  display: grid;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(.85rem, 2.2vw, 1.4rem);
  place-items: center;
  background: #202321;
}

.reel-media::before {
  position: absolute;
  z-index: -1;
  inset: -1.25rem;
  background: linear-gradient(135deg, #131c2199, #15141b30), var(--reel-image) center 40% / cover;
  filter: blur(16px) saturate(.75);
  content: "";
}

.reel-media-tire { --reel-image: url("hero-tirefix.webp"); }
.reel-media-wash { --reel-image: url("hero-wash-wax.webp"); }

.reel video {
  display: block;
  width: min(100%, 16rem);
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: .7rem;
  background: #10151a;
  box-shadow: 0 12px 34px #10151b6b;
}

.reel video:focus-visible { outline-color: #fff; }

.reel-copy { padding: clamp(1rem, 2.5vw, 1.6rem); }

.reel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .45rem;
}

h3 {
  font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem);
  font-weight: 760;
  line-height: 1.22;
  letter-spacing: -.022em;
}

.reel-heading h4 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem); line-height: 1.2; letter-spacing: -.025em; }
.reel-heading span { flex: none; font-size: .875rem; font-variant-numeric: tabular-nums; }
.reel-heading span, .reel-copy > p, .transcript p { color: var(--muted); }

.reel-copy details { margin-top: .55rem; }

.reel-copy summary {
  width: fit-content;
  min-height: 2.6rem;
  padding-block: .6rem;
  color: var(--accent);
  font-size: .875rem;
  font-weight: 650;
  cursor: pointer;
}

.transcript {
  padding: .95rem 1rem;
  border-radius: .65rem;
  background: var(--surface);
  font-size: .94rem;
}

.transcript p + p { margin-top: .7rem; }

.format-grid, .brief ul {
  padding: 0;
  list-style: none;
}

.format-grid {
  display: grid;
  gap: 1rem;
}

.format-grid li {
  padding: clamp(1.25rem, 2.45vw, 1.9rem);
  border-radius: var(--radius);
  background: var(--surface);
}

.format-grid .icon {
  width: 1.6rem;
  height: 1.6rem;
  margin-bottom: .8rem;
  color: var(--accent);
}

.format-grid p, .steps p {
  margin-top: .45rem;
  color: var(--muted);
}

.process { background: var(--surface); }

.process-grid {
  display: grid;
  align-items: center;
  gap: clamp(1.75rem, 6vw, 5rem);
}

.steps {
  display: grid;
  gap: 1.45rem;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: .75rem;
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps, decimal-leading-zero);
  color: var(--accent);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .875rem;
  font-weight: 700;
  padding-top: .16rem;
}

.brief {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--soft);
}

.brief ul { display: grid; gap: .9rem; margin-block: 1.1rem .5rem; }

.brief li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  color: var(--muted);
}

.brief li .icon { margin-top: .16rem; color: var(--accent); }

.faq-grid {
  display: grid;
  gap: 1.1rem clamp(1.75rem, 5.5vw, 5rem);
}

.faq-grid .section-head { margin-bottom: .3rem; }
.faq { display: grid; gap: .6rem; }

.faq details {
  min-width: 0;
  border-radius: .85rem;
  background: var(--surface);
}

.faq summary {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--accent); }
.faq details[open] .icon { transform: rotate(45deg); }
.faq details p { padding: 0 1rem 1rem; color: var(--muted); }

.contact { padding-block: 0 clamp(3rem, 6vw, 5rem); }

.contact-panel {
  display: grid;
  align-items: center;
  justify-items: start;
  gap: 1.5rem clamp(2rem, 5vw, 4rem);
  padding: clamp(1.45rem, 5vw, 3.6rem);
  border-radius: var(--radius);
  background: #101b2e;
  color: #fff;
}

.contact-panel p { max-width: 37rem; margin-top: .8rem; color: #c6d1df; }
.contact-panel .button { background: #fff; color: #101b2e; }
.contact-panel .button:hover { background: #ecf7fd; filter: none; }
.contact-panel .button:focus-visible { outline-color: #79d7fb; }

.footer {
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--surface);
  font-size: .875rem;
  color: var(--muted);
}

.footer .wrap { display: grid; justify-items: center; gap: .4rem; text-align: center; }
.footer-brand img { width: 8.75rem; }
.dark .footer-brand img { filter: brightness(0) invert(1); }

.footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 1rem;
}

.footer a:not(.footer-brand) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
}

.footer .social { gap: .3rem; }
.footer .social a { min-width: 2.75rem; }
.footer a:hover { color: var(--accent); }
.footer .legal { font-size: .81rem; }

@media (min-width: 40rem) {
  .reels-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art-card { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); }
  .format-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-panel { grid-template-columns: minmax(0, 1fr) auto; }
}

@media (min-width: 53rem) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; }
  .process-grid { grid-template-columns: 1.35fr .8fr; }
  .faq-grid { grid-template-columns: .8fr 1.2fr; }
}

@media (max-width: 1023px) {
  body.td-unified-shell > main { padding-bottom: 0 !important; }
  .footer { padding-bottom: calc(5.6rem + env(safe-area-inset-bottom)); }
  #mobile-nav-wrapper .home-bottom-tabs { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; }
  html { scroll-padding-bottom: calc(4.25rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 375px) {
  #mobile-nav-wrapper .tab-link-mobile span { font-size: 11px !important; }
  #mobile-nav-wrapper .tab-link-mobile svg { width: 19px; height: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-shot { transition: none; }
}

@media (min-width: 1240px) {
  .td-unified-header .td-header-inner { max-width: 76rem; }
}

@media (max-width: 39.99rem) {
  .hero { padding-top: 2rem; }
  .hero-grid { gap: 1.35rem; }
  .actions { gap: .25rem .8rem; }
}

@media (max-width: 1023px) {
  #mobile-nav-wrapper .tab-link-mobile[data-nav-key="advertising"] span {
    font-size: 10.5px !important;
  }
}
