/* American Eagle Valley LLC — shared styles
   Seed 1-1-5-5-5-4-2: muted natural pet-shop colors (pine, kibble brown, aquarium blue, sage, oat) · bright white
   base with one strong pine accent · editorial multi-column layout with a narrow side column · serif throughout
   (Crimson Pro) · pill-button nav · two-column grouped list · 4px radius · motif: paw prints */

@font-face { font-family: "Crimson Pro"; src: url("fonts/crimson-pro-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("fonts/crimson-pro-400i.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Crimson Pro"; src: url("fonts/crimson-pro-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --white: #ffffff;
  --ink: #1f2a24;
  --muted: #4f5a53;
  --pine: #2d5a45;
  --pine-dark: #1f4232;
  --kibble: #8a5c34;
  --aqua: #4d7b8b;
  --sage: #8fa58a;
  --oat: #f3efe6;
  --line: #ddd5c5;
  --radius: 4px;
  --serif: "Crimson Pro", Georgia, "Times New Roman", serif;
  --paws: url("assets/motif-paws.svg") 0 0 / 80px 80px repeat;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--white); }
body { margin: 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; color: var(--ink); background: var(--white); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
strong { font-weight: 700; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.08; margin: 0 0 0.45em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.8vw, 4rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); }
h3 { font-size: 1.22rem; line-height: 1.2; }
p { margin: 0 0 0.9em; }
a { color: var(--pine); text-underline-offset: 0.16em; }
a:hover { color: var(--kibble); }
:focus-visible { outline: 3px solid var(--kibble); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: clamp(1rem, 3.5vw, 1.8rem); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: 0.4rem 1rem; background: var(--pine); color: var(--white); border-radius: 999px; }
.skip-link:focus { top: 1rem; }

/* ---------- header: pill-button nav ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.6rem; padding-block: 0.9rem; }
.brand { display: flex; align-items: center; gap: 0.8rem; color: var(--ink); text-decoration: none; }
.brand img { width: 70px; height: auto; flex: none; border-radius: var(--radius); }
.brand-name { font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 1.7rem); line-height: 1.05; }
.brand:hover .brand-name { color: var(--pine); }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-block; padding: 0.3rem 1.05rem; border-radius: 999px; background: var(--oat); color: var(--ink); font-size: 1.08rem; font-weight: 700; text-decoration: none; }
.main-nav a:hover { background: #e6dfcf; color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--pine); color: var(--white); }

/* ---------- editorial grid with a narrow side column ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(1.6rem, 4vw, 3rem); padding-block: clamp(1.6rem, 4vw, 2.8rem) clamp(2.4rem, 5vw, 3.6rem); }
.layout > main { min-width: 0; }
.side { border-left: 1px solid var(--line); padding-left: clamp(1rem, 2.4vw, 1.6rem); font-size: 1.08rem; }
.side-block { padding-bottom: 1.2rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.side-block:last-child { border-bottom: 0; margin-bottom: 0; }
.side h2 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.side p { margin: 0 0 0.5em; color: var(--muted); }
.side .note-box { padding: 0.9rem; border-radius: var(--radius); background: var(--oat) var(--paws); }
.side .note-box p { color: var(--ink); }
.kicker { display: block; margin: 0 0 0.35rem; color: var(--kibble); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.14em; text-transform: uppercase; }
.tag { display: inline-block; margin: 0 0 0.9rem; padding: 0.12rem 0.75rem; border-radius: 999px; background: var(--pine); color: var(--white); font-size: 1rem; line-height: 1.45; max-width: 100%; }
.lede { font-size: clamp(1.28rem, 2.2vw, 1.5rem); line-height: 1.45; color: var(--muted); }
.hero-art { display: block; width: 100%; margin: 1.4rem 0 0; border-radius: var(--radius); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.45rem 1.2rem; border: 2px solid var(--pine); border-radius: var(--radius); background: var(--pine); color: var(--white); font-family: var(--serif); font-size: 1.1rem; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.btn:hover { background: var(--pine-dark); border-color: var(--pine-dark); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--pine); }
.btn-ghost:hover { background: var(--oat); color: var(--pine-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.side .btn { width: 100%; margin-top: 0.4rem; }
.section { margin-top: clamp(2rem, 4.5vw, 3rem); padding-top: clamp(1.4rem, 3vw, 2rem); border-top: 2px solid var(--ink); }

/* home: departments as editorial columns */
.depts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0 1.8rem; }
.depts li { border-bottom: 1px solid var(--line); }
.depts a { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0.85rem; align-items: center; padding: 0.7rem 0; color: var(--ink); text-decoration: none; }
.depts img { width: 52px; height: 52px; border-radius: var(--radius); background: var(--oat); padding: 3px; }
.depts .d-name { display: block; font-weight: 700; font-size: 1.22rem; line-height: 1.15; }
.depts .d-meta { display: block; font-style: italic; color: var(--muted); font-size: 1rem; }
.depts a:hover .d-name { color: var(--pine); }
.cols { columns: 2 18rem; column-gap: 2.2rem; column-rule: 1px solid var(--line); }
.cols p, .cols li { break-inside: avoid; }
.notes { list-style: none; margin: 0; padding: 0; }
.notes li { margin: 0 0 0.85rem; color: var(--muted); }
.notes strong { color: var(--ink); }

