:root {
  --purple: #5C2D91;
  --purple-light: #EDE7F6;
  --green: #1B6B1B;
  --green-light: #E8F5E9;
  --pink: #F4C3E7;
  --sage: #DDEFD9;
  --ivory: #FAF8F5;
  --ink: #1a1a1a;
  --muted: #555;
  --white: #fff;
  --focus: #FFBF47;
  --max: 1180px;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: 'Atkinson Hyperlegible', Arial, sans-serif; background: var(--white); color: var(--ink); line-height: 1.6; }
h1, h2, h3, h4, h5, h6, .hero__line, .site-nav a, .btn, .kicker, .value-item strong, .collection-card__body h3, .footer-links strong { font-family: 'Outfit', Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-underline-offset: .18em; }
a:focus-visible, button:focus-visible { outline: 4px solid var(--focus); outline-offset: 4px; }

/* Skip link */
.skip-link { position: absolute; left: -999px; top: 1rem; background: var(--ink); color: white; padding: .75rem 1rem; z-index: 99; }
.skip-link:focus { left: 1rem; }

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: white;
  border-bottom: 2px solid #eee;
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand img { width: 80px; }
.site-nav { display: flex; gap: .25rem; flex-wrap: wrap; }
.site-nav a {
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  color: var(--ink);
  padding: .5rem .75rem;
  border-radius: 999px;
}
.site-nav a:hover { color: var(--purple); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-social { display: flex; gap: .5rem; }
.header-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--purple); transition: background .15s; }
.header-social a:hover { background: var(--purple-light); }
.btn-access {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 2px solid var(--purple);
  border-radius: 999px;
  padding: .5rem 1rem;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  color: var(--purple);
  white-space: nowrap;
}
.btn-access:hover { background: var(--purple-light); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: opacity .15s;
}
.btn:hover { opacity: .88; }
.btn--purple { background: var(--purple); color: white; }
.btn--green { background: var(--green); color: white; }
.btn--pink { background: var(--pink); color: var(--ink); }
.btn--green-outline { background: white; border: 2px solid var(--green); color: var(--green); font-weight: 800; }
.btn--green-outline:hover { background: var(--green-light); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  background: var(--purple-light);
}
.hero__text {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.hero__line {
  display: block;
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.04em;
}
.hero__line--purple { color: var(--purple); }
.hero__line--green { color: var(--green); }
.hero__line--dark { color: var(--ink); }
.hero__lede { font-size: clamp(1rem, 1.8vw, 1.2rem); color: var(--muted); max-width: 42ch; margin: 0; }
.button-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero__tagline { font-size: .9rem; color: var(--muted); margin: 0; }
.hero__image { overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero__image img { width: 75%; height: 100%; object-fit: cover; }
.hero__image-placeholder { width: 75%; height: 100%; background: var(--purple); min-height: 400px; }

/* Values bar */
.values { background: white; border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 2.5rem clamp(1rem, 4vw, 3rem); }
.values__inner { max-width: var(--max); margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.value-icon { font-size: 3.5rem; display: block; margin-bottom: .75rem; }
.value-item strong { display: block; color: var(--purple); font-size: 1rem; margin-bottom: .35rem; }
.value-item p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Collections */
.collections { max-width: var(--max); margin: auto; padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem); }
.collections h2 { text-align: center; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900; color: var(--purple); margin-bottom: 2rem; }
.collections__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.collection-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.08); display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem; }
.collection-card__img { width: 180px; flex-shrink: 0; height: 180px; border-radius: 8px; background: #f5f5f5; object-fit: contain; }
.collection-card__img--tshirt { background: #111 url("") center/cover; }
.collection-card__img--mobility { background: var(--purple-light) url("") center/cover; }
.collection-card__body h3 { font-size: 1.4rem; font-weight: 900; color: var(--purple); margin: 0 0 .5rem; }
.collection-card__body p { color: var(--muted); margin: 0 0 1rem; }

/* About + Promise */
.about-promise { display: grid; grid-template-columns: 1fr 1fr; }
.about-block { background: var(--purple); color: white; padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem); }
.about-block h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900; margin: 0 0 1rem; }
.about-block .rich-text { font-size: 1.05rem; max-width: 46ch; margin-bottom: 1.5rem; }
.promise-block { background: var(--sage); color: var(--ink); padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem); }
.promise-block h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900; color: var(--green); margin: 0 0 1rem; }
.promise-block .rich-text { font-size: 1.05rem; max-width: 46ch; margin-bottom: 1.5rem; }

/* Page hero (inner pages) */
.page-hero { background: var(--purple); color: white; padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem); }
.page-hero__inner { max-width: 100%; margin: auto; }
.page-hero .kicker { text-transform: uppercase; letter-spacing: .08em; font-weight: 900; color: var(--pink); margin: 0 0 .5rem; font-size: .85rem; }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); line-height: .95; font-weight: 900; letter-spacing: -.04em; margin: 0 0 1rem; }
.page-hero .lede { font-size: 1.15rem; }
.content-body { padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem); }
.content-body--alt { background: var(--sage); }
.content-body__inner { max-width: var(--max); margin: auto; }
.content-body__inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; margin-bottom: 1rem; }
.rich-text { line-height: 1.7; }

/* Shop cards */
.cards { max-width: var(--max); margin: auto; padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.section-heading { grid-column: 1 / -1; }
.section-heading h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900; color: var(--purple); }
.feature-card { min-height: 240px; background: white; border: 3px solid var(--ink); border-radius: var(--radius); padding: 1.5rem; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; box-shadow: 6px 6px 0 var(--sage); transition: transform .15s, box-shadow .15s; }
.feature-card:hover { box-shadow: 6px 6px 0 var(--pink); transform: translateY(-3px); }
.feature-card span { text-transform: uppercase; font-weight: 900; color: var(--green); letter-spacing: .06em; font-size: .85rem; }
.feature-card strong { font-size: clamp(1.3rem, 2.5vw, 1.8rem); line-height: 1.1; }

