:root {
  --bg: #ffffff;
  --surface: #f4f4f4;
  --text: #171a20;
  --muted: #5c5e62;
  --cta: #171a20;
  --cta-text: #ffffff;
  --border: rgba(23, 26, 32, 0.12);
  --hairline: #e8e8e8;
  --font-head: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
  --container: 1160px;
  --radius-btn: 4px;
  --radius-card: 8px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { text-decoration: underline; }

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Header — white, flush to the banner. No dark gap. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.logo:hover { text-decoration: none; }

.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Same AMS coin as the five live shops — 58px, a notch under 72. */
.logo-mark {
  width: 72px;
  height: 72px;
}

.site-header .logo-mark,
.ams-logo-shine,
.ams-logo-shine img {
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  max-width: 58px;
  max-height: 58px;
}

.ams-logo-shine {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 50%;
  line-height: 0;
  flex: none;
}

.ams-logo-shine img {
  display: block;
  border-radius: 50%;
}

.ams-logo-shine::after {
  content: "";
  position: absolute;
  top: 30%;
  left: 118%;
  width: 9px;
  height: 9px;
  background:
    radial-gradient(circle, rgba(255,255,255,0.95) 0 16%, rgba(255,220,140,0.5) 28%, transparent 58%),
    linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)) center / 1.5px 100% no-repeat,
    linear-gradient(rgba(255,255,255,0.88), rgba(255,255,255,0.88)) center / 100% 1.5px no-repeat;
  filter: drop-shadow(0 0 3px rgba(255,220,140,0.45));
  animation: amsShine 8s ease-in-out infinite;
  pointer-events: none;
  opacity: 0;
}

@keyframes amsShine {
  0%  { left: 118%; opacity: 0; }
  4%  { opacity: 0.95; }
  18% { left: -16%; opacity: 0.8; }
  22% { left: -20%; opacity: 0; }
  100%{ left: -20%; opacity: 0; }
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-link:hover,
.main-nav li.active .nav-link { text-decoration: underline; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle { display: none; }

/* Banner — full lineup, no stretch, no text on the photo */
.hero-banner {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

.hero-banner-photo {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
  overflow: visible;
  background: var(--bg);
}

.hero-banner-photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: top;
}

.hero-banner-copy {
  padding: 40px 0 8px;
  max-width: 40rem;
}

.hero-banner-copy .eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-banner-copy h1 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(2.75rem, 5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.slogan {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-banner-copy .lead {
  margin: 0;
  color: var(--muted);
  max-width: 46ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  color: var(--text);
}

.btn:hover { text-decoration: none; }

.btn-cta {
  background: var(--cta);
  color: var(--cta-text);
  border-color: var(--cta);
}

.btn-cta:hover { background: #000; }

.btn-outline {
  border-color: var(--border);
  background: var(--bg);
}

.btn-outline:hover { border-color: var(--text); }

.btn-call {
  background: var(--bg);
  border-color: var(--text);
  color: var(--text);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
  margin-top: 4px;
  padding: 16px;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-tight { padding: 48px 0 80px; }
.section-shop { padding-top: 0; }

.page-title {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: clamp(2.75rem, 5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.eyebrow {
  margin: 0 0 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section h2 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section p { margin: 0 0 16px; color: var(--muted); }
.section p:last-child { margin-bottom: 0; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  padding: 24px;
}

.card h3 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
}

.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.price {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}

.card .btn { margin-top: 16px; }

.price-follow { margin-top: 24px; }

/* Quote form */
#quote { scroll-margin-top: 88px; }

.quote-top { padding: 32px 0 8px; }

.quote-lead { max-width: 640px; }

.quote-lead-form {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 24px;
}

.quote-lead-title {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 1.6rem;
  line-height: 1.1;
}

.quote-lead-sub {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

.field { margin-bottom: 14px; }

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-size: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
}

.field-phone input {
  font-size: 22px;
  padding: 18px;
  letter-spacing: 0.02em;
}

.form-row {
  display: flex;
  gap: 14px;
}

.form-row .field { flex: 1; }

.form-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* Two slots only (10 / 12). Grid so they never overlap; radios
   must not inherit `.field input { width: 100% }` or the 12 card
   covers the right of the 10 card on a ~390px phone. */
.appt-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
}

.appt-choices label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 8px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--bg);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.field .appt-choices input[type="radio"] {
  width: auto;
  height: auto;
  min-width: 18px;
  min-height: 18px;
  flex: 0 0 auto;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  accent-color: var(--text);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 48px 0 24px;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.site-footer h4 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 0.85rem;
}

.mobile-cta-bar { display: none; }

.page-hero {
  padding: 40px 0 0;
}

.breadcrumbs {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.prose-wrap { max-width: 40rem; }

.prose h2,
.section.prose h2 {
  margin: 32px 0 12px;
}

.card-link-card {
  color: inherit;
  text-decoration: none;
  display: block;
}

.card-link-card:hover { border-color: var(--text); text-decoration: none; }

.card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.faq-list details {
  border-top: 1px solid var(--hairline);
  padding: 16px 0;
}

.faq-list details:last-child { border-bottom: 1px solid var(--hairline); }

.faq-list summary {
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
}

.faq-list details p {
  margin: 12px 0 0;
}

.gallery-job {
  padding: 48px 0;
  border-top: 1px solid var(--hairline);
}

.gallery-job:first-of-type { border-top: 0; padding-top: 8px; }

.gallery-job h2 {
  margin: 0 0 16px;
}

.video-embed {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  margin: 0 0 24px;
  background: #111;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-copy { max-width: 40rem; }

.gallery-copy p { margin: 0 0 16px; color: var(--muted); }
.gallery-copy p:last-child { margin-bottom: 0; }

@media (max-width: 980px) {
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    padding: 12px 20px 20px;
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav-toggle { display: inline-flex; }

  .site-header .logo { gap: 8px; font-size: 0.92rem; }
  .header-cta { flex-shrink: 0; gap: 6px; }

  .header-cta > a[href="#quote"],
  .header-cta > a[href="../#quote"],
  .header-cta > a[href="../../#quote"] { display: none; }

  .grid-2,
  .grid-3,
  .footer-grid { grid-template-columns: 1fr; }

  .section { padding: 48px 0; }

  .mobile-cta-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--bg);
    border-top: 1px solid var(--hairline);
  }

  .mobile-cta-bar .btn { flex: 1; }

  body { padding-bottom: 72px; }
}

@media (max-width: 520px) {
  .form-row { flex-direction: column; gap: 0; }
  .hero-banner-copy { padding: 28px 0 8px; }
}

/* Stack the two appointment cards if a row would still collide. */
@media (max-width: 300px) {
  .appt-choices { grid-template-columns: 1fr; }
}

@media (pointer: coarse) {
  .field input,
  .field select,
  .field textarea { font-size: 1rem; }
}
