/* ==========================================================================
   King Kelly Constructions & Remodeling : Version 3 (multi-page + blog)
   Smoky Mountain evergreen + hi-vis amber. Bricolage Grotesque for headlines,
   Instrument Sans for reading. Video hero, glass facts bar, amber ticker.
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque Variable";
  src: url("../assets/fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2");
  font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans Variable";
  src: url("../assets/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --g-950: #08201a;
  --g-900: #0f2f28;
  --g-800: #17433a;
  --g-700: #225a4d;
  --amber: #f5a300;
  --amber-hi: #ffb92e;
  --amber-deep: #b46f00;
  --mist: #edf2ee;
  --mist-2: #e0e8e3;
  --paper: #ffffff;
  --ink: #12211d;
  --ink-soft: #465851;
  --line: rgba(18, 33, 29, .14);
  --line-dark: rgba(255, 255, 255, .14);
  --open: #2f9e62;
  --closed: #d4573a;

  --f-display: "Bricolage Grotesque Variable", "Bricolage Grotesque", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --f-body: "Instrument Sans Variable", "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-s: 10px; --r-m: 16px; --r-l: 26px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --sec-y: clamp(4.5rem, 9vw, 8rem);
  --hdr-h: 4.75rem;
  --shadow: 0 24px 50px -24px rgba(8, 32, 26, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--mist); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body); -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1.1em; max-width: 64ch; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.02; text-wrap: balance; }
ul, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber-deep); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .hdr :focus-visible, .hero :focus-visible, .callbar :focus-visible { outline-color: var(--amber-hi); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--amber); color: var(--g-950); padding: .7rem 1rem; font-weight: 700; border-radius: var(--r-s); }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto; }

/* Type */
.h1 { font-size: clamp(2.6rem, .9rem + 6vw, 6rem); line-height: .98; letter-spacing: -.03em; }
.h2 { font-size: clamp(2.1rem, 1.1rem + 3.2vw, 3.9rem); letter-spacing: -.028em; }
.h3 { font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.2rem); letter-spacing: -.02em; }
.lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; }
.kicker {
  display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.1rem;
  font-size: .92rem; font-weight: 700; color: var(--amber-deep);
}
.kicker::before { content: ""; width: 1.8rem; height: 3px; background: currentColor; border-radius: 2px; }
.dark .kicker { color: var(--amber); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.55rem; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn-amber { background: var(--amber); color: var(--g-950); box-shadow: 0 10px 24px -10px rgba(245, 163, 0, .7); }
.btn-amber:hover { background: var(--amber-hi); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: #fff; color: var(--g-950); border-color: #fff; }
.btn-dark { background: var(--g-900); color: #fff; }
.btn-dark:hover { background: var(--g-700); transform: translateY(-2px); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

.arrow-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; color: var(--g-700); }
.arrow-link::after { content: "\2192"; transition: transform .2s; }
.arrow-link:hover::after { transform: translateX(4px); }
.dark .arrow-link { color: var(--amber); }

/* Sections */
.sec { padding-block: var(--sec-y); position: relative; }
.dark { background: var(--g-900); color: #fff; }
.dark.deep { background: var(--g-950); }
.paper { background: var(--paper); }
.sec-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.8rem); }
.sec-head p { margin-top: 1.2rem; color: var(--ink-soft); }
.dark .sec-head p { color: rgba(255, 255, 255, .78); }

/* ==========================================================================
   Header
   ========================================================================== */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr-h); color: #fff; transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.hdr.is-solid { background: rgba(8, 32, 26, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.hdr-in { display: flex; align-items: center; gap: 1.6rem; height: 100%; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; }
.brand img { height: 2.9rem; width: auto; }

.nav { display: none; gap: .3rem; }
.nav a { padding: .55rem .85rem; border-radius: 999px; font-weight: 600; font-size: .96rem; text-decoration: none; transition: background-color .2s, color .2s; }
.nav a:hover { background: rgba(255, 255, 255, .12); }
.nav a.is-here { background: rgba(245, 163, 0, .18); color: var(--amber-hi); }
.hdr-cta { display: none; gap: .6rem; }
.hdr-cta .btn { padding: .72rem 1.2rem; font-size: .95rem; }
.menu-btn {
  display: inline-flex; align-items: center; gap: .6rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3);
  padding: .6rem 1rem; border-radius: 999px; font-weight: 700; cursor: pointer;
}
.menu-btn .bars { width: 18px; height: 12px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, top .2s; }
.menu-btn .bars::before { top: 2px; }
.menu-btn .bars::after { top: 8px; }
.menu-btn[aria-expanded="true"] .bars::before { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { top: 5px; transform: rotate(-45deg); }
@media (min-width: 1180px) {
  .nav { display: flex; }
  .hdr-cta { display: flex; }
  .menu-btn { display: none; }
}

.sheet {
  position: fixed; inset: 0; z-index: 45; background: var(--g-950); color: #fff; overflow-y: auto;
  padding: calc(var(--hdr-h) + 1.5rem) var(--gutter) 2rem; display: flex; flex-direction: column; gap: 2rem;
  transform: translateY(-102%); visibility: hidden; transition: transform .35s ease, visibility 0s .35s;
}
.sheet.is-open { transform: none; visibility: visible; transition: transform .35s ease; }
.sheet nav { display: flex; flex-direction: column; }
.sheet a.sheet-link { font: 800 clamp(2.4rem, 10vw, 3.6rem)/1 var(--f-display); letter-spacing: -.03em; text-decoration: none; padding: .6rem 0; border-bottom: 1px solid var(--line-dark); }
.sheet a.sheet-link:hover { color: var(--amber); }
.sheet-foot { margin-top: auto; display: grid; gap: .7rem; }
body.menu-open { overflow: hidden; }
body.menu-open .hdr { background: transparent; box-shadow: none; backdrop-filter: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; color: #fff; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--g-950) url("../assets/img/hero-fallback.jpg") center / cover no-repeat;
}
#hero-video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero.no-video #hero-video { display: none; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 32, 26, .72) 0%, rgba(8, 32, 26, .28) 30%, rgba(8, 32, 26, .5) 62%, rgba(8, 32, 26, .94) 100%),
    linear-gradient(90deg, rgba(8, 32, 26, .55) 0%, rgba(8, 32, 26, 0) 70%);
}
.hero-in { width: min(100% - 2 * var(--gutter), 1280px); margin-inline: auto; padding: calc(var(--hdr-h) + 3rem) 0 clamp(1.8rem, 3.5vw, 3rem); }
.pill {
  display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem; border-radius: 999px; margin-bottom: 1.4rem;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .26); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .92rem; font-weight: 600;
}
.pill::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(245, 163, 0, .25); }
.hero h1 { max-width: 15em; text-shadow: 0 2px 40px rgba(0, 0, 0, .35); }
.hero h1 .amber { color: var(--amber); }
.hero .lede { max-width: 46rem; margin: 1.5rem 0 0; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 16px rgba(0, 0, 0, .5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.facts {
  display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(2rem, 4vw, 3.4rem);
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-l);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden;
}
.fact { padding: 1.15rem 1.4rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.fact:nth-child(-n+2) { border-top: 0; }
.fact:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .14); }
.fact b { display: block; font: 800 clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem)/1 var(--f-display); letter-spacing: -.02em; color: #fff; }
.fact span { display: block; margin-top: .3rem; font-size: .9rem; color: rgba(255, 255, 255, .78); }
@media (min-width: 860px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .fact { border-top: 0; border-left: 1px solid rgba(255, 255, 255, .14); }
  .fact:first-child { border-left: 0; }
  .fact:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .14); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .pill { animation: up .7s .05s both; }
  .hero h1 { animation: up .85s .15s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .lede { animation: up .8s .35s both; }
  .hero-cta { animation: up .8s .5s both; }
  .facts { animation: up .9s .7s both; }
}
@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Ticker */
.ticker { background: var(--amber); color: var(--g-950); overflow: hidden; border-block: 1px solid rgba(8, 32, 26, .12); }
.ticker-track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; flex: none; }
.ticker li { display: flex; align-items: center; padding: 1rem 0; font: 700 1.15rem/1 var(--f-display); letter-spacing: -.01em; white-space: nowrap; }
.ticker li::after { content: ""; width: .55rem; height: .55rem; margin: 0 1.8rem; background: var(--g-950); transform: rotate(45deg); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; } .ticker ul[aria-hidden] { display: none; } .ticker ul { flex-wrap: wrap; padding-inline: var(--gutter); } }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.about-photo { position: relative; }
.about-photo img { width: 100%; height: auto; border-radius: var(--r-l); box-shadow: var(--shadow); }
.about-badge {
  position: absolute; right: -.4rem; bottom: -1.4rem; background: var(--amber); color: var(--g-950); border-radius: var(--r-m); padding: 1rem 1.3rem;
  box-shadow: var(--shadow); font: 800 2.4rem/1 var(--f-display); letter-spacing: -.03em;
}
.about-badge span { display: block; font: 600 .85rem/1.2 var(--f-body); letter-spacing: 0; margin-top: .25rem; }
.about-text .lede { margin-bottom: 1.2rem; color: var(--ink); }
.about-text p { color: var(--ink-soft); }
.about-text .lede { color: var(--ink); }
.about-text .btn { margin-top: .8rem; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 5fr 6fr; } }

