/* Amino — hireamino.com — light "Gulf" theme, pinned headline + scroll-cycled predicates */

:root {
  --bg-top:   #E7F3F8;   /* powder Gulf blue */
  --bg-bot:   #F7FBFC;   /* near-white */
  --ink:      #0C2A37;   /* deep teal-navy */
  --muted:    #5E7D8B;
  --blue:     #2BA6D6;   /* Gulf blue */
  --blue-dk:  #1C7FAE;
  --orange:   #F2671F;   /* Gulf orange */
  --hairline: rgba(12,42,55,0.12);
  --grad: linear-gradient(95deg, var(--orange), #F59331);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bot) 60%);
  -webkit-font-smoothing: antialiased;
}

/* Animated field behind everything */
#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }

/* Pinned chrome */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(22px, 4vw, 48px);
}
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); }
.wordmark-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 0 4px rgba(242,103,31,0.16);
  animation: breathe 3.2s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { opacity:.85; } 50% { opacity:1; box-shadow: 0 0 0 6px rgba(242,103,31,0.22); } }
.cta {
  font-size: 14px; font-weight: 600; color: #fff; text-decoration: none;
  background: var(--orange); padding: 10px 18px; border-radius: 999px;
  transition: transform .15s, box-shadow .15s;
}
.cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(242,103,31,0.35); }

.brandmark {
  position: fixed; right: clamp(22px,4vw,48px); bottom: 20px; z-index: 10;
  font-weight: 600; font-size: 15px; letter-spacing: .04em; color: rgba(12,42,55,0.45);
  text-decoration: none; transition: color .2s;
}
.brandmark:hover { color: var(--orange); }
.baseline {
  position: fixed; left: clamp(22px,4vw,48px); bottom: 20px; z-index: 10;
  font-size: 12.5px; color: rgba(12,42,55,0.42);
}

/* Pinned stage */
main { position: relative; z-index: 2; }
.stage { height: 340vh; position: relative; }
.stage-pin {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px;
}

.line { margin: 0; font-family: 'Newsreader', Georgia, serif; font-weight: 400; letter-spacing: -0.01em; color: var(--ink); }
.pre { display: block; font-size: clamp(30px, 5vw, 64px); line-height: 1.04; }
.pred-slot { position: relative; display: block; height: 1.3em; margin-top: 14px; width: 100%; }
.pred-slot .pred { position: absolute; left: 0; right: 0; opacity: 0; }
.pred { font-size: clamp(25px, 4.2vw, 52px); line-height: 1.1; color: var(--ink); }
.pred em { font-style: italic; color: var(--orange); }
.closing .pred em { color: var(--blue-dk); }
.pred.static { position: static; opacity: 1; }

.scrollcue { margin-top: 44px; font-family: 'Inter'; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.chev { font-size: 18px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

.progress { position: absolute; bottom: 12vh; display: inline-flex; gap: 9px; }
.progress i { width: 7px; height: 7px; border-radius: 50%; background: rgba(12,42,55,0.18); transition: background .3s, transform .3s; }
.progress i.on { background: var(--orange); transform: scale(1.25); }

/* Closing */
.panel { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; }
.closing .pred { position: static; }
.btn {
  margin-top: 34px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 16px; text-decoration: none;
  color: #fff; background: var(--blue-dk); padding: 14px 26px; border-radius: 999px;
  border: none; appearance: none; -webkit-appearance: none; cursor: pointer;
  transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); background: var(--blue); }

/* Waitlist form */
.waitlist { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.waitlist input {
  font-family: 'Inter', sans-serif; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--hairline); border-radius: 999px;
  padding: 13px 20px; min-width: 210px;
}
.waitlist input::placeholder { color: var(--muted); }
.waitlist input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,103,31,0.16); }
.waitlist .btn { margin-top: 0; }
.consent { margin-top: 16px; font-size: 12.5px; color: var(--muted); max-width: 420px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wordmark-dot, .chev { animation: none; }
  .pred-slot .pred { transition: none; }
}

/* ---------- Top nav (blog link) ---------- */
.topnav { display: flex; align-items: center; gap: 22px; }
.topnav .navlink { font-size: 14px; font-weight: 500; color: var(--ink); opacity: .82; text-decoration: none; }
.topnav .navlink:hover { color: var(--orange); opacity: 1; }

/* ---------- Blog ---------- */
.blog-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(22px,4vw,48px); }
.blog-nav .wordmark { font-size: 19px; }
.blog-nav .back { font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; }
.blog-nav .back:hover { color: var(--orange); }
.blog-wrap { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; padding: 132px 24px 96px; }

.blog-head h1 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: clamp(34px,6vw,54px); letter-spacing: -0.02em; color: var(--ink); margin: 0; }
.blog-head p { color: var(--muted); font-size: 18px; margin: 14px 0 0; max-width: 560px; line-height: 1.5; }
.post-list { list-style: none; padding: 0; margin: 44px 0 0; }
.post-list li { padding: 26px 0; border-bottom: 1px solid var(--hairline); }
.post-list a { text-decoration: none; display: block; }
.post-list h2 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: 27px; line-height: 1.2; color: var(--ink); margin: 0 0 8px; transition: color .15s; }
.post-list a:hover h2 { color: var(--orange); }
.post-list .dek { color: var(--muted); font-size: 17px; margin: 0; line-height: 1.5; }

.post-title { font-family: 'Newsreader', Georgia, serif; font-weight: 400; font-size: clamp(32px,5.2vw,52px); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 18px; }
.post-dek { font-family: 'Newsreader', Georgia, serif; font-style: italic; font-size: 21px; line-height: 1.5; color: var(--muted); margin: 0 0 44px; }
.post-body p { font-size: 18px; line-height: 1.72; color: #24414E; margin: 0 0 24px; }
.post-body strong { color: var(--ink); font-weight: 600; }
.post-body em { font-style: italic; }
.post-cta { margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--hairline); display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.post-cta .primary { color: #fff; background: var(--orange); padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; }
.post-cta .sec { color: var(--muted); text-decoration: none; font-size: 15px; }
