/*
Theme Name: Kadence Child
Theme URI: https://yourwebsite.com
Description: Child theme for Kadence
Author: Your Name
Author URI: https://yourwebsite.com
Template: kadence
Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

/* Establishes a stacking context on body so negative z-index descendants
   (e.g. .footer-cta-offset / .section4.footer-cta-global fixed-reveal on
   non-home pages) paint above body's own background instead of sinking
   behind it - the classic "negative z-index disappears" pitfall. */
/* z-index: 0 (not just position: relative) is required to actually
   establish a new stacking context on body - without it, negative
   z-index descendants (the fixed-reveal CTA) aren't properly contained
   and can end up intercepted-by/painted-behind body's own root box in
   ambiguous ways. With both set, negative-z children correctly paint
   above body's own background (so they're visible + clickable once
   revealed) while still staying below normal in-flow page content
   (so they stay hidden until scrolled to). */
body {
    position: relative;
    z-index: 0;
}

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
}
/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {
}
/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
}
/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
}
/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
}
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
}

/* ------------- 1. general styles ------------- */

h1, h2, h3, h4, h5, h6 {overflow-wrap: normal;}

sup {
    position: relative;
    top: -0.5em;
    font-size: 12px;
    margin-right: 2px;
}

/* ------------- a. Gravity contact form ------------- */

.gform_wrapper ul.gform_fields li {
    list-style: none;
}
.gform_wrapper ul.gform_fields {
    padding-left: 0 !important;
}
.gform_wrapper .hidden_label label {
    display: none;
}
.gform_wrapper input[type=text],
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel],
.gform_wrapper textarea,
.gform_wrapper select {
    border-radius: 0px !important;
    background-color: #fff;
    color: inherit;
    font-family: sans-serif;
    border: 0;
    padding: 10px !important;
    border: 1px solid #eeeeee;
}
.gform_wrapper.gravity-theme .gfield_label {
    display: inline-block;
    font-size: 19px!important;
    margin-bottom: 1px!important;
    font-family: var(--global-heading-font-family);
}
.gform_wrapper input[type=email]:focus {
    border: 1px solid #eeeeee;
}
p.gform_required_legend {
    display: none;
}
.gform_wrapper input[type=text]::placeholder,
.gform_wrapper input[type=email]::placeholder,
.gform_wrapper input[type=tel]::placeholder,
.gform_wrapper textarea::placeholder,
.gform_wrapper select::placeholder {
    color: inherit;
    font-family: inherit;
}
.gform_wrapper .gform_footer {
    text-align: right;
}
.gform_wrapper input[type=submit] {
color: #ffffff;
    font-family: inherit;
    text-transform: uppercase;
    font-weight: inherit;
    font-size: inherit;
    transition-duration: .3s;
    border-radius: 0px;
    padding: 8px 28px;
    cursor: pointer;
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.2;
    font-family: 'Bryant Pro Bold', Helvetica, Arial;
    border-radius: 0px;
    padding: 11px 27px 10px 27px;
    box-shadow: 0px 0px 0px -7px rgba(0, 0, 0, 0);
}
.gform_wrapper input[type=submit]:hover {
    transition-duration: .3s;
    opacity:0.9;
}
.gform_legacy_markup_wrapper .gform_footer {
    margin: 0px 0 0;
}

/* ----------------------------------------
   BULB CONTAINER (overlay above section)
---------------------------------------- */
    .gotb-bulb-wrapper {
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.6s ease-out;
    }
    .gotb-bulb-wrapper.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .gotb-bulb-wrapper {
      position: absolute;
      top: 0;
      z-index: 9999;
      width: auto;
      max-width: 100%;
      pointer-events: auto; /* so it doesn't block interaction below */
    }

