@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --ink: #182322;
  --ink-soft: #3e4d4a;
  --cream: #f7f1e6;
  --paper: #fffdf8;
  --primary-accent: #f3652a;
  --primary-accent-hover: #d84b16;
  --secondary-accent: #f4c95d;
  --secondary-accent-dark: #987000;
  --orange: var(--secondary-accent);
  --orange-dark: var(--secondary-accent-dark);
  --mint: #b9e5d1;
  --yellow: var(--primary-accent);
  --line: rgba(24, 35, 34, 0.16);
  --shadow: 0 24px 70px rgba(31, 49, 45, 0.13);
  --radius: 1.4rem;
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: var(--orange-dark); }
img, svg { max-width: 100%; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 0.7rem;
  background: var(--ink);
  color: white;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  background: rgba(24, 35, 34, 0.96);
  color: white;
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: white;
  font-family: Manrope, Arial, sans-serif;
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand .brand-name { display: inline-flex; align-items: baseline; gap: .1em; color: var(--yellow); white-space: nowrap; }
.brand .brand-hound { color: white; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 600; letter-spacing: .05em; }
.brand:hover, .brand:focus-visible { color: var(--yellow); }

.brand-mark {
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  background: var(--cream) url("assets/mascot/alley-hound-header-icon-144.png") center / 104% auto no-repeat;
  color: var(--ink);
  box-shadow: 0 3px 12px rgba(0,0,0,.2);
}

.brand-mark::before { content: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.nav-links a { color: white; text-decoration: none; }
.nav-links a:hover { color: var(--yellow); }

.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 850;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--orange);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover,
.nav-cta:hover {
  color: white;
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--orange);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}
.button.secondary:hover { background: white; color: var(--ink); }
.button.accent { border-color: var(--ink); background: var(--yellow); color: white; box-shadow: 4px 4px 0 var(--orange); }
.button.accent:hover { border-color: var(--ink); background: var(--primary-accent-hover); color: white; box-shadow: 6px 6px 0 var(--orange); }
.nav-cta { min-height: 42px; border-color: var(--yellow); background: var(--yellow); color: white !important; box-shadow: 4px 4px 0 var(--orange); }
.nav-secondary { display: inline-flex; min-height: 42px; align-items: center; padding: .65rem 1rem; border: 2px solid rgba(255,255,255,.72); border-radius: 999px; color: white !important; font-weight: 800; }
.nav-secondary:hover { border-color: white; background: white; color: var(--ink) !important; }

.menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 0.7rem;
  background: transparent;
  color: white;
  padding: 0.5rem 0.7rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(185,229,209,0.24), transparent 25rem),
    linear-gradient(118deg, transparent 67%, rgba(244,111,58,0.1) 67% 69%, transparent 69% 74%, rgba(244,111,58,0.1) 74% 76%, transparent 76%);
}

.hero-grid,
.container {
  position: relative;
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.hero-grid {
  z-index: 2;
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
  padding-block: 6.5rem;
}

.hero-mascot {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: block;
  width: min(72vw, 1150px);
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.96;
  -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.2) 22%, #000 52%);
  mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.2) 22%, #000 52%);
}

.eyebrow {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0 0 1.2rem;
  color: var(--orange-dark);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--yellow); }
.eyebrow::before { content: ""; width: 1.8rem; height: 3px; background: currentColor; }

