/* ===========================================================
   ArcHaus — Brand Variables
   =========================================================== */
:root {
  --eggplant: #6B175D;
  --deep-plum: #320838;
  --deep-teal: #13363F;
  --teal: #399495;
  --gold: #DD9933;
  --beige: #E0C197;
  --charcoal: #333333;
  --black: #000000;
  --white: #FFFFFF;

  --bg: var(--white);
  --text: var(--charcoal);
  --heading: var(--deep-plum);

  --font-serif: "Playfair Display", "Georgia", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1180px;
  --section-pad: clamp(72px, 10vw, 140px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--heading);
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.01em;
}

p { line-height: 1.7; margin: 0 0 1.2em; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 18px;
  display: inline-block;
}

.rule {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 28px 0;
  border: none;
}

.rule.center { margin: 28px auto; }

/* ===========================================================
   Buttons
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.28s ease;
}

.btn-primary {
  background: var(--deep-plum);
  color: var(--white);
  border-color: var(--deep-plum);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--eggplant);
  border-color: var(--eggplant);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--deep-plum);
  border-color: var(--deep-plum);
}
.btn-outline-dark:hover {
  background: var(--deep-plum);
  color: var(--white);
}

/* ===========================================================
   Nav
   =========================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img { height: 30px; width: auto; transition: filter 0.35s ease; }
.nav-logo .logotype { height: 22px; }

.nav-cta { display: flex; align-items: center; gap: 22px; }

.nav-links { display: flex; gap: 30px; font-size: 0.85rem; letter-spacing: 0.04em; }
.nav-links a { opacity: 0.85; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .site-nav .wrap { padding: 0 18px; }
  .nav-logo .logotype { display: none; }
  .site-nav.scrolled .nav-logo .logotype { display: block; height: 20px; }
  .btn { padding: 12px 18px; font-size: 0.72rem; letter-spacing: 0.05em; }
}

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--deep-plum) url('images/hero-bg.jpg') center 30% / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(19,10,22,0.86) 0%, rgba(19,10,22,0.62) 42%, rgba(19,10,22,0.28) 75%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
  max-width: 700px;
}

.hero-brandline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
  text-align: left;
}

.hero-logo { height: clamp(64px, 8.5vw, 96px); display: block; }

.hero .eyebrow { color: var(--gold); margin-bottom: 0; white-space: nowrap; }

@media (max-width: 480px) {
  .hero-brandline { gap: 8px; }
  .hero .eyebrow { font-size: 0.68rem; letter-spacing: 0.14em; }
  .hero-logo { height: clamp(48px, 13vw, 64px); }
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 22px;
}

.hero p.lede {
  font-size: 1.15rem;
  color: var(--beige);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.scroll-cue .line {
  width: 1px;
  height: 34px;
  background: rgba(255,255,255,0.5);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.5); opacity: 1; }
}

/* ===========================================================
   Philosophy
   =========================================================== */
.philosophy {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.philosophy .wrap { max-width: 920px; }

.philosophy .lead-statement {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--heading);
  line-height: 1.4;
  margin-bottom: 40px;
}

.philosophy .body-copy {
  max-width: 720px;
  font-size: 1.02rem;
  color: var(--charcoal);
}
.philosophy .body-copy p:last-child { margin-bottom: 0; }

/* ===========================================================
   Ticker
   =========================================================== */
.ticker {
  overflow: hidden;
  background: var(--deep-plum);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.ticker-track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--beige);
  padding: 0 28px;
  white-space: nowrap;
}
.ticker-track span::after { content: "◆"; margin-left: 28px; color: rgba(224,193,151,0.45); font-size: 0.6rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ===========================================================
   Experience band + pillars
   =========================================================== */
.experience-band {
  position: relative;
  padding: 100px 0 30px;
  background: linear-gradient(180deg, var(--white) 0%, #FAF7F3 100%);
  overflow: hidden;
}

.experience-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 70px;
  position: relative;
  z-index: 2;
}

.experience-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.band-accent {
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 340px;
  background: url('images/experience-band.jpg') center / cover no-repeat;
  opacity: 0.16;
  z-index: 1;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}

.pillars {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(50,8,56,0.1);
  border: 1px solid rgba(50,8,56,0.1);
}

@media (max-width: 980px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: 1fr; }
}

