/* =========================================================
   NOT YOUR AVERAGE ROCK — Stylesheet
   Colors: Background #FAF8F4 | Text #1A1408 | Accent #B87333
           Surface #FFFFFF | Muted #6B5A3E | Border #E2D9CC
           Dark BG #2A1F0F | Dark Text #F5EFE6
   Fonts: Cormorant Garamond (headings), Lora (body)
   ========================================================= */

/* ----- Reset & Base ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: #FAF8F4;
  color: #1A1408;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  line-height: 1.75;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ----- Focus Visible ----- */
:focus-visible {
  outline: 2.5px solid #B87333;
  outline-offset: 3px;
  border-radius: 2px;
}

/* ----- Portfolio Credit Bar ----- */
.portfolio-credit {
  background-color: #2A1F0F;
  color: #6B5A3E;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0.5rem 1rem;
  line-height: 1.5;
}

.portfolio-credit a {
  color: #B87333;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.portfolio-credit a:hover {
  color: #F5EFE6;
}

/* ----- Container ----- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: #1A1408;
  color: #FAF8F4;
  border-color: #1A1408;
}

.btn-primary:hover {
  background-color: #B87333;
  border-color: #B87333;
  color: #FAF8F4;
}

.btn-ghost {
  background-color: transparent;
  color: #1A1408;
  border-color: #1A1408;
  font-size: 0.8rem;
  padding: 0.55rem 1.2rem;
}

.btn-ghost:hover {
  background-color: #1A1408;
  color: #FAF8F4;
}

/* ----- Site Header ----- */
.site-header {
  background-color: #FAF8F4;
  border-bottom: 1px solid #E2D9CC;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #1A1408;
  line-height: 1.2;
}

.brand-mark {
  flex-shrink: 0;
}

.site-nav {
  display: none;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B5A3E;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: #1A1408;
}

.site-nav .nav-cta {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: #1A1408;
  border-bottom: 1px solid #B87333;
  padding-bottom: 1px;
}

.site-nav .nav-cta:hover {
  color: #B87333;
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
  display: flex;
  align-items: center;
}

/* Mobile Nav */
.mobile-nav {
  background-color: #FFFFFF;
  border-top: 1px solid #E2D9CC;
  padding: 1.5rem 1.25rem;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav a {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B5A3E;
  transition: color 0.2s ease;
}

.mobile-nav a:hover {
  color: #1A1408;
}

/* ----- Hero Section ----- */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
  min-height: 75vh;
  display: flex;
  align-items: center;
}

.hero-decoration {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.eyebrow {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #B87333;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #1A1408;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 400;
  font-style: italic;
  color: #6B5A3E;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.hero-sub {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.95rem;
  color: #6B5A3E;
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* ----- Section Divider ----- */
.section-divider {
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

/* ----- Eyebrow / Section Label ----- */
.section-label {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #B87333;
  margin-bottom: 1rem;
}

.section-label--light {
  color: #B87333;
  opacity: 0.8;
}

/* ----- Philosophy Section ----- */
.section-philosophy {
  padding: 6rem 0;
  background-color: #FFFFFF;
  border-top: 1px solid #E2D9CC;
  border-bottom: 1px solid #E2D9CC;
}

.section-philosophy h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #1A1408;
  margin-bottom: 3rem;
  max-width: 600px;
}

.philosophy-body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.philosophy-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.philosophy-text p {
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  line-height: 1.85;
  color: #1A1408;
  max-width: 640px;
}

.philosophy-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 0.5rem;
}

.aside-caption {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.88rem;
  font-style: italic;
  color: #6B5A3E;
  letter-spacing: 0.03em;
  line-height: 1.7;
  border-left: 2px solid #B87333;
  padding-left: 1rem;
}

.criteria-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid #E2D9CC;
}

.criterion {
  padding: 1.5rem 0;
  border-bottom: 1px solid #E2D9CC;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

.criterion dt {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #1A1408;
}

.criterion dd {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.88rem;
  color: #6B5A3E;
  line-height: 1.6;
}

/* ----- Collection Section ----- */
.section-collection {
  padding: 6rem 0;
  background-color: #FAF8F4;
}

.section-collection h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #1A1408;
  margin-bottom: 1rem;
}

