/* TempleViews — pre-launch landing page */

:root {
  --paper: #efe9de;
  --paper-alt: #ded8cb;
  --ink: #241f18;
  --ink-soft: #4c4437;
  --accent: #6b5a3e;
  --rule: rgba(36, 31, 24, 0.14);
  --rule-strong: rgba(36, 31, 24, 0.16);
  --gutter: clamp(22px, 4.5vw, 72px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Geist, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--ink); }

/* Masthead */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--rule);
  animation: fade 1s ease-out both;
  background-color: #1f1914;
  color: #efe9de;
}

.wordmark {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  display: flex;
  align-items: center;
  /* color: var(--ink); */
}

.masthead-note {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  /* color: var(--ink-soft); */
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  align-items: stretch;
  border-bottom: 1px solid var(--rule);
  background-color: #1f1914;
  color: rgba(255,255,255,0.75);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(22px, 3vw, 34px);
  padding: clamp(40px, 7vw, 84px) var(--gutter) clamp(44px, 7vw, 76px);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #ff9934;
  animation: fade 1.1s ease-out both;
}

.kicker::before {
  content: "";
  width: 18px;
  height: 1px;
  background: #ff9934;
  
}

.hero-text { animation: rise 1.2s .1s cubic-bezier(.2, .7, .2, 1) both; }

.hero-text h1 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.hero-text p {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.7;
  /* color: var(--ink-soft); */
  text-wrap: pretty;
}

/* Countdown */

.launch {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(20px, 3vw, 44px);
  padding-top: clamp(18px, 2.5vw, 26px);
  border-top: 1px solid var(--rule-strong);
  animation: rise 1.2s .35s cubic-bezier(.2, .7, .2, 1) both;
}

.countdown {
  display: flex;
  align-items: flex-end;
  gap: clamp(14px, 2vw, 26px);
  font-variant-numeric: tabular-nums;
}

.countdown[hidden] { display: none; }

.count-value {
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}

.count-label {
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  /* color: var(--ink-soft); */
}

.count-sep {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300;
  line-height: 1.3;
  color:#ff9934;
}

.launch-note {
  margin: 0;
  max-width: 18ch;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Hero image */

.hero-figure {
  position: relative;
  min-height: clamp(360px, 68vh, 760px);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(36, 31, 24, .05) 0 10px, transparent 10px 20px),
    var(--paper-alt);
  border-left: 1px solid var(--rule);
}

.hero-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: drift 40s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-figure figcaption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-family: ui-monospace, "Geist Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  /* color: var(--ink-soft); */
}

/* Intro */

.intro {
  padding: clamp(48px, 8vh, 96px) var(--gutter);
  border-bottom: 1px solid var(--rule);
}

.intro-inner { max-width: 820px; margin: 0 auto; }

.intro h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.intro > .intro-inner > p {
  margin: 20px 0 0;
  max-width: 52ch;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(32px, 5vh, 52px);
  padding-top: clamp(22px, 3vh, 30px);
  border-top: 1px solid var(--rule-strong);
}

.pillar-index {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.pillar-name {
  margin: 8px 0 0;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 400;
  line-height: 1.3;
}

.pillar-desc {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Footer */

.site-footer { padding: clamp(24px, 4vh, 34px) var(--gutter) clamp(32px, 5vh, 44px); }

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: baseline;
  justify-content: space-between;
}

.footer-mark {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.1em;
}

.footer-line {
  margin: 7px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.footer-links {
  display: flex;
  gap: 26px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a { color: var(--ink-soft); }

/* Motion */

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translate3d(0, -1.4%, 0); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
}