.gotb-bulb-popup {
  z-index: 1000000; /* also high to ensure it's above everything */
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  border-radius: 16px;
  padding: 20px;
  max-width: 360px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Ensure text content beneath doesn't overlap */
body *:not(.gotb-bulb-popup):not(.gotb-bulb-wrapper) {
  /*z-index: initial !important;*/
}

    .gotb-bulb-wrapper.left {
      left: 20px;
    }
    .gotb-bulb-wrapper.right {
      right: 20px;
    }
    @media (max-width: 1024px) {
      .gotb-bulb-wrapper {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        display: block;
        width: fit-content;
        margin: 12px 0;
        margin-right: auto;
        align-self: flex-start;
        z-index: 2;
      }
      .gotb-bulb-wrapper.left {
        left: auto !important;
      }
      .gotb-bulb-wrapper.right {
        right: auto !important;
      }
      .bulb-top {
        top: auto !important;
      }
      .bulb-mid {
        top: auto !important;
      }
      .bulb-bottom {
        top: auto !important;
      }
      .gotb-bulb-icon {
        width: 64px;
        height: 64px;
      }
      /* Optional: adjust popup size and spacing on mobile */
      .gotb-bulb-popup {
        width: 90vw;
        max-width: 300px;
      }
    }
    @media (max-width: 767px) {
      .gotb-bulb-icon {
        width: 44px;
        height: 44px;
      }
    }
.bulb-top { top: 10%; }
.bulb-mid { top: 40%; }
.bulb-bottom { top: 75%; }


/* ----------------------------------------
   BULB ICON (clickable and visible)
    ---------------------------------------- */
    .gotb-bulb-icon {
      width: 80px;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: auto; /* clickable again */
      cursor: pointer;
    }
    .gotb-bulb-icon dotlottie-wc {
      width: 100% !important;
      height: 100% !important;
      display: block;
    }

/* ----------------------------------------
   POPUP BASE STYLE (floating speech bubble)
---------------------------------------- */
    .gotb-bulb-popup {
      display: none;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
      position: absolute;
      top: 0;
      background-color: #fff;
      border: 1px solid #4d4d44;
      border-radius: 16px;
      padding: 1rem 1.5rem;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
      font-size: 0.95rem;
      line-height: 1.4;
      width: 300px;
      z-index: 1000;
    }
    /* Show popup when hovering over bulb */
    .gotb-bulb-wrapper:hover .gotb-bulb-popup {
      display: block;
      opacity: 1;
      pointer-events: auto;
    }

/* ----------------------------------------
   CONTENT STYLING
---------------------------------------- */
    .popup-title {
      font-weight: 700;
      margin-bottom: 7px;
      font-size: 0.90rem;
      font-family: 'Bryant Pro Bold', sans-serif;
    }
    .popup-text {
      margin: 0;
      font-size: 0.95rem;
    }
    
/* ----------------------------------------
   ARROW LEFT
---------------------------------------- */
    .gotb-bulb-wrapper.left .gotb-bulb-popup {
      left: 70px;
    }
    .gotb-bulb-wrapper.left .gotb-bulb-popup::before {
      content: "";
      position: absolute;
      top: 20px;
      left: -10px;
      width: 0;
      height: 0;
      border-top: 10px solid transparent;
      border-bottom: 10px solid transparent;
      border-right: 10px solid #4d4d44;
    }
    .gotb-bulb-wrapper.left .gotb-bulb-popup::after {
      content: "";
      position: absolute;
      top: 21px;
      left: -9px;
      width: 0;
      height: 0;
      border-top: 9px solid transparent;
      border-bottom: 9px solid transparent;
      border-right: 9px solid #fff;
    }

/* ----------------------------------------
   ARROW RIGHT
---------------------------------------- */
    .gotb-bulb-wrapper.right .gotb-bulb-popup {
      right: 70px;
    }
    .gotb-bulb-wrapper.right .gotb-bulb-popup::before {
      content: "";
      position: absolute;
      top: 20px;
      right: -10px;
      width: 0;
      height: 0;
      border-top: 10px solid transparent;
      border-bottom: 10px solid transparent;
      border-left: 10px solid #4d4d44;
    }
    .gotb-bulb-wrapper.right .gotb-bulb-popup::after {
      content: "";
      position: absolute;
      top: 21px;
      right: -9px;
      width: 0;
      height: 0;
      border-top: 9px solid transparent;
      border-bottom: 9px solid transparent;
      border-left: 9px solid #fff;
    }


/* Homepage - Tilted images */
.tilt-on-scroll img {
  transform: perspective(1000px);
  transition: transform 0.8s ease, opacity 0.8s ease;
  will-change: transform, opacity;
  opacity: 1; /* Change this to 0 only once JS works */
}

/* Tilt Left */
.tilt-on-scroll.tilt-left img {
  transform: perspective(1000px) rotateZ(-6deg);
}

/* Tilt Right */
.tilt-on-scroll.tilt-right img {
  transform: perspective(1000px) rotateZ(6deg);
}

/* When in view – remove tilt and fade in */
.tilt-on-scroll.in-view img {
  transform: perspective(1000px) rotateZ(0deg);
  opacity: 1;
}








.interactive-bulb-map {
  position: relative;
  max-width: 100%;
}
.interactive-bulb-map .bulb {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffcc00;
  transition: transform 0.3s ease;
}
.interactive-bulb-map .bulb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.6);
}


