/* =====================================================
   STATE STREET DOGHOUSE — People + Pups
   Heritage Park, Eagle, ID.  Vintage Americana.
   Brand colors: Red #C93A2B · Mustard #E3A33A
                 Cream #F4E7D3 · Forest #3F6B3F
   Type: Cooper-style display + Clarendon-ish sub
   ===================================================== */

:root {
  --red: #c93a2b;
  --red-deep: #a32d22;
  --mustard: #e3a33a;
  --mustard-deep: #c08624;
  --cream: #f4e7d3;
  --cream-warm: #ede0c5;
  --paper: #fbf3df;
  --forest: #3f6b3f;
  --forest-deep: #2c4d2c;
  --ink: #2a1a14;
  --ink-soft: rgba(42, 26, 20, 0.74);
  --rule: rgba(42, 26, 20, 0.18);

  /* Cooper Black substitute (closest free Google font) */
  --display: "Caprasimo", "Cooper BT", "Cooper Black", serif;
  /* Clarendon-ish slab */
  --slab: "Bitter", "Roboto Slab", Georgia, serif;
  /* Ticker / utility */
  --condensed: "Bebas Neue", "Inter", sans-serif;
  /* Body */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  /* Subtle paper grain */
  background-image:
    radial-gradient(rgba(42,26,20,0.05) 1.2px, transparent 1.2px),
    radial-gradient(rgba(42,26,20,0.03) 1px, transparent 1px);
  background-size: 14px 14px, 23px 23px;
  background-position: 0 0, 7px 11px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.005em;
}
p { margin: 0; }

.eyebrow {
  font-family: var(--slab);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
}

/* ============== TICKER ============== */

.ticker {
  background: var(--forest);
  color: var(--cream);
  border-bottom: 4px solid var(--mustard);
  overflow: hidden;
}
.ticker__track {
  display: flex;
  gap: 48px;
  padding: 12px 0;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
  font-family: var(--condensed);
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ticker__track span { display: inline-flex; align-items: center; gap: 48px; }
.ticker__track span::after { content: "★"; color: var(--mustard); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============== BANNER ============== */

.banner {
  background: var(--red);
  color: var(--cream);
  text-align: center;
  padding: 12px var(--gutter);
  font-family: var(--condensed);
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.banner span:not(:last-child)::after {
  content: "✦";
  color: var(--mustard);
  margin: 0 14px;
}

/* ============== NAV ============== */

.nav {
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background-color: rgba(244, 231, 211, 0.96);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav__brand img {
  height: 64px;
  width: auto;
}
.nav__menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}
.nav__menu a {
  font-family: var(--slab);
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  position: relative;
  padding: 8px 0;
  transition: color 200ms;
}
.nav__menu a:hover, .nav__menu a.is-active { color: var(--red); }
.nav__menu a.is-active::after {
  content: "";
  position: absolute;
  inset: auto 0 -3px 0;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}
.nav__cta { display: flex; justify-content: flex-end; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--cream);
  border: 2.5px solid var(--ink);
  cursor: pointer;
  transition: all 180ms ease;
  box-shadow: 3px 3px 0 var(--ink);
}
.btn:hover {
  background: var(--red-deep);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--green { background: var(--forest); }
.btn--green:hover { background: var(--forest-deep); }
.btn--mustard { background: var(--mustard); color: var(--ink); }
.btn--mustard:hover { background: var(--mustard-deep); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); }

/* ============== HERO ============== */

.hero {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 25%, rgba(201,58,43,0.06) 0, transparent 35%),
    radial-gradient(circle at 80% 75%, rgba(63,107,63,0.06) 0, transparent 35%);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  position: relative;
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero__title em { font-style: normal; color: var(--red); }
.hero__title small {
  display: block;
  font-family: var(--slab);
  font-size: 0.16em;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--forest);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero__subtitle {
  font-family: var(--slab);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  font-style: italic;
  color: var(--mustard-deep);
  margin-top: 12px;
  letter-spacing: 0.005em;
}

.hero__lead {
  font-size: 18px;
  line-height: 1.55;
  margin-top: 22px;
  max-width: 50ch;
  color: var(--ink);
}
.hero__lead strong { color: var(--red); font-weight: 700; }
.hero__cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

.hero__meta {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px dashed var(--rule);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hero__meta div { display: flex; flex-direction: column; gap: 2px; }
.hero__meta span:first-child {
  font-family: var(--condensed);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__meta strong {
  font-family: var(--display);
  font-size: 22px;
  color: var(--forest);
  font-weight: 400;
  line-height: 1.05;
}

.hero__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 6px;
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--mustard);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__sticker {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--mustard);
  color: var(--ink);
  padding: 16px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--display);
  font-size: 18px;
  line-height: 0.95;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-8deg);
}
.hero__sticker small {
  display: block;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ============== SECTIONS ============== */

section { position: relative; }

.section {
  padding: clamp(48px, 7vw, 100px) var(--gutter);
}
.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section--green { background: var(--forest); color: var(--cream); }
.section--green h1, .section--green h2, .section--green h3 { color: var(--cream); }
.section--green .eyebrow { color: var(--mustard); }
.section--cream-warm { background: var(--cream-warm); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.section--paper { background: var(--paper); }

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section__head h2 {
  font-size: clamp(40px, 6.5vw, 96px);
  text-transform: uppercase;
  line-height: 0.95;
}
.section__head h2 em { font-style: normal; color: var(--red); }
.section--green .section__head h2 em { color: var(--mustard); }
.section__head p {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  font-family: var(--slab);
}
.section--green .section__head p { color: rgba(244, 231, 211, 0.88); }

/* ============== ABOUT ============== */

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.about__body { display: flex; flex-direction: column; gap: 16px; }
.about__body p { font-size: 17px; line-height: 1.7; }
.about__body strong { color: var(--red); font-weight: 700; }
.about__body .quote {
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 32px);
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--red);
  margin-bottom: 8px;
}
.about__photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 6px;
  border: 4px solid var(--ink);
  position: relative;
  box-shadow: -10px 10px 0 var(--forest);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(42,26,20,0.5) 100%);
  pointer-events: none;
}
.about__photo-caption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  color: var(--cream);
  font-family: var(--display);
  font-size: 22px;
  z-index: 2;
  text-transform: uppercase;
  line-height: 1;
}

