/* Stidham's Lounge — global styles and design system
   Tokens, reset, typography, buttons, layout helpers. Loaded on every page.
   Shared components: components.css. Page styles: home/services/about.css etc..
   Motion: animations.css. Screen sizes: responsive.css. */

/* =========================================================
   TOKENS
   ========================================================= */
:root {
  /* Palette */
  --charcoal:     #0f0e0c;
  --charcoal-2:   #161411;
  --walnut:       #2a2018;
  --walnut-line:  #3a2e23;
  --olive:        #858c55;   /* buttons, fills */
  --olive-hover:  #979e64;
  --olive-text:   #a7ae72;   /* olive on dark backgrounds */
  --amber:        #d9a35b;
  --cream:        #f1eadb;
  --muted:        #b8ae9c;
  --ink:          #12110d;   /* text on olive */
  --line:         rgba(241, 234, 219, .14);

  /* Type */
  --font-display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --font-script:  "Kaushan Script", "Brush Script MT", cursive;
  --font-body:    "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* =========================================================
   RESET + BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--cream);
  font: 400 1rem/1.6 var(--font-body);
  overflow-x: hidden;
}
/* Fine film grain over everything; very low opacity. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

.sprite { position: absolute; }
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--olive); color: var(--ink);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.eyebrow {
  font: 500 .8rem/1.2 var(--font-body);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--olive-text);
}
.section-title {
  font: 400 clamp(2.2rem, 4.4vw, 3.4rem)/.95 var(--font-display);
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 48px; padding: 0 1.6em;
  border: 1px solid transparent; border-radius: var(--radius);
  font: 700 .82rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .icon { transition: transform .25s var(--ease); }
.btn-olive { background: var(--olive); color: var(--ink); }
.btn-olive:hover { background: var(--olive-hover); }
.btn-olive:hover .icon:last-child:not(:first-child) { transform: translateX(3px); } /* trailing arrows only */
/* Lift only where hover is real, so taps on touch screens don't leave buttons raised. */
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(0); }
}
.btn-sm { min-height: 42px; padding: 0 1.2em; font-size: .74rem; }
