/* ==========================================================================
   TrueOak Roofing & Exteriors
   Palette sampled directly from the logo artwork:
     #052A12  wordmark / bar green      -> --forest   (brand core)
     #103220  shield body green         -> --forest-2
     #336D44  roof shingle green        -> --shingle
     #5F9B6B  leaf highlight            -> --leaf
     #B49A5B  oak trunk tan             -> --oak
     #F9F9E6  shield ring cream         -> --cream    (paper)
   Gradients are built only from these, never from new hues.
   Every foreground/background pair used below clears WCAG AA.

   Single committed light theme on purpose: a contractor's site should look
   identical to every visitor, not follow their OS theme.
   ========================================================================== */

:root {
  --forest:     #052A12;
  --forest-2:   #0C3A1D;
  --forest-3:   #16482A;
  --forest-deep:#031B0C;
  --shingle:    #336D44;
  --leaf:       #5F9B6B;

  --oak:        #B49A5B;
  --oak-bright: #C9AE6B;
  --oak-deep:   #6E5A2C;

  --cream:      #F9F9E6;
  --cream-2:    #EFF0DC;
  --cream-3:    #E3E5CB;
  --cream-dim:  #C3CDBE;

  --ink:        #14261A;
  --ink-soft:   #425246;

  --alert:      #9C2F22;
  --alert-soft: #FAEDEA;

  /* --- gradients, all derived from the six brand colours --- */
  --grad-forest: linear-gradient(160deg, #0F4222 0%, #052A12 58%, #031B0C 100%);
  --grad-band:   linear-gradient(180deg, #052A12 0%, #0A3418 100%);
  --grad-oak:    linear-gradient(135deg, #D2B873 0%, #B49A5B 100%);
  --grad-oak-hi: linear-gradient(135deg, #C9AE6B 0%, #A98F51 100%);
  --grad-cream:  linear-gradient(180deg, #FBFBEF 0%, #F1F2DE 100%);
  --grad-card:   linear-gradient(180deg, #FCFCF3 0%, #F5F6E4 100%);
  --grad-rule:   linear-gradient(90deg, var(--oak) 0%, rgba(180,154,91,0) 100%);
  --glow-leaf:   radial-gradient(circle at 50% 45%, rgba(95,155,107,0.26) 0%, rgba(95,155,107,0.07) 42%, rgba(5,42,18,0) 68%);

  --f-display: "Bitter", Georgia, "Times New Roman", serif;
  --f-body:    "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* shingle courses — the roof in the logo, abstracted */
  --courses: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='44' viewBox='0 0 96 44'%3E%3Cg fill='none' stroke='%23F9F9E6' stroke-opacity='0.07' stroke-width='1.4'%3E%3Cpath d='M0 21.5h96M0 43.5h96'/%3E%3Cpath d='M16 0v21.5M40 0v21.5M64 0v21.5M88 0v21.5'/%3E%3Cpath d='M4 22v21.5M28 22v21.5M52 22v21.5M76 22v21.5'/%3E%3C/g%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--oak-deep); }

a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--oak-bright);
  outline-offset: 2px;
}

.skip { position: absolute; left: -9999px; top: 0; background: var(--forest); color: var(--cream); padding: 12px 18px; z-index: 200; }
.skip:focus { left: 0; }

/* ---------- layout ---------- */

.shell { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }

section { padding: clamp(56px, 7vw, 92px) 0; }
section.tight { padding: clamp(40px, 5vw, 60px) 0; }
section[id], #main, div[id] { scroll-margin-top: 100px; }

.band-cream2 { background: var(--grad-cream); }
.band-dark   { background: var(--grad-band); color: var(--cream); }
.band-dark-tex { background: var(--grad-forest); color: var(--cream); position: relative; }
.band-dark-tex::before {
  content: ""; position: absolute; inset: 0;
  background: var(--courses) repeat; pointer-events: none;
}
.band-dark-tex > * { position: relative; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.008em;
  margin: 0; text-wrap: balance; color: var(--forest);
}
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4,
.band-dark-tex h1, .band-dark-tex h2, .band-dark-tex h3, .band-dark-tex h4 { color: var(--cream); }
h1 { font-size: clamp(2.05rem, 1.15rem + 3.4vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.05rem + 2vw, 2.3rem); }
h3 { font-size: 1.14rem; }
p { margin: 0; }

.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; }
.band-dark .lede, .band-dark-tex .lede { color: var(--cream-dim); }
.prose { display: grid; gap: 16px; max-width: 68ch; }
.prose p { color: var(--ink-soft); }
.prose h3 { margin-top: 14px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-soft); }
.prose strong { color: var(--ink); }

.eyebrow {
  font-family: var(--f-body);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--oak-deep); margin: 0;
}
.band-dark .eyebrow, .band-dark-tex .eyebrow { color: var(--oak-bright); }

