:root{
  --navy:#163B63;
  --green:#2B6A46;
  --green-dark:#215137;
  --light-blue:#EEF4FA;
  --light-gray:#F5F7FA;
  --text:#243241;
  --border:#E1E7EF;
  --danger:#C62828;
  --danger-bg:#FDECEA;
  --white:#ffffff;
}

html{scroll-behavior:smooth;}
*{box-sizing:border-box;}

body{
  margin:0;
  font-family:'Inter',system-ui,sans-serif;
  color:var(--text);
  line-height:1.6;
  background:#ebebee;
}

.site-shell{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  background:#fff;
  box-shadow:0 25px 60px rgba(0,0,0,.12);
}

.site-content{display:block;}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.container{
  max-width:1200px;
  margin:auto;
  padding:84px 30px;
}

h1{
  font-size:44px;
  font-weight:700;
  margin:0 0 6px;
  line-height:1.1;
}

h2{
  font-size:32px;
  font-weight:600;
  margin:0 0 20px;
  line-height:1.2;
}

h3{
  font-size:20px;
  font-weight:600;
  margin-top:0;
}

.header{
  position:sticky;
  top:0;
  z-index:1000;
  background:#fff;
  border-bottom:1px solid var(--border);
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:nowrap;
  min-height:76px;
}
.nav.container{padding: 0;}

.header nav{
  display:flex;
  align-items:center;
  gap:20px;
  margin-left:auto;
}

.logo-link{
  display:inline-flex;
  align-items:center;
  transition:opacity .2s ease;
  text-decoration:none;
}

.logo-link:hover{opacity:.9;}
.logo-mark{
  height:50px;
  width:auto;
  display:block;
}

.header nav a{
  display:inline-flex;
  align-items:center;
  margin-left:22px;
  text-decoration:none;
  color:var(--navy);
  padding-bottom:6px;
  font-weight:500;
  transition:color .2s ease, border-color .2s ease;
  border-bottom:3px solid transparent;
}

.header nav a:not([href="#stay-in-touch"]):hover{color:var(--green);}
.header nav a.active{border-bottom-color:var(--green);}

.header nav a[href="#stay-in-touch"]{
  background:var(--green);
  color:#fff;
  padding:10px 20px;
  border-radius:8px;
  border:1px solid var(--green);
  font-weight:600;
  transition:background .2s ease, color .2s ease, transform .2s ease;
  margin-left:20px;
}

.header nav a[href="#stay-in-touch"]:hover,
.header nav a[href="#stay-in-touch"].active{
  background:var(--green-dark);
  border-color:var(--green-dark);
  color:#fff;
}

.hero{
  padding:0;
  background-image: url('hero.jpg');
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 1200px auto;
}

.hero-inner.container{padding: 0;}
.hero-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}

.hero-image img{
  width:100%;

  border-radius:10px;
  box-shadow:0 10px 28px rgba(0,0,0,.12);
  background:#dfe8f2;
  min-height:360px;
  object-fit:cover;
}

.hero-content h2{
  color:var(--green);
  font-size:22px;
  margin-bottom:18px;
  text-transform:uppercase;
  letter-spacing:.03em;
}

.hero-content p{
  font-size:21px;
  margin-bottom:28px;
}

.hero-content{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
/*  padding-right: 50px;*/
}

.hero-content .button{
  margin-top:10px;
}
.hero-content .logo{
  display: block;
  width: 400px;
  margin: 30px auto 30px;
}

.button, .submit-button{
  background:var(--green);
  color:#fff;
  padding:14px 26px;
  border-radius:8px;
  font-weight:600;
  text-decoration:none;
  transition:all .2s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:none;
  cursor:pointer;
}

.button:hover, .submit-button:hover{
  background:var(--green-dark);
  transform:translateY(-2px);
}

.section{padding:0;}
.section .container{
  background:#fff;
}
.alt .container{background:var(--light-gray);}

.about-content{max-width:none;}
.about .container {padding-top: 50px;}

.about-layout{
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);
  gap:40px;
  align-items:start;
}

.about-text p:first-child{margin-top:0;}

.about-body{
  max-height:var(--about-collapsed-height, 520px);
  overflow:hidden;
  transition:max-height .35s ease;
  position:relative;
}

.about-body.expanded{
  max-height:none;
}

.about-body::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:90px;
  background:linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 65%);
  pointer-events:none;
  opacity:1;
  transition:opacity .25s ease;
}

.alt .about-body::after{
  background:linear-gradient(180deg, rgba(245,247,250,0) 0%, rgba(245,247,250,1) 65%);
}

.about-body.expanded::after{
  opacity:0;
}

.about-rail{
  display:flex;
  flex-direction:column;
  gap:24px;
}

.about-photo{
  margin-top: 0;
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}

.about-photo img{
  width:100%;
  height:auto;
  display:block;
}

.about-photo figcaption{
  padding:14px 16px;
  font-size:14px;
  font-weight:500;
  color:var(--navy);
}