/* ============== MENU ============== */

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.dog {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 200ms;
  box-shadow: 4px 4px 0 var(--ink);
}
.dog:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.dog__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 3px solid var(--ink);
}
.dog__media img { width: 100%; height: 100%; object-fit: cover; }
.dog__price {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--mustard);
  color: var(--ink);
  padding: 8px 14px;
  font-family: var(--display);
  font-size: 22px;
  border: 2.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(4deg);
  z-index: 2;
}
.dog__body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dog__body h3 {
  font-family: var(--display);
  font-size: 30px;
  text-transform: uppercase;
  line-height: 0.95;
}
.dog__body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.dog__tag {
  display: inline-block;
  background: var(--forest);
  color: var(--cream);
  padding: 3px 10px;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  align-self: flex-start;
  margin-top: 4px;
  border-radius: 2px;
}
.dog__tag--red { background: var(--red); }
.dog__tag--mustard { background: var(--mustard); color: var(--ink); }

.sundries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 64px;
}
.sundry {
  background: var(--paper);
  border: 2.5px solid var(--ink);
  padding: 24px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 3px 3px 0 var(--mustard);
}
.sundry .icon {
  width: 36px;
  height: 36px;
  color: var(--red);
}
.sundry h4 {
  font-family: var(--display);
  font-size: 22px;
  text-transform: uppercase;
}
.sundry p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.sundry .price {
  font-family: var(--display);
  font-size: 18px;
  color: var(--red);
  margin-top: auto;
}

/* ============== HOURS / VISIT ============== */

.visit {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}
.visit__panel {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 6px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 5px 5px 0 var(--mustard);
}
.visit__panel h3 {
  font-family: var(--display);
  font-size: 32px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 14px;
}
.visit__panel--green {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--ink);
  box-shadow: 5px 5px 0 var(--red);
}
.visit__panel--green h3 { color: var(--mustard); border-bottom-color: var(--mustard); }

.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1.5px dashed var(--rule);
  font-size: 15px;
  font-family: var(--slab);
  font-weight: 700;
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list li span:last-child {
  font-family: var(--display);
  font-size: 18px;
  color: var(--red);
  font-weight: 400;
}

.season-badge {
  background: var(--red);
  color: var(--cream);
  padding: 16px;
  border-radius: 4px;
  text-align: center;
  font-family: var(--display);
  font-size: 18px;
  text-transform: uppercase;
  line-height: 1.1;
  border: 2px solid var(--ink);
}
.season-badge small {
  display: block;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  margin-top: 4px;
}

