/* Praxis Arete — holding page
   Dark, immersive, cinematic.
   Ink #002917 (near-black green) · gold #D2B068 · cream #F4F1EA
   cyan + lime live in the photography */

:root {
  --ink: #002917;
  --ink-deep: #00140c;
  --gold: #D2B068;
  --gold-soft: #e6cd98;
  --cream: #F4F1EA;
  --cream-dim: rgba(244, 241, 234, 0.74);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  background-color: var(--ink-deep);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Visible keyboard focus everywhere */
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* Full-bleed cinematic hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding:
    calc(clamp(28px, 5vw, 64px) + env(safe-area-inset-top))
    calc(clamp(28px, 5vw, 64px) + env(safe-area-inset-right))
    calc(clamp(28px, 5vw, 64px) + env(safe-area-inset-bottom))
    calc(clamp(28px, 5vw, 64px) + env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  background-image: url("assets/hero-words.jpg");
  background-size: cover;
  background-position: center right;
}

/* darkening wash so text stays legible over the photo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 16, 9, 0.92) 0%, rgba(0, 16, 9, 0.55) 38%, rgba(0, 16, 9, 0.08) 70%, rgba(0, 16, 9, 0) 100%),
    linear-gradient(0deg, rgba(0, 16, 9, 0.85) 0%, rgba(0, 16, 9, 0.1) 40%, rgba(0, 16, 9, 0.45) 100%);
  pointer-events: none;
}

/* thin gold frame */
.hero::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(210, 176, 104, 0.4);
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

/* Top bar */
.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 50px;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}

.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
}

.status {
  position: absolute;
  right: clamp(28px, 5vw, 64px);
  bottom: clamp(28px, 5vw, 56px);
  z-index: 2;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* Hero content */
.hero-content {
  max-width: 620px;
  margin-top: auto;
  margin-bottom: clamp(40px, 7vh, 90px);
}

.eyebrow {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  font-size: 12px;
  color: var(--gold);
  padding-left: 0.5em;
  margin-bottom: 22px;
}

.headline {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(40px, 7.5vw, 78px);
  line-height: 1.04;
  letter-spacing: 0.005em;
  color: var(--cream);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 26px;
}

.lede {
  font-weight: 300;
  font-size: clamp(15px, 2vw, 17.5px);
  line-height: 1.7;
  color: var(--cream-dim);
  max-width: 46ch;
  margin-bottom: 38px;
}

.lede em {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.16em;
  color: var(--gold-soft);
}

/* Call to action */
.cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  padding: 15px 40px;
  border: 1px solid var(--gold);
  transition: background 0.22s ease, color 0.22s ease;
}

.cta:hover,
.cta:focus-visible {
  background: var(--gold);
  color: var(--ink);
}

/* Pillars along the foot */
.pillars {
  list-style: none;
  display: flex;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid rgba(210, 176, 104, 0.28);
}

.pillar-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(18px, 2.4vw, 23px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cream);
}

.pillars li {
  position: relative;
}

.pillars li + li::before {
  content: "\00B7";
  position: absolute;
  left: calc(clamp(20px, 4vw, 56px) / -2);
  transform: translateX(-50%);
  color: var(--gold);
}

/* Tablet & down */
@media (max-width: 900px) {
  .hero-content { max-width: 100%; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(0,16,9,0.9) 0%, rgba(0,16,9,0.62) 45%, rgba(0,16,9,0.25) 100%),
      linear-gradient(0deg, rgba(0,16,9,0.9) 0%, rgba(0,16,9,0.15) 45%, rgba(0,16,9,0.5) 100%);
  }
}

/* Phones */
@media (max-width: 600px) {
  .hero {
    justify-content: flex-start;
    background-position: center center;
  }
  .hero::before {
    background: linear-gradient(0deg, rgba(0,16,9,0.94) 0%, rgba(0,16,9,0.55) 58%, rgba(0,16,9,0.72) 100%);
  }
  .hero::after { inset: 10px; }
  .brand-mark { width: 42px; }
  .brand-name { font-size: 18px; }
  .status {
    position: static;
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 10px;
    letter-spacing: 0.24em;
  }
  .lede { font-size: 15px; }
  .pillars { gap: 16px 22px; flex-wrap: wrap; }
  .hero-content { margin-bottom: 40px; }
}

/* Small phones */
@media (max-width: 380px) {
  .eyebrow { letter-spacing: 0.34em; font-size: 11px; }
  .cta { padding: 14px 30px; letter-spacing: 0.14em; }
  .pillar-name { font-size: 17px; }
}

/* Short / landscape — don't let content crush; allow it to breathe and scroll */
@media (max-height: 540px) and (orientation: landscape) {
  .hero { min-height: 0; padding-top: 84px; padding-bottom: 40px; }
  .headline { font-size: clamp(30px, 6vw, 48px); margin-bottom: 16px; }
  .lede { margin-bottom: 22px; }
  .eyebrow { margin-bottom: 14px; }
  .hero-content { margin-bottom: 28px; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
