/* ============================================================
   Heading North — pre-launch site styles
   Palette:
     cream bg      #f6f4ef
     tan section   #e9e3d7
     light section #faf8f4
     charcoal      #262625
     gold accent   #b39a6d
     text dark     #2c2b28
     text muted    #6f6b63
   Fonts: Cormorant Garamond (serif headings), Montserrat (sans UI)
   ============================================================ */

:root {
  --cream: #f6f4ef;
  --tan: #e9e3d7;
  --light: #faf8f4;
  --charcoal: #262625;
  --gold: #b39a6d;
  --gold-dark: #9c8458;
  --text: #2c2b28;
  --muted: #6f6b63;
  --line: #d9d2c5;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

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

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; }

/* ---- shared small caps label ---- */
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  text-align: center;
  margin-bottom: 0.8rem;
}
.section-label.gold { color: var(--gold); }

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 3rem;
}

/* ============ HEADER ============ */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.brand-mark { color: var(--charcoal); display: flex; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.main-nav {
  display: flex;
  gap: 38px;
  margin-left: auto;
  margin-right: 40px;
}
.main-nav a {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--gold-dark); }
.header-icons { display: flex; gap: 14px; }
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  display: flex;
  padding: 6px;
  transition: color 0.2s;
}
.icon-btn:hover { color: var(--gold-dark); }