.why { margin-top: clamp(3rem, 6vw, 5rem); display: grid; gap: 1rem; }
.why-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.5rem; transition: transform .25s, box-shadow .25s, border-color .25s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--amber); }
.why-tick { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--g-900); color: var(--amber); margin-bottom: 1rem; }
.why-card h3 { font-size: 1.25rem; margin-bottom: .5rem; letter-spacing: -.015em; }
.why-card p { margin: 0; font-size: .98rem; color: var(--ink-soft); }
@media (min-width: 640px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why { grid-template-columns: repeat(5, 1fr); } }

/* ==========================================================================
   Sectors
   ========================================================================== */
.sec-split { display: grid; gap: 1.2rem 4rem; align-items: end; margin-bottom: clamp(2.2rem, 5vw, 3.8rem); }
.sec-split > p { margin: 0; color: rgba(255, 255, 255, .78); }
@media (min-width: 900px) { .sec-split { grid-template-columns: 7fr 5fr; } }
.sector-grid { display: grid; border: 1px solid var(--line-dark); border-radius: var(--r-l); overflow: hidden; }
.sector { position: relative; padding: clamp(1.5rem, 3vw, 2.3rem); border-top: 1px solid var(--line-dark); transition: background-color .25s; }
.sector:first-child { border-top: 0; }
.sector::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--amber); transition: width .35s; }
.sector:hover { background: var(--g-800); }
.sector:hover::before { width: 100%; }
.sector-ico { width: 3.2rem; height: 3.2rem; color: var(--amber); margin-bottom: 1.3rem; }
.sector h3 { font-size: 1.55rem; margin-bottom: .7rem; letter-spacing: -.02em; }
.sector p { color: rgba(255, 255, 255, .78); font-size: .98rem; margin-bottom: 1.2rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { padding: .28rem .7rem; border-radius: 999px; font-size: .82rem; font-weight: 600; border: 1px solid var(--line-dark); color: rgba(255, 255, 255, .9); }
.sector-foot { margin-top: 1.8rem; color: rgba(255, 255, 255, .78); max-width: 60ch; }
.sector-foot a { color: var(--amber); font-weight: 700; }
@media (min-width: 700px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .sector { border-left: 1px solid var(--line-dark); }
  .sector:nth-child(odd) { border-left: 0; }
  .sector:nth-child(2) { border-top: 0; }
}
@media (min-width: 1040px) {
  .sector-grid { grid-template-columns: repeat(3, 1fr); }
  .sector:nth-child(odd) { border-left: 1px solid var(--line-dark); }
  .sector:nth-child(3n+1) { border-left: 0; }
  .sector:nth-child(-n+3) { border-top: 0; }
}

/* ==========================================================================
   Services explorer
   ========================================================================== */
.svc { display: grid; gap: 1.6rem; }
.tabs { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.1rem; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); cursor: pointer; font-weight: 700; font-size: .98rem; transition: background-color .2s, color .2s, border-color .2s;
}
.tab:hover { border-color: var(--g-700); }
.tab[aria-selected="true"] { background: var(--g-900); color: #fff; border-color: var(--g-900); }
.tab .chev { display: none; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); }
.panel[hidden] { display: none; }
.panel-img { position: relative; aspect-ratio: 16 / 10; background: var(--mist-2); overflow: hidden; }
.panel-img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.panel-cap { position: absolute; left: 1rem; bottom: 1rem; background: rgba(8, 32, 26, .85); backdrop-filter: blur(6px); color: #fff; font-size: .85rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; }
.panel-body { padding: clamp(1.4rem, 3vw, 2.4rem); }
.panel-body h3 { margin-bottom: 1rem; }
.panel-body p { color: var(--ink-soft); }
.panel-body .tags { margin: 1.4rem 0 1.6rem; }
.panel-body .tags li { border-color: var(--line); color: var(--ink); background: var(--mist); }
.panel-cta { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; }
@media (min-width: 960px) {
  .svc { grid-template-columns: 17.5rem minmax(0, 1fr); gap: 2.4rem; align-items: start; }
  .tabs { flex-direction: column; overflow: visible; position: sticky; top: 6.5rem; gap: .35rem; padding: 0; }
  .tab { border-radius: var(--r-m); justify-content: space-between; padding: .95rem 1.1rem; background: transparent; border-color: transparent; font-size: 1.02rem; }
  .tab:hover { background: var(--paper); border-color: var(--line); }
  .tab[aria-selected="true"] { background: var(--g-900); }
  .tab .chev { display: block; width: .55rem; height: .55rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .5; }
  .tab[aria-selected="true"] .chev { opacity: 1; color: var(--amber); }
  .panel-body { display: block; }
}
@media (min-width: 1100px) {
  .panel:not([hidden]) { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .panel-img { aspect-ratio: auto; min-height: 100%; }
  .panel-img img { position: absolute; inset: 0; }
}
@media (min-width: 960px) { .panel:not([hidden]) { animation: swap .4s ease both; } }
@keyframes swap { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   One contractor + capabilities
   ========================================================================== */
.one-grid { display: grid; gap: 2.4rem 5rem; }
.one-grid p { color: var(--ink-soft); }
.vow {
  background: var(--amber); color: var(--g-950); border-radius: var(--r-l); padding: clamp(1.6rem, 3.5vw, 2.8rem); align-self: start; box-shadow: var(--shadow);
}
.vow .h3 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.7rem); line-height: 1.02; }
.vow p { margin: 1.2rem 0 0; font-weight: 600; color: var(--g-950); }
@media (min-width: 960px) { .one-grid { grid-template-columns: 6fr 5fr; } }
.caps { margin-top: clamp(2.4rem, 5vw, 4rem); }
.caps h3 { margin-bottom: 1.4rem; }
.caps-grid { display: grid; gap: .7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 719px) { .cap { font-size: .98rem; padding: .95rem .9rem; gap: .6rem; } }
.cap {
  display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.2rem; background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-m);
  font: 700 1.1rem/1.15 var(--f-display); letter-spacing: -.01em; transition: background-color .2s, color .2s, transform .2s; min-width: 0; overflow-wrap: break-word; hyphens: auto;
}
.cap::before { content: ""; flex: none; width: .7rem; height: .7rem; background: var(--amber); transform: rotate(45deg); transition: background-color .2s; }
.cap:hover { background: var(--g-900); color: #fff; transform: translateY(-2px); }
@media (min-width: 720px) { .caps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.caps-note { margin-top: 1.6rem; color: var(--ink-soft); }

/* ==========================================================================
   Process
   ========================================================================== */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step { position: relative; padding: 1.7rem; border: 1px solid var(--line-dark); border-radius: var(--r-l); background: rgba(255, 255, 255, .03); }
.step::before {
  counter-increment: step; content: counter(step); display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%;
  background: var(--amber); color: var(--g-950); font: 800 1.35rem/1 var(--f-display); margin-bottom: 1.2rem;
}
.step h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.step p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .98rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 3.15rem; left: calc(1.7rem + 3.4rem); right: -1rem; height: 2px; background: repeating-linear-gradient(90deg, var(--amber) 0 6px, transparent 6px 12px); opacity: .6; }
}