.gotb-bulb-network {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 700px;
  margin: 0 auto;
  padding: 2rem 0;
}

.bulb-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  stroke: #ccc;
  stroke-width: 2;
  stroke-dasharray: 6 4; /* Dashed line: 6px dash, 4px gap */
  z-index: 0;
}

.bulb {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.bulb img {
  width: 60px;
  height: 60px;
  margin-bottom: 6px;
}
.bulb span {
 font-size: 17px;
    font-family: 'Bryant Pro Bold';
  line-height: 1.1;
   color: #ffffff;
}
.bulb:hover {
  transform: scale(1.2);
  z-index: 5;
   color: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
@media screen and (max-width: 768px) {
  .bulb {
    width: 70px;
    height: 70px;
  }
  .bulb img {
    width: 24px;
    height: 24px;
  }
  .bulb span {
    font-size: 12px;
  }
}




.bubble-section {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 2/1;
  margin: 0 auto;
}

.bubble-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.bubble-lines line {
  stroke: #ccc;
  stroke-width: 2;
  stroke-dasharray: 6 4;
  animation: dashmove 8s linear infinite;
}

@keyframes dashmove {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -20;
  }
}

.bubble {
  position: absolute;
  width: 110px;
  height: 110px;
  background: #f90;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 2;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.bubble img {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}

/* Bigger center bubble */
.bubble.center {
  width: 140px;
  height: 140px;
  font-size: 1rem;
}

/* Positions */
.bubble.center       { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.bubble.top-left     { top: 10%; left: 10%; }
.bubble.top-right    { top: 10%; right: 10%; }
.bubble.bottom-left  { bottom: 10%; left: 10%; }
.bubble.bottom-right { bottom: 10%; right: 10%; }
.bubble.top-center   { top: 0; left: 50%; transform: translateX(-50%); }


/* Ensure the page wrapper fills the viewport */
.site-inner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Make the content area push the footer */
.content-area {
  flex: 1 0 auto;
}

/* Footer reveal effect */
.site-footer {
  flex-shrink: 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  position: relative;
  z-index: 10;
}

/* Reveal footer when scrolled to bottom */
body.footer-reveal-active .site-footer {
  transform: translateY(0);
}
.logo-parallax {
  display: inline-block;
  will-change: transform;
  position: relative;
  z-index: 5;
 max-width: 420px; /* adjust to fit your logos */
}
.gradient-text {    background-image: linear-gradient(90deg, #6b52c7 0%, #1f9dc8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;}
    
    
.glow-btn-wrapper {
  position: relative;
  display: inline-block;
  border-radius: 50px;
}

.glow-btn {
  display: block;
  font-size: 30px;
  line-height: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 34px 62px 32px;
  background-color: #000;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

/* Gradient border / glow layer */
.glow-btn-bg {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 55px;
  background: linear-gradient(
    90deg,
    #ff8038 0%,
    #ff0099 30.43%,
    #00ebeb 68.23%,
    #db00ff 100%
  );
  background-size: 600% 600%;
  animation: AnimateBorder 4s ease infinite;
  z-index: 1;
  transition: filter 0.4s ease-in, opacity 0.4s ease-in;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding: 2px; /* makes it appear as border */
  box-sizing: border-box;
}

/* Hover → blurred glow */
.glow-btn-wrapper:hover .glow-btn-bg {
  -webkit-mask: none;
  mask: none;
  padding: 0;
  filter: blur(12px);
}
/* Keep text white on hover/focus/active */
.glow-btn:hover,
.glow-btn:focus,
.glow-btn:active {
  color: #fff !important;
}

/* Gradient animation */
@keyframes AnimateBorder {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

* {
  box-sizing: border-box;
}

.spacer {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

.indicator {
  font-size: 2rem;
  text-align: center;
}

.indicator-icon {
  display: block;
  margin: 0 auto;
  height: 24px;
  width: 24px;
}

.text-container {
  min-height: 200vh;
  text-align: center;
}

.blurry-text {
  font-size: clamp(42px, 12.5vw, 250px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color:white;
}

.gradient-text {
color:white;
}
figure {
    margin: 0;
}
blockquote {
    padding-left: 1px!important;
    border-left: 0px!important;
    margin-top: -10px!important;
}
.fullimage-container {
  position: relative;
  margin-bottom: 40px;
}

.fullimage-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.browser-top {
  width: 100%;
  max-width: 1100px;
  display: block;
  margin: 0 auto;
}

.fullimage {
  width: 100%;
  height: 800px;
  background-size: cover;
  background-position: top center;
}
/* Portfolio Meta Styling */
.portfolio-meta {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #555;
}

.portfolio-meta .sep {
  color: #aaa;
  margin: 0px;
}

.portfolio-meta a {
  color: #444;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

/* === Clean Shine Hover Effect (no dark overlay) === */
.hover-shine {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 10px; /* adjust corner rounding */
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08); /* subtle shadow */
}

/* Ensure Kadence featured image link still works */
.hover-shine a {
  display: block;
  position: relative;
  z-index: 1;
  border-radius: inherit;
}

/* Image styling */
.hover-shine img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: inherit;
  transition: transform 0.6s ease;
}

/* Shine streak */
.hover-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 100%
  );
  transform: skewX(-25deg);
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
}

/* Hover animation */
.hover-shine:hover::before {
  animation: shine 0.75s forwards;
}

.hover-shine:hover img {
  transform: scale(1.05);
}

/* Shine animation keyframes */
@keyframes shine {
  100% {
    left: 125%;
  }
}
.kb-buttons-wrap {
    margin-top: 15px;
}
ul, ol {
    margin: 1.5em 0 1.5em 1.5em!important;
    padding: 0;
}

/* Site-wide fix, not landing-page-specific: Kadence's parent theme sets
   a:hover,a:focus,a:active { color: var(--global-palette-highlight-alt) }
   which is more specific than .geeks-btn's own color:#fff, so button text
   goes dark on hover/focus anywhere .geeks-btn is used. common.css already
   patches :active but not :hover/:focus - patching that gap here since this
   stylesheet loads after the parent theme's. */
.geeks-btn:hover,
.geeks-btn:focus {
    color: #fff;
}

/* =Landing Page template (page-landing.php)
   Section colors are matched to the supplied reference design and are
   intentionally distinct blocks (hero / features / closing), not a
   single-accent system.
------------------------------------------------------- */
:root {
    --landing-orange-top: #f6a326;
    --landing-orange-bottom: #f0470b;
    --landing-blue: #0069b4;
    --landing-purple-start: #c93ce0;
    --landing-purple-end: #3a1177;
    --landing-ink: #1b1b1b;
    --landing-radius: 14px;
    /* Aged-paper look for the flip cards, matching the sepia sketch icons */
    --landing-paper: #f2e6c8;
    --landing-paper-border: #2c4262;
    --landing-paper-ink: #2c4262;
}

.landing-page {
    overflow: hidden;
}

/* --- Hero ---
   Content is pinned to the bottom of the band (not vertically centered),
   using the same max-width/side-padding as every other section below it. */
.landing-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 34vh;
    padding: 32px 24px 0;
    background: linear-gradient(160deg, var(--landing-orange-top) 0%, var(--landing-orange-bottom) 100%);
    background-size: cover;
    background-position: center;
    color: #fff;
}
.landing-hero[style*="--landing-hero-image"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--landing-hero-image);
    background-size: cover;
    background-position: center;
    mix-blend-mode: multiply;
    opacity: 0.5;
    pointer-events: none;
}
.landing-hero-inner {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}
.landing-eyebrow {
    font-size: 0.88rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 18px;
    opacity: 0.9;
}
.landing-hero-heading {
    position: relative;
    z-index: 3;
    font-family: 'Anton', sans-serif;
    font-size: clamp(3.25rem, 9vw, 6.5rem);
    line-height: 0.9;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    /* Negative bottom margin lets the oversized type bleed past the hero's
       own edge into the section below - z-index above keeps it painted on
       top of that section's background instead of getting covered by it. */
    margin: 0 0 -0.05em;
    color: #fff;
}
.landing-hero-subheading {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 46ch;
    margin: 20px 0 28px;
    opacity: 0.95;
}
/* Visual style (color, radius, hover glow, ripple) comes from .geeks-btn
   (assets/css/common.css + assets/js/common.js), shared with the rest of
   the site. These rules only handle placement within the section. */
.landing-hero-cta {
    margin-top: 4px;
}

/* --- Reveal on scroll (IntersectionObserver-driven, see landing-reveal.js) ---
   .reveal-up is visible by default. JS adds .reveal-armed right before it
   starts observing, so if the script never runs (blocked, errors, cache miss
   on this file), content stays visible instead of disappearing. */
.reveal-up.reveal-armed {
    opacity: 0.4;
    transform: translateY(14px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.reveal-armed.in-view {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal-up.reveal-armed {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --- Intro split (image left / copy right) ---
   White fills the full section width edge-to-edge; only the grid content
   is constrained/centered to the shared 1200px container. */
.landing-intro {
    padding: 140px 24px;
    background-color: #fff;
}
.landing-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.landing-intro-media img,
.landing-fit-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--landing-radius);
}
.landing-intro-heading,
.landing-fit-heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--landing-ink);
}
.landing-intro-text,
.landing-fit-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #4a4a4a;
    max-width: 52ch;
}
.landing-intro-cta {
    margin-top: 20px;
}

/* --- Flip-card feature band --- */
.landing-features {
    position: relative;
    padding: 70px 24px;
    background-color: var(--landing-blue);
    /* Blueprint/graph-paper grid, matching the homepage's blue flip-box
       section: fine 1px lines every 20px, bolder lines every 160px.
       background-attachment: fixed gives the grid a parallax feel - it
       stays pinned to the viewport while the cards scroll over it. Degrades
       gracefully to a normal scrolling background on iOS Safari, which
       doesn't support fixed backgrounds - no breakage, just no parallax. */
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 160px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 160px),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 20px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 20px);
    background-attachment: fixed;
}
.landing-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: start;
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}
.landing-flip-card {
    perspective: 1400px;
    /* Fallback before JS measures content; landing-reveal.js sets an exact
       px height per card so front/back never overlap regardless of how
       much back-of-card text/bullets there are. */
    min-height: 280px;
    outline: none;
}
.landing-flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}
.landing-flip-card:hover .landing-flip-card-inner,
.landing-flip-card:focus-visible .landing-flip-card-inner,
.landing-flip-card.is-flipped .landing-flip-card-inner {
    transform: rotateY(180deg);
}
.landing-flip-card-front,
.landing-flip-card-back {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: var(--landing-paper);
    border: 1px solid var(--landing-paper-border);
    border-radius: var(--landing-radius);
    /* Double-line "old paper" frame, echoing the sketch-card border */
    box-shadow:
        inset 0 0 0 4px var(--landing-paper),
        inset 0 0 0 5px var(--landing-paper-border),
        0 10px 30px rgba(0, 0, 0, 0.12);
    backface-visibility: hidden;
}
.landing-flip-card-front {
    /* Top-align so titles start at the same height across all cards,
       regardless of whether a title wraps to one or two lines. */
    justify-content: flex-start;
}
.landing-flip-card-back {
    transform: rotateY(180deg);
    justify-content: flex-start;
    overflow-y: auto;
}
.landing-feature-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 18px;
    border-radius: 8px;
    overflow: hidden;
}
.landing-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.landing-feature-title {
    font-family: 'Anton', sans-serif;
    font-size: 1.35rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--landing-paper-ink);
    text-align: center;
    line-height: 1.1;
    margin: 0 0 18px;
}
.landing-feature-caption {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--landing-paper-ink);
    text-align: center;
    line-height: 1.4;
    margin: 14px 0 0;
}
.landing-feature-back-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--landing-paper-ink);
    text-align: left;
    line-height: 1.4;
    margin: 0 0 12px;
    width: 100%;
}
.landing-feature-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--landing-paper-ink);
    margin: 0;
    text-align: left;
}
.landing-feature-list {
    font-size: 1rem !important;
    line-height: 1.6;
    color: var(--landing-paper-ink);
    text-align: left;
    margin: 0 !important;
    padding-left: 18px !important;
    list-style-type: disc !important;
    list-style-position: outside !important;
}
.landing-feature-list li {
    display: list-item !important;
    list-style-type: disc !important;
    margin-bottom: 6px;
}
.landing-feature-list li:last-child {
    margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
    .landing-flip-card-inner {
        transition: none;
    }
}

