/*
Theme Name: Fairtrade Translation
Theme URI: https://fairtrade.transistantglobal.com
Description: Theme for Fairtrade Translation, a Transistant brand. Light layout, trade green with Transistant purple touches, one clear "Request a quote" action.
Author: Transistant
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
Text Domain: fairtrade
*/

:root {
  --ft-radius: 14px;
  --ft-shadow: 0 1px 2px rgba(20, 24, 26, .04), 0 10px 28px rgba(10, 94, 65, .08);
}
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--wp--preset--color--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header ---------- */
.ft-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wp--preset--color--line);
}
.admin-bar .ft-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ft-header { top: 46px; } }
.ft-header > .wp-block-group { gap: 24px; }
.ft-lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--wp--preset--color--ink); }
.ft-lockup svg { width: 38px; height: 38px; flex: 0 0 auto; }
.ft-lockup b { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 19px; line-height: 1; letter-spacing: -0.01em; display: block; }
.ft-lockup small { display: block; font-size: 11px; font-weight: 500; color: var(--wp--preset--color--muted); margin-top: 4px; }
.ft-header .wp-block-navigation { font-size: 15px; font-weight: 500; }
.ft-header .wp-block-navigation a:hover { color: var(--wp--preset--color--purple); }
.ft-header .wp-block-button__link { padding: 11px 18px; font-size: 15px; }
.ft-header .wp-block-button__link { white-space: nowrap; }

/* Language switcher (EN · FR · NL) */
.ft-lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; background: var(--wp--preset--color--surface); font-size: 12px; font-weight: 600; letter-spacing: .04em; flex: 0 0 auto; }
.ft-lang a { padding: 4px 9px; border-radius: 999px; color: var(--wp--preset--color--muted); text-decoration: none; }
.ft-lang a:hover { color: var(--wp--preset--color--purple); }
.ft-lang a.is-current { background: var(--wp--preset--color--purple); color: #FFFFFF; }
@media (max-width: 600px) { .ft-lang { font-size: 11px; } .ft-lang a { padding: 4px 7px; } }

/* Header fit: the anchor menu is a convenience on a one-page site, so it gives way first. */
.ft-header .wp-block-navigation .wp-block-navigation-item__content { white-space: nowrap; }
@media (max-width: 1000px) { .ft-header .wp-block-navigation { display: none; } }
@media (max-width: 480px) {
  .ft-lockup span { display: none; }
  .ft-lang a { padding: 4px 6px; }
  .ft-header .wp-block-button__link { padding: 9px 11px; font-size: 13.5px; }
}
@media (max-width: 600px) {
  .ft-header > .wp-block-group { gap: 10px; }
  .ft-lockup svg { width: 32px; height: 32px; }
  .ft-lockup b { font-size: 16px; }
  .ft-lockup small { display: none; }
  .ft-header .wp-block-button__link { padding: 9px 12px; font-size: 14px; }
  .ft-header .wp-block-group .wp-block-group { gap: 8px; }
}
/* Glossary stays readable when the column is narrow. */
.ft-glossary td, .ft-glossary th { overflow-wrap: normal; word-break: normal; hyphens: auto; }
@media (max-width: 1100px) { .ft-glossary td, .ft-glossary th { padding-left: 12px; padding-right: 12px; font-size: 13px; } }

/* ---------- Shared ---------- */
.ft-eyebrow { font-family: var(--wp--preset--font-family--mono); font-size: 12px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--purple); margin: 0; }
.ft-lead { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--large); max-width: 34em; }
.ft-band { padding-top: 88px; padding-bottom: 88px; }
.ft-band.is-wash { background: var(--wp--preset--color--wash); }
.ft-section-head { max-width: 720px; margin-bottom: 44px !important; }
.ft-section-head p:not(.ft-eyebrow) { color: var(--wp--preset--color--muted); }
.ft-card { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: var(--ft-radius); padding: 28px; }
.ft-btn-link a { color: var(--wp--preset--color--ink); text-decoration: none; font-weight: 600; }
.ft-btn-link a:hover { color: var(--wp--preset--color--purple); }

