/* =========================================================================
   PROJECT U.P. — HOME PAGE
   Neutral slate / stone palette — bridges Men's (black/league gothic) and
   Women's (ivory/cormorant italic) without committing to either.
   Reads tokens from tokens.css (default :root scope = neutral home).
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===== top bar ===== */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  border-bottom: 1px solid var(--line);
}
.bar__brand {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.bar__brand strong { color: var(--ink); font-weight: 500; }
.bar__contact {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.bar__contact:hover { color: var(--gold); }
@media (max-width: 600px) {
  .bar { padding: 18px 20px; }
  .bar__contact { display: none; }
}

/* ===== hero ===== */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 32px 48px;
  max-width: 980px;
  margin: 0 auto;
  width: 100%;
}
.hero__logo {
  margin: 0 auto 18px;
  display: block;
  width: clamp(260px, 38vw, 420px);
  max-width: 100%;
  line-height: 0;
}
.hero__logo img {
  width: 100%;
  height: auto;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero__estd {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 36px;
}
.hero__rule {
  width: 1px;
  height: 48px;
  background: var(--line);
  margin: 0 auto 36px;
}
.hero__lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.3;
  color: var(--ink);
  max-width: 560px;
  margin: 0 auto 14px;
}
.hero__lede em { color: var(--gold); font-style: italic; }
.hero__sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 540px;
  margin: 0 auto 56px;
}

/* ===== three program cards ===== */
.programs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto 48px;
  padding: 0 32px;
}
@media (max-width: 880px) {
  .programs { grid-template-columns: 1fr; padding: 0 20px; gap: 16px; }
}

.program {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 44px 32px 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  overflow: hidden;
  min-height: 320px;
}
.program:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}
.program::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.program:hover::before { opacity: 1; }

.program__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.program__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 6px;
}
.program__title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.program__byline {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.program__pitch {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0 0 28px;
  flex: 1;
}
.program__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0;
  margin-top: auto;
}
.program__cta::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0;
  transition: transform 0.2s ease;
}
.program:hover .program__cta::after { transform: translateX(4px); }

/* Program 01 — Women's: ivory-warm hint */
.program--women {
  background: #F2EDE6;
  border-color: var(--gold-soft);
}
.program--women .program__title em { font-style: italic; }

/* Program 02 — Men's: dark / unfuckwithable */
.program--men {
  background: #1A1A1A;
  border-color: #2E2E2E;
  color: #DAD3C9;
}
.program--men .program__num { color: #8A8B7C; }
.program--men .program__title {
  color: #E6E7D9;
  font-family: var(--font-display-men);
  font-weight: 400;
  font-size: 44px;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.program--men .program__byline { color: var(--gold); }
.program--men .program__pitch { color: #DAD3C9; font-family: var(--font-sans-men); }
.program--men .program__cta { color: #E6E7D9; }
.program--men:hover { border-color: var(--gold); }

/* Program 03 — Shop: outline / coming soon */
.program--shop {
  background: transparent;
}
.program--shop .program__cta { color: var(--ink); }
.program--shop .program__cta::after { content: "→"; }

/* "Coming soon" tag (men's + shop) */
.tag {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 4px 10px;
  border: 1px solid var(--gold);
  border-radius: 999px;
}
.program--men .tag { color: var(--gold); border-color: var(--gold); }

/* ===== footer ===== */
.foot {
  border-top: 1px solid var(--line);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.foot a { color: var(--ink-muted); }
.foot a:hover { color: var(--gold); }
.foot__group { display: flex; gap: 18px; }
@media (max-width: 600px) {
  .foot { padding: 18px 20px; flex-direction: column; align-items: flex-start; }
}
