/* Homepage trust badge, relocated booking CTA, and compact mobile type. */
.hero-review-badge {
  display: grid;
  gap: 7px;
  width: 274px;
  max-width: calc(100vw - 36px);
  padding: 15px 18px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(237,245,223,.97));
  color: #17382d;
  box-shadow: 0 18px 46px rgba(10,35,24,.24), 0 0 0 5px rgba(255,255,255,.14);
  backdrop-filter: blur(16px);
  text-decoration: none;
  position: absolute;
}
.hero-review-badge::after {
  content: "";
  position: absolute;
  top: -7px;
  right: 34px;
  width: 13px;
  height: 13px;
  transform: rotate(45deg);
  border-top: 1px solid rgba(255,255,255,.82);
  border-left: 1px solid rgba(255,255,255,.82);
  background: #f7faef;
}
.hero-review-badge .review-badge-top {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #17382d;
}
.hero-review-badge .review-badge-rating { color: #17382d; font-size: 1.55rem; line-height: 1; }
.hero-review-badge .review-badge-label { color: #64736a; font-size: .76rem; }
.hero-review-badge .review-badge-stars { color: #e4a526; font-size: .86rem; letter-spacing: .16em; line-height: 1; }
.hero-review-badge .review-badge-rule { height: 1px; background: rgba(23,56,45,.13); }
.hero-review-badge .review-badge-metrics {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  gap: 12px;
  color: #17382d;
}
.hero-review-badge .review-badge-metrics > span:not(.review-badge-separator) { display: grid; gap: 2px; }
.hero-review-badge .review-badge-metrics strong { color: #17382d; font-size: 1.02rem; line-height: 1.1; }
.hero-review-badge .review-badge-metrics small { color: #64736a; font-size: .68rem; line-height: 1.2; }
.hero-review-badge .review-badge-metrics > span:last-child small { white-space: nowrap; }
.hero-review-badge .review-badge-separator { width: 1px; height: 30px; background: rgba(23,56,45,.18); }
h1, h2, h3 { letter-spacing: .012em; }
.hero-main-heading { max-width: 13ch; letter-spacing: .025em; }
.booking-cta-section { padding: 34px 0 60px; }
.booking-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(120deg, #edf3e5, #f8f8f2);
}
.booking-cta-card h2 { margin: 7px 0; font-size: clamp(1.45rem, 3vw, 2rem); }
.booking-cta-card p { margin: 0; color: var(--muted); }
.booking-cta-card .btn { flex: 0 0 auto; }
@media (max-width: 620px) {
  html { font-size: 15px; }
  body { font-size: 15px; }
  h1, .hero h1, .custom-page h1 { font-size: clamp(1.8rem, 7vw, 2.3rem); line-height: 1.08; letter-spacing: .008em; }
  h2, .section-head h2, .custom-page h2 { font-size: clamp(1.3rem, 4.8vw, 1.7rem); line-height: 1.16; letter-spacing: .008em; }
  h3, .custom-page h3 { font-size: 1.02rem; letter-spacing: .008em; }
  .hero-review-badge { width: 220px; gap: 5px; padding: 10px 12px; border-radius: 16px; }
  .hero-review-badge .review-badge-rating { font-size: 1.2rem; }
  .hero-review-badge .review-badge-label { font-size: .68rem; }
  .hero-review-badge .review-badge-stars { font-size: .76rem; }
  .hero-review-badge .review-badge-metrics { gap: 7px; }
  .hero-review-badge .review-badge-metrics strong { font-size: .9rem; }
  .hero-review-badge .review-badge-metrics small { font-size: .56rem; }
  .hero-review-badge .review-badge-separator { height: 26px; }
  .booking-cta-section { padding: 20px 0 42px; }
  .booking-cta-card { flex-direction: column; align-items: stretch; gap: 14px; padding: 19px; }
  .booking-cta-card .btn { width: 100%; white-space: normal; }
}

/* New hero line, roomier mobile forms, and explicit dark-theme contrast. */
html[data-theme="dark"] .booking-cta-card {
  background: linear-gradient(120deg, #1b2821, #24342b);
  color: var(--ink);
  border-color: var(--line);
}
html[data-theme="dark"] .booking-cta-card .eyebrow { color: #c6e78c; }
html[data-theme="dark"] .booking-cta-card p { color: var(--muted); }
html[data-theme="dark"] .contact-box { color: var(--ink); }
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .form-card label { color: var(--ink); }
html[data-theme="dark"] .site-form input::placeholder,
html[data-theme="dark"] .site-form textarea::placeholder { color: #aebdb3; opacity: 1; }
@media (max-width: 620px) {
  .hero-copy { padding-top: 18px; }
  .hero-review-badge { top: auto; bottom: 30%; }
  .hero-standout { margin: -3px 0 14px; font-size: .95rem; letter-spacing: .055em; }
  .hero-standout span { letter-spacing: .075em; }
  #contact .container { width: 100%; padding-left: 0; padding-right: 0; }
  #contact .contact-box { padding: 28px 0; border-radius: 0; }
  #contact .contact-box > div:first-child { margin-left: 14px; margin-right: 14px; }
  #contact .contact-forms.single {
    width: 100%;
    max-width: none;
    margin: 14px 0 0;
    padding: 0 8px;
  }
  #contact .form-card { width: 100%; padding: 16px 13px; }
  #contact .site-form { width: 100%; }
  #bookingForm textarea[name="message"] { min-height: 190px; width: 100%; }
}

/* Strong contrast for dark-theme copy across all public pages. */
html[data-theme="dark"] body h1,
html[data-theme="dark"] body h2,
html[data-theme="dark"] body h3,
html[data-theme="dark"] body h4,
html[data-theme="dark"] body h5,
html[data-theme="dark"] body h6,
html[data-theme="dark"] body p,
html[data-theme="dark"] body li,
html[data-theme="dark"] body label,
html[data-theme="dark"] body summary,
html[data-theme="dark"] body blockquote,
html[data-theme="dark"] body figcaption {
  color: #f3f7f4 !important;
}
html[data-theme="dark"] body :is(.muted, .caption, .hero-note, .availability, .fineprint, .form-status, .eyebrow, .article-label, .site-footer, .site-footer-bottom, .footer-copyright, time) {
  color: #c2cec6 !important;
}
html[data-theme="dark"] .hero-review-badge h1,
html[data-theme="dark"] .hero-review-badge h2,
html[data-theme="dark"] .hero-review-badge h3,
html[data-theme="dark"] .hero-review-badge p,
html[data-theme="dark"] .hero-review-badge span,
html[data-theme="dark"] .hero-review-badge strong,
html[data-theme="dark"] .hero-review-badge small {
  color: #17382d !important;
}
html[data-theme="dark"] .hero-review-badge .review-badge-label,
html[data-theme="dark"] .hero-review-badge .review-badge-metrics small {
  color: #52675a !important;
}
@media (max-width: 620px) {
  .hero-main-heading {
    max-width: 14ch;
    font-size: clamp(2rem, 8vw, 2.55rem);
    line-height: 1.06;
    letter-spacing: .018em;
  }
  .hero-main-heading span { letter-spacing: .045em; }
}
html[data-theme="dark"] .hero-review-badge .review-badge-stars { color: #e4a526 !important; }
/* Clear, open tracking on every public-page H1, including the hero. */
html body h1 { letter-spacing: .03em !important; }
@media (max-width: 620px) {
  html body h1 { letter-spacing: .018em !important; }
}

/* Keep the hero rating badge legible when the site uses its dark theme. */
html[data-theme="dark"] body a.hero-review-badge {
  color: #f4f7f4 !important;
  background: linear-gradient(135deg, rgba(25, 43, 35, .98), rgba(18, 34, 28, .98)) !important;
  border-color: rgba(219, 235, 223, .24) !important;
}
html[data-theme="dark"] body a.hero-review-badge .review-badge-rating,
html[data-theme="dark"] body a.hero-review-badge .review-badge-metrics strong {
  color: #fff !important;
}
html[data-theme="dark"] body a.hero-review-badge .review-badge-label,
html[data-theme="dark"] body a.hero-review-badge .review-badge-metrics small {
  color: #d0ddd4 !important;
}
html[data-theme="dark"] body a.hero-review-badge .review-badge-stars { color: #f2bc4b !important; }
html[data-theme="dark"] body a.hero-review-badge .review-badge-separator,
html[data-theme="dark"] body a.hero-review-badge .review-badge-rule { background: rgba(230, 241, 233, .24) !important; }
html[data-theme="dark"] body a.hero-review-badge::after {
  background: #192b23 !important;
  border-color: rgba(219, 235, 223, .24) !important;
}

/* Consistent high-contrast button colors across the dark theme. */
html[data-theme="dark"] body a.btn:not(.light),
html[data-theme="dark"] body button.btn,
html[data-theme="dark"] body .package-group-actions .btn:not(.light) {
  background: #c5e878 !important;
  border-color: #c5e878 !important;
  color: #17231b !important;
}
html[data-theme="dark"] body a.btn:not(.light):hover,
html[data-theme="dark"] body button.btn:hover,
html[data-theme="dark"] body .package-group-actions .btn:not(.light):hover {
  background: #d6f394 !important;
  border-color: #d6f394 !important;
  color: #142018 !important;
}
html[data-theme="dark"] body a.btn.light,
html[data-theme="dark"] body button.btn.light {
  background: #202d25 !important;
  border-color: #53645a !important;
  color: #f1f6f2 !important;
}
html[data-theme="dark"] body a.btn.light:hover,
html[data-theme="dark"] body button.btn.light:hover {
  background: #2a3b31 !important;
  border-color: #71877a !important;
  color: #fff !important;
}
html[data-theme="dark"] body .btn.whatsapp {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #12301e !important;
}

/* Slightly smaller placeholder copy keeps form fields visually balanced. */
.site-form input::placeholder,
.site-form textarea::placeholder {
  font-size: .88rem;
}
@media (max-width: 620px) {
  .site-form input::placeholder,
  .site-form textarea::placeholder {
    font-size: .82rem;
  }
}

#bookingForm > button[type="submit"] {
  width: 100% !important;
  justify-self: stretch !important;
}

@media (max-width: 620px) {
  .hero-copy > .eyebrow {
    padding-top: 40px;
  }
  .hero-main-heading {
    max-width: none !important;
    width: 100%;
    white-space: nowrap;
    font-size: clamp(1rem, 5vw, 1.38rem) !important;
    line-height: 1.2;
    letter-spacing: .005em !important;
  }
  .hero-main-heading span { letter-spacing: .005em !important; }
  .hero-review-badge { bottom: 0 !important; transform: translateY(60%); }
}


/* The homepage header is shared unchanged by all public pages. */
/* Smaller content headings on secondary pages; the homepage is unaffected. */
body.subpage h1 { font-size: clamp(2rem, 4.2vw, 3rem) !important; line-height: 1.1; }
body.subpage h2 { font-size: clamp(1.45rem, 2.8vw, 2rem) !important; line-height: 1.2; }
body.subpage h3 { font-size: clamp(1.05rem, 1.8vw, 1.3rem) !important; line-height: 1.3; }
@media (max-width: 620px) {
  body.subpage h1 { font-size: clamp(1.7rem, 7.2vw, 2.25rem) !important; }
  body.subpage h2 { font-size: clamp(1.3rem, 5vw, 1.65rem) !important; }
  body.subpage h3 { font-size: 1.05rem !important; }
}


/* Shared homepage header, used unchanged on every public page. */
body.subpage .topbar { position: sticky !important; top: 0 !important; z-index: 100 !important; background: rgba(246,245,240,.92) !important; border-bottom: 1px solid var(--line, #e0e6df) !important; backdrop-filter: blur(14px); }
html[data-theme="dark"] body.subpage .topbar { background: rgba(17,26,22,.93) !important; border-color: #35433b !important; }
body.subpage .topbar > header.container { width: min(1160px, calc(100% - 44px)) !important; height: 76px !important; min-height: 76px !important; margin: 0 auto !important; position: relative !important; display: flex !important; align-items: center !important; justify-content: space-between !important; }
body.subpage .brand { display: flex !important; align-items: center !important; gap: 10px !important; text-decoration: none !important; }
body.subpage .brand-mark { position: relative !important; width: 42px !important; height: 42px !important; flex: 0 0 42px !important; border-radius: 50% !important; overflow: hidden !important; }
body.subpage .brand-copy { display: grid !important; gap: 5px !important; line-height: 1.1 !important; }
body.subpage .brand-name { font-size: 1rem !important; }
body.subpage .brand-tagline { max-width: 250px !important; font-size: .63rem !important; }
body.subpage .theme-toggle { width: 40px !important; height: 40px !important; flex: 0 0 40px !important; display: grid !important; place-items: center !important; margin-left: auto !important; margin-right: 12px !important; border-radius: 50% !important; }
body.subpage .menu { display: none !important; width: 40px !important; height: 40px !important; min-width: 40px !important; flex: 0 0 40px !important; place-items: center !important; padding: 0 !important; }
body.subpage .menu-icon { display: block !important; width: 22px !important; height: 22px !important; fill: none !important; stroke: currentColor !important; stroke-width: 2.2 !important; stroke-linecap: round !important; }
body.subpage .nav { display: flex !important; position: static !important; align-items: center !important; gap: 24px !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
body.subpage .nav a { padding: 0 !important; font-size: .92rem !important; text-decoration: none !important; }
body.subpage .nav .btn { padding: 12px 19px !important; font-size: .9rem !important; }
@media (max-width: 1180px) {
  body.subpage .topbar > header.container { height: 76px !important; }
  body.subpage .menu { display: grid !important; }
  body.subpage .nav { display: none !important; position: absolute !important; top: 76px !important; left: 0 !important; right: 0 !important; z-index: 101 !important; flex-direction: column !important; align-items: stretch !important; gap: 10px !important; padding: 18px 22px 24px !important; border-bottom: 1px solid var(--line, #e0e6df) !important; background: var(--bg, #fbfcf9) !important; }
  body.subpage .nav.open { display: flex !important; }
  body.subpage .nav a { padding: 8px 0 !important; font-size: .92rem !important; }
  body.subpage .nav .btn { align-self: flex-start !important; padding: 12px 19px !important; }
}
@media (max-width: 620px) {
  body.subpage .topbar > header.container { width: calc(100% - 32px) !important; height: 76px !important; min-height: 76px !important; }
  body.subpage .brand-mark { width: 42px !important; height: 42px !important; flex-basis: 42px !important; }
  body.subpage .brand-tagline { max-width: 190px !important; font-size: .63rem !important; }
  body.subpage .theme-toggle, body.subpage .menu { width: 34px !important; height: 34px !important; min-width: 34px !important; max-width: 34px !important; flex: 0 0 34px !important; padding: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; align-self: center !important; }
  body.subpage .theme-toggle { margin-right: 8px !important; }
  body.subpage .nav { top: 76px !important; }
  body.subpage .nav a { display: block !important; }
}

/* Keep the shared booking CTA legible on light backgrounds, including CMS overrides. */
html:not([data-theme="dark"]) body.subpage .nav a.booking-nav-link,
html:not([data-theme="dark"]) body.subpage .nav a.booking-nav-link span {
  color: #fff !important;
}


/* Keep one consistent homepage-style header and make the compact menu reliably tappable. */
body.subpage .topbar > header.container { height:76px !important; min-height:76px !important; }
.topbar .menu { position:relative !important; z-index:102 !important; pointer-events:auto !important; touch-action:manipulation; }
body.subpage .nav.open { z-index:101 !important; }
@media (max-width:1180px) {
  body.subpage .menu { display:grid !important; }
  body.subpage .nav:not(.open) { display:none !important; }
  body.subpage .nav.open { display:flex !important; }
}
/* Keep the shared header .Dev accent light green across every front-end page. */
.brand-name span { color: #badb6c !important; }


/* Ongoing live website previews */
.live-projects-section { overflow: hidden; }
.live-projects-section .section-head { align-items: end; }
.live-project-total { display: flex; align-items: baseline; gap: 9px; flex: 0 0 auto; color: var(--muted, #68746d); }
.live-project-total strong { color: var(--ink, #172b24); font-size: clamp(2rem, 4vw, 3rem); font-weight: 650; letter-spacing: -.06em; line-height: 1; }
.live-project-total span { font-size: .84rem; }
.live-project-intro { max-width: 54ch; margin: -10px 0 26px; color: var(--muted, #68746d); font-size: .94rem; }
.live-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.live-project-card { min-width: 0; overflow: hidden; border: 1px solid var(--line, #e0e7df); border-radius: 18px; background: var(--paper, #fff); box-shadow: 0 10px 28px rgba(20,45,33,.045); transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
@media (prefers-reduced-motion: no-preference) {
  .live-project-card { animation: live-project-enter .55s both; animation-delay: calc(var(--live-project-index, 0) * 45ms); }
  @keyframes live-project-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}
.live-project-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent, #9bb779) 48%, var(--line, #e0e7df)); box-shadow: 0 16px 38px rgba(20,45,33,.11); }
.live-project-frame { padding: 10px 10px 0; }
.live-project-browser { display: grid; grid-template-columns: 42px 16px; justify-content: space-between; align-items: center; height: 30px; padding: 0 9px; border: 1px solid var(--line, #e0e7df); border-bottom: 0; border-radius: 10px 10px 0 0; background: color-mix(in srgb, var(--bg, #f4f6f2) 88%, #fff); }
.live-project-lights { width: 31px; height: 8px; background: radial-gradient(circle at 4px 4px,#e78179 3px,transparent 3.5px),radial-gradient(circle at 15px 4px,#e7c56d 3px,transparent 3.5px),radial-gradient(circle at 26px 4px,#83bd8c 3px,transparent 3.5px); }
.live-project-secure { color: #4d9b67; font-size: .58rem; }
.live-project-preview { position: relative; display: block; overflow: hidden; aspect-ratio: 1.52; border: 1px solid var(--line, #e0e7df); border-radius: 0 0 10px 10px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent, #9bb779) 22%, var(--bg, #f4f6f2)), var(--paper, #fff)); }
.live-project-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .45s ease; }
.live-project-card:hover .live-project-preview img { transform: scale(1.035); }
.live-project-frame.preview-unavailable .live-project-preview { display: grid; place-items: center; }
.live-project-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 18px; color: var(--ink, #172b24); font-size: clamp(1rem, 2vw, 1.45rem); font-weight: 650; letter-spacing: -.035em; text-align: center; }
.live-project-fallback[hidden] { display: none; }
.live-project-card-copy { display: grid; gap: 9px; padding: 15px 16px 17px; }
.live-project-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.live-project-state { display: inline-flex; align-items: center; gap: 6px; color: #477650; font-size: .68rem; font-weight: 700; white-space: nowrap; }
.live-project-state:before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #53a66a; box-shadow: 0 0 0 3px rgba(83,166,106,.12); }
.live-project-category { overflow: hidden; color: var(--muted, #68746d); font-size: .66rem; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.live-project-card-copy h3 { margin: 0; color: var(--ink, #172b24); font-size: clamp(.98rem, 1.35vw, 1.14rem); font-weight: 620; letter-spacing: -.025em; line-height: 1.28; }
.live-project-link { display: inline-flex; align-items: center; gap: 7px; width: fit-content; color: var(--ink, #172b24); font-size: .78rem; font-weight: 650; text-decoration: none; }
.live-project-link span { color: var(--accent, #789856); transition: transform .18s ease; }
.live-project-link:hover span { transform: translate(2px, -2px); }
html[data-theme="dark"] .live-project-card { background: #1a2921; border-color: #34463a; box-shadow: 0 12px 28px rgba(0,0,0,.22); }
html[data-theme="dark"] .live-project-state { color: #b9dbb9; }
html[data-theme="dark"] .live-project-browser { background: #18231d; }
@media (max-width: 900px) { .live-project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 540px) {
  .live-project-grid { gap: 11px; }
  .live-project-card { border-radius: 14px; }
  .live-project-frame { padding: 7px 7px 0; }
  .live-project-browser { height: 26px; grid-template-columns: 34px 12px; padding: 0 7px; }
  .live-project-lights { transform: scale(.82); transform-origin: left center; }
  .live-project-card-copy { gap: 7px; padding: 11px 11px 13px; }
  .live-project-state { font-size: .6rem; gap: 5px; }
  .live-project-state:before { width: 5px; height: 5px; }
  .live-project-category { font-size: .59rem; }
  .live-project-card-copy h3 { font-size: .9rem; }
  .live-project-link { font-size: .7rem; }
  .live-project-total { gap: 6px; }
  .live-project-total strong { font-size: 2rem; }
  .live-project-total span { max-width: 70px; font-size: .72rem; line-height: 1.2; }
}
@media (max-width: 370px) { .live-project-grid { grid-template-columns: 1fr; } }

/* Quote-based custom, Shopify, and Wix services */
.quote-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.quote-service-card{display:flex;flex-direction:column;align-items:flex-start;min-height:220px;padding:22px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 10px 24px rgba(23,56,45,.06)}
.quote-service-card h4{margin:8px 0;font-size:1.15rem;line-height:1.35;color:var(--ink)}
.quote-service-card p{margin:0 0 20px;color:var(--muted);line-height:1.6}
.quote-service-card .eyebrow{font-size:.72rem}
.quote-service-card .btn{margin-top:auto;min-height:42px}
html[data-theme="dark"] .quote-service-card{background:#1b2821;border-color:#34463a;color:var(--ink);box-shadow:0 12px 28px rgba(0,0,0,.2)}
html[data-theme="dark"] .quote-service-card h4{color:#f1f5f2}
html[data-theme="dark"] .quote-service-card p{color:#c0cbc4}
html[data-theme="dark"] .quote-service-card .btn.light{background:#24342b;border-color:#46584b;color:#f1f5f2}
@media(max-width:760px){.quote-service-grid{grid-template-columns:1fr}.quote-service-card{min-height:0}}


/* Service categories: custom builds and platform-based websites */
.service-category{padding:clamp(20px,3vw,32px);border:1px solid var(--line);border-radius:24px;background:var(--white);box-shadow:0 12px 32px rgba(23,56,45,.045)}
.service-category .gig-heading{margin-bottom:22px}
.service-category .gig-heading h3{letter-spacing:-.025em}
.hand-coded-grid{grid-template-columns:minmax(0,560px)}
.platform-category{background:linear-gradient(145deg,var(--white),#f5f8f2)}
.platform-services{display:grid;gap:24px}
.platform-wordpress{padding-bottom:24px;border-bottom:1px solid var(--line)}
.platform-wordpress .gig-heading{grid-template-columns:1fr;gap:6px;margin-bottom:14px}
.platform-wordpress .gig-heading h3{font-size:1.3rem}
.platform-quote-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-theme="dark"] .service-category{background:#19251e;border-color:#35443a;box-shadow:0 14px 36px rgba(0,0,0,.16)}
html[data-theme="dark"] .platform-category{background:linear-gradient(145deg,#19251e,#1d2b22)}
@media(max-width:760px){.service-category{padding:18px;border-radius:19px}.hand-coded-grid,.platform-quote-grid{grid-template-columns:1fr}.platform-wordpress .gig-heading{grid-template-columns:1fr}.platform-wordpress{padding-bottom:18px}}


/* Tighten the newsletter heading and keep the blog mobile menu easy to tap. */
#newsletter-heading { margin-bottom: 0 !important; }
.topbar .menu { cursor: pointer; touch-action: manipulation; pointer-events: auto !important; z-index: 102 !important; }
.topbar .menu-icon { pointer-events: none; }

/* Keep the compact navigation control consistent across mobile browsers. */
body.subpage .topbar .menu {
  -webkit-appearance: none !important;
  appearance: none !important;
  color: var(--ink, #172b24) !important;
  background: transparent !important;
  border: 1px solid var(--line, #e0e6df) !important;
  border-radius: 50% !important;
}
body.subpage .topbar .menu-icon { stroke: currentColor !important; }
html[data-theme="dark"] body.subpage .topbar .menu {
  color: #edf3ee !important;
  background: transparent !important;
  border-color: #435248 !important;
}


/* The homepage header is the one shared header on every public page. */
body.subpage .topbar { position:sticky !important; top:0 !important; z-index:9 !important; background:rgba(246,245,240,.9) !important; border-bottom:1px solid rgba(217,222,216,.8) !important; backdrop-filter:blur(14px) !important; }
html[data-theme="dark"] body.subpage .topbar { background:rgba(17,26,22,.93) !important; border-color:#35433b !important; }
body.subpage .topbar > header.container { position:relative !important; width:min(1180px,calc(100% - 44px)) !important; height:76px !important; min-height:76px !important; margin:0 auto !important; display:flex !important; align-items:center !important; justify-content:space-between !important; }
body.subpage .brand { display:flex !important; align-items:center !important; gap:10px !important; text-decoration:none !important; font:800 1.05rem system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important; }
body.subpage .brand-mark { position:relative !important; display:grid !important; place-items:center !important; width:42px !important; height:42px !important; flex:0 0 42px !important; border:1px solid #d8e5bd !important; border-radius:50% !important; background:#fff !important; overflow:hidden !important; }
body.subpage .brand-copy { display:grid !important; gap:5px !important; line-height:1.1 !important; }
body.subpage .brand-name { font:800 1rem/1 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important; letter-spacing:-.03em !important; color:var(--ink,#172b24) !important; }
body.subpage .brand-name span { color:#badb6c !important; }
body.subpage .brand-tagline { max-width:250px !important; font:500 .63rem/1.2 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important; letter-spacing:0 !important; color:var(--muted,#596b62) !important; }
body.subpage .theme-toggle { width:40px !important; height:40px !important; min-width:40px !important; max-width:40px !important; flex:0 0 40px !important; display:grid !important; place-items:center !important; margin:0 12px !important; padding:0 !important; border:1px solid var(--line,#e0e6df) !important; border-radius:50% !important; background:transparent !important; color:var(--ink,#172b24) !important; font-size:1.2rem !important; line-height:1 !important; }
body.subpage .menu { display:none !important; width:34px !important; height:34px !important; min-width:34px !important; max-width:34px !important; flex:0 0 34px !important; place-items:center !important; margin:0 !important; padding:0 !important; -webkit-appearance:none !important; appearance:none !important; border:0 !important; border-radius:10px !important; background:none !important; color:var(--ink,#172b24) !important; cursor:pointer !important; touch-action:manipulation !important; pointer-events:auto !important; }
body.subpage .menu-icon { display:block !important; width:22px !important; height:22px !important; fill:none !important; stroke:currentColor !important; stroke-width:2.2 !important; stroke-linecap:round !important; pointer-events:none !important; }
body.subpage .menu-icon line { transition:transform .2s ease,opacity .15s ease !important; transform-origin:12px 12px !important; }
body.subpage .menu.is-open .menu-icon line:first-child { transform:translateY(6px) rotate(45deg) !important; }
body.subpage .menu.is-open .menu-icon line:nth-child(2) { opacity:0 !important; }
body.subpage .menu.is-open .menu-icon line:last-child { transform:translateY(-6px) rotate(-45deg) !important; }
body.subpage .nav { position:static !important; display:flex !important; align-items:center !important; gap:17px !important; padding:0 !important; border:0 !important; background:transparent !important; box-shadow:none !important; white-space:nowrap !important; }
body.subpage .nav a { display:inline-flex !important; align-items:center !important; padding:0 !important; color:#42504a !important; font-size:.92rem !important; font-weight:600 !important; text-decoration:none !important; }
body.subpage .nav a:hover { color:#111 !important; }
body.subpage .nav .btn { padding:10px 16px !important; border:1px solid var(--dark,#17382d) !important; border-radius:999px !important; background:var(--dark,#17382d) !important; color:#fff !important; font-weight:700 !important; }
html[data-theme="dark"] body.subpage .nav a { color:#cfdbd3 !important; }
html[data-theme="dark"] body.subpage .nav a:hover { color:#fff !important; }
html[data-theme="dark"] body.subpage .nav .btn { background:#badb6c !important; border-color:#badb6c !important; color:#17231b !important; }
@media(max-width:1180px) {
  body.subpage .menu { display:grid !important; position:relative !important; z-index:102 !important; }
  body.subpage .theme-toggle { margin-left:auto !important; margin-right:8px !important; }
  body.subpage .nav, body.subpage .nav:not(.open) { position:absolute !important; top:76px !important; left:0 !important; right:0 !important; z-index:101 !important; display:none !important; flex-direction:column !important; align-items:stretch !important; gap:10px !important; padding:18px 22px 24px !important; border:0 !important; border-bottom:1px solid var(--line,#e0e6df) !important; background:var(--bg,#fbfcf9) !important; box-shadow:none !important; white-space:normal !important; }
  body.subpage .nav.open { display:flex !important; }
  body.subpage .nav a { display:block !important; padding:8px 0 !important; font-size:.92rem !important; }
  body.subpage .nav .btn { display:inline-flex !important; align-self:flex-start !important; padding:12px 19px !important; }
}
@media(max-width:620px) {
  body.subpage .topbar > header.container { width:calc(100% - 32px) !important; height:76px !important; min-height:76px !important; }
  body.subpage .brand-mark { width:42px !important; height:42px !important; flex-basis:42px !important; }
  body.subpage .brand-tagline { max-width:190px !important; font-size:.63rem !important; }
  body.subpage .theme-toggle, body.subpage .menu { width:34px !important; height:34px !important; min-width:34px !important; max-width:34px !important; flex:0 0 34px !important; align-self:center !important; padding:0 !important; }
  body.subpage .theme-toggle { margin-right:8px !important; }
  body.subpage .menu { border-radius:10px !important; }
  body.subpage .nav { top:76px !important; }
}

/* Match the homepage header on every secondary page. */
body.subpage .topbar { position:sticky !important; top:0 !important; z-index:9 !important; background:rgba(246,245,240,.9) !important; border-bottom:1px solid rgba(217,222,216,.8) !important; backdrop-filter:blur(14px) !important; }
html[data-theme="dark"] body.subpage .topbar { background:rgba(17,26,22,.93) !important; border-color:#35433b !important; }
body.subpage .topbar > header.container { position:relative !important; width:min(1180px,calc(100% - 44px)) !important; height:76px !important; min-height:76px !important; margin:0 auto !important; display:flex !important; align-items:center !important; justify-content:space-between !important; box-sizing:border-box !important; }
body.subpage .brand { display:flex !important; align-items:center !important; gap:10px !important; text-decoration:none !important; font:800 1.05rem system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important; }
body.subpage .brand-mark { position:relative !important; display:grid !important; place-items:center !important; width:42px !important; height:42px !important; flex:0 0 42px !important; border:1px solid #d8e5bd !important; border-radius:50% !important; background:#fff !important; overflow:hidden !important; }
body.subpage .logo-slide { position:absolute !important; inset:0 !important; display:grid !important; place-items:center !important; opacity:0 !important; transition:opacity .55s ease !important; color:var(--dark,#17382d) !important; }
body.subpage .logo-slide.active { opacity:1 !important; }
body.subpage .logo-slide img { width:100% !important; height:100% !important; object-fit:cover !important; object-position:center 37% !important; }
body.subpage .logo-slide.profile-mark { background:#fff !important; }
body.subpage .logo-slide.profile-mark img { mix-blend-mode:normal !important; }
body.subpage .logo-slide svg { width:26px !important; height:26px !important; }
body.subpage .logo-slide.wp-mark { color:#21759b !important; background:#e8f5fa !important; }
body.subpage .logo-slide.code-mark { color:#a44ac1 !important; background:#f5e8fa !important; font:800 17px/1 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important; letter-spacing:-.1em !important; }
body.subpage .logo-slide.browser-mark { color:#ef7044 !important; background:#fff0e8 !important; }
body.subpage .logo-slide.design-mark svg { width:25px !important; height:25px !important; }
body.subpage .brand-copy { display:grid !important; gap:5px !important; line-height:1.1 !important; }
body.subpage .brand-name { font:800 1rem/1 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important; letter-spacing:-.03em !important; color:var(--ink) !important; }
body.subpage .brand-name span { color:#badb6c !important; }
body.subpage .brand-tagline { max-width:250px !important; font:500 .63rem/1.2 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important; letter-spacing:0 !important; color:var(--muted) !important; }
body.subpage .theme-toggle { width:40px !important; height:40px !important; min-width:40px !important; max-width:40px !important; flex:0 0 40px !important; display:grid !important; place-items:center !important; margin:0 12px !important; padding:0 !important; border:1px solid var(--line) !important; border-radius:50% !important; background:transparent !important; color:var(--ink) !important; font-size:1.2rem !important; cursor:pointer !important; }
body.subpage .theme-toggle:hover { background:#e5efcf !important; }
html[data-theme="dark"] body.subpage .theme-toggle:hover { background:#25362b !important; }
body.subpage .topbar .menu { display:none !important; width:34px !important; height:34px !important; min-width:34px !important; max-width:34px !important; flex:0 0 34px !important; place-items:center !important; margin:0 !important; padding:0 !important; appearance:none !important; -webkit-appearance:none !important; border:0 !important; border-radius:12px !important; background:transparent !important; color:var(--ink) !important; cursor:pointer !important; touch-action:manipulation !important; pointer-events:auto !important; }
body.subpage .topbar .menu-icon { display:block !important; width:22px !important; height:22px !important; fill:none !important; stroke:currentColor !important; stroke-width:2.2 !important; stroke-linecap:round !important; pointer-events:none !important; }
body.subpage .topbar .menu-icon line { transition:transform .2s ease,opacity .15s ease !important; transform-origin:12px 12px !important; }
body.subpage .topbar .menu.is-open .menu-icon line:first-child { transform:translateY(6px) rotate(45deg) !important; }
body.subpage .topbar .menu.is-open .menu-icon line:nth-child(2) { opacity:0 !important; }
body.subpage .topbar .menu.is-open .menu-icon line:last-child { transform:translateY(-6px) rotate(-45deg) !important; }
body.subpage .nav { position:static !important; display:flex !important; align-items:center !important; gap:17px !important; padding:0 !important; border:0 !important; background:transparent !important; box-shadow:none !important; white-space:nowrap !important; }
body.subpage .nav a { display:inline-flex !important; align-items:center !important; padding:0 !important; color:#42504a !important; font-size:.92rem !important; font-weight:400 !important; text-decoration:none !important; }
body.subpage .nav a:hover { color:#111 !important; }
body.subpage .nav .btn { padding:10px 16px !important; color:#fff !important; }
html[data-theme="dark"] body.subpage .nav a { color:#cfdbd3 !important; }
html[data-theme="dark"] body.subpage .nav a:hover { color:#fff !important; }
html[data-theme="dark"] body.subpage .nav .btn { color:#17231b !important; }
@media(max-width:1180px) {
  body.subpage .topbar .menu { display:grid !important; position:relative !important; z-index:102 !important; }
  body.subpage .theme-toggle { margin-left:auto !important; margin-right:8px !important; }
  body.subpage .nav { position:absolute !important; top:76px !important; left:0 !important; right:0 !important; z-index:101 !important; display:none !important; flex-direction:column !important; align-items:stretch !important; gap:10px !important; padding:18px 22px 24px !important; border:0 !important; border-bottom:1px solid var(--line) !important; background:var(--bg) !important; box-shadow:none !important; white-space:normal !important; }
  body.subpage .nav.open { display:flex !important; }
  body.subpage .nav a { display:block !important; padding:8px 0 !important; font-size:.92rem !important; }
  body.subpage .nav .btn { display:inline-flex !important; align-self:flex-start !important; padding:10px 16px !important; }
}
@media(max-width:850px) { body.subpage .nav { gap:14px !important; } }
@media(max-width:620px) {
  body.subpage .topbar > header.container { width:calc(100% - 32px) !important; height:76px !important; min-height:76px !important; }
  body.subpage .theme-toggle, body.subpage .topbar .menu { align-self:center !important; position:relative !important; top:0 !important; transform:none !important; margin-top:0 !important; margin-bottom:0 !important; width:34px !important; height:34px !important; min-width:34px !important; max-width:34px !important; flex:0 0 34px !important; padding:0 !important; }
  body.subpage .theme-toggle { aspect-ratio:1/1 !important; border-radius:50% !important; }
  body.subpage .topbar .menu { border-radius:10px !important; }
}
@media(max-width:560px) { body.subpage .theme-toggle { margin-right:0 !important; font-size:1rem !important; } }
@media(max-width:420px) { body.subpage .topbar > header.container { width:calc(100% - 28px) !important; } }
@media(prefers-reduced-motion:reduce) { body.subpage .logo-slide { transition:none !important; } }

/* Keep the mobile dropdown anchored to the full-width sticky header, as on home. */
@media(max-width:1180px) {
  body.subpage .topbar > header.container { position:static !important; }
  body.subpage .nav a { line-height:1.6 !important; }
  body.subpage .nav .btn { font-size:.92rem !important; line-height:1.6 !important; gap:.6em !important; }
}

/* Match the homepage brand wordmark to the footer's green accent. */
body .brand-name span, body.subpage .brand-name span { color:#5b8e36 !important; }
@media(max-width:1180px) {
  body.subpage .nav { line-height:1.6 !important; }
  body.subpage .nav .btn { gap:9px !important; }
}
@media (max-width: 620px) {
  .newsletter-section .contact-box { row-gap: 14px; }
}

/* Keep the header wordmark identical to the footer accent in both themes. */
html[data-theme] body .topbar a.brand .brand-name > span { color: #5b8e36 !important; }
