/*
Theme Name: ADMIRJÉÉ
Theme URI: https://admirjee.com
Author: ADMIRJÉÉ
Author URI: https://admirjee.com
Description: Atelier Noir — a cinematic couture launch theme for the ADMIRJÉÉ prom & bridal house. Includes a home / launch page and an early-access sign-up page, with a live countdown to the February 2027 opening.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: admirjee
*/

/* =====================================================================
   ADMIRJÉÉ — "Atelier Noir"
   Warm obsidian canvas, champagne-gold accent.
   Cormorant Garamond display serif + Jost geometric sans.
   ===================================================================== */

:root {
  --background: #221c15;      /* warm obsidian */
  --void: #191410;           /* deeper section bg */
  --gold: #e6c884;           /* signature champagne gold */
  --gold-strong: #efd39a;
  --ivory: #ece5da;          /* warm ivory text */
  --taupe: #a1968a;          /* muted support text */
  --border: rgba(230, 200, 132, 0.28);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
  line-height: 1.05;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px) {
  .container { padding: 0 2.5rem; }
}

/* --- Shared bits --- */
.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--gold);
}
.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230,200,132,0.5), transparent);
  border: 0;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gold);
  color: #201a12;
  padding: 1rem 2.25rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  border: 0;
  cursor: pointer;
  transition: background 0.3s var(--ease-out), transform 0.15s var(--ease-out);
}
.btn-gold:hover { background: var(--gold-strong); }
.btn-gold:active { transform: scale(0.98); }
.btn-gold .arrow { transition: transform 0.3s var(--ease-out); }
.btn-gold:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--taupe);
  transition: color 0.3s var(--ease-out);
}
.btn-ghost:hover { color: var(--ivory); }

/* --- Header --- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(20, 16, 12, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.28em;
  color: var(--ivory);
}
.wordmark img { height: 1.6rem; width: auto; opacity: 0.9; }
.main-nav { display: none; gap: 2.5rem; }
.main-nav a {
  position: relative;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--taupe);
  transition: color 0.3s var(--ease-out);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -0.4rem;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.main-nav a:hover { color: var(--ivory); }
.main-nav a:hover::after { width: 100%; }
.nav-cta {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--gold);
  border: 1px solid rgba(230,200,132,0.5);
  padding: 0.6rem 0.9rem;
  white-space: nowrap;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.nav-cta:hover { background: var(--gold); color: #201a12; }
@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-cta { font-size: 0.72rem; padding: 0.65rem 1.25rem; }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
  animation: slow-zoom 14s ease-in-out infinite alternate;
}
.hero__scrim-1 {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(19,15,11,0.96), rgba(20,16,12,0.72) 45%, transparent);
}
.hero__scrim-2 {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(18,14,10,0.85), transparent 45%, rgba(19,15,11,0.55));
}
.hero .container { position: relative; z-index: 2; padding-top: 6rem; }
.hero__inner { max-width: 640px; }
.hero h1 {
  font-size: clamp(3.5rem, 12vw, 7rem);
  color: var(--ivory);
  margin-top: 1.5rem;
  line-height: 0.95;
}
.hero__lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  color: rgba(236,229,218,0.86);
  margin-top: 1.5rem;
  max-width: 32rem;
}
.hero__lede .gold { color: var(--gold); font-style: normal; }
.hero__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem;
  margin-top: 2.5rem;
}
.scroll-cue {
  position: absolute; left: 0; right: 0; bottom: 2rem; z-index: 2;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: rgba(161,150,138,0.7);
}

@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }

/* --- Sections --- */
.section { padding: 6rem 0; }
@media (min-width: 768px) { .section { padding: 8rem 0; } }
.bg-void { background: var(--void); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Countdown */
.countdown { display: flex; align-items: stretch; justify-content: center; }
.countdown__cell {
  display: flex; flex-direction: column; align-items: center;
  min-width: 64px; padding: 0 0.75rem;
}
.countdown__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  color: var(--ivory);
  font-variant-numeric: tabular-nums;
}
.countdown__label { margin-top: 0.5rem; }
.countdown__sep { width: 1px; background: var(--border); margin: 0.5rem 0; align-self: stretch; }
@media (min-width: 768px) {
  .countdown__cell { min-width: 96px; padding: 0 1.5rem; }
}

/* Atelier story */
.story-grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .story-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.story-figure { position: relative; overflow: hidden; }
.story-figure img { width: 100%; height: 520px; object-fit: cover; }
@media (min-width: 768px) { .story-figure img { height: 620px; } }
.story-figure__accent {
  position: absolute; right: -1rem; bottom: -1.5rem;
  height: 6rem; width: 6rem; border: 1px solid rgba(230,200,132,0.4);
  display: none;
}
@media (min-width: 768px) { .story-figure__accent { display: block; } }
.section h2 { font-size: clamp(2.25rem, 6vw, 3.75rem); color: var(--ivory); }
.section p.lead { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.6; color: rgba(236,229,218,0.8); margin-top: 2rem; }
.section p.muted { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.6; color: var(--taupe); margin-top: 1.25rem; }
.rule-16 { height: 1px; width: 4rem; background: var(--gold); margin-top: 1.5rem; }