.about-photo.placeholder{
  border-style:dashed;
  border-color:#b9c6d7;
  background:var(--light-gray);
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:220px;
}

.about-photo-placeholder{
  padding:20px;
  text-align:center;
  color:#5f6f82;
  display:flex;
  flex-direction:column;
  gap:6px;
  font-weight:500;
}

.about-photo-placeholder small{
  font-weight:400;
  font-size:13px;
}

.about-rail:not(.show-all) .about-photo[data-more="true"]{
  display:none;
}

.about-gallery-note{
  margin-top:14px;
  font-size:14px;
  color:#4b5a6c;
}

.link-button{
  background:var(--light-blue);
  border:1px solid var(--green);
  color:var(--green);
  font-weight:600;
  padding:10px 18px;
  border-radius:6px;
  margin-top:8px;
  cursor:pointer;
  transition:color .2s ease, transform .2s ease, background .2s ease;
}
.about-text .link-button{
  margin-top:0px;
}

.link-button:hover{
  color:#fff;
  background:var(--green);
  border-color:var(--green);
  transform:translateY(-1px);
}

.priority-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.priority-card{
  background:#fff;
  padding:32px 26px;
  border-radius:14px;
  border:1px solid var(--border);
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
  text-align:center;
  color:inherit;
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:center;
}

.priority-card:hover,
.priority-card:focus-visible{
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(0,0,0,.08);
  border-color:#d4dee7;
  outline:none;
}

.priority-card.is-active{
  background:#f8fbf9;
  border-color:var(--green);
}

.priority-icon{
  display:flex;
  justify-content:center;
  align-items:center;
  height:60px;
  margin-bottom:2px;
}

.priority-icon img{
  display:block;
  height:100%;
  width:auto;
  transition:transform .25s ease;
}

.priority-card:hover .priority-icon img,
.priority-card:focus-visible .priority-icon img{
  transform:translateY(-4px);
}

.priority-card h3{
  margin:0;
  font-size:20px;
}

.priority-card p{
  margin:0;
  font-size:15px;
  line-height:1.5;
}

.priority-details{
  display:none;
}

.learn{
  color:var(--green);
  font-weight:600;
  margin-top:6px;
  display:inline-flex;
  align-items:center;
  gap:4px;
  transition:.2s;
}

.priority-card:hover .learn,
.priority-card:focus-visible .learn{
  text-decoration:underline;
  transform:translateX(2px);
}

.priority-panel{
  display:block;
  margin-top:30px;
  background:var(--light-gray);
  border-radius:12px;
  padding:0;
  height:0;
  overflow:hidden;
  transition:height .3s ease, padding .3s ease;
  position:relative;
}

.alt .priority-panel{
  background:#fff;
}

.priority-panel.open{
  padding:28px;
}

#panel-close{
  position:absolute;
  top:16px;
  right:16px;
  width:36px;
  height:36px;
  border-radius:50%;
  background:rgba(255,255,255,.9);
  border:1px solid var(--border);
  color:var(--green);
  font-size:20px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  transition:background .2s ease, transform .2s ease;
}

#panel-close:hover,
#panel-close:focus-visible{
  background:#fff;
  transform:scale(1.05);
}

.priority-panel-content{
  padding-top:12px;
}

.priority-panel-content h3{
  margin-top:0;
}

.priority-panel-content ul{
  padding-left:20px;
}

.experience-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,420px);
  gap:60px;
  align-items:center;
}

.experience-column,
.contact-column{
  min-width:0;
}

.experience-list{
  padding-left:20px;
  margin:0;
}

.experience-media img{
  width:100%;
  border-radius:16px;
  box-shadow:0 16px 34px rgba(0,0,0,.12);
  object-fit:cover;
  min-height:260px;
}

.experience-media-note{
  font-size:14px;
  color:#4b5a6c;
  margin-top:10px;
}

.contact-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,520px);
  gap:60px;
  align-items:start;
}

.contact-overview h2{
  margin-top:0;
}

.contact-note{
  font-weight:600;
  color:var(--green);
}

.contact-note a,
.brand-link{
  color:var(--navy);
  text-decoration:none;
  border-bottom:1px solid rgba(36,50,65,.25);
  padding-bottom:2px;
  transition:color .2s ease, border-color .2s ease;
}

.contact-note a:hover,
.brand-link:hover{
  color:var(--green);
  border-color:var(--green);
}

.form-wrapper{
  max-width:480px;
  width:100%;
  min-height:360px;
}

.contact-intro{
  margin-top:0;
  margin-bottom:22px;
}

.form-error{
  display:none;
  background:var(--danger-bg);
  border-left:4px solid var(--danger);
  color:#842029;
  padding:14px 16px;
  margin-bottom:20px;
  border-radius:6px;
  font-weight:500;
}

#contact-form{transition:opacity .2s ease;}

#contact-form.hide{
  opacity:0;
  pointer-events:none;
  position:absolute;
  inset:0;
}

