/* QOSS Consulting — design system
   Palette: spruce (deep green), warm paper, brass. Display: Fraunces.
   Body: Public Sans. Ticket/utility: Courier Prime. */

@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url('/fonts/public-sans-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url('/fonts/public-sans-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Public Sans'; src: url('/fonts/public-sans-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Courier Prime'; src: url('/fonts/courier-prime-regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Courier Prime'; src: url('/fonts/courier-prime-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --spruce: #1B2A21;
  --spruce-90: rgba(27, 42, 33, .9);
  --pine: #2C4434;
  --cream: #FBFAF5;
  --paper: #F4F0E5;
  --ticket: #FFFDF4;
  --brass: #A9822F;
  --brass-bright: #C79A45;
  --body: #3A4138;
  --muted: #6C7268;
  --line: #E3DECE;
  --display: 'Fraunces', Georgia, serif;
  --sans: 'Public Sans', system-ui, sans-serif;
  --mono: 'Courier Prime', 'Courier New', monospace;
  --wrap: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--body); background: var(--cream); line-height: 1.65; font-size: 1.0625rem; }
img { max-width: 100%; display: block; }
a { color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pine); }
:focus-visible { outline: 3px solid var(--brass-bright); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; color: var(--spruce); line-height: 1.12; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: .6em; }
h3 { font-size: 1.3rem; margin-bottom: .4em; }

.eyebrow {
  font-family: var(--mono); font-size: .8rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brass);
  display: block; margin-bottom: 1em;
}
.on-dark .eyebrow { color: var(--brass-bright); }

/* ---------- top bar + header ---------- */
.topbar { background: var(--spruce); color: #cfd6cd; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #E9E4D2; text-decoration: none; }
.topbar a:hover { color: var(--brass-bright); }
.topbar .area { color: #96a29a; }
@media (max-width: 700px) { .topbar .area { display: none; } .topbar .wrap { justify-content: center; } }

.site-header { background: var(--cream); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 4px 24px rgba(27,42,33,.09); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand .name { font-family: var(--display); font-weight: 700; font-size: 1.7rem; color: var(--spruce); letter-spacing: -.01em; }
.brand .tag { font-family: var(--mono); font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--brass); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--spruce); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--brass); }
.nav a.active { color: var(--brass); }
.nav .btn { color: var(--cream); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--spruce); margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
         flex-direction: column; align-items: stretch; gap: 0;
         background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; margin-top: 10px; text-align: center; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- buttons ---------- */
.btn { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: .95rem;
       padding: 13px 26px; border-radius: 3px; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--spruce); color: #F6F3E8; }
.btn-primary:hover { background: var(--pine); color: #fff; }
.btn-brass { background: var(--brass-bright); color: var(--spruce); }
.btn-brass:hover { background: #d8ad58; color: var(--spruce); }
.btn-ghost { border-color: rgba(255,255,255,.65); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--spruce); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-veil { position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,32,25,.93) 0%, rgba(20,32,25,.72) 46%, rgba(20,32,25,.38) 100%); }
.hero-inner { position: relative; padding: clamp(88px, 13vw, 168px) 0; max-width: 720px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 3.9rem); margin-bottom: .35em; }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #E4E2D4; max-width: 560px; margin-bottom: 2em; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-sub { min-height: 0; }
.hero-sub .hero-inner { padding: clamp(70px, 9vw, 120px) 0; }

.load-rise { opacity: 0; transform: translateY(18px); animation: rise .7s ease forwards; }
.load-rise.d1 { animation-delay: .12s; } .load-rise.d2 { animation-delay: .24s; } .load-rise.d3 { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- trust strip ---------- */
.strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.strip ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; padding: 18px 0; }
.strip li { font-family: var(--mono); font-size: .82rem; letter-spacing: .06em; color: var(--pine); }
.strip li::before { content: "■ "; color: var(--brass); font-size: .6rem; vertical-align: 2px; }