/* Collections */
.coll-head { max-width: 40rem; margin: 0 auto; text-align: center; }
.coll-grid { display: grid; gap: 2rem; margin-top: 4rem; }
@media (min-width: 768px) { .coll-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.coll-card { position: relative; overflow: hidden; }
.coll-card img { width: 100%; height: 440px; object-fit: cover; transition: transform 1.2s var(--ease-out); }
@media (min-width: 768px) { .coll-card img { height: 560px; } }
.coll-card:hover img { transform: scale(1.05); }
.coll-card__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,13,10,0.92), rgba(18,14,10,0.2) 55%, transparent); }
.coll-card__body { position: absolute; inset: auto 0 0 0; padding: 2rem; }
@media (min-width: 768px) { .coll-card__body { padding: 2.5rem; } }
.coll-card__body h3 { font-size: 1.9rem; color: var(--ivory); margin-top: 0.75rem; }
@media (min-width: 768px) { .coll-card__body h3 { font-size: 2.25rem; } }
.coll-card__body p { font-family: var(--font-display); font-size: 1.1rem; color: rgba(236,229,218,0.75); max-width: 24rem; margin-top: 0.75rem; }

/* Closing signup */
.signup-head { max-width: 36rem; margin: 0 auto; text-align: center; }
.signup-wrap { max-width: 28rem; margin: 3rem auto 0; }

/* Forms */
.atelier-field { display: block; margin-bottom: 1.25rem; }
.atelier-field .eyebrow { display: block; margin-bottom: 0.5rem; font-size: 0.62rem; }
.atelier-input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ivory);
  outline: none;
  transition: border-color 0.3s var(--ease-out);
}
.atelier-input::placeholder { color: #7d7264; }
.atelier-input:focus { border-color: var(--gold); }
.atelier-input option { background: #241d16; color: var(--ivory); }
.form-note { text-align: center; font-family: var(--font-sans); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(161,150,138,0.7); margin-top: 1rem; }
.form-success { text-align: center; }
.form-success .check {
  margin: 0 auto; height: 3.5rem; width: 3.5rem; border-radius: 50%;
  border: 1px solid rgba(230,200,132,0.5);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  font-size: 1.5rem;
}
.form-success h3 { font-size: 1.9rem; color: var(--ivory); margin-top: 1.5rem; }
.form-success p { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--taupe); max-width: 28rem; margin: 0.75rem auto 0; }

/* Signup page split layout */
.signup-page { display: grid; min-height: 100vh; }
@media (min-width: 1024px) { .signup-page { grid-template-columns: 1fr 1.05fr; } }
.signup-visual { position: relative; overflow: hidden; display: none; }
@media (min-width: 1024px) { .signup-visual { display: block; } }
.signup-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: slow-zoom 14s ease-in-out infinite alternate; }
.signup-visual__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,14,10,0.9), rgba(19,15,11,0.4) 55%, rgba(19,15,11,0.55)); }
.signup-visual__quote { position: absolute; inset: auto 0 0 0; padding: 3rem; }
@media (min-width: 1280px) { .signup-visual__quote { padding: 4rem; } }
.signup-visual__quote p { font-family: var(--font-display); font-style: italic; font-size: 1.9rem; line-height: 1.2; color: var(--ivory); max-width: 28rem; margin-top: 1.25rem; }
.signup-form-side { position: relative; display: flex; align-items: center; background: var(--void); }
.signup-form-inner { width: 100%; max-width: 34rem; margin: 0 auto; padding: 7rem 1.5rem; }
@media (min-width: 768px) { .signup-form-inner { padding: 6rem 3rem; } }
.signup-form-side h1 { font-size: clamp(3rem, 8vw, 3.75rem); color: var(--ivory); margin-top: 1.25rem; }
.signup-form-side .intro { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; line-height: 1.6; color: var(--taupe); margin-top: 1.25rem; }
.perks { list-style: none; padding: 0; margin: 2rem 0 0; }
.perks li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.perks li .tick { color: var(--gold); margin-top: 0.15rem; }
.perks li span.text { font-family: var(--font-display); font-size: 1.1rem; color: rgba(236,229,218,0.8); }

/* Footer */
.site-footer { position: relative; border-top: 1px solid var(--border); background: var(--void); }
.footer-top { display: flex; flex-direction: column; gap: 3rem; padding: 4.5rem 0 0; }
@media (min-width: 768px) { .footer-top { flex-direction: row; align-items: flex-start; justify-content: space-between; } }
.footer-brand { max-width: 24rem; }
.footer-brand p { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--taupe); margin-top: 1.25rem; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (min-width: 640px) { .footer-cols { gap: 5rem; } }
.footer-cols .eyebrow { margin-bottom: 1rem; display: block; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: 0.75rem; }
.footer-cols a { font-family: var(--font-sans); font-size: 0.9rem; color: var(--taupe); transition: color 0.3s var(--ease-out); }
.footer-cols a:hover { color: var(--ivory); }
.footer-bottom { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; justify-content: space-between; padding: 1.5rem 0 3rem; margin-top: 3.5rem; font-family: var(--font-sans); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(161,150,138,0.7); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

/* Reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
  .reveal.is-visible { opacity: 1; transform: none; }
}

/* WP admin bar spacing safety */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