.stack   { display: grid; gap: 16px; }
.stack-l { display: grid; gap: 26px; }

.head {
  display: grid; gap: 12px; max-width: 64ch;
  margin-bottom: 36px; padding-top: 18px;
  border-top: 4px solid var(--forest);
}
.band-dark .head, .band-dark-tex .head { border-top-color: var(--oak); }

.grad-rule { height: 3px; background: var(--grad-rule); border: 0; margin: 0; }

/* ---------- unfilled placeholders ---------- */

.fill {
  background: rgba(180,154,91,0.22);
  color: var(--oak-deep);
  border-bottom: 1px dashed var(--oak);
  padding: 0 3px; font-weight: 600; white-space: nowrap;
}
.band-dark .fill, .band-dark-tex .fill {
  background: rgba(201,174,107,0.18);
  color: var(--oak-bright);
  border-bottom-color: rgba(201,174,107,0.55);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-body);
  font-size: 1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  padding: 15px 26px; border-radius: 2px;
  border: 2px solid transparent; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--grad-oak); color: var(--forest); border-color: var(--oak); }
.btn-primary:hover { background: var(--grad-oak-hi); border-color: var(--oak-deep); }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--cream); }
.btn-onDark { background: transparent; color: var(--cream); border-color: rgba(249,249,230,0.45); }
.btn-onDark:hover { background: var(--cream); color: var(--forest); border-color: var(--cream); }
.btn-sm { padding: 11px 18px; font-size: 0.92rem; }
.btnrow { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */

.masthead {
  position: sticky; top: 0; z-index: 100;
  background: var(--grad-band);
  color: var(--cream);
  border-bottom: 4px solid var(--oak);
}
.masthead .shell { display: flex; align-items: center; gap: 18px; min-height: 84px; padding-top: 10px; padding-bottom: 10px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); margin-right: auto; }
.brand img { width: 54px; height: auto; flex: none; }
.brand .txt { display: flex; flex-direction: column; }
.brand .name { font-family: var(--f-display); font-weight: 700; font-size: 1.28rem; line-height: 1.05; white-space: nowrap; color: var(--cream); }
.brand .kicker { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; color: var(--oak-bright); margin-top: 4px; white-space: nowrap; }

.nav { display: flex; gap: 2px; align-items: center; }
.nav a {
  color: var(--cream-dim); text-decoration: none;
  font-size: 0.93rem; font-weight: 600;
  padding: 8px 10px; border-radius: 2px; white-space: nowrap;
}
.nav a:hover { color: var(--cream); background: rgba(249,249,230,0.10); }
.nav a[aria-current="page"] { color: var(--cream); box-shadow: inset 0 -3px 0 var(--oak-bright); }

/* services dropdown */
.has-sub { position: relative; }
.has-sub > button {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer;
  color: var(--cream-dim); font-family: var(--f-body);
  font-size: 0.93rem; font-weight: 600; padding: 8px 10px; border-radius: 2px;
}
.has-sub > button:hover { color: var(--cream); background: rgba(249,249,230,0.10); }
.has-sub > button::after { content: "▾"; font-size: 0.75em; }
.submenu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 244px; background: var(--forest-2);
  border: 1px solid var(--forest-3); border-top: 3px solid var(--oak);
  border-radius: 2px; padding: 6px; z-index: 120;
  box-shadow: 0 14px 34px rgba(3,27,12,0.42);
}
.has-sub.open .submenu, .has-sub:hover .submenu { display: grid; }
.submenu a { padding: 10px 12px; font-size: 0.92rem; }