.pillar {
  background: var(--white);
  padding: 44px 32px 48px;
  transition: background 0.3s ease;
}

.pillar:hover { background: #FDFBF8; }

.pillar-index {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 22px;
  display: block;
}

.pillar-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  color: var(--eggplant);
}

.pillar h3 {
  font-size: 1.28rem;
  margin-bottom: 14px;
  color: var(--eggplant);
}

.pillar p {
  font-size: 0.95rem;
  color: var(--charcoal);
  margin: 0;
}

/* ===========================================================
   Beginning banner
   =========================================================== */
.beginning {
  position: relative;
  padding: 160px 0;
  background: var(--deep-teal) url('images/beginning-bg.jpg') center 25% / cover no-repeat;
  color: var(--white);
  text-align: center;
}

.beginning::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,30,35,0.78) 0%, rgba(15,30,35,0.9) 100%);
}

.beginning::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--white) 100%);
  pointer-events: none;
}

.beginning-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.beginning .eyebrow { color: var(--gold); }

.beginning h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 26px;
  line-height: 1.3;
}

.beginning p {
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto 12px;
}

.beginning .tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--beige);
  margin-top: 28px;
}

/* ===========================================================
   Founding 100
   =========================================================== */
.founding {
  position: relative;
  padding: calc(var(--section-pad) * 1.35) 0;
  background: var(--white);
  overflow: hidden;
}

.founding-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.founding-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 780px) {
  .founding-bg img { object-position: 65% center; }
}

.founding::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.95) 0%,
      rgba(255,255,255,0.55) 130px,
      rgba(255,255,255,0) 320px),
    linear-gradient(100deg,
      rgba(255,255,255,0.97) 0%,
      rgba(255,255,255,0.94) 30%,
      rgba(255,255,255,0.7) 46%,
      rgba(255,255,255,0.22) 62%,
      rgba(255,255,255,0) 76%);
}

@media (max-width: 780px) {
  .founding::after {
    background: linear-gradient(180deg,
      rgba(255,255,255,0.97) 0%,
      rgba(255,255,255,0.94) 38%,
      rgba(255,255,255,0.55) 56%,
      rgba(255,255,255,0.15) 72%,
      rgba(255,255,255,0) 86%);
  }
}

.founding .wrap { position: relative; z-index: 2; }

.founding-copy { max-width: 640px; }

.founding-copy .eyebrow { margin-bottom: 26px; }

.founding-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  margin-bottom: 34px;
}

.founding-copy > p {
  margin-bottom: 40px;
}

.founding-copy .founding-quote {
  margin: 40px 0 46px;
  color: var(--eggplant);
}

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 46px;
  padding: 16px 24px;
  border: 1px solid var(--beige);
  background: #FBF6EF;
}

.price-tag .label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eggplant);
  font-weight: 600;
}

.price-tag .amount {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--deep-plum);
}

.price-tag .per {
  font-size: 0.85rem;
  color: var(--charcoal);
  opacity: 0.75;
}

blockquote.founding-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.18rem;
  color: var(--beige);
  border-left: 2px solid var(--gold);
  padding-left: 22px;
  margin: 28px 0 34px;
  line-height: 1.55;
}

@media (max-width: 780px) {
  .founding-copy .founding-quote { color: var(--white); }
}

.founding-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 780px) {
  .founding-actions .btn-outline-dark {
    color: var(--white);
    border-color: rgba(255,255,255,0.65);
  }
  .founding-actions .btn-outline-dark:hover,
  .founding-actions .btn-outline-dark:focus-visible {
    background: rgba(255,255,255,0.12);
    border-color: var(--white);
    color: var(--white);
  }
}


/* ===========================================================
   Footer
   =========================================================== */