.section-intro {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.9rem;
  color: #6B5A3E;
  margin-bottom: 3rem;
  max-width: 560px;
  line-height: 1.75;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.product-card {
  background-color: #FFFFFF;
  border: 1px solid #E2D9CC;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  border-color: #B87333;
  box-shadow: 0 4px 24px rgba(184, 115, 51, 0.08);
}

.product-card--featured {
  border-color: #B87333;
}

.product-card-inner {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem;
  align-items: flex-start;
}

.product-visual {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-meta {
  flex: 1;
}

.product-number {
  display: block;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B87333;
  margin-bottom: 0.35rem;
}

.product-badge {
  display: inline-block;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #B87333;
  border: 1px solid #B87333;
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.4rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.product-meta h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #1A1408;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.product-provenance {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.82rem;
  color: #6B5A3E;
  margin-bottom: 0.3rem;
  line-height: 1.5;
}

.product-profile {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.82rem;
  color: #6B5A3E;
  font-style: italic;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.product-note {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
  color: #1A1408;
  border-left: 2px solid #E2D9CC;
  padding-left: 0.85rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #B87333;
  letter-spacing: 0.02em;
}

/* ----- Testimonials Section (dark) ----- */
.section-testimonials {
  background-color: #2A1F0F;
  color: #F5EFE6;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.testimonials-decoration {
  position: absolute;
  bottom: -60px;
  right: -60px;
  opacity: 0.4;
  pointer-events: none;
}

.section-testimonials h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #F5EFE6;
  margin-bottom: 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial {
  border-top: 1px solid rgba(226, 217, 204, 0.2);
  padding-top: 1.75rem;
}

.testimonial p {
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.85;
  color: #F5EFE6;
  margin-bottom: 1rem;
}

.testimonial cite {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #B87333;
  font-style: normal;
}

/* ----- CTA Section ----- */
.section-cta {
  padding: 6rem 0;
  background-color: #FFFFFF;
  border-top: 1px solid #E2D9CC;
  text-align: center;
}

.cta-inner {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.cta-decoration {
  margin-bottom: 0.5rem;
}

.section-cta h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 300;
  line-height: 1.15;
  color: #1A1408;
}

.cta-body {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.95rem;
  color: #6B5A3E;
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

/* ----- Site Footer ----- */
.site-footer {
  background-color: #1A1408;
  color: #F5EFE6;
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: #F5EFE6;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-nav a {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.78rem;
  color: #6B5A3E;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #B87333;
}

.footer-divider {
  border-top: 1px solid rgba(184, 115, 51, 0.15);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copy {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.78rem;
  color: #6B5A3E;
  letter-spacing: 0.04em;
}

.footer-credit {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.78rem;
  color: #6B5A3E;
}

.footer-credit a {
  color: #B87333;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.footer-credit a:hover {
  color: #F5EFE6;
}

/* =========================================================
   RESPONSIVE — Tablet 640px+
   ========================================================= */
@media (min-width: 640px) {

  .criteria-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .criterion {
    border-right: 1px solid #E2D9CC;
    border-bottom: none;
    padding: 2rem 1.5rem 2rem 0;
  }

  .criterion:last-child {
    border-right: none;
    padding-right: 0;
    padding-left: 1.5rem;
  }

  .criterion:not(:first-child):not(:last-child) {
    padding-left: 1.5rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

}

/* =========================================================
   RESPONSIVE — Desktop 768px+
   ========================================================= */
@media (min-width: 768px) {

  .site-nav {
    display: block;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .hero {
    padding: 7rem 0 8rem;
  }

  .hero-decoration {
    right: 0;
    opacity: 0.6;
  }

  .philosophy-body {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }

  .philosophy-aside {
    flex-shrink: 0;
    width: 160px;
    align-items: center;
    text-align: center;
    padding-top: 0;
  }

  .aside-caption {
    border-left: none;
    border-top: 2px solid #B87333;
    padding-left: 0;
    padding-top: 0.75rem;
    text-align: center;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }

  .product-card-inner {
    flex-direction: column;
    gap: 1.25rem;
  }

  .product-footer {
    flex-wrap: nowrap;
  }
}

/* =========================================================
   RESPONSIVE — Large Desktop 1024px+
   ========================================================= */
@media (min-width: 1024px) {

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
  }

  .section-philosophy h2,
  .section-collection h2,
  .section-testimonials h2 {
    margin-bottom: 3.5rem;
  }
}

/* Mobile nav fix — hide secondary links, keep the CTA on phones */
@media (max-width: 639px) {
  .nav-links { gap: 0.75rem; }
  .nav-links li:not(:has(.nav-cta)) { display: none; }
}
