/* Shyra · base: tokens, reset, nav, buttons, blob mascot, footer
   Design system adapted from the original Shyra landing explorations
   (Instrument Serif + Geist, warm cream canvas, gradient accent). */

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

:root {
  --cream: #ffffff;
  --cream2: #f5f5f3;
  --cream3: #e8e8e5;
  --ink: #0f0f0e;
  --ink2: #3d3c38;
  --ink3: #7a7870;
  --ink4: #b0aea8;
  --border: rgba(15, 15, 14, .1);
  --border2: rgba(15, 15, 14, .06);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --grad: linear-gradient(135deg, #f97316 0%, #ec4899 40%, #a855f7 75%, #6366f1 100%);
  --good: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 60px;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }

::selection { background: #f4d9c6; color: var(--ink); }
:focus-visible { outline: 2px solid #a855f7; outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 300;
  background: var(--ink); color: #fff; padding: .6rem 1rem;
  border-radius: 8px; font-weight: 600; transition: top 200ms;
}
.skip-link:focus { top: 1rem; }

/* ─── scroll reveal ─── */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: .06s } .d2 { transition-delay: .12s } .d3 { transition-delay: .18s }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ─── nav ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 60px; padding: 0 32px; display: flex; align-items: center;
}
.nav-bg {
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: .5px solid rgba(15, 15, 14, .08);
}
.nav-inner {
  position: relative; z-index: 1; width: 100%; max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-logo-blob {
  width: 30px; height: 30px; border-radius: 50%; background: #f4f3f0;
  box-shadow: inset -3px -4px 8px rgba(0,0,0,.1), inset 2px 3px 6px rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0;
}
.nav-blob-eye { width: 5px; height: 5px; border-radius: 50%; background: #111; }
.nav-wordmark { font-family: var(--serif); font-size: 20px; font-style: italic; letter-spacing: -.3px; }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a {
  font-size: 13px; color: var(--ink3); text-decoration: none;
  padding: 7px 14px; border-radius: 100px; transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); background: rgba(15,15,14,.05); }
.nav-cta {
  background: var(--grad); color: #fff; font-family: var(--sans);
  font-size: 13px; font-weight: 500; padding: 9px 22px; border-radius: 100px;
  border: none; cursor: pointer; transition: opacity .15s, transform .2s;
  box-shadow: 0 2px 14px rgba(168,85,247,.3); white-space: nowrap; text-decoration: none;
  display: inline-block;
}
.nav-cta:hover { opacity: .88; transform: translateY(-1px); }

@media (max-width: 860px) { .nav-links { display: none; } }

/* ─── buttons ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad); color: #fff; font-family: var(--sans);
  font-size: 15px; font-weight: 500; padding: 14px 32px; border-radius: 100px;
  text-decoration: none; border: none; cursor: pointer;
  transition: opacity .15s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 24px rgba(168,85,247,.35);
}
.btn-primary:hover { opacity: .88; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(168,85,247,.45); }
.btn-outline {
  display: inline-block; background: transparent; color: var(--ink2);
  font-family: var(--sans); font-size: 15px; padding: 14px 28px; border-radius: 100px;
  text-decoration: none; border: 1px solid var(--border); transition: all .15s; cursor: pointer;
}
.btn-outline:hover { border-color: rgba(15,15,14,.3); color: var(--ink); }
.btn-block { width: 100%; text-align: center; justify-content: center; }

/* ─── shared section scaffolding ─── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 36px; }
.section-tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); display: block; margin-bottom: 14px; }
.section-h { font-family: var(--serif); font-size: clamp(36px, 5vw, 68px); font-weight: 400; letter-spacing: -1.5px; line-height: 1.04; }
.section-h em { font-style: italic; }
.section-p { font-size: 16px; color: var(--ink2); font-weight: 300; line-height: 1.75; max-width: 480px; margin-top: 14px; }
.section-center { text-align: center; }
.section-center .section-p { margin: 14px auto 0; }

/* ─── footer ─── */
footer { background: var(--cream2); border-top: 1px solid var(--border2); padding: 52px 36px; }
.footer-inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 240px 1fr auto; gap: 40px; align-items: start; }
.footer-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; margin-bottom: 10px; }
.footer-logo-text { font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--ink); }
.footer-copy { font-size: 12px; color: var(--ink3); line-height: 1.7; }
.footer-cols { display: flex; gap: 52px; flex-wrap: wrap; }
.fc-col h4 { font-size: 10px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); margin-bottom: 12px; }
.fc-col ul { display: flex; flex-direction: column; gap: 8px; }
.fc-col a { font-size: 13px; color: var(--ink2); text-decoration: none; transition: color .15s; }
.fc-col a:hover { color: var(--ink); }
.footer-serving { font-size: 12px; color: var(--ink3); line-height: 1.9; }
.footer-serving strong { color: var(--ink2); font-weight: 500; }

@media (max-width: 767px) {
  .footer-inner { grid-template-columns: 1fr; }
}
