/*
Theme Name: GoalPuls Agency
Theme URI: https://goalpuls.site/
Author: GoalPuls
Author URI: https://goalpuls.site/
Description: A professional agency website theme for GoalPuls — modern, fast, conversion-focused websites for local businesses. No page builder required.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: goalpuls-agency
*/

/* ============================================================
   GoalPuls — agency site styles
   Typography-led, solid colors, no gradient meshes, no blobs.
   ============================================================ */

:root {
  --paper: #f7f4ec;
  --paper-2: #ffffff;
  --ink: #131916;
  --ink-soft: #2b332d;
  --muted: #5d6a61;
  --line: #e3ddcc;
  --line-soft: #ece7d8;
  --brand: #0b6b4a;
  --brand-deep: #084e36;
  --brand-tint: #e2efe7;
  --amber: #c98f1f;
  --amber-tint: #faf0d7;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(19, 25, 22, 0.06), 0 4px 14px rgba(19, 25, 22, 0.06);
  --shadow-md: 0 2px 4px rgba(19, 25, 22, 0.08), 0 12px 32px rgba(19, 25, 22, 0.10);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
}

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p { margin-block: 0.75em; }
p:first-child { margin-top: 0; }

a { color: var(--brand-deep); }
a:hover { color: var(--brand); }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section--white { background: var(--paper-2); }
.section--tint { background: var(--brand-tint); }
.section--dark { background: var(--ink); color: #eef2ee; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #c9d2cb; }
.section--dark a { color: #8fd8b2; }

/* ---------- Eyebrow / section headers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--brand);
  display: inline-block;
}
.section--dark .eyebrow { color: #8fd8b2; }

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p.lead { font-size: 1.15rem; color: var(--muted); }
.section--dark .section-head p.lead { color: #b9c4bc; }

.lead { font-size: 1.18rem; color: var(--muted); }
.section--dark .lead { color: #b9c4bc; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(11, 107, 74, 0.28);
}
.btn--primary:hover { background: var(--brand-deep); color: #fff; transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-soft); color: #fff; transform: translateY(-2px); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); color: var(--ink); box-shadow: var(--shadow-md); }
.btn--ghost-light { border-color: rgba(255,255,255,0.45); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }
.btn--sm { padding: 0.7rem 1.25rem; font-size: 0.92rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 236, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 2rem; height: 2rem; flex: none; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
}
.main-nav a {
  display: inline-block;
  padding: 0.6rem 0.85rem;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.98rem;
  border-radius: 8px;
  position: relative;
}
.main-nav a:hover { color: var(--brand-deep); background: rgba(11,107,74,0.07); }
.main-nav a[aria-current="page"] { color: var(--brand-deep); font-weight: 700; }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.header-cta { display: inline-flex; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 1.4rem; height: 1.4rem; }

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-copy h1 .accent { color: var(--brand); }
.hero-copy .lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 34rem; }

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  list-style: none;
  padding-left: 0;
}
.proof-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.proof-row svg { width: 1.05rem; height: 1.05rem; color: var(--brand); flex: none; }

/* Browser mock visual */
.mock-wrap { position: relative; }
.browser-mock {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  background: #fbf9f4;
}
.browser-bar .dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; }
.browser-url {
  flex: 1;
  margin-left: 0.5rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.32rem 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-body { padding: 1.4rem; display: grid; gap: 0.9rem; }
.mock-hero {
  background: var(--ink);
  border-radius: 12px;
  padding: 1.6rem 1.4rem;
  color: #fff;
}
.mock-hero .m-eyebrow { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8fd8b2; font-weight: 700; }
.mock-hero .m-title { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.2; margin: 0.4rem 0 0.8rem; max-width: 16rem; }
.mock-hero .m-btns { display: flex; gap: 0.5rem; }
.mock-hero .m-btn { height: 1.9rem; border-radius: 999px; width: 6.5rem; background: var(--brand); }
.mock-hero .m-btn.ghost { width: 5.5rem; background: transparent; border: 1.5px solid rgba(255,255,255,0.5); }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.mock-card { border: 1px solid var(--line-soft); border-radius: 10px; padding: 1rem; background: #fff; }
.mock-card .m-block { height: 0.55rem; border-radius: 4px; background: var(--line-soft); margin-bottom: 0.5rem; }
.mock-card .m-block.short { width: 55%; }
.mock-card .m-tag { display: inline-block; font-size: 0.62rem; font-weight: 700; color: var(--brand-deep); background: var(--brand-tint); border-radius: 999px; padding: 0.15rem 0.6rem; margin-bottom: 0.6rem; }

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 0.8rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: floaty 5s ease-in-out infinite;
}
.float-card .fc-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--brand); flex: none; }
.float-card small { display: block; font-weight: 500; color: var(--muted); font-size: 0.72rem; }
.float-card--a { top: 8%; right: -1rem; }
.float-card--b { bottom: 10%; left: -1.2rem; animation-delay: 2.5s; }
.float-card--b .fc-dot { background: var(--amber); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* Pulse divider motif */
.pulse-line { width: 100%; height: 44px; color: var(--brand); opacity: 0.55; }
.pulse-line path {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: pulseDraw 3.2s ease forwards;
}
@keyframes pulseDraw { to { stroke-dashoffset: 0; } }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  overflow: hidden;
  padding-block: 1.1rem;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 30s linear infinite;
  list-style: none;
  padding: 0;
  margin: 0;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink-soft);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.marquee-track li::after { content: "◆"; color: var(--brand); font-size: 0.7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Editorial numbered list (services overview) ---------- */
.num-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.num-list li { border-bottom: 1px solid var(--line); }
.num-list a {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0.5rem;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.18s ease, padding-left 0.18s ease;
}
.num-list a:hover { background: rgba(11,107,74,0.05); padding-left: 1rem; }
.num-list .num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand);
  font-size: 1rem;
}
.num-list .nl-title { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.num-list .nl-desc { color: var(--muted); font-size: 0.97rem; margin-top: 0.2rem; }
.num-list .nl-arrow { font-size: 1.4rem; color: var(--brand); transition: transform 0.18s ease; }
.num-list a:hover .nl-arrow { transform: translateX(6px); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1fr;
}
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d5cdb4; }
.card .card-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin-bottom: 0.7rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.99rem; }
.card .card-link { margin-top: auto; padding-top: 1.1rem; font-weight: 600; }
.card .tag-row { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; }

