/* GoodToBee – honey gold + charcoal on light ground */

:root {
  --bg: #f6f6f4;
  --bg-alt: #ecece8;
  --surface: #ffffff;
  --text: #2c2c2c;
  --muted: #5e5e5a;
  --gold: #d4af37;
  --gold-soft: #a8841c;
  --gold-dim: rgba(212, 175, 55, 0.28);
  --border: rgba(44, 44, 44, 0.12);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --space: clamp(1.25rem, 4vw, 2.5rem);
  --max: 42rem;
  --header-h: 3.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--gold-dim), transparent 55%),
    var(--bg);
}

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

a {
  color: var(--gold-soft);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #7a6414;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--gold);
  color: #12100a;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.25rem;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  min-height: var(--header-h);
  padding: 0.75rem var(--space);
  background: rgba(246, 246, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-status {
  margin: 0;
  flex: 1 1 100%;
  justify-content: flex-start;
}

@media (min-width: 720px) {
  .header-status {
    flex: 1 1 auto;
    justify-content: center;
  }
}

.header-status .season {
  font-size: 0.8rem;
  padding: 0.28rem 0.6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 0.35rem 1.1rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold-soft);
}

/* Hero */

.hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  padding: var(--space);
  text-align: center;
}

.hero-inner {
  max-width: 36rem;
  animation: rise 0.9s var(--ease) both;
}

.hero-logo {
  width: min(42vw, 11rem);
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 8px 28px rgba(212, 175, 55, 0.2));
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--text);
}

.hero-lead {
  margin: 0.85rem 0 1.75rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.hero-cta .availability {
  font-size: 0.9rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--gold);
  border-radius: 0.2rem;
  background: var(--gold);
  color: #12100a;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover {
  background: transparent;
  color: var(--gold-soft);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Sections */

.section {
  padding: clamp(3rem, 8vw, 5.5rem) var(--space);
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--gold-soft);
}

.section p {
  margin: 0 0 1rem;
}

.muted {
  color: var(--muted);
  font-weight: 400;
}

.offer {
  font-size: 1.15rem;
}

.product-photo {
  margin: 0 0 1.5rem;
  max-width: min(100%, 22rem);
}

.product-photo img {
  width: 100%;
  height: auto;
  border-radius: 0.15rem;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

/* Status badges: season (auto) + sale availability (manual) */

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
}

.season,
.availability {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 0.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.season {
  background: var(--gold-dim);
  color: var(--gold-soft);
  border: 1px solid rgba(168, 132, 28, 0.4);
}

/* Availability toggle via data-status */

.availability[data-status="available"] {
  background: rgba(46, 125, 50, 0.12);
  color: #2e6b32;
  border: 1px solid rgba(46, 125, 50, 0.35);
}

.availability[data-status="soldout"] {
  background: rgba(160, 50, 40, 0.1);
  color: #a33a32;
  border: 1px solid rgba(160, 50, 40, 0.3);
}

.availability-soldout {
  display: none;
}

.availability[data-status="soldout"] .availability-available {
  display: none;
}

.availability[data-status="soldout"] .availability-soldout {
  display: inline;
}

.availability[data-status="available"] .availability-soldout {
  display: none;
}

/* Photo placeholders */

.photo-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-placeholder {
  margin: 0;
}

.photo-placeholder img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.15rem;
  display: block;
}

.photo-frame {
  aspect-ratio: 4 / 3;
  border: 1px dashed rgba(212, 175, 55, 0.45);
  border-radius: 0.15rem;
  background:
    linear-gradient(135deg, transparent 48%, var(--gold-dim) 48%, var(--gold-dim) 52%, transparent 52%),
    var(--surface);
}

.photo-placeholder figcaption {
  margin-top: 0.55rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  padding: 2rem var(--space) 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

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

.site-footer a:hover {
  color: var(--gold-soft);
}

/* Reveal on scroll (subtle) */

.section-inner {
  animation: rise 0.7s var(--ease) both;
  animation-timeline: view();
  animation-range: entry 5% cover 25%;
}

@supports not (animation-timeline: view()) {
  .section-inner {
    animation: none;
  }
}
