/* Penland & Sons — heritage department store, navy, burgundy, gold */
:root {
  --navy: #1b2a4a;
  --navy-deep: #10182c;
  --burgundy: #7a2430;
  --gold: #c4a15a;
  --ivory: #f4efe4;
  --ink: #1b1714;
  --paper: #f7f3ea;
  --line: #d8d0c0;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Libre Franklin", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 1.04rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--navy); color: #fff; padding: 0.6rem 1rem; z-index: 100; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--navy);
  color: var(--ivory);
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  max-width: 1120px; margin: 0 auto; padding: 0.85rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.wordmark { text-decoration: none; color: var(--ivory); text-align: left; }
.wm-line { display: block; font-family: "Playfair Display", serif; font-size: 1.45rem; letter-spacing: 0.04em; }
.wm-sub { display: block; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-top: 0.15rem; }
.site-nav { display: flex; gap: 1.4rem; }
.site-nav a { color: var(--ivory); text-decoration: none; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav a:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; width: 2.5rem; height: 2.5rem; cursor: pointer; }
.nav-toggle span { display: block; height: 1px; background: var(--gold); margin: 7px 0; }

.hero { position: relative; min-height: 88vh; display: grid; place-items: center; color: var(--ivory); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.45); }
.hero-frame {
  position: relative;
  max-width: 720px;
  margin: 1.5rem;
  padding: 2.4rem 2rem 2rem;
  text-align: center;
  border: 1px solid var(--gold);
  background: rgba(16, 24, 44, 0.62);
}
.eyebrow { margin: 0 0 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.72rem; color: var(--gold); }
h1, h2, h3 { font-family: "Playfair Display", serif; font-weight: 600; line-height: 1.15; margin: 0 0 0.8rem; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.4rem; }
.lede { margin: 0 auto 1.4rem; max-width: 36rem; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.7rem; }
.btn { display: inline-block; text-decoration: none; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.8rem 1.2rem; }
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: #d4b56a; }
.btn-ghost { border: 1px solid var(--ivory); color: var(--ivory); }
.btn-ghost:hover { background: var(--ivory); color: var(--navy); }

section { padding: 4.8rem 1.5rem; }
.about, .contact { background: var(--ivory); }
.shop { background: var(--paper); }
.visit { background: var(--navy); color: var(--ivory); }
.visit h2 { color: var(--ivory); }
.visit .eyebrow { color: var(--gold); }
.reviews { background: #efe8d8; }

.about-grid, .visit-grid {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center;
}
.about-grid figure { margin: 0; }
.about-grid img { width: 100%; height: 520px; object-fit: cover; }
.about-grid figcaption { margin-top: 0.7rem; font-size: 0.9rem; font-style: italic; border-top: 1px solid var(--line); padding-top: 0.6rem; }

.section-intro { max-width: 680px; margin: 0 auto 2.4rem; text-align: center; }
.cards {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem;
}
.cards article { background: #fff; border: 1px solid var(--line); }
.cards article:nth-child(-n+3) { grid-column: span 2; }
.cards article:nth-child(n+4) { grid-column: span 3; }
.cards img { width: 100%; height: 220px; object-fit: cover; }
.cards h3, .cards p { padding: 0 1.1rem; }
.cards p { margin: 0 0 1.2rem; }
.note { font-size: 0.9rem; font-style: italic; color: #5a5146; }
.visit .note { color: #cfc6b4; }

.hours { width: 100%; border-collapse: collapse; margin: 1.1rem 0; }
.hours caption { text-align: left; font-family: "Playfair Display", serif; font-size: 1.4rem; margin-bottom: 0.5rem; }
.hours th, .hours td { padding: 0.5rem 0; border-bottom: 1px solid rgba(244,239,228,0.2); text-align: left; }
.map-wrap { min-height: 380px; border: 1px solid var(--gold); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

.review-grid {
  max-width: 1120px; margin: 0 auto 1rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
blockquote { margin: 0; padding: 1.4rem 1.2rem; background: var(--ivory); border-top: 3px solid var(--burgundy); }
blockquote p { margin: 0 0 0.9rem; font-family: "Playfair Display", serif; font-size: 1.2rem; font-style: italic; line-height: 1.4; }
blockquote footer { font-size: 0.82rem; color: var(--burgundy); }

.contact-cards {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.contact-cards article { border-top: 2px solid var(--navy); padding: 1.2rem 0.2rem; }
.contact-cards a { font-weight: 600; text-decoration: none; }

.site-footer { background: var(--navy-deep); color: #cfc6b4; text-align: center; padding: 2.4rem 1.5rem; }
.credit { font-family: "Playfair Display", serif; color: var(--gold); font-size: 1.25rem; margin: 0 0 0.6rem; }
.fineprint { max-width: 46rem; margin: 0 auto; font-size: 0.84rem; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy); flex-direction: column; padding: 1rem 1.4rem 1.3rem;
  }
  body.nav-open .site-nav { display: flex; }
  .about-grid, .visit-grid, .review-grid, .contact-cards, .cards { grid-template-columns: 1fr; }
  .cards article:nth-child(-n+3), .cards article:nth-child(n+4) { grid-column: auto; }
  .hero { min-height: 80vh; }
  .about-grid img, .cards img { height: 240px; }
}


/* contain off-canvas nav so it doesn't widen the page on small screens */
html, body {
  max-width: 100%;
  overflow-x: clip;
}
@media (max-width: 760px) {
  html, body { overflow-x: clip; }
  .site-nav {
    max-width: min(20rem, 86vw);
  }
}


.contact-cards li { min-width: 0; }
.contact-cards a, .contact-cards li { overflow-wrap: anywhere; word-break: break-word; }
.contact-cards a { font-size: 0.95rem; }