.tag {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--brand-tint);
  color: var(--brand-deep);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
}
.tag--amber { background: var(--amber-tint); color: #7a5a10; }
.tag--line { background: transparent; border: 1px solid var(--line); color: var(--muted); }

/* ---------- Steps / process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.step:first-child { border-top: 1px solid var(--line); }
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--brand);
  line-height: 1;
}
.step h3 { margin-bottom: 0.35rem; }
.step p { color: var(--muted); max-width: 46rem; }

/* ---------- Work / portfolio cards ---------- */
.work-card { overflow: hidden; padding: 0; }
.work-visual {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.work-visual .wv-inner {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  text-align: center;
  padding: 1rem;
  line-height: 1.25;
}
.work-body { padding: 1.7rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.badge-concept {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  padding: 0.32rem 0.7rem;
}
.work-meta { font-size: 0.9rem; color: var(--muted); }
.work-meta strong { color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 1.3rem 0.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq-icon {
  flex: none;
  width: 1.9rem; height: 1.9rem;
  border: 1.5px solid var(--brand);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--brand);
  font-size: 1.1rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.faq details[open] summary .faq-icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq .faq-answer { padding: 0 0.25rem 1.4rem; color: var(--muted); max-width: 48rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brand-deep);
  color: #fff;
  border-radius: 22px;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; margin-bottom: 0.75rem; max-width: 34rem; }
.cta-band p { color: #cfe6d8; max-width: 36rem; }
.cta-band .btn-row { margin-top: 2rem; }
.cta-band .pulse-line { position: absolute; right: -2rem; bottom: 1rem; width: 46%; color: rgba(255,255,255,0.22); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.45rem; }
.field label .req { color: #b3372a; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 107, 74, 0.15);
}
.field .hint { font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem; }
.field .error { display: none; font-size: 0.86rem; color: #b3372a; font-weight: 600; margin-top: 0.35rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3372a; }
.field.invalid .error { display: block; }

.radio-group { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  background: #fff;
  transition: all 0.15s ease;
}
.radio-pill input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.radio-pill input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }

.form-note {
  background: var(--amber-tint);
  border: 1px solid #e8d9a8;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  font-size: 0.93rem;
  color: #6b5210;
}
.form-success {
  display: none;
  background: var(--brand-tint);
  border: 1px solid #bcdcc9;
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  margin-top: 1.25rem;
}
.form-success.show { display: block; }
.form-success strong { color: var(--brand-deep); }

/* ---------- Blog ---------- */
.post-card { text-decoration: none; color: inherit; }
.post-card:hover h3 { color: var(--brand-deep); }
.post-meta { font-size: 0.86rem; color: var(--muted); margin-bottom: 0.6rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }

.article { max-width: 46rem; }
.article h2 { margin-top: 2.5rem; margin-bottom: 0.5rem; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.article h3 { margin-top: 1.75rem; }
.article ul, .article ol { padding-left: 1.4rem; margin-block: 1rem; }
.article li { margin-bottom: 0.5rem; }
.article blockquote {
  border-left: 4px solid var(--brand);
  padding: 0.5rem 0 0.5rem 1.25rem;
  margin: 1.75rem 0;
  font-size: 1.15rem;
  font-family: var(--font-display);
  color: var(--ink-soft);
}
.article-header { margin-bottom: 2.5rem; }
.article-header .post-meta { margin-bottom: 1rem; }
.article-cta {
  margin-top: 3rem;
  background: var(--ink);
  color: #eef2ee;
  border-radius: var(--radius);
  padding: 2.25rem;
}
.article-cta h3 { color: #fff; margin-bottom: 0.5rem; }
.article-cta p { color: #c9d2cb; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(2.75rem, 6vw, 4.75rem); }
.page-hero h1 { max-width: 20ch; margin-bottom: 1rem; }
.page-hero .lead { max-width: 42rem; }
.breadcrumbs { font-size: 0.87rem; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand-deep); }

/* ---------- Service detail blocks ---------- */
.service-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  margin-bottom: 1.4rem;
  display: grid;
  gap: 1.25rem;
}
.service-block h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.service-block .includes { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.service-block .includes li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.99rem; }
.service-block .includes svg { width: 1.1rem; height: 1.1rem; color: var(--brand); flex: none; margin-top: 0.28rem; }
.service-kicker {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-deep); margin-bottom: 0.5rem;
}

/* ---------- Industry cards ---------- */
.industry-card h3 { display: flex; align-items: baseline; gap: 0.75rem; }
.industry-card .ind-num {
  font-family: var(--font-display); font-weight: 700; color: var(--brand);
  font-size: 0.95rem; flex: none;
}

/* ---------- Two-col layouts ---------- */
.split { display: grid; gap: 2.5rem; }
.split > * { min-width: 0; }

.contact-side .contact-card {
  background: var(--ink);
  color: #eef2ee;
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.25rem;
}
.contact-side .contact-card h3 { color: #fff; margin-bottom: 0.5rem; }
.contact-side .contact-card p { color: #c9d2cb; font-size: 0.97rem; }
.contact-side .contact-card a.big-mail {
  color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: 1.25rem; text-decoration: none; word-break: break-all;
}
.contact-side .contact-card a.big-mail:hover { color: #8fd8b2; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9d2cb; margin-top: 0; }
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
  grid-template-columns: 1fr;
}
.footer-brand p { font-size: 0.95rem; max-width: 22rem; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand:hover { color: #fff; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1rem; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: #c9d2cb; text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  font-size: 0.86rem;
  color: #9aa6a0;
}
.footer-bottom a { color: #9aa6a0; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .form-row--2 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .split--2 { grid-template-columns: 1fr 1fr; align-items: start; }
  .split--form { grid-template-columns: 1.25fr 0.75fr; align-items: start; }
  .service-block { grid-template-columns: 1fr 1fr; }
  .service-block .service-main { padding-right: 1.5rem; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

@media (max-width: 899px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 4.5rem;
    left: 0; right: 0;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 1.5rem 1.25rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a { display: block; padding: 0.85rem 0.5rem; font-size: 1.05rem; }
  .main-nav a[aria-current="page"]::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .float-card--a { right: 0.25rem; }
  .float-card--b { left: 0.25rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .pulse-line path { stroke-dashoffset: 0; animation: none; }
}
