/* ============================================
   NECTAR & HONEY ATELIER — SECTION STYLES
   Section-specific styling overrides
   ============================================ */

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero carousel: stacked crossfading slides */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s var(--ease-out);
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-dots {
  position: absolute;
  z-index: 2;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.45);
  transition: background var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}

.hero-dot.is-active {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.25);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 20, 16, 0.45) 0%,
    rgba(26, 20, 16, 0.55) 50%,
    rgba(26, 20, 16, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: var(--space-xl);
}

.hero .eyebrow {
  color: var(--gold);
  margin-bottom: var(--space-lg);
  font-size: var(--text-xs);
}

.hero h1 {
  color: var(--cream);
  margin-bottom: var(--space-lg);
}

.hero h1 em {
  font-weight: 300;
  font-style: italic;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--stone-light);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.6;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  font-style: italic;
  color: var(--stone-light);
  max-width: 520px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
  }

  .hero-tagline {
    font-size: var(--text-lg);
  }

  .hero-sub {
    font-size: var(--text-base);
  }
}

/* ── HERO MINI (subpages) ── */
.hero-mini {
  background-color: var(--cream);
  padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
  border-bottom: 1px solid var(--sand);
}

.hero-mini .eyebrow {
  margin-bottom: var(--space-lg);
}

.hero-mini h1 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.hero-mini .hero-tagline {
  max-width: 600px;
  color: var(--charcoal-light);
  margin: 0;
}

/* ── LEGAL PAGES ── */
.legal-page {
  background-color: var(--warm-white);
}

.legal-page p {
  color: var(--charcoal-light);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.legal-page p.lead {
  margin-bottom: var(--space-xl);
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--charcoal);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
}

.legal-page h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--charcoal);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  text-transform: none;
  letter-spacing: 0;
}

.legal-page ul {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-page li {
  color: var(--charcoal-light);
  line-height: 1.8;
  margin-bottom: var(--space-xs);
}

.legal-page a {
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── EVENTS CTA ── */
.events-cta {
  background-color: var(--navy);
}

/* ── TANNIN CONNECTION ── */
.tannin {
  background-color: var(--cream);
}

.tannin-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

.tannin-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── PRODUCT SHOWCASE ── */
.products {
  background-color: var(--warm-white);
}

.products-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-3xl);
}

/* ── BRAND STORY ── */
.story {
  background-color: var(--cream);
}

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

.story-block:last-child {
  margin-bottom: 0;
}

.story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 350px;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── HOW IT WORKS ── */
.process {
  background-color: var(--warm-white);
}

.process-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

/* ── WHOLESALE ORDERING ── */
.order {
  background-color: var(--warm-white);
}

.order-header {
  max-width: 600px;
  margin-bottom: var(--space-3xl);
}