/* ---------- catalog: two-column grouped list ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.jump a { display: inline-block; padding: 0.15rem 0.8rem; border-radius: 999px; background: var(--oat); color: var(--ink); font-size: 1rem; text-decoration: none; }
.jump a:hover { background: #e6dfcf; }
.groups { columns: 2 19rem; column-gap: 2.2rem; }
.group { scroll-margin-top: 1rem; min-width: 0; break-inside: avoid; margin-bottom: 2.2rem; }
.group:last-child { margin-bottom: 0; }
.group-head { display: flex; align-items: center; gap: 0.75rem; padding-bottom: 0.5rem; margin-bottom: 0.2rem; border-bottom: 2px solid var(--ink); }
.group-head img { width: 50px; height: 50px; flex: none; border-radius: var(--radius); background: var(--oat); padding: 3px; }
.group-head h2 { margin: 0; font-size: 1.35rem; letter-spacing: 0.06em; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.1rem 1rem; padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.items h3 { margin: 0; font-size: 1.12rem; }
.items p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 1.04rem; line-height: 1.4; }
.items .price { grid-column: 2; grid-row: 1; font-weight: 700; font-size: 1.14rem; color: var(--pine); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.items .price.quote { grid-column: 1 / -1; grid-row: auto; white-space: normal; font-style: italic; color: var(--kibble); font-size: 1.04rem; }
.items .price.quote a { font-style: normal; font-weight: 700; margin-left: 0.3rem; }
.offers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.offers li { padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--oat); }
.offers h3 { margin-bottom: 0.3rem; }
.offers p { margin: 0 0 0.5rem; color: var(--muted); font-size: 1.06rem; }
.offers .deal { display: inline-block; padding: 0.05rem 0.6rem; border-radius: var(--radius); background: var(--pine); color: var(--white); font-weight: 700; font-size: 1.02rem; }

/* ---------- about / contact ---------- */
.story .first::first-letter { float: left; margin: 0.08em 0.1em 0 0; font-size: 3.6em; line-height: 0.8; font-weight: 700; color: var(--pine); }
.story .first { font-size: 1.32rem; }
.facts, .details { margin: 0; }
.facts div, .details div { padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.facts div:last-child, .details div:last-child { border-bottom: 0; }
.facts dt, .details dt { font-size: 0.88rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kibble); }
.facts dd, .details dd { margin: 0; font-weight: 700; }
.details address { font-style: normal; }
.hours { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.hours caption { caption-side: top; text-align: left; padding-bottom: 0.35rem; font-weight: 700; font-size: 1.3rem; }
.hours th, .hours td { padding: 0.38rem 0.3rem 0.38rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.hours thead th { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kibble); }
.hours tbody th { font-weight: 700; }
.hours td { white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.map-frame { display: block; width: 100%; height: 380px; border: 0; border-radius: var(--radius); background: var(--oat); }
.map-link { margin: 0.7rem 0 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--pine-dark) ; color: #d9e3dc; font-size: 1.08rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #f0d9a8; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.2rem 2rem; padding-block: 2rem 1.2rem; }
.footer-name { margin: 0 0 0.2rem; font-weight: 700; font-size: 1.45rem; color: var(--white); }
.site-footer address { font-style: normal; }
.footer-title { margin: 0 0 0.3rem; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #f0d9a8; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-bottom { grid-column: 1 / -1; margin: 0.4rem 0 0; padding-top: 0.8rem; border-top: 1px solid rgba(255, 255, 255, 0.25); font-size: 0.98rem; }

@media (max-width: 940px) {
  .layout { grid-template-columns: 1fr; }
  .side { border-left: 0; padding-left: 0; border-top: 2px solid var(--ink); padding-top: 1.4rem; }
}
@media (max-width: 700px) {
  .offers { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .brand img { width: 58px; }
  .main-nav a { padding: 0.25rem 0.85rem; font-size: 1.02rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .map-frame { height: 300px; }
}

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