/* ============================================================
   HELLO — The Human Adaptation Blueprint
   styles.css
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --white:       #ffffff;
  --off-white:   #f8f7f4;
  --paper:       #f2f0ec;
  --ink:         #1a1916;
  --ink-mid:     #4a4844;
  --ink-light:   #8a8784;
  --accent:      #c8a96e;          /* warm gold */
  --accent-dark: #a88a50;
  --border:      #e4e2dd;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --max-width: 1200px;
  --nav-h:     72px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utility ────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

.hidden { display: none !important; }

/* ── Reveal animation ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.scrolled {
  border-color: var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.nav-cta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}
.nav-cta:hover { color: var(--ink); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 48px) 48px 48px;
  text-align: center;
}

.hero-bg-text {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(160px, 28vw, 420px);
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  letter-spacing: 0.05em;
  user-select: none;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  z-index: 0;
  animation: breathe 8s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 0.8; transform: translate(-50%, -50%) scale(1.01); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  transition-delay: 0.05s;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}
.hero-title-main {
  font-family: var(--font-display);
  font-size: clamp(72px, 14vw, 160px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: 0.2em;
  color: var(--ink);
  display: block;
  transition-delay: 0.1s;
}
.hero-title-sub {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ink-mid);
  display: block;
  transition-delay: 0.15s;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.2vw, 22px);
  font-style: italic;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.5;
  margin-bottom: 48px;
  transition-delay: 0.2s;
}

.hero-content .reveal { transition-delay: 0.25s; }
.hero-content .btn-primary { transition-delay: 0.3s; }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
  transition-delay: 0.6s;
}
.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-light);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-drop 2s ease-in-out infinite;
}
@keyframes scroll-drop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ── Sections base ──────────────────────────────────────────── */
.section { padding: 120px 0; }
.section-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 40px;
}
.section-label.light { color: rgba(200,169,110,0.7); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 40px;
}
.section-title em {
  font-style: italic;
  color: var(--ink-mid);
}
.section-title.centered { text-align: center; }
.section-intro {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ink-mid);
  max-width: 560px;
  margin: 0 auto 80px;
}

/* ── What is HELLO ──────────────────────────────────────────── */
.what { background: var(--white); border-top: 1px solid var(--border); }

.what-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.what-body p {
  color: var(--ink-mid);
  margin-bottom: 20px;
  font-size: 1rem;
}
.what-body p:last-child { margin-bottom: 0; }
.what-body .lead {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.65;
  margin-bottom: 24px;
}

/* ── Model section ──────────────────────────────────────────── */
.model { background: var(--off-white); }

.model-list {
  max-width: 900px;
  margin: 0 auto;
}

.model-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  align-items: start;
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
  transition-delay: calc(var(--i, 0) * 0.08s);
}
.model-item:first-of-type { border-top: 1px solid var(--border); }

.model-letter {
  font-family: var(--font-display);
  font-size: clamp(72px, 8vw, 112px);
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.model-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}

.model-content p {
  color: var(--ink-mid);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ── Personal Blueprint ─────────────────────────────────────── */
.personal { background: var(--white); border-top: 1px solid var(--border); }

.personal-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.personal-right p {
  color: var(--ink-mid);
  margin-bottom: 20px;
}
.personal-right .lead {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 32px;
}

.blueprint-features {
  margin-top: 32px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.blueprint-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--ink-mid);
}
.check {
  color: var(--accent);
  font-size: 0.75rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ── CTA Section ────────────────────────────────────────────── */
.cta {
  background: var(--ink);
  padding: 120px 0;
}
.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.cta-title em {
  font-style: italic;
  color: var(--accent);
}
.cta-sub {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  margin-bottom: 56px;
}

/* ── Form ───────────────────────────────────────────────────── */
.form-wrapper {
  text-align: left;
}

.form-field {
  margin-bottom: 24px;
}
.form-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 10px;
}
.form-field input[type="email"],
.form-field input[type="text"] {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.form-field input[type="email"]::placeholder,
.form-field input[type="text"]::placeholder {
  color: rgba(255,255,255,0.25);
}
.form-field input[type="email"]:focus,
.form-field input[type="text"]:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.09);
}

/* File drop */
.file-drop {
  position: relative;
  border: 1px dashed rgba(255,255,255,0.2);
  padding: 36px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.file-drop:hover,
.file-drop.dragover {
  border-color: var(--accent);
  background: rgba(200,169,110,0.04);
}
.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-drop-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.file-icon { color: var(--accent); }
.file-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}
.file-label u { color: var(--accent); }
.file-hint {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}
.file-name-display {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 500;
}

.btn-submit {
  width: 100%;
  margin-top: 12px;
  padding: 18px 40px;
  font-size: 0.82rem;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
}
.btn-submit:hover {
  background: var(--white);
  color: var(--ink);
}

/* Form success */
.form-success {
  text-align: center;
  padding: 60px 0;
}
.success-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 24px;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.15); opacity: 0.7; }
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 16px;
}
.form-success p {
  color: rgba(255,255,255,0.55);
  max-width: 420px;
  margin: 0 auto;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: #111009;
  padding: 56px 0 32px;
}
.footer-inner {
  display: flex;
  align-items: baseline;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--white);
}
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,0.35);
}
.footer-domain {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-left: auto;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .container { padding: 0 28px; }
  .section { padding: 80px 0; }

  .what-grid,
  .personal-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .model-item {
    grid-template-columns: 72px 1fr;
    gap: 24px;
    padding: 36px 0;
  }
  .model-letter { font-size: 64px; }

  .hero { padding: calc(var(--nav-h) + 32px) 28px 32px; }
  .nav-inner { padding: 0 28px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero { text-align: center; padding: calc(var(--nav-h) + 24px) 20px 24px; }
  .hero-scroll-hint { display: none; }

  .model-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .model-letter { font-size: 52px; line-height: 1.1; }

  .footer-inner { flex-direction: column; gap: 12px; }
  .footer-domain { margin-left: 0; }

  .nav-inner { padding: 0 20px; }
}
