/*
Theme Name: Jaricon
Theme URI: https://jaricon.co.za/
Author: Jaricon
Description: Editable block theme for Jaricon, a Claris FileMaker developer in Sandton, Johannesburg.
Version: 1.6.1
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: jaricon
*/

/* ------------------------------------------------------------ base */
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{margin:0;background:#f6f3ee;color:#16202b;font-family:"IBM Plex Sans",Arial,sans-serif;-webkit-font-smoothing:antialiased}
*,*::before,*::after{box-sizing:border-box}
.wp-site-blocks{padding:0}
.wp-site-blocks>*{margin-block-start:0}
.j-header a,.j-footer a,.j-section a{text-decoration:none}
:focus-visible{outline:2px solid #4fb3ac;outline-offset:3px;border-radius:4px}
::selection{background:#0f5a5e;color:#fff}

/* WordPress adds a 24px gap between blocks; sections set their own spacing. */
/* Kept at low specificity (0,1,1) so the component rules below can still set margins. */
:where(.j-header,.j-footer,.j-section) :is(div,section,main).wp-block-group>*,section.j-section>*,main.j-main>*{margin-block:0}

.j-container{max-width:1336px;margin-inline:auto;padding-inline:clamp(20px,4vw,48px)}
.j-section{padding-block:clamp(56px,10vw,128px);line-height:1.65}
.j-section.j-flush-top{padding-top:0}
.j-section p{color:#3a4654;text-wrap:pretty}
.j-section h1,.j-section h2,.j-section h3{margin:0;font-family:Newsreader,Georgia,serif}
.j-section h1{font-size:clamp(38px,4.7vw,62px);font-weight:300;line-height:1.05;letter-spacing:-.025em;text-wrap:balance}
.j-section h2{font-size:clamp(34px,4vw,52px);font-weight:400;line-height:1.08;letter-spacing:-.02em;text-wrap:balance}
.j-section h3{font-size:25px;font-weight:500;line-height:1.15;letter-spacing:-.01em}
.j-stack{display:flex;flex-direction:column;gap:20px}
.j-grid{display:grid;gap:clamp(32px,6vw,80px)}
.j-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.j-section .j-eyebrow{font-size:12.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;line-height:1.4;color:#0f5a5e}
.j-section .j-eyebrow-muted{color:#55606d}
.j-section .j-mono{font-family:"IBM Plex Mono",monospace;font-size:12px;line-height:1.5;color:#55606d}
.j-section .j-num{color:#0f5a5e}
.j-section .j-body-lg{font-size:17px;max-width:460px}

.j-dark{background:#0f1923;color:#fff}
.j-dark p{color:#b8c2cb}
.j-dark .j-eyebrow{color:#8fc9c5}
.j-dark a{color:#fff}

/* ------------------------------------------------------------ buttons */
.j-header .wp-block-buttons,.j-section .wp-block-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.j-header .wp-block-button,.j-section .wp-block-button{margin:0}
.j-header .wp-block-button__link,.j-section .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:14px 24px;border:1px solid transparent;border-radius:999px;background:#4fb3ac;color:#0f1923;font-family:"IBM Plex Sans",Arial,sans-serif;font-size:15px;font-weight:600;line-height:1.3;text-decoration:none}
.j-section .wp-block-button__link:hover{background:#7fcfc9;color:#0f1923}
.j-section .j-outline .wp-block-button__link{background:transparent;color:#fff;border-color:rgba(255,255,255,.22);font-weight:500}
.j-section .j-outline .wp-block-button__link:hover{background:transparent;color:#fff;border-color:#fff}

/* ------------------------------------------------------------ header */
.wp-site-blocks>header.wp-block-template-part{position:sticky;top:var(--wp-admin--admin-bar--height,0px);z-index:20}
.j-header{background:rgba(15,25,35,.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid rgba(255,255,255,.08);color:#fff}
.j-header-row{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.j-logo{display:flex;align-items:center;min-height:44px}
.j-logo img{height:30px;width:auto;display:block}
.j-nav-links{display:flex;align-items:center;gap:clamp(14px,2.4vw,32px)}
.j-header .j-links{display:flex;align-items:center;gap:clamp(14px,2.4vw,32px);font-size:14px;line-height:1.3}
.j-header .j-links a{display:inline-flex;align-items:center;min-height:44px;color:#c9d1d8}
.j-header .j-links a:hover{color:#fff}
.j-header .j-phone{font-size:14px;line-height:1.3}
.j-header .j-phone a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#fff;font-weight:500;white-space:nowrap}
.j-header .j-phone a:hover{color:#8fc9c5}
.j-header .j-phone a::before{content:"";width:15px;height:15px;flex:none;background:#4fb3ac;-webkit-mask:var(--j-phone-icon) center/contain no-repeat;mask:var(--j-phone-icon) center/contain no-repeat}
.j-header{--j-phone-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E")}
.j-header .j-header-cta .wp-block-button__link{min-height:44px;padding:10px 18px;background:#f6f3ee;font-size:14px;font-weight:500}
.j-header .j-header-cta .wp-block-button__link:hover{background:#fff}
.j-menu-toggle{display:none}

/* ------------------------------------------------------------ hero */
.j-section.j-hero{padding-block:clamp(36px,5.5vw,72px) 0;overflow:hidden}
.j-hero-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));align-items:center;gap:clamp(40px,6vw,72px)}
.j-hero-copy{display:flex;flex-direction:column;gap:22px}
.j-hero .j-eyebrow{display:flex;align-items:center;gap:10px;font-weight:400;letter-spacing:.12em}
.j-hero .j-eyebrow::before{content:"";width:7px;height:7px;flex:none;border-radius:50%;background:#4fb3ac}
.j-hero h1 em{font-style:italic;color:#8fc9c5}
.j-hero .j-lead{font-size:clamp(17px,1.5vw,19px);line-height:1.6;max-width:540px}
.j-hero ul.j-trust{display:flex;flex-wrap:wrap;gap:8px 22px;margin:0;padding:4px 0 0;list-style:none;font-size:13px;line-height:1.5;color:#8995a0}
.j-hero ul.j-trust li::before{content:"✓ "}
.j-hero-visual{min-width:0}
.j-hero .j-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:24px;margin-top:clamp(44px,6vw,72px);padding-block:28px;border-top:1px solid rgba(255,255,255,.08)}
.j-stat-cell{display:flex;flex-direction:column;gap:4px}
.j-hero .j-stat{font-family:Newsreader,Georgia,serif;font-size:34px;line-height:1;color:#fff}
.j-hero .j-stat-label{font-size:12.5px;line-height:1.5;color:#8995a0}

.j-mock{background:#f6f3ee;color:#16202b;border-radius:14px;box-shadow:0 40px 80px -20px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.06);overflow:hidden;line-height:1.35}
.j-mock-bar{display:flex;align-items:center;gap:7px;padding:11px 14px;background:#e9e4dc;border-bottom:1px solid #ded8cf}
.j-mock-bar i{width:10px;height:10px;border-radius:50%;background:#e06c5e}
.j-mock-bar i:nth-child(2){background:#e3b54f}
.j-mock-bar i:nth-child(3){background:#62b26d}
.j-mock-bar span{margin-left:10px;font-family:"IBM Plex Mono",monospace;font-size:11.5px;color:#55606d}
.j-mock-body{display:grid;grid-template-columns:120px minmax(0,1fr);min-height:320px}
.j-mock-side{display:flex;flex-direction:column;gap:4px;padding:16px 12px;background:#16202b;color:#9aa6b1;font-size:12px}
.j-mock-side span{padding:7px 9px;border-radius:6px}
.j-mock-side .is-on{color:#fff;background:rgba(255,255,255,.08)}
.j-mock-main{display:flex;flex-direction:column;gap:14px;min-width:0;padding:16px}
.j-mock-kpis,.j-mock-kanban{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.j-mock-kanban{flex:1}
.j-mock-kpis>div{display:flex;flex-direction:column;gap:2px;padding:10px 12px;background:#fff;border:1px solid #ded8cf;border-radius:8px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#55606d}
.j-mock-kpis strong{font-family:Newsreader,Georgia,serif;font-size:24px;font-weight:400;letter-spacing:0;text-transform:none;color:#16202b}
.j-mock-kpis strong.is-teal{color:#0f5a5e}
.j-mock-kanban>div{display:flex;flex-direction:column;gap:6px;padding:8px;background:#ece7df;border-radius:8px}
.j-mock-kanban b{display:flex;justify-content:space-between;padding:2px 4px;font-size:10.5px;font-weight:600;color:#55606d}
.j-mock-kanban b span{font-weight:400}
.j-mock .j-mock-kanban p{display:flex;flex-direction:column;gap:3px;margin:0;padding:7px 8px;background:#fff;border-radius:6px;box-shadow:0 1px 0 #ded8cf;font-size:11px;font-weight:500;color:#16202b}
.j-mock-kanban small{font-size:10px;font-weight:400;color:#55606d}
.j-hero .j-hero-visual .j-mock-cap{margin:12px 0 0;text-align:right;font-size:11.5px;color:#8995a0}

/* ------------------------------------------------------------ certified band */
.j-section.j-certified{background:#fbf9f6;border-bottom:1px solid #ded8cf;padding-block:36px}
.j-cert-grid{display:grid;grid-template-columns:1.5fr repeat(4,minmax(0,1fr));gap:24px;align-items:center}
.j-cert-intro{display:flex;flex-direction:column;gap:6px;max-width:300px}
.j-certified .j-cert-lead{font-family:Newsreader,Georgia,serif;font-size:22px;line-height:1.25;color:#16202b}
.j-cert-item{border-left:2px solid #4fb3ac;padding-left:16px}
.j-certified .j-cert-title{font-size:14px;font-weight:500;line-height:1.4;color:#16202b}

/* ------------------------------------------------------------ problem */
.j-pains{display:flex;flex-direction:column}
.j-pain{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:22px 0;border-top:1px solid #ded8cf}
.j-section .j-pain p{font-size:15.5px;line-height:1.5}
.j-section .j-before{color:#55606d;text-decoration:line-through;text-decoration-color:#c2b9ab}
.j-section .j-after{color:#16202b;font-weight:500}

/* ------------------------------------------------------------ services */
.j-section .j-section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:48px}
.j-section-head .j-stack{gap:16px;max-width:680px}
.j-section .j-head-side{max-width:400px;font-size:16px;line-height:1.6;color:#55606d}
.j-services{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:1px;background:#ded8cf;border:1px solid #ded8cf;border-radius:16px;overflow:hidden}
.j-service{display:flex;flex-direction:column;gap:14px;min-height:220px;padding:32px;background:#fbf9f6}
.j-service:hover{background:#fff}
.j-section .j-service p{font-size:15px;line-height:1.6;color:#55606d}
.j-section .j-service .j-num{font-size:12px;color:#0f5a5e}
.j-section .j-service .j-tags{margin-top:auto;font-size:12.5px;color:#3a4654}

/* ------------------------------------------------------------ work */
.j-section.j-work{background:#16202b;padding-bottom:clamp(48px,6vw,72px)}
.j-work .j-work-head{gap:16px;max-width:720px;margin-bottom:48px}
.j-work-layout.has-tabs{display:flex;flex-wrap:wrap;align-items:flex-start;gap:clamp(24px,4vw,56px)}
.j-case-tabs{flex:1 1 260px;display:flex;flex-direction:column}
.j-case-tabs button{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:4px;padding:18px 20px;border-left:2px solid rgba(255,255,255,.12)}
.j-case-tabs button:hover{background:rgba(255,255,255,.05)}
.j-case-tabs button:focus-visible{outline:2px solid #4fb3ac;outline-offset:-2px}
.j-case-tabs button[aria-selected=true]{border-left-color:#4fb3ac;background:rgba(255,255,255,.06)}
.j-tab-ind{font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:#8995a0}
.j-tab-name{font-family:Newsreader,Georgia,serif;font-size:21px;line-height:1.2;color:#b8c2cb}
.j-case-tabs button[aria-selected=true] .j-tab-name{color:#fff}
.j-cases{display:flex;flex-direction:column;gap:24px}
.has-tabs .j-cases{flex:2 1 460px;min-width:0}
.j-cases [hidden]{display:none}
.j-case{display:flex;flex-direction:column;gap:24px;padding:clamp(28px,4vw,48px);background:#f6f3ee;color:#16202b;border-radius:16px}
.j-case-meta{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px}
.j-work .j-case .j-eyebrow{font-size:12.5px;letter-spacing:.12em;color:#0f5a5e}
.j-work .j-case .j-mono{font-size:12px;color:#55606d}
.j-work .j-case h3.j-case-label{font-size:21px;font-weight:400}
.has-tabs .j-case h3.j-case-label{display:none}
.j-work .j-case .j-case-metric{font-family:Newsreader,Georgia,serif;font-size:clamp(48px,6vw,76px);font-weight:300;line-height:.95;letter-spacing:-.03em;color:#0f5a5e}
.j-work .j-case h3.j-case-headline{font-size:clamp(28px,3vw,40px);font-weight:400;line-height:1.12;letter-spacing:-.015em;text-wrap:balance}
.j-work .j-case p{font-size:16.5px;color:#3a4654}
.j-case ul.j-case-points{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;margin:0;padding:20px 0 0;border-top:1px solid #ded8cf;list-style:none;font-size:14.5px;line-height:1.45}
.j-case ul.j-case-points li{display:flex;gap:10px}
.j-case ul.j-case-points li::before{content:"—";color:#0f5a5e}
.j-work .j-also{display:flex;flex-direction:column;gap:20px;margin-top:48px}
.j-shots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
.j-work figure.j-shot{display:flex;flex-direction:column;gap:12px;margin:0}
.j-work .j-shot img{display:block;width:100%;height:auto;aspect-ratio:9/7;object-fit:cover;object-position:top left;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:#fff}
.j-work .j-shot figcaption{margin:0;font-family:Newsreader,Georgia,serif;font-size:19px;line-height:1.25;text-align:left;color:#fff}
.j-shots-more{display:flex;flex-direction:column;gap:14px;padding-top:4px}
/* plain lists: labels that must not look like buttons */
.j-section ul.j-plain-list{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;font-size:15.5px;line-height:1.45}
.j-section ul.j-plain-list li{display:flex;gap:10px}
.j-section ul.j-plain-list li::before{content:"—";flex:none;color:#0f5a5e}
.j-dark ul.j-plain-list{color:#e6eaee}
.j-dark ul.j-plain-list li::before{color:#4fb3ac}
.j-work .j-also-label{font-size:15px;color:#b8c2cb}

.j-section.j-mid{background:#16202b;padding-block:0 clamp(64px,8vw,96px)}
.j-mid-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 32px;padding-top:40px;border-top:1px solid rgba(255,255,255,.1)}
.j-mid .j-mid-line{max-width:700px;font-family:Newsreader,Georgia,serif;font-size:clamp(24px,2.6vw,32px);font-weight:300;line-height:1.2;color:#fff;text-wrap:balance}

/* ------------------------------------------------------------ approach */
.j-section .j-steps-head{gap:16px;max-width:680px;margin-bottom:56px}
.j-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:32px}
.j-step{display:flex;flex-direction:column;gap:14px;padding-top:24px;border-top:2px solid #16202b}
.j-section .j-step-no{font-family:Newsreader,Georgia,serif;font-style:italic;font-size:40px;line-height:1;color:#0f5a5e}
.j-section .j-step h3,.j-section .j-platform-item h3{font-family:"IBM Plex Sans",Arial,sans-serif;font-size:18px;font-weight:600;line-height:1.3;letter-spacing:0}
.j-section .j-step p:not(.j-step-no){font-size:15px;line-height:1.6;color:#55606d}

/* ------------------------------------------------------------ platform */
.j-claris-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:clamp(32px,5vw,64px);padding-top:clamp(48px,6vw,72px);border-top:1px solid #ded8cf}
.j-claris .j-stack{gap:18px}
.j-claris .j-body-lg{font-size:16.5px}
.j-section .j-text-link a{display:inline-flex;align-items:center;min-height:44px;font-size:14.5px;font-weight:500;color:#0f5a5e;text-decoration:underline;text-underline-offset:5px}
.j-section .j-text-link a:hover{color:#16202b}
.j-platform-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 32px}
.j-platform-item{display:flex;flex-direction:column;gap:8px}
.j-section .j-platform-item h3{font-size:17px}
.j-section .j-platform-item p:not(.j-mono){font-size:15px;line-height:1.6;color:#55606d}

/* ------------------------------------------------------------ about */
.j-about-card{gap:clamp(32px,5vw,64px);padding:clamp(28px,5vw,64px);background:#fff;border:1px solid #ded8cf;border-radius:20px}
.j-about-card .j-stack{gap:22px}
.j-section .j-quote{font-family:Newsreader,Georgia,serif;font-size:clamp(26px,2.8vw,36px);font-weight:300;line-height:1.25;letter-spacing:-.01em;color:#16202b}
.j-person{display:flex;flex-direction:column;gap:2px}
.j-section .j-person-name{font-size:16px;line-height:1.4;color:#16202b}
.j-section .j-person-name strong{font-weight:600}
.j-section .j-person-role{font-size:14px;line-height:1.4;color:#55606d}
.j-about-card .j-stack>p:last-child{font-size:15.5px}
.j-certs{display:flex;flex-direction:column}
.j-section .j-certs .j-eyebrow{margin-bottom:14px}
.j-section .j-cert-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:14px 0;border-bottom:1px solid #ece7df;font-size:15px;line-height:1.4;color:#16202b}
.j-cert-row strong{font-family:"IBM Plex Mono",monospace;font-size:12.5px;font-weight:400;color:#0f5a5e;white-space:nowrap}

/* ------------------------------------------------------------ FAQ */
.j-faq-grid{grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:clamp(32px,5vw,64px)}
.j-faq-grid .j-stack{gap:16px}
.j-faq{border-top:1px solid #16202b}
.j-faq .wp-block-details{border-bottom:1px solid #ded8cf}
.j-faq summary{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 0;cursor:pointer;list-style:none;font-size:18px;font-weight:500;line-height:1.4}
.j-faq summary::-webkit-details-marker{display:none}
.j-faq summary::after{content:"+";flex:none;width:20px;text-align:center;font-size:22px;font-weight:300;line-height:1;color:#0f5a5e}
.j-faq details[open] summary::after{content:"−"}
.j-faq summary:hover{color:#0f5a5e}
.j-faq details>p{margin:0;padding:0 48px 24px 0;font-size:15.5px}

/* ------------------------------------------------------------ contact */
.j-contact .j-stack{gap:24px}
.j-section.j-contact h2{font-size:clamp(40px,5vw,64px);font-weight:300;line-height:1.04;letter-spacing:-.025em}
.j-section.j-contact h1{font-size:clamp(36px,4.4vw,56px);font-weight:300;line-height:1.06;letter-spacing:-.025em}
.j-contact-rows{display:flex;flex-direction:column;padding-top:4px}
.j-contact .j-contact-row{display:flex;align-items:center;min-height:44px;font-size:15px;line-height:1.4;color:#fff}
.j-contact .j-contact-row a{display:flex;align-items:center;min-height:44px;width:100%;color:#fff}
.j-contact .j-contact-row a:hover{color:#8fc9c5}
.j-form-card{padding:clamp(24px,4vw,40px);background:#16202b;border:1px solid rgba(255,255,255,.08);border-radius:18px}

.j-enquiry{display:flex;flex-direction:column;gap:22px}
.j-enquiry[hidden],.j-form-done[hidden]{display:none}
.j-enquiry fieldset{border:0;margin:0;padding:0;min-width:0}
.j-enquiry legend,.j-enquiry label{font-size:13px;line-height:1.4;color:#b8c2cb}
.j-enquiry legend{padding:0;margin-bottom:10px}
.j-needs{display:flex;flex-wrap:wrap;gap:8px}
.j-needs label{position:relative;display:inline-flex;align-items:center;min-height:44px;padding:9px 16px;border:1px solid rgba(255,255,255,.2);border-radius:999px;font-size:13.5px;color:#e6eaee;cursor:pointer}
.j-needs input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.j-needs label:has(input:checked){background:#4fb3ac;border-color:#4fb3ac;color:#0f1923}
.j-needs label:has(input:focus-visible){outline:2px solid #4fb3ac;outline-offset:3px}
.j-form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}
.j-field{display:flex;flex-direction:column;gap:8px}
.j-req{color:#8fc9c5}
.j-opt{color:#8995a0}
.j-enquiry input:not([type=checkbox]),.j-enquiry textarea{width:100%;padding:13px 14px;background:#0f1923;border:1px solid rgba(255,255,255,.14);border-radius:10px;color:#fff;font:inherit;font-size:16px;line-height:1.4}
.j-enquiry input:not([type=checkbox]):focus,.j-enquiry textarea:focus{outline:none;border-color:#4fb3ac}
.j-enquiry textarea{min-height:120px;resize:vertical}
.j-enquiry button{min-height:52px;padding:16px 24px;border:0;border-radius:999px;background:#4fb3ac;color:#0f1923;font:inherit;font-size:15.5px;font-weight:600;cursor:pointer}
.j-enquiry button:hover{background:#7fcfc9}
.j-enquiry button:disabled{opacity:.6;cursor:wait}
.j-contact .j-form-note{margin:0;text-align:center;font-size:12.5px;color:#8995a0}
.j-contact .j-form-status{margin:0;padding:12px 14px;border:1px solid #4fb3ac;border-radius:10px;font-size:14px;color:#fff}
.j-contact .j-form-status:empty{display:none}
.j-honeypot{position:absolute!important;left:-10000px!important}
.j-form-done{display:flex;flex-direction:column;align-items:center;gap:16px;padding:clamp(24px,5vw,56px) 0;text-align:center}
.j-form-done-mark{display:grid;place-items:center;width:56px;height:56px;border:1px solid #4fb3ac;border-radius:50%;color:#4fb3ac;font-size:24px}
.j-contact .j-form-done h3{font-size:28px;font-weight:400;color:#fff}
.j-contact .j-form-done h3:focus{outline:none}
.j-contact .j-form-done p{margin:0;max-width:340px;font-size:15.5px;color:#b8c2cb}
.j-form-again{min-height:44px;padding:0 8px;background:none;border:0;color:#8fc9c5;font:inherit;font-size:14.5px;text-decoration:underline;text-underline-offset:5px;cursor:pointer}
.j-form-again:hover{color:#fff}

/* ------------------------------------------------------------ footer */
.j-footer{background:#0f1923;border-top:1px solid rgba(255,255,255,.08);color:#8995a0}
.j-footer-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 16px;padding-block:14px;font-size:13px;line-height:1.4}
.j-footer p{color:#8995a0}
.j-footer .j-footer-links{display:flex;flex-wrap:wrap;gap:0 24px}
.j-footer a{display:inline-flex;align-items:center;min-height:44px;color:#8995a0}
.j-footer a:hover{color:#fff}

/* ------------------------------------------------------------ landing pages */
.j-landing .wp-block-post-content>*{margin-block:0}
.j-section.j-hero.j-landing-hero{padding-bottom:clamp(44px,6vw,72px)}
.j-landing-hero .j-hero-copy{max-width:800px}
.j-topics-wrap{display:flex;flex-direction:column;gap:14px}
.j-section .j-topics-label{font-size:15px;color:#55606d}
.j-section ul.j-topics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:10px 32px;margin:0;padding:0;list-style:none;font-size:15.5px;line-height:1.45;color:#16202b}
.j-section ul.j-topics li{display:flex;gap:10px}
.j-section ul.j-topics li::before{content:"—";flex:none;color:#0f5a5e}

/* ------------------------------------------------------------ Claris FileMaker and contact pages */
.j-head-aside{display:flex;flex-direction:column;gap:8px;max-width:400px}
.j-why-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 40px;padding-top:40px;border-top:1px solid #ded8cf}
.j-work .j-also.j-also-first{margin-top:0}
.j-section .j-link-row{display:flex;flex-wrap:wrap;gap:0 32px;font-size:14.5px;line-height:1.4}
.j-section .j-link-row a{display:inline-flex;align-items:center;min-height:44px;font-weight:500;color:#0f5a5e;text-decoration:underline;text-underline-offset:5px}
.j-section .j-link-row a:hover{color:#16202b}
.j-dark .j-link-row a{color:#8fc9c5}
.j-dark .j-link-row a:hover{color:#fff}
.j-section .j-after-grid{margin-top:28px}
.j-faq details>p a{text-decoration:underline;text-underline-offset:3px}
.j-faq details>p a:hover{color:#16202b}
.j-section.j-contact-top{padding-top:clamp(40px,6vw,80px)}

/* ------------------------------------------------------------ service pages */
.j-section.j-hero.j-page-hero{padding-bottom:clamp(44px,6vw,72px)}
.j-page-hero .j-hero-copy:only-child{max-width:800px}
.j-page-hero .j-lead a{color:#fff;text-decoration:underline;text-underline-offset:4px}
.j-page-hero figure.j-page-shot{margin:0;min-width:0}
.j-page-shot img{display:block;width:100%;height:auto;aspect-ratio:9/7;object-fit:cover;object-position:top left;border-radius:14px;background:#fff;box-shadow:0 40px 80px -20px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.06)}
.j-page-hero .j-page-shot figcaption{margin:12px 0 0;text-align:right;font-size:11.5px;line-height:1.5;color:#8995a0}
/* the page's own text: each h2 sits in the left column with its paragraphs beside it */
.j-article{--j-gap:clamp(32px,5vw,64px)}
.j-section.j-article{padding-top:clamp(48px,7vw,88px)}
.j-article .wp-block-post-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);column-gap:var(--j-gap);row-gap:0;font-size:16.5px;line-height:1.7}
.j-article .wp-block-post-content>*{grid-column:2;margin:0 0 18px;max-width:none}
.j-article .wp-block-post-content>:last-child{margin-bottom:0}
.j-article .wp-block-post-content>h2{grid-column:1;grid-row:span 40;align-self:start;margin:44px 0 0;padding-top:36px;border-top:1px solid #ded8cf;font-size:clamp(27px,2.6vw,36px);line-height:1.14;letter-spacing:-.015em}
.j-article .wp-block-post-content>h2+:not(h2){margin-top:44px;margin-left:calc(-1*var(--j-gap));padding-left:var(--j-gap);padding-top:40px;border-top:1px solid #ded8cf}
.j-article .wp-block-post-content>h2:first-child,.j-article .wp-block-post-content>h2:first-child+:not(h2){margin-top:0;padding-top:0;border-top:0}
.j-article .wp-block-post-content>:not(h2):not(h2~*){grid-column:1/-1;max-width:780px;font-size:18px}
.j-article .wp-block-post-content>h3{margin:14px 0 8px;font-family:"IBM Plex Sans",Arial,sans-serif;font-size:18px;font-weight:600;line-height:1.3;letter-spacing:0}
.j-article .wp-block-post-content>:is(ul,ol){padding-left:22px;color:#3a4654}
.j-article .wp-block-post-content li{margin-bottom:6px}
.j-article .wp-block-post-content a{color:#0f5a5e;text-decoration:underline;text-underline-offset:3px}
.j-article .wp-block-post-content a:hover{color:#16202b}
.j-article .wp-block-post-content img{max-width:100%;height:auto;border-radius:12px}

/* ------------------------------------------------------------ inner pages */
.j-page{max-width:860px;margin-inline:auto;padding:clamp(40px,6vw,80px) clamp(20px,4vw,48px);line-height:1.65}
.j-page h1{font-size:clamp(34px,4vw,52px);line-height:1.08;letter-spacing:-.02em}
/* pages built in Elementor keep their full designed width */
body.elementor-page .j-page{max-width:1336px}
.j-visually-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* ------------------------------------------------------------ responsive */
@media(max-width:999px){
  .j-header .j-phone{display:none}
  .j-claris-grid,.j-faq-grid{grid-template-columns:1fr}
  .j-cert-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .j-cert-intro{grid-column:1/-1}
  .j-shots{grid-template-columns:repeat(2,minmax(0,1fr))}
  .j-why-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  /* service pages: one column, each heading above its text */
  .j-page-hero figure.j-page-shot{max-width:560px}
  .j-article .wp-block-post-content{display:block}
  .j-article .wp-block-post-content>h2{margin:40px 0 16px;padding-top:32px}
  .j-article .wp-block-post-content>h2+:not(h2){margin:0 0 18px;padding:0;border:0}
  .j-article .wp-block-post-content>h2:first-child{margin-top:0;padding-top:0}
}
@media(max-width:760px){
  .wp-site-blocks>header.wp-block-template-part{top:0}
  .j-two{grid-template-columns:1fr}
  /* header: logo, call, CTA and menu on one row; links open underneath */
  .j-header-row{flex-wrap:wrap;gap:0 10px}
  .j-logo{margin-right:auto;min-height:68px}
  .j-nav-links{display:contents}
  .j-header .j-phone{display:block;order:1}
  .j-header .j-phone a{justify-content:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.2);border-radius:999px;font-size:0}
  .j-header .j-phone a::before{width:18px;height:18px}
  .j-header .wp-block-buttons{order:2}
  .j-header .j-header-cta .wp-block-button__link{padding:10px 14px;font-size:13.5px}
  .j-menu-toggle{order:3;display:grid;place-items:center;width:44px;height:44px;padding:0;background:none;border:1px solid rgba(255,255,255,.2);border-radius:10px;color:#fff;font-size:20px;line-height:1;cursor:pointer}
  .j-header .j-links{order:4;flex:1 0 100%;flex-wrap:wrap;gap:0 20px;padding-bottom:8px}
  .j-js .j-header .j-links{display:none}
  .j-js .j-header.is-open .j-links{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0 0 16px;border-top:1px solid rgba(255,255,255,.08)}
  .j-js .j-header.is-open .j-links a{min-height:52px;font-size:17px;color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}
  /* hero mock: drop the sidebar so the three columns fit */
  .j-mock-body{grid-template-columns:minmax(0,1fr);min-height:0}
  .j-mock-side{display:none}
  .j-mock-main{padding:12px}
  .j-mock-kpis,.j-mock-kanban{gap:8px}
  .j-hero .j-stats{grid-template-columns:1fr 1fr}
  /* shorter page on phones */
  .j-section .j-section-head{margin-bottom:32px}
  .j-service{min-height:0;padding:24px;gap:10px}
  .j-section .j-service .j-tags{display:none}
  /* services collapse into expandable rows (site.js adds .is-collapsible) */
  .j-service.is-collapsible{padding:0;gap:0}
  .j-section .j-service.is-collapsible .j-num{display:none}
  .j-section .j-service.is-collapsible h3{font-size:21px}
  .j-service-toggle{all:unset;box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;min-height:64px;padding:16px 20px;cursor:pointer}
  .j-service-toggle::after{content:"+";flex:none;width:20px;text-align:center;font-family:"IBM Plex Sans",Arial,sans-serif;font-size:22px;font-weight:300;line-height:1;color:#0f5a5e}
  .j-service.is-open .j-service-toggle::after{content:"−"}
  .j-service-toggle:focus-visible{outline:2px solid #4fb3ac;outline-offset:-2px}
  .j-service.is-collapsible:not(.is-open)>p{display:none}
  .j-section .j-service.is-collapsible.is-open>p:not(.j-num):not(.j-tags){padding:0 20px 20px}
  /* the four platform points are covered by the FAQ on phones */
  .j-claris .j-platform-grid{display:none}
  .j-work .j-work-head{margin-bottom:32px}
  /* screenshots become a swipeable row so they do not add three screens of height */
  .j-shots{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;-webkit-overflow-scrolling:touch}
  .j-work .j-shots>*{flex:0 0 80%;scroll-snap-align:start}
  .j-work .j-also{margin-top:36px}
  .j-case-tabs button{padding:12px 16px}
  .j-section .j-steps-head{margin-bottom:36px}
  .j-step{display:grid;grid-template-columns:46px minmax(0,1fr);gap:6px 4px;align-items:baseline;padding-top:18px}
  .j-section .j-step-no{font-size:28px}
  .j-step p:not(.j-step-no){grid-column:2}
  .j-faq summary{padding:17px 0;gap:16px;font-size:16.5px}
  .j-faq details>p{padding-right:0}
  .j-why-grid{grid-template-columns:1fr;gap:26px;padding-top:28px}
}
@media(max-width:480px){
  .j-platform-grid{grid-template-columns:1fr}
  .j-cert-grid{gap:16px}
  .j-pain{gap:16px}
}
@media(max-width:400px){
  .j-logo img{height:26px}
  .j-header-row{gap:0 8px}
  .j-header .j-header-cta .wp-block-button__link{padding:10px 12px;font-size:13px}
}
@media(max-width:339px){
  .j-header .wp-block-buttons{display:none}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Editor: keep every case study visible and editable; tabs are added on the frontend only. */
.editor-styles-wrapper .wp-block-template-part{position:static}
