/* ==========================================================================
   Ozark Details — Mobile Detailing, Mountain Home AR
   Dark neon-automotive palette pulled from the logo:
   near-black base, electric violet-blue, hot red, chrome silver.
   ========================================================================== */

:root {
  /* Brand — sampled from the logo */
  --violet: #322fb3;
  --violet-lit: #4f4be8;
  --violet-glow: rgba(79, 75, 232, 0.45);
  --red: #ea0204;
  --red-lit: #ff2b2d;

  /* Base */
  --black: #050508;
  --panel: #0c0c14;
  --panel-2: #12121d;
  --line: rgba(255, 255, 255, 0.1);
  --line-lit: rgba(120, 116, 255, 0.35);

  /* Text */
  --chrome: #f2f3f7;
  --silver: #a9abb8;
  --silver-dim: #74778a;

  --shell: min(1240px, 92vw);
  --radius: 6px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--black);
  color: var(--chrome);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}

/* Barlow Condensed ships no true italic — keep <em> upright, never synthetic oblique */
h1 em, h2 em, h3 em { font-style: normal; }

h1 { font-size: clamp(3.2rem, 8vw, 6.6rem); }
h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }

p { margin: 0; }

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--violet);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 3px solid var(--violet-lit);
  outline-offset: 3px;
}

/* --- Accent type --------------------------------------------------------- */

.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet-lit);
  margin: 0 0 1.1rem;
}
.eyebrow-red { color: var(--red-lit); }

.neon { color: var(--violet-lit); }
.neon-red { color: var(--red-lit); }

/* --- Buttons ------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 220ms var(--ease), color 220ms var(--ease),
    border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.button svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 220ms var(--ease);
}
.button:hover svg { transform: translateX(4px); }

.button-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 26px rgba(234, 2, 4, 0.34);
}
.button-red:hover {
  background: var(--red-lit);
  box-shadow: 0 10px 34px rgba(234, 2, 4, 0.5);
}

.button-violet {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 6px 26px var(--violet-glow);
}
.button-violet:hover {
  background: var(--violet-lit);
  box-shadow: 0 10px 34px var(--violet-glow);
}

.button-ghost {
  background: transparent;
  color: var(--chrome);
  border-color: rgba(255, 255, 255, 0.28);
}
.button-ghost:hover {
  border-color: var(--violet-lit);
  color: var(--violet-lit);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--chrome);
  border-bottom: 2px solid transparent;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.text-link svg {
  width: 17px; height: 17px;
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform 200ms var(--ease);
}
.text-link:hover { color: var(--violet-lit); border-color: currentColor; }
.text-link:hover svg { transform: translateX(4px); }

/* --- Utility bar --------------------------------------------------------- */

.utility-bar {
  background: linear-gradient(90deg, var(--violet) 0%, #1e1c7a 55%, var(--red) 100%);
  color: #fff;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0;
}
.utility-inner a { color: #fff; text-decoration: none; }
.utility-inner a:hover { text-decoration: underline; }

@media (max-width: 900px) { .utility-center { display: none; } }

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(5, 5, 8, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.65rem 0;
}

.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand img { height: 54px; width: auto; border-radius: 4px; }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-words strong {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--chrome);
}
.brand-words em {
  font-family: 'Space Mono', monospace;
  font-style: normal;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-lit);
  margin-top: 4px;
}

.desktop-nav { margin-left: auto; display: flex; gap: 1.9rem; }
.desktop-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--silver);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.desktop-nav a:hover { color: var(--chrome); border-color: var(--red); }

.header-cta { padding: 0.8rem 1.35rem; font-size: 1rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0 10px;
  background: var(--violet);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  transition: transform 250ms var(--ease), opacity 200ms var(--ease);
}
.menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 4vw 2rem;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.85rem 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--chrome);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a span {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--violet-lit);
}
.mobile-menu .button { justify-content: center; margin-top: 1rem; }
.mobile-menu .button span { color: inherit; font-family: inherit; font-size: inherit; }