/* ---------- sections ---------- */
.sec { padding: clamp(64px, 8vw, 104px) 0; }
.sec-paper { background: var(--paper); }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head p { color: var(--muted); }

/* duo cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 780px) { .duo { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
        display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(27,42,33,.05); }
.card img { height: 220px; object-fit: cover; width: 100%; }
.card-body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body p { color: var(--body); }
.fit { list-style: none; }
.fit li { padding: 7px 0 7px 26px; position: relative; border-top: 1px dashed var(--line); font-size: .95rem; }
.fit li::before { content: "✓"; position: absolute; left: 2px; color: var(--brass); font-weight: 700; }
.card-body .go { margin-top: auto; font-weight: 700; text-decoration: none; }
.honest { margin-top: 36px; padding: 22px 28px; background: var(--paper); border-left: 3px solid var(--brass);
          font-size: 1.02rem; color: var(--pine); max-width: 820px; }

/* ---------- guest check (signature) ---------- */
.check-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 880px) { .check-grid { grid-template-columns: 1fr; } }
.ticket-wrap { display: flex; justify-content: center; }
.ticket { background: var(--ticket); width: min(400px, 100%); padding: 30px 28px 6px; position: relative;
          font-family: var(--mono); color: #2E3128; font-size: .92rem; line-height: 1.55;
          transform: rotate(-1.4deg); box-shadow: 0 14px 34px rgba(27,42,33,.18); }
