:root{
--green:#33553d;
--charcoal:#2d363d;
--ivory:#fefefe;
--sage:#8d9f8a;
--border:rgba(45,54,61,.14);
--shadow:0 24px 60px rgba(18,24,28,.10);
--radius:24px;
}

*{
  box-sizing:border-box
}


html{
  scroll-behavior:smooth
}

body{
  margin:0;
  font-family:"Inter",system-ui,sans-serif;
  color:var(--charcoal);
  background:var(--ivory);
  line-height:1.6
}

img{
  max-width:100%;
  display:block
}

a{
  color:inherit;
  text-decoration:none
}

.container{
  width:min(1180px,calc(100% - 32px));
  margin-inline:auto
}


.skip-link{
  position:absolute;
  left:-999px;
  top:12px;
  background:var(--green);
  color:#fff;
  padding:10px 14px;
  border-radius:999px
}

.skip-link:focus{
  left:12px;
  z-index:20
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(18px);
  background:color-mix(in srgb, var(--ivory) 88%, transparent);
  border-bottom:1px solid var(--border)
}

.nav-wrap{
  display:flex;
  align-items:center;
  gap:16px;
  padding:14px 0
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-right:auto
}

.brand-logo{
  width:46px;
  height:46px;
  object-fit:contain
}

.brand-mark{
  display:flex;
  flex-direction:column;
  line-height:1
}

.brand-name,.brand-sub{
  font-family:"Cormorant Garamond",serif;
  letter-spacing:.03em
}

.brand-name{
  font-size:1.6rem;
  font-weight:700
}

.brand-sub{
  font-size:1.05rem;
  color:var(--green)
}

.site-nav{
  display:flex;
  gap:20px
}

.site-nav a{
  padding:10px 0;
  font-weight:600;
  opacity:.9
}

.site-nav a:hover,.site-nav a:focus{
  color:var(--green)
}

.nav-toggle,.btn{
  border:0;
  border-radius:999px;
  cursor:pointer;
  transition:.25s ease
}

.nav-toggle{
  display:none;
  width:46px;
  height:46px;
  padding:0;
  background:transparent;
  border:1px solid var(--border);
  flex-direction:column;
  justify-content:center;
  gap:4px
}

.nav-toggle span{
  width:18px;
  height:2px;
  background:var(--charcoal);
  margin:0 auto;
  border-radius:999px
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 22px;
  font-weight:800
}

.btn-primary{
  background:var(--green);
  color:#fff;
  box-shadow:var(--shadow);
  min-width: fit-content
}

.btn-secondary{
  background:transparent;
  border:1px solid var(--border);
  color:var(--charcoal)
}

.btn:hover{
  transform:translateY(-1px)
}

.hero,.page-hero,.section{
  padding:72px 0
}

.hero-grid,.page-hero-grid{
  display:grid;
  gap:32px;
  align-items:start
}

.split-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:24px;
  align-items:start;
}

.index-grid{
  display:grid;
  gap:24px;
  align-items:stretch;
}

.hero-grid{
  grid-template-columns:1.1fr .9fr
}

.page-hero-grid{
  grid-template-columns:1fr .9fr
}

.hero h1,.page-hero h1,h2{
  font-family:"Cormorant Garamond",serif;line-height:.95;
  letter-spacing:.01em
}

.hero h1,.page-hero h1{
  font-size:clamp(3rem,6vw,5.8rem);
  margin:.15em 0
}

h2{
  font-size:clamp(2.1rem,4vw,3.5rem);
  margin:0
}

h3{
  margin:.1em 0 .4em
}

.lead{
  font-size:1.08rem;
  max-width:62ch
}

.muted{
  opacity:.78
}

.eyebrow{
  display:inline-block;
  text-transform:uppercase;
  letter-spacing:.22em;
  font-size:.75rem;color:var(--green);
  font-weight:800;
  margin-bottom:14px
}

.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px
}

