/* ============================================================
   Feather & Hoof Designs — shared stylesheet
   Palette sampled from the brand tag + edge-grain board photo
   ============================================================ */

:root {
  --barn: #7c3122;        /* tag red */
  --barn-deep: #5e241a;
  --kraft: #c2955e;       /* tag card stock */
  --kraft-light: #dcbc8a;
  --cream: #f5ebdb;       /* logo lettering */
  --maple: #e9d2a9;       /* light board lamination */
  --walnut: #3b2717;      /* dark board lamination */
  --walnut-deep: #291a0e;
  --ink: #32231a;

  --display: "Zilla Slab", "Rockwell", serif;
  --script: "Caveat", cursive;
  --body: "Karla", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.0625rem;
}

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

a { color: var(--barn); }

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

/* ---- Edge-grain board stripe (divider sampled from the photo) ---- */
.board-stripe {
  height: 14px;
  background: linear-gradient(
    90deg,
    var(--walnut) 0 9%,
    var(--maple) 9% 17%,
    #8a5a33 17% 30%,
    var(--kraft) 30% 38%,
    var(--walnut-deep) 38% 52%,
    var(--maple) 52% 58%,
    #6f452a 58% 74%,
    var(--kraft-light) 74% 81%,
    var(--walnut) 81% 100%
  );
}

/* ---------------- Header ---------------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(59, 39, 23, 0.15);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;          /* nav centers on the logo's height */
  justify-content: flex-start;  /* menu sits beside the logo */
  gap: 1.75rem;
  flex-wrap: nowrap;
}

.brand {
  text-decoration: none;
  color: var(--barn);
  line-height: 1.05;
}

.brand .brand-top {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand .brand-top small {
  font-family: var(--script);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0 0.15rem;
}

.brand .brand-sub {
  font-family: var(--script);
  font-size: 1.3rem;
  color: var(--walnut);
}

.site-nav {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: var(--walnut);
  padding: 0.45rem 0.9rem;
  border-radius: 4px;
}

.site-nav a:hover { background: rgba(124, 49, 34, 0.1); }

.site-nav a[aria-current="page"] {
  background: var(--barn);
  color: var(--cream);
}

/* ---------------- Hero ---------------- */
.hero {
  background: var(--walnut-deep);
  color: var(--cream);
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero .eyebrow {
  font-family: var(--script);
  font-size: 1.6rem;
  color: var(--kraft-light);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  line-height: 1.12;
  margin: 0.4rem 0 1rem;
}

.hero p { max-width: 46ch; color: #ead9c2; }

.hero-photo {
  border: 6px solid var(--kraft);
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transform: rotate(1.5deg);
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  background: var(--barn);
  color: var(--cream);
  padding: 0.75rem 1.6rem;
  border-radius: 4px;
  border: 2px solid transparent;
}

.btn:hover { background: var(--barn-deep); }

.btn.ghost {
  background: transparent;
  border-color: var(--barn);
  color: var(--barn);
}

.btn.ghost:hover { background: rgba(124, 49, 34, 0.1); }

/* ---------------- Sections ---------------- */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3.25rem 1.25rem;
}

.section-head { margin-bottom: 2rem; }

.section-head .eyebrow {
  font-family: var(--script);
  font-size: 1.5rem;
  color: var(--barn);
}

.section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  color: var(--walnut);
}

.section-head p { max-width: 60ch; margin-top: 0.5rem; }

/* ---------------- Hang-tag cards (signature element) ---------------- */
.tag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.75rem;
}

.tag-card {
  position: relative;
  background: var(--kraft);
  border-radius: 8px;
  clip-path: polygon(
    0 3.5%, 8% 0, 16% 2.5%, 26% 0.5%, 36% 3%, 46% 0.5%, 56% 3%,
    66% 0.5%, 76% 2.5%, 86% 0, 100% 3.5%, 100% 100%, 0 100%
  );
  padding-top: 2.4rem;
  box-shadow: 0 8px 20px rgba(41, 26, 14, 0.22);
}

/* punched hole + twine loop */
.tag-card::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid #a87c48;
}

.tag-card figure { margin: 0; }

.tag-card img,
.photo-slot {
  width: calc(100% - 1.6rem);
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

/* Placeholder slot until real photos are dropped in */
.photo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--cream);
  font-family: var(--display);
  font-weight: 600;
  background:
    repeating-linear-gradient(
      0deg,
      var(--walnut) 0 18px,
      #6f452a 18px 30px,
      var(--maple) 30px 38px,
      #8a5a33 38px 56px
    );
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.tag-card figcaption,
.tag-card .tag-body {
  padding: 0.9rem 1.1rem 1.3rem;
}

.tag-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--barn-deep);
}

.tag-card p {
  font-size: 0.95rem;
  color: #4a3524;
}

/* ---------------- Red band (story teaser / pull quote) ---------------- */
.red-band {
  background: var(--barn);
  color: var(--cream);
}

.red-band .section { padding: 2.75rem 1.25rem; }

.red-band .eyebrow { color: var(--kraft-light); }

.red-band h2 { color: var(--cream); }

.red-band p { color: #f2e2ce; max-width: 62ch; }

blockquote.pull {
  font-family: var(--script);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.35;
  max-width: 30ch;
}

blockquote.pull footer {
  font-family: var(--body);
  font-size: 0.95rem;
  margin-top: 0.75rem;
  color: var(--kraft-light);
}

/* ---------------- About page ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.about-grid .prose p + p { margin-top: 1rem; }

.about-photo {
  border: 6px solid var(--kraft);
  border-radius: 6px;
  transform: rotate(-1.5deg);
  box-shadow: 0 14px 30px rgba(41, 26, 14, 0.3);
}

/* ---------------- Contact page ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.contact-card {
  background: #fff8ec;
  border: 1px solid rgba(59, 39, 23, 0.18);
  border-top: 6px solid var(--barn);
  border-radius: 6px;
  padding: 1.5rem;
}

.contact-card h3 {
  font-family: var(--display);
  color: var(--barn-deep);
  margin-bottom: 0.4rem;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--walnut-deep);
  color: var(--kraft-light);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.25rem 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer .brand-top {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
}

.site-footer a { color: var(--maple); }

.site-footer small { color: #a98d67; }

/* ---------------- Responsive ---------------- */
@media (max-width: 780px) {
  .hero-inner,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .hero-photo {
    transform: none;
    max-width: min(420px, 100%);
    margin: 0 auto;
  }
  .about-photo {
    transform: none;
    max-width: 100%;
    margin: 0 auto;
  }
  .section { padding: 2.4rem 1.25rem; }
  .hero-inner { padding: 2.6rem 1.25rem; }
}

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

/* ---- Extracted brand badge in the header ---- */
.brand-logo {
  height: 120px;
  width: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(41, 26, 14, 0.25);
}

/* On phones, keep the menu beside the logo as a compact 2-column block,
   vertically centered on the logo */
@media (max-width: 640px) {
  .brand-logo { height: 96px; }
  .header-inner { gap: 1rem; padding: 0.9rem 1rem; }
  .site-nav {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0.35rem 0.4rem;
    align-content: center;
  }
  .site-nav a {
    font-size: 0.98rem;
    padding: 0.35rem 0.7rem;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .brand-logo { height: 82px; }
  .site-nav a { font-size: 0.92rem; padding: 0.3rem 0.55rem; }
}