.visit__panel--green .label {
  font-family: var(--slab);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: 4px;
  display: block;
}
.visit__panel--green .value {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.05;
  color: var(--cream);
  text-transform: uppercase;
}
.visit__panel--green a {
  color: var(--mustard);
  border-bottom: 2px solid currentColor;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 15px;
}
.visit__row {
  padding-top: 18px;
  border-top: 1.5px dashed rgba(244,231,211,0.3);
}
.visit__row:first-of-type { border-top: 0; padding-top: 0; }

.map {
  margin-top: 56px;
  aspect-ratio: 16/8;
  border: 3px solid var(--ink);
  border-radius: 6px;
  overflow: hidden;
  background: var(--forest);
  box-shadow: 5px 5px 0 var(--mustard);
}
.map iframe { width: 100%; height: 100%; border: 0; filter: hue-rotate(20deg) saturate(0.9); }

/* ============== CONTACT ============== */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 56px);
}
.contact__form {
  background: var(--paper);
  border: 3px solid var(--ink);
  padding: 32px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 5px 5px 0 var(--red);
}
.contact__form h3 {
  font-family: var(--display);
  font-size: 32px;
  text-transform: uppercase;
}
.contact__form label {
  font-family: var(--slab);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 6px;
}
.contact__form input,
.contact__form textarea,
.contact__form select {
  width: 100%;
  background: var(--cream);
  border: 2px solid var(--ink);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  border-radius: 0;
}
.contact__form input:focus,
.contact__form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(201,58,43,0.18); }
.contact__form textarea { min-height: 120px; resize: vertical; }
.contact__form button { align-self: flex-start; margin-top: 6px; }

.contact__side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact__side .row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-top: 1.5px dashed var(--rule);
  padding-top: 18px;
}
.contact__side .row:first-of-type { border-top: 0; padding-top: 0; }
.contact__side .row svg {
  width: 26px;
  height: 26px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 4px;
}
.contact__side .row .label {
  font-family: var(--slab);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2px;
  display: block;
}
.contact__side .row .value {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.1;
  text-transform: uppercase;
}
.contact__side .row a {
  color: var(--forest);
  border-bottom: 2px solid currentColor;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 14px;
}

/* ============== FOOTER ============== */

.footer {
  background: var(--forest-deep);
  color: var(--cream);
  padding: clamp(40px, 5vw, 72px) var(--gutter) 28px;
  border-top: 4px solid var(--mustard);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand img {
  width: 280px;
  max-width: 100%;
  margin-bottom: 18px;
}
.footer__brand p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(244,231,211,0.78);
  max-width: 32ch;
}
.footer h4 {
  font-family: var(--slab);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer ul li, .footer ul a { font-size: 14px; color: rgba(244,231,211,0.85); }
.footer ul a:hover { color: var(--mustard); }
.footer__bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(244,231,211,0.18);
  display: flex;
  justify-content: space-between;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,231,211,0.55);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============== UTILITIES ============== */

.reveal { opacity: 0; transform: translateY(20px); transition: all 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============== RESPONSIVE ============== */

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 480px; margin: 0 auto; }
  .about { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .sundries { grid-template-columns: 1fr 1fr; }
  .visit { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .nav__menu { display: none; }
  .nav__inner { grid-template-columns: 1fr auto; }
  .hero__meta { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 540px) {
  .menu-grid { grid-template-columns: 1fr; }
  .sundries { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .nav__inner { padding: 8px var(--gutter); gap: 12px; }
  .nav__brand img { height: 48px; }
  .nav__cta .btn { padding: 8px 14px; font-size: 11px; letter-spacing: 0.12em; }
  .ticker__track { font-size: 13px; letter-spacing: 0.14em; gap: 32px; }
  .ticker__track span { gap: 32px; }
  .banner { font-size: 12px; letter-spacing: 0.14em; padding: 9px var(--gutter); }
  .banner span:not(:last-child)::after { margin: 0 8px; }
  .hero__title { font-size: clamp(48px, 13vw, 80px); }
  .hero__title small { font-size: 0.18em; }
  .hero__subtitle { font-size: 16px; }
  .hero__lead { font-size: 16px; }
  .hero__sticker { width: 96px; height: 96px; font-size: 14px; padding: 12px; right: 14px; top: 14px; }
  .hero__sticker small { font-size: 9px; }
  .section__head h2 { font-size: clamp(36px, 11vw, 64px); }
  .visit__panel { padding: 24px; }
  .visit__panel h3 { font-size: 26px; }
  .footer__brand img { width: 220px; }
  body, h1, h2, h3, h4, p { overflow-wrap: break-word; word-wrap: break-word; }
}