/* Touch devices: no hover, tap toggles .is-flipped via landing-reveal.js */
@media (hover: none) {
    .landing-flip-card:hover .landing-flip-card-inner {
        transform: none;
    }
}

/* --- Fit split (copy left / image right) ---
   White fills the full section width edge-to-edge; only the grid content
   is constrained/centered to the shared 1200px container. */
.landing-fit {
    padding: 140px 24px;
    background-color: #fff;
}
.landing-fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    gap: 96px;
    align-items: center;
}
.landing-fit-bullets {
    margin: 18px 0 24px !important;
    padding-left: 20px !important;
    color: #4a4a4a;
    font-size: 1.2rem;
    line-height: 1.6;
}
.landing-fit-cta {
    margin-top: 6px;
}

/* --- Showcase (between testimonials and closing CTA): portfolio items
   left, copy + CTA right - same split pattern as intro/fit. --- */
.landing-showcase {
    padding: 90px 24px;
    background-color: #fff;
    text-align: left;
}
.landing-showcase-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.landing-showcase-heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 18px;
    color: var(--landing-ink);
}
.landing-showcase-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #4a4a4a;
    max-width: 52ch;
    margin: 0 0 28px;
}
.landing-showcase-cta {
    margin-top: 4px;
}

/* --- Closing CTA --- */
.landing-closing-cta {
    padding: 100px 24px;
    text-align: center;
    background: linear-gradient(115deg, var(--landing-purple-start) 0%, var(--landing-purple-end) 100%);
    color: #fff;
}
.landing-closing-inner {
    max-width: 800px;
    margin: 0 auto;
}
.landing-closing-heading {
    font-family: 'Anton', sans-serif;
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
    margin-bottom: 20px;
    color: #fff;
}
.landing-closing-subtext {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.92;
    max-width: 600px;
    margin: 0 auto 28px;
}
.landing-closing-cta-button {
    margin-top: 4px;
}

