/* sawgrove.com — one stylesheet. Brand: brand/BRAND.md (charcoal, ember, bone, forest; Barlow Condensed + Inter). */
@font-face { font-family: "Barlow Condensed"; src: url(/fonts/barlow-condensed-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(/fonts/barlow-condensed-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url(/fonts/barlow-condensed-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --charcoal: #141A16; --charcoal-2: #1B231E; --ember: #D98E2B; --ember-hi: #F0A94A; --bone: #F4F1EA; --bone-2: #E9E4D8;
  --forest: #1F3A2B; --night: #16264A; --night-2: #0F1B36; --ice: #CFE3F5; --ink-soft: #4A554E;
  --head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif; --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px; --gut: clamp(20px, 5vw, 56px); --r: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bone); color: var(--charcoal); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; letter-spacing: .02em; line-height: .98; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ember); color: var(--charcoal); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(12px + var(--sat)); }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
.eyebrow { text-wrap: balance; line-height: 1.5 !important; font: 600 13px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--ember); margin-bottom: 22px; }
.eyebrow-ice { color: var(--ice); opacity: .85; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: #D9DDD5; max-width: 34em; }
.lede-dark { color: var(--ink-soft); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .55em; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--body); text-decoration: none; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s; white-space: nowrap; }
.btn span { transition: transform .25s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-ember { background: var(--ember); color: var(--charcoal); box-shadow: 0 10px 30px -10px rgba(217,142,43,.7); }
.btn-ember:hover { background: var(--ember-hi); box-shadow: 0 16px 40px -12px rgba(217,142,43,.85); }
.btn-ghost { color: var(--bone); box-shadow: inset 0 0 0 1.5px rgba(244,241,234,.35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--bone); }
.btn-ghost-dark { color: var(--charcoal); box-shadow: inset 0 0 0 1.5px rgba(20,26,22,.3); }
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 1.5px var(--charcoal); }
.link-arrow { display: inline-flex; gap: .5em; font-weight: 600; color: var(--ice); text-decoration: none; border-bottom: 1.5px solid rgba(207,227,245,.35); padding-bottom: 3px; transition: border-color .25s, gap .25s var(--ease); }
.link-arrow:hover { border-color: var(--ice); gap: .8em; }