.hero-image,.page-hero-image,.figure-image{
  width:100%;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  object-fit:cover
}

.hero-image{
  min-height:540px
}

.page-hero-image{
  min-height:420px
}

.hero-visual{
  position:relative
}

.hero-card{
  position:absolute;
  right:-14px;
  bottom:-24px;
  width:min(48%,320px);
  background:color-mix(in srgb, var(--ivory) 88%, transparent);
  padding:14px;
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow:var(--shadow)
}

.diagram-image{
  border-radius:18px
}

.alt{
  background:color-mix(in srgb, var(--green) 4%, var(--ivory))
}

.section-head{
  max-width:760px;
  margin-bottom:24px
}

.principles-grid,.metrics-grid,.steps-grid{
  display:grid;
  gap:18px
}

.card-stack{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
}

.glass-card,.content-card,.step-card,.metric-card,.principle{
  background:color-mix(in srgb, var(--ivory) 92%, white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:24px
}

.form-card{
  background:color-mix(in srgb, var(--ivory) 92%, white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:24px;
}

.step-num{
  display:inline-flex;
  width:42px;
  height:42px;
  border-radius:50%;
  align-items:center;
  justify-content:center;
  background:var(--green);
  color:#fff;
  font-weight:800;
  margin-bottom:10px
}

.steps-grid{
  grid-template-columns:repeat(3,1fr)
}

.metrics-grid{
  grid-template-columns:repeat(2,1fr)
}

.metric-card{
  display:grid;
  grid-template-columns:110px 1fr;
  gap:16px;
  align-items:center;
  padding:12px
}

.metric-card img{
  width:110px;
  height:110px;
  border-radius:18px;
  object-fit:cover
}

.principles-grid{
  grid-template-columns:repeat(5,1fr)
}

.principle{
  text-align:left
}

.figure-image{
  margin-bottom:12px
}

.list-clean{
  list-style:none;
  padding:0;
  margin:0
}

.list-clean li{
  padding:.45rem 0;
  border-bottom:1px solid var(--border)
}

.form-card label{
  display:block;
  font-weight:700;
  font-size:.92rem
}

.form-card input,.form-card select,.form-card textarea{
  width:100%;
  margin-top:8px;
  padding:14px 15px;
  border-radius:16px;
  border:1px solid var(--border);
  background:transparent;
  color:inherit;
  font:inherit
}

.field-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px
}

.form-card textarea{
  resize:vertical
}

.cta-band{
  padding-top:0
}

.band-wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  border-radius:32px;
  padding:32px;
  background:linear-gradient(135deg,color-mix(in srgb, var(--green) 88%, black), var(--charcoal));
  color:#fff
}

.band-wrap .eyebrow,.band-wrap h2{
  color:#fff
}

.site-footer{
  padding:44px 0 56px;
  border-top:1px solid var(--border)
}

img.footer-logo {
    max-width: 64px;
}

.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:24px
}

.footer-grid h3{
  margin-top:0
}

.footer-grid a,.footer-grid p{
  display:block;
  margin:.35rem 0;
  opacity:.9
}

.reveal{
  opacity:0;
  transform:translateY(14px);
  transition:.7s ease
}

.reveal.show{
  opacity:1;
  transform:none
}

@media (max-width: 960px){
  .hero-grid,
  .page-hero-grid,
  .split-grid,
  .steps-grid,
  .metrics-grid,
  .principles-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .band-wrap{
    flex-direction:column;
    align-items:flex-start;
  }

  .hero-card{
    position:static;
    width:100%;
    margin-top:14px;
  }
}