/* ==========================================================================
   Gallery + lightbox
   ========================================================================== */
.gal { columns: 2; column-gap: .9rem; }
.gal-item { display: block; position: relative; width: 100%; margin: 0 0 .9rem; padding: 0; border: 0; border-radius: var(--r-m); overflow: hidden; cursor: zoom-in; background: var(--mist-2); break-inside: avoid; }
.gal-item img { width: 100%; height: auto; transition: transform .5s ease; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item span {
  position: absolute; inset: auto 0 0 0; padding: 2.2rem 1rem .8rem; text-align: left; color: #fff; font-size: .88rem; font-weight: 600;
  background: linear-gradient(to top, rgba(8, 32, 26, .85), transparent); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s;
}
.gal-item:hover span, .gal-item:focus-visible span { opacity: 1; transform: none; }
@media (hover: none) { .gal-item span { opacity: 1; transform: none; } }
@media (min-width: 760px) { .gal { columns: 3; column-gap: 1.1rem; } .gal-item { margin-bottom: 1.1rem; } }
@media (min-width: 1100px) { .gal { columns: 4; } }

dialog.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.lb::backdrop { background: rgba(5, 18, 14, .92); backdrop-filter: blur(4px); }
.lb-in { position: relative; height: 100%; display: grid; place-items: center; padding: 3.5rem 1rem 4.5rem; }
.lb-img { max-width: min(1100px, 100%); max-height: 100%; width: auto; height: auto; border-radius: var(--r-m); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 1.2rem; text-align: center; color: #fff; font-weight: 600; padding-inline: 5rem; }
.lb-btn { position: absolute; width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; transition: background-color .2s; }
.lb-btn:hover { background: var(--amber); color: var(--g-950); border-color: var(--amber); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: .8rem; transform: none; } .lb-cap { padding-inline: 4.5rem; bottom: 1.6rem; font-size: .9rem; } }

/* ==========================================================================
   Areas
   ========================================================================== */
.areas-grid { display: grid; gap: 2.4rem 4rem; align-items: center; }
.areas-grid > div:first-child p { color: rgba(255, 255, 255, .78); margin-top: 1.2rem; }
.map-card { background: var(--g-800); border: 1px solid var(--line-dark); border-radius: var(--r-l); padding: clamp(1rem, 3vw, 2rem); }
.map { width: 100%; height: auto; }
.map .spoke { stroke: var(--amber); stroke-width: 1.8; stroke-dasharray: 6 8; opacity: .55; }
.map .pt { fill: var(--g-800); stroke: #fff; stroke-width: 3.5; transition: fill .2s; }
.map .home .pt { fill: var(--amber); stroke: #fff; }
.map text { font-family: var(--f-display); font-weight: 700; fill: #fff; font-size: 30px; letter-spacing: -.01em; }
.map .home text { font-size: 40px; font-weight: 800; }
.map g[data-town].is-hot .pt { fill: var(--amber); }
.map-note { font-size: .85rem; color: rgba(255, 255, 255, .6); margin: .8rem 0 0; }
.towns { margin-top: clamp(2rem, 4vw, 3.2rem); display: grid; gap: 1rem; }
.town { padding: 1.5rem; border: 1px solid var(--line-dark); border-radius: var(--r-m); background: rgba(255, 255, 255, .03); transition: background-color .25s, border-color .25s; }
.town.is-hot { background: var(--g-800); border-color: var(--amber); }
.town h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.town p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .98rem; }
.areas-end { margin-top: 1.8rem; font-weight: 600; max-width: 62ch; }
@media (min-width: 900px) { .areas-grid { grid-template-columns: 5fr 6fr; } }
@media (min-width: 700px) { .towns { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .towns { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .map text { font-size: 44px; } .map .home text { font-size: 56px; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid { display: grid; gap: 2.4rem 4rem; }
.faq-list { display: grid; gap: .8rem; }
.faq-list details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); transition: border-color .2s, box-shadow .2s; }
.faq-list details[open] { border-color: var(--g-700); box-shadow: var(--shadow); }
.faq-list summary { list-style: none; cursor: pointer; padding: 1.25rem 3.6rem 1.25rem 1.4rem; position: relative; font: 700 1.12rem/1.3 var(--f-display); letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: 1.5rem; top: 50%; background: var(--g-700); transition: transform .25s; }
.faq-list summary::before { width: 1rem; height: 2.5px; margin-top: -1.25px; }
.faq-list summary::after { width: 2.5px; height: 1rem; margin-top: -.5rem; margin-right: .5rem; }
.faq-list details[open] summary::after { transform: scaleY(0); }
.faq-a { padding: 0 1.4rem 1.4rem; }
.faq-a p { margin: 0; color: var(--ink-soft); }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 4fr 7fr; } .faq-head { position: sticky; top: 7rem; align-self: start; } }

/* ==========================================================================
   Estimate
   ========================================================================== */
.est-grid { display: grid; gap: 2.8rem 4rem; }
.est-text > p { color: rgba(255, 255, 255, .8); }
.est-phone { display: inline-block; margin: .6rem 0 2rem; font: 800 clamp(2.6rem, 1rem + 6vw, 5.4rem)/1 var(--f-display); letter-spacing: -.035em; text-decoration: none; color: var(--amber); white-space: nowrap; }
.est-phone:hover { color: var(--amber-hi); }
.contact-list { display: grid; gap: 1.1rem; }
.contact-list dt { font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .6); }
.contact-list dd { margin-top: .1rem; font-size: 1.08rem; }
.contact-list a { text-underline-offset: 4px; text-decoration-thickness: 2px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .1rem 1.6rem; }
.hours span:nth-child(odd) { font-weight: 600; }
.open-status { display: inline-flex; align-items: center; gap: .55rem; margin-top: .7rem; padding: .35rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-dark); font-size: .9rem; font-weight: 600; }
.open-status::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: #9aa; }
.open-status[data-state="open"]::before { background: var(--open); box-shadow: 0 0 0 4px rgba(47, 158, 98, .3); }
.open-status[data-state="closed"]::before { background: var(--closed); }

.form-card { background: var(--paper); color: var(--ink); border-radius: var(--r-l); padding: clamp(1.4rem, 3vw, 2.5rem); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.form-card :focus-visible { outline-color: var(--g-700); }
.form-card h3 { margin-bottom: 1.5rem; }
.f-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .f-row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .35rem; }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--mist); border: 1.5px solid transparent; border-radius: var(--r-s); padding: .85rem 1rem; transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; background: #fff; border-color: var(--g-700); box-shadow: 0 0 0 4px rgba(34, 90, 77, .18); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
.form-foot { margin-top: 1.4rem; display: grid; gap: 1rem; }
.form-foot .btn { width: 100%; padding-block: 1.1rem; }
.form-status { margin: 0; font-weight: 700; color: var(--g-700); }
.form-help { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.form-help a { color: var(--g-700); font-weight: 700; }
@media (min-width: 980px) { .est-grid { grid-template-columns: 5fr 6fr; align-items: start; } }

/* ==========================================================================
   Footer + call bar
   ========================================================================== */
.site-foot { background: var(--g-950); color: rgba(255, 255, 255, .78); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.foot-grid { display: grid; gap: 2.4rem; }
.foot-grid h4 { font: 700 .95rem/1 var(--f-body); letter-spacing: 0; color: #fff; margin-bottom: 1rem; }
.foot-grid li { padding: .22rem 0; font-size: .98rem; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--amber); }
.foot-brand p { margin: 1rem 0 0; font-size: .96rem; }
.foot-base { margin-top: 2.8rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .9rem; color: rgba(255, 255, 255, .6); }
.foot-base p { margin: 0; max-width: none; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.callbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: .6rem;
  padding: .65rem var(--gutter) calc(.65rem + env(safe-area-inset-bottom)); background: rgba(8, 32, 26, .96); backdrop-filter: blur(10px);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .3);
}
.callbar .btn { flex: 1 1 0; padding: .85rem .6rem; font-size: .95rem; }
.callbar .btn-amber { flex-grow: 1.7; }
@media (max-width: 759px) { .callbar { display: flex; } body { padding-bottom: 4.8rem; } }

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

/* ==========================================================================
   V3 additions: logo, dropdown nav, inner pages, blog
   ========================================================================== */
.ico { width: 3rem; height: 3rem; }
.ico.sm { width: .85rem; height: .85rem; }
.ico.big { width: 4.5rem; height: 4.5rem; color: var(--amber); }
.brand { flex: none; }
.hdr .brand img { height: 2.75rem; }
@media (min-width: 1180px) { .hdr .brand img { height: 3.3rem; } }

/* Dropdown navigation */
.nav { align-items: center; gap: .1rem; }
.nav a { padding: .55rem .72rem; font-size: .94rem; }
.nav-item { position: relative; display: flex; align-items: center; }
.sub-toggle { width: 1.5rem; height: 2rem; margin-left: -.5rem; padding: 0; background: none; border: 0; cursor: pointer; color: inherit; display: grid; place-items: center; }
.sub-toggle span { width: .45rem; height: .45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-1px, -1px); opacity: .75; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] span { transform: rotate(225deg) translate(-1px, -1px); }
.sub {
  position: absolute; top: calc(100% + .5rem); left: -.5rem; z-index: 60; min-width: 18.5rem; padding: .5rem; background: var(--g-950); border: 1px solid var(--line-dark);
  border-radius: var(--r-m); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility 0s .18s;
}
.nav-item.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: .6rem; }
.nav-item:hover > .sub, .nav-item:focus-within > .sub, .nav-item.is-open > .sub { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
.sub li a { display: block; padding: .6rem .8rem; border-radius: var(--r-s); font-size: .95rem; font-weight: 600; }
.sub li a:hover { background: rgba(255, 255, 255, .1); color: var(--amber-hi); }
.sub .sub-all { border-top: 1px solid var(--line-dark); margin-top: .35rem; padding-top: .35rem; }
.sub .sub-all a { color: var(--amber); }
.hdr-cta .btn-ghost { display: none; }
@media (min-width: 1380px) { .hdr-cta .btn-ghost { display: inline-flex; } }
.sheet nav { display: flex; flex-direction: column; }
.sheet-sub { display: flex; flex-wrap: wrap; gap: .4rem .5rem; padding: .8rem 0 1rem; border-bottom: 1px solid var(--line-dark); }
.sheet-sub a { display: block; padding: .4rem .8rem; border: 1px solid var(--line-dark); border-radius: 999px; font-size: .92rem; font-weight: 600; text-decoration: none; }
.sheet-sub a:hover { background: var(--amber); color: var(--g-950); }
.sheet a.sheet-link { font-size: clamp(2rem, 8vw, 3rem); }
.sheet-link + .sheet-sub { margin-top: -.2rem; }

/* Footer logo */
.foot-logo img { width: 15rem; max-width: 100%; height: auto; }
.foot-grid address { font-style: normal; margin-top: 1rem; font-size: .96rem; line-height: 1.7; }
.foot-grid h4.mt { margin-top: 1.8rem; }
.foot-btn { margin-top: 1.2rem; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1.3fr 1fr 1fr; } }
.site-foot .foot-brand p { margin: 1rem 0 0; }