@media (max-width: 980px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .brand img { height: 46px; }
  .brand-words strong { font-size: 1.25rem; }
}
@media (max-width: 430px) { .brand-words em { display: none; } }

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 72% 45%;
}
/* Neon wash: violet from the left, a red kiss on the right */
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 88% 78%, rgba(234, 2, 4, 0.26) 0%, transparent 55%),
    radial-gradient(110% 80% at 6% 12%, rgba(50, 47, 179, 0.5) 0%, transparent 60%),
    linear-gradient(100deg,
      rgba(5, 5, 8, 0.96) 0%,
      rgba(5, 5, 8, 0.92) 42%,
      rgba(5, 5, 8, 0.68) 66%,
      rgba(5, 5, 8, 0.42) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem);
  max-width: 750px;
}

.hero h1 { margin-bottom: 1.4rem; }
.hero h1 em {
  color: var(--violet-lit);
  text-shadow: 0 0 34px var(--violet-glow);
}

.hero-intro {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--silver);
  max-width: 52ch;
  margin-bottom: 2.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
}

.hero-strip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.hero-strip div {
  flex: 1 1 180px;
  padding: 1.1rem 1.35rem;
  background: var(--black);
}
.hero-strip strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--chrome);
}
.hero-strip span {
  font-family: 'Space Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

/* --- Ticker -------------------------------------------------------------- */

.ticker {
  background: var(--violet);
  color: #fff;
  border-block: 1px solid rgba(255, 255, 255, 0.14);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0;
  font-family: 'Space Mono', monospace;
  font-size: 0.73rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.ticker-track::-webkit-scrollbar { display: none; }
.ticker-track i {
  flex: none;
  width: 5px; height: 5px;
  background: var(--red-lit);
  border-radius: 50%;
}

/* --- Sections ------------------------------------------------------------ */

.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section-panel { background: var(--panel); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.section-head h2 { margin-bottom: 1.05rem; }
.section-head p { color: var(--silver); font-size: 1.06rem; }

/* --- Services ------------------------------------------------------------ */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.8rem, 2.6vw, 2.4rem);
  background: var(--panel-2);
  transition: background 260ms var(--ease);
}
.service-card:hover { background: #171727; }

.service-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--silver-dim);
}
.service-icon {
  width: 54px; height: 54px;
  fill: none;
  stroke: var(--violet-lit);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 { color: var(--chrome); }
.service-card p { color: var(--silver); font-size: 0.97rem; }

.service-list {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}
.service-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.91rem;
  color: var(--silver);
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
}

/* --- Before / after ------------------------------------------------------ */

.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.2rem;
}

.ba-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}
.ba-item img {
  width: 100%;
  height: clamp(320px, 44vw, 480px);
  object-fit: cover;
}
.ba-item figcaption {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  padding: 0.38rem 0.95rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 100px;
  color: #fff;
  background: rgba(5, 5, 8, 0.8);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.ba-item.is-after figcaption {
  background: var(--violet);
  border-color: var(--violet-lit);
  box-shadow: 0 0 18px var(--violet-glow);
}

.ba-note {
  margin-top: 1.4rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-dim);
}


/* These two frames are native 206px phone thumbnails — cap them at real size
   instead of stretching them across the full grid, where they go soft.
   Centred so the shorter row reads as deliberate next to the full-width pairs. */
.ba-small {
  grid-template-columns: repeat(auto-fit, minmax(200px, 320px));
  justify-content: center;
}
.ba-small .ba-item img { height: clamp(210px, 27vw, 320px); }
.ba-small + .ba-note { text-align: center; }