/* ---------- Hero ---------- */
.ft-hero { padding-top: 72px; padding-bottom: 64px; }
.ft-hero h1 em { font-style: normal; color: var(--wp--preset--color--green); text-decoration: underline; text-decoration-color: var(--wp--preset--color--purple); text-decoration-thickness: .12em; text-underline-offset: .14em; }
.ft-reassure { font-size: 14px; color: var(--wp--preset--color--muted); }
.ft-hero .wp-block-columns { gap: 56px; align-items: center; }

/* Glossary card */
.ft-glossary { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: var(--ft-radius); box-shadow: var(--ft-shadow); overflow: hidden; }
.ft-glossary-head { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--wp--preset--color--line); font-size: 13px; color: var(--wp--preset--color--muted); }
.ft-glossary-head b { color: var(--wp--preset--color--ink); }
.ft-pill { font-family: var(--wp--preset--font-family--mono); font-size: 11px; letter-spacing: .06em; padding: 5px 8px; border-radius: 999px; background: var(--wp--preset--color--purple-soft); color: var(--wp--preset--color--purple); white-space: nowrap; }
.ft-glossary .ft-scroll { overflow-x: auto; }
.ft-glossary table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.ft-glossary th { text-align: left; font-family: var(--wp--preset--font-family--mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--muted); padding: 12px 18px 8px; border: 0; }
.ft-glossary td { padding: 10px 18px; border: 0; border-top: 1px solid var(--wp--preset--color--line); }
.ft-glossary td:first-child { font-weight: 600; }
.ft-glossary-foot { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--wp--preset--color--wash); font-size: 13px; color: var(--wp--preset--color--muted); margin: 0; }
.ft-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--purple); flex: 0 0 auto; }

/* AI vs expert */
.ft-split { gap: 20px !important; }
.ft-split .wp-block-column { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: var(--ft-radius); padding: 28px; }
.ft-split .wp-block-column.is-expert { border-color: var(--wp--preset--color--green); box-shadow: var(--ft-shadow); }
.ft-split ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ft-split li { position: relative; padding-left: 30px; }
.ft-split li::before { content: "–"; position: absolute; left: 4px; color: var(--wp--preset--color--muted); font-weight: 700; }
.ft-split .is-expert li::before { content: "✓"; color: var(--wp--preset--color--green); }
.ft-tag { font-family: var(--wp--preset--font-family--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: var(--wp--preset--color--wash); color: var(--wp--preset--color--muted); vertical-align: 4px; margin-left: 6px; }
.is-expert .ft-tag { background: var(--wp--preset--color--green-soft); color: var(--wp--preset--color--green-strong); }
.ft-note { font-size: 14px; color: var(--wp--preset--color--muted); }

/* Industries */
.ft-industries { gap: 20px !important; }
.ft-industries .wp-block-column { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: var(--ft-radius); padding: 28px; }
.ft-industries .wp-block-column p { color: var(--wp--preset--color--muted); font-size: 15px; }
.ft-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--wp--preset--color--purple-soft); color: var(--wp--preset--color--purple); }
.ft-icon svg { width: 24px; height: 24px; }
.ft-docs { display: flex; flex-wrap: wrap; gap: 6px; }
.ft-docs span { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--wp--preset--color--line); }

/* Steps: a real sequence, so it is numbered */
.ft-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.ft-steps li { counter-increment: step; padding-top: 18px; border-top: 2px solid var(--wp--preset--color--purple-soft); }
.ft-steps li::before { content: counter(step); display: block; font-family: var(--wp--preset--font-family--mono); font-weight: 600; font-size: 14px; color: var(--wp--preset--color--purple); margin-bottom: 10px; }
.ft-steps strong { display: block; font-family: var(--wp--preset--font-family--display); font-size: 19px; margin-bottom: 6px; }
.ft-steps span { color: var(--wp--preset--color--muted); font-size: 15px; }
@media (max-width: 900px) { .ft-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ft-steps { grid-template-columns: 1fr; } }

