/* TheWrapChap — site styles */
:root {
  --ink: #17201c;
  --ink-soft: #3e4943;
  --muted: #5d6762;
  --green-950: #0f241f;
  --green-900: #14302a;
  --green-800: #1d3d35;
  --green-700: #2a5246;
  --sage: #8fa898;
  --sage-soft: #dfe7e0;
  --paper: #fbf9f4;
  --cream: #f4efe5;
  --sand: #e8dfcf;
  --line: #ddd3c2;
  --brass: #b5893c;
  --brass-light: #d8b56f;
  --brass-text: #7d5a1c;
  --white: #ffffff;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(20, 30, 25, .06), 0 8px 30px rgba(20, 30, 25, .08);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-800); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-700); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--green-950);
  margin: 0 0 .5em;
  font-variation-settings: 'opsz' 144;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--green-700); }
p { margin: 0 0 1.1em; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-soft); max-width: 60ch; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.section { padding: var(--section) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--green-900); color: #e9efe9; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .lede, .section--dark p { color: #c9d6cd; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brass-text); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--brass); }
.section--dark .eyebrow { color: var(--brass-light); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--green-900); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: .98rem; line-height: 1.1;
  text-decoration: none; cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--green-800); color: var(--white); }
.btn--primary:hover { background: var(--green-950); color: var(--white); transform: translateY(-1px); }
.btn--brass { background: var(--brass); color: var(--green-950); }
.btn--brass:hover { background: var(--brass-light); color: var(--green-950); transform: translateY(-1px); }
.btn--ghost { border-color: var(--green-800); color: var(--green-800); background: transparent; }
.btn--ghost:hover { background: var(--green-800); color: var(--white); }
.section--dark .btn--ghost, .cta-band .btn--ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.section--dark .btn--ghost:hover, .cta-band .btn--ghost:hover { background: var(--white); color: var(--green-950); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile menu. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 249, 244, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-950); flex: none; }
.logo svg { width: 36px; height: 36px; }
.logo-text { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; letter-spacing: -.02em; line-height: 1; }
.logo-text b { font-weight: 700; font-style: italic; color: var(--green-700); }

/* Nav — markup matches WordPress wp_nav_menu (ul.menu > li > ul.sub-menu) */
.nav { display: flex; align-items: center; gap: 8px; }
.nav .menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav .menu > li { position: relative; }
.nav .menu a {
  font: 600 .95rem/1 var(--font-body); color: var(--ink); text-decoration: none;
  padding: 10px 12px; border-radius: 8px; display: inline-flex; align-items: center; gap: 7px;
}
.nav .menu > li > a:hover,
.nav .menu > .current-menu-item > a,
.nav .menu > .current-menu-ancestor > a,
.nav .menu > .current-page-ancestor > a { color: var(--green-700); background: var(--sage-soft); }
.nav .menu-item-has-children > a::after {
  content: ''; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.nav .sub-menu {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 250px; z-index: 60;
  list-style: none; margin: 0; padding: 8px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav .sub-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav .menu-item-has-children:hover > .sub-menu,
.nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu a { display: flex; width: 100%; padding: 11px 12px; }
.nav .sub-menu a:hover, .nav .sub-menu .current-menu-item > a { background: var(--cream); color: var(--green-700); }
.nav a.header-cta { padding: .8em 1.25em; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--green-950); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 74px 0 0 0; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 40px;
    overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav .menu > li > a { font-size: 1.15rem; padding: 16px 4px; border-bottom: 1px solid var(--line); border-radius: 0; width: 100%; }
  .nav .menu > li > a:hover, .nav .menu > .current-menu-item > a { background: transparent; }
  .nav .menu-item-has-children > a::after { display: none; }
  .nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 4px 0 10px 14px; min-width: 0; background: transparent; }
  .nav .sub-menu::before { display: none; }
  .nav .sub-menu a { font-size: 1rem; padding: 11px 4px; }
  .nav a.header-cta { margin-top: 22px; }
  body.nav-open { overflow: hidden; }
}