.order-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.config-image-wrap {
  position: sticky;
  top: calc(80px + var(--space-2xl));
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.config-image-wrap .section-image {
  aspect-ratio: 4 / 5;
  transition: opacity var(--duration-base) var(--ease-out);
}

.config-image-wrap .section-image.fading {
  opacity: 0;
}

.configurator {
  background-color: var(--cream);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
}

.config-submit {
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.config-submit .btn {
  width: 100%;
}

.config-trust {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.config-trust-stripe {
  height: 22px;
  width: auto;
  opacity: 0.85;
}

.config-trust-cards {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.config-trust-cards img {
  height: 12px;
  width: auto;
  background-color: #fff;
  padding: 4px 6px;
  border: 1px solid var(--sand);
  border-radius: 3px;
  box-sizing: content-box;
}

@media (max-width: 1024px) {
  .order-split {
    grid-template-columns: 1fr;
  }
  .config-image-wrap {
    position: static;
    max-height: 400px;
  }
  .config-image-wrap .section-image {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .configurator {
    padding: var(--space-xl);
  }
}

/* ── CUSTOM SERVICES ── */
.custom {
  background-color: var(--cream);
}

.custom-header {
  max-width: 680px;
  margin-bottom: var(--space-3xl);
}

.service-card {
  background-color: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: var(--space-md);
}

.service-card-text {
  font-size: var(--text-sm);
  color: var(--charcoal-muted);
  line-height: 1.6;
}

.custom-pricing {
  background-color: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.custom-pricing-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--space-lg);
}

.custom-pricing-note {
  font-size: var(--text-sm);
  color: var(--charcoal-light);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

/* ── GALLERY ── */
.gallery {
  background-color: var(--warm-white);
}

.gallery-header {
  max-width: 680px;
  margin-bottom: var(--space-2xl);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-auto-rows: 280px;
  gap: var(--space-md);
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-item-feature {
  grid-row: span 2;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .gallery-item-feature {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }
  .gallery-item-feature {
    grid-column: span 1;
  }
}

/* ── THE COLLECTION (studio lookbook) ── */
.collection {
  background-color: var(--cream);
}

.collection-header {
  max-width: 680px;
  margin-bottom: var(--space-2xl);
}

.collection-feature {
  max-width: 560px;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.collection-feature img {
  width: 100%;
  height: auto;
  display: block;
}

.collection-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.collection-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  background-color: var(--warm-white);
  aspect-ratio: 3 / 4;
}

.collection-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.collection-item:hover .collection-img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .collection-row {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }
}

/* ── SECTION FEATURE IMAGES (process / materials) ── */
.process-feature,
.materials-feature {
  margin: 0 0 var(--space-3xl);
}

.process-feature img,
.materials-feature img {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.process-feature figcaption,
.materials-feature figcaption {
  margin-top: var(--space-md);
  font-size: var(--text-sm);
  color: var(--charcoal-muted);
  text-align: center;
  font-style: italic;
}

/* ── SUSTAINABILITY ── */
.sustainability {
  background-color: var(--warm-white);
}

.sustainability .split {
  align-items: start;
}

.sustainability-closing {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--charcoal-muted);
  line-height: 1.6;
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--stone-light);
}

.material-item {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--sand);
}

.material-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.material-item h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
}

.material-item p {
  font-size: var(--text-base);
  color: var(--charcoal-light);
  line-height: 1.7;
}

.material-item a {
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── CONTACT ── */
.contact {
  background-color: var(--navy);
  color: var(--cream);
}

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

.contact .eyebrow {
  color: var(--gold);
}

.contact .lead {
  color: var(--stone);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-4xl);
  align-items: start;
}

.contact-info {
  padding-top: var(--space-xl);
}

.contact-info-item {
  margin-bottom: var(--space-xl);
}

.contact-info-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-bottom: var(--space-xs);
}

.contact-info-value {
  font-size: var(--text-base);
  color: var(--stone-light);
}

.contact-info-value a {
  color: var(--stone-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-info-value a:hover {
  color: var(--cream);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }
}

@media (max-width: 768px) and (min-width: 481px) {
  .contact-grid .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── FOOTER ── */
.footer {
  background-color: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.03em;
  margin-bottom: var(--space-md);
}

.footer-logo em {
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.08em;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--stone-dark);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--stone-dark);
}

.footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone-dark);
  margin-bottom: var(--space-lg);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--stone);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-contact-value {
  font-size: var(--text-sm);
  color: var(--stone);
  margin-bottom: var(--space-sm);
}

.footer-contact-value a {
  color: var(--stone);
  text-decoration: none;
}

.footer-contact-value a:hover {
  color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-xl);
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--stone-dark);
  font-weight: 300;
}

.footer-payments {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
  padding: var(--space-lg) 0;
  margin-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-stripe-mark {
  height: 26px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.footer-stripe-mark:hover {
  opacity: 1;
}

.footer-card-marks {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer-card-marks img {
  height: 14px;
  width: auto;
  background-color: #fff;
  padding: 5px 8px;
  border-radius: 3px;
  box-sizing: content-box;
}

.footer-credit {
  font-size: var(--text-xs);
  color: var(--stone-dark);
  margin-top: var(--space-sm);
  letter-spacing: 0.02em;
}

.footer-credit a {
  color: var(--stone-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out);
}

.footer-credit a:hover {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

.footer-credit span {
  margin: 0 var(--space-xs);
  color: var(--stone-dark);
  opacity: 0.5;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .footer-payments {
    gap: var(--space-md);
    flex-direction: column;
  }
  .footer-credit {
    line-height: 1.6;
  }
}

/* ============================================
   FAQ
   ============================================ */
.faq-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  border-top: var(--border-hair) solid var(--sand);
}

.faq-item {
  border-bottom: var(--border-hair) solid var(--sand);
}

.faq-q {
  display: block;
  padding: var(--space-lg) var(--space-2xl) var(--space-lg) 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--charcoal);
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 300;
  color: var(--charcoal-muted);
  transition: transform var(--duration-fast) var(--ease-out);
}

.faq-item[open] .faq-q::after {
  content: '\2212';
}

.faq-q:hover {
  color: var(--burgundy);
}

.faq-a {
  padding: 0 var(--space-2xl) var(--space-lg) 0;
}

.faq-a p {
  font-size: var(--text-base);
  color: var(--charcoal-muted);
  line-height: 1.7;
  margin: 0;
}

.faq-a a {
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-a a:hover {
  color: var(--burgundy-dark);
}
