
/* ===== FIRST SCREEN REBUILT FROM THE REFERENCE ===== */
.hero-v6{
  position:relative;
  width:100%;
  height:100svh;
  min-height:700px;
  max-height:1100px;
  overflow:hidden;
  color:#fff;
  background:#123c51;
  isolation:isolate;
}
.hero-v6__bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 54%;
  z-index:-3;
  filter:saturate(.92) contrast(1.03);
}
.hero-v6__overlay{
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(90deg,rgba(5,31,45,.58) 0%,rgba(5,31,45,.14) 58%,rgba(5,31,45,.18) 100%),
    linear-gradient(180deg,rgba(7,35,48,.34) 0%,rgba(7,35,48,.02) 34%,rgba(6,25,36,.54) 100%);
}
.hero-v6__header{
  position:absolute;
  z-index:20;
  top:0;
  left:50%;
  transform:translateX(-50%);
  width:var(--container);
  height:82px;
  display:grid;
  grid-template-columns:200px 1fr auto;
  align-items:center;
  gap:24px;
  border-bottom:1px solid rgba(255,255,255,.24);
}
.hero-v6__brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.hero-v6__mark{
  width:38px;height:38px;border-radius:50%;
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.68);
  font-size:11px;font-weight:800;
}
.hero-v6__brand strong{
  display:block;
  font:600 17px Oswald,sans-serif;
  letter-spacing:.16em;
}
.hero-v6__brand small{
  display:block;
  margin-top:2px;
  font-size:6px;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.66);
}
.hero-v6__nav{
  display:flex;
  justify-content:center;
  gap:28px;
  font-size:8px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.hero-v6__nav a{opacity:.78;transition:.2s ease}
.hero-v6__nav a:hover{opacity:1}
.hero-v6__top-cta{
  min-height:40px;
  padding:0 15px 0 17px;
  border:1px solid rgba(255,255,255,.48);
  border-radius:999px;
  display:flex;
  align-items:center;
  gap:12px;
  font-size:8px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  transition:.24s ease;
}
.hero-v6__top-cta span{
  width:22px;height:22px;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(255,255,255,.13);
}
.hero-v6__top-cta:hover{background:#fff;color:#113347}
.hero-v6__menu{
  display:none;
  width:42px;height:42px;border-radius:50%;
  border:1px solid rgba(255,255,255,.5);
  background:rgba(255,255,255,.08);color:#fff;
  backdrop-filter:blur(8px);
}
.hero-v6__content{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  top:50%;
  width:var(--container);
  translate:0 -42%;
}
.hero-v6__copy{
  max-width:650px;
}
.hero-v6__eyebrow{
  font-size:8px;
  font-weight:800;
  letter-spacing:.19em;
  text-transform:uppercase;
  color:rgba(255,255,255,.72);
}
.hero-v6__copy h1{
  margin:12px 0 0;
  font:500 clamp(68px,6.8vw,104px)/.82 "Cormorant Garamond",serif;
  letter-spacing:-.055em;
}
.hero-v6__copy h1 span{display:block}
.hero-v6__copy h1 em{
  display:block;
  margin-top:6px;
  font:600 italic .58em/1 Caveat,cursive;
  letter-spacing:-.02em;
  color:#76d2e7;
  transform:rotate(-2deg);
}
.hero-v6__copy p{
  margin:18px 0 0;
  max-width:430px;
  font-size:11px;
  line-height:1.7;
  color:rgba(255,255,255,.75);
}

/* Planner in the hero — custom controls, not native selects */
.hero-planner{
  position:relative;
  z-index:15;
  margin-top:24px;
  width:min(940px,100%);
  min-height:72px;
  display:grid;
  grid-template-columns:1.05fr 1fr 1.05fr .95fr 160px;
  align-items:stretch;
  border-radius:10px;
  background:#fff;
  box-shadow:0 20px 50px rgba(0,0,0,.2);
}
.planner-field-wrap{position:relative}
.planner-field{
  width:100%;height:72px;
  display:grid;
  grid-template-columns:30px 1fr 16px;
  gap:9px;align-items:center;
  padding:0 14px;
  background:#fff;
  border:0;
  border-right:1px solid #dce7eb;
  color:#183642;
  text-align:left;
}
.planner-field__icon{
  width:28px;height:28px;border-radius:50%;
  display:grid;place-items:center;
  color:#5b8ca2;
  background:#eef5f7;
  font-size:12px;
}
.planner-field__text small{
  display:block;
  font-size:6px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:#8ba0a9;
}
.planner-field__text strong{
  display:block;
  margin-top:3px;
  font-size:10px;
  color:#1d3743;
}
.planner-field__chev{
  color:#8399a2;
  font-size:12px;
}
.planner-popover{
  display:none;
  position:absolute;
  left:8px;right:8px;
  bottom:calc(100% + 8px);
  padding:7px;
  border-radius:12px;
  background:#fff;
  box-shadow:0 18px 36px rgba(7,31,42,.18);
}
.planner-popover.open{display:grid}
.planner-popover button{
  min-height:36px;
  padding:0 10px;
  border:0;
  border-radius:8px;
  background:transparent;
  text-align:left;
  color:#35515e;
  font-size:9px;
}
.planner-popover button:hover{background:#eef5f7}
.planner-search{
  border:0;
  border-radius:0 9px 9px 0;
  background:#37a8cf;
  color:#fff;
  padding:0 17px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  font-size:8px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  transition:.24s ease;
}
.planner-search b{
  width:24px;height:24px;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(255,255,255,.14);
  font-size:13px;
}
.planner-search:hover{background:#1d86ae}

.hero-v6__benefits{
  position:absolute;
  z-index:8;
  left:50%;bottom:0;
  transform:translateX(-50%);
  width:100%;
  min-height:88px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  padding:0 max(24px,calc((100vw - var(--container))/2));
  background:rgba(4,28,41,.46);
  border-top:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(10px);
}
.hero-benefit{
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 24px;
  border-right:1px solid rgba(255,255,255,.13);
}
.hero-benefit:last-child{border-right:0}
.hero-benefit__icon{
  width:34px;height:34px;border-radius:50%;
  display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.32);
  color:#bfe8f5;
  flex:none;
}
.hero-benefit b{
  display:block;
  font-size:9px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.hero-benefit small{
  display:block;
  margin-top:3px;
  color:rgba(255,255,255,.62);
  font-size:7px;
}

/* The next section can never peek into the initial viewport. */
.intro{margin-top:0!important}

@media(max-width:1180px){
  .hero-v6__header{grid-template-columns:180px 1fr auto}
  .hero-v6__nav{gap:18px}
  .hero-v6__top-cta{display:none}
  .hero-v6__header{grid-template-columns:180px 1fr auto}
  .hero-v6__menu{display:grid;place-items:center}
  .hero-v6__content{translate:0 -40%}
  .hero-planner{grid-template-columns:1fr 1fr 1fr 1fr 140px}
  .planner-field{padding:0 10px}
  .hero-benefit{padding:12px 16px}
}
@media(max-width:900px){
  .hero-v6{
    height:auto;
    min-height:100svh;
    padding-bottom:152px;
  }
  .hero-v6__header{
    position:relative;
    left:auto;transform:none;
    width:var(--container);
    grid-template-columns:1fr auto;
  }
  .hero-v6__nav{
    display:none;
    position:absolute;
    top:70px;left:0;right:0;
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
    padding:17px;
    border-radius:16px;
    background:rgba(7,31,44,.96);
    border:1px solid rgba(255,255,255,.16);
  }
  .hero-v6__nav.open{display:flex}
  .hero-v6__content{
    position:relative;
    left:auto;top:auto;
    transform:none;translate:none;
    width:var(--container);
    padding:76px 0 34px;
  }
  .hero-v6__copy h1{font-size:72px}
  .hero-planner{
    width:100%;
    grid-template-columns:1fr 1fr;
    border-radius:16px;
    overflow:visible;
  }
  .planner-field{border-bottom:1px solid #dce7eb}
  .planner-search{
    grid-column:1/-1;
    height:58px;
    border-radius:0 0 16px 16px;
  }
  .planner-popover{bottom:auto;top:calc(100% + 6px);z-index:50}
  .hero-v6__benefits{
    min-height:142px;
    grid-template-columns:1fr 1fr;
  }
  .hero-benefit:nth-child(2){border-right:0}
  .hero-benefit:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.13)}
}
@media(max-width:560px){
  .hero-v6{
    min-height:100svh;
    padding-bottom:190px;
  }
  .hero-v6__header{height:66px}
  .hero-v6__content{padding-top:58px}
  .hero-v6__eyebrow{font-size:7px}
  .hero-v6__copy h1{font-size:54px}
  .hero-v6__copy p{font-size:10px}
  .hero-planner{
    margin-top:20px;
    grid-template-columns:1fr;
  }
  .planner-field{height:58px;border-right:0}
  .planner-search{grid-column:auto;height:56px}
  .hero-v6__benefits{min-height:180px}
  .hero-benefit{padding:10px}
  .hero-benefit__icon{width:30px;height:30px}
  .hero-benefit b{font-size:8px}
}