/* Page banner */
.phero { position: relative; isolation: isolate; color: #fff; background: var(--g-900); overflow: hidden; padding: calc(var(--hdr-h) + clamp(2.2rem, 5vw, 4rem)) 0 clamp(2.6rem, 6vw, 4.6rem); }
.phero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; }
.phero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 32, 26, .9) 0%, rgba(8, 32, 26, .68) 55%, rgba(8, 32, 26, .38) 100%), linear-gradient(180deg, rgba(8, 32, 26, .55), rgba(8, 32, 26, .15) 40%, rgba(8, 32, 26, .35)); }
.phero.no-photo { background: radial-gradient(120% 140% at 85% 0%, var(--g-800) 0%, var(--g-900) 55%, var(--g-950) 100%); }
.phero.no-photo::after { content: ""; position: absolute; z-index: -1; right: -6%; top: 50%; width: min(46vw, 34rem); aspect-ratio: 1; transform: translateY(-48%); background: url("../assets/logo-mark.png") center / contain no-repeat; opacity: .09; }
.phero::before { pointer-events: none; }
.phero-h { font-size: clamp(2.2rem, 1rem + 4.6vw, 4.4rem); max-width: 17em; }
.phero .lede { margin: 1.3rem 0 0; max-width: 50rem; color: rgba(255, 255, 255, .88); }
.phero .hero-cta { margin-top: 1.8rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .3rem .6rem; font-size: .9rem; font-weight: 600; margin-bottom: 1.4rem; }
.crumbs li { display: flex; align-items: center; gap: .6rem; color: rgba(255, 255, 255, .7); }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--amber); }
.crumbs [aria-current] { color: var(--amber-hi); }
@media (prefers-reduced-motion: no-preference) { .phero-in > * { animation: up .7s both; } .phero-in > *:nth-child(2) { animation-delay: .08s; } .phero-in > *:nth-child(3) { animation-delay: .16s; } .phero-in > *:nth-child(4) { animation-delay: .24s; } }