@media (max-width: 760px){
  .nav-toggle{
    display:flex;
  }

  .site-nav{
    position:absolute;
    top:72px;
    left:16px;
    right:16px;
    background:var(--ivory);
    border:1px solid var(--border);
    border-radius:24px;
    padding:16px;
    display:none;
    flex-direction:column;
    box-shadow:var(--shadow);
  }

  .site-nav.open{
    display:flex;
  }

  .field-grid,
  .split-grid,
  .card-stack,
  .index-grid{
    grid-template-columns:1fr;
  }

  .field-grid{
    gap:12px;
  }

  .hero,
  .page-hero,
  .section{
    padding:54px 0;
  }

  .form-card,
  .content-card,
  .glass-card,
  .step-card,
  .metric-card,
  .principle{
    padding:18px;
  }

  .form-card input,
  .form-card select,
  .form-card textarea{
    padding:12px 13px;
  }

  .metric-card{
    grid-template-columns:1fr;
  }

  .metric-card img{
    width:100%;
    height:180px;
  }
}



/** Hero photo slider CSS **/


.hero-compare{
  width:min(100%, 560px);
  margin:0 auto;
}

.compare{
  --reveal:50%;
  --handle-size:42px;
  position:relative;
  width:100%;
  aspect-ratio:4 / 3;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  background:#ddd;
}

.compare__image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  pointer-events:none;
  user-select:none;
}

.compare__image--base{
  z-index:0;
}

.compare__image--top{
  z-index:1;
  clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--reveal)) 0 0);
}

.compare__separator{
  position:absolute;
  top:0;
  left:var(--reveal);
  width:2px;
  height:100%;
  background:rgba(255,255,255,.9);
  transform:translateX(-1px);
  z-index:2;
  pointer-events:none;
}

.compare__handle{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:var(--handle-size);
  height:var(--handle-size);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--green);
  color:#fff;
  font-size:1rem;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}

.compare__input{
  appearance:none;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  opacity:0;
  cursor:col-resize;
  z-index:3;
}

.compare__input::-webkit-slider-thumb{
  appearance:none;
  width:var(--handle-size);
  height:100%;
}

.compare__input::-moz-range-thumb{
  width:var(--handle-size);
  height:100%;
  border:none;
  background:transparent;
}

@media (max-width: 760px){
  .hero-compare{
    width:100%;
  }

  .compare{
    aspect-ratio:1 / 1;
  }
}

/** attempting to fix mobile slider issue **/

.compare__input{
  appearance:none;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  opacity:0;
  cursor:col-resize;
  z-index:3;
  touch-action:none;
  -webkit-tap-highlight-color:transparent;
}

.compare__input::-webkit-slider-thumb{
  appearance:none;
  width:48px;
  height:48px;
}

.compare__input::-moz-range-thumb{
  width:48px;
  height:48px;
  border:none;
  background:transparent;
}

/** Code for model page like carousel etc below
**/

.model-card{
  display:grid;
  grid-template-columns:minmax(280px, 420px) minmax(0, 1fr);
  gap:32px;
  align-items:stretch;
  padding:32px;
  background:color-mix(in srgb, var(--ivory) 92%, white);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.model-card__content{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:100%;
}

.model-card__title{
  margin:.1em 0 .35em;
}

.model-card__desc{
  margin:0;
  max-width:42ch;
}

.model-card__media{
  min-width:0;
}

.model-carousel{
  position:relative;
}

.model-carousel__track{
  display:flex;
  gap:16px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:none;
  border-radius:calc(var(--radius) - 6px);
}

.model-carousel__track::-webkit-scrollbar{
  display:none;
}

.model-carousel__slide{
  flex:0 0 100%;
  scroll-snap-align:start;
  width:100%;
  height:440px;
  object-fit:cover;
  border-radius:calc(var(--radius) - 6px);
}

.model-carousel__btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid var(--border);
  background:color-mix(in srgb, var(--ivory) 86%, white);
  box-shadow:var(--shadow);
  z-index:2;
}

.model-carousel__btn--prev{
  left:14px;
}

.model-carousel__btn--next{
  right:14px;
}

@media (max-width: 960px){
  .model-card{
    grid-template-columns:1fr;
  }

  .model-carousel__slide{
    height:320px;
  }
}