/* WordPress admin bar */
.admin-bar .site-header { top: 32px; }
@media (max-width: 1060px) { .admin-bar .nav { top: 106px; } }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } .admin-bar .nav { top: 120px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
[id] { scroll-margin-top: 96px; }
.post-image img { border-radius: var(--radius-lg); margin-bottom: 28px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-links .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.nav-links .page-numbers.current { background: var(--green-800); color: #fff; border-color: var(--green-800); }

/* Breadcrumbs */
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* Home hero */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lede { margin-bottom: 1.8rem; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--radius-lg); }
.hero-media::after {
  content: ''; position: absolute; top: -1px; right: -1px; width: 22%; aspect-ratio: 1;
  background: linear-gradient(225deg, var(--paper) 50%, var(--brass) 50%, #e2c27f 100%);
  border-top-right-radius: var(--radius-lg); filter: drop-shadow(-6px 6px 10px rgba(0,0,0,.12));
}
.hero-badge {
  position: absolute; left: -22px; bottom: 28px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px; max-width: 270px;
}
.hero-badge strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--green-800); line-height: 1; }
.hero-badge span { font-size: .86rem; color: var(--ink-soft); line-height: 1.35; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding: 0; list-style: none; font-weight: 600; font-size: .95rem; color: var(--ink-soft); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--green-700); flex: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero-badge { left: 12px; bottom: 12px; }
}

