/* Front-page-only presentation. */
/* Hero */
.hero {
  position: relative;
  min-height: 830px;
  padding: 180px 0 58px;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--ice);
  background-image:
    linear-gradient(rgba(7, 24, 44, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 24, 44, 0.055) 1px, transparent 1px);
  background-size: 43px 43px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
}
.hero::before { width: 430px; height: 430px; left: -260px; top: 120px; background: rgba(0, 171, 188, 0.58); }
.hero::after { width: 320px; height: 320px; right: -100px; bottom: -170px; background: rgba(255, 93, 80, 0.48); }
.hero-glow {
  position: absolute;
  z-index: -1;
  width: 410px;
  height: 410px;
  left: 51%;
  top: 280px;
  border-radius: 50%;
  background: rgba(255, 190, 45, 0.48);
  filter: blur(74px);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 930px; }
.hero .display-title { line-height: 0.98; }
.hero .display-title .accent { line-height: 0.92; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 5px 12px;
  border: 1px solid rgba(7, 24, 44, 0.11);
  border-radius: 999px;
  color: #425267;
  background: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.hero-badge .spark { color: var(--coral-dark); font-size: 18px; }
.hero-copy {
  max-width: 700px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.5;
  text-wrap: pretty;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 680px;
  margin: 62px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}
.hero-stat { margin: 0; }
.hero-stat dd { margin: 0; font-size: 48px; font-weight: 820; line-height: 1; letter-spacing: -0.05em; }
.hero-stat dt { margin-top: 7px; color: var(--ink-soft); font-size: 14px; }

/* Tool strip */
.tool-strip { overflow: hidden; border-block: 1px solid rgba(7, 24, 44, 0.06); background: #f3f7f8; }
.tool-track { display: flex; width: max-content; animation: tool-scroll 30s linear infinite; }
.tool-group { min-height: 64px; display: flex; align-items: center; gap: 52px; padding-right: 52px; }
.tool-strip:hover .tool-track,
.tool-strip:focus-within .tool-track { animation-play-state: paused; }
.tool-label { color: #52657a; font-size: 11px; font-weight: 850; letter-spacing: 0.13em; text-transform: uppercase; white-space: nowrap; }
.tool-name { color: #5d6877; font-size: 18px; font-weight: 720; white-space: nowrap; }
@keyframes tool-scroll { to { transform: translateX(-50%); } }

/* Services */
.services { padding: 122px 0 130px; background: var(--paper); }
.section-title { margin: 0; max-width: 850px; font-size: clamp(42px, 5vw, 68px); line-height: 0.99; letter-spacing: -0.052em; font-weight: 830; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
.service-card { min-width: 0; }
.service-card:nth-child(1),
.service-card:nth-child(4) { grid-column: span 2; }
.service-card-inner {
  position: relative;
  min-height: 335px;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 40px;
  border: 1px solid rgba(7, 24, 44, 0.13);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
a.service-card-inner:hover { transform: translateY(-6px); border-color: rgba(7, 24, 44, 0.2); box-shadow: var(--shadow-hover); }
.service-card-inner::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -100px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(255, 93, 80, 0.09);
  filter: blur(22px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
a.service-card-inner:hover::after { opacity: 1; }
.service-number { position: absolute; top: 37px; right: 38px; color: var(--ink-soft); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; font-weight: 700; line-height: 1; }
.service-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 50%; }
.service-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-icon.coral { color: #fff; background: var(--coral-icon-bg); }
.service-icon.teal { color: #fff; background: var(--teal-contrast); }
.service-icon.gold { color: var(--gold-icon-fg); background: var(--gold); }
.service-icon.ink { color: #fff; background: var(--ink); }
.service-title { margin: 0 0 12px; font-size: 29px; line-height: 1.2; letter-spacing: -0.035em; }
.service-copy { max-width: 690px; margin: 0; color: #506079; font-size: 17px; line-height: 1.56; text-wrap: pretty; }
.service-arrow { width: 24px; height: 24px; margin: auto 0 0 auto; color: #7a8794; transition: color 0.2s ease, transform 0.2s ease; }
.service-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; }
a.service-card-inner:hover .service-arrow { color: var(--coral-dark); transform: translate(2px, -2px); }

/* About */
.about {
  padding: 120px 0 132px;
  background-color: #f1f7f8;
  background-image:
    linear-gradient(rgba(7, 24, 44, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 24, 44, 0.045) 1px, transparent 1px);
  background-size: 43px 43px;
}
.about-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 90px; align-items: start; }
.about-heading { margin: 0; font-size: clamp(46px, 5vw, 68px); line-height: 0.98; letter-spacing: -0.055em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 40px; padding: 0; list-style: none; }
.pill { padding: 6px 13px; border: 1px solid rgba(7, 24, 44, 0.12); border-radius: 999px; background: rgba(255, 255, 255, 0.65); font-size: 12px; font-weight: 760; }
.testimonial { max-width: 440px; padding: 26px 28px; border: 1px solid rgba(7, 24, 44, 0.13); border-radius: 23px; background: rgba(255, 251, 246, 0.95); box-shadow: 0 25px 50px rgba(7, 24, 44, 0.1); }
.stars { color: var(--coral-dark); letter-spacing: 2px; font-size: 18px; }
.testimonial blockquote { margin: 12px 0; color: #324255; font-family: var(--accent); font-style: italic; line-height: 1.45; }
.testimonial blockquote p { margin: 0; }
.testimonial figcaption { font-size: 12px; font-style: normal; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.about-list { list-style: none; margin: 3px 0 0; padding: 0; }
.about-list li { position: relative; padding: 0 0 27px 28px; font-size: 19px; line-height: 1.5; text-wrap: pretty; }
.about-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }

/* Flexible homepage content */
.home-content { padding: 100px 0; background: #fff; border-top: 1px solid var(--line); }
.home-content .entry-content > :first-child { margin-top: 0; }
.home-content .entry-content > :last-child { margin-bottom: 0; }
/* Customizer-first optional latest-posts section */
.latest-posts-section {
  padding: clamp(76px, 9vw, 128px) 0;
  background: var(--paper);
}
.latest-posts-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}
.latest-posts-heading-row .section-title { margin-bottom: 0; }
.latest-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.latest-post-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(7, 24, 44, 0.07);
}
.latest-post-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ice); }
.latest-post-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.latest-post-card:hover .latest-post-image img { transform: scale(1.025); }
.latest-post-body { padding: 24px; }
.latest-post-body time { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.latest-post-body h3 { margin: 0 0 10px; font-size: clamp(20px, 2vw, 28px); line-height: 1.12; letter-spacing: -.035em; }
.latest-post-body h3 a:hover { color: var(--coral-dark); }
.latest-post-body p { margin: 0; color: var(--ink-soft); }
/* Customizer-created homepage sections (4.1+) */
.custom-home-section{position:relative;padding:clamp(72px,8vw,128px) 0;background:var(--paper);color:var(--ink)}
.custom-home-section.scheme-white{background:var(--white)}
.custom-home-section.scheme-ice{background:var(--ice)}
.custom-home-section.scheme-dark{background:var(--ink);color:#fff}
.custom-home-section.scheme-teal{background:linear-gradient(135deg,#006b78,var(--teal-contrast));color:#fff}
.custom-home-section.align-center{text-align:center}
.custom-home-section.align-center .custom-section-copy{margin-inline:auto}
.custom-home-section.align-center .custom-section-buttons{justify-content:center}
.custom-home-section .section-kicker{margin-bottom:16px}
.custom-home-section.scheme-dark .section-kicker,.custom-home-section.scheme-teal .section-kicker{color:var(--gold)}
.custom-section-title{max-width:850px;margin:0 0 22px;font-size:clamp(38px,5vw,68px);line-height:.98;letter-spacing:-.045em}
.align-center .custom-section-title{margin-inline:auto}
.custom-section-copy{max-width:760px;color:var(--ink-soft);font-size:clamp(17px,1.5vw,20px);line-height:1.75}
.custom-section-copy>:first-child{margin-top:0}.custom-section-copy>:last-child{margin-bottom:0}
.scheme-dark .custom-section-copy,.scheme-teal .custom-section-copy{color:rgba(255,255,255,.76)}
.custom-section-buttons{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.scheme-dark .custom-section-buttons .button-light,.scheme-teal .custom-section-buttons .button-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.28)}
.custom-section-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:clamp(36px,7vw,90px);align-items:center}
.custom-section-split.image-left .custom-section-media{order:-1}
.custom-section-media{margin:0;overflow:hidden;border-radius:var(--radius-lg);box-shadow:var(--shadow)}
.custom-section-media img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.custom-section-content--single{max-width:850px}.align-center .custom-section-content--single{margin-inline:auto}
.custom-cta-panel{position:relative;overflow:hidden;padding:clamp(36px,6vw,72px);border:1px solid rgba(7,24,44,.08);border-radius:var(--radius-lg);background:rgba(255,255,255,.72);box-shadow:var(--shadow)}
.scheme-white .custom-cta-panel{background:var(--paper)}
.scheme-dark .custom-cta-panel,.scheme-teal .custom-cta-panel{border-color:rgba(255,255,255,.15);background:rgba(255,255,255,.06);box-shadow:none}
.custom-card-grid,.custom-stats-grid,.custom-post-grid{display:grid;gap:20px;margin-top:42px}
.custom-card-grid.columns-2,.custom-stats-grid.columns-2,.custom-post-grid.columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.custom-card-grid.columns-3,.custom-stats-grid.columns-3,.custom-post-grid.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.custom-card-grid.columns-4,.custom-stats-grid.columns-4,.custom-post-grid.columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.custom-card{padding:30px;border:1px solid rgba(7,24,44,.1);border-radius:var(--radius-md);background:var(--white);box-shadow:0 14px 36px rgba(7,24,44,.06)}
.custom-card h3{margin:0 0 12px;font-size:clamp(22px,2vw,30px);line-height:1.1}.custom-card p{margin:0;color:var(--ink-soft);line-height:1.65}
.custom-card-link{display:inline-flex;margin-top:22px;font-weight:750;text-decoration:none}.custom-card-link:hover{text-decoration:underline}
.scheme-dark .custom-card,.scheme-teal .custom-card{border-color:rgba(255,255,255,.15);background:rgba(255,255,255,.07);box-shadow:none}.scheme-dark .custom-card p,.scheme-teal .custom-card p{color:rgba(255,255,255,.72)}.scheme-dark .custom-card-link,.scheme-teal .custom-card-link{color:#fff}
.custom-stat{padding:28px;border-top:1px solid rgba(7,24,44,.15)}.custom-stat dd{margin:0 0 8px;font-size:clamp(40px,5vw,66px);font-weight:800;letter-spacing:-.05em;line-height:1}.custom-stat dt{color:var(--ink-soft);font-size:15px}
.scheme-dark .custom-stat,.scheme-teal .custom-stat{border-color:rgba(255,255,255,.22)}.scheme-dark .custom-stat dt,.scheme-teal .custom-stat dt{color:rgba(255,255,255,.7)}
.custom-faq-list{max-width:900px;margin-top:38px}.align-center .custom-faq-list{margin-inline:auto;text-align:left}.custom-faq-item{border-top:1px solid rgba(7,24,44,.14)}.custom-faq-item:last-child{border-bottom:1px solid rgba(7,24,44,.14)}.custom-faq-item summary{position:relative;padding:22px 44px 22px 0;cursor:pointer;font-size:clamp(19px,2vw,24px);font-weight:750;list-style:none}.custom-faq-item summary::-webkit-details-marker{display:none}.custom-faq-item summary::after{content:"+";position:absolute;right:4px;top:20px;font-size:28px;font-weight:400}.custom-faq-item[open] summary::after{content:"–"}.custom-faq-item>div{padding:0 44px 22px 0;color:var(--ink-soft);line-height:1.7}.custom-faq-item>div p{margin:0}
.scheme-dark .custom-faq-item,.scheme-teal .custom-faq-item{border-color:rgba(255,255,255,.18)}.scheme-dark .custom-faq-item>div,.scheme-teal .custom-faq-item>div{color:rgba(255,255,255,.72)}
.custom-products{margin-top:38px}.custom-products .woocommerce{width:100%}
.custom-home-spacer{height:var(--custom-spacer,72px);position:relative;background:var(--paper)}.custom-home-spacer.has-divider::after{content:"";position:absolute;left:max(24px,calc((100% - var(--container))/2));right:max(24px,calc((100% - var(--container))/2));top:50%;height:1px;background:rgba(7,24,44,.12)}
@media(max-width:980px){.custom-section-split{grid-template-columns:1fr}.custom-section-split.image-left .custom-section-media{order:0}.custom-card-grid.columns-4,.custom-stats-grid.columns-4,.custom-post-grid.columns-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.custom-home-section{padding:68px 0}.custom-section-title{font-size:clamp(36px,11vw,54px)}.custom-card-grid.columns-2,.custom-card-grid.columns-3,.custom-card-grid.columns-4,.custom-stats-grid.columns-2,.custom-stats-grid.columns-3,.custom-stats-grid.columns-4,.custom-post-grid.columns-2,.custom-post-grid.columns-3,.custom-post-grid.columns-4{grid-template-columns:1fr}.custom-section-buttons{display:grid}.custom-section-buttons .button{width:100%;justify-content:center}.custom-cta-panel{padding:30px 24px}.custom-section-split{gap:30px}}
