
:root{
  --navy:#102642;
  --blue:#0d8d99;
  --aqua:#10aeb1;
  --yellow:#f1b51a;
  --sand:#f6f1e8;
  --ink:#17304d;
  --white:#ffffff;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.55;
  overflow-x:hidden;
}

a{
  color:inherit;
}

/* HEADER */
.site-header{
  min-height:118px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  padding:14px clamp(24px,6vw,92px);
  background:#fff;
  border-bottom:1px solid rgba(16,38,66,.08);
  position:sticky;
  top:0;
  z-index:50;
}

.brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
}

.brand img{
  display:block;
  width:300px;
  max-width:32vw;
  height:auto;
  Max-height:none;
  object-fit:contain;
  object-position:left center;
}

nav{
  display:flex;
  gap:32px;
  align-items:center;
  font-size:14px;
  font-weight:700;
  letter-spacing:.03em;
  flex-wrap:wrap;
  justify-content:flex-end;
}

nav a{
  text-decoration:none;
}

nav a:hover{
  color:var(--blue);
}

/* HERO */
.hero{
  min-height:650px;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);
  background:linear-gradient(110deg,#f7f3e9 0%,#ffffff 58%);
}

.hero-copy{
  padding:clamp(70px,9vw,130px) clamp(28px,7vw,110px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.hero-image{
  min-height:650px;
  background:
    linear-gradient(90deg,#fff 0%,rgba(255,255,255,.15) 18%,rgba(255,255,255,0) 38%),
    url("assets/hero-coast.jpg") center/cover no-repeat;
}

.eyebrow{
  margin:0 0 18px;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:var(--blue);
  font-weight:800;
}

h1,h2,h3{
  margin-top:0;
  color:var(--navy);
  line-height:1.08;
}

h1{
  font-size:clamp(44px,5.5vw,82px);
  max-width:850px;
  margin-bottom:26px;
  letter-spacing:-.035em;
}

h2{
  font-size:clamp(30px,3.2vw,48px);
  letter-spacing:-.025em;
}

h3{
  font-size:21px;
}

.lead{
  font-size:clamp(17px,1.5vw,21px);
  max-width:700px;
  color:#51657a;
  margin-bottom:32px;
}

.button{
  display:inline-block;
  width:max-content;
  padding:14px 24px;
  border-radius:7px;
  background:var(--blue);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  box-shadow:0 8px 24px rgba(13,141,153,.18);
}

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

/* GENERAL SECTIONS */
.section{
  padding:90px clamp(24px,7vw,110px);
}

.about{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:80px;
  align-items:start;
}

.about-copy{
  font-size:18px;
  color:#465d72;
}

.about-copy p:first-child{
  font-size:22px;
  color:var(--ink);
  font-weight:650;
}

.centered{
  text-align:center;
  max-width:760px;
  margin:0 auto 48px;
}

/* SERVICES */
.services{
  position:relative;
  z-index:2;
  background:#fbfcfd;
  padding-top:90px;
  padding-bottom:110px;
  margin:0;
  clear:both;
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  max-width:1200px;
  margin:0 auto;
  align-items:stretch;
}

.service-card{
  position:relative;
  z-index:3;
  background:#fff;
  padding:38px 32px 34px;
  border:1px solid rgba(16,38,66,.08);
  border-radius:18px;
  box-shadow:0 14px 40px rgba(16,38,66,.06);
  min-height:290px;
  overflow:hidden;
}

.icon{
  width:52px;
  height:52px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#e9f7f7;
  color:var(--blue);
  font-size:26px;
  font-weight:800;
  margin-bottom:24px;
}

.service-card:nth-child(2) .icon{
  background:#fff5d9;
  color:#cc9200;
}

.service-card:nth-child(3) .icon{
  background:#eef2f6;
  color:var(--navy);
}

.service-card p{
  color:#5d7184;
}

/* CTA / SUNSET
   Important fixes:
   - normal document flow
   - no negative margin
   - no absolute overlap
   - hidden overflow
   - sunset image vertically repositioned to avoid showing the top part of the source image
*/
.cta{
  position:relative;
  z-index:1;
  clear:both;
  margin:0;
  min-height:540px;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  background:#8d321f;
  color:#fff;
  overflow:hidden;
  isolation:isolate;
}

.cta-photo{
  position:relative;
  min-height:540px;
  background-image:
    linear-gradient(90deg,rgba(111,36,26,0) 50%,rgba(141,50,31,.92) 100%),
    url("assets/sunset-sup.png");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center 86%;
}

.cta-copy{
  position:relative;
  z-index:2;
  padding:72px clamp(32px,6vw,90px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:linear-gradient(90deg,#8d321f 0%,#8d321f 100%);
}

.cta h2{
  color:#fff;
  max-width:620px;
  margin-bottom:22px;
}

.cta p{
  max-width:620px;
}

.script{
  color:#ffd874;
  font-family:Georgia,"Times New Roman",serif;
  font-size:24px;
  font-style:italic;
  margin:0 0 14px;
}

.contact{
  line-height:1.7;
}

.contact a{
  text-decoration:none;
  color:#fff;
}

.button.light{
  background:#fff;
  color:#7f2b1c;
  box-shadow:none;
  margin-top:12px;
}

/* FOOTER */
footer{
  position:relative;
  z-index:2;
  padding:30px clamp(24px,7vw,110px);
  background:var(--navy);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  font-size:13px;
}

.footer-brand{
  display:flex;
  flex-direction:column;
}

.footer-brand strong{
  letter-spacing:.06em;
}

.footer-brand span{
  opacity:.72;
}

footer p{
  margin:0;
  opacity:.65;
}

/* TABLET */
@media(max-width:900px){
  .site-header{
    min-height:96px;
    padding:12px 24px;
  }

  .brand img{
    width:240px;
    max-width:44vw;
    max-height:78px;
  }

  nav{
    gap:18px;
  }

  .hero{
    grid-template-columns:1fr;
  }

  .hero-copy{
    padding:62px 26px 46px;
  }

  .hero-image{
    min-height:430px;
  }

  .about{
    grid-template-columns:1fr;
    gap:24px;
  }

  .services{
    padding-bottom:84px;
  }

  .service-grid{
    grid-template-columns:1fr;
  }

  .service-card{
    min-height:0;
  }

  .cta{
    grid-template-columns:1fr;
  }

  .cta-photo{
    min-height:430px;
    background-position:center 82%;
  }

  .cta-copy{
    padding:58px 28px 64px;
  }
}

/* MOBILE */
@media(max-width:620px){
  .site-header{
    min-height:auto;
    padding:10px 18px;
    align-items:flex-start;
    flex-direction:column;
  }

  .brand img{
    width:220px;
    max-width:86vw;
    max-height:none;
  }

  nav{
    width:100%;
    font-size:12px;
    gap:14px;
    padding-top:2px;
    justify-content:flex-start;
  }

  h1{
    font-size:42px;
  }

  .hero-image{
    min-height:340px;
  }

  .section{
    padding:64px 22px;
  }

  .services{
    padding-top:64px;
    padding-bottom:72px;
  }

  .cta-photo{
    min-height:360px;
    background-position:center 80%;
  }

  .cta-copy{
    padding:48px 24px 58px;
  }

  footer{
    flex-direction:column;
    align-items:flex-start;
  }
}
