/* =========================================================
   Gregg Jaffe Tax — main stylesheet
   Built by Boxer Media Services Corp.
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Libre Caslon Text";
  src: url("../fonts/caslon.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("../fonts/caslon-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/publicsans.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/publicsans-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --green-900: #15302a;
  --green-800: #1e3b34;
  --green-700: #2b5147;
  --green-100: #e3ebe7;
  --brass-300: #d4b787;
  --brass-400: #c9a86e;
  --brass-700: #7a5a26;
  --ink: #1c2421;
  --slate: #4c5753;
  --line: #d6ddd9;
  --mist: #f0f3f1;
  --paper: #ffffff;

  --serif: "Libre Caslon Text", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Public Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --wrap: 74rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7rem);
  --radius: 2px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green-800); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--green-700); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brass-400); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--brass-300); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.07; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.4rem; line-height: 1.25; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--green-800); color: #fff; padding: 0.75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 50rem; }
.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--slate); max-width: 40rem; }
.measure { max-width: 42rem; }

/* ---------- Dark surfaces ---------- */
.on-dark { background: var(--green-800); color: #e9efeb; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark a { color: #fff; }
.on-dark a:hover { color: var(--brass-300); }
.on-dark .lead { color: #c9d6d0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.2;
  padding: 0.95rem 1.5rem; min-height: 3rem;
  border: 1px solid var(--green-800); border-radius: var(--radius);
  background: var(--green-800); color: #fff;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn--ghost:hover { background: var(--green-800); color: #fff; }
.on-dark .btn { background: var(--brass-400); border-color: var(--brass-400); color: var(--green-900); }
.on-dark .btn:hover { background: var(--brass-300); border-color: var(--brass-300); color: var(--green-900); }
.on-dark .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.on-dark .btn--ghost:hover { background: #fff; color: var(--green-900); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.text-link { font-weight: 600; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 5.25rem;
}
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1; }
.brand:hover { color: var(--ink); }
.brand__name { font-family: var(--serif); font-size: 1.7rem; letter-spacing: 0.005em; }
.brand__role { font-size: 0.8rem; letter-spacing: 0.06em; color: var(--slate); margin-top: 0.4rem; }

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav__list > li { position: relative; margin: 0; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-family: var(--sans); font-size: 0.97rem; font-weight: 500; color: var(--ink);
  text-decoration: none; padding: 0.7rem 0.8rem; border-radius: var(--radius);
  background: transparent; border: 0; cursor: pointer; line-height: 1.2;
}
.nav__link:hover, .nav__toggle:hover { color: var(--green-700); background: var(--mist); }
.nav__link[aria-current="page"], .nav__toggle.is-current { color: var(--green-800); box-shadow: inset 0 -2px 0 var(--brass-400); }
.nav__toggle svg { width: 0.7rem; height: 0.7rem; transition: transform .2s ease; }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 0.4rem); left: 0; min-width: 17rem;
  background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--brass-400);
  list-style: none; margin: 0; padding: 0.5rem 0;
  box-shadow: 0 18px 40px -20px rgba(21,48,42,.35);
  display: none;
}
.nav__menu.is-open { display: block; }
/* Invisible bridge across the gap so the pointer can travel from the button to the menu */
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: calc(-0.4rem - 2px); height: calc(0.4rem + 2px); }
.nav__menu a { display: block; padding: 0.6rem 1.1rem; text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { background: var(--mist); color: var(--green-800); }
.nav__menu li { margin: 0; }
.nav__phone { margin-left: 0.75rem; padding: 0.75rem 1.1rem; min-height: 2.75rem; font-size: 0.95rem; }

.menu-btn {
  display: none; align-items: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem; color: var(--ink);
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.6rem 0.9rem; cursor: pointer;
}
.menu-btn svg { width: 1.2rem; height: 1.2rem; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 150; background: var(--green-800); color: #fff;
  padding: 1.25rem var(--gutter) 3rem; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
}
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mobile-nav__top .brand { color: #fff; }
.mobile-nav__top .brand__role { color: #c9d6d0; }
.mobile-nav__close {
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: #fff;
  background: transparent; border: 1px solid rgba(255,255,255,.6); border-radius: var(--radius);
  padding: 0.6rem 0.9rem; cursor: pointer;
}
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.14); margin: 0; }
.mobile-nav > ul > li > a { display: block; padding: 0.95rem 0; font-family: var(--serif); font-size: 1.45rem; color: #fff; text-decoration: none; }
.mobile-nav ul ul { padding: 0 0 0.9rem 0.25rem; }
.mobile-nav ul ul a { display: block; padding: 0.4rem 0; color: #d7e1dc; text-decoration: none; }
.mobile-nav a:hover { color: var(--brass-300); }
.mobile-nav .btn { margin-top: 2rem; width: 100%; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
body.nav-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; }
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center;
  padding-block: clamp(4.5rem, 10vw, 8.5rem) clamp(4.5rem, 9vw, 7.5rem);
}
.hero h1 { max-width: 15ch; margin-bottom: 1.5rem; }
.hero__lead { font-size: 1.22rem; max-width: 34rem; color: #cdd9d3; }
.hero__seal {
  position: absolute; z-index: 0; right: -14rem; top: 50%;
  width: min(62rem, 95vw); transform: translateY(-50%);
  pointer-events: none;
}
.hero__facts { list-style: none; margin: 0; padding: 0.5rem 1.75rem; justify-self: end; max-width: 22rem; position: relative; background: rgba(30,59,52,.92); }
.hero__facts li {
  margin: 0; padding: 1.2rem 0; border-top: 1px solid rgba(201,168,110,.45);
  font-size: 0.98rem; color: #d7e1dc;
}
.hero__facts li:last-child { border-bottom: 1px solid rgba(201,168,110,.45); }
.hero__facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: #fff; margin-bottom: 0.15rem; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__facts { justify-self: start; max-width: none; }
  .hero__seal { right: -45vw; top: 8rem; transform: none; width: 120vw; opacity: .7; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; }
.page-hero__inner { position: relative; z-index: 1; padding-block: clamp(3.5rem, 7vw, 5.75rem) clamp(3.25rem, 6vw, 5rem); }
.page-hero h1 { max-width: 20ch; margin-bottom: 1.1rem; }
.page-hero .lead { margin-bottom: 0; }
.page-hero__seal { position: absolute; z-index: 0; right: -16rem; top: -10rem; width: 44rem; opacity: .55; pointer-events: none; }
@media (max-width: 700px) { .page-hero__seal { right: -22rem; top: -6rem; opacity: .4; } }

.crumbs { font-size: 0.9rem; margin-bottom: 1.4rem; color: #c9d6d0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: var(--brass-400); }
.crumbs a { color: #e9efeb; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.crumbs [aria-current] { color: #c9d6d0; }

/* ---------- Intro / about split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split--contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 860px) { .split, .split--even, .split--contact { grid-template-columns: 1fr; } }
.portrait { position: relative; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--green-800); }
.portrait::after {
  content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 1px solid var(--brass-400); z-index: -1;
}
.portrait-wrap { position: relative; z-index: 0; margin: 0; padding-right: 1rem; padding-bottom: 1rem; max-width: 26rem; }
.portrait figcaption { font-size: 0.9rem; color: var(--slate); margin-top: 1.6rem; }

.credentials { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.credentials li { margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; }
.credentials dt, .credentials .k { font-weight: 600; color: var(--green-800); }
@media (max-width: 560px) { .credentials li { grid-template-columns: 1fr; gap: 0.15rem; } }

/* ---------- Services index ---------- */
.services-index { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2.5rem, 6vw, 5rem); }
.services-index__head { position: sticky; top: 7.5rem; align-self: start; }
@media (max-width: 860px) { .services-index { grid-template-columns: 1fr; } .services-index__head { position: static; } }
.service-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-rows li { margin: 0; border-bottom: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: start; padding: 1.8rem 0; text-decoration: none; color: var(--ink); }
.service-row:hover { color: var(--ink); }
.service-row h3 { margin-bottom: 0.4rem; transition: color .2s ease; }
.service-row p { margin: 0; color: var(--slate); max-width: 36rem; }
.service-row:hover h3 { color: var(--green-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.service-row__more { font-size: 0.92rem; font-weight: 600; color: var(--green-800); white-space: nowrap; padding-top: 0.45rem; }
@media (max-width: 560px) { .service-row { grid-template-columns: 1fr; gap: 0.75rem; } .service-row__more { padding-top: 0; } }

/* ---------- Who we serve ---------- */
.clients { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); margin-top: 3rem; }
.clients h3 { font-size: 1.3rem; padding-top: 1.1rem; border-top: 2px solid var(--brass-400); }
.clients p { color: var(--slate); }
@media (max-width: 860px) { .clients { grid-template-columns: 1fr; } }

/* ---------- Testimonial ---------- */
.quote { position: relative; overflow: hidden; }
.quote__inner { position: relative; z-index: 1; max-width: 54rem; margin: 0; padding-block: var(--section); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 2.6vw, 2.05rem); line-height: 1.42; color: #fff; }
.quote figcaption { margin-top: 1.75rem; color: #c9d6d0; font-size: 1rem; }
.quote figcaption strong { color: #fff; font-weight: 600; }
.quote__rule { width: 4rem; height: 2px; background: var(--brass-400); margin-bottom: 2.25rem; border: 0; }
.quote__seal { position: absolute; z-index: 0; left: -18rem; bottom: -20rem; width: 42rem; opacity: .4; pointer-events: none; }

/* ---------- Post grid ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 2.25rem); }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; }
.post-card__img { display: block; overflow: hidden; background: var(--mist); margin-bottom: 1.1rem; }
.post-card__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-card__img img { transform: scale(1.025); }
.post-card time { font-size: 0.88rem; color: var(--slate); }
.post-card h2, .post-card h3 { font-size: 1.28rem; line-height: 1.25; margin: 0.35rem 0 0.6rem; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--green-700); text-decoration: underline; }
.post-card p { color: var(--slate); font-size: 0.98rem; margin: 0; }

.post-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; padding-bottom: clamp(3rem, 6vw, 4.5rem); margin-bottom: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.post-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-feature h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0.4rem 0 0.9rem; }
.post-feature h2 a { color: var(--ink); text-decoration: none; }
.post-feature h2 a:hover { text-decoration: underline; color: var(--green-700); }
.post-feature time { font-size: 0.9rem; color: var(--slate); }
.post-feature p { color: var(--slate); }
@media (max-width: 800px) { .post-feature { grid-template-columns: 1fr; } }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { margin: 0; }

/* ---------- Article ---------- */
.article-hero__meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; color: #c9d6d0; font-size: 0.95rem; }
.article-figure { margin: 0 auto; max-width: 58rem; transform: translateY(-1px); }
.article-figure img { width: 100%; height: auto; }
.prose { max-width: 42rem; margin: 0 auto; font-size: 1.1rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: 2.2em 0 0.6em; }
.prose h3 { font-size: 1.32rem; margin: 1.9em 0 0.5em; }
.prose > :first-child { margin-top: 0; }
.prose li { margin-bottom: 0.55em; }
.prose u { text-decoration: none; font-weight: 600; }
.prose figure { margin: 2.25rem 0; }
.prose a { overflow-wrap: anywhere; }
.table-scroll { overflow-x: auto; margin: 1.75rem 0; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.98rem; min-width: 30rem; }
.prose th, .prose td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--mist); font-weight: 600; color: var(--green-800); }
.prose tr:last-child td { border-bottom: 0; }

.author-box { max-width: 42rem; margin: 3.5rem auto 0; padding: 2rem 0 0; border-top: 2px solid var(--brass-400); display: grid; grid-template-columns: 5rem 1fr; gap: 1.25rem; align-items: start; }
.author-box img { width: 5rem; height: 5rem; object-fit: cover; border-radius: 50%; background: var(--green-800); }
.author-box h2 { font-size: 1.3rem; margin: 0 0 0.35rem; }
.author-box p { margin: 0 0 0.6rem; color: var(--slate); font-size: 1rem; }

/* ---------- Service page body ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; } }
.content h2 { font-size: clamp(1.6rem, 2.4vw, 1.95rem); margin-top: 1.9em; }
.content > h2:first-child { margin-top: 0; }
.content ul { padding-left: 0; list-style: none; }
.content ul li { position: relative; padding-left: 1.6rem; margin-bottom: 0.8em; }
.content ul li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.7rem; height: 1px; background: var(--brass-700); }
.content ul li strong { color: var(--ink); }

.aside { position: sticky; top: 7.5rem; }
.aside__box { border: 1px solid var(--line); border-top: 3px solid var(--green-800); padding: 1.75rem; background: #fff; }
.aside__box h2 { font-size: 1.4rem; }
.aside__box p { color: var(--slate); font-size: 0.98rem; }
.aside__box .btn { width: 100%; margin-top: 0.4rem; }
.aside__contact { list-style: none; padding: 0; margin: 1.25rem 0 0; font-size: 0.98rem; }
.aside__contact li { margin: 0 0 0.35rem; }
.aside__nav { margin-top: 2rem; }
.aside__nav h2 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.aside__nav ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.aside__nav li { margin: 0; border-bottom: 1px solid var(--line); }
.aside__nav a { display: block; padding: 0.75rem 0; text-decoration: none; color: var(--ink); }
.aside__nav a:hover, .aside__nav a[aria-current="page"] { color: var(--green-800); font-weight: 600; }
@media (max-width: 900px) { .aside { position: static; } }

/* ---------- Two-column feature list (industries etc.) ---------- */
.columns-2 { columns: 2; column-gap: 3rem; }
@media (max-width: 600px) { .columns-2 { columns: 1; } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; }
.cta__inner { position: relative; z-index: 1; padding-block: clamp(4rem, 8vw, 6rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: center; }
.cta h2 { margin-bottom: 0.6rem; }
.cta p { margin: 0; color: #cdd9d3; max-width: 36rem; }
.cta .btn-row { margin-top: 0; }
.cta__seal { position: absolute; right: -10rem; top: -14rem; width: 36rem; opacity: .45; pointer-events: none; }
@media (max-width: 800px) { .cta__inner { grid-template-columns: 1fr; } }

/* ---------- Tools ---------- */
.tool-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .tool-list { grid-template-columns: 1fr; } }
.tool-list li { margin: 0; border-bottom: 1px solid var(--line); }
.tool-list a { display: block; padding: 1.6rem 0; text-decoration: none; color: var(--ink); }
.tool-list h2, .tool-list h3 { font-size: 1.4rem; margin-bottom: 0.35rem; }
.tool-list a:hover h2, .tool-list a:hover h3 { color: var(--green-700); text-decoration: underline; text-decoration-thickness: 1px; }
.tool-list p { margin: 0; color: var(--slate); }


/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .hint { font-size: 0.88rem; color: var(--slate); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #727d79; border-radius: var(--radius);
  padding: 0.8rem 0.9rem; min-height: 3rem; width: 100%;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--brass-400); outline-offset: 1px; border-color: var(--green-800); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.9rem; color: var(--slate); }
.form-status { margin-top: 1rem; padding: 1rem 1.2rem; display: none; }
.form-status.is-success { display: block; background: var(--green-100); border-left: 3px solid var(--green-800); }
.form-status.is-error { display: block; background: #fbeceb; border-left: 3px solid #a12a22; color: #6b1a14; }

.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.contact-list li { margin: 0; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.contact-list .k { display: block; font-size: 0.9rem; color: var(--slate); margin-bottom: 0.15rem; }
.contact-list .v { font-family: var(--serif); font-size: 1.3rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* ---------- Legal ---------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.6rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.2rem; margin-top: 1.6em; }
.legal .updated { color: var(--slate); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #d0dbd6; font-size: 0.97rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--brass-300); text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-block: clamp(3.5rem, 7vw, 5rem) 3rem; }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand .brand { color: #fff; }
.footer__brand .brand__role { color: #c9d6d0; }
.footer__brand p { margin-top: 1.25rem; max-width: 22rem; }
.site-footer h2 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--brass-300); letter-spacing: 0.02em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 0.55rem; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; }
.footer__social a:hover { border-color: var(--brass-300); background: rgba(255,255,255,.06); }
.footer__social svg { width: 1.05rem; height: 1.05rem; fill: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding-block: 1.6rem 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; font-size: 0.9rem; color: #bccac4; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.footer__legal a { color: #e3ebe7; }

/* ---------- Cookie consent ---------- */
.consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 180; max-width: 34rem;
  background: var(--green-900); color: #e3ebe7; padding: 1.4rem 1.5rem;
  border-top: 2px solid var(--brass-400); box-shadow: 0 20px 50px -20px rgba(0,0,0,.5);
  display: none;
}
.consent.is-visible { display: block; }
.consent p { margin: 0 0 1rem; font-size: 0.95rem; }
.consent a { color: #fff; }
.consent .btn-row { margin-top: 0; }
.consent .btn { background: var(--brass-400); border-color: var(--brass-400); color: var(--green-900); padding: 0.75rem 1.2rem; }
.consent .btn:hover { background: var(--brass-300); border-color: var(--brass-300); }
/* Explicit rule so the decline button never falls back to dark-on-dark */
.consent .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.consent .btn--ghost:hover { background: #fff; color: var(--green-900); border-color: #fff; }

/* ---------- 404 ---------- */
.notfound { text-align: left; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .consent, .cta, .mobile-nav { display: none !important; }
  .on-dark { background: #fff !important; color: #000 !important; }
  .on-dark h1 { color: #000 !important; }
}
.quote + .cta { border-top: 1px solid rgba(201,168,110,.35); }

/* ---------- Photography ---------- */
.content-figure { margin: 0 0 clamp(2rem, 4vw, 2.75rem); }
.content-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.content figure.inline-figure { margin: 2rem 0; }
.content figure.inline-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.service-row--thumb { grid-template-columns: 11rem minmax(0, 1fr) auto; }
.service-row--thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 760px) { .service-row--thumb { grid-template-columns: 7rem minmax(0, 1fr); } .service-row--thumb .service-row__more { display: none; } }

.place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; }
.place__img { min-height: 30rem; position: relative; }
.place__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place__text { padding: var(--section) var(--gutter) var(--section) clamp(2.5rem, 6vw, 5.5rem); max-width: 40rem; align-self: center; }
@media (max-width: 860px) {
  .place { grid-template-columns: 1fr; }
  .place__img { min-height: 0; aspect-ratio: 3 / 2; }
  .place__text { padding: clamp(3rem, 8vw, 4rem) var(--gutter); }
}

.intro-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.intro-split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 760px) { .intro-split { grid-template-columns: 1fr; } }

.author-box img { object-position: 50% 15%; }
.portrait img { object-position: 50% 20%; }
.service-row h2, .service-row h3 { font-size: 1.4rem; line-height: 1.25; }
address { font-style: normal; }
/* Links inside sentences on dark surfaces carry an underline, not color alone */
.footer__bottom p a, .consent p a { text-decoration: underline; text-underline-offset: 0.2em; }
.post-service { max-width: 42rem; margin: 3rem auto 0; padding: 1.4rem 1.6rem; background: var(--mist); border-left: 3px solid var(--brass-400); font-size: 1rem; }
.post-service p { margin: 0; color: var(--slate); }
.post-service a { font-weight: 600; }
.prose--article { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.cf-turnstile { margin-top: 1.5rem; }
.form-submit { margin-top: 1.5rem; }
.post-note { font-size: 0.98rem; color: var(--slate); background: var(--mist); padding: 1rem 1.25rem; border-left: 3px solid var(--brass-400); margin-bottom: 2rem; }
