/*
Theme Name: Albotherm
Theme URI: https://albotherm.com
Author: Commotion
Description: Albotherm marketing site — classic theme. All page copy, images and section placement are edited in wp-admin via the block editor; templates provide chrome only.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: albotherm
*/

/* ============================================================
   Albotherm — shared stylesheet for interior pages
   Matches the design system used in the homepage (index.html):
   teal #254D4F, cream #ECE5D2, ink #1a1f1f, Instrument Sans.
   Used by all generated pages under /technology, /use-cases, etc.
   The homepage itself does NOT use this file (its CSS is inlined).
   ============================================================ */

:root {
  --teal: #254D4F;
  --teal-light: #3a7a7d;
  --teal-dark: #0d2626;
  --teal-muted: #4a8e91;
  --cream: #ECE5D2;
  --cream-dark: #e2ddd3;
  --ink: #1a1f1f;
  --ink-soft: #3d4646;
  --line: rgba(37,77,79,0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: 'Instrument Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  margin: 0;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ─── NAV (interior pages — solid white by default) ─── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  padding: 0.9rem 0;
}
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-links { display: flex; align-items: center; gap: 2.25rem; }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-link { color: var(--ink); font-weight: 500; font-size: 0.9rem; text-decoration: none; transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--teal); }
.logo-img { height: 52px; width: auto; display: block; image-rendering: -webkit-optimize-contrast; }
.nav-cta {
  background: var(--teal); color: #fff; border: 1px solid var(--teal);
  padding: 0.55rem 1.4rem; border-radius: 2rem; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; white-space: nowrap; transition: background 0.25s;
}
.nav-cta:hover { background: var(--teal-light); }
.hamburger-btn { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: none; border: none; cursor: pointer; }
.hamburger-btn span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.hamburger-btn span:nth-child(3) { width: 14px; }
/* Tablet band 821-1120px: desktop nav overflowed and clipped the CTA (Ruttl check 2026-07-23).
   High-specificity (#nav .nav-inner ...) on purpose: home.css and team.css re-declare nav
   selectors (team.css even ID-scoped) and load after this file — these must win everywhere. */
@media (max-width: 1120px) {
  #nav .nav-inner .nav-links { gap: 1.1rem; }
  #nav .nav-inner { gap: 0.75rem; }
  #nav .nav-inner .nav-cta { padding: 0.55rem 1rem; }
}
@media (max-width: 940px) {
  #nav .nav-inner .nav-links { gap: 0.8rem; }
  #nav .nav-inner .nav-link { font-size: 0.85rem; }
  #nav .nav-inner .logo-img { height: 44px; }
}
@media (max-width: 899px) {
  #nav .nav-inner .nav-links, #nav .nav-inner .nav-dropdown { display: none; }
  #nav .nav-inner .hamburger-btn { display: flex; }
}
@media (max-width: 899px) {
  .nav-links { display: none; }
  .hamburger-btn { display: flex; }
}

