/* ============================================================
   Dirty Dough — Temporary Maintenance Landing Page (US)
   Approved design tokens (see design_handoff README):
   ink #4B1313 · accent #29A1A3 · banner #CAF7F7 · page #E6F7F5
   ============================================================ */

:root {
  --ink: #4B1313;            /* Dirty Dough deep maroon */
  --accent: #29A1A3;         /* approved brand teal */
  --banner-tint: #CAF7F7;    /* maintenance banner panel */
  --page-bg: #E6F7F5;        /* pale eggshell-blue teal */
  --card: #FFFFFF;
  --cream: #FDF9F3;          /* footer text/logo */
  --hairline: rgba(75, 19, 19, 0.10);
  --display: "New Kansas", "Bree Serif", Georgia, serif;
  --body: "Work Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --logo-ink: var(--accent);
  --logo-blob: #FFFFFF;
}

/* New Kansas is the real brand display face. When the license/files are
   confirmed, drop the .woff2 into assets/ and uncomment — the --display
   stack above already prefers it, with Bree Serif as fallback.
@font-face {
  font-family: "New Kansas";
  src: url("assets/new-kansas-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
*/

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--page-bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
header.site-header {
  display: flex;
  justify-content: center;
  padding: 56px 24px 8px;
}
.logo-mark { width: min(300px, 64vw); height: auto; display: block; }

/* ---------- Maintenance banner ---------- */
.banner-wrap {
  display: flex;
  justify-content: center;
  padding: 40px 24px 8px;
}
.banner {
  position: relative;
  width: min(880px, 100%);
  background: var(--banner-tint);
  border-radius: 28px;
  padding: 56px 48px;
  overflow: visible;
}
.banner-inner {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.banner h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  text-wrap: balance;
}
.banner p {
  font-size: 18px;
  max-width: 46ch;
  text-wrap: pretty;
}
.banner .cookie-photo {
  position: absolute;
  right: -36px;
  bottom: -28px;
  width: clamp(200px, 32%, 300px);
  transform: rotate(-6deg);
  filter: drop-shadow(0 14px 24px rgba(75, 19, 19, 0.18));
  pointer-events: none;
}

/* ---------- Social strip (below banner) ---------- */
.social-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 24px 0;
}
.social-strip .strip-label {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.social-strip .social-row a {
  background: #FFFFFF;
  color: var(--accent);
  border: 1px solid var(--hairline);
  box-shadow: 0 2px 8px rgba(75, 19, 19, 0.05);
}
.social-strip .social-row a:hover { background: var(--accent); color: #FFFFFF; }

.social-row { display: flex; gap: 14px; }
.social-row a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(253, 249, 243, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: background 0.15s ease, transform 0.15s ease;
}
.social-row a:hover { background: var(--accent); transform: translateY(-2px); }
.social-row svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Locations ---------- */
.locations {
  max-width: 1000px;
  margin: 0 auto;
  padding: 72px 24px 88px;
}
.locations-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 44px;
}
.locations-head h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 44px);
}
.locations-head p { color: rgba(75, 19, 19, 0.72); font-size: 17px; }

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.state-group { display: flex; flex-direction: column; gap: 18px; }
.state-group + .state-group { margin-top: 44px; }
.state-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
}
.state-heading::after {
  content: "";
  flex: 1;
  border-top: 2px dashed rgba(49, 193, 189, 0.45);
}

.loc-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(75, 19, 19, 0.04);
}
.loc-card h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.15;
}
.loc-addr { font-size: 16.5px; }
.loc-addr span { display: block; }
.loc-rule {
  border: none;
  border-top: 2px dashed rgba(49, 193, 189, 0.45);
  margin: 2px 0;
}
.loc-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15.5px;
}
.loc-row { display: flex; gap: 10px; align-items: baseline; }
.loc-label {
  flex: 0 0 56px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.loc-row a { color: var(--ink); text-decoration: none; font-weight: 500; }
.loc-row a:hover { color: var(--accent); }
.hours-line { display: block; }

@media (max-width: 760px) {
  .location-grid { grid-template-columns: 1fr; }
  .banner { padding: 44px 32px 150px; }
  .banner .cookie-photo { right: -12px; bottom: -36px; width: 200px; }
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 56px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}
.footer-logo {
  width: 180px;
  height: auto;
  --logo-ink: #FDF9F3;
  --logo-blob: rgba(253, 249, 243, 0.16);
}
.footer-line { font-size: 15px; color: rgba(253, 249, 243, 0.75); }

/* ---------- Cookie consent ----------
   Class names are intentionally brand-prefixed (dd-consent-*).
   Generic names like cookie-notice / cookie-accept are on
   EasyList-style adblocker blocklists and get force-hidden. */
.dd-consent {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: min(680px, calc(100vw - 32px));
  background: #FFFFFF;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(75, 19, 19, 0.16);
  padding: 20px 24px;
  display: none;
  align-items: center;
  gap: 20px;
  z-index: 50;
}
.dd-consent.is-open { display: flex; }
.dd-consent .dd-consent-copy { flex: 1; min-width: 0; }
.dd-consent h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 2px;
}
.dd-consent p { font-size: 14.5px; line-height: 1.45; color: rgba(75, 19, 19, 0.78); text-wrap: pretty; }
.dd-consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.dd-consent-actions button {
  font-family: var(--body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.dd-consent-actions button:hover { filter: brightness(0.94); }
.dd-consent-accept { background: var(--accent); color: #FFFFFF; }
.dd-consent-decline { background: transparent; color: var(--ink); border: 1.5px solid var(--hairline); }
@media (max-width: 600px) {
  .dd-consent { flex-direction: column; align-items: stretch; gap: 14px; text-align: left; }
  .dd-consent-actions button { flex: 1; }
}

/* Slide-only entrance: base style above is the visible end state, so the
   content shows even with animation or JS disabled. Never animate opacity. */
@media (prefers-reduced-motion: no-preference) {
  .banner .cookie-photo { animation: cookie-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1; }
  @keyframes cookie-in {
    from { transform: rotate(-6deg) translateY(18px); }
    to   { transform: rotate(-6deg) translateY(0); }
  }
}