#contact-form.loading input,
#contact-form.loading textarea,
#contact-form.loading button{pointer-events:none;}

#contact-form.loading input,
#contact-form.loading textarea{opacity:.65;}

input, textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--border);
  margin-bottom:14px;
  border-radius:6px;
  font:inherit;
  transition:border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

input:focus, textarea:focus{
  outline:none;
  border-color:var(--green);
  box-shadow:0 0 0 3px rgba(43,106,70,.15);
}

input.error, textarea.error{
  border:2px solid var(--danger);
  background:var(--danger-bg);
}

textarea{resize:vertical;}

.spinner{
  display:none;
  width:16px;
  height:16px;
  border:2px solid rgba(255,255,255,.7);
  border-top-color:transparent;
  border-radius:50%;
  animation:spin .8s linear infinite;
}

.submit-button.loading .spinner{display:inline-block;}
.submit-button.loading .btn-text{opacity:.75;}

@keyframes spin{to{transform:rotate(360deg);}}

.form-success{
  display:none;
  padding:24px;
  border-radius:12px;
  border:1px solid #cfe8da;
  background:#f3faf5;
  margin-top:20px;
  box-shadow:0 12px 24px rgba(22,59,99,.08);
  opacity:0;
  transform:translateY(10px);
  transition:opacity .35s ease, transform .35s ease;
}

.form-success.show{
  display:block;
  opacity:1;
  transform:translateY(0);
}

.form-success h3{
  margin:0 0 12px;
  color:var(--green);
  font-size:22px;
  display:flex;
  align-items:center;
  gap:10px;
}

.form-success p{
  margin:0;
  color:#344658;
}

.form-success-icon{
  width:28px;
  height:28px;
  border-radius:50%;
  background:var(--green);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
}

footer{
  background:var(--navy);
  color:#fff;
  padding:0;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:30px 0;
  gap:20px;
}

.footer-note{
  margin:8px 0 0;
  font-size:13px;
  opacity:.75;
}

.footer-logo{
  width:140px;
  display:block;
  margin-bottom:5px;
}

footer nav a{
  color:#fff;
  opacity:.85;
  transition:opacity .2s ease;
  text-decoration:none;
  margin-right:10px;
}

footer nav a:hover{
  opacity:.68;
}


@media (max-width: 1200px){
  .nav.container{
    padding-right:10px;
    padding-left:10px;
  }
  .footer-inner{
    padding: 30px;
  }
}

footer nav a[href="#stay-in-touch"]{
  background:none !important;
  color:#fff;
  padding:0;
  border:none;
  font-weight:500;
}

footer nav a[href="#stay-in-touch"]:hover{
  color:#fff;
}

@media (max-width: 630px){
  .footer-inner{
    flex-wrap:wrap;
    gap:16px;
  }

  footer nav{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:8px;
  }

  footer nav a{
    margin-right:0;
  }
}

@media (max-width: 900px){
  .hero-inner,
  .priority-grid,
  .experience-layout,
  .contact-grid{
    grid-template-columns:1fr;
  }

  .about-rail{
/*    margin-top:20px;*/
  }

  .hero{padding:72px 0;}
  .hero-inner{gap:40px;}
  .hero-content p{font-size:18px;}
  .form-wrapper{max-width:none;}

  .header nav a{
    margin-left:0;
    margin-right:18px;
  }

  .hero-content{
    align-items:flex-end;
    text-align:right;
    max-width:60%;
    margin-left:auto;
  }

  .hero-content .logo{
    width:260px;
    margin:0 0 30px auto;
    align-self:flex-end;
  }

  .hero-content .button{
    align-self:center;
    margin:0;
  }
}

@media (max-width: 800px){
  .header nav a[href="#hero"]{
    display:none;
  }
}

@media (max-width: 700px){
  .about-layout{
    grid-template-columns:1fr;
  }

  .logo-mark{
    height:40px;
  }

  .logo-link{
    margin-right:10px;
  }

  .header nav a{
    display:none;
  }

  .header nav a[href="#stay-in-touch"]{
    display:inline-flex;
  }

  .hero{
    height: 320px;
    padding: 0;
  }
}

@media (max-width: 640px){
  .hero{
    height: auto;
    background-image:url('hero-small.jpg');
    background-size:cover;
    background-position:center;
    padding:0;
  }

  .hero-inner.container{
    grid-template-columns:1fr;
    text-align:center;
    gap:30px;
    width:100%;
    padding: 10px 0;
  }

  .hero-content{
    align-items:center;
    max-width:none;
    margin: auto;
    width:100%;
    max-width: none;
    justify-self:stretch;
  }

  .hero-content .logo{
    width:220px;
    margin:0 auto 24px;
  }

  .hero-content .button{
    margin:0 auto;
  }
}

@media (min-width: 641px){
  .hero-content{padding-right: 50px;}
}

@media (min-width: 701px){
  .about-rail .about-photo:first-of-type{maring-top:0;}
}

@media (min-width: 801px){
  .hero{min-height: 420px;}
}
