/* ============================================================
   CROWNSWELL — Premium hair care
   ============================================================ */

:root {
  --navy: #1F3A5F;
  --navy-dark: #14253D;
  --gold: #C9A366;
  --gold-light: #E8C88A;
  --gold-dark: #A88548;
  --cream: #F5F1EA;
  --cream-warm: #FAF7F1;
  --text: #1F1F1F;
  --grey: #555555;
  --grey-light: #E5E5E5;
  --white: #FFFFFF;
  --shadow: 0 8px 30px rgba(31, 58, 95, 0.08);
  --shadow-strong: 0 20px 60px rgba(31, 58, 95, 0.12);
  --radius: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-dark); }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }

p { margin-bottom: 1rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}
.eyebrow.center { display: block; text-align: center; }
.eyebrow.light { color: var(--gold-light); }

.center { text-align: center; }
.light { color: var(--white); }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announce {
  background: var(--navy);
  color: var(--gold-light);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--gold-dark);
  color: var(--white) !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--grey-light);
    box-shadow: var(--shadow);
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-align: center;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--navy);
  color: var(--white) !important;
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white) !important;
}
.btn-ghost {
  background: transparent;
  color: var(--navy) !important;
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--white) !important;
}
.btn-full { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 100%);
  padding: 80px 0 100px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text h1 em {
  color: var(--gold-dark);
  font-style: italic;
  font-weight: 500;
}
.lead {
  font-size: 1.15rem;
  color: var(--grey);
  margin: 24px 0 32px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--grey);
  font-size: 0.9rem;
}
.hero-img img {
  border-radius: 12px;
  box-shadow: var(--shadow-strong);
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 50px 0 70px; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 90px 0;
}
.section-light { background: var(--cream); }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-gold {
  background: linear-gradient(135deg, var(--cream-warm) 0%, var(--cream) 100%);
}

@media (max-width: 880px) {
  .section { padding: 60px 0; }
}

/* ============================================================
   PRODUCT
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.product-img img {
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.product-list {
  list-style: none;
  margin-top: 20px;
}
.product-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-light);
  font-size: 1rem;
}
.product-list li:last-child { border: none; }

@media (max-width: 880px) {
  .product-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.feature {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--grey-light);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature p {
  color: var(--grey);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 880px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   WHO IT'S FOR
   ============================================================ */
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.who-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 163, 102, 0.3);
  padding: 30px 24px;
  border-radius: var(--radius);
}
.who-card h3 { color: var(--gold-light); margin-bottom: 12px; }
.who-card p { color: rgba(255, 255, 255, 0.85); margin: 0; font-size: 0.95rem; }

@media (max-width: 880px) {
  .who-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .who-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PRE-ORDER
   ============================================================ */
.preorder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.preorder-list {
  list-style: none;
  margin-top: 24px;
}
.preorder-list li {
  padding: 8px 0;
  font-size: 1.05rem;
}
.preorder-card {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--grey-light);
}
.preorder-card h3 {
  text-align: center;
  margin-bottom: 24px;
}
.preorder-card label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}
.preorder-card input,
.preorder-card select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  margin-top: 4px;
  transition: border-color 0.2s;
}
.preorder-card input:focus,
.preorder-card select:focus {
  outline: none;
  border-color: var(--navy);
}
.form-fine {
  font-size: 0.78rem;
  color: var(--grey);
  margin-top: 14px;
  margin-bottom: 0;
}
.success-msg {
  text-align: center;
  padding: 30px 20px;
}
.success-msg h3 {
  color: #2E7D32;
  margin-bottom: 10px;
}

@media (max-width: 880px) {
  .preorder-grid { grid-template-columns: 1fr; gap: 40px; }
  .preorder-card { padding: 28px 22px; }
}

/* ============================================================
   STORY
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.story-quote {
  background: var(--navy);
  color: var(--white);
  padding: 50px 40px;
  border-radius: 12px;
  text-align: center;
}
.story-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}
.story-quote blockquote p {
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 20px;
  line-height: 1.4;
}
.story-quote cite {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   INCLUDED
   ============================================================ */
.included-img {
  margin: 40px 0;
  text-align: center;
}
.included-img img {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.included-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
  max-width: 900px;
  margin: 0 auto;
}
.included-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--grey-light);
  font-size: 0.95rem;
}

@media (max-width: 880px) {
  .included-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .included-list { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 40px auto 0;
}
.faq-list details {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  margin-bottom: 14px;
  padding: 0;
  transition: border-color 0.2s;
}
.faq-list details[open] { border-color: var(--gold); }
.faq-list summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
  list-style: none;
  position: relative;
  padding-right: 50px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--gold-dark);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p {
  padding: 0 24px 20px;
  color: var(--grey);
  margin: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-grid h3 { color: var(--gold-light); margin-bottom: 20px; }
.contact-info {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.9);
}
.contact-info strong { color: var(--gold-light); }
.contact-info a { color: var(--white); }
.contact-info a:hover { color: var(--gold-light); }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo {
  width: 90px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 8px;
}
.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-light);
}
.footer-links h4 {
  color: var(--gold-light);
  margin-bottom: 14px;
  font-size: 0.8rem;
}
.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 880px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 24px;
}
.legal h1 { margin-bottom: 30px; }
.legal h2 { margin-top: 40px; font-size: 1.4rem; }
.legal p, .legal li {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}
.legal ul { margin-left: 24px; margin-bottom: 16px; }
.legal a.back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--gold-dark);
}
