/* Shared base for the Ans landing site. Tokens come from the Cellar reference (dev.alfaos.im site-mock):
   cream / paper / stone grounds, deep navy, antique brass, garnet (oxblood) used sparingly. */
:root {
  --cream: #f4f0e6;
  --paper: #fbf9f4;
  --stone: #eae4d6;
  --ink: #1a1a18;
  --ink-soft: #423a31;      /* 10.6:1 on cream */
  --navy: #16213c;
  --navy-deep: #0e1628;
  --brass: #b08d4f;
  --brass-dk: #6f5526;      /* 6.1:1 on cream: use for small text on light grounds */
  --brass-lt: #d6b98a;      /* 9.4:1 on navy-deep: use for text on dark grounds */
  --garnet: #7a1f2b;
  --white: #fefdfb;
  --serif: "Cormorant Garamond", "Times New Roman", Times, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Pinyon Script", "Times New Roman", serif;
  --gut: clamp(20px, 5vw, 72px);
  --col: 1120px;
  --radius: 18px;
  --shadow: 0 1px 1px #22262e26, 0 6px 14px #22262e17, 0 18px 36px #22262e0d;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--cream); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--col) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }

/* small letter-spaced capitals above each section */
.eyebrow { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass-dk); margin: 0 0 14px; }
.on-dark .eyebrow { color: var(--brass-lt); }

/* header */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid #1a1a1815; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.wordmark { font-family: var(--script); font-size: 2.1rem; line-height: 1; text-decoration: none; color: var(--navy); }
.site-nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 28px); }
.site-nav a { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft); padding: 10px 2px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--brass); }
.site-nav .pill { margin-left: 4px; }

/* buttons: one gold pill, one quiet outline */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 999px; background: var(--brass); color: var(--navy-deep); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border: 0; transition: background .2s, transform .2s; }
.pill:hover { background: var(--brass-lt); transform: translateY(-1px); }
.pill--navy { background: var(--navy); color: var(--white); }
.pill--navy:hover { background: var(--navy-deep); }
.ghost { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid currentColor; text-decoration: none; font-weight: 600; font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* sections */
.band { padding: clamp(64px, 10vw, 128px) 0; }
.band--stone { background: var(--stone); }
.band--navy { background: var(--navy); color: var(--cream); }
.band--navy h2 { color: var(--white); }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-soft); max-width: 40em; }
.on-dark .lede, .band--navy .lede { color: #e6e0d2; }

.footer { background: var(--navy-deep); color: #cfc8b8; padding: 48px 0; font-size: 0.92rem; }
.footer a { color: var(--brass-lt); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; }
.footer .wordmark { color: var(--white); font-size: 1.8rem; }

@media (max-width: 640px) {
  .site-nav a:not(.pill) { display: none; }
  .site-nav a[href^="/guestguru"] { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

.footer .tagline { margin: 8px 0 0; }
.eyebrow--lt { color: var(--brass-lt); }

/* the header pill keeps its own text colour on every page (nav-link colour must not win) */
.site-nav a.pill, body.gg .site-nav a.pill { color: var(--navy-deep); box-shadow: none; padding: 0 22px; }
.site-nav a.pill:hover, body.gg .site-nav a.pill:hover { color: var(--navy-deep); box-shadow: none; }