/* Article + sidebar */
.art-grid, .contact-grid { display: grid; gap: 2.5rem 3.5rem; align-items: start; }
@media (min-width: 1020px) { .art-grid { grid-template-columns: minmax(0, 1fr) 22.5rem; } .contact-grid { grid-template-columns: minmax(0, 1fr) 24rem; } }
.prose .lead-p { font-size: 1.25rem; line-height: 1.6; color: var(--ink); max-width: 62ch; }
.blk { position: relative; padding: 2rem 0 .6rem 4.2rem; border-top: 1px solid var(--line); margin-top: 1.4rem; }
.blk:first-of-type { margin-top: 2rem; }
.blk-n { position: absolute; left: 0; top: 1.9rem; font: 800 1.9rem/1 var(--f-display); letter-spacing: -.03em; color: var(--amber-deep); }
.blk h2 { margin-bottom: 1.1rem; max-width: 24em; }
.blk p { color: var(--ink-soft); max-width: 66ch; }
.faq-blk { padding-left: 0; }
.faq-blk h2 { margin-bottom: 1.4rem; }
@media (max-width: 560px) { .blk { padding-left: 0; } .blk-n { position: static; display: block; margin-bottom: .5rem; } }
.side { display: grid; gap: 1rem; }
@media (min-width: 1020px) { .side { position: sticky; top: 6.2rem; } }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.35rem 1.4rem; }
.side-card h3 { font-size: 1.15rem; margin-bottom: .9rem; letter-spacing: -.01em; }
.dark-card { background: var(--g-900); color: #fff; border-color: var(--g-900); }
.side-k { margin: 0 0 .3rem; font-size: .88rem; font-weight: 700; color: var(--amber); }
.side-phone { display: block; font: 800 2rem/1 var(--f-display); letter-spacing: -.03em; text-decoration: none; margin-bottom: .9rem; color: #fff; }
.side-phone:hover { color: var(--amber); }
.side-sm { margin: 0 0 .3rem; font-size: .92rem; color: rgba(255, 255, 255, .75); }
.dark-card .btn { margin-top: 1rem; width: 100%; }
.dark-card .open-status { margin-top: .4rem; }
.check li { position: relative; padding: .28rem 0 .28rem 1.7rem; font-size: .97rem; }
.check li::before { content: ""; position: absolute; left: 0; top: .72rem; width: .8rem; height: .8rem; background: var(--amber); transform: rotate(45deg) scale(.8); }
.tags.light li { border-color: var(--line); color: var(--ink); background: var(--mist); }
.side-fig img { width: 100%; height: auto; border-radius: var(--r-m); box-shadow: var(--shadow); max-height: 26rem; object-fit: cover; }
.side-links li a { display: block; padding: .42rem 0; text-decoration: none; font-weight: 600; font-size: .96rem; border-bottom: 1px solid var(--line); color: var(--g-700); }
.side-links li:last-child a { border-bottom: 0; }
.side-links li a:hover { color: var(--amber-deep); padding-left: .3rem; }
.contact-list.light dt { color: var(--ink-soft); }
.contact-list.light a { color: var(--g-700); font-weight: 600; }
.contact-list.light .hours span:nth-child(odd) { font-weight: 700; }
.contact-main .lead-p { max-width: 62ch; }
.contact-main .form-card { margin-top: 1.6rem; border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 6rem; }
.dark-card .open-status { background: rgba(255, 255, 255, .08); }

/* Related + CTA band */
.rel-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.rel { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--mist); text-decoration: none; font: 700 1.05rem/1.2 var(--f-display); transition: background-color .2s, color .2s, transform .2s; }
.rel i { font-style: normal; color: var(--amber-deep); transition: transform .2s; }
.rel:hover { background: var(--g-900); color: #fff; transform: translateY(-2px); }
.rel:hover i { transform: translateX(4px); color: var(--amber); }
.cta-band { overflow: hidden; }
.cta-in { display: grid; gap: 2rem 4rem; align-items: center; }
.cta-in p:not(.kicker) { color: rgba(255, 255, 255, .8); margin-top: 1.1rem; }
.cta-act { display: grid; gap: 1.1rem; justify-items: start; }
.cta-act .est-phone { margin: 0; font-size: clamp(2.4rem, 1rem + 5vw, 4.4rem); }
@media (min-width: 920px) { .cta-in { grid-template-columns: 1.3fr 1fr; } }

/* Hubs */
.svc-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.svc-card a { display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.svc-card a:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--amber); }
.svc-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--g-900); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card a:hover .svc-media img { transform: scale(1.06); }
.svc-media.is-icon { display: grid; place-items: center; background: radial-gradient(100% 100% at 80% 0, var(--g-700), var(--g-900)); }
.svc-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.3rem 1.4rem 1.5rem; flex: 1; }
.svc-body h2, .svc-body h3 { font-size: 1.35rem; line-height: 1.1; }
.svc-body p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.svc-body .arrow-link { margin-top: auto; padding-top: .6rem; }
.town-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); margin-top: clamp(2rem, 4vw, 3rem); }
.town-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line-dark); border-radius: var(--r-l); overflow: hidden; text-decoration: none; background: rgba(255, 255, 255, .04); transition: border-color .25s, transform .25s, background-color .25s; }
.town-card:hover { border-color: var(--amber); transform: translateY(-4px); background: var(--g-800); }
.tc-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.tc-media img { width: 100%; height: 100%; object-fit: cover; }
.tc-body { padding: 1.2rem 1.3rem 1.4rem; display: grid; gap: .5rem; }
.tc-body h3 { font-size: 1.45rem; }
.tc-body p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .96rem; }
a.town { text-decoration: none; display: block; }
.map a { cursor: pointer; }
.map a:focus-visible { outline: none; }
.map a:focus-visible .pt { stroke: var(--amber); }

