/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--space-3xl);
  position: relative;
}

.hero__content {
  position: relative;
  z-index: var(--z-base);
  max-width: 65%;
}

@media (max-width: 767px) {
  .hero__content {
    max-width: 100%;
  }
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-cream);
  margin-bottom: var(--space-md);
}

.hero__rule {
  width: 80px;
  height: 2px;
  background: var(--color-amber);
  border: none;
  margin-bottom: var(--space-md);
}

.hero__tagline {
  font-size: var(--text-xl);
  color: var(--color-tan);
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* Hero ambient glow — abstract radial, not an illustration */
.hero__glow {
  position: absolute;
  left: 88%;
  top: 82%;
  transform: translate(-50%, -50%);
  width: clamp(500px, 60vw, 880px);
  height: clamp(500px, 60vw, 880px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 60, 12, 0.16) 0%, rgba(220, 60, 12, 0.05) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

.hero__watermark {
  position: absolute;
  left: 88%;
  top: 82%;
  transform: translate(-50%, -50%);
  width: clamp(420px, 55vw, 780px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.16;
  pointer-events: none;
}

@media (max-width: 767px) {
  .hero__glow {
    left: 92%;
    top: 95%;
    width: 540px;
    height: 540px;
  }
  .hero__watermark {
    left: 92%;
    top: 95%;
    width: 480px;
    opacity: 0.18;
  }
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-tan);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
}

.hero__scroll-indicator svg {
  width: 20px;
  height: 20px;
  animation: bounce 2s var(--ease-in-out) infinite;
}

/* Grain texture overlay */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}


/* ==========================================================================
   STORY
   ========================================================================== */

.story {
  position: relative;
}

.story__quote {
  margin-bottom: var(--space-xl);
}

.story__text {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-espresso);
}

/* Photo placeholder — a styled block that looks intentional */
.photo-placeholder {
  aspect-ratio: 4 / 5;
  background: var(--color-tan);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(29, 24, 22, 0.08);
}

.photo-placeholder__label {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-espresso);
  opacity: 0.35;
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story__placeholder {
  max-width: 320px;
  width: 100%;
  margin-inline: auto;
}


/* ==========================================================================
   MARQUEE
   ========================================================================== */

.marquee {
  padding-block: var(--space-lg);
  overflow: hidden;
  white-space: nowrap;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
}

.marquee__content {
  display: flex;
  align-items: center;
  gap: 0;
  padding-right: 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-cream);
}

.marquee__content span {
  padding-inline: var(--space-lg);
  flex-shrink: 0;
}

.marquee__separator {
  color: var(--color-cream);
  opacity: 0.3;
}


/* ==========================================================================
   PRODUCTS
   ========================================================================== */

.products {
  position: relative;
}

.products__heading {
  margin-bottom: var(--space-3xl);
}

/* Product cards */
.card {
  position: relative;
  border: 1px solid rgba(211, 192, 178, 0.15);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  display: block;
  overflow: hidden;
}

.card:hover {
  color: var(--color-cream);
}

/* Product photo placeholder inside card */
.card__image {
  aspect-ratio: 3 / 2;
  background: rgba(211, 192, 178, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(211, 192, 178, 0.08);
}

.card__image-label {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-tan);
  opacity: 0.3;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__body {
  padding: var(--space-xl);
}

.card__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
  transition: color var(--duration-fast) var(--ease-out);
}

.card:hover .card__name {
  color: var(--color-amber);
}

.card__description {
  font-size: var(--text-sm);
  color: var(--color-tan);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.card__price {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-amber);
  letter-spacing: 0.02em;
}

.card__cta {
  display: inline-block;
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-amber);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.card:hover .card__cta {
  border-bottom-color: var(--color-amber);
}

/* Featured card */
.card--featured {
  border-color: rgba(220, 60, 12, 0.25);
}


/* ==========================================================================
   QUALITY
   ========================================================================== */

.quality {
  position: relative;
}

.quality__heading {
  margin-bottom: var(--space-3xl);
}

.quality__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.quality__item {
  display: flex;
  align-items: baseline;
  gap: var(--space-md);
  font-size: var(--text-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-tan);
}

.quality__item:last-child {
  border-bottom: none;
}

.quality__marker {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-amber);
  flex-shrink: 0;
  transform: translateY(-2px);
}

.quality__placeholder {
  max-width: 360px;
  width: 100%;
  margin-inline: auto;
}


/* ==========================================================================
   STORY PAGE
   ========================================================================== */

.story-hero {
  padding-top: calc(var(--space-3xl) + 60px);
  padding-bottom: var(--space-3xl);
}

.story-hero__content {
  position: relative;
  z-index: var(--z-base);
}

.story-hero__content h1 {
  font-size: var(--text-4xl);
  color: var(--color-cream);
}

.story-hero__watermark {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(420px, 55vw, 780px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.story-hero__glow {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(420px, 55vw, 780px);
  height: clamp(420px, 55vw, 780px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 60, 12, 0.10) 0%, rgba(220, 60, 12, 0.03) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
}

@media (max-width: 767px) {
  .story-hero__watermark {
    right: -25%;
    width: 130%;
    opacity: 0.05;
  }
  .story-hero__glow {
    right: -25%;
    width: 130vw;
    height: 130vw;
  }
}

.container--story {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.story-section__heading {
  margin-bottom: var(--space-xl);
}

.story-section__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.story-product h3 {
  font-size: var(--text-xl);
  color: var(--color-amber);
  margin-bottom: var(--space-xs);
}

.story-product + .story-product {
  margin-top: var(--space-md);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  padding-block: var(--space-2xl);
  text-align: center;
  position: relative;
}

.footer p {
  max-width: none;
}

.footer__glyphs {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__glyph-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.footer__glyph-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
}

.footer__glyph {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

.footer__glyph--grapefruit { transform: scale(1.45); }
.footer__glyph--orange { transform: scale(1.5); }
.footer__glyph--lime { transform: scale(1.0); }

.footer__glyph-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-tan);
  opacity: 0.6;
}

@media (max-width: 480px) {
  .footer__glyphs {
    gap: var(--space-md);
  }
  .footer__glyph-frame {
    width: 56px;
    height: 56px;
  }
}

.footer__brand-mark {
  margin-bottom: var(--space-lg);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-cream);
  margin-bottom: 0.25rem;
}

.footer__est {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-tan);
  opacity: 0.55;
}

.footer__signoff {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--color-tan);
  opacity: 0.7;
  margin-top: var(--space-lg);
  letter-spacing: 0.02em;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
}

.footer__links a {
  color: var(--color-tan);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__links a:hover {
  color: var(--color-amber);
}

.footer__separator {
  color: var(--color-olive);
}