/* Purple band */
.ft-purple { background: var(--wp--preset--color--purple); color: #FFFFFF; border-radius: 20px; padding: 28px 32px !important; margin-top: 44px !important; gap: 16px 32px; }
.ft-purple p { color: #FFFFFF; }
.ft-purple .ft-purple-claim { font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.01em; max-width: 30em; margin: 0; }
.ft-stats { display: flex; flex-wrap: wrap; gap: 28px; font-size: 13px; }
.ft-stats b { display: block; font-family: var(--wp--preset--font-family--display); font-size: 22px; }

/* Quote */
.ft-quote { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 20px; box-shadow: var(--ft-shadow); padding: 44px !important; gap: 40px !important; }
.ft-quote p:not(.ft-eyebrow) { color: var(--wp--preset--color--muted); }
.ft-contact-lines { display: grid; gap: 4px; font-size: 15px; color: var(--wp--preset--color--ink) !important; }
@media (max-width: 781px) { .ft-quote { padding: 28px !important; } }

/* Contact Form 7 inside the quote box */
.ft-quote .wpcf7 form { display: grid; gap: 12px; }
.ft-quote .wpcf7 label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--wp--preset--color--ink); }
.ft-quote .wpcf7 input[type="text"], .ft-quote .wpcf7 input[type="email"], .ft-quote .wpcf7 select, .ft-quote .wpcf7 textarea {
  width: 100%; font: 400 15px/1.4 var(--wp--preset--font-family--body); color: var(--wp--preset--color--ink);
  background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--line); border-radius: 8px; padding: 11px 13px;
}
.ft-quote .wpcf7 input:focus, .ft-quote .wpcf7 select:focus, .ft-quote .wpcf7 textarea:focus { outline: none; border-color: var(--wp--preset--color--green); box-shadow: 0 0 0 3px var(--wp--preset--color--green-soft); }
.ft-quote .wpcf7 p { margin: 0; }
.ft-quote .wpcf7-submit { width: 100%; background: var(--wp--preset--color--green); color: #FFFFFF; border: 0; border-radius: 8px; padding: 15px 24px; font: 600 16px/1 var(--wp--preset--font-family--body); cursor: pointer; }
.ft-quote .wpcf7-submit:hover { background: var(--wp--preset--color--green-strong); }
.ft-quote .wpcf7-response-output { border-radius: 8px; margin: 8px 0 0 !important; }

/* Footer */
.ft-footer { border-top: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--surface); font-size: 14px; color: var(--wp--preset--color--muted); }
.ft-endorse { display: inline-flex; align-items: center; gap: 8px; color: var(--wp--preset--color--ink); font-weight: 500; margin: 0; }
.ft-endorse::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--wp--preset--color--purple); }

/* ==========================================================================
   v2 "sleek" pass: fewer boxes and shadows, more air, one accent per section.
   ========================================================================== */
.ft-band { padding-top: 104px; padding-bottom: 104px; }
.ft-section-head { margin-bottom: 48px !important; }
.ft-section-head h2 { max-width: 18em; }
.ft-section-head p:not(.ft-eyebrow) { font-size: 1.0625rem; max-width: 36em; }

/* Hero */
.ft-hero { padding-top: 96px; padding-bottom: 88px; }
.ft-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); letter-spacing: -0.03em; }
.ft-hero .ft-lead { margin-top: 24px; font-size: 1.1875rem; line-height: 1.55; max-width: 30em; }
.ft-actions { margin-top: 36px; gap: 20px; }
.ft-glossary { box-shadow: none; }
.ft-glossary-foot { gap: 0; }
.ft-glossary-foot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--purple); margin-right: 10px; flex: 0 0 auto; }