.callbox { display: flex; align-items: center; gap: 14px; }
.tel { font-family: var(--f-display); font-weight: 700; font-size: 1.26rem; color: var(--cream); text-decoration: none; line-height: 1.1; white-space: nowrap; }
.tel:hover { color: var(--oak-bright); }
.tel small { display: block; font-family: var(--f-body); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--oak-bright); }

.navtoggle {
  display: none; background: transparent;
  border: 2px solid rgba(249,249,230,0.4); border-radius: 2px;
  color: var(--cream); font-family: var(--f-body);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 9px 13px; cursor: pointer;
}

@media (max-width: 1140px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--forest-2); flex-direction: column; gap: 0;
    align-items: stretch; padding: 8px; border-bottom: 4px solid var(--oak);
    max-height: 72vh; overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 14px; font-size: 1rem; }
  .navtoggle { display: inline-block; order: 3; }
  .masthead .shell { position: relative; flex-wrap: wrap; }
  .tel { font-size: 1.12rem; }
  .has-sub > button { display: none; }
  .submenu { display: grid; position: static; min-width: 0; border: 0; border-left: 3px solid var(--oak); border-radius: 0; margin-left: 14px; box-shadow: none; padding: 0; background: none; }
  .submenu a { font-size: 0.95rem; }
}
@media (max-width: 560px) {
  .tel small { display: none; }
  .callbox .btn { display: none; }
  .masthead .shell { min-height: 66px; gap: 12px; }
  .brand img { width: 42px; }
  .brand { gap: 9px; }
  .brand .name { font-size: 1.02rem; }
  .brand .kicker { display: none; }
  .tel { font-size: 1.04rem; }
  .navtoggle { padding: 8px 11px; font-size: 0.72rem; }
}

/* ---------- sticky mobile call bar ---------- */

.mobilebar { display: none; }
@media (max-width: 760px) {
  .mobilebar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 130;
    border-top: 3px solid var(--oak);
    box-shadow: 0 -8px 24px rgba(3,27,12,0.28);
  }
  .mobilebar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 10px; text-decoration: none;
    font-family: var(--f-body); font-size: 0.98rem; font-weight: 700;
  }
  .mobilebar .call { background: var(--grad-band); color: var(--cream); }
  .mobilebar .book { background: var(--grad-oak); color: var(--forest); }
  body { padding-bottom: 62px; }
}

/* ---------- hero ---------- */

.hero { background: var(--grad-forest); color: var(--cream); padding: 0; }
.hero .grid { display: grid; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .hero .grid { grid-template-columns: 1.02fr 0.98fr; } }

.hero .copy {
  padding: clamp(46px, 6vw, 84px) clamp(18px, 4vw, 40px) clamp(46px, 6vw, 78px);
  display: grid; gap: 22px; align-content: center;
  max-width: 660px; justify-self: end; width: 100%;
}
.hero h1 { color: var(--cream); }
.hero p.sub { color: var(--cream-dim); font-size: 1.12rem; max-width: 46ch; }

.trustline { display: flex; flex-wrap: wrap; gap: 9px 18px; padding-top: 4px; font-size: 0.86rem; font-weight: 600; color: var(--cream-dim); }
.trustline span { display: inline-flex; align-items: center; gap: 8px; }
.trustline span::before { content: ""; width: 7px; height: 7px; background: var(--oak-bright); flex: none; }

.hero .art {
  background: var(--forest-2) var(--courses) repeat;
  display: grid; place-items: center;
  padding: clamp(34px, 5vw, 60px);
  border-left: 1px solid rgba(249,249,230,0.10);
  position: relative;
}
.hero .art::before { content: ""; position: absolute; inset: 0; background: var(--glow-leaf); }
.hero .art img { width: min(400px, 78%); height: auto; position: relative; }

/* ---------- interior page header ---------- */

