/* ==========================================================================
   CREWFO — Main Stylesheet
   Ported from the static prototype (theme/theme.css). Brand colour tokens
   are Customizer-driven and injected inline at wp_head priority 5
   (inc/customizer.php) — do NOT re-declare them here or the cascade will
   override the client's choices.
   ========================================================================== */

/* ---------- CUSTOM PROPERTIES ---------- */
/* Brand tokens (--coral, --coral-soft, --coral-dark, --navy, --navy-soft,
   --ink, --cream, --cream-deep, --font-body) come from the Customizer via an
   inline <style> printed BEFORE this sheet. Derivative tokens only here. */
:root {
  --line: #e6e2d7;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  background: #ffffff;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  max-width: 1400px;
  margin: 0 auto;
}

:root { --gutter: 40px; }
@media (max-width: 1280px) { :root { --gutter: 32px; } }
@media (max-width: 960px)  { :root { --gutter: 20px; } }

img { max-width: 100%; display: block; }
a { color: var(--coral); }
a:hover { color: var(--coral-dark); }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--line);
}
nav.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 32px; width: auto; display: block; }

.nav-primary {
  display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center;
}
.nav-item { position: relative; }
.nav-item > a, .nav-item > button {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 14px; border-radius: 999px;
  background: transparent; border: none; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 15px; color: var(--ink);
  text-decoration: none;
  transition: background .15s ease;
}
.nav-item > a:hover, .nav-item > button:hover { background: rgba(17,34,49,0.06); }
.nav-item.current > a, .nav-item.current > button { color: var(--coral); }
.nav-item .caret {
  width: 7px; height: 7px;
  border-right: 2px solid var(--coral); border-bottom: 2px solid var(--coral);
  transform: rotate(45deg) translate(-2px,-2px);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-mobile-actions { display: none; }
.nav-actions .btn { padding: 10px 18px; font-size: 14px; }
.login-link {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 10px 14px; border-radius: 999px;
}
.login-link:hover { background: rgba(17,34,49,0.06); }

/* Mega dropdown */
.mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-6px);
  margin-top: 10px;
  min-width: 600px; background: #fff; border-radius: 28px;
  box-shadow: 0 24px 60px rgba(10,22,32,0.14), 0 2px 8px rgba(10,22,32,0.06);
  padding: 22px; opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px;
}
.mega::before {
  content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
}
.nav-item.open .mega { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mega-col-title {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #6b7783; padding: 6px 12px 4px;
}
.mega a {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink);
  transition: background .15s ease;
}
.mega a:hover { background: rgba(40, 94, 169, 0.05); }
.mega .ico {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--coral-soft); color: var(--coral);
}
.mega .ico svg { width: 18px; height: 18px; }
.mega .mtitle { font-weight: 600; font-size: 14px; display: block; white-space: nowrap; }
.mega .mdesc  { font-size: 12px; color: #6b7783; display: block; margin-top: 2px; white-space: nowrap; }
.mega-footer {
  grid-column: 1 / -1;
  margin: 8px -10px -10px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  font-weight: 700; font-size: 14px;
  color: var(--coral); text-decoration: none;
  text-align: center; border-radius: 0 0 18px 18px;
  transition: background .15s ease;
}
.mega-footer:hover { background: rgba(40, 94, 169, 0.05); }

/* Mobile nav toggle */
.menu-toggle {
  display: none; background: transparent; border: none; cursor: pointer;
  width: 40px; height: 40px; padding: 0;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px auto;
  border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* BUTTONS */
.btn {
  display: inline-block; position: relative;
  padding: 12px 22px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 15px;
  text-decoration: none; border: none; outline: none; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark  { background: var(--ink);   color: #fff; }
.btn-dark:hover  { background: var(--coral); color: #fff; }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-dark); color: #fff; }
.btn-light {
  background: #fff; color: var(--ink);
  border: 1px solid rgba(11,22,32,0.12);
}
.btn-light:hover { background: var(--coral); color: #fff; border-color: var(--coral); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
/* For use on light/cream surfaces — same idea as .btn-ghost but ink-coloured */
.btn-ghost-dark { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }
/* For use ON coral surfaces (cta-banner, page-hero.coral) — .btn-light would
   merge into the bg on hover (its hover state is coral). This stays distinct. */
.btn-on-coral { background: #fff; color: var(--ink); border: 1px solid transparent; }
.btn-on-coral:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
/* For use ON navy / dark surfaces — kept here for completeness; same as .btn-light
   today but reserved so its hover never collides with a dark bg later. */
.btn-on-dark { background: #fff; color: var(--ink); border: 1px solid #fff; }
.btn-on-dark:hover { background: var(--coral); color: #fff; border-color: var(--coral); }

/* New: outlined ghost for use on LIGHT backgrounds — the standard .btn-ghost
   is white-on-white invisible. */
.btn-ghost-ink {
  background: transparent; color: var(--ink); border: 1.5px solid var(--ink);
}
.btn-ghost-ink:hover { background: var(--ink); color: #fff; }

/* New: coral-themed outlined button. Subtle but on-brand emphasis on white/cream surfaces. */
.btn-outline-coral {
  background: transparent; color: var(--coral); border: 1.5px solid var(--coral);
}
.btn-outline-coral:hover { background: var(--coral); color: #fff; border-color: var(--coral); }

/* New: solid button for use on coral backgrounds (CTA banner, .panel.coral, .member).
   .btn-light would otherwise hover into the coral surrounding and disappear. */
.btn-on-coral {
  background: #fff; color: var(--ink); border: 1px solid #fff;
}
.btn-on-coral:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* PAGE LAYOUT */
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 20px 0; }

.page-hero {
  margin: 8px var(--gutter) 24px;
  border-radius: 28px;
  background: var(--coral);
  color: #fff;
  padding: 96px 72px 110px;
  position: relative; overflow: hidden;
  min-height: 650px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.page-hero.coral { background: var(--coral); }
.page-hero.cream { background: var(--cream); color: var(--ink); }
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 100% 0%, rgba(255,255,255,0.08), transparent 60%);
}
.page-hero.has-image {
  background-color: var(--navy);
  background-size: cover; background-position: center;
  min-height: 650px;
}
.page-hero.has-image::after {
  background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0));
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero.has-art {
  display: flex; flex-direction: row; align-items: center; gap: 40px;
}
.page-hero.has-art .page-hero-copy { flex: 1 1 auto; }
.page-hero.has-art .page-hero-copy p:last-child { margin-bottom: 0; }
@media (max-width: 960px) {
  .page-hero.has-art { flex-direction: column; align-items: flex-start; }
  .page-hero.has-art .member-art { align-self: center; }
}
/* Half variant — copy and art split the hero 50/50, art centred in its half */
.page-hero.has-art--half { gap: 0; }
.page-hero.has-art--half .page-hero-copy { flex: 0 0 50%; }
.page-hero.has-art--half .member-art { flex: 1 1 50%; justify-content: center; }
.page-hero.has-art--half .member-art img { width: 100%; max-width: none; }
@media (max-width: 960px) {
  .page-hero.has-art--half .page-hero-copy { flex: 0 0 auto; }
  .page-hero.has-art--half .member-art { width: 100%; }
}
/* Bottom modifier — composes with the half variant; art sits flush on the hero's bottom edge */
.page-hero.has-art--bottom { align-items: flex-end; }
.page-hero.has-art--bottom .page-hero-copy { align-self: center; }
.page-hero.has-art--bottom .member-art { margin-bottom: -110px; }
@media (max-width: 960px) {
  .page-hero.has-art--bottom .member-art { margin-bottom: -64px; }
}
/* Corner variant — art fills the right half and sits flush in the hero's bottom-right corner */
.page-hero.has-art--corner { align-items: flex-end; gap: 0; }
.page-hero.has-art--corner .page-hero-copy { flex: 0 0 50%; align-self: center; }
.page-hero.has-art--corner .member-art { flex: 0 0 50%; justify-content: flex-end; margin: 0 -72px -110px 0; }
.page-hero.has-art--corner .member-art img { width: 100%; max-width: none; }
@media (max-width: 960px) {
  .page-hero.has-art--corner .page-hero-copy { flex: 0 0 auto; }
  .page-hero.has-art--corner .member-art { align-self: flex-end; width: 80%; margin: 24px -28px -64px 0; }
}
.eyebrow {
  display: inline-block; background: rgba(255,255,255,0.12); padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: #fff; border: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 18px;
}
.page-hero.cream .eyebrow { background: #fff; color: var(--ink); border-color: var(--line); }
.page-hero h1 {
  font-size: 56px; line-height: 1.04; font-weight: 800; margin: 0 0 18px;
  letter-spacing: -1.4px; max-width: 820px;
}
.page-hero p { font-size: 18px; opacity: .92; margin: 0 0 28px; max-width: 620px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Section heads */
.section-head { padding: 0 var(--gutter); margin-bottom: 28px; max-width: 920px; }
.section-head h2 { font-size: 38px; font-weight: 800; margin: 6px 0; letter-spacing: -1px; }
.section-head p  { color: #4a5663; margin: 8px 0 0; font-size: 17px; }

.section-eyebrow {
  display: inline-block; background: #fff; padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--ink); border: 1px solid var(--line);
  margin-bottom: 6px;
}

/* Prose blocks */
.prose {
  padding: 0 var(--gutter);
  max-width: 820px;
  font-size: 17px; color: #25323d;
}
.prose-with-image {
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px; align-items: start;
  max-width: 1280px;
}
.prose-with-image .prose { padding: 0; max-width: none; }
/* No aside (placeholder removed) — collapse to a single readable column */
.prose-with-image:not(:has(> .prose-aside)) { display: block; }
.prose-with-image:not(:has(> .prose-aside)) .prose { max-width: 820px; }
.prose-aside { position: sticky; top: 100px; }
.prose-aside img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: fill;
  border-radius: 20px;
  display: block;
  border: 1px solid var(--line);
  padding: 25px;
}
@media (max-width: 960px) {
  .prose-with-image { grid-template-columns: 1fr; gap: 24px; }
  .prose-aside { position: static; order: -1; }
  .prose-aside img { aspect-ratio: 16 / 9; }
}
/* Natural variant — the aside image keeps its own aspect ratio instead of the 4:3 crop box */
.prose-aside--natural img { aspect-ratio: auto; object-fit: contain; }
.prose h2 {
  font-size: 30px; font-weight: 800; margin: 36px 0 12px; letter-spacing: -.6px;
}
.prose h3 {
  font-size: 22px; font-weight: 700; margin: 28px 0 10px; letter-spacing: -.3px;
}
.prose p { margin: 0 0 16px; }
.prose ul {
  list-style: none; padding-left: 0;
  margin: 0 0 18px;
}
.prose ul li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
}
.prose ul li::before {
  content: ""; position: absolute;
  left: 0; top: 11px;
  width: 16px; height: 4px;
  background: var(--coral);
  border-radius: 999px;
}
.prose a { font-weight: 600; }
.prose blockquote,
.testimonial {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--cream-deep);
  border-radius: 24px;
  padding: 56px 44px 32px;
  margin: 56px 0 32px;
  font-style: normal;
  color: var(--ink);
  overflow: visible;
}
.prose blockquote::before,
.testimonial::before {
  content: "\201C";
  position: absolute;
  left: 32px; top: -34px;
  color: var(--coral);
  font: 700 100px/1 Georgia, "Times New Roman", serif;
  pointer-events: none;
  text-shadow: 0 6px 16px rgba(40,94,169,0.18);
}
.prose blockquote p,
.testimonial p {
  margin: 0; font-size: 20px; line-height: 1.55; font-weight: 500; letter-spacing: -.15px;
  color: var(--ink);
}
.prose blockquote footer,
.testimonial footer {
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid var(--cream-deep);
  position: relative;
}
.prose blockquote footer::before,
.testimonial footer::before {
  content: "";
  position: absolute; top: -2px; left: 0;
  width: 34px; height: 3px;
  background: var(--coral);
  border-radius: 2px;
}
.prose blockquote footer .avatar-circle,
.testimonial footer .avatar-circle {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--coral); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; letter-spacing: -.3px;
  box-shadow: 0 0 0 3px var(--coral-soft);
}
.prose blockquote footer .who strong,
.testimonial footer .who strong {
  display: block; font-weight: 700; font-size: 16px; color: var(--ink); letter-spacing: -.2px;
}
.prose blockquote footer .who span,
.testimonial footer .who span {
  display: block; font-size: 13px; color: #6b7783; margin-top: 2px;
}

/* Property cards (used on property-investment.php + listings) */
.property-grid {
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px;
}
.property-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.property-card:hover { transform: translateY(-3px); border-color: var(--coral); box-shadow: 0 16px 40px rgba(10,22,32,0.08); }
.property-card .img-wrap {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
}
.property-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.property-card .img-wrap .tag {
  position: absolute; left: 14px; top: 14px;
  background: rgba(255,255,255,0.95); color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.property-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.property-card .body h3 { font-size: 22px; font-weight: 700; margin: 0 0 4px; letter-spacing: -.3px; }
.property-card .body .loc { color: #6b7783; font-size: 14px; margin: 0 0 18px; }
.property-card .body .price { font-size: 15px; color: #25323d; margin: 0 0 16px; }
.property-card .body .price strong { font-size: 20px; font-weight: 800; letter-spacing: -.3px; color: var(--ink); }
.property-card .body .stats {
  list-style: none; padding: 0; margin: auto 0 20px;
  border-top: 1px solid var(--line);
}
.property-card .body .stats div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.property-card .body .stats div:last-child { border-bottom: none; }
.property-card .body .stats span { color: #6b7783; }
.property-card .body .stats strong { color: var(--ink); font-weight: 600; text-align: right; }
.property-card .body .more { color: var(--coral); font-weight: 600; font-size: 14px; }
@media (max-width: 960px) { .property-grid { grid-template-columns: 1fr; } }

/* Property detail page layout */
.property-detail {
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start;
  max-width: 1280px;
}
.property-detail .prose { padding: 0; max-width: none; }
.property-fact-card {
  position: sticky; top: 100px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 28px;
}
.property-fact-card h3 { margin: 0 0 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #6b7783; }
.property-fact-card h2 { margin: 0 0 20px; font-size: 26px; font-weight: 800; letter-spacing: -.4px; }
.property-fact-card .facts { list-style: none; padding: 0; margin: 0; }
.property-fact-card .facts li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-top: 1px solid var(--line);
  font-size: 14px;
}
.property-fact-card .facts li:first-child { border-top: none; padding-top: 0; }
.property-fact-card .facts li span { color: #6b7783; }
.property-fact-card .facts li strong { font-weight: 700; color: var(--ink); text-align: right; }
.property-fact-card .cta { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.property-fact-card .cta .btn { width: 100%; text-align: center; }
.property-gallery {
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.property-gallery img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 20px; border: 1px solid var(--line); display: block;
}
@media (max-width: 960px) {
  .property-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .property-detail { grid-template-columns: 1fr; gap: 24px; }
  .property-fact-card { position: static; }
  .page-hero.has-image { min-height: 380px; }
}

/* Service grid (overview cards) */
.svc-grid {
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 32px 28px; display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.svc-card:hover { transform: translateY(-3px); border-color: var(--coral); box-shadow: 0 16px 40px rgba(10,22,32,0.08); }
.svc-card .ico {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--coral-soft); color: var(--coral);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.svc-card .ico svg { width: 24px; height: 24px; }
.svc-card h3 { font-size: 20px; font-weight: 700; margin: 0 0 6px; letter-spacing: -.3px; }
.svc-card p  { margin: 0 0 18px; color: #4a5663; font-size: 15px; }
.svc-card .more { font-weight: 600; font-size: 14px; color: var(--coral); margin-top: auto; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr; } }

/* =========================================
   CONTENT BLOCKS
   Reusable page-level blocks. Most are full-width
   and self-spaced — drop them straight into a body.
   ========================================= */

/* Block: media + text, side by side */
.block-media {
  margin: 0 var(--gutter);
  display: flex; align-items: center; gap: 48px;
  padding: 40px;
  background: #ecf3ee;
  border-radius: 28px;
}
.block-media.plain { background: transparent; padding: 0; margin: 0 var(--gutter); border-radius: 0; }
.block-media.image-right { flex-direction: row-reverse; }
.block-media .block-media-media { flex: 1; min-width: 0; }
.block-media .block-media-content { flex: 1; min-width: 0; }
.block-media .block-media-media img,
.block-media .block-media-media video {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 20px; display: block;
}
.block-media .block-media-media.portrait img,
.block-media .block-media-media.portrait video {
  aspect-ratio: 3 / 4; max-width: 360px; margin: 0 auto;
}
.block-media .block-media-content h2 {
  font-size: 32px; font-weight: 800; letter-spacing: -.6px; margin: 0 0 14px;
}
.block-media .block-media-content p {
  font-size: 16px; line-height: 1.6; color: #25323d; margin: 0 0 14px;
}
.block-media .block-media-content p:last-of-type { margin-bottom: 22px; }
.block-media .block-media-content strong { color: var(--coral); font-weight: 600; }

/* Block: feature media split — plain background, copy + button beside a large
   rounded photo. Image sits right by default; add .media-feature--flip for left. */
.media-feature {
  margin: 0 var(--gutter);
  display: flex; align-items: center; gap: 64px;
}
.media-feature + .media-feature { margin-top: 64px; }
.media-feature--flip { flex-direction: row-reverse; }
.media-feature-copy { flex: 1; min-width: 0; }
.media-feature-art { flex: 1; min-width: 0; }
.media-feature-copy h2 { font-size: 38px; font-weight: 800; letter-spacing: -1px; margin: 0 0 14px; }
.media-feature-copy p { font-size: 17px; line-height: 1.65; color: #4a5663; margin: 0 0 14px; max-width: 560px; }
.media-feature-copy .btn { margin-top: 10px; }
.media-feature-art img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 28px; display: block;
}
@media (max-width: 960px) {
  .media-feature, .media-feature.media-feature--flip { flex-direction: column-reverse; gap: 24px; }
  .media-feature + .media-feature { margin-top: 48px; }
  .media-feature-copy h2 { font-size: 30px; }
}

/* Block: 6-up feature grid (3×2) */
.block-features {
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px;
}
.block-features .feat .ico {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--coral-soft); color: var(--coral);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.block-features .feat .ico svg { width: 22px; height: 22px; }
.block-features .feat h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.2px; }
.block-features .feat p  { font-size: 14px; line-height: 1.6; color: #4a5663; margin: 0; }
.block-features .feat strong { color: var(--coral); font-weight: 600; }

/* Block: 3-up feature row with centered headline */
.block-feature-row { padding: 0 var(--gutter); text-align: center; }
.block-feature-row .head { max-width: 760px; margin: 0 auto 40px; }
.block-feature-row .head h2 { font-size: 38px; font-weight: 800; letter-spacing: -1px; margin: 0 0 10px; }
.block-feature-row .head p  { font-size: 17px; color: #4a5663; margin: 0; }
.block-feature-row .head strong { color: var(--coral); font-weight: 600; }
.block-feature-row .row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  text-align: left;
}
.block-feature-row .feat .ico {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--coral-soft); color: var(--coral);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.block-feature-row .feat .ico svg { width: 22px; height: 22px; }
.block-feature-row .feat h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; letter-spacing: -.3px; }
.block-feature-row .feat p  { font-size: 15px; line-height: 1.6; color: #4a5663; margin: 0; }

/* Block: panel containing a grid of feature cards */
.block-feature-panel {
  margin: 0 var(--gutter);
  background: #ecf3ee;
  padding: 56px 48px;
  border-radius: 28px;
}
.block-feature-panel .head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.block-feature-panel .head h2 { font-size: 36px; font-weight: 800; letter-spacing: -.8px; margin: 0 0 10px; }
.block-feature-panel .head p  { font-size: 16px; color: #4a5663; margin: 0; }
.block-feature-panel .grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.block-feature-panel .item {
  background: rgba(255,255,255,0.65); border-radius: 20px; padding: 26px;
}
.block-feature-panel .item .ico {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--coral); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.block-feature-panel .item .ico svg { width: 20px; height: 20px; }
.block-feature-panel .item h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.2px; }
.block-feature-panel .item p  { font-size: 14px; line-height: 1.55; color: #4a5663; margin: 0; }
.block-feature-panel .actions { text-align: center; margin-top: 32px; }

/* Block: FAQ accordion in a cream panel */
.block-faq {
  margin: 0 var(--gutter);
  background: #ecf3ee;
  padding: 56px 48px;
  border-radius: 28px;
}
.block-faq .head { text-align: center; max-width: 760px; margin: 0 auto 32px; }
.block-faq .head h2 { font-size: 38px; font-weight: 800; letter-spacing: -1px; margin: 0; }
.block-faq .head p  { font-size: 16px; color: #4a5663; margin: 10px 0 0; }
.block-faq .list { width: 100%; }
.block-faq details { border-top: 1px solid var(--line); }
.block-faq details:last-child { border-bottom: 1px solid var(--line); }
.block-faq details > summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0;
  font-size: 18px; font-weight: 700; cursor: pointer;
  list-style: none; color: var(--ink);
}
.block-faq details > summary::-webkit-details-marker { display: none; }
.block-faq details > summary::after {
  content: ""; flex: 0 0 12px; height: 12px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translate(-2px,-2px);
  transition: transform .25s ease;
}
.block-faq details[open] > summary::after { transform: rotate(-135deg) translate(-2px,-2px); }
.block-faq details > p { margin: 0; padding: 0 0 22px; color: #4a5663; font-size: 16px; line-height: 1.6; }

/* Responsive */
@media (max-width: 960px) {
  .block-media { flex-direction: column; gap: 24px; padding: 24px; }
  .block-media.plain { padding: 0; }
  .block-media.image-right { flex-direction: column; }
  .block-features { grid-template-columns: 1fr; gap: 28px; }
  .block-feature-row .row { grid-template-columns: 1fr; gap: 28px; }
  .block-feature-panel { padding: 36px 24px; }
  .block-feature-panel .grid { grid-template-columns: 1fr; }
  .block-faq { padding: 36px 24px; }
}

/* Auth (login / forgot / signup) */
.auth-section {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 96px var(--gutter) 120px;
  margin: 8px var(--gutter) 24px;
  border-radius: 28px;
  background: var(--navy) center / cover no-repeat;
  background-image: url('../images/c2.png');
  color: #fff;
  overflow: hidden;
}
.auth-section::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.55));
  pointer-events: none;
}
.auth-section > * { position: relative; z-index: 1; }
.auth-fineprint { color: rgba(255,255,255,0.85); }
.auth-fineprint a { color: #fff; }
.auth-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 24px; padding: 44px;
  max-width: 440px; width: 100%;
  box-shadow: 0 16px 48px rgba(10,22,32,0.04);
}
.auth-card h1 { font-size: 30px; font-weight: 800; letter-spacing: -.5px; margin: 0 0 8px; }
.auth-sub { color: #4a5663; margin: 0 0 30px; font-size: 15px; line-height: 1.5; }
.auth-form { background: transparent; border: none; padding: 0; gap: 16px; }
.auth-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; gap: 12px;
}
.auth-row .checkbox {
  display: inline-flex; align-items: center; gap: 8px; color: #4a5663; cursor: pointer;
}
.auth-row .checkbox input { width: auto; margin: 0; accent-color: var(--coral); }
.auth-link { color: var(--coral); font-weight: 600; text-decoration: none; }
.auth-link:hover { color: var(--coral-dark); text-decoration: underline; }
.auth-card .btn { width: 100%; text-align: center; }
.auth-divider {
  text-align: center; color: #6b7783; font-size: 13px;
  margin: 24px 0 20px; position: relative; line-height: 1;
}
.auth-divider span { background: #fff; padding: 0 14px; position: relative; z-index: 1; }
.auth-divider::before {
  content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--line);
}
.auth-fineprint {
  margin-top: 26px; font-size: 14px; color: #6b7783; text-align: center;
  max-width: 440px;
}
.auth-fineprint a { color: var(--coral); font-weight: 600; text-decoration: none; }
.auth-fineprint a:hover { text-decoration: underline; }

/* Login overlay (modal) — appears site-wide via the [data-open-login] trigger */
.login-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(11, 22, 32, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: login-fade-in .18s ease;
}
.login-overlay[hidden] { display: none; }
@keyframes login-fade-in { from { opacity: 0; } to { opacity: 1; } }

.login-modal {
  background: #fff; border-radius: 28px;
  width: 100%; max-width: 980px;
  position: relative; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  animation: login-rise-in .22s ease;
}
@keyframes login-rise-in {
  from { transform: translateY(12px); opacity: .85; }
  to   { transform: translateY(0);    opacity: 1; }
}
.login-close {
  position: absolute; top: 18px; right: 18px;
  width: 38px; height: 38px; border-radius: 50%;
  border: none; cursor: pointer; z-index: 3;
  background: rgba(255,255,255,0.95); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition: background .15s ease, color .15s ease;
}
.login-close:hover { background: var(--coral); color: #fff; }
.login-close svg { width: 16px; height: 16px; }

.login-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.login-form-side {
  padding: 56px 48px;
  display: flex; flex-direction: column; gap: 14px;
  background: #fff;
}
.login-form-side h1 { font-size: 28px; font-weight: 800; letter-spacing: -.5px; margin: 0; }
.login-form-side .login-sub { color: #4a5663; font-size: 15px; line-height: 1.5; margin: 0 0 14px; }
.login-form-side .form { background: transparent; border: none; padding: 0; gap: 14px; }
.login-form-side .btn { width: 100%; text-align: center; }

.login-image-side {
  position: relative;
  background: var(--navy) center / cover no-repeat;
  background-image: url('../images/c2.png');
  color: #fff;
  min-height: 100%;
  display: flex; align-items: flex-end;
  padding: 36px 32px;
}
.login-image-side::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 65%, rgba(0,0,0,0.75) 100%);
}
.login-image-caption { position: relative; z-index: 1; max-width: 320px; }
.login-image-caption .eyebrow {
  background: rgba(255,255,255,0.18); color: #fff;
  border-color: rgba(255,255,255,0.25); margin-bottom: 12px;
}
.login-image-caption p {
  font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.3px; margin: 0;
}

/* Prevent body scrolling while overlay is open */
body.login-open { overflow: hidden; }

@media (max-width: 720px) {
  .login-overlay { padding: 0; align-items: stretch; }
  .login-modal { border-radius: 0; max-width: none; min-height: 100%; }
  .login-layout { grid-template-columns: 1fr; min-height: 0; }
  .login-image-side { display: none; }
  .login-form-side { padding: 64px 24px 32px; }
}

/* News article (single-post layout) */
.article-meta {
  display: flex; align-items: center; gap: 14px; margin-top: 12px;
}
.article-meta .avatar-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; letter-spacing: -.3px;
}
.page-hero.cream .article-meta .avatar-circle { background: var(--coral); color: #fff; }
.article-meta .meta strong { display: block; font-size: 15px; font-weight: 700; }
.article-meta .meta span  { display: block; font-size: 13px; opacity: .75; }

.article-hero-image {
  margin: 0 var(--gutter) 32px;
  border-radius: 28px; overflow: hidden;
  aspect-ratio: 16 / 7;
  border: 1px solid var(--line);
}
.article-hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.article-layout {
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px; align-items: start;
  max-width: 1280px;
}
.article-layout .prose { padding: 0; max-width: none; }
.article-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 28px; }
.article-aside .panel-card {
  border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px;
}
.article-aside h4 {
  font-size: 12px; margin: 0 0 14px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #6b7783;
}
.article-aside .toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.article-aside .toc a {
  color: var(--ink); text-decoration: none; font-size: 14px;
  display: block; padding: 4px 0; border-left: 2px solid transparent; padding-left: 12px;
  transition: color .15s ease, border-color .15s ease;
}
.article-aside .toc a:hover { color: var(--coral); border-left-color: var(--coral); }
.article-aside .share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.article-aside .share-row a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink);
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.article-aside .share-row a:hover { background: var(--coral); color: #fff; border-color: var(--coral); }
.article-aside .share-row svg { width: 16px; height: 16px; }

.article-tags {
  padding: 0 var(--gutter); margin-top: 24px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.article-tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); font-size: 13px; font-weight: 500;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.article-tag:hover { background: var(--coral); color: #fff; border-color: var(--coral); }

@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article-aside { position: static; }
  .article-hero-image { aspect-ratio: 16 / 9; }
}

/* News cards (Monzo-style — coral image frame + white content) */
.news-grid {
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.news-card {
  background: #fff; color: inherit; text-decoration: none;
  border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.news-card:hover { transform: translateY(-3px); border-color: var(--coral); box-shadow: 0 16px 40px rgba(10,22,32,0.08); }
.news-card .frame {
  background: var(--coral);
}
.news-card .frame img {
  /* height:auto — WP thumbnails carry a height attribute that would
     otherwise override the aspect-ratio and render the image portrait. */
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  display: block;
}
.news-card .body {
  padding: 26px 26px 0;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.news-card .body .tag {
  font-size: 12px; font-weight: 600; color: var(--coral);
  text-transform: uppercase; letter-spacing: .08em;
}
.news-card .body h3 {
  font-size: 20px; font-weight: 700; letter-spacing: -.3px; margin: 0;
  line-height: 1.25;
}
.news-card .body p {
  margin: 0; color: #4a5663; font-size: 14px; line-height: 1.55;
  flex: 1;
}
.news-card .body .btn-learn {
  align-self: flex-start;
  background: #fff; color: var(--ink);
  padding: 10px 22px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 14px; text-decoration: none;
  border: 1px solid var(--line);
  margin: 4px 0 26px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.news-card:hover .body .btn-learn { background: var(--coral); color: #fff; border-color: var(--coral); }
/* Plain variant (homepage) — no "Learn more" button, tightened bottom padding */
.news-card--plain .body { padding: 26px; }
@media (max-width: 960px) { .news-grid { grid-template-columns: 1fr; } }

/* Feature grid */
.feature-grid {
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 28px 26px;
}
.feature h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.feature p  { margin: 0; color: #4a5663; font-size: 15px; }
.feature .ico {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--coral-soft); color: var(--coral);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.feature .ico svg { width: 22px; height: 22px; }

/* Panels */
.panel {
  background: #ecf3ee; border-radius: 24px; padding: 44px 48px; margin: 0 var(--gutter);
}
.panel.navy { background: var(--navy); color: #fff; }
.panel.cream { background: var(--cream); }
.panel h2 { font-size: 32px; font-weight: 800; margin: 0 0 12px; letter-spacing: -.8px; }
.panel p { margin: 0 0 22px; max-width: 540px; font-size: 16px; }

/* CTA banner */
.cta-banner {
  margin: 40px var(--gutter) 0;
  background: var(--coral); color: #fff;
  border-radius: 28px; padding: 56px 56px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { font-size: 32px; font-weight: 800; letter-spacing: -.6px; margin: 0 0 6px; }
.cta-banner p { margin: 0; opacity: .9; font-size: 16px; }
/* Split variant: illustration left, copy (with button below) right — 50/50 */
.cta-banner--split {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
}
.cta-banner--split .cta-banner-art { display: flex; justify-content: center; }
.cta-banner--split .cta-banner-art img { display: block; width: 100%; max-width: 360px; height: auto; }
.cta-banner--split .cta-banner-copy { display: flex; flex-direction: column; align-items: flex-start; }
.cta-banner--split .cta-banner-copy .btn { margin-top: 24px; }
@media (max-width: 720px) {
  .cta-banner--split { grid-template-columns: 1fr; }
  .cta-banner--split .cta-banner-art { order: -1; }
}

/* Pricing cards */
.pricing {
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.plan {
  border: 1px solid var(--line); border-radius: 24px; padding: 36px 32px;
  background: #fff;
  display: flex; flex-direction: column; gap: 14px;
}
.plan.featured {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured .plan-list li::before { color: var(--coral-soft); }
.plan h3 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.4px; }
.plan .price { font-size: 40px; font-weight: 800; letter-spacing: -1px; }
.plan .price small { font-size: 14px; font-weight: 500; opacity: .65; margin-left: 4px; }
.plan p { margin: 0; opacity: .85; font-size: 15px; }
.plan-list { list-style: none; padding: 0; margin: 4px 0 12px; display: flex; flex-direction: column; gap: 10px; }
.plan-list li {
  position: relative; padding-left: 26px; font-size: 14px;
}
.plan-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--coral); font-weight: 700;
}

/* Contact form */
.contact-grid {
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start;
}
.contact-info h3 { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.contact-info p  { color: #4a5663; margin: 0 0 18px; font-size: 16px; }
.contact-info ul { list-style: none; padding: 0; margin: 0; }
.contact-info ul li {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.contact-info ul li:first-child { border-top: 1px solid var(--line); }
.contact-info strong { color: #6b7783; font-weight: 500; }
.contact-info ul li a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-info ul li a:hover { color: var(--coral); }

.form {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.form label { display: block; font-size: 14px; font-weight: 500; color: #6b7783; margin-bottom: 6px; }
.form input,
.form select,
.form textarea {
  width: 100%; padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-size: 15px; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-soft);
}

/* FOOTER */
footer.site-footer {
  margin: 64px var(--gutter) 0;
  background: var(--navy);
  color: #fff;
  padding: 64px 56px 40px;
  position: relative; overflow: hidden;
  border-radius: 28px 28px 0 0;
}
.newsletter {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
  padding: 32px 0 44px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 48px;
}
.newsletter h3 {
  font-size: 28px; font-weight: 800; margin: 0 0 10px; letter-spacing: -.6px;
}
.newsletter p { margin: 0; color: rgba(255,255,255,0.7); font-size: 15px; max-width: 420px; }
.news-form {
  display: flex; gap: 8px;
  background: rgba(255,255,255,0.08);
  padding: 6px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
}
.news-form input {
  flex: 1; background: transparent; border: none; outline: none;
  padding: 12px 18px; color: #fff; font: inherit; font-size: 15px;
}
.news-form input::placeholder { color: rgba(255,255,255,0.5); }
.news-form button {
  background: var(--coral); color: #fff; border: none; cursor: pointer;
  padding: 12px 22px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 14px;
  transition: background .2s ease;
}
.news-form button:hover { background: var(--coral-dark); }
.news-tiny { font-size: 12px; color: rgba(255,255,255,0.72); margin-top: 10px; }

.foot-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  margin: 0 0 40px; position: relative;
}
.foot-grid h5 {
  font-size: 13px; margin: 0 0 18px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.foot-grid a.flink {
  display: block; color: rgba(255,255,255,0.78); text-decoration: none;
  font-size: 14px; margin-bottom: 12px;
  transition: color .15s ease, transform .15s ease;
}
.foot-grid a.flink:hover { color: var(--navy-soft); transform: translateX(2px); }

.socials { display: flex; gap: 12px; justify-content: center; margin: 24px 0 40px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background .2s ease, transform .15s ease, border-color .2s ease;
}
.socials a:hover { background: var(--coral); border-color: var(--coral); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }

.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px 32px; flex-wrap: wrap; text-align: left;
  font-size: 12px; color: rgba(255,255,255,0.72);
}
.foot-bottom a { color: inherit; text-decoration: none; }
.foot-bottom a:hover { color: #fff; }
@media (max-width: 720px) {
  .foot-bottom { flex-direction: column; text-align: center; gap: 12px; }
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .nav-primary { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; border-top: 1px solid var(--line); }
  .nav-primary.open { display: flex; }
  .nav-item { width: 100%; }
  .nav-item > a, .nav-item > button { width: 100%; justify-content: space-between; }
  .menu-toggle { display: block; }
  .nav-actions .login-link, .nav-actions .btn { display: none; }
  .nav-mobile-actions {
    display: flex; gap: 10px; width: 100%;
    margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line);
  }
  .nav-mobile-actions .btn { flex: 1; justify-content: center; text-align: center; }
  .mega {
    position: static; transform: none; min-width: 0;
    margin: 8px 0 0; padding: 8px;
    grid-template-columns: 1fr; gap: 8px;
    box-shadow: none; border: 1px solid var(--line);
    display: none;
  }
  .nav-item.open .mega {
    display: grid; transform: none; opacity: 1; pointer-events: auto;
  }
  .mega .mtitle, .mega .mdesc { white-space: normal; }
  .page-hero { padding: 56px 28px 64px; min-height: 0; }
  .page-hero h1 { font-size: 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 28px; }
  .newsletter { grid-template-columns: 1fr; gap: 24px; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  footer.site-footer { padding: 40px 24px; }
}

/* ============================================
   HOME PAGE STYLES
   (merged from home.css — only home-page-unique rules,
   duplicates of the base theme above stripped out)
   ============================================ */

/* Hero slider */
.hero {
  position: relative; margin: 8px var(--gutter) 24px; border-radius: 28px; overflow: hidden;
  min-height: 620px; color: #fff;
}
.slides {
  position: relative; width: 100%; min-height: 620px;
}
.slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity .55s ease;
  display: flex; align-items: center; justify-content: flex-start;
  background-size: cover; background-position: center;
}
.slide.active { opacity: 1; pointer-events: auto; }
.slide.navy  { background-color: var(--navy);  background-image: url('../images/c1a.png'); }
.slide.coral { background-color: var(--coral); color: #fff; background-image: url('../images/c2.png'); }
.slide.cream { background-color: var(--cream); color: #fff; background-image: url('../images/c3.png'); }
.slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0));
}
.hero-inner, .slider-controls { z-index: 3; }
.hero-inner {
  position: relative; z-index: 2; padding: 56px 72px 120px;
  max-width: 720px; width: 100%; text-align: left;
}
.hero h1, .hero h2 { font-size: 60px; line-height: 1.04; font-weight: 800; margin: 0 0 18px; letter-spacing: -1.5px; }
.hero p { font-size: 18px; opacity: .92; margin: 0 0 28px; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }

.slider-controls {
  position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; align-items: center; gap: 16px;
}
.slider-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid #fff; cursor: pointer; padding: 0;
  background: transparent; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .15s ease;
}
.slider-arrow:hover { background: rgba(255,255,255,0.15); }
.slider-arrow svg { width: 16px; height: 16px; }
.slider-dots { display: flex; gap: 10px; align-items: center; }
.slider-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.4); padding: 0;
  position: relative;
  transition: background .2s ease, width .2s ease;
}
/* Dots stay 10px visually but carry a 44px touch target (WCAG 2.5.8). */
.slider-dots button::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
}
.slider-dots button.active { background: #fff; width: 28px; border-radius: 999px; }

/* Eyebrow shown inside a .section-head on the home page (white pill on light bg) */
.section-head .eyebrow {
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); margin-bottom: 14px;
}

/* Category toggle */
.cat-toggle {
  display: inline-flex; padding: 6px; gap: 4px;
  background: var(--cream); border-radius: 999px;
  margin-bottom: 14px;
}
.cat-toggle button {
  border: none; background: transparent; cursor: pointer;
  padding: 8px 18px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 14px; color: var(--ink);
  transition: background .2s ease, color .2s ease;
}
.cat-toggle button.active { background: var(--coral); color: #fff; }
.cat-toggle button:not(.active):hover { background: rgba(17,34,49,0.05); }

/* Hide tiles outside the active category (block uses generic a/b slots) */
.tiles[data-active="a"] .tile[data-cat="b"],
.tiles[data-active="b"] .tile[data-cat="a"] { display: none; }

/* Service tiles (What we offer) */
.tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 0 var(--gutter);
}
.tile {
  border-radius: 28px; padding: 0; color: #fff;
  aspect-ratio: 9 / 16;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
  text-decoration: none;
  border: 1px solid #bababa;
  transition: transform .25s ease;
}
.tile:hover, .tile.is-auto-hover { transform: translateY(-3px); }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
}
.tile > * { position: relative; z-index: 1; }
.tile__inner {
  position: absolute; inset: 0; z-index: 1;
  background: var(--coral);
  opacity: 0; pointer-events: none;
  border-radius: 28px;
  transition: opacity .4s ease;
}
.tile:hover .tile__inner, .tile.is-auto-hover .tile__inner { opacity: 1; }
.tile-text {
  position: relative; z-index: 2; margin: 0; padding: 48px 32px 36px;
  min-height: 160px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; isolation: isolate;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 25%, rgba(0,0,0,0));
}
.tile-text > * { position: relative; z-index: 1; }
.tile.sand .tile-text { background: rgba(255, 255, 255, 0.35); }
.tile h3 { font-size: 28px; font-weight: 700; margin: 0; line-height: 1.15; letter-spacing: -.5px; }
.tile p {
  font-size: 14px; margin: 0;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .45s ease, opacity .35s ease .08s, margin-top .45s ease;
}
.tile:hover p, .tile.is-auto-hover p { max-height: 80px; margin-top: 8px; opacity: .92; }
.tile-art { position: absolute; inset: 0; overflow: hidden; }
.tile-art svg { width: 32px; height: 32px; }
.tile-art img,
.tile-art video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block; pointer-events: none;
}
/* Anchor the illustration to the bottom of the tile instead of filling it */
.tile-art--bottom {
  background: #b3d5ba;
}
.tile-art--bottom img {
  object-fit: contain;
  object-position: bottom;
}
/* Fit the whole illustration inside the tile (scaled down), centred */
.tile-art--contain img {
  object-fit: contain;
  object-position: center;
  padding: 18px;
}
.tile.coral { background-color: var(--coral); }
.tile.navy  { background-color: var(--navy); }
.tile.cream { background-color: var(--cream); }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; padding: 0 var(--gutter); }
.tcard {
  border-radius: 28px; padding: 28px; color: #fff; min-height: 320px;
  display: flex; flex-direction: column; justify-content: space-between;
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
}
.tcard.a { background: var(--coral); }
.tcard.b { background: var(--navy); }
.tcard .tcutout {
  position: absolute; top: 0; right: 0; bottom: 0; width: 50%;
  pointer-events: none;
}
.tcard .tcutout img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block;
}
.tcard blockquote, .tcard .tperson { position: relative; z-index: 1; max-width: 52%; }
.tcard blockquote { font-size: 22px; font-weight: 600; line-height: 1.3; margin: 0; }
.tperson { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.tperson strong { display: block; font-size: 15px; }
.tperson span { font-size: 13px; opacity: .8; }

/* Membership banner */
.member {
  margin: 0 var(--gutter); border-radius: 28px; padding: 44px 48px;
  background: var(--coral); color: #fff;
  display: flex; align-items: center; gap: 40px;
  overflow: hidden;
}
.member-copy { flex: 1 1 auto; }
.member h2 { font-size: 32px; font-weight: 800; margin: 0 0 6px; letter-spacing: -.5px; }
.member p { margin: 0 0 22px; opacity: .95; max-width: 480px; }
.member-art {
  flex: 0 0 auto; display: flex; justify-content: flex-end;
  position: relative;
}
.member .member-art { transform: translateX(-100px); }
.member-art::before {
  content: ""; position: absolute; z-index: 0;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 140%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.10) 45%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.member-art img { display: block; position: relative; z-index: 1; width: 550px; max-width: 50vw; height: auto; }
/* Cap standard hero art so tall illustrations can't push the hero past its uniform 650px */
.page-hero.has-art:not(.has-art--half):not(.has-art--corner) .member-art img { max-height: 444px; object-fit: contain; }
.member .member-art img { width: 380px; }
@media (max-width: 960px) {
  .member { flex-direction: column; align-items: flex-start; }
  .member .member-art { align-self: center; transform: none; }
  .member-art img { max-width: 70vw; }
}
/* Responsive overrides for the home-only sections */
@media (max-width: 960px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .hero h1, .hero h2 { font-size: 38px; }
  .hero-inner { padding: 36px 28px; }
}

/* Entrance transitions: blocks spring in on load / scroll. Hidden states only
   apply under html.js-anim (added by theme.js), so no-JS users see everything. */
html.js-anim body { overflow-x: clip; }
html.js-anim [data-fx] {
  opacity: 0;
  transition:
    opacity .55s ease var(--fx-delay, 0ms),
    transform .8s cubic-bezier(.22, 1.4, .36, 1) var(--fx-delay, 0ms),
    filter .55s ease var(--fx-delay, 0ms);
  will-change: opacity, transform;
}
html.js-anim [data-fx="rise"]  { transform: translateY(30px); }
html.js-anim [data-fx="pop"]   { transform: scale(.82) rotate(-3deg); filter: blur(4px); }
html.js-anim [data-fx].fx-in   { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  html.js-anim [data-fx] { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ==========================================================================
   WORDPRESS LAYER
   Everything below is WP-specific: accessibility, WP-generated markup
   mappings, block spacing utilities, widgets, forms, pagination.
   ========================================================================== */

/* ---------- ACCESSIBILITY ---------- */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important; /* WP-standard utility — keep verbatim */
}
/* Visible keyboard focus. :focus-visible only — mouse users see nothing,
   keyboard users always get a ring, including on dark/coloured sections. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
  border-radius: 4px;
}
/* On coral/navy grounds the coral ring would disappear — use white there. */
.page-hero:not(.cream) :focus-visible,
.hero :focus-visible,
.cta-banner :focus-visible,
.site-footer :focus-visible,
.panel.navy :focus-visible,
.plan.featured :focus-visible,
.tcard :focus-visible,
.member :focus-visible {
  outline-color: #fff;
}
/* Pill controls keep their shape when focused. */
.btn:focus-visible,
.login-link:focus-visible,
.slider-dots button:focus-visible,
.cat-toggle button:focus-visible { border-radius: 999px; }

.skip-link:focus {
  clip: auto; clip-path: none; width: auto; height: auto;
  position: fixed; left: 16px; top: 16px; z-index: 300;
  background: var(--coral); color: #fff;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; text-decoration: none;
}

/* ---------- WP MARKUP MAPPINGS ---------- */
/* the_custom_logo() output — style WP's classes, not just the prototype's. */
.custom-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.custom-logo-link .custom-logo { height: 32px; width: auto; display: block; }

/* Login overlay heading demoted to h2 for document outline */
.login-form-side h2 { font-size: 28px; font-weight: 800; letter-spacing: -.5px; margin: 0; }

/* ---------- SPACING UTILITIES ---------- */
/* Block "Space above/below" overrides. Margins, not paddings, so coloured
   banners/panels don't grow internally. Placed late so they win the cascade
   at equal specificity. */
.pt-none { margin-top: 0 !important; padding-top: 0; }
.pt-sm   { margin-top: 16px; }
.pt-md   { margin-top: 40px; }
.pt-lg   { margin-top: 72px; }
.pt-xl   { margin-top: 110px; }
.pb-none { margin-bottom: 0 !important; padding-bottom: 0; }
.pb-sm   { margin-bottom: 16px; }
.pb-md   { margin-bottom: 40px; }
.pb-lg   { margin-bottom: 72px; }
.pb-xl   { margin-bottom: 110px; }

/* Centered bottom-CTA row under card grids */
.section-actions { text-align: center; margin-top: 32px; padding: 0 var(--gutter); }

/* ---------- CONTAINER BLOCK ---------- */
.theme-container { padding: 20px 0; }
.theme-container__wrap { max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }
.theme-container--narrow .theme-container__wrap { max-width: 820px; }
.theme-container--cream,
.theme-container--coral-soft,
.theme-container--navy { margin: 0 var(--gutter); border-radius: 28px; padding: 48px 0; }
.theme-container--cream { background: var(--cream); }
.theme-container--coral-soft { background: var(--coral-soft); }
.theme-container--navy { background: var(--navy); color: #fff; }

/* ---------- PROSE / ENTRY-CONTENT EXTENSIONS ---------- */
.prose ol { margin: 0 0 18px; padding-left: 24px; }
.prose ol li { margin: 10px 0; }
.prose img { max-width: 100%; height: auto; border-radius: 20px; }
.prose figure,
.entry-content figure,
.entry-content .wp-caption { max-width: 100% !important; width: auto !important; margin: 24px 0; } /* beats migrated inline widths */
.prose figcaption,
.entry-content figcaption { font-size: 13px; color: #6b7783; margin-top: 8px; }
.entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content table { display: block; overflow-x: auto; border-collapse: collapse; }
.prose blockquote cite {
  display: block; font-style: normal; font-size: 13px; color: #6b7783; margin-top: 16px;
}
.prose .wp-block-button__link {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  background: var(--coral); color: #fff;
  transition: background .2s ease, transform .15s ease;
}
.prose .wp-block-button__link:hover { background: var(--coral-dark); transform: translateY(-1px); }

/* ---------- ARTICLE ASIDE EXTRAS ---------- */
.panel-card--steer p { font-size: 14px; color: #4a5663; margin: 0 0 14px; }
.btn-block { width: 100%; text-align: center; padding: 10px 18px; font-size: 14px; }
.share-row a.copied { background: var(--coral); color: #fff; border-color: var(--coral); }

/* ---------- FOOTER WIDGETS ---------- */
.foot-col { min-width: 0; }
.footer-widget .foot-heading {
  font-size: 13px; margin: 0 0 18px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.footer-widget ul { list-style: none; margin: 0; padding: 0; }
.footer-widget ul li { list-style: none; margin: 0 0 12px; padding: 0; }
.footer-widget ul li a,
.footer-widget p a {
  display: inline-block; color: rgba(255,255,255,0.78); text-decoration: none;
  font-size: 14px;
  transition: color .15s ease, transform .15s ease;
}
.footer-widget ul li a:hover,
.footer-widget p a:hover { color: var(--navy-soft); transform: translateX(2px); }
.footer-widget p { margin: 0 0 12px; font-size: 14px; color: rgba(255,255,255,0.78); }
.foot-bottom-links a { color: inherit; text-decoration: none; margin-left: 18px; }
.foot-bottom-links a:first-child { margin-left: 0; }
.foot-bottom-links a:hover { color: #fff; }

/* ---------- POWERED-BY-ZONKEY WIDGET ---------- */
.zonkey-powered-by-widget p {
  margin: 0; display: inline-flex; align-items: center; gap: 0.55rem; font-size: 12px;
}
.zonkey-powered-by-widget a {
  display: inline-flex; align-items: center;
  text-decoration: none; transition: color .3s ease, opacity .3s ease;
}
/* The wordmark is part of the SVG (fill: currentColor), sized here. */
.zonkey-powered-by-widget svg { display: block; height: 18px; width: auto; }
.zonkey-powered-by-widget--light p { color: rgba(255,255,255,0.72); }
.zonkey-powered-by-widget--light a { color: rgba(255,255,255,0.85); }
.zonkey-powered-by-widget--light a:hover { color: #fff; }
.zonkey-powered-by-widget--dark p { color: #6b7783; }
.zonkey-powered-by-widget--dark a { color: var(--ink); }
.zonkey-powered-by-widget--dark a:hover { color: var(--coral); }

/* ---------- PAGINATION ---------- */
.navigation.pagination { padding: 0 var(--gutter); margin-top: 40px; }
.navigation.pagination .nav-links {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center;
}
.navigation.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.navigation.pagination .page-numbers:hover { border-color: var(--coral); color: var(--coral); }
.navigation.pagination .page-numbers.current { background: var(--coral); border-color: var(--coral); color: #fff; }
.navigation.pagination .page-numbers.dots { border: none; background: transparent; }
.navigation.pagination .screen-reader-text { display: none; }

/* ---------- SEARCH FORM ---------- */
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form .search-form__input {
  flex: 1; padding: 12px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: inherit; font-size: 15px; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-form .search-form__input:focus { border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-soft); }

/* ---------- PRICING (WYSIWYG feature lists) ---------- */
.plan-list ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.plan .plan-list p { margin: 0 0 8px; }

/* ---------- FORMS — GRAVITY FORMS + CF7 ---------- */
/* Card-style forms (contact page, refer a friend): the wrapper takes the
   prototype's .form card look, fields inherit the input styling. */
.contact-grid .gform_wrapper,
.contact-grid .wpcf7 {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px;
}
/* !important on the contested properties throughout this section: Gravity
   Forms' Orbital theme framework outranks theme selectors and would restore
   its 40px field gap, 3px radii, fixed 38px control height, grey borders and
   drop shadows (sanctioned WP-override use per playbook §3.1.7). */
.gform_wrapper .gform_fields { display: grid; gap: 14px 16px !important; }
.gform_wrapper .gfield_label,
.wpcf7-form label {
  display: block; font-size: 14px !important; font-weight: 500 !important;
  color: #6b7783 !important; margin-bottom: 6px; line-height: 1.4;
}
.gform_wrapper .gfield_required,
.gform_wrapper .gfield_required_text { color: #9aa4ae !important; font-size: 12px !important; font-weight: 400 !important; }
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper select,
.gform_wrapper textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%; padding: 12px 16px !important; border-radius: 12px !important;
  border: 1px solid var(--line) !important; background: #fff; color: var(--ink) !important;
  font: inherit; font-size: 15px !important; line-height: 1.45 !important;
  height: auto !important; min-height: 0 !important;
  box-shadow: none !important; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.gform_wrapper ::placeholder { color: #9aa4ae; opacity: 1; }
.gform_wrapper textarea,
.wpcf7-form textarea { min-height: 130px !important; resize: vertical; }
.gform_wrapper input:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus { border-color: var(--coral) !important; box-shadow: 0 0 0 3px var(--coral-soft) !important; }
.gform_wrapper .gform_footer { margin-top: 18px; padding: 0 !important; }
/* !important on the identity props: Gravity Forms' theme-framework CSS
   ships button rules that outrank any theme selector (sanctioned WP-override
   use per playbook §3.1.7). */
.gform_wrapper input[type="submit"],
.gform_wrapper .gform_button,
.gform_wrapper button.gform-button,
.wpcf7-form input[type="submit"] {
  display: inline-block; padding: 12px 22px !important; border-radius: 999px !important;
  font: inherit; font-weight: 600; font-size: 15px; border: none !important; cursor: pointer;
  background: var(--coral) !important; color: #fff !important;
  transition: background .2s ease, transform .15s ease;
}
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper .gform_button:hover,
.gform_wrapper button.gform-button:hover,
.wpcf7-form input[type="submit"]:hover { background: var(--coral-dark) !important; transform: translateY(-1px); }
.gform_wrapper .gform_validation_errors,
.gform_wrapper .gfield_validation_message {
  color: #b3261e; font-size: 13px; margin-top: 6px;
}
.gform_wrapper .gform_confirmation_message {
  background: var(--cream); border: 1px solid var(--cream-deep); border-radius: 16px;
  padding: 20px 24px; font-size: 15px;
}

/* Newsletter band form — compact pill treatment of GF/CF7 output. */
.news-form-wrap .gform_wrapper,
.news-form-wrap .wpcf7 { background: transparent; border: none; padding: 0; }
.news-form-wrap .gform_wrapper form,
.news-form-wrap .wpcf7-form {
  display: flex; gap: 8px; align-items: center;
  background: rgba(255,255,255,0.08);
  padding: 6px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
}
.news-form-wrap .gform_wrapper .gform-body { flex: 1; }
.news-form-wrap .gform_wrapper .gform_fields { display: block; }
.news-form-wrap .gform_wrapper .gfield_label,
.news-form-wrap .wpcf7-form label { display: none; }
.news-form-wrap .gform_wrapper input[type="email"],
.news-form-wrap .gform_wrapper input[type="text"],
.news-form-wrap .wpcf7-form input[type="email"] {
  /* !important — must beat both GF Orbital and the base form overrides above */
  background: transparent !important; border: none !important; box-shadow: none !important;
  padding: 12px 18px !important; color: #fff !important; font-size: 15px !important;
}
.news-form-wrap .gform_wrapper input:focus { box-shadow: none !important; }
.news-form-wrap .gform_wrapper input::placeholder,
.news-form-wrap .wpcf7-form input::placeholder { color: rgba(255,255,255,0.5) !important; }
.news-form-wrap .gform_wrapper .gform_footer { margin: 0; }
.news-form-wrap .gform_wrapper input[type="submit"],
.news-form-wrap .gform_wrapper .gform_button,
.news-form-wrap .gform_wrapper button.gform-button,
.news-form-wrap .wpcf7-form input[type="submit"] {
  padding: 12px 22px !important; font-size: 14px; white-space: nowrap;
}
.news-form-wrap .gform_wrapper .gform_validation_errors { margin-bottom: 8px; }
