:root {
  color-scheme: light;
  --paper: #f8faff;
  --ink: #142747;
  --muted: #405470;
  --blue: #1c50a1;
  --navy: #102b55;
  --blue-tint: #eaf1fc;
  --line: #d3deef;
  --yellow: #ffcf54;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.contact a:focus-visible, .missed-call-sample a:focus-visible { outline-color: var(--yellow); }
.wrap { width: min(1160px, calc(100% - 5rem)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; background: white; padding: .75rem; transform: translateY(-150%); z-index: 5; }
.skip:focus { transform: translateY(0); }
.top { min-height: 89px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .7rem; line-height: 1.1; font-size: 1rem; font-weight: 750; text-decoration: none; }
.brand-name { font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.mark { width: 44px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--navy); color: var(--yellow); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
nav { display: flex; align-items: center; gap: clamp(.7rem, 3vw, 2rem); }
nav a { font-size: .92rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .3em; }
.nav-contact { border: 1px solid #90a8ce; border-radius: 30px; padding: .65rem .9rem; }
.hero { padding-block: clamp(3rem, 7vw, 6.1rem); }
.hero-copy { max-width: 46rem; }
.eyebrow { display: flex; align-items: center; gap: .54rem; color: var(--blue); font-size: .73rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-weight: 780; }
h1 { font-size: clamp(3.2rem, 6.2vw, 6rem); line-height: .98; letter-spacing: -.075em; margin-block: 1.25rem 1.5rem; }
h1 em { color: var(--blue); display: block; font-weight: inherit; font-style: normal; }
.intro { color: var(--muted); font-size: clamp(1.04rem, 1.55vw, 1.18rem); max-width: 44ch; line-height: 1.65; }
.actions { display: flex; gap: 1rem 1.45rem; flex-wrap: wrap; align-items: center; margin-top: 1.8rem; }
.button { display: inline-flex; gap: .8rem; justify-content: space-between; align-items: center; background: var(--yellow); color: var(--ink); border: 1px solid #bc8a19; border-radius: .6rem; padding: .85rem 1rem; font-size: .93rem; font-weight: 750; line-height: 1.35; text-decoration: none; }
.button:hover { background: #ffdd80; }
.text-link { font-weight: 750; font-size: .91rem; text-decoration: none; }
.work { background: var(--blue-tint); padding-block: clamp(3rem, 6vw, 5rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 4.3rem); letter-spacing: -.065em; line-height: 1.03; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.7rem; }
.sample { display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 1rem; }
.sample-art { display: grid; place-items: center; padding: clamp(.75rem, 2vw, 1.25rem); background: #dce7f7; overflow: hidden; }
.sample-art img { aspect-ratio: 1; object-fit: contain; max-width: 380px; border-radius: .4rem; }
.sample-art:hover img { filter: brightness(1.06); }
.sample-art:focus-visible { outline-offset: -5px; }
.sample-copy { padding: 1.35rem; }
h3 { margin: .35rem 0 .5rem; font-size: clamp(1.35rem, 2.4vw, 2rem); letter-spacing: -.04em; }
.sample-copy p:last-child, dd { line-height: 1.58; color: var(--muted); }
.services { padding-block: clamp(3rem, 7vw, 6rem); display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem 4rem; }
.services h2 { max-width: 10ch; }
.services dl div { padding-block: 1rem; border-top: 1px solid var(--line); }
.services dl div:last-child { border-bottom: 1px solid var(--line); }
dt { margin-bottom: .35rem; font-weight: 750; font-size: 1.18rem; }
.contact { background: var(--navy); color: white; }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.6rem 3rem; padding-block: clamp(2.5rem, 6vw, 4.4rem); }
.contact h2 { font-size: clamp(2.15rem, 4vw, 3.5rem); }
.contact p { color: #dce8fa; margin-top: .8rem; line-height: 1.65; }
.inquiry-form { display: grid; gap: .55rem; width: min(100%, 32rem); flex: 0 1 32rem; }
.inquiry-form label { margin-top: .35rem; font-weight: 700; }
.inquiry-form label span { color: #dce8fa; font-weight: 500; }
.inquiry-form input, .inquiry-form textarea { min-width: 0; padding: .7rem .8rem; border: 1px solid #90a8ce; border-radius: .5rem; font: inherit; color: var(--ink); background: white; }
.inquiry-form textarea { resize: vertical; }
.inquiry-form :is(input, textarea, button):focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.inquiry-form .button { justify-self: start; margin-top: .4rem; font-family: inherit; cursor: pointer; }
.contact .contact-email { margin-top: .05rem; font-size: .88rem; }
.footer { min-height: 75px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .86rem; color: var(--muted); }
@media (max-width: 850px) {
  .wrap { width: min(100% - 3rem, 680px); }
  .services { gap: 1.5rem 2rem; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
  .inquiry-form { flex-basis: auto; }
}
@media (max-width: 540px) {
  .wrap { width: calc(100% - 2rem); }
  .top { min-height: 70px; }
  .brand { font-size: .83rem; gap: .42rem; }
  .mark { width: 38px; height: 34px; }
  nav { gap: .58rem; }
  nav a { font-size: .78rem; }
  .nav-contact { padding: .48rem .55rem; }
  .nav-contact span { display: none; }
  h1 { font-size: clamp(2.7rem, 11vw, 3.7rem); }
  .work-grid, .services { grid-template-columns: 1fr; }
  .hero { padding-top: 2.65rem; }
}

.coffee-art { background: #e8d9cb; }
.ride-art { background: #efddd8; }
.motion-sample { grid-column: 1 / -1; }
.motion-art { display: grid; place-items: center; background: var(--navy); }
.motion-art video { display: block; width: 100%; max-width: 740px; height: auto; aspect-ratio: 16 / 9; background: var(--navy); }
.motion-art video:focus-visible { outline: 3px solid var(--yellow); outline-offset: -4px; }

.website-sample { grid-column: 1 / -1; }
.website-sample-art { display: grid; grid-template-columns: 1fr 1fr; text-decoration: none; }
.website-sample-art:focus-visible { outline-offset: -5px; }
.website-sample-art > span { min-width: 0; min-height: clamp(8rem, 18vw, 13rem); padding: clamp(.85rem, 3vw, 1.7rem); display: flex; flex-direction: column; justify-content: space-between; gap: .5rem; }
.website-sample-art > span > span { font-size: .875rem; font-weight: 750; }
.website-sample-art strong { font-size: clamp(1rem, 3vw, 2rem); line-height: 1.08; }
.website-before { color: #2d3440; background: #e7ebf1; box-shadow: inset 0 .35rem #304a6a; }
.website-before strong { font-family: Georgia, serif; }
.website-after { color: #fff; background: linear-gradient(90deg, #13191ae0, #13191a59), url('media/southline-auto-shop.webp') center 60% / cover, #253330; }
.website-after span { color: #ddf697; }
.website-sample .sample-copy p:not(.eyebrow) { line-height: 1.58; color: var(--muted); }
.website-sample-link { display: inline-block; margin-top: .6rem; text-decoration: underline; text-underline-offset: .25em; }

.fleet-redesign { grid-column: 1 / -1; grid-template: auto / minmax(0, 1fr) minmax(0, 1fr); }
.fleet-redesign-copy { align-self: center; padding: clamp(1.35rem, 4vw, 3.5rem); }
.fleet-redesign-art video { max-width: 520px; aspect-ratio: 4 / 5; object-fit: contain; }
@media (max-width: 650px) {
  .fleet-redesign { grid-template: auto auto / minmax(0, 1fr); }
}

.missed-call-sample { grid-column: 1 / -1; background: var(--navy); color: #fff; }
.missed-call-sample .eyebrow { color: var(--yellow); }
.missed-call-sample h3 { font-size: clamp(1.65rem, 4vw, 2.5rem); }
.missed-call-sample .sample-copy > p:not(.eyebrow) { max-width: 54ch; color: #e0e9f5; line-height: 1.58; }
.missed-call-sample .button { margin-top: .85rem; }

.notification-settings { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.notification-settings h2 { margin-bottom: .5rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.notification-settings .actions { margin-top: .85rem; gap: .75rem; }
.notification-settings .button { font-family: inherit; cursor: pointer; }
.notification-settings .button[hidden] { display: none; }
.notification-settings .button:disabled { cursor: default; opacity: .65; }
.notification-settings [role="status"]:not(:empty) { margin-top: .65rem; }
