/* OFEAR — umbrella holding company */
:root {
  --gold: #c9a24b;
  --gold-light: #e8cf8e;
  --ink: #0a0908;
  --ink-soft: #12100c;
  --paper: #f2ecdd;
  --muted: #a89e86;
  --line: #262019;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--paper); background: var(--ink); line-height: 1.7;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.2; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 700px; text-align: center; }
section { padding: 96px 0; }
img { display: block; max-width: 100%; }
.eyebrow { color: var(--gold); letter-spacing: 4px; text-transform: uppercase; font-size: 0.78rem; font-weight: 700; margin-bottom: 12px; }

/* hero + name animation */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px; position: relative;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(201, 162, 75, 0.13) 0%, transparent 60%),
    linear-gradient(180deg, #0d0b08 0%, var(--ink) 100%);
}
.hero-inner { max-width: 900px; }
.name { display: flex; justify-content: center; gap: 0.08em; margin-bottom: 8px; }
.letter {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 16vw, 9rem);
  letter-spacing: 0.02em; color: var(--paper);
  opacity: 0; transform: translateY(60px); filter: blur(14px);
  animation: letterIn 1.1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  text-shadow: 0 0 60px rgba(201, 162, 75, 0.25);
}
.letter:nth-child(1) { animation-delay: 0.25s; }
.letter:nth-child(2) { animation-delay: 0.45s; }
.letter:nth-child(3) { animation-delay: 0.65s; }
.letter:nth-child(4) { animation-delay: 0.85s; }
@keyframes letterIn {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.rule { display: flex; justify-content: center; margin: 26px 0; }
.rule span {
  display: block; height: 2px; width: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: ruleDraw 1.4s ease 1.5s forwards;
}
@keyframes ruleDraw { to { width: min(420px, 70vw); } }
.tagline {
  font-family: Georgia, serif; font-size: clamp(1.3rem, 4vw, 2rem);
  color: var(--gold-light); letter-spacing: 0.12em; min-height: 2.6em;
  opacity: 0; animation: fadeUp 1s ease 2.1s forwards;
}
.caret { animation: blink 1s steps(1) infinite; color: var(--gold); }
@keyframes blink { 50% { opacity: 0; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero-sub {
  color: var(--muted); font-size: 1.12rem; max-width: 600px; margin: 18px auto 40px;
  opacity: 0; animation: fadeUp 1s ease 2.7s forwards;
}
.hero-cta { opacity: 0; animation: fadeUp 1s ease 3.1s forwards; }
.btn { display: inline-block; padding: 15px 42px; border-radius: 999px; text-decoration: none;
  font-size: 1rem; font-weight: 700; letter-spacing: 1px; transition: transform 0.2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #1a1408;
  box-shadow: 0 8px 28px rgba(201,162,75,0.4); }
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; letter-spacing: 4px; text-transform: uppercase; color: var(--muted);
  opacity: 0; animation: fadeUp 1s ease 3.6s forwards;
}
.scroll-hint::after { content: ""; display: block; width: 1px; height: 44px; margin: 10px auto 0;
  background: linear-gradient(var(--gold), transparent); }

/* ventures */
.ventures h2 { font-size: 2.6rem; margin-bottom: 48px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.v {
  background: var(--ink-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: 30px 26px; text-decoration: none; color: var(--paper);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.v:hover { border-color: var(--gold); transform: translateY(-4px); }
.v h3 { font-size: 1.35rem; margin-bottom: 8px; }
.v p { color: var(--muted); font-size: 0.94rem; margin-bottom: 14px; }
.v span { font-size: 0.78rem; letter-spacing: 1px; color: var(--gold); }

/* creed */
.creed { background: linear-gradient(180deg, var(--ink) 0%, #171106 100%); }
.creed h2 { font-size: 2.4rem; margin-bottom: 18px; color: var(--gold-light); }
.creed p { color: var(--muted); font-size: 1.12rem; }

/* footer */
footer { background: #060503; border-top: 1px solid var(--line); padding: 36px 0; text-align: center; color: var(--muted); font-size: 0.9rem; }
.foot-brand { font-family: Georgia, serif; letter-spacing: 8px; font-size: 1.2rem; color: var(--paper); margin-bottom: 8px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
