/* ===== TOKENS ===== */
:root {
  --cream:    #faf6f1;
  --warm-off: #f3ede4;
  --gold:     #c9a96e;
  --gold-dk:  #a07840;
  --dark:     #1a1208;
  --mid:      #4a3520;
  --text:     #2e1f0e;
  --muted:    #8a7060;
  --white:    #ffffff;
  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans:  'Jost', system-ui, sans-serif;
  --radius:   4px;
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--ff-sans); background: var(--cream); color: var(--text); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-label--light { color: var(--gold); }
.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.section-title--light { color: var(--cream); }
.section-title em { font-style: italic; color: var(--gold); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
}
.btn--primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-dk); border-color: var(--gold-dk); }
.btn--outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn--outline:hover { background: var(--dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--full { width: 100%; text-align: center; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 5%;
  background: rgba(250,246,241,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,169,110,0.2);
  transition: box-shadow var(--transition);
}
.nav__logo { font-family: var(--ff-serif); font-size: 1.4rem; font-weight: 400; letter-spacing: 0.05em; color: var(--dark); }
.nav__links { display: flex; gap: 2.5rem; }
.nav__links a { font-size: 0.78rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); transition: color var(--transition); }
.nav__links a:hover { color: var(--gold); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 5% 4rem;
  background: linear-gradient(135deg, #1a1208 0%, #2e1f0e 55%, #4a3520 100%);
  position: relative;
  overflow: hidden;
  gap: 3rem;
}
.hero__bg-text {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--ff-serif); font-size: clamp(8rem, 18vw, 22rem); font-weight: 300;
  color: rgba(255,255,255,0.03); white-space: nowrap; pointer-events: none; user-select: none; letter-spacing: 0.1em;
}
.hero__content { position: relative; z-index: 2; }
.hero__eyebrow { display: block; font-size: 0.7rem; font-weight: 400; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.hero__title { font-family: var(--ff-serif); font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 300; line-height: 1.05; color: var(--cream); margin-bottom: 1.5rem; }
.hero__title em { font-style: italic; color: var(--gold); }
.hero__sub { font-size: 1rem; font-weight: 300; line-height: 1.7; color: rgba(250,246,241,0.7); max-width: 480px; margin-bottom: 2.5rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__image-wrap { position: relative; z-index: 2; display: flex; justify-content: center; }
/* portrait 1080x1920 — tall rounded frame suits model shot */
.hero__img {
  width: 100%; max-width: 380px; height: 560px;
  object-fit: cover; object-position: top center;
  border-radius: 200px 200px 0 0;
  border: 1px solid rgba(201,169,110,0.3);
}
.hero__badge {
  position: absolute; bottom: 2rem; right: 0;
  background: var(--gold); color: var(--white);
  font-family: var(--ff-serif); font-size: 1.1rem; font-weight: 600;
  text-align: center; line-height: 1.2; padding: 1rem 1.25rem;
  border-radius: 50%; width: 90px; height: 90px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero__badge span { font-size: 0.55rem; font-family: var(--ff-sans); letter-spacing: 0.1em; text-transform: uppercase; }

/* ===== MARQUEE ===== */
.marquee { background: var(--gold); overflow: hidden; padding: 0.9rem 0; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 2rem; animation: marquee 22s linear infinite; }
.marquee__track span { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== ABOUT ===== */
.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: center; padding: 7rem 5%; background: var(--cream);
}
.about p { font-size: 1rem; line-height: 1.8; color: var(--muted); margin-bottom: 2rem; }
.about__pillars { display: flex; flex-direction: column; gap: 0.75rem; }
.about__pillars li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--mid); }
.pillar-icon { color: var(--gold); font-size: 0.7rem; }

.about__images { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }
.about__img { width: 100%; object-fit: cover; border-radius: var(--radius); }
/* 940x788 — slightly landscape, stacked with offset for visual interest */
.about__img--top { height: 240px; margin-top: 2.5rem; }
.about__img--bottom { height: 300px; }

/* ===== CAMPAIGN BANNER — full-width landscape image ===== */
.campaign-banner {
  position: relative; overflow: hidden; height: 520px;
}
/* 1920x1080 landscape fills this perfectly */
.campaign-banner__img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
}
.campaign-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,18,8,0.82) 40%, rgba(26,18,8,0.2));
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 8%;
  gap: 1.25rem;
}

