/* search minds theme layer. Tokens live in theme.json; this file handles layout and components. */
:root{
	--sm-base:#111815;--sm-surface:#161F1B;--sm-deep:#0C110F;--sm-line:#243029;--sm-line-2:#2F3D35;
	--sm-text:#EDF1EE;--sm-soft:#C9D1CC;--sm-body:#B7C1BC;--sm-muted:#8A9691;--sm-ink:#14201B;
	--sm-emerald:#3FBE85;--sm-emerald-hi:#6FD6A6;--sm-emerald-deep:#0B6B4F;
	--sm-gutter:clamp(20px,4vw,32px);--sm-max:1200px;
	--sm-pad-x:max(var(--sm-gutter),calc((100% - var(--sm-max)) / 2));
}
body{background:var(--sm-base);color:var(--sm-text);-webkit-font-smoothing:antialiased}
.wp-site-blocks{padding:0}
.wp-site-blocks > *{margin-block-start:0}
main.wp-block-group{margin:0}
a{color:var(--sm-emerald);text-decoration-thickness:1px;text-underline-offset:.15em}
a:hover{color:var(--sm-emerald-hi)}
:where(.wp-site-blocks *:focus-visible){outline:2px solid var(--sm-emerald);outline-offset:3px}

/* Sections */
.sm-hero,.sm-section,.sm-cta,.sm-header,.sm-footer{padding-inline:var(--sm-pad-x) !important;margin:0 !important;max-width:none !important;box-sizing:border-box}
.sm-hero > *,.sm-section > *,.sm-cta > *{max-width:var(--sm-max) !important;margin-left:0 !important;margin-right:0 !important}
.sm-hero{padding-block:clamp(64px,8vw,112px) clamp(56px,7vw,96px)}
.sm-hero > * + *{margin-block-start:24px}
.sm-section{padding-block:clamp(64px,7vw,96px)}
.sm-section > * + *{margin-block-start:20px}
.sm-section > .wp-block-columns,.sm-section > .sm-faq{margin-block-start:40px}
.sm-surface{background:var(--sm-surface)}
.sm-band{background:var(--sm-surface);border-block:1px solid var(--sm-line)}
.sm-legal > *{max-width:760px !important}

/* Type */
h1,h2,h3{font-family:var(--wp--preset--font-family--sora);color:var(--sm-text);margin:0}
h1{font-weight:600;font-size:clamp(40px,5.2vw,58px);line-height:1.06;letter-spacing:-.025em;max-width:900px}
h2{font-weight:600;font-size:clamp(30px,3.6vw,42px);line-height:1.1;letter-spacing:-.02em}
h3{font-weight:600;font-size:19px;line-height:1.3;letter-spacing:-.01em}
.sm-pillars h2{font-size:28px}
p{margin:0}
.sm-section p,.sm-hero p{color:var(--sm-body);line-height:1.6}
.sm-section > p{max-width:720px !important;font-size:17px}
.sm-lead{font-size:19px;max-width:620px !important}
.sm-label{font-family:var(--wp--preset--font-family--ibm-plex-mono);font-size:12px !important;letter-spacing:.08em;text-transform:uppercase;color:var(--sm-emerald) !important;line-height:1.4}
.sm-crumb a{text-decoration:none}
.sm-crumb{color:var(--sm-muted) !important}
.sm-more a{font-weight:600;text-decoration:none}

/* Grids (core columns re-laid as CSS grid) */
.wp-block-columns.sm-grid{display:grid !important;gap:20px !important;flex-wrap:initial;align-items:start !important}
.sm-footer .sm-foot{align-items:start !important}
.sm-grid > .wp-block-column{margin:0 !important;min-width:0;flex-basis:auto !important}
.sm-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.sm-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.sm-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.sm-grid + .sm-grid{margin-block-start:20px !important}
.sm-grid > .wp-block-column > * + *{margin-block-start:12px}
.sm-section:not(.sm-surface) .sm-cards > .wp-block-column,.sm-surface .sm-cards > .wp-block-column{background:var(--sm-base);border:1px solid var(--sm-line);border-radius:16px;padding:28px}
.sm-section:not(.sm-surface) .sm-cards > .wp-block-column{background:var(--sm-surface)}
.sm-grid-3:not(.sm-cards) > .wp-block-column,.sm-grid-2:not(.sm-cards):not(.sm-proof) > .wp-block-column{border-top:1px solid var(--sm-line);padding-top:20px}
.sm-steps > .wp-block-column{border-top:2px solid var(--sm-emerald) !important}