/* About */
.two-col { display: grid; gap: 2.4rem 5rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }
.col-blk .kicker { margin-bottom: .8rem; }
.col-blk h2 { margin-bottom: 1.2rem; }
.col-blk p { color: var(--ink-soft); }
.prop-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
@media (min-width: 760px) { .prop-grid { grid-template-columns: repeat(4, 1fr); } }
.prop { display: flex; flex-direction: column; gap: .9rem; padding: 1.4rem; border: 1px solid var(--line-dark); border-radius: var(--r-m); background: rgba(255, 255, 255, .03); font: 700 1.15rem/1.15 var(--f-display); transition: background-color .2s, border-color .2s; }
.prop:hover { background: var(--g-800); border-color: var(--amber); }
.prop svg { width: 2.6rem; height: 2.6rem; color: var(--amber); }
.svc-mini { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.svc-mini a { display: block; height: 100%; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.svc-mini a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--amber); }
.svc-mini svg { width: 2.8rem; height: 2.8rem; color: var(--g-700); margin-bottom: 1rem; }
.svc-mini h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.svc-mini p { margin: 0; font-size: .97rem; color: var(--ink-soft); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.chip { padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 700; font-size: .95rem; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--g-700); }
.chip.is-on { background: var(--g-900); color: #fff; border-color: var(--g-900); }
.gal-item[hidden] { display: none; }
a.gal-item { text-decoration: none; }
.gal-teaser { columns: 2; }
@media (min-width: 900px) { .gal-teaser { columns: 3; } }
@media (min-width: 1100px) { .gal-teaser { columns: 3; } }

/* Forms (shared) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-err { margin: .35rem 0 0; font-size: .88rem; font-weight: 600; color: #b3361b; }
.f-alert { margin: 0 0 1rem; padding: .85rem 1rem; border-radius: var(--r-s); background: #fbe6e0; color: #8f2a14; font-weight: 600; }
.f-ok { margin: 0 0 1.4rem; padding: 1rem 1.2rem; border-radius: var(--r-s); background: #e1f3e8; color: #174a2c; }
.field input[type="file"] { padding: .7rem; background: var(--mist); }
.est-grid .form-card .form-help { text-align: left; }
.sec-split.light > p { color: var(--ink-soft); }
.sec-split.light { align-items: end; }

/* ==========================================================================
   Blog (public)
   ========================================================================== */
.blog-top { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; align-items: center; }
.blog-top .chip { text-decoration: none; }
.blog-search { margin-left: auto; display: flex; gap: .4rem; }
.blog-search input { font: inherit; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); min-width: 13rem; }
.blog-search button { padding: .6rem 1.1rem; border-radius: 999px; background: var(--g-900); color: #fff; border: 0; font-weight: 700; cursor: pointer; }
.post-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--amber); }
.pc-media { display: block; aspect-ratio: 16 / 10; background: var(--g-900); overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .pc-media img { transform: scale(1.05); }
.pc-media.is-empty { display: grid; place-items: center; background: radial-gradient(100% 100% at 80% 0, var(--g-700), var(--g-900)); }
.pc-media.is-empty img { width: 42%; height: auto; opacity: .85; object-fit: contain; }
.pc-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.pc-meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.pc-meta a { color: var(--amber-deep); text-decoration: none; }
.pc-body h2, .pc-body h3 { font-size: 1.4rem; line-height: 1.12; }
.pc-body h2 a, .pc-body h3 a { text-decoration: none; }
.pc-body h2 a:hover, .pc-body h3 a:hover { color: var(--g-700); }
.pc-body p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.pc-body .arrow-link { margin-top: auto; padding-top: .5rem; }
.post-feature { grid-column: 1 / -1; }
@media (min-width: 900px) { .post-feature { flex-direction: row; } .post-feature .pc-media { flex: 0 0 52%; aspect-ratio: auto; min-height: 22rem; } .post-feature .pc-body { padding: 2.2rem; justify-content: center; } .post-feature .pc-body h2 { font-size: clamp(1.8rem, 1rem + 2vw, 2.7rem); } }
.pager { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2.6rem; }
.pager a, .pager span { min-width: 2.7rem; padding: .6rem .9rem; text-align: center; border-radius: var(--r-s); border: 1px solid var(--line); background: var(--paper); font-weight: 700; text-decoration: none; }
.pager .cur { background: var(--g-900); color: #fff; border-color: var(--g-900); }
.pager a:hover { border-color: var(--g-700); }
.empty-note { padding: 2.4rem; text-align: center; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r-l); }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.4rem; font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.post-meta a { color: var(--amber); text-decoration: none; }
.post-hero-img { margin: 0 0 2rem; }
.post-hero-img img { width: 100%; height: auto; max-height: 34rem; object-fit: cover; border-radius: var(--r-l); box-shadow: var(--shadow); }
.post-hero-img figcaption { margin-top: .6rem; font-size: .9rem; color: var(--ink-soft); }
.post-body { font-size: 1.12rem; line-height: 1.75; max-width: 72ch; }
.post-body > *:first-child { margin-top: 0; }
.post-body p { max-width: none; margin: 0 0 1.25em; }
.post-body h2 { font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.3rem); margin: 2.1em 0 .6em; line-height: 1.1; }
.post-body h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); margin: 1.8em 0 .5em; line-height: 1.15; }
.post-body h4 { font-size: 1.2rem; margin: 1.5em 0 .4em; }
.post-body a { color: var(--g-700); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.post-body a:hover { color: var(--amber-deep); }
.post-body ul, .post-body ol { margin: 0 0 1.3em; padding-left: 1.4rem; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { padding: .15em 0 .15em .2rem; }
.post-body li::marker { color: var(--amber-deep); font-weight: 700; }
.post-body blockquote { margin: 1.8em 0; padding: 1.2rem 1.5rem; border-left: 5px solid var(--amber); background: var(--paper); border-radius: 0 var(--r-m) var(--r-m) 0; font-size: 1.18rem; }
.post-body blockquote p:last-child { margin: 0; }
.post-body img { max-width: 100%; height: auto; border-radius: var(--r-m); margin: .4rem 0 1.2rem; }
.post-body figure { margin: 1.6rem 0; }
.post-body figure img { margin: 0; }
.post-body figcaption { font-size: .9rem; color: var(--ink-soft); margin-top: .5rem; }
.post-body .aligncenter, .post-body img.aligncenter { display: block; margin-inline: auto; text-align: center; }
.post-body .alignleft { float: left; margin: .3rem 1.6rem 1rem 0; max-width: 50%; }
.post-body .alignright { float: right; margin: .3rem 0 1rem 1.6rem; max-width: 50%; }
.post-body p.alignjustify { text-align: justify; }
.post-body p.aligncenter, .post-body h2.aligncenter, .post-body h3.aligncenter { text-align: center; }
.post-body p.alignright, .post-body h2.alignright, .post-body h3.alignright { float: none; text-align: right; max-width: none; margin: 0 0 1.25em; }
.post-body p.alignleft, .post-body h2.alignleft, .post-body h3.alignleft { float: none; text-align: left; max-width: none; margin: 0 0 1.25em; }
.post-body::after { content: ""; display: block; clear: both; }
.post-body table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 1rem; display: block; overflow-x: auto; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: .65rem .9rem; text-align: left; }
.post-body th { background: var(--g-900); color: #fff; }
.post-body hr { border: 0; border-top: 2px solid var(--line); margin: 2.2em 0; }
.post-body pre, .post-body code { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: .95em; background: var(--mist-2); border-radius: 6px; }
.post-body code { padding: .12em .4em; }
.post-body pre { padding: 1rem 1.2rem; overflow-x: auto; }
.post-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2.2rem; }
.post-tags a { padding: .3rem .8rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .86rem; font-weight: 700; text-decoration: none; color: var(--g-700); }
.post-tags a:hover { background: var(--g-900); color: #fff; }
.post-cta { margin-top: 2.6rem; padding: 1.8rem; border-radius: var(--r-l); background: var(--g-900); color: #fff; }
.post-cta h2 { font-size: 1.7rem; margin-bottom: .6rem; }
.post-cta p { color: rgba(255, 255, 255, .82); }
.post-cta .btn { margin-top: .6rem; }
.recent-list li a { display: block; padding: .55rem 0; text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 700; line-height: 1.3; }
.recent-list li:last-child a { border: 0; }
.recent-list li a small { display: block; font-weight: 500; color: var(--ink-soft); font-size: .84rem; margin-top: .15rem; }
.recent-list li a:hover { color: var(--g-700); }
.page-404 { min-height: 70vh; display: grid; align-items: center; }
.page-404 .big { font: 800 clamp(6rem, 4rem + 12vw, 12rem)/.9 var(--f-display); letter-spacing: -.05em; color: var(--amber); }
.preview-bar { position: fixed; left: 0; right: 0; top: var(--hdr-h); z-index: 30; background: var(--amber); color: var(--g-950); text-align: center; padding: .6rem 1rem; font-weight: 700; }
.preview-bar a { text-decoration: underline; }
.phero .post-meta { margin-top: 1.4rem; }

/* in-text internal links */
.blk p a,.lead-p a,.prose p a,.post-body a,.col-blk p a{color:var(--green-2,#0f5a49);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.blk p a:hover,.lead-p a:hover,.post-body a:hover,.col-blk p a:hover{color:#b87400}