.ticket::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 9px;
  background: conic-gradient(from 135deg at 50% 0, var(--ticket) 90deg, #0000 0) 0 0 / 18px 9px repeat-x; }
.ticket header { text-align: center; border-bottom: 1px dashed #B8B49F; padding-bottom: 12px; margin-bottom: 12px; }
.ticket header strong { font-size: 1.02rem; letter-spacing: .08em; }
.ticket header span { display: block; font-size: .78rem; color: #6d6a58; margin-top: 3px; }
.ticket ol { list-style: none; }
.ticket ol li { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; }
.ticket ol li .item::before { content: counter(tk) "  "; counter-increment: tk; font-weight: 700; }
.ticket ol { counter-reset: tk; }
.ticket ol .price { color: #6d6a58; white-space: nowrap; }
.ticket .total { border-top: 1px dashed #B8B49F; margin-top: 10px; padding: 12px 0 8px;
                 display: flex; justify-content: space-between; font-weight: 700; font-size: .98rem; }
.ticket .thanks { text-align: center; font-size: .78rem; color: #6d6a58; padding: 6px 0 22px; letter-spacing: .06em; }
.ticket .thanks a { color: inherit; }

/* ---------- quotes band ---------- */
.quotes { background: var(--spruce); color: #EDEAD9; }
.quotes .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); }
@media (max-width: 780px) { .quotes .wrap { grid-template-columns: 1fr; } }
.quotes blockquote p { font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.25rem, 2.1vw, 1.6rem); line-height: 1.4; color: #F4F1E2; }
.quotes blockquote p::before { content: "“"; color: var(--brass-bright); }
.quotes blockquote p::after { content: "”"; color: var(--brass-bright); }
.quotes cite { display: block; margin-top: 18px; font-style: normal; font-family: var(--mono);
               font-size: .82rem; letter-spacing: .08em; color: #A9B3A6; text-transform: uppercase; }
.quotes .morelink { grid-column: 1 / -1; }
.quotes .morelink a { color: var(--brass-bright); font-weight: 700; text-decoration: none; }
.quotes .morelink a:hover { color: #d8ad58; }

/* ---------- area strip ---------- */
.area-strip { text-align: center; padding: 44px 24px; border-top: 1px solid var(--line); }
.area-strip .towns { font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.45rem); color: var(--pine); }
.area-strip .towns em { color: var(--brass); font-style: normal; }
.area-strip small { display: block; margin-top: 10px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; background: var(--spruce); overflow: hidden; }
.cta-band .hero-veil { background: linear-gradient(rgba(20,32,25,.88), rgba(20,32,25,.88)); }
.cta-inner { position: relative; text-align: center; padding: clamp(70px, 9vw, 110px) 24px; max-width: 660px; margin: 0 auto; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: #DDDACA; margin-bottom: 30px; }
.cta-inner .phone { display: block; font-family: var(--display); font-weight: 700; text-decoration: none;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--brass-bright); margin-bottom: 26px; }
.cta-inner .phone:hover { color: #d8ad58; }

/* ---------- generic content patterns ---------- */
.prose { max-width: 680px; }
.prose p { margin-bottom: 1.2em; }
.prose ul { margin: 0 0 1.2em 1.2em; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 880px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
.mod { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 26px; }
.sec-paper .mod { background: var(--ticket); }
.mod h3 { font-size: 1.12rem; }
.mod p { font-size: .95rem; color: var(--body); }
.mod .dl { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: .8rem;
           letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }

.steps { list-style: none; max-width: 760px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 72px 1fr; gap: 22px; padding: 30px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .num { font-family: var(--mono); font-weight: 700; font-size: 1.6rem; color: var(--brass); }
.steps .num::after { content: ""; display: block; width: 34px; height: 2px; background: var(--line); margin-top: 10px; }
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--body); }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: 4px; box-shadow: 0 10px 30px rgba(27,42,33,.14); }

/* testimonials */
.tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 780px) { .tgrid { grid-template-columns: 1fr; } }
.tcard { background: var(--ticket); border: 1px solid var(--line); border-top: 3px solid var(--brass);
         padding: 30px; border-radius: 3px; }
.tcard p { font-family: var(--display); font-style: italic; font-size: 1.08rem; line-height: 1.5; color: var(--spruce); }
.tcard cite { display: block; margin-top: 16px; font-style: normal; font-family: var(--mono);
              font-size: .8rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.tcard.wide { grid-column: 1 / -1; }

/* beliefs */
.beliefs { list-style: none; max-width: 720px; }
.beliefs li { padding: 22px 0; border-top: 1px solid var(--line); }
.beliefs h3 { font-size: 1.15rem; }
.beliefs p { color: var(--body); font-size: .98rem; }

/* offices */
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 820px; }
@media (max-width: 680px) { .offices { grid-template-columns: 1fr; } }
.office { background: #fff; border: 1px solid var(--line); padding: 28px; border-radius: 4px; }
.office h3 { font-size: 1.1rem; }
.office .kind { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.office p { font-size: .95rem; margin-top: 10px; }
.office a { display: block; margin-top: 6px; font-weight: 500; }

/* contact form */
.form-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 820px) { .form-grid { grid-template-columns: 1fr; } }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .88rem; color: var(--spruce); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #CFC9B4; border-radius: 3px;
  background: #fff; font: inherit; color: var(--body); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--brass); border-color: var(--brass); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 14px; }
.form-status { font-size: .95rem; margin-top: 14px; color: var(--green, #2e4b3f); font-weight: 600; }
.form-status.error { color: #a33d2e; font-weight: 400; }

/* ---------- footer ---------- */
.site-footer { background: var(--spruce); color: #B9C1B6; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--mono); font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
                  color: var(--brass-bright); margin-bottom: 16px; }
.site-footer a { color: #DDDACA; text-decoration: none; }
.site-footer a:hover { color: var(--brass-bright); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.foot-brand .name { display: block; font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: #F4F1E2; }
.foot-brand .est { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .3em; color: var(--brass-bright); margin: 6px 0 14px; }
.foot-brand p { max-width: 280px; }
.foot-bottom { border-top: 1px solid rgba(233,228,210,.14); padding: 22px 0 30px; font-size: .8rem; color: #8b968a; }
.foot-bottom .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- reveal on scroll (hidden state only when JS is running) ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

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