/* Lists */
.sm-section ul.wp-block-list{list-style:none;margin:16px 0 0;padding:0}
.sm-section ul.wp-block-list li{padding:10px 0;border-top:1px solid var(--sm-line);font-size:15px;color:#C3CCC7;line-height:1.5}
.sm-check li::before{content:"\2713";color:var(--sm-emerald);margin-right:10px}
.sm-cross li::before{content:"\2715";color:var(--sm-muted);margin-right:10px}
.sm-legal ul.wp-block-list li{font-size:16px}
.sm-legal h2{font-size:24px;margin-block-start:40px}

/* Proof row */
.sm-proof > .wp-block-column{border-left:1px solid var(--sm-line);padding-left:24px}
.sm-proof-title{font-family:var(--wp--preset--font-family--sora);font-weight:600;font-size:22px;color:var(--sm-text) !important}
.sm-proof-title a{color:var(--sm-text);text-decoration:none}
.sm-stat{font-family:var(--wp--preset--font-family--ibm-plex-mono) !important;font-size:34px !important;color:var(--sm-emerald) !important}

/* FAQ */
.sm-faq{max-width:860px !important;border-bottom:1px solid var(--sm-line)}
.sm-faq h3{border-top:1px solid var(--sm-line);padding-top:22px;font-size:17px;font-family:var(--wp--preset--font-family--inter)}
.sm-faq h3 + p{margin-block-start:10px;padding-bottom:22px;color:#9EA9A4;font-size:15px}

/* Buttons */
.wp-block-buttons{gap:12px}
.wp-block-button .wp-block-button__link{display:inline-flex;align-items:center;min-height:44px;padding:0 22px;border-radius:999px;font-family:var(--wp--preset--font-family--inter);font-weight:600;font-size:15px;text-decoration:none;line-height:1;border:1px solid transparent}
.wp-block-button.is-style-fill .wp-block-button__link{background:var(--sm-emerald);color:var(--sm-ink)}
.wp-block-button.is-style-fill .wp-block-button__link:hover{background:var(--sm-emerald-hi)}
.wp-block-button.is-style-outline .wp-block-button__link{background:transparent;border-color:var(--sm-line-2);color:var(--sm-text)}
.wp-block-button.is-style-outline .wp-block-button__link:hover{border-color:var(--sm-emerald)}

/* Emerald CTA band: ink text for contrast */
.sm-cta{background:var(--sm-emerald);color:var(--sm-ink);padding-block:clamp(64px,7vw,88px)}
.sm-cta > * + *{margin-block-start:14px}
.sm-cta h2{color:var(--sm-ink);font-weight:700;font-size:clamp(32px,4vw,48px);line-height:1.05;max-width:760px}
.sm-cta p{color:var(--sm-ink);font-size:17px}
.sm-cta .wp-block-buttons{margin-block-start:28px}
.sm-cta .wp-block-button .wp-block-button__link{background:var(--sm-ink);color:var(--sm-text);min-height:52px;padding:0 28px;font-size:16px}

/* Header */
.sm-header{border-bottom:1px solid var(--sm-line);background:var(--sm-base)}
.sm-header > .wp-block-group{min-height:72px;max-width:var(--sm-max);margin:0 auto !important}
.sm-wordmark{font-family:var(--wp--preset--font-family--sora);font-weight:600;font-size:22px;letter-spacing:-.01em;margin:0}
.sm-wordmark a{text-decoration:none;color:var(--sm-text)}
.sm-wordmark .sm-m{color:var(--sm-emerald)}
.sm-header .wp-block-navigation{font-size:15px;gap:28px}
.sm-header .wp-block-navigation a{color:var(--sm-soft);text-decoration:none}
.sm-header .wp-block-navigation a:hover,.sm-header .wp-block-navigation .current-menu-item a{color:var(--sm-text)}
.sm-header .wp-block-navigation__responsive-container.is-menu-open{background:var(--sm-base);color:var(--sm-text)}
.sm-header .wp-block-button .wp-block-button__link{min-height:40px;padding:0 18px;font-size:14px}

/* Footer */
.sm-footer{background:var(--sm-deep);padding-block:72px 120px;color:var(--sm-muted)}
.sm-footer > *{max-width:var(--sm-max);margin-left:auto !important;margin-right:auto !important}
.sm-footer .sm-foot{display:grid !important;grid-template-columns:minmax(0,1.6fr) repeat(3,minmax(0,1fr));gap:32px !important}
.sm-footer .sm-foot > .wp-block-column{margin:0 !important;flex-basis:auto !important}
.sm-footer .sm-foot > .wp-block-column > * + *{margin-block-start:12px}
.sm-footer a{color:var(--sm-soft);text-decoration:none;font-size:14px}
.sm-footer a:hover{color:var(--sm-text)}
.sm-footer .sm-label{color:var(--sm-muted) !important}
.sm-legalline{margin-block-start:56px !important;padding-top:24px;border-top:1px solid var(--sm-line);display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;font-size:12px;line-height:1.6}
.sm-legalline p{color:var(--sm-muted);font-size:12px}
.sm-legalline a{font-size:12px}

@media (max-width:820px){
	.sm-grid-2,.sm-grid-3,.sm-grid-4{grid-template-columns:1fr}
	.sm-footer .sm-foot{grid-template-columns:1fr 1fr}
	.sm-proof > .wp-block-column{border-left:0;border-top:1px solid var(--sm-line);padding:20px 0 0}
}
@media (min-width:821px) and (max-width:1080px){
	.sm-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Home and inner-page components */
.sm-hero-split{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:56px;align-items:center;max-width:var(--sm-max)}
.sm-hero-text > * + *{margin-block-start:24px}
.sm-contact-split{align-items:start}
.sm-fig{margin:0}
.sm-fig-card{background:var(--sm-surface);border:1px solid var(--sm-line);border-radius:16px;padding:24px}
.sm-fig-head,.sm-fig-foot{display:flex;justify-content:space-between;align-items:center}
.sm-fig-head{padding-bottom:16px;border-bottom:1px solid var(--sm-line)}
.sm-live{color:var(--sm-emerald) !important}
.sm-fig-prompt{margin:18px 0 !important;font-family:var(--wp--preset--font-family--sora);font-size:18px;color:var(--sm-text) !important;line-height:1.4}
.sm-fig-prompt .sm-label{display:block;color:var(--sm-muted) !important;margin-bottom:6px}
.sm-fig-list{list-style:none;margin:0;padding:0}
.sm-fig-list li{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--sm-line);font-family:var(--wp--preset--font-family--ibm-plex-mono);font-size:13px;color:var(--sm-soft)}
.sm-fig-list .sm-label{color:var(--sm-muted) !important;font-size:11px !important}
.sm-fig-foot{padding-top:14px;border-top:1px solid var(--sm-line);font-size:13px;color:var(--sm-muted)}
.sm-fig figcaption{margin-top:10px;font-family:var(--wp--preset--font-family--ibm-plex-mono);font-size:11px;color:var(--sm-muted)}
.sm-proofband{border-top:1px solid var(--sm-line)}
.sm-logos{display:flex;flex-wrap:wrap;justify-content:space-between;gap:40px 64px;align-items:center}
.sm-proofband{padding-block-end:clamp(88px,9vw,128px)}
.sm-proofband .sm-logos,.sm-proofband .sm-press{margin-block-start:40px !important}
.sm-logos img{height:48px;width:auto;max-width:220px;object-fit:contain;opacity:.9}
.sm-logos .sm-logo-tall{height:84px}
.sm-proofband > h2{max-width:900px !important;font-size:clamp(22px,2.2vw,26px)}
.sm-proofband > .sm-band-split{margin-block-start:64px !important;padding-top:48px;border-top:1px solid var(--sm-line);max-width:var(--sm-max) !important}
.sm-logos .sm-invert{filter:brightness(0) invert(1)}
.sm-featured{display:flex;flex-wrap:wrap;gap:12px}
.sm-featured a{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border:1px solid var(--sm-line);border-radius:999px;color:var(--sm-soft);font-size:14px;text-decoration:none;background:var(--sm-surface)}
.sm-featured a:hover{border-color:var(--sm-emerald);color:var(--sm-text)}
.sm-featured img{border-radius:3px}
/* Featured in: press row */
.sm-press{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:32px 56px;max-width:var(--sm-max)}
.sm-press-item{display:flex;align-items:center;text-decoration:none}
/* Dim the image, not the link: opacity on the link isolates it and breaks the screen blend */
.sm-press-item img,.sm-press-wordmark span{opacity:.85;transition:opacity .15s}
.sm-press-item:hover img,.sm-press-item:hover .sm-press-wordmark span,.sm-press-item:focus-visible img,.sm-press-item:focus-visible .sm-press-wordmark span{opacity:1}
.sm-press-logo{height:64px;width:max-content;max-width:100%;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;overflow:hidden}
.sm-press-logo img{height:64px;width:auto;max-width:200px;object-fit:contain;display:block;mix-blend-mode:screen}
/* Source files are white on black: screen blend drops the black, the crop boxes trim the padding */
.sm-press-logo.sm-crop{position:relative;height:44px;margin-block:10px}
.sm-press-logo.sm-crop img{position:absolute;max-width:none;object-fit:fill}
.sm-crop-tekpon{width:145px}
.sm-crop-tekpon img{width:180px;height:180px;left:-17px;top:-70px}
.sm-crop-symvolt{width:158px}
.sm-crop-symvolt img{width:280px;height:93px;left:-58px;top:-45px}
.sm-press-item .sm-label{color:var(--sm-muted) !important}
.sm-press-title{font-family:var(--wp--preset--font-family--sora);font-weight:600;font-size:18px;line-height:1.3;color:var(--sm-text)}
.sm-press-more{margin-top:auto;font-size:14px;font-weight:600;color:var(--sm-emerald)}
.sm-press-item:hover .sm-press-more{color:var(--sm-emerald-hi)}
/* Colour logos on light backgrounds: flatten to white, screen blend drops the black */
.sm-press-mono img{height:50px;filter:grayscale(1) invert(1) contrast(1.3)}
/* Small icon plus set wordmark, for publications with no usable logo file */
.sm-press-wordmark{gap:10px}
.sm-press-wordmark img{width:28px;height:28px;max-width:none;mix-blend-mode:normal;filter:grayscale(1) brightness(1.6)}
.sm-press-wordmark span{font-family:var(--wp--preset--font-family--sora);font-weight:600;font-size:20px;color:var(--sm-text);white-space:nowrap}
.sm-svcs{display:flex;flex-direction:column;border-bottom:1px solid var(--sm-line)}
.sm-svc{display:grid;grid-template-columns:60px minmax(160px,1fr) 2fr 40px;gap:24px;align-items:center;padding:28px 0;border-top:1px solid var(--sm-line);text-decoration:none;color:var(--sm-text)}
.sm-svc:hover{color:var(--sm-text)}
.sm-svc:hover .sm-svc-arrow{color:var(--sm-emerald);transform:translateX(4px)}
.sm-svc-name{font-family:var(--wp--preset--font-family--sora);font-weight:600;font-size:26px}
.sm-svc-desc{color:var(--sm-body);font-size:16px;line-height:1.5}
.sm-svc-arrow{font-size:22px;color:var(--sm-muted);transition:transform .15s ease,color .15s ease;justify-self:end}
.sm-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.sm-tool{display:flex;flex-direction:column;gap:10px;padding:24px;border:1px solid var(--sm-line);border-radius:16px;background:var(--sm-base);text-decoration:none;transition:border-color .15s ease}
.sm-section:not(.sm-surface) .sm-tool{background:var(--sm-surface)}
.sm-tool:hover{border-color:var(--sm-emerald)}
.sm-tool-name{font-family:var(--wp--preset--font-family--sora);font-weight:600;font-size:19px;color:var(--sm-text)}
.sm-tool-desc{color:var(--sm-body);font-size:15px;line-height:1.5}
.sm-tool-cta{margin-top:auto;font-size:13px;color:var(--sm-emerald)}
.sm-grouphead{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:8px}
.sm-grouphead .sm-label{color:var(--sm-muted) !important}
.sm-timeline{border-left:1px solid var(--sm-line);margin-block-start:40px !important;max-width:860px !important}
.sm-tl-item{position:relative;padding:0 0 36px 32px}
.sm-tl-item::before{content:"";position:absolute;left:-5px;top:4px;width:9px;height:9px;border-radius:50%;background:var(--sm-emerald)}
.sm-tl-item > * + *{margin-block-start:8px}
.sm-sectors{font-size:15px !important}
.sm-nextsteps{display:flex;flex-direction:column;border-bottom:1px solid var(--sm-line)}
.sm-next{display:flex;gap:16px;align-items:baseline;padding:14px 0;border-top:1px solid var(--sm-line)}
.sm-next p{color:var(--sm-soft) !important;font-size:16px}
.sm-formcard{background:var(--sm-surface);border:1px solid var(--sm-line);border-radius:16px;padding:32px}
.sm-formnote{margin-top:16px !important;font-size:13px !important;color:var(--sm-muted) !important}
.sm-grid-map{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.sm-grid-map > .wp-block-column{border-top:0 !important;padding-top:0 !important}
.sm-map{border-radius:16px;overflow:hidden;border:1px solid var(--sm-line);filter:grayscale(1) invert(.92) contrast(.9)}
.sm-map iframe{display:block}
/* WPForms on dark */
.sm-formcard .wpforms-container{margin:0 !important}
.sm-formcard .wpforms-field-label,.sm-formcard .wpforms-field-sublabel{color:var(--sm-text) !important;font-family:var(--wp--preset--font-family--inter) !important;font-weight:500 !important}
.sm-formcard .wpforms-required-label{color:var(--sm-emerald) !important}
.sm-formcard input:not([type=submit]):not([type=checkbox]):not([type=radio]),.sm-formcard select,.sm-formcard textarea{background:var(--sm-base) !important;border:1px solid var(--sm-line-2) !important;color:var(--sm-text) !important;border-radius:10px !important}
.sm-formcard input:focus,.sm-formcard textarea:focus,.sm-formcard select:focus{border-color:var(--sm-emerald) !important;box-shadow:none !important}
.sm-formcard .wpforms-submit{background:var(--sm-emerald) !important;color:var(--sm-ink) !important;border:0 !important;border-radius:999px !important;font-weight:600 !important;padding:12px 28px !important;height:auto !important}
.sm-formcard .wpforms-submit:hover{background:var(--sm-emerald-hi) !important}
/* Substack posts grid from the WPCode shortcode */
.substack-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:var(--sm-max)}
.substack-card{display:flex;flex-direction:column;text-decoration:none;border:1px solid var(--sm-line);border-radius:16px;overflow:hidden;background:var(--sm-surface);transition:border-color .15s ease}
.sm-surface .substack-card{background:var(--sm-base)}
.substack-card:hover{border-color:var(--sm-emerald)}
.substack-thumb{aspect-ratio:16/9;overflow:hidden;background:var(--sm-deep)}
.substack-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.substack-body{padding:20px}
.substack-card time{display:block;font-family:var(--wp--preset--font-family--ibm-plex-mono);font-size:11px;color:var(--sm-muted);text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}
.substack-card h3{font-family:var(--wp--preset--font-family--sora);font-size:18px;font-weight:600;color:var(--sm-text);margin:0 0 8px;line-height:1.3}
.substack-card p{font-size:14px;color:var(--sm-body);line-height:1.5;margin:0}
@media (max-width:980px){
	.sm-hero-split,.sm-grid-map{grid-template-columns:1fr}
	.sm-tools,.substack-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.sm-svc{grid-template-columns:40px 1fr;gap:8px 16px}
	.sm-svc-desc{grid-column:2}
	.sm-svc-arrow{display:none}
}
@media (max-width:640px){
	.sm-tools,.substack-grid{grid-template-columns:1fr}
	.sm-logos{gap:32px 40px;justify-content:flex-start}
	.sm-logos img{height:36px}
	.sm-logos .sm-logo-tall{height:64px}
	.sm-press{justify-content:flex-start;gap:28px 40px}
}