/* Value strip: three plain statements, no cards */
.ft-value-band { padding-top: 0; padding-bottom: 96px; }
.ft-value { list-style: none; margin: 0 auto; padding: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; border-top: 1px solid var(--wp--preset--color--line); }
.ft-value li { display: grid; gap: 8px; }
.ft-value strong { font-family: var(--wp--preset--font-family--display); font-size: 1.25rem; letter-spacing: -0.01em; }
.ft-value strong::before { content: ""; display: block; width: 24px; height: 3px; border-radius: 2px; background: var(--wp--preset--color--purple); margin-bottom: 14px; }
.ft-value span { color: var(--wp--preset--color--muted); }
@media (max-width: 781px) { .ft-value { grid-template-columns: 1fr; gap: 28px; } }

/* AI vs expert: quieter */
.ft-split .wp-block-column { padding: 32px; }
.ft-split .wp-block-column.is-expert { box-shadow: none; border-width: 1.5px; }
.ft-split h3 { margin-bottom: 16px; }

/* Industries: open columns with a top rule instead of cards */
.ft-industries .wp-block-column { background: none; border: 0; border-top: 1px solid var(--wp--preset--color--line); border-radius: 0; padding: 24px 0 0; }
.ft-industries h3 { margin-bottom: 8px; }
.ft-industries .wp-block-column p { margin-top: 0; }
.ft-industries .ft-docs { display: block; font-size: 13.5px; color: var(--wp--preset--color--ink) !important; margin-top: 14px; }

/* Transistant endorsement: one quiet line */
.ft-endorse-line { margin-top: 56px !important; padding-top: 24px; border-top: 1px solid var(--wp--preset--color--line); font-size: 15px; color: var(--wp--preset--color--muted); }
.ft-endorse-line strong { color: var(--wp--preset--color--purple); font-weight: 600; }

/* Quote box: flatter */
.ft-quote { box-shadow: none; }

@media (max-width: 781px) {
  .ft-band { padding-top: 72px; padding-bottom: 72px; }
  .ft-hero { padding-top: 56px; padding-bottom: 56px; }
  .ft-value-band { padding-bottom: 72px; }
}

/* ==========================================================================
   Dark theme (matches the "logo on dark" variant): colours come from theme.json;
   these rules fix the few places that had light-only values.
   ========================================================================== */