.pagehead { background: var(--grad-forest); color: var(--cream); padding: clamp(30px,4vw,44px) 0 clamp(38px,5vw,58px); position: relative; }
.pagehead::before { content: ""; position: absolute; inset: 0; background: var(--courses) repeat; pointer-events: none; }
.pagehead .shell { position: relative; }
.pagehead h1 { color: var(--cream); max-width: 20ch; }
.pagehead .inner { display: grid; gap: 16px; max-width: 62ch; }
.pagehead p { color: var(--cream-dim); font-size: 1.08rem; }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.82rem; color: var(--cream-dim); margin-bottom: 6px; }
.crumbs a { color: var(--oak-bright); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span::before { content: "/"; margin-right: 6px; color: rgba(249,249,230,0.35); }

/* ---------- stats band ---------- */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: rgba(249,249,230,0.16); }
.stat { background: var(--forest); padding: 26px 22px; display: grid; gap: 4px; align-content: start; }
.stat .n { font-family: var(--f-display); font-size: clamp(1.7rem,1.2rem+1.4vw,2.3rem); font-weight: 800; color: var(--oak-bright); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .l { font-size: 0.86rem; color: var(--cream-dim); line-height: 1.4; }

/* ---------- certification strip ---------- */

.certstrip { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
@media (min-width: 820px) { .certstrip { grid-template-columns: 200px 1fr; gap: 42px; } }
.certbadge {
  border: 2px dashed var(--cream-3); border-radius: 2px;
  background: var(--grad-card);
  display: grid; place-content: center; gap: 6px;
  text-align: center; padding: 26px 18px; min-height: 150px;
}
.certbadge b { font-family: var(--f-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--oak-deep); }
.certbadge span { font-size: 0.85rem; color: var(--ink-soft); max-width: 24ch; }

/* ---------- credential strip ---------- */

.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--cream-3); border-bottom: 4px solid var(--forest); }
.cred { background: var(--grad-card); padding: 26px 22px; display: grid; gap: 6px; align-content: start; }
.cred b { font-family: var(--f-display); font-size: 1.02rem; font-weight: 700; color: var(--forest); }
.cred span { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- brand story ---------- */

.story { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
@media (min-width: 860px) { .story { grid-template-columns: 300px 1fr; gap: 56px; } }
.story .mark { justify-self: center; }
.story .mark img { width: min(280px, 80%); height: auto; }
.story .words { display: grid; gap: 16px; }
.story blockquote {
  margin: 0; padding-left: 22px; border-left: 4px solid var(--oak);
  font-family: var(--f-display); font-size: clamp(1.16rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 600; line-height: 1.35; color: var(--forest);
}
.band-dark-tex .story blockquote { color: var(--cream); }

/* ---------- cards ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 18px; }
.cards.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
  background: var(--grad-card);
  border: 1px solid var(--cream-3);
  border-bottom: 4px solid var(--shingle);
  border-radius: 2px; padding: 26px 24px 24px;
  display: grid; gap: 11px; align-content: start;
}
.card h3 { color: var(--forest); }
.card p { font-size: 0.96rem; color: var(--ink-soft); }
.card .more { font-size: 0.92rem; font-weight: 700; text-decoration: none; color: var(--oak-deep); margin-top: 2px; }
.card .more:hover { text-decoration: underline; }
a.card { text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
a.card:hover { border-bottom-color: var(--oak); }

/* ---------- comparison table ---------- */

.compare { overflow-x: auto; border: 1px solid var(--cream-3); border-bottom: 4px solid var(--forest); border-radius: 2px; }
.compare table { border-collapse: collapse; width: 100%; min-width: 560px; background: var(--cream); }
.compare th, .compare td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--cream-3); font-size: 0.95rem; vertical-align: top; }
.compare thead th { background: var(--grad-band); color: var(--cream); font-family: var(--f-display); font-size: 1rem; border-bottom: 0; }
.compare thead th:first-child { background: var(--forest-deep); }
.compare tbody th { font-weight: 700; color: var(--forest); font-family: var(--f-body); width: 30%; }
.compare td.us { background: rgba(180,154,91,0.10); color: var(--ink); }
.compare td.them { color: var(--ink-soft); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* ---------- storm feature ---------- */

.feature { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
@media (min-width: 900px) { .feature { grid-template-columns: 1.1fr 0.9fr; gap: 54px; } }
.feature .body { display: grid; gap: 16px; }
.feature p { color: var(--cream-dim); }
.feature ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature ul li { display: grid; grid-template-columns: 24px 1fr; gap: 4px; color: var(--cream); font-size: 0.97rem; }
.feature ul li::before { content: "✓"; color: var(--oak-bright); font-weight: 700; }

/* ---------- checklist on light ---------- */

.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 4px; font-size: 0.97rem; color: var(--ink-soft); }
.ticks li::before { content: "✓"; color: var(--shingle); font-weight: 700; }
.ticks b { color: var(--ink); }

/* ---------- workmanship ---------- */

.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px 36px; }
.spec { display: grid; gap: 8px; align-content: start; }
.spec h3 { font-size: 1.05rem; }
.spec p { font-size: 0.95rem; color: var(--ink-soft); }
.spec .rule { width: 38px; height: 4px; background: var(--grad-oak); }

/* ---------- process ---------- */

.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px; background: var(--cream-3);
  border: 1px solid var(--cream-3); border-bottom: 4px solid var(--forest);
  border-radius: 2px; overflow: hidden;
}
.step { background: var(--grad-card); padding: 26px 24px; display: grid; gap: 9px; align-content: start; }
.step .num { font-family: var(--f-display); font-size: 1.9rem; font-weight: 800; color: var(--oak); line-height: 1; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.04rem; }
.step p { font-size: 0.94rem; color: var(--ink-soft); }

