/* ==========================================================================
   Gus Hill — Montana's Okayest Barber — design system
   Cool steel-blue accent on near-black. Bebas Neue display + Outfit body.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg:         oklch(10% 0.005 240);
  --bg-alt:     oklch(12% 0.005 240);
  --bg-card:    oklch(14% 0.006 240);
  --bg-card-2:  oklch(16% 0.006 240);
  /* Accent (steel blue) */
  --accent:     oklch(58% 0.10 230);
  --accent-2:   oklch(70% 0.08 225);
  --accent-dim: oklch(58% 0.10 230 / 0.14);
  /* Text */
  --fg:         oklch(96% 0.003 80);
  --muted:      oklch(80% 0.006 80);
  --muted-2:    oklch(64% 0.01 240);
  --dim:        oklch(52% 0.01 240);
  /* Lines */
  --border:     oklch(100% 0 0 / 0.09);
  --border-soft: oklch(100% 0 0 / 0.05);
  /* Type */
  --display: 'Bebas Neue', sans-serif;
  --serif:   'Cormorant Garamond', Georgia, serif;
  --script:  'Amatic SC', cursive;
  --body:    'Outfit', sans-serif;
  /* Layout */
  --maxw: 1120px;
  --radius: 10px;
  --ease: 0.22s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; }

/* Accessibility ----------------------------------------------------------- */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #fff;
  padding: 10px 18px; font-weight: 600; z-index: 10000; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; top: 0; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Layout helpers ---------------------------------------------------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: 24px; }
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }

/* Section head with number + kicker (the "01 / ABOUT" motif) */
.sec-head { margin-bottom: 56px; }
.sec-num {
  font-family: var(--display);
  font-size: clamp(52px, 9vw, 92px);
  line-height: 0.8;
  color: var(--accent);
  opacity: 0.22;
  letter-spacing: 2px;
}
.sec-kicker {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 10px 0 14px;
}
.sec-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: 0.5px;
  color: var(--fg);
}
.sec-head > p { color: var(--muted-2); font-size: 17px; max-width: 620px; margin-top: 14px; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 14px;
  letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
  padding: 15px 30px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #06121f; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-2px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 9999;
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--ease), border-color var(--ease), padding var(--ease);
}
.site-header.scrolled {
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  border-bottom-color: var(--border);
}
.nav {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; transition: padding var(--ease);
}
.site-header.scrolled .nav { padding: 12px 24px; }
.nav-brand { display: flex; align-items: center; gap: 11px; }
.nav-brand-logo { height: 40px; width: auto; display: block; transition: transform var(--ease); }
.nav-brand:hover .nav-brand-logo { transform: rotate(-6deg); }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav-brand-name { font-family: var(--display); font-size: 26px; letter-spacing: 2px; color: var(--fg); }
.nav-brand-tag { font-family: var(--script); font-size: 17px; line-height: 1; letter-spacing: 0.4px; color: var(--accent-2); margin-top: 2px; font-weight: 700; }
.site-header.scrolled .nav-brand-logo { height: 34px; }
.nav-right { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  color: var(--muted); font-size: 13px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; transition: color var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-book { padding: 11px 24px; font-size: 13px; }

.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-burger span { width: 26px; height: 2px; background: var(--fg); border-radius: 2px; transition: var(--ease); }

@media (max-width: 880px) {
  .nav-burger { display: flex; }
  .nav-right {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); flex-direction: column; align-items: stretch; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height 0.32s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav-right.open { max-height: 460px; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-links a { padding: 17px 24px; border-top: 1px solid var(--border-soft); font-size: 15px; }
  .nav-book { margin: 16px 24px 22px; padding: 15px; font-size: 14px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 56px 0 44px; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.footer-brand-logo { height: 46px; width: auto; display: block; }
.footer-brand-text { display: flex; flex-direction: column; line-height: 1; text-align: left; }
.footer-brand-name { font-family: var(--display); font-size: 30px; letter-spacing: 2px; color: var(--fg); }
.footer-brand-tag { font-family: var(--script); font-size: 19px; line-height: 1; letter-spacing: 0.4px; color: var(--accent-2); margin-top: 3px; font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-bottom: 24px; }
.footer-links a { color: var(--muted-2); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; transition: color var(--ease); }
.footer-links a:hover { color: var(--accent-2); }
.footer-meta { color: var(--dim); font-size: 13px; line-height: 1.9; }
.footer-meta a { color: var(--dim); }
.footer-meta a:hover { color: var(--accent-2); }
