/* Conversion additions reuse the site's Figtree, mint, black and editorial grid. */
.book-call-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 2rem;
  padding: .48rem .85rem;
  border: 1px solid rgba(17,17,17,.22);
  border-radius: 999px;
  background: #c0f8b0;
  color: #111;
  font: 600 .74rem/1 "Figtree", sans-serif;
  white-space: nowrap;
  text-decoration: none;
  pointer-events: auto;
}
.book-call-pill:hover { background: #ade79d; }
a[data-book-call]:focus-visible, .cookie-settings-link:focus-visible, .consent-panel button:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}
.menu-overlay-header .book-call-pill { margin-right: auto; }
.home-page .hero-conversion-copy { cursor: auto; }
.hero-conversion-copy .subtitle-headline { display: block; }
.hero-conversion-body { margin: 0; font: 400 clamp(1.05rem, 1.6vw, 1.45rem)/1.4 "Figtree", sans-serif; }
.hero-booking-link, .conversion-link {
  display: inline-block;
  width: fit-content;
  color: inherit;
  font: 500 clamp(1.05rem, 1.65vw, 1.5rem)/1.35 "Figtree", sans-serif;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
  cursor: pointer;
}
.hero-conversion-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
.home-intro-conversation, .home-personal-contact {
  padding: clamp(3.5rem, 7vw, 8rem) var(--header-pad-x);
  background: #fff;
  color: #111;
  border-top: 1px solid currentColor;
}
.conversion-heading {
  margin: 0 0 2rem;
  max-width: 17ch;
  font: 500 clamp(2.3rem, 5vw, 5.5rem)/1.02 "Figtree", sans-serif;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.home-intro-conversation { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 7rem); }