/* ---------- service area ---------- */

.areagrid { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 860px) { .areagrid { grid-template-columns: 0.95fr 1.05fr; gap: 48px; } }
.townlist { columns: 2; column-gap: 26px; margin: 0; padding: 0; list-style: none; }
.townlist li { padding: 9px 0; border-bottom: 1px solid var(--cream-3); font-size: 0.95rem; break-inside: avoid; }
@media (max-width: 460px) { .townlist { columns: 1; } }

.countycard {
  background: var(--grad-card); border: 1px solid var(--cream-3);
  border-left: 4px solid var(--oak); border-radius: 2px;
  padding: 24px 24px 22px; display: grid; gap: 12px; align-content: start;
}
.countycard h3 { font-size: 1.16rem; }
.countycard .towns { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 0.9rem; color: var(--ink-soft); }
.countycard .towns span { background: var(--cream-2); border: 1px solid var(--cream-3); padding: 3px 9px; border-radius: 2px; }

/* ---------- gallery ---------- */

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.shot {
  border: 2px dashed var(--cream-3); border-radius: 2px;
  background: var(--grad-card);
  min-height: 220px; padding: 24px;
  display: grid; align-content: center; gap: 8px; text-align: center;
}
.shot .tag { font-family: var(--f-body); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--oak-deep); }
.shot h3 { font-size: 1.02rem; }
.shot p { font-size: 0.9rem; color: var(--ink-soft); max-width: 32ch; margin: 0 auto; }
.shot.wide { grid-column: 1 / -1; min-height: 260px; }

.shotlist { display: grid; gap: 0; border-top: 4px solid var(--forest); max-width: 76ch; }
.shotlist li { list-style: none; display: grid; grid-template-columns: 30px 1fr; gap: 6px; padding: 13px 0; border-bottom: 1px solid var(--cream-3); }
.shotlist li::before { content: "□"; color: var(--oak-deep); font-family: var(--f-display); }
.shotlist b { display: block; color: var(--forest); font-family: var(--f-display); font-size: 1rem; }
.shotlist span { font-size: 0.93rem; color: var(--ink-soft); }
.shotlist ul { margin: 0; padding: 0; }

/* ---------- reviews ---------- */

.reviewnote {
  background: rgba(180,154,91,0.16); border-left: 4px solid var(--oak);
  border-radius: 0 2px 2px 0; padding: 15px 18px;
  font-size: 0.92rem; color: var(--oak-deep); margin-bottom: 20px; max-width: 72ch;
}

/* Editor's notes — visible instructions to delete before launch. Deliberately
   loud so they cannot ship by accident. */