h1, h2, h3 {
  margin: 0 0 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
h1 { max-width: 13ch; font-size: clamp(3.2rem, 7vw, 6.7rem); }
h2 { max-width: 18ch; font-size: clamp(2.2rem, 4.2vw, 4rem); }
h3 { font-size: 1.5rem; }

.hero-copy > p:not(.eyebrow) { max-width: 610px; color: #d9e3df; font-size: 1.18rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero .button { border-color: var(--yellow); background: var(--yellow); color: white; box-shadow: 5px 5px 0 var(--orange); }
.hero .button.secondary { background: transparent; color: white; border-color: rgba(255,255,255,0.5); box-shadow: none; }

.road-card {
  position: relative;
  max-width: 420px;
  justify-self: end;
  padding: 1.4rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2rem;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 30px 90px rgba(0,0,0,0.28);
  transform: rotate(2deg);
}
.road-card-inner { padding: 2rem; border-radius: 1.25rem; background: var(--paper); color: var(--ink); transform: rotate(-2deg); }
.tag { display: inline-block; margin-bottom: 2.4rem; padding: 0.38rem 0.7rem; border-radius: 999px; background: var(--mint); font-size: 0.73rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.route-number {
  max-width: 100%;
  margin: 0;
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: clamp(2.9rem, 4.4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.92;
  white-space: nowrap;
}
.road-card h2 { margin-top: 0.8rem; font-size: 2rem; }
.road-card ul { padding-left: 1.2rem; }
.road-card li::marker { color: var(--orange); }

.trust-strip { padding-block: clamp(1.35rem, 3vw, 2.25rem); background: var(--yellow); color: white; }
.outcome-statement { max-width: 920px; margin: 0 auto; font-size: clamp(1.45rem, 3vw, 2.7rem); line-height: 1.12; text-align: center; }

.section { padding-block: clamp(4.5rem, 8vw, 8rem); }
.section-white { background: var(--paper); }
.section-dark { background: var(--ink); color: white; }
.section-dark p { color: #d8e2df; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.7rem; }
.section-head p { max-width: 570px; margin: 0; color: var(--ink-soft); }

.quote-banner-section { padding-block: clamp(2.75rem, 5vw, 4.5rem); background: var(--paper); }
.quote-banner { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding: clamp(2.25rem, 5vw, 4.5rem); border-radius: 2rem; background: var(--ink); color: white; box-shadow: var(--shadow); }
.quote-banner::after { position: absolute; top: -10rem; right: -5rem; z-index: -1; width: 25rem; height: 25rem; border-radius: 50%; background: rgba(244,111,58,.13); content: ""; }
.quote-banner .eyebrow { color: var(--yellow); }
.quote-banner h2 { max-width: 18ch; margin-bottom: 1rem; }
.quote-banner-copy > p:not(.eyebrow) { max-width: 650px; margin-bottom: 0; color: #d8e2df; }
.quote-banner-button { min-width: 150px; border-color: var(--yellow); background: var(--yellow); color: white; box-shadow: 5px 5px 0 var(--orange); }
.quote-banner-button:hover { border-color: var(--primary-accent-hover); background: var(--primary-accent-hover); color: white; box-shadow: 7px 7px 0 var(--orange); }

.road-back-section { border-block: 1px solid var(--line); background: linear-gradient(135deg, var(--paper), #f1e8d9); }
.road-back-grid { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(280px, .72fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.road-back-media { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1.6rem; background: var(--cream); box-shadow: var(--shadow); }
.road-back-media img { display: block; width: 100%; height: auto; }
.road-back-copy h2 { max-width: 10ch; }
.road-back-copy p:not(.eyebrow) { color: var(--ink-soft); }

.split { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(2rem, 6vw, 7rem); align-items: start; }
.mascot-card { margin: 2rem 0 0; overflow: hidden; border-radius: 1.4rem; }
.mascot-card img { display: block; width: 100%; height: auto; }
.mascot-card-dark { border: 1px solid rgba(255,255,255,.18); box-shadow: 0 24px 65px rgba(0,0,0,.3); }
.sr22-section { padding-block: clamp(3.25rem, 6vw, 5.5rem); }
.sr22-feature { grid-template-columns: minmax(300px, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.sr22-feature .mascot-card { width: 100%; max-width: 450px; margin: 0; }
.sr22-copy h2 { max-width: 11ch; margin-bottom: 1.4rem; }
.sr22-copy > p:not(.eyebrow) { max-width: 650px; }
.plain-list { margin: 0; padding: 0; list-style: none; }
.plain-list li { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.plain-list strong { display: block; margin-bottom: 0.2rem; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.article-card { display: flex; min-height: 250px; flex-direction: column; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.1rem; background: var(--paper); text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; }
.article-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); }
.article-card .kicker { margin-bottom: auto; color: var(--orange-dark); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.article-card h3 { margin-top: 2.5rem; }
.article-card p { margin-bottom: 0; color: var(--ink-soft); font-size: 0.92rem; }
.guides-cta { justify-content: center; margin-top: 2.25rem; }

.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 4.5rem); border-radius: 2rem; background: var(--mint); }
.cta-panel h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.cta-mascot-panel { grid-template-columns: clamp(180px, 22vw, 280px) minmax(0, 1fr) auto; padding: clamp(1.5rem, 3vw, 2.5rem); }
.cta-mascot { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; align-self: center; border: 4px solid rgba(255,255,255,.75); border-radius: 1.35rem; object-fit: cover; object-position: center; box-shadow: 0 14px 35px rgba(24,35,34,.16); }

.site-footer { padding-block: 1.35rem; background: #101918; color: #cad4d1; font-size: 0.82rem; }
.footer-simple { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-simple p { margin: 0; }
.footer-links { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.7rem 1.25rem; }
.footer-links a { color: inherit; font-size: 0.86rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 0.25rem; }
.footer-links a:hover { color: var(--orange); }

/* Editorial pages */
.article-hero { padding-block: 5rem 3.5rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.breadcrumbs { margin-bottom: 2rem; color: var(--ink-soft); font-size: 0.83rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; color: #9aaaa6; }
.article-hero h1 { max-width: 16ch; font-size: clamp(2.8rem, 6vw, 5.4rem); }
.article-dek { max-width: 760px; color: var(--ink-soft); font-size: 1.22rem; }
.byline { display: flex; flex-wrap: wrap; gap: 0.65rem 1.5rem; margin-top: 2rem; color: var(--ink-soft); font-size: 0.82rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 280px; gap: 5rem; justify-content: center; align-items: start; padding-block: 4rem 6rem; }
.article-body { font-size: 1.08rem; }
.article-body h2 { max-width: none; margin-top: 3.2rem; font-size: 2.2rem; }
.article-body h3 { margin-top: 2rem; font-size: 1.45rem; }
.article-body p, .article-body li { color: #2d3c39; }
.article-body li { margin-bottom: 0.65rem; }
.article-body .answer { margin: 0 0 2.5rem; padding: 1.5rem; border-radius: 1rem; background: var(--mint); color: var(--ink); font-size: 1.15rem; font-weight: 750; }
.article-body .fact-box { margin-block: 2.5rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); }
.article-body .fact-box h2, .article-body .fact-box h3 { margin-top: 0; }
.article-body a { color: #9b3517; font-weight: 650; }
.article-body blockquote { margin: 2rem 0; padding: 0.5rem 0 0.5rem 1.5rem; border-left: 5px solid var(--orange); color: var(--ink); font-family: Georgia, serif; font-size: 1.35rem; }
.article-aside { position: sticky; top: 105px; padding: 1.3rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--paper); font-size: 0.88rem; }
.article-aside h2 { font-family: inherit; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.article-aside ul { margin: 0; padding-left: 1.1rem; }
.article-aside li { margin-bottom: 0.75rem; }
.source-list { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); font-size: 0.88rem; }
.source-list h2 { margin-top: 0; font-family: inherit; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.related-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.related-links a { padding: 1rem; border: 1px solid var(--line); border-radius: 0.8rem; background: var(--paper); text-decoration: none; }
.editorial-note { margin-top: 2rem; color: var(--ink-soft); font-size: 0.82rem; }

@media (max-width: 900px) {
  .hero-grid, .split, .road-back-grid, .article-layout { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; gap: 3rem; padding-block: 5rem 2rem; }
  .hero-mascot {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 470px;
    margin-top: -1rem;
    object-position: 72% center;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 18%);
  }
  .road-card { justify-self: start; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .article-aside { position: static; }
  .road-back-copy h2 { max-width: 14ch; }
  .mascot-card { max-width: 560px; }
  .sr22-feature .mascot-card { max-width: 520px; }
  .cta-mascot-panel { grid-template-columns: minmax(150px, 220px) 1fr; }
  .cta-mascot-panel .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; background: var(--ink); }
  .nav-links[data-open="true"] { display: flex; }
  .nav-links a { display: block; padding: 0.85rem 1rem; }
  .quote-banner, .article-grid, .cta-panel, .related-links { grid-template-columns: 1fr; }
  .quote-banner-button { justify-self: start; }
  .section-head { display: block; }
  .section-head p { margin-top: 1rem; }
  .hero-grid { padding: 4.5rem 0 2rem; }
  .hero-mascot { max-height: 330px; margin-top: -2.5rem; }
  .cta-mascot { width: min(240px, 70vw); justify-self: center; }
  .cta-mascot-panel .button { grid-column: auto; }
  .road-card { max-width: 94%; }
  .article-hero { padding-block: 3.5rem 2.5rem; }
  .article-layout { gap: 2rem; padding-block: 2.5rem 4rem; }
  .footer-simple { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Consumer contact launcher. No request is transmitted in the prototype. */
.support-widget { position: fixed; right: 1.3rem; bottom: 1.3rem; z-index: 50; }
.support-launcher { display: grid; width: 3.75rem; height: 3.75rem; place-items: center; border: 2px solid var(--orange); border-radius: 50%; background: var(--cream) url("assets/mascot/alley-hound-header-icon-144.png") center / 102% auto no-repeat; color: var(--ink); box-shadow: 0 14px 35px rgba(24,35,34,.28); cursor: pointer; }
.support-launcher svg { display: none; }
.support-panel { position: absolute; right: 0; bottom: 4.75rem; width: min(23rem, calc(100vw - 2rem)); padding: 1.15rem; border: 1px solid var(--line); border-radius: 1.15rem; background: white; color: var(--ink); box-shadow: var(--shadow); }
.support-panel[hidden] { display: none; }
.support-panel::after { position: absolute; right: 1.25rem; bottom: -.5rem; width: 1rem; height: 1rem; transform: rotate(45deg); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; content: ""; }
.support-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.support-head h2 { margin: 0; font-family: inherit; font-size: 1.05rem; letter-spacing: 0; }
.support-close { border: 0; background: transparent; color: var(--ink-soft); font-size: 1.5rem; cursor: pointer; }
.support-intro, .support-note, .support-phone-help { color: var(--ink-soft); font-size: .78rem; line-height: 1.45; }
.support-phone-label { display: block; margin-top: .9rem; color: var(--ink); font-size: .78rem; font-weight: 850; }
.support-phone-input { width: 100%; min-height: 46px; margin-top: .35rem; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: .75rem; background: white; color: var(--ink); font-size: 1rem; }
.support-phone-input:focus { border-color: var(--orange); outline: 3px solid rgba(244,201,93,.28); outline-offset: 1px; }
.support-phone-input[aria-invalid="true"] { border-color: #b42318; }
.support-phone-help { margin: .35rem 0 .8rem; }
.support-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.support-choice { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: .55rem; width: 100%; padding: .75rem; border: 1px solid var(--line); border-radius: .8rem; background: white; color: var(--ink); cursor: pointer; }
.support-choice:hover { border-color: var(--orange); background: #fffbef; }
.support-choice svg { width: 1.25rem; height: 1.25rem; }
.support-choice strong { font-size: .9rem; }
.support-status { margin: .75rem 0 0; padding: .65rem .75rem; border-radius: .7rem; background: #e8f2eb; font-size: .76rem; line-height: 1.45; }
.support-status[data-state="error"] { background: #fff0ed; color: #8a1c14; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 680px) {
  .support-widget { right: .85rem; bottom: .85rem; }
}