/* Matches the compressed card spread in testimonials.js (top values scaled
   to ~30% of the homepage's range) - much shorter than the homepage's
   180vh, since cards now cluster within view instead of needing a huge
   scroll canvas to reveal a few at a time. */
/* Desktop only, matching testimonials.css's own 1200px breakpoint - below
   that it switches to the swipeable single-card mobile layout and wants
   height:initial (its own mobile reset), which this would otherwise
   override due to higher specificity. */
@media (min-width: 1201px) {
    .landing-page .testimonials-section {
        height: 1180px;
    }
}

/* --- Testimonials prequel heading: centered to match the homepage's
   treatment. The overlap/nudge (position + bottom offset) now comes from
   the native .testimonials-block .dekstop-headline rule in
   testimonials.css, since the markup is wrapped in .testimonials-block -
   no need to duplicate that value here. */
.landing-page .testimonials-prequel .dekstop-headline {
    text-align: center;
    letter-spacing: normal;
}

/* --- Mobile collapse --- */
@media (max-width: 768px) {
    .landing-intro,
    .landing-fit,
    .landing-showcase {
        padding-top: 64px;
        padding-bottom: 64px;
    }
    .landing-intro-grid,
    .landing-fit-grid,
    .landing-showcase-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .landing-intro-media,
    .landing-fit-media {
        display: none;
    }
    .landing-intro-copy,
    .landing-fit-copy {
        padding-bottom: 28px;
    }
    .landing-hero {
        min-height: 22vh;
        padding: 24px 20px 0;
    }
    .landing-hero-heading {
        font-size: 2.75rem;
    }
    .landing-flip-card-front,
    .landing-flip-card-back {
        align-items: flex-start;
    }
    .landing-feature-title,
    .landing-feature-caption {
        text-align: left;
    }
    .landing-page .testimonials-section .mobile-headline {
        text-align: left;
        padding-left: 24px;
    }
    .landing-closing-cta {
        text-align: left;
    }
    .landing-closing-inner {
        margin: 0;
    }
}

/* --- [gotb_recent_portfolio] shortcode --- */
.gotb-recent-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    text-align: left;
}
.gotb-recent-portfolio-item {
    display: block;
    text-decoration: none;
    color: inherit;
}
.gotb-recent-portfolio-item img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 12px;
}
.gotb-recent-portfolio-title {
    display: block;
    font-weight: 600;
}
.gotb-recent-portfolio-fallback {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}