.site-footer {
  background: var(--deep-plum);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 34px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand img { height: 26px; margin-bottom: 16px; }

.footer-brand p {
  max-width: 320px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
}

.footer-cta {
  text-align: left;
}

.footer-cta p {
  margin-bottom: 16px;
  color: rgba(255,255,255,0.75);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ===========================================================
   Reveal-on-scroll
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================================
   Confirmation (waitlist-confirmation)
   =========================================================== */
.confirm {
  position: relative;
  min-height: clamp(340px, 62vh, 560px);
  display: flex;
  align-items: center;
  background: var(--deep-plum) url('images/hero-bg.jpg') center 30% / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.confirm::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(19,10,22,0.90) 0%, rgba(19,10,22,0.70) 46%, rgba(19,10,22,0.38) 80%);
  z-index: 1;
}

.confirm-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 70px;
  max-width: 720px;
}

.confirm .eyebrow { color: var(--gold); }

.confirm h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.confirm h1:last-child { margin-bottom: 0; }

/* Detail — white band below the image */
.confirm-detail {
  background: var(--white);
  padding: var(--section-pad) 0;
}

.confirm-detail-content { max-width: 720px; }

.confirm-detail .lede {
  font-size: 1.08rem;
  color: var(--charcoal);
  max-width: 640px;
  margin-bottom: 0;
}

/* Social */
.confirm-social { margin-top: 44px; }

.confirm-social .social-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 16px;
}

.social-links { display: flex; gap: 14px; flex-wrap: wrap; }

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 2px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: all 0.28s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-1px);
}

.social-links svg { width: 18px; height: 18px; flex: none; }

.confirm-detail .social-links a {
  border-color: rgba(50,8,56,0.25);
  color: var(--deep-plum);
}

.confirm-detail .social-links a:hover,
.confirm-detail .social-links a:focus-visible {
  background: var(--deep-plum);
  border-color: var(--deep-plum);
  color: var(--white);
}

.confirm-actions { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 480px) {
  .confirm-content { padding-top: 120px; padding-bottom: 64px; }
  .social-links a { padding: 10px 16px; font-size: 0.72rem; }
}

/* ===========================================================
   Policy — long-form legal copy (privacy-policy)
   =========================================================== */
.policy {
  background: var(--white);
  padding: var(--section-pad) 0;
}

.policy-content { max-width: 760px; }

.policy-content .lede {
  font-size: 1.08rem;
  color: var(--charcoal);
  margin-bottom: 0;
}

.policy-content h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  margin: 54px 0 16px;
}

.policy-content h3 {
  font-size: 1.1rem;
  margin: 36px 0 14px;
}

.policy-content p,
.policy-content ul {
  color: var(--charcoal);
  font-size: 1rem;
}

.policy-content ul {
  margin: 0 0 1.2em;
  padding-left: 22px;
}

.policy-content li {
  line-height: 1.7;
  margin-bottom: 12px;
}

.policy-content li::marker { color: var(--gold); }

.policy-content strong { font-weight: 600; color: var(--deep-plum); }

.policy-content a:not(.btn) {
  color: var(--eggplant);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.policy-content a:not(.btn):hover { color: var(--deep-plum); }

.policy-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-style: normal;
  line-height: 1.7;
  padding: 24px;
  border: 1px solid var(--beige);
  background: #FBF6EF;
}

.policy-content .confirm-actions { margin-top: 52px; }

/* Nav logotype swap for pages sitting on a dark panel */
.nav-swap .logotype-dark { display: none; }
.nav-swap.scrolled .logotype-light { display: none; }
.nav-swap.scrolled .logotype-dark { display: block; }

.nav-swap .nav-links a { color: rgba(255,255,255,0.85); }
.nav-swap.scrolled .nav-links a { color: var(--charcoal); }

@media (max-width: 480px) {
  .nav-swap .nav-logo .logotype { display: none; }
  .nav-swap.scrolled .nav-logo .logotype-light { display: none; }
  .nav-swap.scrolled .nav-logo .logotype-dark { display: block; }
}