:root { --ft-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35); color-scheme: dark; }
.ft-header { background: rgba(15, 20, 18, .88); }
.wp-element-button, .wp-block-button__link, .ft-quote .wpcf7-submit { color: #06130D !important; }
.ft-lang a.is-current { color: #0F1412; }
.ft-glossary-foot { background: var(--wp--preset--color--wash); }
.ft-quote .wpcf7 input[type="text"], .ft-quote .wpcf7 input[type="email"], .ft-quote .wpcf7 select, .ft-quote .wpcf7 textarea { background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); }
.ft-quote .wpcf7 ::placeholder { color: #6F7B75; }
.ft-hero h1 em { color: var(--wp--preset--color--green); }
::selection { background: var(--wp--preset--color--purple); color: #0F1412; }

/* ==========================================================================
   Mixed light/dark: header, hero, quote band and footer stay dark (logo on
   dark); content sections switch to light tokens so the page breathes.
   .ft-light can be added to any block; the home sections are matched by id.
   ========================================================================== */
.ft-light, #why, #industries, #how, .ft-article, .ft-page-body {
  --wp--preset--color--paper: #FFFFFF;
  --wp--preset--color--surface: #FFFFFF;
  --wp--preset--color--wash: #F2F6F4;
  --wp--preset--color--ink: #14191A;
  --wp--preset--color--muted: #56625C;
  --wp--preset--color--line: #E1E8E4;
  --wp--preset--color--green: #0E8A5D;
  --wp--preset--color--green-strong: #0A6B48;
  --wp--preset--color--green-soft: #E2F3EA;
  --wp--preset--color--purple: #6A56D6;
  --wp--preset--color--purple-soft: #EEEBFC;
  --ft-shadow: 0 1px 2px rgba(20, 24, 26, .04), 0 12px 30px rgba(10, 70, 50, .08);
  color-scheme: light;
  background-color: var(--wp--preset--color--paper);
  color: var(--wp--preset--color--ink);
}
.ft-light.is-wash, #why, #how, .ft-light .is-wash { background-color: var(--wp--preset--color--wash); }
:is(.ft-light, #why, #industries, #how, .ft-article, .ft-page-body) a:not(.wp-block-button__link) { color: var(--wp--preset--color--green); }
:is(.ft-light, #why, #industries, #how, .ft-article, .ft-page-body) a:not(.wp-block-button__link):hover { color: var(--wp--preset--color--purple); }
:is(.ft-light, #why, #industries, #how, .ft-article, .ft-page-body) .wp-block-button__link { color: #FFFFFF !important; background: var(--wp--preset--color--green); }
:is(.ft-light, #why, #industries, #how, .ft-article, .ft-page-body) .wp-block-button__link:hover { background: var(--wp--preset--color--green-strong); }
:is(.ft-light, #why, #industries, #how, .ft-article, .ft-page-body) ::selection { background: var(--wp--preset--color--purple-soft); color: var(--wp--preset--color--ink); }
#why .ft-split .wp-block-column { box-shadow: var(--ft-shadow); }
/* Full-width bands touch each other: no dark block-gap strip between light sections */
.ft-band, .ft-hero, main > .alignfull, .entry-content > .alignfull { margin-block-start: 0 !important; margin-block-end: 0 !important; }
#how .ft-steps li { border-top-color: #D9D2FA; }

/* Dark hero gets a soft green/purple glow so dark reads as intentional, not heavy */
.ft-hero { position: relative; overflow: hidden; background:
  radial-gradient(60% 80% at 85% 10%, rgba(156, 138, 245, .16), transparent 60%),
  radial-gradient(50% 70% at 0% 100%, rgba(60, 196, 142, .12), transparent 60%),
  var(--wp--preset--color--paper); }
/* Quote band: a dark band again near the end, framed */
#quote { background: linear-gradient(180deg, #0F1412 0%, #12201A 100%); }

/* Hero photo (replaces the glossary card) */
.ft-hero .wp-block-columns { min-width: 0; }
.ft-hero .wp-block-column { min-width: 0; }
.ft-hero-photo { position: relative; margin: 0; max-width: 520px; margin-left: auto; border-radius: 22px; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: 0 30px 60px rgba(0, 0, 0, .45); outline: 1px solid rgba(255, 255, 255, .06); }
.ft-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 58% 78%; }
.ft-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 20, 18, 0) 55%, rgba(15, 20, 18, .55) 100%); pointer-events: none; }
.ft-hero-chip { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.2; background: rgba(15, 20, 18, .82); color: #EEF3F0; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .1); }
.ft-hero-chip--lang { top: 18px; left: 18px; font-family: var(--wp--preset--font-family--mono); font-size: 12px; letter-spacing: .06em; color: #63D7A6; }
.ft-hero-chip--expert { bottom: 18px; left: 18px; right: 18px; justify-content: flex-start; }
.ft-hero-chip--expert::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #3CC48E; color: #06130D; font-size: 12px; flex: 0 0 auto; }
@media (max-width: 781px) {
  .ft-hero-photo { max-width: none; margin: 8px 0 0; aspect-ratio: 16 / 11; }
}

/* Photos inside content */
.ft-photo { margin: 0; border-radius: var(--ft-radius); overflow: hidden; }
.ft-photo img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.ft-photo figcaption { font-size: 12px; color: var(--wp--preset--color--muted); padding-top: 8px; }

/* ==========================================================================
   Multi-page site: menu, page bands, blog, article, CTA, footer
   ========================================================================== */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ft-header-right { align-items: center; }
.ft-nav { display: flex; align-items: center; }
.ft-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
.ft-menu a { color: var(--wp--preset--color--ink); text-decoration: none; white-space: nowrap; }
.ft-menu a:hover { color: var(--wp--preset--color--green); }
.ft-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--wp--preset--color--line); border-radius: 10px; background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.ft-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--wp--preset--color--ink); transition: transform .2s, opacity .2s; }
.ft-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.ft-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ft-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1100px) {
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .ft-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #0F1412; }
  .ft-burger { display: inline-flex; }
  .ft-nav { order: 3; }
  .ft-menu { display: none; position: fixed; left: 0; right: 0; top: 66px; bottom: 0; flex-direction: column; gap: 0; padding: 12px 24px 32px; background: #0F1412; border-top: 1px solid var(--wp--preset--color--line); overflow-y: auto; z-index: 60; font-size: 20px; }
  .admin-bar .ft-menu { top: 98px; }
  .ft-menu.is-open { display: flex; }
  .ft-menu li { border-bottom: 1px solid var(--wp--preset--color--line); }
  .ft-menu a { display: block; padding: 16px 0; }
  html.ft-menu-open { overflow: hidden; }
}
@media (max-width: 600px) { .ft-header-right { gap: 8px !important; } .ft-burger { width: 38px; height: 38px; } .ft-menu { top: 58px; } }
@media (max-width: 420px) { .ft-header .wp-block-buttons { display: none; } }

/* Page hero (dark) used by inner pages, blog index and articles */
.ft-page-hero { padding-top: 88px; padding-bottom: 72px; position: relative; background:
  radial-gradient(55% 90% at 90% 0%, rgba(156, 138, 245, .14), transparent 60%),
  radial-gradient(45% 80% at 0% 100%, rgba(60, 196, 142, .10), transparent 60%),
  var(--wp--preset--color--paper); }
.ft-page-hero h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); letter-spacing: -0.03em; max-width: 16em; margin-top: 12px; }
.ft-page-hero .ft-lead { margin-top: 20px; }
.ft-page-hero--compact { padding-bottom: 56px; }
.ft-page-hero .wp-block-columns { gap: 56px; align-items: center; }
.ft-page-hero .ft-photo img { aspect-ratio: 4 / 3; }
.ft-page-main { padding: 0 !important; }
.ft-page-main > .wp-block-post-content > * { margin-block-start: 0; }

