/* DynotuneMP — site styles
   Light, fast, accessible. No framework. */

@font-face {
  font-family: "Barlow SC";
  src: url("../fonts/barlow-sc-800i.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Barlow SC";
  src: url("../fonts/barlow-sc-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0a1ed2;          /* logo royal blue */
  --blue-dark: #07149a;
  --blue-tint: #eef1ff;
  --ink: #0e1525;
  --text: #2b3445;
  --muted: #545e70;         /* 6.6:1 on white */
  --line: #dde2ea;
  --surface: #f5f7fa;
  --white: #ffffff;
  --chrome: linear-gradient(180deg, #fbfcfd 0%, #d9dde3 55%, #f2f4f6 100%);
  --radius: 14px;
  --shadow: 0 1px 2px rgb(14 21 37 / 6%), 0 8px 24px rgb(14 21 37 / 8%);
  --wrap: 1160px;
  --head: "Barlow SC", "Arial Narrow", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: .005em;
  color: var(--ink);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tint { background: var(--surface); }
.eyebrow {
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .9rem;
  color: var(--blue);
  margin-bottom: .6rem;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }

/* Slanted accent bar, echoing the logo */
.slash { display: inline-block; width: 56px; height: 8px; background: var(--blue); transform: skewX(-24deg); margin-bottom: 1.1rem; }

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--blue); color: #fff; padding: .7rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 1rem; color: #fff; }
.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; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.4rem;
  font-family: var(--head); font-weight: 600; font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
  border: 2px solid transparent; border-radius: 10px; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue-tint); }
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { background: var(--blue-tint); color: var(--blue-dark); }
.btn--outline-light { border-color: rgb(255 255 255 / 85%); color: #fff; }
.btn--outline-light:hover { background: rgb(255 255 255 / 12%); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgb(255 255 255 / 85%); backdrop-filter: saturate(1.4) blur(10px); }
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: block; flex: none; }
.brand img { width: 168px; height: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav a {
  display: block; padding: .55rem .8rem; border-radius: 8px;
  font-family: var(--head); font-weight: 600; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink); text-decoration: none;
}
.nav a:hover { background: var(--surface); color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--blue); border-radius: 8px 8px 0 0; }
.header-call { flex: none; }
.menu-toggle { display: none; }

@media (max-width: 920px) {
  .header-inner { min-height: 64px; }
  .brand img { width: 140px; }
  .header-call .btn-label { display: none; }
  .header-call .btn { padding: .6rem .8rem; }
  .js .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-left: auto;
    background: none; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); cursor: pointer;
  }
  .menu-toggle svg { width: 24px; height: 24px; }
  .js .nav { position: absolute; inset: 100% 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .js .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: .5rem 1rem 1rem; }
  .nav a { padding: .9rem .75rem; font-size: 1.2rem; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--blue); border-radius: 0 8px 8px 0; }
  .no-js .nav ul { flex-direction: row; flex-wrap: wrap; padding: 0; }
  .no-js .header-inner { flex-wrap: wrap; }
}

/* Hero */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: #0e1525; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture img { object-fit: cover; object-position: 50% 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgb(8 12 28 / 88%) 0%, rgb(8 12 28 / 65%) 45%, rgb(8 12 28 / 15%) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding: clamp(5rem, 14vw, 9.5rem) 0 clamp(4rem, 10vw, 7rem); }
.hero h1 { color: #fff; max-width: 12ch; }
.hero h1 em { font-style: italic; color: #9fb0ff; }
.hero p { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 34rem; color: #e7ebf5; }
.hero .btn-row { margin-top: 1.75rem; }
.hero-credit { position: absolute; right: .75rem; bottom: .5rem; z-index: 1; font-size: .75rem; color: rgb(255 255 255 / 80%); }
@media (max-width: 700px) {
  .hero picture { position: relative; display: block; aspect-ratio: 3 / 2; }
  .hero picture img { object-position: 62% 50%; }
  .hero::after { display: none; }
  .hero .wrap { padding: 1.75rem 0 2.5rem; }
  .hero-credit { display: none; } /* the photo watermark credits the photographer */
}

.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(2.5rem, 6vw, 3.5rem); }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 3.75rem); }
.page-hero .lead { margin-bottom: 0; }

