/* ─────────────────────────────────────────────────────────
   HOLMESLAYERED — Design System
   Palette: #F5F2ED (bg) · #1a1a1a (text) · #888888 (mid grey)
   Font: DM Sans 300 / 400 / 500 / 600
   ───────────────────────────────────────────────────────── */

:root {
  --bg:        #F5F2ED;
  --bg-card:   #FFFFFF;
  --text:      #1a1a1a;
  --text-mid:  #888888;
  --border:    #CCCCCC;
  --accent:    #1a1a1a;
  --radius:    4px;
  --radius-lg: 6px;
  --max-w:     960px;
  --font:      'DM Sans', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h3 { font-size: 1rem; font-weight: 500; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn-primary:hover { opacity: 0.8; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }

/* ── SECTION LABEL ── */
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 2.5rem;
}

/* ─────────────────────────────────────────────────────────
   LOGO SVG — animated concentric octagons + wordmark
   viewBox 0 0 820 80 — wide horizontal lockup
   ───────────────────────────────────────────────────────── */
.hl-logo-svg {
  display: block;
  width: 240px;   /* scale down from 820px native */
  height: auto;
}

/* Header: a bit smaller */
.site-header .hl-logo-svg {
  width: 200px;
}

/* Footer: same as header */
.site-footer .hl-logo-svg {
  width: 180px;
}

/* ─────────────────────────────────────────────────────────
   HEADER
   ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ─────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────── */
.hero {
  padding: 5rem 2rem 4rem;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-location {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 1.25rem;
}
.hero-headline {
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-mid);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero-rule {
  max-width: var(--max-w);
  margin: 4rem auto 0;
  border: none;
  border-top: 1px solid var(--border);
}

/* ─────────────────────────────────────────────────────────
   STORY
   ───────────────────────────────────────────────────────── */
.story {
  padding: 5rem 2rem;
}
.story-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.story-heading {
  margin-bottom: 1.25rem;
}
.story-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  font-weight: 300;
}
.story-image img,
.story-image .feature-img-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
}
.story-image img {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* ─────────────────────────────────────────────────────────
   FEATURE SECTIONS
   ───────────────────────────────────────────────────────── */
.feature-section {
  padding: 5rem 2rem;
}
.feature-section--alt {
  background: var(--bg-card);
}
.feature-section--dark {
  background: var(--text);
  color: var(--bg);
}
.feature-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
/* Swap image/text columns */
.feature-section--reverse .feature-image { order: 2; }
.feature-section--reverse .feature-text  { order: 1; }

.feature-heading {
  margin-bottom: 1.25rem;
}
.feature-body {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 2rem;
}
.feature-section--dark .feature-heading { color: var(--bg); }
.feature-section--dark .feature-body { color: #aaaaaa; }
.feature-section--dark .btn-primary {
  background: var(--bg);
  color: var(--text);
  border-color: var(--bg);
}
.feature-image img,
.feature-image .feature-img-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
}
.feature-image img {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* Shared placeholder for missing feature/story photos */
.feature-img-placeholder {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EDEAE4;
  color: var(--text-mid);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
}

/* ─────────────────────────────────────────────────────────
   PRODUCT GRID
   ───────────────────────────────────────────────────────── */
.products {
  padding: 4rem 2rem;
}
.products-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.product-card-image-link { display: block; }
.product-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg);
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-image img {
  transform: scale(1.04);
}
.product-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #EDEAE4;
}
.product-card-placeholder--lg {
  aspect-ratio: 1 / 1;
}
.placeholder-icon {
  font-size: 2.5rem;
  color: var(--border);
  user-select: none;
}
.product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.product-card-name {
  font-size: 0.9375rem;
  font-weight: 500;
}
.product-card-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.product-card-desc {
  font-size: 0.8125rem;
  color: var(--text-mid);
  line-height: 1.5;
  flex: 1;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
}
.product-price {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.products-cta {
  text-align: center;
}

/* ─────────────────────────────────────────────────────────
   ABOUT STRIP
   ───────────────────────────────────────────────────────── */
.about-strip {
  background: var(--text);
  color: var(--bg);
  padding: 4rem 2rem;
}
.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.about-point { display: flex; flex-direction: column; gap: 0.5rem; }
.about-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}
.about-point h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--bg);
}
.about-point p {
  font-size: 0.875rem;
  color: #aaaaaa;
  line-height: 1.6;
  font-weight: 300;
}

/* ─────────────────────────────────────────────────────────
   PRODUCT DETAIL PAGE
   ───────────────────────────────────────────────────────── */
.product-detail {
  padding: 4rem 2rem;
}
.product-detail-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.product-detail-image img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.product-category-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.75rem;
}
.product-detail-name {
  margin-bottom: 1rem;
}
.product-detail-price {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.product-detail-desc {
  font-size: 0.9375rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 2rem;
  font-weight: 300;
}
.product-detail-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.product-etsy-note {
  font-size: 0.75rem;
  color: var(--text-mid);
}

.related-products {
  padding: 0 2rem 4rem;
  border-top: 1px solid var(--border);
}
.related-products .products-inner { padding-top: 3rem; }

/* ─────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.8125rem;
  color: var(--text-mid);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); }
.footer-family {
  width: 100%;
  font-size: 0.75rem;
  color: var(--text-mid);
}
.footer-family a { text-decoration: underline; text-underline-offset: 3px; }

/* ─────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .site-header {
    padding: 0.875rem 1.25rem;
  }
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-mark { display: none; }

  .products, .about-strip, .product-detail, .related-products,
  .story, .feature-section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Story + features stack to single column, image above text */
  .story-inner, .feature-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .feature-section--reverse .feature-image { order: 1; }
  .feature-section--reverse .feature-text  { order: 2; }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-detail-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .footer-brand { margin-right: 0; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .header-nav .btn-outline { display: none; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