/* navigation: transparent over the hero, solid bone once you scroll */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: var(--sat); transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.nav-in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bone); }
/* the real lockup files (BRAND.md: never retype the wordmark): light on the dark top, charcoal once the nav is solid */
.lock { height: 30px; width: auto; }
.lock-light { display: none; }
.nav.solid .lock-dark, .nav.open .lock-dark { display: none; }
.nav.solid .lock-light, .nav.open .lock-light { display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--bone); text-decoration: none; font-weight: 500; font-size: 15px; opacity: .85; transition: opacity .2s; }
.nav-links a:hover, .nav-links a[aria-current] { opacity: 1; }
.nav-links a[aria-current] { box-shadow: 0 2px 0 var(--ember); }
.nav-links .nav-cta { opacity: 1; padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(244,241,234,.4); }
.nav.solid, .light-top .nav { background: rgba(244,241,234,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(20,26,22,.08); }
.nav.solid .brand, .nav.solid .nav-links a, .light-top .nav .brand, .light-top .nav .nav-links a { color: var(--charcoal); }
.nav.solid .nav-cta, .light-top .nav .nav-cta { box-shadow: inset 0 0 0 1.5px rgba(20,26,22,.3); }
.nav-toggle { display: none; }

/* hero */
.hero { position: relative; min-height: 100svh; background: radial-gradient(120% 90% at 70% 10%, #26332B 0%, var(--charcoal) 55%) ; color: var(--bone); overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.hero-snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-ridges { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: min(58vh, 520px); z-index: 0; }
.hero-ridges .r { will-change: transform; }
.hero-ridges .r3 { fill: #1D2821; }
.hero-ridges .r2 { fill: #18211B; }
.hero-ridges .r1 { fill: var(--charcoal); }
.hero-in { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: calc(120px + var(--sat)) var(--gut) 140px; }
.hero-mark { width: clamp(64px, 7vw, 92px); height: auto; margin-bottom: 34px; overflow: visible; }
.hero-mark path { fill: var(--ember); fill-opacity: 0; stroke: var(--ember); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) .2s forwards, fillin .7s ease 1.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillin { to { fill-opacity: 1; } }
.hero h1 { font-size: clamp(56px, 9.2vw, 132px); letter-spacing: .01em; margin-bottom: 28px; }
.hero .eyebrow, .hero h1, .hero .lede, .hero-cta { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.hero .eyebrow { animation-delay: .35s; } .hero h1 { animation-delay: .5s; } .hero .lede { animation-delay: .7s; } .hero-cta { animation-delay: .85s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-scroll { position: absolute; z-index: 2; left: 50%; bottom: calc(26px + var(--sab)); width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(244,241,234,.35); }
.hero-scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--bone); animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Bearfall feature */
.bf { position: relative; background: linear-gradient(180deg, var(--charcoal) 0, var(--night) 18%, var(--night-2) 100%); color: var(--bone); padding: clamp(90px, 12vw, 170px) var(--gut) clamp(70px, 9vw, 120px); overflow: hidden; }
.bf::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 78% 38%, rgba(217,142,43,.16), transparent 70%); pointer-events: none; }
.bf-in { position: relative; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.bf-logo { width: min(380px, 80%); height: auto; margin: 6px 0 22px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.bf-tag { font: 600 clamp(22px, 2.2vw, 28px)/1.1 var(--head); letter-spacing: .03em; color: var(--ice); margin-bottom: 18px; }
.bf-copy p { color: #C9D3DF; max-width: 30em; }
.phones { position: relative; height: clamp(420px, 48vw, 640px); }
.phone { position: absolute; margin: 0; top: 50%; left: 50%; width: clamp(150px, 18vw, 250px); aspect-ratio: 360 / 780; border-radius: 30px; padding: 7px; background: linear-gradient(145deg, #2A3448, #0B1222); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.08); will-change: transform; transition: transform 1s var(--ease); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.phone-c { z-index: 3; width: clamp(180px, 21vw, 290px); transform: translate(-50%, -50%); }
.phone-l { z-index: 2; transform: translate(-128%, -46%) rotate(-7deg); }
.phone-r { z-index: 1; transform: translate(28%, -46%) rotate(7deg); }
.fair { position: relative; max-width: var(--wrap); margin: clamp(70px, 8vw, 110px) auto 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(207,227,245,.14); border-radius: var(--r); overflow: hidden; }
.fair li { background: rgba(15,27,54,.92); padding: 26px 24px; color: #AFBBCB; font-size: 15px; line-height: 1.45; }
.fair strong { display: block; font: 600 24px/1 var(--head); letter-spacing: .03em; color: var(--bone); margin-bottom: 8px; }

/* studio */
.studio { padding: clamp(90px, 12vw, 160px) var(--gut); background: var(--bone); }
.studio-in { max-width: var(--wrap); margin: 0 auto; }
.studio-head h2 { font-size: clamp(48px, 7vw, 96px); margin-bottom: 26px; }
.principles { list-style: none; padding: 0; margin: clamp(56px, 7vw, 90px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.principles li { border-top: 1.5px solid var(--charcoal); padding-top: 22px; }
.principles .num { display: block; font: 600 15px/1 var(--head); letter-spacing: .12em; color: var(--ember); margin-bottom: 18px; }
.principles h3 { font-size: clamp(26px, 2.4vw, 32px); margin-bottom: 14px; }
.principles p { color: var(--ink-soft); font-size: 16px; }

/* contact band */
.contact { padding: clamp(80px, 10vw, 140px) var(--gut); background: var(--bone-2); position: relative; overflow: hidden; }
.contact::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 420px; height: 420px; background: url(/img/sawgrove-mark-ember.svg) no-repeat center / contain; opacity: .09; transform: rotate(0deg); pointer-events: none; }
.contact-in { position: relative; max-width: var(--wrap); margin: 0 auto; }
.contact h2 { font-size: clamp(52px, 8vw, 110px); margin-bottom: 16px; }
.contact p { color: var(--ink-soft); font-size: 19px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* footer */
.foot { background: var(--charcoal); color: #AEB6AE; padding: 80px var(--gut) calc(34px + var(--sab)); }
.foot-in { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.foot-brand p { margin-top: 18px; max-width: 22em; font-size: 15px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot-cols h2 { font: 600 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--bone); margin-bottom: 16px; }
.foot-cols a { display: block; color: #AEB6AE; text-decoration: none; font-size: 15px; margin-bottom: 10px; overflow-wrap: anywhere; transition: color .2s; }
.foot-cols a:hover { color: var(--bone); }
.foot-base { max-width: var(--wrap); margin: 64px auto 0; padding-top: 24px; border-top: 1px solid rgba(244,241,234,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; }
.foot-base p { margin: 0; }

/* inner pages (Bearfall, Support, legal) */
.page-hero { background: var(--charcoal); color: var(--bone); padding: calc(150px + var(--sat)) var(--gut) clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.page-hero-in { max-width: var(--wrap); margin: 0 auto; position: relative; }
.page-hero h1 { font-size: clamp(52px, 8vw, 104px); margin-bottom: 20px; }
.prose { max-width: 760px; margin: 0 auto; padding: clamp(60px, 8vw, 100px) var(--gut); }
.prose h2 { font-size: clamp(30px, 3.4vw, 40px); margin: 1.8em 0 .5em; }
.prose h3 { font-size: 24px; margin: 1.5em 0 .4em; }
.prose p, .prose li { color: #2E3731; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose a { color: var(--forest); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose .meta { color: var(--ink-soft); font-size: 15px; }
.callout { background: var(--bone-2); border-left: 4px solid var(--ember); border-radius: 0 14px 14px 0; padding: 18px 22px; margin: 1.6em 0; }
.callout p:last-child { margin: 0; }

/* Bearfall page */
.bf-page .page-hero { background: radial-gradient(90% 70% at 75% 20%, #243A6A 0%, var(--night) 45%, var(--night-2) 100%); }
.bfp-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.bfp-hero-grid .bf-logo { width: min(460px, 90%); margin: 0 0 26px; }
.bfp-hero-grid .phone { position: relative; top: auto; left: auto; transform: rotate(4deg); margin: 0 auto; width: clamp(200px, 24vw, 300px); }
.badge-soon { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: rgba(207,227,245,.1); box-shadow: inset 0 0 0 1px rgba(207,227,245,.25); color: var(--ice); font-weight: 500; font-size: 15px; }
.badge-soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px rgba(217,142,43,.25); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; max-width: var(--wrap); margin: 0 auto; padding: clamp(60px, 8vw, 110px) var(--gut); }
.feature:nth-child(even) .feature-img { order: -1; }
.feature h2 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 20px; }
.feature p { color: var(--ink-soft); font-size: 18px; max-width: 30em; }
.feature .eyebrow { margin-bottom: 16px; }
.feature-img { display: flex; justify-content: center; }
.feature-img .phone { position: relative; top: auto; left: auto; transform: none; width: clamp(200px, 22vw, 280px); }
.features-dark { background: var(--night-2); color: var(--bone); }
.features-dark .feature p { color: #B7C3D3; }
.stats { max-width: var(--wrap); margin: 0 auto; padding: clamp(60px, 8vw, 100px) var(--gut); display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: left; }
.stats div { border-top: 1.5px solid var(--charcoal); padding-top: 18px; }
.stats b { display: block; font: 600 clamp(44px, 5vw, 64px)/1 var(--head); color: var(--charcoal); }
.stats span { color: var(--ink-soft); font-size: 15px; }
.faq { max-width: 820px; margin: 0 auto; padding: 0 var(--gut) clamp(70px, 9vw, 120px); }
.faq h2 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 20px; }
.faq details { border-bottom: 1px solid rgba(20,26,22,.15); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; font: 600 22px/1.25 var(--head); letter-spacing: .02em; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 28px/1 var(--body); color: var(--ember); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; color: var(--ink-soft); }

/* 404 */
.lost { min-height: 100svh; display: flex; align-items: center; background: var(--charcoal); color: var(--bone); padding: 120px var(--gut); }
.lost-in { max-width: var(--wrap); margin: 0 auto; width: 100%; }
.lost h1 { font-size: clamp(64px, 12vw, 180px); margin-bottom: 18px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.principles li.reveal:nth-child(2) { transition-delay: .1s; } .principles li.reveal:nth-child(3) { transition-delay: .2s; }

/* phones and tablets */
@media (max-width: 900px) {
  .bf-in, .bfp-hero-grid, .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-img { order: 0; }
  .phones { height: clamp(380px, 100vw, 540px); }
  .fair { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; position: relative; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; margin-right: -8px; }
  .nav-toggle span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
  .nav-toggle { color: var(--bone); }
  .nav.solid .nav-toggle, .light-top .nav .nav-toggle, .nav.open .nav-toggle { color: var(--charcoal); }
  .nav-toggle span:nth-child(1) { top: 17px; } .nav-toggle span:nth-child(2) { top: 25px; }
  .nav.open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); } .nav.open .nav-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
  .nav-links { position: fixed; inset: calc(72px + var(--sat)) 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 26px; background: var(--bone); box-shadow: 0 30px 40px -20px rgba(0,0,0,.35); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .3s; }
  .nav.open { background: var(--bone); }
  .nav.open .brand { color: var(--charcoal); }
  .nav.open .nav-links { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { color: var(--charcoal) !important; font: 600 28px/1 var(--head); letter-spacing: .03em; padding: 16px 0; border-bottom: 1px solid rgba(20,26,22,.1); opacity: 1; }
  .nav-links a[aria-current] { box-shadow: none; color: var(--ember) !important; }
  .nav-links .nav-cta { box-shadow: none !important; padding: 16px 0; border-radius: 0; }
  .hero-in { padding-bottom: 170px; }
  .phone-l { transform: translate(-118%, -44%) rotate(-7deg); } .phone-r { transform: translate(18%, -44%) rotate(7deg); }
  .fair { grid-template-columns: 1fr; }
  .foot-base { flex-direction: column; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* reduced motion: everything is already where it belongs */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-mark path { stroke-dashoffset: 0; fill-opacity: 1; }
}

.faq-top { padding-top: clamp(60px, 8vw, 100px); }
.faq-top h2 { font-size: clamp(36px, 4vw, 52px); }