/* ===== CAMPAIGN STATS ===== */
.campaign { background: var(--warm-off); padding: 6rem 5%; text-align: center; }
.campaign__inner { max-width: 700px; margin: 0 auto; }
.campaign__desc { font-size: 1.05rem; line-height: 1.8; color: var(--muted); margin-bottom: 4rem; }
.campaign__stats { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.stat { text-align: center; }
.stat__num { display: block; font-family: var(--ff-serif); font-size: 3.5rem; font-weight: 300; color: var(--gold); line-height: 1; }
.stat__label { display: block; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-top: 0.4rem; }

/* ===== GALLERY ===== */
.gallery { padding: 7rem 5%; background: var(--dark); }
.gallery > .section-label { color: var(--gold); }
.gallery > .section-title { color: var(--cream); text-align: left; margin-bottom: 3rem; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 280px 280px;
  gap: 0.75rem;
}

/* landscape 1920x1080 → wide slot row 1 */
.gallery__item--wide  { grid-column: 1 / 8;  grid-row: 1; }
/* portrait 1080x1920 → tall slot spanning both rows */
.gallery__item--tall  { grid-column: 8 / 10; grid-row: 1 / 3; }
/* square 2000x2000 → square slot row 1 */
.gallery__item--square { grid-column: 10 / 13; grid-row: 1; }
/* landscape 1920x1080 → wide slot row 2 */
.gallery__item--wide2  { grid-column: 1 / 6;  grid-row: 2; }
/* portrait 1080x1920 → tall slot row 2 (already covered by tall) */
.gallery__item--tall2  { grid-column: 10 / 13; grid-row: 2; }
/* square-ish 940x788 → remaining slot row 2 */
.gallery__item--sq2    { grid-column: 6 / 8;  grid-row: 2; }

.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--mid); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__tag {
  position: absolute; bottom: 0.75rem; left: 0.75rem;
  background: rgba(201,169,110,0.9); color: var(--white);
  font-size: 0.65rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 2px;
}

/* ===== SHADE FINDER ===== */
.shade-finder {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  min-height: 700px; background: var(--cream);
}
.shade-finder__left { padding: 7rem 5%; display: flex; flex-direction: column; justify-content: center; }
.shade-finder__swatches { display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.shade-finder__swatches span { width: 34px; height: 34px; border-radius: 50%; display: block; border: 2px solid rgba(255,255,255,0.6); box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.shade-finder__left p { font-size: 1rem; line-height: 1.8; color: var(--muted); margin-bottom: 0; }

.shade-form { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.shade-form__group { display: flex; flex-direction: column; gap: 0.4rem; }
.shade-form__group label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.shade-form__group select {
  appearance: none; background: var(--white);
  border: 1.5px solid rgba(201,169,110,0.35); border-radius: var(--radius);
  padding: 0.85rem 1rem; font-family: var(--ff-sans); font-size: 0.9rem; color: var(--text);
  cursor: pointer; transition: border-color var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a96e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.shade-form__group select:focus { outline: none; border-color: var(--gold); }

/* right side — portrait image placeholder, replaced by result card on submit */
.shade-finder__right { position: relative; overflow: hidden; }
.shade-finder__placeholder { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

.result-card {
  position: absolute; inset: 0;
  background: var(--dark); color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 3rem; text-align: center;
  animation: fadeUp 0.4s ease;
}
.result-card__swatch { width: 90px; height: 90px; border-radius: 50%; margin-bottom: 1.5rem; border: 3px solid var(--gold); }
.result-card h3 { font-family: var(--ff-serif); font-size: 2rem; font-weight: 300; color: var(--gold); margin-bottom: 0.5rem; }
.result-card p { font-size: 0.9rem; color: rgba(250,246,241,0.65); line-height: 1.6; margin-bottom: 1.5rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: var(--cream); padding: 4rem 5% 2rem; }
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(201,169,110,0.2); margin-bottom: 2rem;
}
.footer__logo { display: block; font-family: var(--ff-serif); font-size: 1.6rem; font-weight: 300; color: var(--gold); margin-bottom: 0.75rem; }
.footer__brand p { font-size: 0.85rem; line-height: 1.7; color: rgba(250,246,241,0.5); }
.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links h4 { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.footer__links a { font-size: 0.85rem; color: rgba(250,246,241,0.55); transition: color var(--transition); }
.footer__links a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; font-size: 0.72rem; color: rgba(250,246,241,0.3); letter-spacing: 0.05em; flex-wrap: wrap; gap: 0.5rem; }

/* ===== FADE-IN ===== */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery__item--wide, .gallery__item--wide2 { grid-column: span 2; }
  .gallery__item--tall, .gallery__item--tall2 { grid-column: span 1; grid-row: auto; }
  .gallery__item--square, .gallery__item--sq2 { grid-column: span 1; }
  .gallery__item img { height: 260px; }
  .gallery__item--tall img, .gallery__item--tall2 img { height: 380px; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 7rem; }
  .hero__sub { margin: 0 auto 2.5rem; }
  .hero__actions { justify-content: center; }
  .hero__image-wrap { order: -1; }
  .hero__img { max-width: 280px; height: 400px; }
  .about { grid-template-columns: 1fr; gap: 3rem; }
  .about__images { grid-template-columns: 1fr 1fr; }
  .campaign-banner { height: 380px; }
  .shade-finder { grid-template-columns: 1fr; }
  .shade-finder__right { height: 400px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--wide, .gallery__item--wide2, .gallery__item--tall, .gallery__item--tall2, .gallery__item--square, .gallery__item--sq2 { grid-column: 1; grid-row: auto; }
  .gallery__item img, .gallery__item--tall img, .gallery__item--tall2 img { height: 240px; }
  .campaign__stats { gap: 2rem; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: 1; }
}