/* ============ HERO ============ */
.hero { background: var(--cream); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  min-height: 560px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 60px 60px 0;
  max-width: 560px;
}
.eyebrow-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border: 1px solid var(--gold);
  padding: 7px 14px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.5rem);
  margin-bottom: 26px;
}
.hero-lede {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 20px;
  max-width: 420px;
}
.hero-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
  max-width: 420px;
}
.hero-image { position: relative; }
.hero-image .img-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* ============ SIGN-UP FORM ============ */
.signup-form {
  display: flex;
  gap: 0;
  max-width: 440px;
  width: 100%;
}
.signup-form input {
  flex: 1;
  padding: 15px 18px;
  border: 1px solid var(--charcoal);
  border-right: none;
  font-family: var(--sans);
  font-size: 0.85rem;
  background: #fff;
  color: var(--text);
  min-width: 0;
}
.signup-form input:focus { outline: 2px solid var(--gold); outline-offset: -2px; }
.signup-form button {
  background: var(--charcoal);
  color: #fff;
  border: 1px solid var(--charcoal);
  padding: 15px 26px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.signup-form button:hover { background: #000; }
.signup-form button:disabled { opacity: 0.6; cursor: default; }

.form-message {
  font-size: 0.82rem;
  margin-top: 14px;
  min-height: 1.2em;
}
.form-message.success { color: var(--gold-dark); }
.form-message.error { color: #b4503f; }
.form-message.on-dark.success { color: var(--gold); }
.form-message.on-dark.error { color: #e2a596; }

/* dark variant (newsletter) */
.signup-form.on-dark { margin: 0 auto; }
.signup-form.on-dark input {
  border: none;
  background: #fff;
}
.signup-form.on-dark button {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #fff;
}
.signup-form.on-dark button:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

/* ============ FEATURES BAR ============ */
.features { background: var(--tan); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 48px 32px;
}
.feature {
  text-align: center;
  padding: 0 24px;
  position: relative;
}
.feature:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(0,0,0,0.12);
}
.feature-icon { color: var(--gold-dark); display: inline-flex; margin-bottom: 14px; }
.feature h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature p { font-size: 0.82rem; color: var(--muted); }

/* ============ COLLECTIONS ============ */
.collections { background: var(--light); padding: 84px 0; }
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.collection-card { text-align: center; }
.collection-card .img-frame { margin-bottom: 22px; }
.collection-card .img-frame.tall { aspect-ratio: 1 / 1; }
.collection-card img { width: 100%; height: 100%; object-fit: cover; }
.collection-card h3 {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.collection-card p { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }

.text-link {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--text);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.text-link:hover { color: var(--gold-dark); border-color: var(--gold-dark); }

/* ============ OUR PROMISE ============ */
.promise {
  position: relative;
  padding: 90px 0;
  background: var(--tan);
  overflow: hidden;
}
.promise-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.promise-bg img { width: 100%; height: 100%; object-fit: cover; }
.promise-inner { position: relative; z-index: 1; }
.promise-card {
  background: var(--cream);
  max-width: 460px;
  padding: 48px 44px;
}
.promise-card .section-label { text-align: left; }
.promise-card h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin-bottom: 20px;
}
.promise-body {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 28px;
}
.btn-dark {
  display: inline-block;
  background: var(--charcoal);
  color: #fff;
  text-decoration: none;
  padding: 14px 30px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.btn-dark:hover { background: #000; }

/* ============ NEWSLETTER ============ */
.newsletter { background: var(--charcoal); color: #fff; padding: 72px 0; }
.newsletter-inner { text-align: center; max-width: 620px; }
.newsletter h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  color: #fff;
  margin-bottom: 16px;
}
.newsletter-sub {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

/* ============ FOOTER ============ */
.site-footer { background: var(--cream); padding: 54px 0; }
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.social-icons { display: flex; gap: 18px; }
.social-icons .icon-btn { color: var(--charcoal); }
.copyright {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ============ IMAGE PLACEHOLDERS (shown only if photo missing) ============ */
.img-frame { background: #e5ded2; position: relative; }
.img-frame.img-missing::after {
  content: attr(data-placeholder);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94917f;
  background: repeating-linear-gradient(45deg, #e9e2d6, #e9e2d6 12px, #e3dccd 12px, #e3dccd 24px);
}

/* ============ CTA BUTTONS (homepage links) ============ */
.cta-button {
  display: inline-block;
  background: var(--charcoal);
  color: #fff;
  text-decoration: none;
  padding: 16px 38px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--charcoal);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.cta-button:hover { background: #000; border-color: #000; }
.cta-button.gold {
  background: var(--gold);
  border-color: var(--gold);
}
.cta-button.gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

/* ============ SIGN-UP PAGE ============ */
.back-link {
  margin-left: auto;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}
.back-link:hover { color: var(--gold-dark); }

.signup-page { background: var(--cream); padding: 56px 0 88px; min-height: 60vh; }
.signup-wrap { max-width: 600px; }

.signup-intro { text-align: center; margin-bottom: 40px; }
.signup-intro .eyebrow-badge { margin: 0 auto 22px; }
.signup-intro h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 16px; }
.signup-intro p { color: var(--muted); font-size: 0.95rem; max-width: 460px; margin: 0 auto; }
.signup-intro strong { color: var(--gold-dark); font-weight: 600; }

.full-form { display: flex; flex-direction: column; gap: 28px; }
.field { display: flex; flex-direction: column; border: none; padding: 0; margin: 0; }
.field > label,
.field > legend {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0;
}
.field-hint { font-size: 0.8rem; color: var(--muted); margin: -4px 0 12px; }

.full-form input[type="text"],
.full-form input[type="email"] {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text);
}
.full-form input[type="text"]:focus,
.full-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
}

/* product checkboxes */
.checkbox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.check-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  transition: border-color 0.2s, background 0.2s;
}
.check-tile:hover { border-color: var(--gold); }
.check-tile input { width: 16px; height: 16px; accent-color: var(--gold-dark); cursor: pointer; }
.check-tile:has(input:checked) { border-color: var(--gold-dark); background: #fbf8f1; }

/* country multi-select */
.country-select { position: relative; }
.country-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.country-chips:empty { margin-bottom: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tan);
  color: var(--text);
  padding: 6px 8px 6px 12px;
  font-size: 0.8rem;
  border-radius: 2px;
}
.chip-remove {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}
.chip-remove:hover { color: var(--text); }

.country-input-wrap { position: relative; }
#country-search {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text);
}
#country-search:focus { outline: none; border-color: var(--gold); }

.country-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 20;
  max-height: 280px;
  overflow-y: auto;
}
.country-option {
  padding: 11px 16px;
  font-size: 0.88rem;
  cursor: pointer;
}
.country-option:hover,
.country-option.active { background: #f3efe6; }

.submit-btn { align-self: flex-start; margin-top: 4px; border: none; }

/* success panel */
.signup-success { text-align: center; padding: 30px 0; }
.success-mark { color: var(--gold-dark); display: inline-flex; margin-bottom: 18px; }
.signup-success h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 14px; }
.signup-success p { color: var(--muted); max-width: 420px; margin: 0 auto 28px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 48px 0; max-width: 100%; }
  .hero-image { min-height: 380px; }
  .hero-image .img-frame { position: relative; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .feature:nth-child(2)::after { display: none; }
  .collection-grid { grid-template-columns: 1fr; gap: 44px; max-width: 420px; margin: 0 auto; }
  .promise-card { max-width: 100%; }
  .main-nav { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 22px; }
  .header-inner { height: 70px; }
  .brand-name { font-size: 1.1rem; }
  .features-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature::after { display: none !important; }
  .signup-form { flex-direction: column; gap: 12px; }
  .signup-form input { border-right: 1px solid var(--charcoal); }
  .signup-form.on-dark input { border: none; }
  .signup-form button { padding: 15px; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .submit-btn { align-self: stretch; text-align: center; }
}