/* Page hero (inner pages) */
.page-hero { padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
.page-hero-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero--simple .page-hero-grid { grid-template-columns: 1fr; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* Trust strip */
.strip { background: var(--green-900); color: #dfe8e1; }
.strip ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.strip li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; line-height: 1.3; }
.strip svg { width: 26px; height: 26px; color: var(--brass-light); flex: none; }
@media (max-width: 860px) { .strip ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .strip ul { grid-template-columns: 1fr; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; color: var(--muted); font-size: .98rem; }
.card-link { margin-top: auto; padding-top: 12px; font-weight: 700; color: var(--green-700); display: inline-flex; align-items: center; gap: 6px; }
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .card-link svg { transform: translateX(4px); }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split-media { order: 0; } }

/* Before / after */
.ba { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--sand); user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; margin-left: -1.5px; background: var(--white); pointer-events: none; }
.ba-handle {
  position: absolute; top: 50%; left: var(--pos, 50%); width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-radius: 50%; background: var(--white); box-shadow: 0 4px 16px rgba(0,0,0,.25); display: grid; place-items: center; pointer-events: none; color: var(--green-900);
}
.ba-handle svg { width: 26px; height: 26px; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: rgba(15,36,31,.82); color: #fff; pointer-events: none; }
.ba-tag--before { left: 16px; }
.ba-tag--after { right: 16px; background: var(--brass); color: var(--green-950); }
.ba:has(input:focus-visible) { outline: 3px solid var(--brass); outline-offset: 4px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { border-top: 2px solid var(--brass); padding-top: 22px; }
.steps li::before { counter-increment: step; content: '0' counter(step); display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 400; font-style: italic; color: var(--brass); line-height: 1; margin-bottom: 14px; }
.section--dark .steps li::before { color: var(--brass-light); }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Comparison table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .98rem; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; background: var(--cream); color: var(--green-950); }
.compare thead th.hl { background: var(--green-800); color: var(--white); }
.compare td.hl { background: #f1f6f2; font-weight: 600; }
.compare tbody th { font-weight: 700; color: var(--ink); white-space: nowrap; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }

/* Finishes */
.finish-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.finish { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.finish h3 { font-size: 1.25rem; margin-bottom: .35em; }
.finish p { color: var(--muted); font-size: .96rem; margin-bottom: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); box-shadow: inset 0 0 0 3px rgba(255,255,255,.35); }

/* State grid */
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.state-grid a {
  display: flex; flex-direction: column; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--white); text-decoration: none; color: var(--ink); transition: border-color .2s, background-color .2s;
}
.state-grid a:hover { border-color: var(--green-700); background: #f3f7f4; }
.state-grid strong { font-weight: 700; }
.state-grid span { font-size: .86rem; color: var(--muted); }
.section--dark .state-grid a { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); color: #fff; }
.section--dark .state-grid a:hover { background: rgba(255,255,255,.1); border-color: var(--brass-light); }
.section--dark .state-grid span { color: #a9bbb0; }
.region { margin-bottom: 40px; }
.region h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 16px; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 500; color: var(--green-950); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: linear-gradient(var(--green-700), var(--green-700)) center / 14px 2px no-repeat, linear-gradient(var(--green-700), var(--green-700)) center / 2px 14px no-repeat;
  border: 1.5px solid var(--line); border-radius: 50%; transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 24px; color: var(--ink-soft); max-width: 70ch; }

/* CTA band */
.cta-band { background: var(--green-900); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); position: relative; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  background: linear-gradient(225deg, transparent 50%, rgba(216,181,111,.22) 50%); border-radius: 30px; transform: rotate(8deg);
}
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: #c9d6cd; max-width: 56ch; }
.cta-email { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--brass-light); text-decoration: none; display: inline-block; margin: 4px 0 26px; word-break: break-all; }
.cta-email:hover { color: #fff; text-decoration: underline; }

/* Prose */
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
ul.ticks { list-style: none; padding: 0; }
ul.ticks li { position: relative; padding-left: 34px; margin-bottom: .75em; }
ul.ticks li::before {
  content: ''; position: absolute; left: 0; top: .28em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a5246' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}
ol.steps-inline { padding-left: 1.3em; }
ol.steps-inline li::marker { font-family: var(--font-display); color: var(--brass-text); font-weight: 600; }

/* Two-column with sticky aside */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.aside-card { position: sticky; top: 98px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.aside-card h3 { margin-bottom: .4em; }
.aside-card p { color: var(--muted); font-size: .97rem; }
.aside-card .btn { width: 100%; }
.aside-card ul { margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: .93rem; }
.aside-card li { padding: 4px 0; }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } .aside-card { position: static; } }

.city-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1.2em; }
.city-list li { padding: 7px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: .93rem; }
.city-list li.main { background: var(--green-800); border-color: var(--green-800); color: #fff; }

.callout { background: var(--cream); border-left: 4px solid var(--brass); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 1.8em 0; }
.callout h3 { margin-bottom: .35em; }
.callout p:last-child { margin-bottom: 0; }

.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.mini-cards a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: var(--white); color: var(--ink); font-weight: 700; transition: border-color .2s; }
.mini-cards a:hover { border-color: var(--green-700); }
.mini-cards span { display: block; font-weight: 500; font-size: .88rem; color: var(--muted); margin-top: 2px; }

/* Contact / quote builder */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.email-card { background: var(--green-900); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); }
.email-card h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.email-card p { color: #c9d6cd; }
.email-card ol { color: #dfe8e1; padding-left: 1.2em; }
.email-card li { margin-bottom: .5em; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.form h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label, .field legend { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(42, 82, 70, .18); }
.field textarea { min-height: 120px; resize: vertical; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem; cursor: pointer; background: var(--paper); }
.checks input { accent-color: var(--green-800); width: 16px; height: 16px; margin: 0; }
.checks label:has(input:checked) { border-color: var(--green-700); background: #eef4ef; }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 12px; }

/* Footer */
.site-footer { background: var(--green-950); color: #b9c7be; padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .95rem; }
.site-footer a { color: #dfe8e1; text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-light); font-weight: 700; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.site-footer .logo { color: #fff; }
.site-footer .logo-text b { color: var(--brass-light); }
.footer-about p { margin-top: 16px; max-width: 36ch; }
.footer-email { font-family: var(--font-display); font-size: 1.3rem; color: var(--brass-light) !important; }
.footer-states { margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-states ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .86rem; }
.footer-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Utilities */
.mt-0 { margin-top: 0; }
.mt-l { margin-top: clamp(32px, 5vw, 56px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.gallery { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.gallery img { border-radius: var(--radius-lg); width: 100%; height: 100%; object-fit: cover; }
.gallery .g-tall { grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } .gallery .g-tall { grid-row: auto; } }

/* Motion */
/* .js is set by an inline <head> script, so content stays visible if JS fails */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
