/* FRAÎCHE — Riviera Aesthetic · Heimstone-inspired
   Color palette: Azure #1D9BB5 · Navy #1A2744 · Red #F9423A · White #FFFFFF
   Typography: Cormorant Garamond (serif) + Jost (sans-serif)
   All values reference CSS variables only — no hardcoded hex in utility classes.
*/

/* --- Variables --- */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f9fb;
  --navy: #1A2744;
  --azure: #1D9BB5;
  --azure-light: #7ec8d9;
  --azure-deep: #1787a0;
  --stone: #4a6a7a;
  --sand: #d0e4ec;
  --white: #ffffff;
  --pierre: #b8c8d4;
  --pierre-deep: #8aa4b5;
  --sable: #e0eef5;
  --sable-deep: #c5d9e4;
  --coral: #F9423A;
}

/* --- Reset --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--navy);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- NAVBAR --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 64px;
  border-bottom: 1px solid var(--sand);
  position: relative;
}
.navbar::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 64px;
  right: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--azure-light), transparent);
  opacity: 0.4;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--navy);
  text-transform: uppercase;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-tagline {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 400;
}
.nav-anchor {
  opacity: 0.25;
  line-height: 0;
}
.nav-anchor svg { width: 14px; height: 14px; }

/* --- HERO --- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 72px 64px 100px;
  align-items: center;
  min-height: 88vh;
  background: var(--bg);
  position: relative;
}
/* Subtle Riviera rule */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 64px;
  right: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--sand), var(--azure-light), var(--sand));
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-overline {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--azure);
  margin-bottom: 28px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-overline::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--azure);
  opacity: 0.6;
}
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(60px, 7vw, 108px);
  font-weight: 300;
  line-height: 0.93;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 40px;
}
.hero-headline em {
  font-style: italic;
  color: var(--azure);
  font-weight: 300;
}
.hero-sub {
  font-size: 16px;
  color: var(--stone);
  max-width: 420px;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 52px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 32px;
}
.hero-meta-item:last-child { padding-right: 0; }
.hero-meta-divider {
  width: 1px;
  height: 44px;
  background: var(--sand);
  margin-right: 32px;
}
.meta-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.meta-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

/* Hero Visual — Premium SVG bandana */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 460px;
}
.bandana-shape {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(26,39,68,0.10);
}
/* Decorative corner monogram */
.bandana-shape::before {
  content: 'F';
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--sand);
  font-weight: 400;
}
/* Small Riviera accent line */
.bandana-shape::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--azure-deep), var(--azure), var(--azure-light));
}

/* Premium SVG bandana illustration */
.bandana-body {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 48px;
  position: relative;
}
.bandana-knot {
  flex-shrink: 0;
  width: 52px;
  height: 26px;
}
.bandana-center {
  width: 130px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 6px;
  position: relative;
  box-shadow:
    inset 0 -4px 0 rgba(26,39,68,0.12),
    inset 0 2px 0 rgba(255,255,255,0.15);
}

.hero-visual-label {
  text-align: center;
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 15px;
}

/* --- PHILOSOPHY --- */
.philosophy {
  background: var(--navy);
  padding: 96px 64px;
  position: relative;
}
/* Subtle Riviera wave at top */
.philosophy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--azure) 30%, var(--azure-light) 70%, transparent 100%);
  opacity: 0.4;
}
.philosophy-inner {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 80px;
  max-width: 1080px;
  margin: 0 auto;
}
.philosophy-label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--azure);
  padding-top: 8px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.philosophy-label::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--azure);
  opacity: 0.5;
}
.philosophy-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 300;
  line-height: 1.18;
  color: var(--bg);
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}
.philosophy-text p {
  color: #8aa4b5;
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 20px;
  max-width: 580px;
  line-height: 1.85;
}
.philosophy-text p:last-child { margin-bottom: 0; }