/* nav dropdowns — match homepage */
.nav-item { position: relative; display: flex; align-items: center; padding: 0.5rem 0; }
.nav-item > .nav-link { display: inline-flex; align-items: center; gap: 0.3rem; }
.nav-caret { width: 9px; height: 9px; opacity: 0.7; transition: transform 0.2s; }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: 100%; left: -0.5rem;
  background: #fff; border: 1px solid rgba(0,0,0,0.08); border-radius: 0.85rem;
  box-shadow: 0 14px 34px rgba(13,38,38,0.14); padding: 0.5rem; min-width: 210px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; z-index: 120;
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a {
  display: block; padding: 0.6rem 0.85rem; border-radius: 0.55rem;
  color: var(--ink); font-size: 0.9rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:hover { background: #f3efe2; color: var(--teal); }
.nav-dropdown .dd-all {
  color: var(--teal); font-weight: 600; margin-top: 0.3rem; padding-top: 0.7rem;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.nav-dropdown .dd-all + .dd-all { border-top: none; margin-top: 0; padding-top: 0.5rem; }
@media (max-width: 899px) { .nav-dropdown { display: none; } }

/* mobile menu */
#mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--teal-dark);
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
}
#mobile-menu.open { display: flex; }
#mobile-menu a { color: #fff; text-decoration: none; font-size: 1.3rem; font-weight: 600; }
#menu-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }

/* ─── PAGE HEADER ─── */
.page-header {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 70%);
  color: #fff; padding: 9rem 0 3.5rem;
}
.page-header.tall { padding: 10rem 0 5rem; }

/* ─── section-distinct header themes (lifted from homepage) ─── */
/* Technology: dark tomato-greenhouse hero (mirrors homepage #technology) */
.page-header.theme-tech { background: url('../Albotherm_files/tech-tomato.jpg') center/cover no-repeat; }
.page-header.theme-tech::before { content:''; position:absolute; inset:0; background: linear-gradient(135deg, rgba(8,22,22,0.93), rgba(37,77,79,0.78)); }
/* Applications: full-bleed photo hero (mirrors homepage .app-card imagery) */
.page-header.theme-photo { background-size: cover; background-position: center; }
.page-header.theme-photo::before { content:''; position:absolute; inset:0; background: linear-gradient(to top, rgba(8,22,22,0.92) 0%, rgba(8,22,22,0.45) 55%, rgba(8,22,22,0.6) 100%); }
.page-header.theme-tech, .page-header.theme-photo { position: relative; }
.page-header.theme-tech .container, .page-header.theme-photo .container { position: relative; z-index: 1; }

/* ─── dark frosted feature band (lifted from homepage #technology .feat-item) ─── */
.dark-band { background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 80%); color: #fff; padding: 4.5rem 0; }
.dark-band h2.section-title { color: #fff; }
.dark-band .lead-light { color: rgba(255,255,255,0.75); font-size: 1.1rem; line-height: 1.7; max-width: 60ch; margin: 0 0 2.5rem; }
.frost-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2,1fr); }
@media (min-width: 880px) { .frost-grid.cols-4 { grid-template-columns: repeat(4,1fr); } }
.frost {
  display: flex; flex-direction: column; padding: 1.75rem;
  border: 1px solid rgba(141,191,191,0.18); border-radius: 1.25rem;
  background: rgba(255,255,255,0.05); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(.19,1,.22,1), box-shadow 0.4s ease;
}
.frost:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.42); transform: translateY(-4px); box-shadow: 0 26px 55px -24px rgba(0,0,0,0.5); }
.frost .ic { width: 56px; height: 56px; border-radius: 0.875rem; background: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; color: var(--teal); }
.frost h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.5rem; color: #fff; letter-spacing: -0.015em; }
.frost p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.7); margin: 0; }

/* ═══════ Agrezen-derived layouts (Albotherm-branded) ═══════ */

