/* ============================================================================
   TIMOTHY HAIRETH — WAITLIST
   Brand system lifted from clients/timothy-haireth/dashboard/app/globals.css:
   near-black ground, warm bone/umber neutrals, gold accent. Same token
   structure as the Anton Verada site so the two pages share a skeleton.
   ========================================================================== */

:root {
  /* --- ground --- */
  --ink:        #080808;   /* page */
  --ink-2:      #0d0c0b;   /* n-950 */
  --panel:      #131314;   /* card / nav wash — a shade above the page */
  --panel-2:    #1a1918;   /* n-900 */
  --panel-3:    #2d2a26;   /* n-800 */

  /* --- lines (umber, not grey — grey reads cold next to gold) --- */
  --line:       rgba(78,70,57,0.45);   /* n-700 */
  --line-2:     rgba(78,70,57,0.85);
  --line-hot:   rgba(154,143,128,0.70); /* n-400 */

  /* --- gold accent --- */
  --gold:       #e9c176;   /* a-500, the brand mark */
  --gold-hi:    #ebd2a0;   /* a-400, hover */
  --gold-deep:  #e0b368;   /* a-600, solid button rest */
  --gold-dim:   #b98f45;   /* a-700 */
  --gold-glow:  rgba(233,193,118,0.22);

  /* --- text (warm) --- */
  --text:       #f6f3ee;   /* n-100 */
  --text-2:     #d1c5b4;   /* n-300, body copy */
  --muted:      #9a8f80;   /* n-400 */
  --faint:      #7a7165;   /* n-500 */

  /* gold gradient for display type and the primary button */
  --brush: linear-gradient(168deg, #f7e9cd 0%, #e9c176 38%, #f1dcb2 55%, #e0b368 78%, #ebd2a0 100%);
  --brush-flat: linear-gradient(180deg, #ebd2a0 0%, #e9c176 55%, #e0b368 100%);

  --radius:   6px;
  --radius-l: 12px;

  --ff-display: "Libre Caslon Text", "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --ff-ui: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ff-mono: "Azeret Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gut: clamp(20px, 5vw, 64px);
  --maxw: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff-ui);
  background: var(--ink);
  color: var(--text-2);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "cv11", "ss01";
}

/* the dashboard's two radial glows — gold top-left, warmer gold bottom-right */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1100px 700px at 12% -10%, rgba(233,193,118,0.05), transparent 60%),
    radial-gradient(900px 600px at 100% 100%, rgba(255,204,102,0.035), transparent 60%);
}

.wrap { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }

/* ============================ type ============================ */

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--faint);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim)); }
.eyebrow.center::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--gold-dim), transparent); }

h1, h2, h3 { font-weight: 400; line-height: 1.06; letter-spacing: -0.01em; color: var(--text); }

/* The site's headline personality: roman, with one word in gold italic. */
.display { font-family: var(--ff-display); font-weight: 700; }
.display em { font-style: italic; font-weight: 400; color: var(--gold); }

h2.display { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-family: var(--ff-ui); font-weight: 600; font-size: clamp(1.02rem, 1.6vw, 1.2rem); letter-spacing: -0.005em; line-height: 1.3; }

.lede { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--muted); max-width: 60ch; line-height: 1.72; }
.body-sm { font-size: 0.925rem; color: var(--muted); line-height: 1.7; }

/* ============================ buttons ============================ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-ui); font-weight: 700; font-size: 13.5px; letter-spacing: 0.02em;
  padding: 17px 34px; border-radius: 10px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.7,.3,1), box-shadow .25s ease, border-color .25s ease, color .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-deep); color: #1a1408;
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 12px 34px -10px var(--gold-glow);
}
.btn-primary:hover { background: var(--gold); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 18px 44px -10px rgba(233,193,118,0.38); }
.btn-primary:disabled { opacity: .7; cursor: default; transform: none; }

.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--gold-dim); color: var(--gold-hi); background: rgba(233,193,118,0.05); transform: translateY(-2px); }

/* ============================ sections ============================ */

section { position: relative; z-index: 2; padding: clamp(64px, 9vw, 108px) 0; }
.section-head { margin-bottom: clamp(34px, 5vw, 56px); }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }

.idx { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.22em; color: var(--faint); }

/* ============================ cards ============================ */

.card {
  position: relative; background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 30px 28px; overflow: hidden;
  transition: border-color .3s ease, transform .3s cubic-bezier(.2,.7,.3,1);
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }

/* ============================ placeholder frames ============================ */

.ph {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(233,193,118,0.025) 0 2px, transparent 2px 9px),
    var(--panel);
  border: 1px solid var(--line-2); border-radius: var(--radius-l);
  color: var(--faint); overflow: hidden;
}
.ph-label { font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-dim); }
.ph-note { font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.12em; color: var(--faint); }
.ph .tick { position: absolute; width: 11px; height: 11px; border: 1px solid var(--gold-dim); opacity: .6; }
.ph .tick.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.ph .tick.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.ph .tick.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.ph .tick.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

/* ============================ footer ============================ */

footer {
  position: relative; z-index: 2; text-align: center;
  border-top: 1px solid var(--line); background: var(--ink-2);
  padding: clamp(38px, 5vw, 52px) 0 clamp(30px, 4vw, 40px);
}
.foot-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.foot-mark {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: 50% 35%;
  border: 1px solid var(--line-2); box-shadow: 0 0 0 3px rgba(233,193,118,0.06);
}
.foot-name {
  font-family: var(--ff-display); font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold);
}
.socials { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; }
.socials a {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px;
  transition: color .22s ease, border-color .22s ease, background .22s ease;
}
.socials a:hover { color: var(--gold-hi); border-color: var(--gold-dim); background: rgba(233,193,118,0.05); }
.socials svg { width: 13px; height: 13px; fill: currentColor; }
.foot-legal {
  max-width: 82ch; margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 11px; line-height: 1.8; color: var(--faint);
}
.foot-copy { font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }

/* ============================ faq ============================ */

.faq { border-top: 1px solid var(--line); max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-family: var(--ff-ui); font-weight: 600; font-size: clamp(0.98rem, 1.3vw, 1.06rem); color: var(--text); transition: color .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-hi); }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px;
  border-right: 1px solid var(--faint); border-bottom: 1px solid var(--faint);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s ease, border-color .3s ease;
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); border-color: var(--gold); }
.faq .ans { padding: 0 40px 26px 0; color: var(--muted); line-height: 1.75; font-size: 0.94rem; }

/* ============================ reveal on scroll ============================ */

html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
html.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  html.js .rv { opacity: 1; transform: none; }
}