.conversion-body { margin: 0 0 1.5rem; max-width: 42ch; font: 400 clamp(1.1rem, 1.7vw, 1.5rem)/1.5 "Figtree", sans-serif; }
.conversion-support { margin: 0 0 2rem; font: 400 1rem/1.5 "Figtree", sans-serif; }
.conversion-link { padding: .75rem 0; }
.home-personal-contact { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 7rem); }
.personal-contact-picture { display: block; }
.personal-contact-image { display: block; width: 100%; height: auto; }
.personal-contact-name { margin: 2rem 0 .5rem; font: 600 1.1rem/1.5 "Figtree", sans-serif; }
.personal-contact-details { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0 0 1.2rem; font: 400 1rem/1.6 "Figtree", sans-serif; }
.personal-contact-details a { color: inherit; text-underline-offset: .2em; }
body.is-inverted .home-intro-conversation, body.is-inverted .home-personal-contact { background: #111; color: #fff; }
.cookie-settings-link { display: block; margin: 1.5rem var(--header-pad-x); padding: .6rem 0; border: 0; background: transparent; color: inherit; font: 400 .85rem/1.4 "Figtree", sans-serif; text-decoration: underline; cursor: pointer; }
.consent-panel {
  position: fixed; inset: auto 1rem 1rem auto; z-index: 200;
  box-sizing: border-box; width: min(32rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem);
  overflow: auto; padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff; color: #111; border: 1px solid #111;
  box-shadow: 0 8px 36px #0002; font: 400 .95rem/1.5 "Figtree", sans-serif;
}
.consent-panel[hidden] { display: none; }
.consent-panel h2 { margin: 0 0 .75rem; font: 500 1.6rem/1.1 "Figtree", sans-serif; }
.consent-panel p { margin: 0 0 1rem; }
.consent-options { display: grid; gap: .7rem; margin: 1rem 0; }
.consent-options label { display: flex; align-items: center; gap: .7rem; }
.consent-options input { width: 1.2rem; height: 1.2rem; accent-color: #111; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.consent-actions button { padding: .7rem 1rem; min-height: 44px; border: 1px solid #111; border-radius: 999px; background: #fff; color: #111; font: 600 .85rem/1.2 "Figtree", sans-serif; cursor: pointer; }
.consent-actions button[data-consent-action="accept"] { background: #c0f8b0; }
@media(min-width:768px) {
  .home-page.home-video-hero .hero-conversion-copy { align-items: flex-start; }
  .hero-conversion-copy .subtitle-headline { max-width: 24ch; }
}
@media(max-width:767px) {
  .sticky-header-bar { grid-template-columns: repeat(4, auto) !important; gap: .45rem !important; }
  .book-call-pill { min-height: 2rem; padding: .45rem .6rem; font-size: .68rem; }
  .home-intro-conversation, .home-personal-contact { grid-template-columns: 1fr; gap: 1.5rem; padding: 3.5rem 1rem; }
  .conversion-heading { margin-bottom: .75rem; }
  .home-personal-contact { gap: 2.25rem; }
  .hero-conversion-copy { gap: 1.5rem !important; }
  .hero-conversion-copy .subtitle-headline { font-size: clamp(2rem, 7.5vw, 3.2rem); }
  .hero-conversion-actions { gap: 1rem; }
  .personal-contact-details { flex-direction: column; }
}
@media(prefers-reduced-motion:reduce) { .consent-panel *, [data-book-call] { transition: none !important; } }
/* Keep the full logo, language control and CTA separate on narrow phones. */
@media(max-width:420px) {
  .sticky-header-bar { grid-template-columns: repeat(3, auto) !important; grid-template-rows: auto auto; min-height: 7rem !important; }
  .sticky-header-bar > .book-call-pill { grid-column: 1 / -1; grid-row: 2; justify-self: end; }
  .sticky-header-bar > .language-switcher { grid-column: 1; grid-row: 1; }
  .sticky-header-bar > .invert-toggle { grid-column: 2; grid-row: 1; }
  .sticky-header-bar > .menu-button { grid-column: 3; grid-row: 1; }
}
.analytics-debug { margin: 1rem var(--header-pad-x); padding: 1rem; border: 1px solid currentColor; font: 400 .85rem/1.5 monospace; }
.analytics-debug summary { cursor: pointer; }
.analytics-debug-output { white-space: pre-wrap; overflow-wrap: anywhere; }
#intro-conversation-title, #personal-contact-title { scroll-margin-top: 9rem; }

/* Homepage-only editorial refinements. */
.home-page .book-call-pill {
  box-sizing: border-box;
  height: calc(2rem + 2px);
  min-height: 0;
  padding: 0 .85rem;
}
.home-page .hero-conversion-copy {
  gap: 1rem;
  padding-block: clamp(3rem, 4.8vw, 5rem);
}
.home-page .hero-conversion-copy .subtitle-headline {
  margin: 0;
  font-family: "Figtree", sans-serif;
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.12;
}
.home-page .hero-conversion-body {
  color: #c0f8b0;
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.75rem, 2.55vw, 3.2rem);
  letter-spacing: -.025em;
  line-height: 1.25;
  text-wrap: balance;
}
.home-page .hero-conversion-actions { gap: 1.6rem; }
.home-page .hero-booking-link { font-size: 1rem; }
.home-page .home-personal-contact { align-items: center; }
.home-brand-signoff {
  padding: clamp(1.5rem, 3.5vw, 4rem) 0;
  background: #fff;
  color: #111;
  border-top: 1px solid currentColor;
}
.home-brand-signoff img { display: block; width: 100%; height: auto; }
body.is-inverted .home-brand-signoff { background: #111; color: #fff; }
body.is-inverted .home-brand-signoff img { filter: invert(1); }
.home-footer-menu { padding-bottom: 1.35rem; }
.home-footer-menu .cookie-settings-link {
  margin: auto 0 0;
  padding: 2rem 0 0;
  min-height: 0;
  font: inherit;
  font-family: "Figtree", sans-serif;
  font-size: clamp(.92rem, 2.7vw, 1.2rem);
  line-height: 1.18;
  text-align: left;
}
.home-footer-summary .bottom-box-text { line-height: 1.45; }
@media(min-width:768px) {
  .home-page.home-video-hero .hero-conversion-copy .subtitle-headline { font-size: clamp(3rem, 3.55vw, 4.45rem); }
  .home-footer-menu { padding-bottom: 1.55rem; }
  .home-footer-menu .cookie-settings-link { font-size: clamp(.92rem, .98vw, 1.12rem); }
}
@media(max-width:767px) {
  .home-page .book-call-pill { height: calc(1.9rem + 2px); padding-inline: .6rem; }
  .home-page .hero-conversion-copy .subtitle-headline { font-size: clamp(2.1rem, 8.2vw, 3.3rem); }
  .home-page .hero-conversion-body { font-size: clamp(1.4rem, 5.8vw, 2rem); }
}

/* Keep address and social links independent, aligned with consent controls. */
.footer-address { padding-bottom: 1.35rem; }
.footer-address-link { display: flex; flex-direction: column; gap: .32rem; color: inherit; text-decoration: none; }
.footer-address-social { margin-top: auto; padding-top: 2rem; }
.footer-address a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media(min-width:768px) {
 .footer-address { padding-bottom: 1.55rem; }
 .footer-address-link { gap: .38rem; }
}

/* Shared read/contact action treatment across both languages and all pages. */
.home-page .home-intro-conversation .conversion-link,
.home-personal-contact .conversion-link,
.home-page .hero-booking-link,
.footer-insights a.bottom-link {
  padding-left: .45rem;
  padding-right: .45rem;
  margin-left: -.45rem;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.footer-insights a.bottom-link { padding-top: .25rem; padding-bottom: .25rem; }
.home-page .home-intro-conversation .conversion-link:hover,
.home-personal-contact .conversion-link:hover,
.home-page .home-intro-conversation .conversion-link:focus-visible,
.home-personal-contact .conversion-link:focus-visible,
.home-page .hero-booking-link:hover,
.home-page .hero-booking-link:focus-visible,
.footer-insights a.bottom-link:hover,
.footer-insights a.bottom-link:focus-visible {
  background: #c0f8b0;
  color: #111;
  text-decoration: none;
  transform: translateX(.25rem);
}
@media(prefers-reduced-motion:reduce) {
  .home-page .home-intro-conversation .conversion-link,
.home-personal-contact .conversion-link,
  .home-page .hero-booking-link,
  .footer-insights a.bottom-link { transition: none; }
  .home-page .home-intro-conversation .conversion-link:hover,
.home-personal-contact .conversion-link:hover,
  .home-page .home-intro-conversation .conversion-link:focus-visible,
.home-personal-contact .conversion-link:focus-visible,
  .home-page .hero-booking-link:hover,
  .home-page .hero-booking-link:focus-visible,
  .footer-insights a.bottom-link:hover,
  .footer-insights a.bottom-link:focus-visible { transform: none; }
}

/* Article navigation always precedes the category/date at the top left. */
.post-heading-intro { min-width: 0; }
a.post-back {
  display: block;
  width: fit-content;
  margin: 0 0 2rem;
  color: inherit;
  font: 500 1rem/1.4 "Figtree", sans-serif;
  text-decoration: underline;
  text-underline-offset: .23em;
}
a.post-back:hover { text-decoration-thickness: 2px; }

/* About's inverted client strip uses black lettering on a light surface. */
body.about-page.is-inverted .clients-section { background: #fff; color: #111; }
body.about-page.is-inverted .clients-line,
body.about-page.is-inverted .inline-subpage-link-clients { color: #111; }
body.about-page.is-inverted .clients-label { color: rgba(17,17,17,.68); }
body.about-page.is-inverted .sister-agency-link .sister-agency-logo { color: #111; }

/* Service modules now navigate to detail pages rather than opening the form. */
a.services-feature-row { text-decoration: none; }
.services-feature-read { display: block; margin-top: 1.5rem; font: 500 1rem/1.4 "Figtree",sans-serif; text-decoration: underline; text-underline-offset: .2em; }
a.services-feature-row:hover .services-feature-read, a.services-feature-row:focus-visible .services-feature-read { text-decoration-thickness: 2px; }
@media (min-width:768px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
 body a.services-feature-row:hover { cursor: var(--asterisk-cursor-invert,pointer) !important; }
 body:has(a.services-feature-row:hover) .base-circle-cursor { opacity: 0 !important; }
 body.service-detail-page:has(a:hover) .base-circle-cursor { opacity: 0 !important; }
}

/* Shared mobile and theme repairs, 2026-11-04. */
.book-call-pill, .home-page .book-call-pill {
  box-sizing: border-box;
  height: calc(2rem + 2px);
  min-height: 0;
  padding-block: 0;
}
/* Keep card palettes independent of the page theme. */
body.is-inverted .thought-card { color: #111; }
.thought-card--insights-launch, .thought-card[href$="/launching-mod-studio/"] { background: #fff; color: #111; }
body.is-inverted .thought-card--event { color: #003733; }
body.is-inverted .thought-card--dark,
body.is-inverted .thought-card--techbbq { color: #fff; }
body.is-inverted .thought-card--forest { color: #c0f8b0; }
body.is-inverted .thought-card :is(.thought-title,.thought-date,.thought-summary,.thought-eyebrow,.thought-read) { color: inherit; }
/* Inline page styles must not reveal both positive and negative marks. */
body:not(.is-inverted) .wordmark-mark--neg { display: none; }
body.is-inverted .wordmark-mark--pos { display: none; }
body.is-inverted .wordmark-mark--neg { display: block; }
/* Draw the footer arrow as a vector so iOS cannot substitute an emoji. */
.footer-insights a.bottom-link::before {
  content: "";
  display: inline-block;
  width: .85em;
  height: 1em;
  margin-top: .15em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M5 19 19 5M5 5h14v14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' d='M5 19 19 5M5 5h14v14'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width:767px) {
  .sticky-header-bar {
    grid-template-columns: repeat(4,auto) !important;
    grid-template-rows: auto !important;
    min-height: 4.25rem !important;
    padding: .75rem .75rem .75rem 6.75rem !important;
    gap: .35rem !important;
  }
  .sticky-header-bar > :is(.book-call-pill,.language-switcher,.invert-toggle,.menu-button) { grid-column: auto !important; grid-row: 1 !important; margin: 0 !important; }
  .book-call-pill, .home-page .book-call-pill,
  .language-switcher { box-sizing: border-box; height: 2.25rem; min-height: 0; padding-block: 0; font-size: .65rem; }
  .book-call-pill, .home-page .book-call-pill { padding-inline: .6rem; }
  .language-switcher { padding-inline: .3rem; gap: .12rem; }
  .language-switcher button { min-width: 1.3rem; padding: .3rem 0; }
  .invert-toggle { width: 1.2rem !important; height: 1.2rem !important; }
  .menu-button { width: 2.25rem !important; height: 2.25rem !important; }
  .wordmark-shell, .home-page .wordmark-shell {
    width: 6.25rem !important;
    max-width: 6.25rem !important;
    height: 4.25rem;
    padding: 1rem 0 0 .75rem !important;
  }
  .home-page .wordmark { font-size: 2rem !important; transform: none !important; }
  .hero-wordmark-image { width: 5rem; height: auto; max-width: 100%; filter: invert(1); mix-blend-mode: normal; }
  .home-page.is-inverted .hero-wordmark-image { filter: none; }
  .wordmark-mark { height: 1.9rem !important; max-width: 100% !important; }
}
@media (max-width:374px) {
  .sticky-header-bar { grid-template-columns: repeat(3,auto) !important; grid-template-rows: auto auto !important; min-height: 6.9rem !important; }
  .sticky-header-bar > .book-call-pill { grid-column: 1 / -1 !important; grid-row: 2 !important; justify-self: end; }
}
/* Touch devices must never display desktop cursor decorations after a tap. */
@media (hover:none), (pointer:coarse), (max-width:767px) {
  .base-circle-cursor, .menu-blend-cursor, .cta-blend-cursor, .section-cursor-label { display: none !important; visibility: hidden !important; }
  body, body a, body button { cursor: auto !important; }
}