/* --- PRODUCTS --- */
.products {
  padding: 96px 64px;
  background: var(--bg-alt);
}
.products-header {
  margin-bottom: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.section-label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--azure);
  margin-bottom: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--azure);
  opacity: 0.6;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 4.5vw, 54px);
  font-weight: 300;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--bg);
  border: 1px solid var(--sand);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.3s ease;
  border-radius: 3px;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(26,39,68,0.09);
  border-color: var(--azure-light);
}
.product-card--featured {
  border-color: var(--azure);
  box-shadow: 0 0 0 1px var(--azure), 0 8px 24px rgba(29,155,181,0.10);
}
.product-card--featured:hover {
  border-color: var(--azure-deep);
  box-shadow: 0 0 0 1px var(--azure), 0 24px 56px rgba(29,155,181,0.14);
}
.product-swatch {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
/* Subtle diagonal line texture on swatches */
.product-swatch::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(26,39,68,0.015) 20px,
    rgba(26,39,68,0.015) 21px
  );
}
.swatch-circle {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  position: relative;
  box-shadow:
    0 12px 40px rgba(26,39,68,0.14),
    0 2px 8px rgba(26,39,68,0.06);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .swatch-circle { transform: scale(1.06); }
.swatch-pierre {
  background: linear-gradient(145deg, #d4e4ec 0%, #8aa4b5 100%);
}
.swatch-argile {
  background: linear-gradient(145deg, #9dd6e3 0%, #1D9BB5 100%);
}
.swatch-sable {
  background: linear-gradient(145deg, #f0f8fc 0%, #c5d9e4 100%);
}
.swatch-detail {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.swatch-detail--azur { background: linear-gradient(90deg, var(--azure-deep), var(--azure)); }
.swatch-detail--pierre { background: linear-gradient(90deg, #8aa4b5, var(--pierre)); }
.swatch-detail--sable { background: linear-gradient(90deg, #c5d9e4, var(--sable)); }

.product-info { padding: 24px 22px 28px; }
.product-tag {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--coral);
  color: var(--white);
  padding: 3px 9px;
  margin-bottom: 14px;
  font-weight: 400;
}
.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.product-desc {
  font-size: 13px;
  color: var(--stone);
  margin-bottom: 12px;
  font-weight: 300;
  line-height: 1.55;
}
.product-tech {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--azure);
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.85;
}

/* --- HOW IT WORKS --- */
.how {
  padding: 96px 64px;
  background: var(--bg);
}
.how-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
  max-width: 1080px;
}
.how-left .section-label { margin-bottom: 16px; }
.how-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 2.8vw, 40px);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.how-steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--sand);
}
.step:last-child { border-bottom: 1px solid var(--sand); }
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  color: var(--azure);
  letter-spacing: 0.12em;
  padding-top: 6px;
  font-weight: 400;
}
.step-content h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.step-content p {
  font-size: 14px;
  color: var(--stone);
  font-weight: 300;
  line-height: 1.7;
}

/* --- CLOSING --- */
.closing {
  padding: 112px 64px;
  background: var(--navy);
  text-align: center;
  position: relative;
}
.closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--azure) 30%, var(--azure-light) 70%, transparent 100%);
  opacity: 0.3;
}
.closing-inner { max-width: 800px; margin: 0 auto; }
.closing-label {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--azure);
  margin-bottom: 36px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.closing-label::before,
.closing-label::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--azure);
  opacity: 0.4;
}
.closing-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 300;
  font-style: italic;
  color: var(--bg);
  line-height: 1.25;
  margin-bottom: 40px;
}
.closing-sub {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 44px;
}
.closing-cta {
  display: inline-block;
  padding: 16px 40px;
  background: var(--azure);
  color: var(--white);
  text-decoration: none;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  font-weight: 400;
  border-radius: 2px;
  transition: background 0.25s ease, transform 0.25s ease;
}
.closing-cta:hover {
  background: var(--azure-deep);
  transform: translateY(-2px);
}

/* --- FOOTER --- */
.footer {
  padding: 56px 64px;
  background: var(--bg);
  border-top: 1px solid var(--sand);
  text-align: center;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.footer-tagline {
  font-size: 11px;
  color: var(--stone);
  letter-spacing: 0.1em;
  margin-bottom: 0;
  font-weight: 300;
}
.footer-copy {
  font-size: 11px;
  color: var(--azure);
  letter-spacing: 0.06em;
  font-weight: 300;
}
.footer-divider {
  width: 1px;
  height: 32px;
  background: var(--sand);
  margin: 0 24px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .navbar { padding: 20px 36px; }
  .navbar::after { left: 36px; right: 36px; }
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 36px 72px;
    min-height: auto;
  }
  .hero::before { left: 36px; right: 36px; }
  .hero-headline { font-size: 52px; }
  .hero-right { order: -1; }
  .philosophy { padding: 72px 36px; }
  .philosophy-inner { grid-template-columns: 1fr; gap: 24px; }
  .products { padding: 72px 36px; }
  .products-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .product-grid { grid-template-columns: 1fr; gap: 18px; }
  .how { padding: 72px 36px; }
  .how-inner { grid-template-columns: 1fr; gap: 36px; }
  .closing { padding: 80px 36px; }
  .footer { padding: 44px 36px; }
  .footer-inner { flex-direction: column; gap: 16px; align-items: center; }
  .footer-left, .footer-right { align-items: center; }
  .footer-divider { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 44px; }
  .hero-sub { font-size: 15px; }
  .section-title { font-size: 34px; }
  .how-title { font-size: 24px; }
  .navbar, .philosophy, .products, .how, .closing, .footer { padding-left: 24px; padding-right: 24px; }
  .navbar::after { left: 24px; right: 24px; }
  .hero::before { left: 24px; right: 24px; }
  .hero { padding: 40px 24px 60px; }
  .philosophy { padding: 60px 24px; }
  .products { padding: 60px 24px; }
  .how { padding: 60px 24px; }
  .closing { padding: 64px 24px; }
  .footer { padding: 36px 24px; }
}