.editnote {
  background: var(--alert-soft); border: 2px dashed var(--alert);
  border-radius: 2px; padding: 15px 18px; margin-bottom: 22px;
  font-size: 0.92rem; color: #6B3128; max-width: 76ch;
  display: grid; gap: 5px;
}
.editnote b { color: var(--alert); font-family: var(--f-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.rev { background: var(--grad-card); border: 2px dashed var(--cream-3); border-radius: 2px; padding: 24px 22px; display: grid; gap: 12px; align-content: start; min-height: 180px; }
.rev .stars { color: var(--oak); letter-spacing: 3px; font-size: 1.05rem; }
.rev q { color: var(--ink-soft); font-style: italic; font-size: 0.96rem; }
.rev .who { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--oak-deep); }

/* ---------- FAQ ---------- */

.faq { max-width: 78ch; border-top: 4px solid var(--forest); }
.faq details { border-bottom: 1px solid var(--cream-3); }
.faq summary {
  cursor: pointer; list-style: none; padding: 19px 44px 19px 0; position: relative;
  font-family: var(--f-display); font-weight: 600; font-size: 1.06rem; line-height: 1.35; color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--oak-deep); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 44px 20px 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- related services ---------- */

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.related a {
  display: grid; gap: 5px; text-decoration: none;
  background: var(--grad-card); border: 1px solid var(--cream-3);
  border-bottom: 3px solid var(--shingle); border-radius: 2px; padding: 18px 20px;
}
.related a:hover { border-bottom-color: var(--oak); }
.related .k { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--oak-deep); }
.related .t { font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; color: var(--forest); }

/* ---------- closing CTA ---------- */

.cta-band { background: var(--grad-forest); color: var(--cream); border-top: 4px solid var(--oak); position: relative; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: var(--courses) repeat; pointer-events: none; }
.cta-band .shell { position: relative; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: var(--cream-dim); }
.cta-inner { display: grid; gap: 20px; justify-items: start; max-width: 66ch; }
.cta-fine { font-size: 0.88rem; color: var(--oak-bright); }

/* ---------- contact page ---------- */

.callout-tel { display: grid; gap: 6px; padding: 26px 0 6px; }
.callout-tel a { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 1.1rem + 4vw, 3.3rem); color: var(--forest); text-decoration: none; line-height: 1.05; letter-spacing: -0.02em; }
.callout-tel a:hover { color: var(--shingle); }

.contactgrid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .contactgrid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } }

form.lead { display: grid; gap: 15px; }
.f { display: grid; gap: 6px; }
.f label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.03em; color: var(--forest); }
.f label .req { color: var(--alert); }
.f input, .f textarea, .f select {
  font-family: var(--f-body); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--cream-3); border-radius: 2px;
  padding: 12px 13px; width: 100%;
}
.f textarea { min-height: 118px; resize: vertical; }
.f-row { display: grid; grid-template-columns: 1fr; gap: 15px; }
@media (min-width: 560px) { .f-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formnote { font-size: 0.86rem; color: var(--ink-soft); }

.emergency { background: var(--alert-soft); border-left: 4px solid var(--alert); border-radius: 0 2px 2px 0; padding: 20px 22px; display: grid; gap: 8px; }
.emergency h3 { color: var(--alert); font-size: 1.06rem; }
.emergency p { font-size: 0.95rem; color: #6B3128; }

.infolist { display: grid; gap: 0; border-top: 4px solid var(--forest); }
.infolist div { display: grid; grid-template-columns: 128px 1fr; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--cream-3); font-size: 0.96rem; }
.infolist dt { font-weight: 700; color: var(--ink-soft); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 3px; }
.infolist dd { margin: 0; }
@media (max-width: 480px) { .infolist div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- branded panel ----------
   Stands in for a photograph until real job photos exist. Reads as a
   deliberate brand element rather than an empty slot. Swap the whole
   <div class="brandpanel"> for an <img> when the pictures arrive. */

.brandpanel {
  position: relative;
  width: 100%;
  min-height: 280px;
  border-radius: 2px;
  background: linear-gradient(160deg, #0F4222 0%, #052A12 60%, #031B0C 100%);
  border: 1px solid var(--forest-3);
  display: grid;
  place-items: center;
  padding: 34px;
  overflow: hidden;
}
.brandpanel::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--courses) repeat;
}
.brandpanel::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--glow-leaf);
}
.brandpanel img { width: min(210px, 62%); height: auto; position: relative; opacity: .96; }
.brandpanel.on-light { border-color: var(--cream-3); }

