/* WOSHO — artisan soap boutique */
:root {
  --ink: #0d0b0a;
  --charcoal: #1a1614;
  --milk: #f5f0e8;
  --cream: #e8dcc8;
  --cocoa: #6b5344;
  --gold: #c9a227;
  --gold-soft: #d4af37;
  --gold-dim: rgba(201, 162, 39, 0.15);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--milk);
  background: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

.mountain-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(13, 11, 10, 0.55) 0%, rgba(13, 11, 10, 0.88) 45%, var(--ink) 100%),
    url("images/mountains-bg.jpg") center bottom / cover no-repeat;
  background-color: var(--charcoal);
}

.mountain-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, var(--gold-dim), transparent 55%);
  pointer-events: none;
}

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

a {
  color: var(--gold-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--milk);
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(13, 11, 10, 0.82);
  border-bottom: 1px solid rgba(201, 162, 39, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--milk);
}

.logo span {
  color: var(--gold-soft);
}

.nav {
  display: flex;
  gap: 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a {
  color: var(--cream);
}

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

.header-cta {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, color 0.2s;
}

.header-cta:hover {
  background: var(--gold);
  color: var(--ink);
}

/* Hero */
.hero {
  padding: clamp(3.5rem, 10vw, 6.5rem) 0 clamp(4rem, 12vw, 8rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.85fr);
    gap: clamp(2rem, 4vw, 4rem);
  }
}

.hero-copy {
  text-align: center;
}

@media (min-width: 900px) {
  .hero-copy {
    text-align: left;
  }
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid rgba(201, 162, 39, 0.35);
  padding: 0.45rem 1rem;
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: var(--milk);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
}

.hero-lead {
  max-width: 32rem;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  color: rgba(245, 240, 232, 0.78);
}

@media (min-width: 900px) {
  .hero-lead {
    margin: 0 0 2.5rem;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 900px) {
  .hero-actions {
    justify-content: flex-start;
  }
}

.hero-visual {
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 900px) {
  .hero-visual {
    max-width: none;
    margin: 0;
  }
}

.hero-figure {
  margin: 0;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(26, 22, 20, 0.55);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(245, 240, 232, 0.06) inset;
  overflow: hidden;
}

.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.btn-primary {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--gold-soft), #a68516);
  color: var(--ink);
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 162, 39, 0.25);
}

a.btn-primary {
  display: inline-block;
  text-decoration: none;
}

.btn-ghost {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(232, 220, 200, 0.35);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

a.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Sections */
section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 2.5rem;
  color: var(--milk);
}

/* Product grid */
.products {
  background: linear-gradient(180deg, transparent, rgba(26, 22, 20, 0.6));
  border-top: 1px solid rgba(201, 162, 39, 0.12);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: rgba(61, 50, 41, 0.35);
  border: 1px solid rgba(201, 162, 39, 0.18);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.product-card:hover {
  border-color: rgba(201, 162, 39, 0.45);
  transform: translateY(-4px);
}

.product-card figure {
  margin: 0;
  aspect-ratio: 1;
  background: var(--charcoal);
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-body {
  padding: 1.5rem 1.5rem 1.75rem;
}

.product-card-media {
  display: block;
  color: inherit;
}

.product-card-media:hover img {
  transform: scale(1.03);
}

.product-card-media img {
  transition: transform 0.35s ease;
}

.product-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--milk);
}

.product-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.product-title-link:hover {
  color: var(--gold-soft);
}

.product-price-link {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 1rem;
}

.product-price-link:hover .product-price {
  color: var(--milk);
}

.product-price {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  transition: color 0.2s ease;
}

.composition {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.75);
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  margin: 0;
}

.composition strong {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.product-buy {
  width: 100%;
  margin-top: 1.25rem;
  text-align: center;
  box-sizing: border-box;
}

/* Story / manifesto */
.story {
  border-top: 1px solid rgba(201, 162, 39, 0.12);
  background: linear-gradient(180deg, rgba(26, 22, 20, 0.35), transparent);
}

.story-article {
  max-width: 44rem;
}

.story-article p {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(245, 240, 232, 0.82);
}

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

.story-bottom {
  border-top: 1px solid rgba(201, 162, 39, 0.12);
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Values / compliance */
.values {
  border-top: 1px solid rgba(201, 162, 39, 0.12);
  background: linear-gradient(180deg, rgba(26, 22, 20, 0.25), transparent);
}

.values-lead {
  max-width: 40rem;
  margin: -1.25rem 0 2.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.72);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.value-card {
  padding: 1.35rem 1.4rem 1.5rem;
  background: rgba(61, 50, 41, 0.35);
  border: 1px solid rgba(201, 162, 39, 0.18);
}

.value-card-wide {
  grid-column: 1 / -1;
}

@media (min-width: 900px) {
  .value-card-wide {
    grid-column: span 2;
  }
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 0.65rem;
  color: var(--gold-soft);
}

.value-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.82);
}

/* Footer CTA */
.footer-cta {
  text-align: center;
  padding: clamp(4rem, 10vw, 6rem) 0;
  border-top: 1px solid rgba(201, 162, 39, 0.15);
}

.footer-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin: 0 0 1rem;
}

.footer-cta p {
  color: rgba(245, 240, 232, 0.7);
  max-width: 28rem;
  margin: 0 auto 1.75rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(107, 83, 68, 0.35);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(232, 220, 200, 0.45);
}

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

.footer-copy {
  margin: 0;
  text-transform: uppercase;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.footer-legal a {
  color: rgba(232, 220, 200, 0.55);
}

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

a.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 1rem;
  pointer-events: none;
}

.cookie-banner-inner {
  pointer-events: auto;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.35rem 1.5rem 1.5rem;
  background: rgba(26, 22, 20, 0.96);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-bottom: none;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.45);
}

.cookie-banner-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.65rem;
  color: var(--milk);
}

.cookie-banner-text {
  margin: 0 0 1.15rem;
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.82);
  line-height: 1.55;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.btn-sm {
  padding: 0.65rem 1.15rem;
  font-size: 0.7rem;
}

.cookie-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Legal / cookies page */
.legal-page {
  padding: clamp(2.5rem, 8vw, 4rem) 0 clamp(4rem, 10vw, 6rem);
}

.legal-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.35rem;
  color: var(--milk);
}

.legal-updated {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.55);
  margin: 0 0 2.5rem;
}

.legal-section {
  margin-bottom: 2.25rem;
  max-width: 52rem;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--gold-soft);
  margin: 0 0 0.85rem;
}

.legal-section p,
.legal-section li {
  color: rgba(245, 240, 232, 0.82);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.legal-list {
  margin: 0;
  padding-left: 1.25rem;
}

.legal-list li {
  margin-bottom: 0.75rem;
}

.legal-note {
  font-size: 0.85rem !important;
  color: rgba(232, 220, 200, 0.55) !important;
  margin-top: 1rem !important;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.legal-table th,
.legal-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(107, 83, 68, 0.45);
  color: rgba(245, 240, 232, 0.88);
}

.legal-table th {
  background: rgba(61, 50, 41, 0.5);
  color: var(--cream);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.legal-table code {
  font-size: 0.8rem;
  color: var(--gold-soft);
}

.legal-back {
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }
}