/* Light content bands on pages */
.ft-text h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 16px; }
.ft-text p, .ft-text li { color: var(--wp--preset--color--muted); }
.ft-text strong { color: var(--wp--preset--color--ink); }
.ft-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.ft-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.ft-grid-3 > li, .ft-grid-2 > li { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: var(--ft-radius); padding: 26px; box-shadow: var(--ft-shadow); }
.ft-grid-3 h3, .ft-grid-2 h3 { font-size: 1.15rem; margin: 0 0 8px; }
.ft-grid-3 p, .ft-grid-2 p { margin: 0; color: var(--wp--preset--color--muted); font-size: 15px; }
.ft-grid-3 .ft-docs, .ft-grid-2 .ft-docs { margin-top: 14px; font-size: 13px; color: var(--wp--preset--color--green); font-weight: 600; }
.ft-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--wp--preset--color--purple-soft); color: var(--wp--preset--color--purple); font-family: var(--wp--preset--font-family--mono); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
@media (max-width: 900px) { .ft-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ft-grid-3, .ft-grid-2 { grid-template-columns: 1fr; } }
.ft-media-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.ft-media-row.is-reverse > :first-child { order: 2; }
@media (max-width: 860px) { .ft-media-row { grid-template-columns: 1fr; gap: 28px; } .ft-media-row.is-reverse > :first-child { order: 0; } }
.ft-checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ft-checks li { position: relative; padding-left: 30px; }
.ft-checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--wp--preset--color--green-soft); color: var(--wp--preset--color--green); }
.ft-facts { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 28px; }
.ft-facts b { display: block; font-family: var(--wp--preset--font-family--display); font-size: 1.6rem; color: var(--wp--preset--color--ink); }
.ft-facts span { font-size: 14px; color: var(--wp--preset--color--muted); }
.ft-mail-btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 14px 22px; border-radius: 10px; background: var(--wp--preset--color--green); color: #FFFFFF !important; font-weight: 600; text-decoration: none; }
.ft-mail-btn:hover { background: var(--wp--preset--color--green-strong); }
.ft-contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.ft-contact-cards a { display: grid; gap: 4px; padding: 22px; border-radius: var(--ft-radius); border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--surface); text-decoration: none; color: var(--wp--preset--color--ink) !important; }
.ft-contact-cards a:hover { border-color: var(--wp--preset--color--green); }
.ft-contact-cards b { font-size: 13px; font-family: var(--wp--preset--font-family--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--purple); }
.ft-contact-cards span { font-weight: 600; font-size: 17px; overflow-wrap: anywhere; }
@media (max-width: 760px) { .ft-contact-cards { grid-template-columns: 1fr; } }