/* ---------- photo slots ---------- */

.photoslot {
  width: 100%; min-height: 220px;
  border: 2px dashed var(--cream-3); border-radius: 2px;
  display: grid; place-content: center; gap: 6px;
  text-align: center; padding: 26px; color: var(--ink-soft);
  background: var(--grad-card);
}
.photoslot.on-dark { background: rgba(249,249,230,0.05); border-color: rgba(249,249,230,0.3); color: var(--cream-dim); }
.photoslot b { font-family: var(--f-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--oak-deep); }
.photoslot.on-dark b { color: var(--oak-bright); }
.photoslot span { font-size: 0.88rem; max-width: 32ch; margin: 0 auto; }

/* ---------- footer ---------- */

.sitefoot { background: var(--grad-band); color: var(--cream-dim); padding: clamp(46px, 5vw, 62px) 0 26px; font-size: 0.94rem; border-top: 6px solid var(--oak); }
.footgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 34px; }
.sitefoot h4 { font-family: var(--f-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; color: var(--oak-bright); margin-bottom: 14px; }
.sitefoot a { color: var(--cream-dim); text-decoration: none; }
.sitefoot a:hover { color: var(--cream); text-decoration: underline; }
.sitefoot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footbrand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footbrand img { width: 52px; height: auto; }
.footbrand .name { font-family: var(--f-display); font-weight: 700; font-size: 1.16rem; color: var(--cream); line-height: 1.1; }
.footbar { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(249,249,230,0.16); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 0.84rem; color: #93A096; }
.credline { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.legalnote { margin-top: 16px; font-size: 0.78rem; color: #7E8B83; max-width: 86ch; line-height: 1.55; }

/* ==========================================================================
   MOTION
   The .rv class is added by site.js, never by the HTML, so with JavaScript
   off nothing here can hide content. Only transform and opacity are
   animated — the browser composites both on the GPU without re-running
   layout, which is why none of this makes the page feel heavy. The site's
   existing prefers-reduced-motion rule near the top of this file already
   flattens every duration below to nothing.
   ========================================================================== */

/* ---------- scroll reveal ---------- */

.rv {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity .62s cubic-bezier(.22,.61,.36,1) var(--rvd, 0ms),
              transform .62s cubic-bezier(.22,.61,.36,1) var(--rvd, 0ms);
}
.rv.in { opacity: 1; transform: none; }

/* The little oak rule on each spec draws itself across as the block lands. */
.rv .rule { transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s cubic-bezier(.22,.61,.36,1) calc(var(--rvd, 0ms) + 160ms); }
.rv.in .rule { transform: scaleX(1); }

/* A hidden element must never reach a printer. */
@media print { .rv { opacity: 1 !important; transform: none !important; } }

/* ---------- hero entrance ---------- */

.hero .copy .rise { opacity: 0; transform: translate3d(0, 14px, 0); }
.hero .copy.go .rise {
  opacity: 1; transform: none;
  transition: opacity .6s cubic-bezier(.22,.61,.36,1) var(--rvd, 0ms),
              transform .6s cubic-bezier(.22,.61,.36,1) var(--rvd, 0ms);
}

/* ---------- ambient movement on the emblem ----------
   Slow enough that you register it rather than watch it. */

@media (prefers-reduced-motion: no-preference) {
  .hero .art { overflow: hidden; }
  .hero .art img   { animation: oak-drift 7.5s ease-in-out infinite alternate; }
  .hero .art::before { animation: oak-breathe 9s ease-in-out infinite alternate; }
  .brandpanel::after { animation: oak-breathe 11s ease-in-out infinite alternate; }
}
@keyframes oak-drift   { from { transform: translateY(0); }            to { transform: translateY(-9px); } }
@keyframes oak-breathe { from { opacity: .76; transform: scale(1); }   to { opacity: 1; transform: scale(1.05); } }

/* ---------- condensing header + scroll progress ---------- */

.masthead { transition: box-shadow .3s ease; }
.masthead .shell { transition: min-height .28s ease, padding .28s ease; }
.brand img { transition: width .28s ease; }

.masthead.condensed { box-shadow: 0 10px 30px rgba(3,27,12,0.34); }
.masthead.condensed .shell { min-height: 68px; padding-top: 6px; padding-bottom: 6px; }
.masthead.condensed .brand img { width: 44px; }
@media (max-width: 560px) {
  .masthead.condensed .shell { min-height: 56px; }
  .masthead.condensed .brand img { width: 36px; }
}

/* Sits exactly on the oak border under the header and fills it as you read. */
.masthead .progress {
  position: absolute; left: 0; right: 0; bottom: -4px; height: 4px;
  background: linear-gradient(90deg, var(--oak-bright) 0%, #E8D49A 100%);
  box-shadow: 0 0 12px rgba(201,174,107,0.65);
  transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- hover ----------
   One physical vocabulary across the whole site: things that are their own
   surface lift, things that are cells in a ruled grid light up instead,
   because lifting one cell out of a 1px-gap grid breaks the grid lines. */

.card, .countycard, .shot, .related a {
  transition: transform .2s cubic-bezier(.22,.61,.36,1),
              box-shadow .2s ease, border-color .2s ease;
}
.card:hover        { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(5,42,18,0.10); }
a.card:hover       { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(5,42,18,0.14); }
.countycard:hover  { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(5,42,18,0.10); border-left-color: var(--oak-bright); }
.shot:hover        { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(5,42,18,0.09); }
.related a:hover   { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(5,42,18,0.12); }

.card .more { transition: transform .2s cubic-bezier(.22,.61,.36,1), color .2s ease; }
a.card:hover .more { transform: translateX(5px); color: var(--shingle); }

/* Grid cells: light up, do not move. */
.stat, .cred, .step { transition: background .25s ease; }
.stat:hover { background: var(--forest-2); }
.cred:hover { background: linear-gradient(180deg, #FFFFFA 0%, #F6F7E7 100%); }
.step:hover { background: linear-gradient(180deg, #FFFFFA 0%, #F6F7E7 100%); }

.stat .n, .step .num { transition: transform .25s cubic-bezier(.22,.61,.36,1), color .25s ease; transform-origin: 0 50%; }
.stat:hover .n  { transform: scale(1.07); color: #E4CE8E; }
.step:hover .num { transform: translateY(-2px); color: var(--oak-bright); }

.spec .rule { transition: width .3s cubic-bezier(.22,.61,.36,1); }
.spec:hover .rule { width: 66px; }

/* ---------- buttons ---------- */

.btn { transition: background .15s ease, color .15s ease, border-color .15s ease,
                   transform .18s cubic-bezier(.22,.61,.36,1), box-shadow .18s ease; }
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary:hover { box-shadow: 0 10px 22px rgba(180,154,91,0.38); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 36%, rgba(255,255,255,0.42) 50%, transparent 64%);
  transform: translateX(-130%);
  transition: transform .62s cubic-bezier(.22,.61,.36,1);
}
.btn-primary:hover::after { transform: translateX(130%); }

/* ---------- nav ---------- */

.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px;
  background: var(--oak-bright);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .24s cubic-bezier(.22,.61,.36,1);
}
.nav a:not([aria-current]):hover::after { transform: scaleX(1); }

/* ---------- FAQ ---------- */

.faq summary { transition: color .2s ease; }
.faq summary:hover { color: var(--shingle); }
.faq summary::after { transition: color .2s ease, transform .25s ease; }
.faq summary:hover::after { color: var(--shingle); transform: translateY(-50%) scale(1.15); }
.faq details[open] > div { animation: faq-in .32s cubic-bezier(.22,.61,.36,1) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* A height slide on ::details-content was tried here and left out. It only
   works in recent Chromium, and the fade above already reads as movement in
   every browser. Not worth a second animation path for the difference. */

/* ---------- table rows ---------- */

.compare tbody tr { transition: background .2s ease; }
.compare tbody tr:hover { background: rgba(180,154,91,0.07); }