/* Footer */
.site-footer { background: white; border-top: 2px solid #eee; }
.footer-newsletter { background: var(--purple-light); padding: 2rem clamp(1rem, 4vw, 3rem); }
.footer-newsletter__inner { max-width: var(--max); margin: auto; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer-newsletter__inner strong { font-size: 1.1rem; color: var(--ink); }
.footer-newsletter__inner p { margin: .25rem 0 0; color: var(--muted); font-size: .9rem; }
.newsletter-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.newsletter-form input { padding: .65rem 1rem; border: 2px solid #ccc; border-radius: 999px; font-size: .95rem; min-width: 220px; }
.newsletter-form input:focus { outline: 3px solid var(--focus); border-color: var(--purple); }
.social-links { display: flex; gap: .75rem; margin-left: auto; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--purple); color: white; text-decoration: none; font-size: 1.1rem; }
.footer-main { max-width: var(--max); margin: auto; padding: 2.5rem clamp(1rem, 4vw, 3rem); display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-brand { max-width: 220px; }
.footer-brand img { margin-bottom: .75rem; }
.footer-brand p { font-size: .9rem; color: var(--muted); margin: 0; }
.footer-links { display: flex; gap: 3rem; flex-wrap: wrap; flex: 1; }
.footer-links > div { display: flex; flex-direction: column; gap: .4rem; min-width: 100px; }
.footer-links strong { font-size: .9rem; color: var(--ink); margin-bottom: .25rem; }
.footer-links a { font-size: .88rem; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--purple); }
.footer-bottom { border-top: 1px solid #eee; padding: 1rem clamp(1rem, 4vw, 3rem); text-align: center; color: var(--muted); font-size: .85rem; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row--two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-weight: 700; font-size: .95rem; font-family: 'Outfit', sans-serif; }
.form-group label span { color: var(--purple); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Atkinson Hyperlegible', Arial, sans-serif;
  color: var(--ink);
  background: white;
  transition: border-color .15s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--purple); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.form-error { color: #c0392b; font-size: .88rem; margin: 0; }
.thank-you-box { max-width: 600px; background: var(--purple-light); border-radius: var(--radius); padding: 2.5rem; }
.thank-you-box .rich-text { font-size: 1.1rem; margin-bottom: 1.5rem; }
@media (max-width: 600px) { .form-row--two { grid-template-columns: 1fr; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; }
.contact-main p { font-size: 1.1rem; max-width: 60ch; }
.contact-list { padding-left: 1.25rem; line-height: 2.2; font-size: 1.05rem; }
.contact-list li::marker { color: var(--green); }
.contact-sidebar h2 { font-size: 1.8rem; font-weight: 900; color: var(--purple); margin-bottom: 1.5rem; }
.contact-info-block { margin-bottom: 1.75rem; }
.contact-info-block h3 { font-size: 1rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 .35rem; }
.contact-info-block a { font-size: 1.15rem; font-weight: 700; color: var(--purple); }
.contact-info-block p { margin: 0; font-size: 1.05rem; }
.contact-info-block--note { background: var(--purple-light); border-radius: var(--radius); padding: 1rem 1.25rem; }
.contact-info-block--note p { color: var(--purple); font-weight: 700; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* Product cards (index page) */
.product-card { display: flex; flex-direction: column; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.08); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.product-card img { width: 100%; height: 240px; object-fit: cover; }
.product-card__placeholder { width: 100%; height: 240px; background: var(--purple-light); }
.product-card__body { padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; }
.product-card__body span { font-weight: 700; font-size: 1.05rem; font-family: 'Outfit', sans-serif; }
.product-card__body strong { color: var(--green); font-size: 1.1rem; }

/* Product detail page */
.product-detail { max-width: var(--max); margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem); align-items: start; }
.product-detail__image img { width: 100%; border-radius: var(--radius); box-shadow: 0 4px 24px rgba(0,0,0,.1); object-fit: cover; }
.product-detail__body { display: flex; flex-direction: column; gap: 1rem; }
.product-detail__body h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin: 0; }
.product-price { font-size: 1.8rem; font-weight: 900; color: var(--green); margin: 0; font-family: 'Outfit', sans-serif; }

@media (max-width: 700px) {
  .product-detail { grid-template-columns: 1fr; }
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  width: 40px;
  height: 40px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__text { order: 1; }
  .hero__image { order: 2; min-height: 280px; max-height: 360px; }
  .values__inner { grid-template-columns: repeat(2, 1fr); }
  .collections__grid { grid-template-columns: 1fr; }
  .about-promise { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }

  /* Hide desktop nav, show hamburger */
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    z-index: 100;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: .85rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.05rem;
    border-radius: 0;
  }
  .site-nav a:last-child { border-bottom: none; }

  .hamburger { display: flex; }
  .btn-access { display: none; }
  .site-header { position: relative; }
}

@media (max-width: 600px) {
  .values__inner { grid-template-columns: 1fr 1fr; }
  .footer-newsletter__inner { flex-direction: column; align-items: flex-start; }
  .social-links { margin-left: 0; }
  .collection-card { flex-direction: column; }
  .collection-card__img { width: 100%; height: 220px; object-fit: contain; background: #f5f5f5; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
  .hero__line { font-size: clamp(3rem, 13vw, 4.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; transition: none !important; animation: none !important; }
}