/* Applications root — uniform image cards (homepage app-card look, static) */
.img-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .img-grid.cols-2 { grid-template-columns: repeat(2,1fr); } }
.img-card { position: relative; display: block; min-height: 320px; border-radius: 1.5rem; overflow: hidden; text-decoration: none; }
.img-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,22,22,0.92) 0%, rgba(8,22,22,0.2) 55%, transparent 100%); }
.img-card .body { position: relative; z-index: 1; min-height: 320px; padding: 1.85rem; display: flex; flex-direction: column; justify-content: flex-end; }
.img-card .tag { align-self: flex-start; background: rgba(37,77,79,0.92); color: #8dbfbf; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.28rem 0.75rem; border-radius: 2rem; margin-bottom: 0.85rem; }
.img-card h3 { color: #fff; font-size: clamp(1.3rem,2.4vw,1.7rem); font-weight: 700; line-height: 1.15; margin: 0 0 0.55rem; }
.img-card p { color: rgba(255,255,255,0.74); font-size: 0.92rem; line-height: 1.6; margin: 0 0 0.9rem; max-width: 44ch; }
.img-card .arrow { align-self: flex-start; color: #fff; font-weight: 600; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.45); padding-bottom: 2px; }

/* Application detail — left sidebar + main (Agrezen service single) */
.detail-wrap { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 920px) { .detail-wrap { grid-template-columns: 290px 1fr; } }
.side-col { position: sticky; top: 100px; }
@media (max-width: 919px) { .side-col { position: static; order: 2; } }
.side-widget { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.35rem; margin-bottom: 1.25rem; }
.side-widget h4 { font-size: 0.95rem; font-weight: 700; margin: 0 0 0.9rem; letter-spacing: -0.01em; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 0.7rem 0.9rem; border-radius: 0.6rem; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.92rem; margin-bottom: 0.3rem; transition: background 0.15s, color 0.15s; }
.side-nav a:hover { background: #f3efe2; color: var(--teal); }
.side-nav a.current { background: var(--teal); color: #fff; }
.side-nav a .ar { opacity: 0.6; }
.side-cta { background: var(--teal-dark); color: #fff; border-radius: 1rem; padding: 1.5rem; }
.side-cta h4 { color: #fff; font-size: 1.05rem; margin: 0 0 0.5rem; }
.side-cta p { color: rgba(255,255,255,0.72); font-size: 0.88rem; line-height: 1.6; margin: 0 0 1rem; }
.side-cta a { display: inline-flex; align-items: center; gap: 0.35rem; color: #fff; font-weight: 600; font-size: 0.88rem; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.45); padding-bottom: 2px; }

/* Technology — portfolio-single layout (feature image + meta strip + pull-quote) */
.proj-feature { width: 100%; max-height: 460px; object-fit: cover; border-radius: 1.25rem; display: block; margin-bottom: 2.25rem; }
.proj-video { border-radius: 1.25rem; overflow: hidden; margin: 0 auto 0; max-width: 940px; background: var(--teal-dark); box-shadow: 0 20px 44px -24px rgba(13,38,38,0.4); }
.proj-meta { display: grid; gap: 1.1rem; grid-template-columns: repeat(2,1fr); background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.5rem 1.75rem; margin-bottom: 2.25rem; }
@media (min-width: 760px) { .proj-meta { grid-template-columns: repeat(5,1fr); } }
.proj-meta div dt { font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--teal-muted); font-weight: 700; margin-bottom: 0.3rem; }
.proj-meta div dd { margin: 0; font-size: 0.98rem; font-weight: 600; color: var(--ink); }
.prose .pull-quote, .pull-quote { font-size: clamp(1.2rem,2.2vw,1.65rem); font-weight: 600; font-style: italic; line-height: 1.5; color: var(--teal); border-left: 3px solid var(--teal); padding-left: 1.35rem; margin: 2.25rem 0; }

/* Case studies — text-on-image cards, no gradient, slight hover */
.cs-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cs-grid.cols-2 { grid-template-columns: repeat(2,1fr); } }
.cs-card { position: relative; display: block; min-height: 330px; border-radius: 1.25rem; overflow: hidden; text-decoration: none; transition: transform 0.3s cubic-bezier(.19,1,.22,1), box-shadow 0.3s; }
.cs-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(.19,1,.22,1); }
a.cs-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -24px rgba(13,38,38,0.5); }
a.cs-card:hover > img { transform: scale(1.04); }
.cs-card .body { position: relative; z-index: 1; min-height: 330px; padding: 1.75rem; display: flex; flex-direction: column; justify-content: flex-end; }
.cs-card .tag { align-self: flex-start; background: rgba(255,255,255,0.92); color: var(--teal); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 2rem; margin-bottom: 0.7rem; }
.cs-card h3 { color: #fff; font-size: 1.45rem; font-weight: 700; line-height: 1.15; margin: 0; text-shadow: 0 2px 16px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.5); }
.cs-card .sub { color: #fff; font-size: 0.9rem; margin-top: 0.45rem; text-shadow: 0 1px 10px rgba(0,0,0,0.7); opacity: 0.92; }
.cs-card.soon { pointer-events: none; }
.cs-card.soon .cs-soon { align-self: flex-start; margin-top: 0.7rem; background: rgba(0,0,0,0.45); color: #fff; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 2rem; }

/* Gallery — portfolio grid 4 (tight image grid) */
.gallery-grid { display: grid; gap: 0.5rem; grid-template-columns: repeat(2,1fr); }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(4,1fr); } }
.gallery-grid a { display: block; overflow: hidden; border-radius: 0.5rem; }
.gallery-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; transition: transform 0.5s cubic-bezier(.19,1,.22,1), filter 0.4s; }
.gallery-grid a:hover img { transform: scale(1.06); filter: brightness(0.94); }

/* ═══════ 29 June update: comparison tables, interactions, alignment, blog grid ═══════ */

/* Comparison tables (Technology / Greenhouses / Buildings / Investors) — Albotherm column highlighted */
.compare-wrap { overflow-x: auto; margin: 1.75rem 0 0.5rem; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 0.85rem; overflow: hidden; min-width: 640px; }
.compare-table th, .compare-table td { padding: 0.8rem 1.05rem; text-align: left; font-size: 0.92rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { background: rgba(37,77,79,0.05); font-weight: 700; color: var(--ink); }
.compare-table tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.compare-table td { color: var(--ink-soft); }
.compare-table .col-alb { background: rgba(37,77,79,0.07); color: var(--ink); font-weight: 600; }
.compare-table thead .col-alb { background: var(--teal); color: #fff; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }

/* Interactions on application/benefit blocks (Sam: add interactions on the blocks) */
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -20px rgba(13,38,38,0.5); border-color: var(--teal); background: linear-gradient(155deg, var(--teal) 0%, var(--teal-dark) 100%); }
.card:hover h3 { color: #fff; }
.card:hover p { color: rgba(255,255,255,0.86); }
.card:hover .meta { color: #8dbfbf; }
.card:hover .arrow { color: #fff; }

/* Pre-footer CTA band: centre-aligned (heading, copy and buttons) */
.cta-band { text-align: center; }
.cta-band p { margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center !important; }

/* Founder quote block (Technology / About origin story) */
.founder-quote { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: 0 1rem 1rem 0; padding: 1.75rem 2rem; margin: 2rem 0; }
.founder-quote p { font-size: 1.1rem; line-height: 1.7; font-style: italic; color: var(--ink); margin: 0 0 1rem; }
.founder-quote cite { font-style: normal; font-weight: 700; font-size: 0.9rem; color: var(--teal); }

/* Blog — 3-column card grid (Agrezen blog-3-columns) */
.blog-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .blog-grid.cols-3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 980px) { .blog-grid.cols-3 { grid-template-columns: repeat(3,1fr); } }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.25s, box-shadow 0.25s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -22px rgba(13,38,38,0.35); }
.blog-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.blog-card .bc-body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.blog-card .bc-cat { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-muted); font-weight: 700; }
.blog-card h3 { font-size: 1.15rem; font-weight: 700; margin: 0; line-height: 1.25; }
.blog-card p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.blog-card .bc-meta { font-size: 0.8rem; color: #8a9999; margin-top: 0.35rem; }
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 1.25rem; letter-spacing: 0.02em; }
.breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.5; }
.eyebrow {
  display: inline-block; color: #8dbfbf; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1rem;
}
.page-header h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 1.25rem; max-width: 16ch; }
.page-header .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,0.78); line-height: 1.7; max-width: 60ch; margin: 0; }

/* ─── SECTIONS / PROSE ─── */
section.block { padding: 4rem 0; }
section.block.tight { padding: 2.5rem 0; }
section.alt { background: var(--bg-white, #fff); }
.section-white { background: #fff; }

h2.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 1rem; }
h3.sub-title { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.prose { max-width: 68ch; }
/* Full-width photo banner (e.g. About team shot) — no text overlay, heads kept in frame */
.page-photo-band { width: 100%; background: var(--teal-dark); }
.page-photo-band img { display: block; width: 100%; height: auto; }
/* When prose is also the container, keep the container's left edge (aligned with
   headers/other sections) and cap the readable measure on the text itself. */
.container.prose { max-width: 1100px; }
.container.prose > * { max-width: 68ch; }
.prose p { font-size: 1.05rem; line-height: 1.8; color: var(--ink-soft); margin: 0 0 1.25rem; }
.prose ul, .prose ol { font-size: 1.05rem; line-height: 1.8; color: var(--ink-soft); padding-left: 1.25rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: 0.5rem; }
.prose strong { color: var(--ink); }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -0.015em; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.6rem; }
.prose .lead, .lead { font-size: 1.2rem; line-height: 1.7; color: var(--ink); }

/* ─── BUTTONS ─── */
.btn-solid {
  display: inline-flex; align-items: center; gap: 0.4rem; background: var(--teal); color: #fff;
  padding: 0.85rem 2rem; border-radius: 2rem; font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: background 0.25s, transform 0.2s; border: none; cursor: pointer;
}
.btn-solid:hover { background: var(--teal-light); transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.4rem; background: transparent; color: var(--teal);
  padding: 0.85rem 2rem; border-radius: 2rem; border: 1px solid rgba(37,77,79,0.35); font-weight: 600;
  font-size: 0.95rem; text-decoration: none; transition: all 0.25s;
}
.btn-ghost:hover { border-color: var(--teal); background: rgba(37,77,79,0.05); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }

/* ─── CARDS / GRIDS ─── */
.grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .grid.cols-2 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 700px) { .grid.cols-3 { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 700px) { .grid.cols-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1000px) { .grid.cols-4 { grid-template-columns: repeat(4,1fr); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; display: block;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(13,38,38,0.08); }
.card h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.5rem; }
.card p { font-size: 0.95rem; line-height: 1.65; color: var(--ink-soft); margin: 0 0 0.75rem; }
.card .meta { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-muted); font-weight: 700; margin-bottom: 0.75rem; }
.card .arrow { color: var(--teal); font-weight: 600; font-size: 0.9rem; }

/* non-clickable "coming soon" teaser card */
.card-soon { opacity: 0.78; cursor: default; }
.card-soon:hover { transform: none; box-shadow: none; }
.soon-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--teal-muted); background: rgba(37,77,79,0.07); padding: 0.25rem 0.7rem; border-radius: 1rem;
}