/* Blog list */
.ft-blog-list { padding-top: 72px; }
.ft-cards { gap: 28px !important; }
.ft-post-card { display: flex; flex-direction: column; gap: 0; height: 100%; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: var(--ft-radius); overflow: hidden; box-shadow: var(--ft-shadow); transition: transform .2s, box-shadow .2s; }
.ft-post-card:hover { transform: translateY(-3px); }
.ft-post-card .wp-block-post-featured-image { margin: 0; }
.ft-post-card .wp-block-post-featured-image img { display: block; }
.ft-post-card .wp-block-post-title { font-size: 1.2rem; line-height: 1.25; margin: 20px 22px 8px; }
.ft-post-card .wp-block-post-title a { color: var(--wp--preset--color--ink) !important; text-decoration: none; }
.ft-post-card .wp-block-post-title a:hover { color: var(--wp--preset--color--green) !important; }
.ft-post-card .wp-block-post-excerpt { margin: 0 22px 24px; font-size: 15px; color: var(--wp--preset--color--muted); }
.ft-post-card .wp-block-post-excerpt__more-text { display: none; }
@media (max-width: 900px) { .ft-cards { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 600px) { .ft-cards { grid-template-columns: 1fr !important; } }

/* Article */
.ft-post-hero { padding-bottom: 64px; }
.ft-post-hero .wp-block-post-title { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -0.03em; line-height: 1.1; }
.ft-post-hero .wp-block-post-excerpt { color: var(--wp--preset--color--muted); font-size: 1.15rem; line-height: 1.55; }
.ft-post-hero .wp-block-post-excerpt__more-text { display: none; }
.ft-post-date { font-size: 13px; color: var(--wp--preset--color--muted); font-family: var(--wp--preset--font-family--mono); }
.ft-back a { color: var(--wp--preset--color--green) !important; text-decoration: none; }
.ft-article { padding-bottom: 88px; }
.ft-article-image { margin-top: -40px !important; margin-bottom: 48px !important; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(10, 30, 22, .18); }
.ft-article-image img { display: block; }
.ft-article .wp-block-post-content { font-size: 1.0625rem; line-height: 1.75; }
.ft-article .wp-block-post-content h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-top: 2.2em; margin-bottom: .6em; letter-spacing: -0.02em; }
.ft-article .wp-block-post-content h3 { font-size: 1.2rem; margin-top: 1.6em; margin-bottom: .4em; }
.ft-article .wp-block-post-content p, .ft-article .wp-block-post-content li { color: #2C3532; }
.ft-article .wp-block-post-content li { margin-bottom: .45em; }
.ft-lead-in { font-size: 1.2rem; line-height: 1.65; color: var(--wp--preset--color--ink) !important; }
.ft-summary { margin: 32px 0 8px; padding: 24px 28px; border-radius: var(--ft-radius); background: var(--wp--preset--color--wash); border-left: 4px solid var(--wp--preset--color--green); }
.ft-summary p { margin: 0 0 8px; }
.ft-summary ul { margin: 0; padding-left: 20px; }
.ft-summary li { margin-bottom: 6px !important; }

/* CTA block */
.ft-cta { margin: 72px auto 0; max-width: 1040px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: 40px 44px; border-radius: 22px; color: #EEF3F0; background:
  radial-gradient(70% 120% at 100% 0%, rgba(156, 138, 245, .35), transparent 60%),
  linear-gradient(135deg, #0F1412 0%, #14261E 100%); box-shadow: 0 24px 60px rgba(10, 30, 22, .25); }
.ft-cta h2 { color: #FFFFFF; font-size: clamp(1.5rem, 2.8vw, 2rem); margin: 10px 0 12px; }
.ft-cta p { color: #B9C4BE !important; margin: 0; }
.ft-cta .ft-eyebrow { color: #9C8AF5 !important; }
.ft-cta-actions { display: grid; gap: 10px; }
.ft-cta-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px; border-radius: 12px; font-weight: 600; text-decoration: none; font-size: 16px; transition: transform .15s; }
.ft-cta-btn:hover { transform: translateY(-1px); }
.ft-cta-btn svg { width: 20px; height: 20px; }
.ft-cta-btn--main { background: #3CC48E; color: #06130D !important; }
.ft-cta-btn--wa { background: #FFFFFF; color: #0F1412 !important; }
.ft-cta-btn--wa svg { color: #1FA855; }
.ft-cta-btn--call { border: 1px solid rgba(255, 255, 255, .22); color: #EEF3F0 !important; }
@media (max-width: 780px) { .ft-cta { grid-template-columns: 1fr; padding: 28px 24px; margin-top: 56px; } }

/* Footer (multi-column) */
.ft-footer { padding-top: 56px; padding-bottom: 32px; }
.ft-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.ft-footer-brand p { margin: 14px 0 0; max-width: 22em; }
.ft-footer-links, .ft-footer-contact { display: grid; gap: 10px; align-content: start; }
.ft-footer a { color: var(--wp--preset--color--ink); text-decoration: none; }
.ft-footer a:hover { color: var(--wp--preset--color--green); }
.ft-footer .ft-endorse { margin-top: 40px !important; padding-top: 20px; border-top: 1px solid var(--wp--preset--color--line); }
@media (max-width: 780px) { .ft-footer-grid { grid-template-columns: 1fr; gap: 28px; } }

@media (max-width: 781px) {
  .ft-page-hero { padding-top: 56px; padding-bottom: 48px; }
}

/* Side gutter for full-width bands at every screen width */
.ft-hero, .ft-page-hero, .ft-band, .ft-article { padding-left: clamp(20px, 4vw, 40px) !important; padding-right: clamp(20px, 4vw, 40px) !important; }

/* Client logos: scrolling banner, left → right */
.ft-logos { padding: 26px 0 30px; border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--paper); overflow: hidden; }
.ft-logos-label { text-align: center; margin: 0 0 18px; font-family: var(--wp--preset--font-family--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.ft-logos-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ft-logos-track { display: flex; align-items: center; gap: 16px; width: max-content; animation: ft-marquee 40s linear infinite; }
.ft-logos-viewport:hover .ft-logos-track { animation-play-state: paused; }
.ft-logos-track img { box-sizing: content-box; height: 44px; width: 130px; padding: 4px 18px; object-fit: contain; background: #FFFFFF; border-radius: 12px; filter: grayscale(1); opacity: .82; transition: opacity .2s, filter .2s; }
.ft-logos-track img:hover { opacity: 1; filter: none; }
@keyframes ft-marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .ft-logos-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }