/* ============================
   SWELL — Lifestyle Brand
   ============================ */

:root {
  --bg: #F5EFE6;
  --fg: #2A1F1A;
  --accent: #C4785A;
  --accent-light: #D4937A;
  --sand: #E8D5C4;
  --muted: #8B7355;
  --cream: #FAF7F2;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- HERO / MANIFESTO ---- */
.manifesto {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 6rem 8vw 4rem;
  position: relative;
  overflow: hidden;
}

.manifesto__inner {
  max-width: 640px;
}

.manifesto__eyebrow {
  margin-bottom: 2.5rem;
}

.manifesto__tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  display: inline-block;
}

.manifesto__headline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(5rem, 12vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
}

.manifesto__line--1 {
  color: var(--fg);
}
.manifesto__line--2 {
  color: var(--accent);
  font-style: italic;
}
.manifesto__line--3 {
  color: var(--muted);
  font-size: 0.7em;
  padding-left: 1.5rem;
}

.manifesto__sub {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 3rem;
}

.manifesto__scroll {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Decorative right column */
.manifesto__deco {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding-left: 4rem;
}

.manifesto__circle {
  border-radius: 50%;
  opacity: 0.12;
}

.manifesto__circle--1 {
  width: 200px;
  height: 200px;
  background: var(--accent);
}

.manifesto__circle--2 {
  width: 100px;
  height: 100px;
  background: var(--sand);
}

.manifesto__line-accent {
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

/* ---- SECTION LABEL ---- */
.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

/* ---- AESTHETIC ---- */
.aesthetic {
  padding: 8rem 8vw;
  background: var(--cream);
}

.aesthetic__header {
  margin-bottom: 5rem;
  max-width: 560px;
}

.aesthetic__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.aesthetic__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.aesthetic__item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.aesthetic__item--large { }

.aesthetic__texture {
  width: 100%;
  height: 380px;
}

.aesthetic__item--large .aesthetic__texture {
  height: 520px;
}

.aesthetic__texture--warm {
  background: linear-gradient(145deg, #C4785A 0%, #E8B89A 50%, #C4785A 100%);
  position: relative;
}

.aesthetic__texture--warm::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,0.03) 10px,
    rgba(255,255,255,0.03) 11px
  );
}

.aesthetic__texture--sand {
  background: linear-gradient(160deg, #E8D5C4 0%, #D4BC9F 100%);
  position: relative;
}

.aesthetic__texture--sand::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(196,120,90,0.15) 0%, transparent 60%);
}

.aesthetic__texture--terracotta {
  background: linear-gradient(135deg, #8B7355 0%, #C4785A 60%, #D4937A 100%);
  position: relative;
}

.aesthetic__texture--terracotta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(0,0,0,0.08) 0%, transparent 50%);
}

.aesthetic__caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
}

.aesthetic__caption span {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
}

.aesthetic__manifesto blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--fg);
  max-width: 700px;
  padding-left: 2rem;
  border-left: 2px solid var(--accent);
}

/* ---- PRODUCTS ---- */
.products {
  padding: 8rem 8vw;
  background: var(--bg);
}

.products__header {
  margin-bottom: 5rem;
  max-width: 580px;
}

.products__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1rem;
}

.products__sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  max-width: 480px;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.product-card {
  background: var(--cream);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--sand);
  transition: border-color 0.2s, transform 0.2s;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.product-card__visual {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-card__icon {
  color: var(--accent);
  opacity: 0.7;
}

.product-card__tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--sand);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
}

.product-card__name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.product-card__desc {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--muted);
}

.products__platform {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sand);
}

.products__platform-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.products__platform-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.platform-badge {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg);
  background: var(--sand);
  padding: 0.3rem 0.9rem;
  border-radius: 3px;
}

.platform-sep {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---- PHILOSOPHY ---- */
.philosophy {
  padding: 8rem 8vw;
  background: var(--cream);
}

.philosophy__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
  margin-bottom: 5rem;
}

.philosophy__left {}

.philosophy__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--fg);
}

.philosophy__pillars {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.pillar {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  align-items: start;
}

.pillar__number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--sand);
  line-height: 1;
}

.pillar__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.pillar__body {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--muted);
}

.philosophy__stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 4rem;
  border-top: 1px solid var(--sand);
}

.philosophy__stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.philosophy__stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}

.philosophy__stat-label {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
}

/* ---- CLOSING ---- */
.closing {
  padding: 10rem 8vw;
  background: var(--fg);
  text-align: center;
}

.closing__inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing__rule {
  width: 60px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 4rem;
}

.closing__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 2.5rem;
}

.closing__headline em {
  color: var(--accent-light);
}

.closing__detail {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.closing__detail p {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245,239,230,0.6);
  line-height: 1.65;
}

/* ---- FOOTER ---- */
.footer {
  padding: 3rem 8vw;
  background: var(--fg);
  border-top: 1px solid rgba(232,213,196,0.1);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.05em;
}

.footer__tagline {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(245,239,230,0.4);
  margin-top: 0.4rem;
}

.footer__meta {
  text-align: right;
}

.footer__meta p {
  font-size: 0.75rem;
  color: rgba(245,239,230,0.35);
  line-height: 1.8;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .manifesto {
    grid-template-columns: 1fr;
    padding: 4rem 6vw;
  }
  .manifesto__deco { display: none; }

  .aesthetic__grid {
    grid-template-columns: 1fr 1fr;
  }
  .aesthetic__item--large { grid-column: span 2; }

  .products__grid {
    grid-template-columns: 1fr;
  }

  .philosophy__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .philosophy__stat-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__inner {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  .footer__meta { text-align: left; }
}

@media (max-width: 600px) {
  .aesthetic__grid {
    grid-template-columns: 1fr;
  }
  .aesthetic__item--large { grid-column: span 1; }
  .aesthetic__texture { height: 260px; }
  .aesthetic__item--large .aesthetic__texture { height: 320px; }

  .manifesto__headline { font-size: clamp(4rem, 18vw, 6rem); }

  .manifesto { padding: 3rem 5vw; }
  .aesthetic, .products, .philosophy { padding: 5rem 5vw; }
  .closing { padding: 6rem 5vw; }

  .pillar { grid-template-columns: 2rem 1fr; }
}

/* ---- STORE NAV ---- */
.store-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,239,230,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand);
}

.store-nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.9rem 8vw;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.store-nav__logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--fg);
  letter-spacing: 0.05em;
  text-decoration: none;
  flex-shrink: 0;
}

.store-nav__links {
  display: flex;
  gap: 1.5rem;
  flex: 1;
}

.store-nav__link {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}

.store-nav__link:hover { color: var(--fg); }

.store-nav__cart {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--fg);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  flex-shrink: 0;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--sand);
  border-radius: 4px;
  transition: border-color 0.15s;
}

.store-nav__cart:hover { border-color: var(--accent); color: var(--accent); }

/* ---- PRODUCT CARD (store listing) ---- */
a.product-card {
  background: var(--cream);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  border: 1px solid var(--sand);
  text-decoration: none;
  display: block;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

a.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(196,120,90,0.1);
}

.product-card__visual {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
}

.product-card__icon { color: var(--accent); opacity: 0.6; }

.product-card__tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.2rem 0.65rem;
  border-radius: 2rem;
}

.product-card__name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.4rem;
}

.product-card__desc {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.product-card__price {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
}

.price__compare {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

a.platform-link {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.15s;
}

a.platform-link:hover { color: var(--accent); }