/* team member cards */
.member { background: #fff; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
.member img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.member .body { padding: 1.5rem; }
.member h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 0.2rem; }
.member .role { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-muted); font-weight: 700; margin-bottom: 0.75rem; }
.member p { font-size: 0.95rem; line-height: 1.65; color: var(--ink-soft); margin: 0; }
.team-photo-wide { width: 100%; border-radius: 1rem; display: block; margin-top: 1rem; }

/* backer / partner logo strip */
.logo-strip { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; align-items: center; margin: 1.5rem 0; }
@media (min-width: 600px) { .logo-strip { grid-template-columns: repeat(4,1fr); } }
.logo-strip .cell { background: #fff; border: 1px solid var(--line); border-radius: 0.75rem; height: 96px;
  display: flex; align-items: center; justify-content: center; padding: 1rem; }
.logo-strip img { max-height: 48px; max-width: 100%; width: auto; object-fit: contain; }

.stat-grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px){ .stat-grid { grid-template-columns: repeat(3,1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.5rem; }
.stat .num { font-size: 2.4rem; font-weight: 700; color: var(--teal); line-height: 1; }
.stat .label { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.5rem; }

/* draft / placeholder marker so unverified copy is obvious */
.draft {
  background: #fff8e1; border: 1px dashed #d8b34a; color: #6b5410;
  padding: 0.15rem 0.5rem; border-radius: 0.35rem; font-size: 0.8rem; font-weight: 600;
}
.draft-note {
  background: #fff8e1; border: 1px dashed #d8b34a; color: #6b5410; border-radius: 0.6rem;
  padding: 0.85rem 1.1rem; font-size: 0.85rem; line-height: 1.5; margin: 1.5rem 0;
}

/* ─── DATA TABLE (specs) ─── */
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 0.75rem; overflow: hidden; border: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.spec-table th { background: rgba(37,77,79,0.05); font-weight: 700; color: var(--ink); }
.spec-table tr:last-child td { border-bottom: none; }

/* ─── FAQ ─── */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 1.25rem 0;
  font-size: 1.1rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
.faq-q .ic { color: var(--teal); font-size: 1.4rem; line-height: 1; flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 0 1.25rem; font-size: 1rem; line-height: 1.75; color: var(--ink-soft); }

/* ─── CTA BAND ─── */
.cta-band { background: var(--teal-dark); color: #fff; padding: 4rem 0; text-align: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin: 0 0 1rem; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 50ch; margin: 0 auto 1.75rem; line-height: 1.7; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.cta-band .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ─── FOOTER ─── */
footer { padding: 4rem 0 2.5rem; background: var(--cream); }
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
.footer-logo { width: 175px; max-width: 100%; height: auto; margin-bottom: 1rem; display: block; }
.footer-col h4 { font-weight: 700; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin: 0 0 1.1rem; }
.footer-col .links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-link { font-size: 0.9rem; color: #5a6666; text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: var(--teal); }
.footer-blurb { font-size: 0.85rem; color: #5a6666; line-height: 1.65; max-width: 220px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 1.5rem; display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 1rem; }
.footer-bottom span, .footer-bottom a { font-size: 0.78rem; color: #8a9999; text-decoration: none; }
.footer-bottom a:hover { color: var(--teal); }
.footer-legal { display: flex; gap: 1.5rem; }

/* ── Blog category filter ── */
.blog-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filter-pill { font: inherit; font-size: 0.82rem; font-weight: 600; padding: 0.5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); cursor: pointer; transition: all 0.2s; }
.filter-pill:hover { border-color: var(--teal); color: var(--teal); }
.filter-pill.active { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ── Laptop-size scale-down (client feedback: site ~12% too large on 14" laptops) ── */
@media (min-width: 1100px) and (max-width: 1680px) {
  html { font-size: 14px; }
}

/* ── Blog post hero image: stable 2:1 crop biased to top third (faces stay in frame) ── */
.post-hero-wrap { width: 100%; margin: 0 0 2.25rem; }
.post-hero-wrap .ph-bg { display: none; }
.post-hero-wrap .ph-main { display: block; width: auto; max-width: 100%; max-height: 560px; height: auto; margin: 0 auto; border-radius: 1.25rem; }
@media (max-width: 640px) { .post-hero-wrap .ph-main { max-height: 380px; border-radius: 1rem; } }

/* ── Blog posts: copy spans the full container width (matches the hero) ── */
.post-prose { max-width: none; }


/* ── Contact page / form (from contact page inline styles) ── */
.contact-hero { background: #0d2626; padding: 9.5rem 0 6rem; }
    .contact-grid { display: grid; gap: 3.5rem; align-items: start; }
    @media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; } }
    .contact-intro { padding-top: 0.5rem; }
    .contact-breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-bottom: 2rem; }
    .contact-breadcrumb a { color: rgba(255,255,255,0.65); text-decoration: none; }
    .contact-breadcrumb a:hover { color: #fff; }
    .contact-heading { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; color: #fff; line-height: 1.0; letter-spacing: -0.035em; margin: 0 0 1.5rem; }
    .contact-sub { font-size: 1.05rem; color: rgba(255,255,255,0.62); line-height: 1.65; margin: 0 0 2.25rem; max-width: 38ch; }
    .contact-linkedin { display: inline-flex; align-items: center; gap: 0.45rem; color: rgba(255,255,255,0.55); font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: color 0.2s; }
    .contact-linkedin:hover { color: #8dbfbf; }
    .contact-form-card { background: #fff; border-radius: 1.5rem; padding: 2.25rem 2rem; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.04); }
    @media (min-width: 640px) { .contact-form-card { padding: 2.5rem 2.5rem; } }
    .form-row { margin-bottom: 1.1rem; }
    .form-row label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: #1a1f1f; margin-bottom: 0.45rem; }
    .form-req { color: #b34141; font-weight: 700; margin-left: 0.15rem; }
    .form-row input, .form-row select, .form-row textarea { width: 100%; padding: 0.8rem 0.95rem; border: 1px solid rgba(0,0,0,0.14); border-radius: 0.65rem; background: #fafafa; font: inherit; font-size: 0.95rem; color: #1a1f1f; transition: border-color 0.18s, box-shadow 0.18s, background 0.18s; -webkit-appearance: none; appearance: none; }
    .form-row input::placeholder, .form-row textarea::placeholder { color: rgba(26,31,31,0.42); }
    .form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: #254D4F; background: #fff; box-shadow: 0 0 0 3px rgba(37,77,79,0.12); }
    .form-row select { background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3e%3cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231a1f1f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }
    .form-row textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
    .form-row input:invalid:not(:placeholder-shown), .form-row textarea:invalid:not(:placeholder-shown) { border-color: rgba(179,65,65,0.45); }
    .form-submit { display: inline-flex; align-items: center; gap: 0.55rem; width: 100%; justify-content: center; padding: 1rem 1.5rem; background: #1a1f1f; color: #fff; border: none; border-radius: 0.7rem; font: inherit; font-size: 0.98rem; font-weight: 600; letter-spacing: -0.005em; cursor: pointer; margin-top: 0.4rem; transition: background 0.2s, transform 0.1s; }
    .form-submit:hover { background: #254D4F; }
    .form-submit:active { transform: scale(0.99); }
    .form-submit:disabled { opacity: 0.5; cursor: not-allowed; }
    .form-success { text-align: center; padding: 1rem 0.5rem; }
    .form-success-tick { width: 56px; height: 56px; margin: 0 auto 1.25rem; border-radius: 50%; background: #ECE5D2; color: #254D4F; display: flex; align-items: center; justify-content: center; }
    .form-success h3 { font-size: 1.35rem; font-weight: 700; color: #1a1f1f; letter-spacing: -0.015em; margin: 0 0 0.5rem; }
    .form-success p { font-size: 0.95rem; color: #5a6666; line-height: 1.6; margin: 0; max-width: 32ch; margin-left: auto; margin-right: auto; }

/* ── Block-editor compatibility ──
   Gutenberg group blocks render <div>, not <section>, so the element-scoped
   rules above stop matching once a page is converted to blocks. Re-assert them
   class-only. Also drop the default figure margins the core image/table blocks
   introduce, so converted images sit exactly where the raw <img> did. */
.block { padding: 4rem 0; }
.block.tight { padding: 2.5rem 0; }
.alt { background: var(--bg-white, #fff); }
.entry-content figure.wp-block-image { margin: 0; }
.entry-content figure.wp-block-image img { display: block; }

/* ── Register-your-interest row: copy left, action button right ── */
.interest-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 1.5rem 1.75rem; margin: 2rem 0 2.5rem; }
.interest-cta p { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink); font-weight: 600; max-width: 46ch; flex: 1 1 320px; }
.interest-cta .btn-solid { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 640px) { .interest-cta { padding: 1.25rem; } .interest-cta .btn-solid { width: 100%; justify-content: center; } }

/* Visible human-verification checkbox on the contact forms */
.human-check { display: flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; margin: 0 0 1.1rem; cursor: pointer; user-select: none; }
.human-check input { width: 1.15rem; height: 1.15rem; accent-color: #254D4F; cursor: pointer; }
.form-submit:disabled { opacity: 0.45; cursor: not-allowed; }