/* --- Feature split ------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.split-media img {
  width: 100%;
  height: clamp(340px, 46vw, 540px);
  object-fit: cover;
}
.split-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 5, 8, 0.55) 100%);
  pointer-events: none;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin-top: 2rem;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-row div {
  flex: 1 1 130px;
  padding: 1.1rem 1.2rem;
  background: var(--panel-2);
}
.stat-row strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--violet-lit);
}
.stat-row span {
  font-family: 'Space Mono', monospace;
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver-dim);
}

/* --- Gallery ------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}

.gallery figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-2);
}
.gallery img {
  width: 100%;
  height: clamp(300px, 34vw, 420px);
  object-fit: cover;
  transition: transform 480ms var(--ease);
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 1rem 0.9rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(transparent, rgba(5, 5, 8, 0.9));
}

/* Small native-206px tiles — never scaled past their real size */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 206px));
  justify-content: center;
  gap: 12px;
  max-width: 1090px;
  margin: 1.2rem auto 0;
}
.tile-grid figure {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.tile-grid img { width: 100%; height: 100%; object-fit: cover; }

/* --- Service area -------------------------------------------------------- */

.area-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.town-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.town-list li {
  padding: 0.55rem 1.1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--silver);
}
.town-list li.is-home {
  background: var(--violet);
  border-color: var(--violet-lit);
  color: #fff;
  box-shadow: 0 0 20px var(--violet-glow);
}

/* --- Contact ------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}

.contact-rows {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  margin: 0;
}
.contact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.contact-row dt {
  margin: 0;
  font-family: 'Space Mono', monospace;
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--silver-dim);
}
.contact-row dd {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: right;
  color: var(--chrome);
}
a.contact-row dd { color: var(--violet-lit); transition: color 200ms var(--ease); }
a.contact-row:hover dd { color: var(--red-lit); }

.contact-cta {
  padding: clamp(1.9rem, 3vw, 2.6rem);
  border-radius: var(--radius);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(234, 2, 4, 0.3) 0%, transparent 55%),
    linear-gradient(140deg, var(--violet) 0%, #23207f 100%);
  border: 1px solid var(--violet-lit);
}
.contact-cta h3 { margin-bottom: 0.85rem; color: #fff; }
.contact-cta p { color: rgba(255, 255, 255, 0.88); margin-bottom: 1.6rem; }
.contact-cta .button { width: 100%; justify-content: center; }
.contact-cta .button + .button { margin-top: 0.7rem; }
.button-white { background: #fff; color: var(--violet); }
.button-white:hover { background: var(--chrome); }
.button-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.button-outline-white:hover { border-color: #fff; background: rgba(255, 255, 255, 0.12); }

/* --- Footer -------------------------------------------------------------- */

.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 3.2rem 0 2rem;
  color: var(--silver);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.9rem;
  border-bottom: 1px solid var(--line);
}
.footer-top img { height: 64px; width: auto; border-radius: 4px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--chrome);
}
.footer-nav a:hover { color: var(--violet-lit); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  padding-top: 1.4rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-dim);
}
.footer-bottom a { color: var(--silver); }

/* --- Reveal -------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: 130ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   AGENCY PREVIEW REMINDER — NOT part of the client's site.
   Delete this block (and the matching markup + script) once Ozark signs.
   ========================================================================== */

.agency-pop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(3, 3, 6, 0.8);
  backdrop-filter: blur(5px);
}
.agency-pop.is-open { display: flex; }

.agency-card {
  position: relative;
  width: min(470px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem 1.9rem 1.9rem;
  background: var(--panel-2);
  border: 1px solid var(--line-lit);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.7);
  text-align: center;
}
.agency-card img { height: 62px; width: auto; margin: 0 auto 1.2rem; border-radius: 4px; }
.agency-card h2 { font-size: 1.85rem; color: var(--chrome); margin-bottom: 0.85rem; }
.agency-card p { font-size: 0.96rem; color: var(--silver); margin-bottom: 0.9rem; }
.agency-card .agency-note {
  font-size: 0.87rem;
  color: var(--silver);
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--red);
  padding: 0.8rem 1rem;
  text-align: left;
  margin-bottom: 1.4rem;
}
.agency-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.agency-actions .button { flex: 1 1 150px; justify-content: center; }
.agency-dismiss {
  display: inline-block;
  margin-top: 1.05rem;
  font-size: 0.85rem;
  color: var(--silver-dim);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
}
.agency-close {
  position: absolute;
  top: 0.6rem; right: 0.6rem;
  width: 38px; height: 38px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--silver);
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 200ms var(--ease);
}
.agency-close:hover { background: rgba(255, 255, 255, 0.08); }