/* Promise strip */
.promise { background: var(--blue); color: #fff; }
.promise .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.promise-item { padding: 1.75rem 1.5rem; border-left: 1px solid rgb(255 255 255 / 18%); }
.promise-item:first-child { border-left: 0; padding-left: 0; }
.promise-item h2 { color: #fff; font-size: 1.45rem; margin-bottom: .35rem; }
.promise-item p { margin: 0; color: #dfe4ff; font-size: 1rem; }
@media (max-width: 820px) {
  .promise .wrap { grid-template-columns: 1fr; }
  .promise-item { border-left: 0; border-top: 1px solid rgb(255 255 255 / 18%); padding: 1.4rem 0; }
  .promise-item:first-child { border-top: 0; }
}

/* Cards */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-tint); color: var(--blue); margin-bottom: 1rem;
}
.card .icon svg { width: 26px; height: 26px; }
.card-link { font-weight: 600; text-decoration: none; }
.card-link::after { content: " →"; }

/* Split feature */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split-media figcaption { font-size: .8rem; color: var(--muted); margin-top: .5rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split-media { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .6rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Crew */
.crew { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.crew-card { display: flex; align-items: center; gap: .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.crew-card strong { display: block; font-family: var(--head); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 1.35rem; line-height: 1.1; color: var(--ink); }
.crew-card span:not(.crew-mark) { display: block; color: var(--muted); font-size: .92rem; line-height: 1.35; }
.crew-mark { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-tint); color: var(--blue); font-family: var(--head); font-weight: 800; font-style: italic; font-size: 1.6rem; }
.crew-card--lead { grid-column: 1 / -1; border-color: var(--blue); }
.crew-card--lead .crew-mark { background: var(--blue); color: #fff; }
.crew-card:not(.crew-card--lead) { flex-direction: column; align-items: flex-start; }
@media (max-width: 480px) { .crew { grid-template-columns: 1fr; } .crew-card:not(.crew-card--lead) { flex-direction: row; align-items: center; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1.25rem; }
.stat { border-radius: var(--radius); padding: 1.6rem; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--blue); }
.stat-value { font-family: var(--head); font-weight: 800; font-style: italic; font-size: clamp(2.2rem, 4vw, 2.9rem); line-height: 1; color: var(--blue); margin: 0 0 .5rem; }
.stat-label { font-weight: 600; color: var(--ink); margin: 0 0 .25rem; }
.stat-note { color: var(--muted); font-size: .92rem; margin: 0; }

/* Quotes */
.quote { margin: 0; }
.quote blockquote { margin: 0 0 1rem; font-size: 1.15rem; color: var(--ink); }
.quote blockquote p::before { content: "“"; }
.quote blockquote p::after { content: "”"; }
.quote figcaption { color: var(--muted); font-size: .95rem; }
.quote figcaption strong { color: var(--ink); display: block; }

/* Brand list */
.brands { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.brands li {
  padding: .5rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-family: var(--head); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
}

/* CTA band */
.cta-band { background: var(--ink); color: #e7ebf5; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -8%; top: -40%; width: 45%; height: 180%;
  background: var(--blue); transform: skewX(-24deg); opacity: .9;
}
.cta-band .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(3rem, 7vw, 4.5rem) 0; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; max-width: 36rem; }
@media (max-width: 700px) { .cta-band::before { display: none; } }

/* Rates */
.rate-card { display: flex; flex-direction: column; }
.rate-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.rate-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.rate-list li:last-child { border-bottom: 0; }
.rate-name { color: var(--ink); font-weight: 600; }
.rate-name small { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
.price { font-family: var(--head); font-weight: 800; font-style: italic; font-size: 1.9rem; color: var(--blue); white-space: nowrap; line-height: 1; }
.price small { font-size: .55em; font-style: normal; font-weight: 600; color: var(--muted); }
.note { font-size: .95rem; color: var(--muted); border-left: 4px solid var(--blue); background: var(--blue-tint); padding: .85rem 1rem; border-radius: 0 10px 10px 0; margin: 0; }
.platforms { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.platforms li { font-size: .85rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; background: var(--blue-tint); color: var(--blue-dark); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1.25rem; }
.gallery figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: .9rem 1rem 1rem; font-size: .95rem; }
.gallery figcaption strong { display: block; color: var(--ink); }
.press { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.press a { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.press img { aspect-ratio: 360 / 490; object-fit: cover; width: 100%; transition: transform .2s; }
.press a:hover img { transform: scale(1.03); }
@media (max-width: 560px) { .press { grid-template-columns: repeat(3, 1fr); gap: .5rem; } }

/* Testimonials */
.story { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: start; }
.story img { border-radius: 12px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.story h2 { font-size: 1.6rem; margin-bottom: .2rem; }
.story .car { color: var(--muted); font-size: .95rem; margin-bottom: .8rem; }
.story .result { display: inline-block; font-weight: 700; color: var(--blue-dark); background: var(--blue-tint); border-radius: 8px; padding: .25rem .6rem; margin-bottom: .9rem; font-size: .95rem; }
.story blockquote { margin: 0; }
details.more summary { cursor: pointer; color: var(--blue); font-weight: 600; margin-top: .25rem; width: fit-content; }
details.more[open] summary { margin-bottom: .75rem; }
@media (max-width: 640px) { .story { grid-template-columns: 1fr; } .story img { aspect-ratio: 16 / 10; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
.req { color: #b4231b; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  min-height: 48px; padding: .7rem .85rem;
  border: 1.5px solid #b9c1ce; border-radius: 10px; background: #fff;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgb(10 30 210 / 30%); border-color: var(--blue); }
input:user-invalid, textarea:user-invalid, select:user-invalid { border-color: #b4231b; }
fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices label { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .9rem; border: 1.5px solid #b9c1ce; border-radius: 10px; font-weight: 500; cursor: pointer; min-height: 48px; }
.choices input { accent-color: var(--blue); width: 1.1rem; height: 1.1rem; }
.choices label:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 1rem 1.1rem; border-radius: 10px; font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status--info { background: var(--blue-tint); color: var(--blue-dark); }
.info-card { position: sticky; top: 96px; }
.info-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 1rem; }
.info-list li { display: grid; grid-template-columns: 28px 1fr; gap: .75rem; }
.info-list svg { width: 24px; height: 24px; color: var(--blue); margin-top: .15rem; }
.info-list strong { display: block; color: var(--ink); }

/* Long-form text (privacy page) */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: .35rem; }

/* Small utilities */
.h3-size { font-size: 1.5rem; }
.more-link { margin-top: 1.5rem; }
.hint-text { color: var(--muted); font-size: .92rem; }
.hero .eyebrow { color: #c9d2ff; }
.gallery-wide { margin: 0; }
.gallery-wide img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.gallery-wide figcaption { font-size: .9rem; color: var(--muted); margin-top: .6rem; }
.social--light a { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.social--light a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.social--light { margin-top: 1.5rem; }

/* Footer */
.site-footer { background: #0b1120; color: #b9c2d3; padding: 3.5rem 0 6rem; font-size: .98rem; }
.site-footer a { color: #e7ebf5; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: 190px; margin-bottom: 1rem; }
.footer-address { font-style: normal; }
.footer-directions { margin-top: .6rem; }
.site-footer h2 { color: #fff; font-size: 1.15rem; letter-spacing: .06em; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: rgb(255 255 255 / 8%); }
.social a:hover { background: var(--blue); }
.social svg { width: 22px; height: 22px; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 10%); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
@media (min-width: 921px) { .site-footer { padding-bottom: 2rem; } }

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 920px) {
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / 97%); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgb(14 21 37 / 10%);
  }
  .action-bar .btn { width: 100%; font-size: 1rem; padding: .6rem .5rem; white-space: nowrap; }
  .action-bar .btn--ghost { background: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .action-bar, .cta-band, .site-footer .social { display: none; }
}
