/* ============================================================
   YOUR EMPIRE AWAITS — pre-launch waitlist site
   Static HTML/CSS/JS. Black, white, typography, product.
   ============================================================ */

:root{
  --white:      #ffffff;
  --black:      #0a0a0a;
  --ink:        #141414;
  --gray:       #6e6e6e;
  --line:       rgba(10,10,10,0.14);
  --line-on-black: rgba(255,255,255,0.18);
  --off-white:  #f2f2f0;

  --font-display: 'Outfit', 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --gutter: clamp(20px, 6vw, 96px);
  --max: 1280px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

.eyebrow{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 0 0 18px;
}
.eyebrow-on-light{ color: var(--gray); }

/* ---------------- nav ---------------- */
.nav{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap: 16px;
  padding: 28px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.nav-mark{
  justify-self: center;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
}
.nav-links{
  display:flex;
  align-items:center;
  gap: clamp(16px, 3vw, 32px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links-left{ justify-self: start; }
.nav-links-right{ justify-self: end; }
.nav-links a{ border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .2s ease; }
.nav-links a:hover{ border-color: var(--ink); }
.nav-cta{ display: inline-flex; align-items: center; gap: 6px; }
.nav-cta-icon{ flex-shrink: 0; }

/* ---------------- shared section rhythm ---------------- */
section{
  padding: clamp(72px, 14vw, 160px) var(--gutter);
  border-bottom: 1px solid var(--line);
}
h1, h2{ margin:0; font-family: var(--font-display); }

/* ---------------- hero ---------------- */
.hero{ padding: var(--gutter); border-bottom: none; position: relative; }
.hero-media{
  position: relative;
  min-height: 80vh;
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  background: var(--black) url('assets/hero-texture.png') center / cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-media::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  z-index: 0;
}
.hero-emblem{
  position: absolute;
  top: var(--gutter);
  left: 50%;
  transform: translate(-50%, -22%);
  width: min(620px, 62%);
  z-index: 3;
  pointer-events: none;
  user-select: none;
}
.hero-overlay{ position: relative; z-index: 2; }
.hero-overlay{
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  text-align: center;
  padding: 0 var(--gutter);
  margin-top: 220px;
}
.hero-headline{
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(22px, 4.6vw, 52px);
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}
.hero-sub{
  max-width: 46ch;
  margin: 32px auto 0;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.64);
  line-height: 1.6;
}
.hero-actions{
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 44px;
}
.btn-primary-inverse{ background: var(--white); color: var(--black); border: 1px solid var(--white); }
.btn-primary-inverse:hover{ opacity: 0.8; }
.btn-ghost-inverse{ background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.5); }
.btn-ghost-inverse:hover{ background: var(--white); color: var(--black); border-color: var(--white); }

.btn{
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid var(--ink);
  display: inline-block;
  transition: background .2s ease, color .2s ease, opacity .2s ease;
}
.btn-primary{ background: var(--ink); color: var(--white); }
.btn-primary:hover{ opacity: 0.78; }
.btn-ghost{ background: transparent; color: var(--ink); }
.btn-ghost:hover{ background: var(--ink); color: var(--white); }

/* ---------------- product statement ---------------- */
.statement-headline{
  font-weight: 600;
  font-size: clamp(30px, 5.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  max-width: 16ch;
}
.statement-copy{
  max-width: 56ch;
  margin: 28px 0 0;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--gray);
  line-height: 1.7;
}
.mono-headline{
  font-family: 'Courier Prime', var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------------- brand moment (black) ---------------- */
.brand-moment{
  background: var(--black);
  color: var(--white);
  text-align: center;
  border-bottom: none;
}
.brand-headline{
  font-weight: 900;
  font-size: clamp(40px, 8.5vw, 112px);
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.brand-copy{
  max-width: 44ch;
  margin: 32px auto 0;
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

/* ---------------- dashboard preview ---------------- */
.preview-headline{
  font-weight: 600;
  font-size: clamp(28px, 4.6vw, 52px);
  line-height: 1.1;
  max-width: 18ch;
}
.preview-caption{
  max-width: 52ch;
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}
.empire-gallery{
  margin-top: 72px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.empire-product{
  cursor: pointer;
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 140px 0;
  border-bottom: 1px solid var(--line);
}
.empire-product:first-child{ padding-top: 0; }
.empire-product:last-child{ border-bottom: none; padding-bottom: 0; }
.empire-product-frame{
  aspect-ratio: 1600/1328;
  width: 72%;
  margin: 0 auto;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--black);
}
.empire-product-frame img,
.empire-product-frame video{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.empire-product:hover .empire-product-frame img,
.empire-product:hover .empire-product-frame video{
  transform: scale(1.03);
}
.empire-product-meta{
  width: 72%;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.empire-product-name{
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.empire-product-price{
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.empire-product-desc{
  margin: 14px 0 0;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--gray);
  max-width: 44ch;
}
.empire-product-cta{
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: opacity 0.3s ease;
}
.empire-product:hover .empire-product-cta{ opacity: 0.6; }

/* ---------------- waitlist ---------------- */
.waitlist{ border-bottom: none; }
.waitlist-headline{
  font-weight: 600;
  font-size: clamp(32px, 5.6vw, 68px);
  line-height: 1.08;
  max-width: 18ch;
}
.waitlist-copy{
  max-width: 48ch;
  margin: 26px 0 0;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--gray);
  line-height: 1.7;
}
.waitlist-form{
  display:flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 44px;
  max-width: 440px;
}
.waitlist-form input,
.waitlist-form select{
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 14px 4px;
  color: var(--ink);
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}
.waitlist-form select{ color: var(--ink); }
.waitlist-form select:invalid{ color: var(--gray); }
.waitlist-form input::placeholder{ color: var(--gray); }
.waitlist-form input:focus,
.waitlist-form select:focus{ outline: none; border-bottom-color: var(--ink); }
.waitlist-form button{ margin-top: 6px; border-radius: 0; cursor: pointer; }
.waitlist-success-headline{
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3;
  max-width: 32ch;
}
.waitlist-success-sub{
  margin: 16px 0 0;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--gray);
}
.waitlist-success-note{
  margin: 22px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray);
}
.waitlist-note{
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray);
  min-height: 1em;
}

/* ---------------- footer ---------------- */
.footer{
  display:flex;
  flex-wrap: wrap;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 28px var(--gutter);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

.footer-legal{
  flex: 0 0 100%;
  margin: 6px 0 0;
  max-width: none;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--gray);
}

/* ---------------- reveal motion (restrained) ---------------- */
[data-reveal]{
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference){
  [data-reveal]{
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .7s ease, transform .7s ease;
  }
  [data-reveal].is-visible{
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------- responsive ---------------- */
@media (max-width: 860px){
  .empire-product{ padding: 96px 0; }
  .empire-product-frame,
  .empire-product-meta{ width: 84%; }
}
@media (max-width: 640px){
  .nav{ grid-template-columns: 1fr; justify-items: center; gap: 10px; padding: 20px var(--gutter); }
  .nav-links-left, .nav-links-right{ justify-self: center; }
  .nav-links{ gap: 14px; }
  section{ padding: 64px var(--gutter); }
  .hero-actions{ flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .btn{ text-align: center; }
  .waitlist-form{ flex-direction: column; }
  .waitlist-form button{ width: 100%; }
  .empire-product{ padding: 72px 0; }
  .empire-product-frame,
  .empire-product-meta{ width: 100%; }
}

/* ---------------- text link (inline "see more") ---------------- */
/* ---------------- video (system.html) ---------------- */
.video-section{ text-align: center; padding-top: clamp(24px, 5vw, 56px); }
.video-section .eyebrow{ text-align: center; font-size: 16px; letter-spacing: 0.14em; }
.video-section-copy{
  max-width: 640px;
  margin: 28px auto 0;
  text-align: left;
}
.video-section-copy p{
  margin: 0 0 20px;
  font-size: 16px;
  color: var(--gray);
  line-height: 1.75;
}
.video-section-copy p:last-child{ margin-bottom: 0; }

.text-link{
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.text-link:hover{ opacity: 0.6; }

/* ---------------- page header (system.html) ---------------- */
.page-header{
  padding: var(--gutter);
  border-bottom: none;
}
.page-header-panel{
  position: relative;
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  background: var(--black) url('assets/hero-texture.png') center / cover no-repeat;
  padding: clamp(56px, 12vw, 120px) clamp(24px, 7vw, 96px);
  color: var(--white);
}
.page-header-panel::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.32);
  z-index: 0;
}
.page-header-panel > *{ position: relative; z-index: 1; }
.page-header .eyebrow{ color: rgba(255,255,255,0.72); }
.page-header-headline{
  font-weight: 600;
  font-size: clamp(30px, 5.6vw, 68px);
  line-height: 1.08;
  max-width: 34ch;
  color: var(--white);
}
.page-header-mono-line{
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(15px, 2.6vw, 26px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.page-header-serif-line{
  display: block;
  margin-top: 14px;
}
.page-header-headline .cursive-word{
  font-weight: 700;
  text-transform: uppercase;
}
.page-header-columns{
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: clamp(16px, 3vw, 40px);
  flex-wrap: wrap;
}
.page-header-col{ flex: 1 1 260px; }
.page-header-col-brand{ flex: 0 1 320px; }
.page-header-col-brand .brand-copy{
  margin: 0;
  max-width: 34ch;
  font-size: clamp(13px, 1.05vw, 15px);
}
.page-header-copy{
  max-width: 56ch;
  margin: 28px 0 0;
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

/* ---------------- module list (system.html) ---------------- */
.module-list{ padding-top: 0; }
.module-row{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.module-row-last{ border-bottom: 1px solid var(--line); }
.module-name{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.6vw, 30px);
  flex: 0 0 auto;
}
.module-desc{
  margin: 0;
  max-width: 42ch;
  font-size: 14px;
  color: var(--gray);
  text-align: right;
}
@media (max-width: 640px){
  .module-row{ flex-direction: column; align-items: flex-start; gap: 8px; }
  .module-desc{ text-align: left; }
}

/* ---------------- founder's note page ---------------- */
.note-body{
  max-width: 62ch;
  padding-top: 0;
}
.note-body p{
  margin: 0 0 24px;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--ink);
  line-height: 1.8;
}
.note-body p:last-child{ margin-bottom: 0; }

.page-nav-link{ text-align: center; }

.brand-copy-top{
  margin: 0 auto 32px;
}

.note-header{ padding-top: clamp(48px, 8vw, 96px); }

/* ---------------- founder's note card (system.html) ---------------- */
:root{ --font-script: 'Dancing Script', cursive; }

.note-section{ border-bottom: none; padding-top: clamp(24px, 5vw, 56px); }
.note-card{
  background: var(--off-white);
  border-radius: 28px;
  padding: clamp(40px, 8vw, 80px) clamp(24px, 7vw, 96px);
  text-align: center;
  max-width: 1120px;
  margin: 0 auto;
}
.note-eyebrow{ text-align: center; }
.note-headline{
  margin: 0 0 40px;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.4;
  max-width: none;
}
.note-card .note-body{ text-align: center; max-width: none; padding-top: 0; }
.note-card .note-body p{
  margin: 0 auto 22px;
  max-width: 58ch;
  font-family: 'Nunito Sans', var(--font-body);
  color: var(--gray);
}
.note-close{ margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.note-close p{
  margin: 0 0 6px;
  font-size: clamp(15px, 1.4vw, 18px);
  font-family: 'Nunito Sans', var(--font-body);
  color: var(--gray);
  line-height: 1.6;
}
.note-signoff{
  margin: 22px 0 0 !important;
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(34px, 5.5vw, 54px);
  color: var(--ink);
  line-height: 1.2;
}
.note-love{
  margin: 28px 0 0 !important;
  font-family: 'Nunito Sans', var(--font-body);
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--gray);
}
.note-signature{
  width: clamp(140px, 18vw, 220px);
  margin: 2px auto 0;
}


/* ---------------- empire product detail page ---------------- */
.empire-detail{
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 56px;
  padding: clamp(48px, 8vw, 96px) var(--gutter);
  align-items: start;
}
.empire-detail-media{
  min-width: 0;
}
.empire-detail-media > video{
  border: 1px solid var(--line);
}
.empire-detail-video{
  display: block;
  width: 100%;
  aspect-ratio: 1600/1000;
  background: var(--black);
  object-fit: contain;
}
.empire-detail-info{
  padding-top: 4px;
}
.empire-detail-back{
  margin: 0 0 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.empire-detail-back a{
  color: var(--gray);
  text-decoration: none;
}
.empire-detail-back a:hover{ color: var(--ink); }
.empire-detail-name{
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.empire-detail-price{
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
}
.empire-detail-desc{
  margin: 0 0 28px;
  font-size: 16px;
  color: var(--gray);
  line-height: 1.5;
  max-width: 32ch;
}
.empire-detail-tagline{
  margin: 0 0 32px;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
}
.empire-detail-cta{
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 14px;
}
.empire-detail-note{
  margin: 0 0 40px;
  font-size: 12px;
  color: var(--gray);
}
.empire-detail-features{
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

@media (max-width: 860px){
  .empire-detail{
    grid-template-columns: 1fr;
    gap: 32px;
    padding: clamp(32px, 8vw, 56px) var(--gutter);
  }
  .empire-detail-desc{ max-width: none; }
}


/* ---------------- waitlist modal (empire detail page) ---------------- */
.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  z-index: 100;
}
.modal-overlay[hidden]{ display: none; }
.modal-panel{
  position: relative;
  background: var(--white);
  color: var(--ink);
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px 40px;
  border: 1px solid var(--line);
}
.modal-close{
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.modal-close:hover{ background: var(--ink); color: var(--white); }
.modal-heading{
  margin: 10px 0 28px;
  font-weight: 600;
  font-size: clamp(22px, 3vw, 28px);
}
@media (max-width: 480px){
  .modal-panel{ padding: 40px 24px; }
}

/* waiting-for-you line: clean sans instead of serif */
.page-header-serif-line,
.page-header-serif-line .cursive-word{
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.page-header-serif-line .cursive-word{ font-weight: 800; }

/* sign-up reminder popup */
.nudge-panel{ text-align: center; }
.nudge-panel .modal-heading{ margin-bottom: 28px; }
.nudge-panel .modal-heading{ margin-bottom: 14px; }
.nudge-line{ margin: 0 auto 28px; max-width: 34ch; font-size: 16px; line-height: 1.6; color: var(--gray); }
.nudge-panel .modal-heading{ margin-bottom: 14px; }
.nudge-line{ margin: 0 auto 28px; max-width: 34ch; font-size: 16px; line-height: 1.6; color: var(--gray); }


/* ---------------- slides strip (empire detail page) ---------------- */
.empire-slides{ margin-top: 28px; }
.empire-slides-head{
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray);
}
.empire-slides-label{ color: var(--ink); }
.empire-slides-nav{ margin-left: auto; display: flex; gap: 8px; }
.empire-slides-btn{
  width: 38px; height: 38px; border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font-size: 16px; cursor: pointer; transition: background .2s, color .2s;
}
.empire-slides-btn:hover{ background: var(--ink); color: var(--white); }
.empire-slides-btn:disabled{ opacity: .3; cursor: default; background: var(--white); color: var(--ink); }
.empire-slides-track{
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding-bottom: 10px;
  scrollbar-width: thin; outline: none;
}
.empire-slides-track img{
  flex: 0 0 82%; width: 82%; aspect-ratio: 1600/1000; object-fit: cover;
  scroll-snap-align: start; border: 1px solid var(--line); background: var(--off-white); display: block;
}
@media (max-width: 900px){ .empire-slides-track img{ flex-basis: 90%; width: 90%; } }


/* ---------------- edition story + features (empire detail page) ---------------- */
.empire-detail-desc{
  font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.25;
  color: var(--ink); max-width: none; margin: 4px 0 12px;
}
.empire-detail-story{
  margin: 0 0 28px; font-size: 15px; line-height: 1.65; color: var(--gray);
}
.empire-detail-eyebrow{
  margin: 0; padding: 18px 0 14px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink);
}
.empire-detail-wow{ list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 16px; }
.empire-detail-wow li{ display: grid; gap: 3px; }
.empire-detail-wow strong{
  font-family: var(--font-mono); font-weight: 500; font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink);
}
.empire-detail-wow span{ font-size: 14px; line-height: 1.55; color: var(--gray); }


/* ---------------- homepage gallery: each dashboard floats in on scroll ---------------- */
.empire-product-frame.empire-pan-frame{
  aspect-ratio: 1600/1000;
  position: relative;
  border: none;
  background: transparent;
  overflow: visible;
  perspective: 1600px;
}
.empire-pan{
  position: absolute; inset: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.22), 0 0 0 1px rgba(0,0,0,0.06);
  transform-origin: 50% 50%;
  will-change: transform;
  backface-visibility: hidden;
}
.empire-pan img{
  width: 100%; height: 100%; display: block; object-fit: cover;
}
.empire-product:hover .empire-pan-frame .empire-pan img{ transform: none; }


/* ---------------- "What is the Empire?" statement (modern) ---------------- */
.statement-modern{ padding-top: clamp(80px, 11vw, 150px); padding-bottom: clamp(80px, 11vw, 150px); }
.statement-modern .sm-grid{
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: end;
}
.statement-modern .eyebrow{ margin-bottom: 22px; }
.sm-headline{
  margin: 0;
  font-family: 'Outfit', var(--font-body); font-weight: 700;
  font-size: clamp(44px, 6vw, 84px); line-height: 1.02; letter-spacing: -0.035em; white-space: nowrap;
  color: var(--ink);
}
.sm-mark{
  background: linear-gradient(180deg, transparent 62%, #e9dcc3 62%, #e9dcc3 92%, transparent 92%);
  padding: 0 0.04em;
}
.sm-lede{ margin: 0 0 30px; font-size: 18px; line-height: 1.6; color: var(--gray); max-width: 38ch; }
.sm-steps{ list-style: none; margin: 0 0 34px; padding: 0; border-top: 1px solid var(--line); }
.sm-steps li{
  display: flex; align-items: baseline; gap: 18px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 17px; color: var(--ink); letter-spacing: -0.01em;
}
.sm-steps span{ font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--gray); }
.sm-cta{ display: inline-block; }
@media (max-width: 900px){
  .statement-modern .sm-grid{ grid-template-columns: 1fr; gap: 36px; }
  .sm-lede{ max-width: none; }
}
.sm-us{ font-family: 'Gloock', Georgia, serif; font-weight: 400; letter-spacing: -0.02em; }
@media (max-width: 420px){ .sm-headline{ font-size: 40px; } }

/* price on the Empire page */
.empire-detail-price{ font-family: 'Outfit', var(--font-body); font-weight: 500; font-size: 26px; letter-spacing: -0.01em; }
.empire-detail-name{ font-weight: 700; letter-spacing: -0.02em; }

/* slides strip: big, obvious arrows over the slides */
.empire-slides-head{ gap: 14px; }
.empire-slides-label{ color: var(--ink); font-weight: 500; }
.empire-slides-hint{ margin-left: auto; text-transform: none; letter-spacing: 0.02em; font-family: var(--font-body); font-size: 13px; color: var(--gray); }
.empire-slides-stage{ position: relative; }
.empire-slides-stage .empire-slides-btn{
  position: absolute; top: calc(50% - 5px); transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.08); background: rgba(255,255,255,0.96); color: #111;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  cursor: pointer; z-index: 2; padding: 0;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
.empire-slides-stage .empire-slides-btn:hover{ background: #fff; transform: translateY(-50%) scale(1.08); }
.empire-slides-stage .empire-slides-btn:disabled{ opacity: 0; pointer-events: none; }
.empire-slides-prev{ left: 14px; }
.empire-slides-next{ right: 14px; }
@media (max-width: 900px){
  .empire-slides-stage .empire-slides-btn{ width: 44px; height: 44px; }
  .empire-slides-hint{ display: none; }
}

/* hero: keep the headline below the emblem at every screen size */
.hero-media{ align-items: flex-start; }
.hero-overlay{ margin-top: calc(min(620px, 62vw) * 0.52 + 48px); padding-bottom: 72px; }

/* System page: selling block */
.why-headline{ font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.03em; max-width: 24ch; margin: 0 auto; text-wrap: balance; }
.why-copy p{ font-size: 18px; }
.why-cta{ margin-top: 30px; }
.waitlist-headline{ letter-spacing: -0.03em; }
@media (max-width: 640px){ .hero-media{ min-height: 0; } .hero-overlay{ padding-bottom: 48px; } }

/* detail page: slides lead (no video), launch line under price */
.empire-detail-media > .empire-slides{ margin-top: 0; }
.empire-detail-price{ margin-bottom: 6px; }
.empire-detail-launch{ margin: 0 0 22px; font-size: 14px; color: var(--gray); }
