/* Bluegrass Trading Post */
:root {
  --green: #152c3b;
  --cream: #fbf6ec;
  --gold: #99522f;
  --line: #dfd2bf;
  --ink-soft: #4c5a60;
  --paper: #fffcf5;
  --sand: #efe0cb;
  --rust: #963f2a;
}

body { color: var(--green); background: var(--cream); font-size: 16px; }
main { max-width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #a95531;
  outline-offset: 4px;
}
.topline { background: var(--green); color: #fff4dd; padding: 10px 5%; }
header { background: var(--paper); padding: 19px 5%; gap: 22px; }
#main-navigation { gap: clamp(14px, 2.1vw, 32px); font-weight: 600; }
header .outline { white-space: nowrap; }
.brand-icon { font-size: 39px; }
.button, .outline { min-height: 44px; border-radius: 5px; font-weight: 700; }
.button:hover { background: #25475a; }
.outline:hover { background: #152c3b0b; }
.button.light, .button.light:hover { color: var(--green); background: var(--cream); }
.section { padding-block: clamp(48px, 6vw, 92px); }
.hero {
  margin: 0;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--green);
  color: var(--cream);
}
.hero-copy { align-self: center; padding: clamp(52px, 8vw, 122px) 6% clamp(52px, 8vw, 108px) 10%; }
.hero-copy .eyebrow { color: #efb78e; margin-bottom: 20px; }
.hero h1 { font-size: clamp(55px, 6.25vw, 104px); line-height: .94; margin-bottom: 22px; }
.hero h1 em { color: #f0b387; }
.hero-copy .intro { color: #eaded1; max-width: 35ch; font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
.hero-actions .button { background: #f6dfbc; color: var(--green); border-color: #f6dfbc; }
.hero-actions .button:hover { background: #ffecd0; }
.hero-actions .outline { color: #fff4dd; border-color: #c0a995; }
.hero-actions .outline:hover { background: #ffffff15; }
.hero-note { color: #ddd1c3; margin-top: 24px; line-height: 1.5; }
.hero-note span { color: #f0b387; }
.hero-art {
  background: radial-gradient(ellipse at 50% 45%, #fff2da 5%, #e9c9a5 75%);
  min-height: 0;
  padding: 44px 8% 69px;
  display: grid;
  align-content: center;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 8% 11% 11%;
  border: 1px solid #925b3e60;
  border-radius: 48% 48% 8px 8px;
  pointer-events: none;
}
.hero-art img { position: relative; width: 100%; height: clamp(320px, 35vw, 550px); object-fit: contain; mix-blend-mode: multiply; }
.hero-art .stamp { top: 7%; right: 8%; color: #713d29; border-color: #99522f; background: #f8e6cb; }
.hero-caption { left: 8%; right: 8%; bottom: 20px; color: var(--green); border-top-color: #b98d70; font-size: 12px; font-weight: 700; }
.shortcut-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-bottom: 1px solid var(--line); padding: 0 5%; }
.shortcut-strip a { min-height: 70px; padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-inline-start: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.shortcut-strip a:last-child { border-inline-end: 1px solid var(--line); }
.shortcut-strip a:hover { background: var(--sand); text-decoration: none; }
.shortcut-strip span { color: var(--rust); }
.section-heading > p, .story-copy p, .journal-home p:not(.eyebrow), .newsletter-copy p:not(.eyebrow), .price-note { color: var(--ink-soft); }
.collection .tools { background: var(--paper); border: 1px solid var(--line); padding: 12px 16px; border-radius: 8px; gap: 12px; }
.search input { color: var(--green); }
.selects select { min-height: 44px; color: var(--green); }
.chip { min-height: 44px; border-color: #bcaa97; font-size: 13px; }
.chip.active, .chip:hover { background: var(--green); border-color: var(--green); color: #fff; }
.collection-action, .save-gift { border-radius: 5px; border-color: #b9aa9a; }
.collection-action[aria-pressed=true], .save-gift[aria-pressed=true] { background: var(--green); }
.collection .grid { gap: 20px; }
.gift-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--paper); }
.gift-card .card { flex: 1; padding-bottom: 8px; }
.gift-card .card-image { background: #f0e4d3; }
.gift-card .card-meta, .gift-card .card-row, .gift-card .card-bottom { padding-inline: 16px; }
.gift-card .card-meta { color: #79442d; margin-top: 16px; }
.gift-card .card-bottom { color: var(--ink-soft); }
.gift-card .save-gift { align-self: flex-start; margin: 4px 16px 15px; }
.gift-card .badge { background: var(--paper); color: var(--green); }
.story-art, .story-copy, .quick-answer, .journal-card img, .article-hero img, .article-body thead { background: var(--sand); }
.corporate img { background: var(--sand); border-radius: 8px; }
.newsletter { background: #ead7bf; gap: 7%; align-items: center; }
.newsletter .newsletter-panel { padding: clamp(20px, 3vw, 42px); border: 1px solid #d1b897; border-radius: 9px; background: var(--paper); }
.newsletter-copy h2 { font-size: clamp(44px, 5vw, 74px); }
.newsletter-fields input { background: #fff; border-color: #b7a798; border-radius: 5px; font-size: 16px; }
.newsletter-consent, .newsletter-fine { font-size: 13px; color: var(--ink-soft); }
.newsletter-fine button { min-height: 34px; }
.newsletter .button { width: 100%; }
.newsletter .newsletter-flower { display: none; }
.faq details, .article-faq details { border-color: var(--line); }
.faq details p, .article-faq details p { color: var(--ink-soft); }
footer { background: var(--paper); }
.journal-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 23px; }
.journal-card { border: 1px solid var(--line); background: var(--paper); border-radius: 8px; overflow: hidden; }
.journal-card > a { display: block; height: 100%; }
.journal-card img { height: auto; aspect-ratio: 4/3; display: block; }
.journal-card a > div { padding: 22px; }
.journal-card h2 { font-size: clamp(25px, 2.5vw, 38px); }
.journal-card p:not(.eyebrow) { color: var(--ink-soft); }
.journal-heading { background: var(--sand); max-width: none; }
.journal-list.section { padding-top: 32px; }
.article-related { margin-top: 35px; }
.article-hero, .guide-hero { background: var(--sand); }
.guide-hero { padding-inline: 5%; }
.guide-hero h1 { max-width: 16ch; font-size: clamp(50px, 7vw, 92px); }
.guide-hero p:not(.eyebrow) { max-width: 62ch; line-height: 1.7; }
.guide-body { max-width: 1100px; margin: auto; }
.guide-body .quick-answer { max-width: 82ch; line-height: 1.7; }
.guide-picks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-bottom: 52px; }
.guide-pick { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.guide-pick h3 { font: 30px/1.1 var(--serif); margin-bottom: 10px; }
.guide-pick p { line-height: 1.65; color: var(--ink-soft); }
.guide-pick a { text-decoration: underline; font-weight: 600; }
.guide-body details { padding-block: 18px; border-bottom: 1px solid var(--line); }
.guide-body details p { color: var(--ink-soft); line-height: 1.65; }
.guide-body .guide-note { color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
#cookie { border-radius: 8px; border-color: #c0ab94; }

@media (max-width: 900px) {
  .hero-copy { padding-inline: 8% 5%; }
  .journal-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  #main-navigation { gap: 12px; }
}
@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 48px 6% 36px; }
  .hero h1 { font-size: clamp(53px, 11vw, 78px); }
  .hero-art { padding: 22px 8% 52px; }
  .hero-art img { height: clamp(235px, 75vw, 380px); }
  .hero-art .stamp { width: 72px; height: 72px; font-size: 7px; }
  .hero-art .stamp strong { font-size: 17px; }
  .shortcut-strip { grid-template-columns: repeat(2, minmax(0,1fr)); padding: 0; }
  .shortcut-strip a { min-height: 54px; border-bottom: 1px solid var(--line); padding: 10px 13px; font-size: 12px; }
  .newsletter { grid-template-columns: 1fr; gap: 22px; }
  .guide-picks, .journal-list { grid-template-columns: 1fr; }
  .gift-card .card-meta, .gift-card .card-row, .gift-card .card-bottom { padding-inline: 10px; }
  .gift-card .save-gift { margin-inline: 10px; }
}
@media (max-width: 400px) {
  .collection .grid { gap: 12px; }
  .hero-actions > * { padding-inline: 13px; }
  .gift-card h3 { font-size: 20px; }
  .collection .tools { padding-inline: 10px; }
}

/* Engraved detail and motion for the gift collection */
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/bluegrass-engraving.svg") center 64% / min(94%, 600px) auto no-repeat;
  pointer-events: none;
}
.hero-art img, .hero-art .stamp, .hero-caption { z-index: 1; }
.shortcut-strip { gap: 12px; padding-block: 16px; background: var(--cream); }
.shortcut-strip a, .shortcut-strip a:last-child {
  justify-content: start;
  min-height: 80px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
}
.shortcut-strip a:hover { background: var(--sand); }
.shortcut-strip .shortcut-art {
  display: grid;
  place-items: center;
  flex: 0 0 clamp(34px, 4.5vw, 64px);
  aspect-ratio: 1;
  background: var(--sand);
  border-radius: 4px;
  overflow: hidden;
}
.shortcut-art img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.shortcut-art svg { width: 80%; height: 80%; }
.shortcut-strip .shortcut-copy { color: var(--green); line-height: 1.2; }
.shortcut-copy small { display: block; margin-top: 4px; color: var(--ink-soft); font-size: 11px; font-weight: 500; }
.shortcut-arrow { margin-inline-start: auto; align-self: start; }

@media (max-width: 700px) {
  .shortcut-strip { gap: 8px; padding: 12px 5%; }
  .shortcut-strip a, .shortcut-strip a:last-child { min-height: 66px; gap: 6px; }
  .shortcut-strip .shortcut-art { flex-basis: clamp(28px, 9vw, 48px); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: bluegrass-arrive 520ms ease-out both; }
  .hero-copy h1 { animation-delay: 55ms; }
  .hero-copy .intro { animation-delay: 100ms; }
  .hero-actions, .hero-note { animation-delay: 145ms; }
  .hero-art .stamp { animation: bluegrass-postmark 650ms ease-out both; }
  .shortcut-arrow { transition: translate 180ms ease; }
  .shortcut-strip a:is(:hover, :focus-visible) .shortcut-arrow { translate: 2px -2px; }
  .gift-card, .journal-card, .guide-pick {
    transition: border-color 180ms ease, box-shadow 180ms ease, translate 180ms ease;
  }
  .gift-card:is(:hover, :focus-within), .journal-card:is(:hover, :focus-within), .guide-pick:is(:hover, :focus-within) {
    border-color: #bd9776;
    box-shadow: 0 8px 22px #152c3b12;
    translate: 0 -3px;
  }
  @keyframes bluegrass-arrive {
    from { translate: 0 9px; }
    to { translate: 0; }
  }
  @keyframes bluegrass-postmark {
    from { scale: 1.12; opacity: .6; }
    to { scale: 1; opacity: 1; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gift-card .card-image img { transition: none; }
  .gift-card .card:hover .card-image img { transform: none; }
}
