.portal .brand { color: #172f32; }
.portal .btn-primary {
  color: white;
  background: var(--mint-action);
  box-shadow: 0 4px 12px #08755f20;
}
.portal .btn-primary:hover { background: var(--mint-action-hover); }
.portal .btn-secondary {
  color: #184f46;
  background: #fff;
  border-color: #bddbd2;
}
.portal .btn-secondary:hover { background: #f4faf7; border-color: #5c9d8c; }
.portal button:focus-visible, .portal a:focus-visible, .portal summary:focus-visible {
  outline-color: var(--mint-focus);
}
.portal .masthead { border-color: #e6eeea; }
.portal-nav { align-self: stretch; display: flex; align-items: stretch; gap: clamp(20px, 2.5vw, 42px); }
.portal-nav > a, .industry-pop > summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  color: #354c50;
  font-size: .96rem;
  font-weight: 575;
  white-space: nowrap;
}
.portal-nav > a[aria-current], .portal-nav a:hover, .industry-pop > summary:hover { color: var(--mint-ink); }
.portal-nav > a[aria-current]::after {
  position: absolute;
  content: "";
  width: 22px;
  margin-left: -11px;
  left: 50%;
  bottom: 12px;
  height: 3px;
  border-radius: 4px;
  background: var(--mint-action);
}
.industry-pop { position: relative; }
.industry-pop > summary { cursor: pointer; list-style: none; }
.industry-pop > summary::-webkit-details-marker { display: none; }
.industry-pop > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) translateY(-2px);
}
.industry-pop[open] > summary::after { transform: rotate(225deg) translateY(-1px); }
.industry-menu {
  position: absolute;
  top: calc(100% - 5px);
  left: -24px;
  width: 435px;
  display: grid;
  grid-template-columns: 1.24fr 1fr;
  padding: 14px;
  gap: 14px;
  background: white;
  border: 1px solid var(--mint-line);
  border-radius: 12px;
  box-shadow: 0 16px 44px -10px #183d3733;
}
.menu-current, .menu-directory { padding: 13px 12px; }
.menu-current { background: #eff8f4; border-radius: 8px; }
.industry-menu span { display: block; color: #57716a; font-size: .8rem; margin-bottom: 5px; }
.menu-current a { display: flex; align-items: center; gap: 6px; color: var(--mint-ink); font-size: .98rem; }
.menu-current a .icon { width: 17px; height: 17px; }
.menu-current p { font-size: .79rem; margin-top: 2px; color: #526861; }
.menu-directory a { display: block; font-size: .9rem; line-height: 1.8; }
.portal-toggle { display: none; background: transparent; border: 0; border-radius: 6px; padding: 7px; }
.portal-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(105deg,#eaf8f3 0%,#eff9f5 39%,#e1f2ec 100%);
  border-bottom: 1px solid #e3eee9;
}
.portal-image {
  position: absolute;
  inset: 0 0 0 43%;
  z-index: -1;
  -webkit-mask-image: linear-gradient(90deg,transparent 0%,#000 17%);
  mask-image: linear-gradient(90deg,transparent 0%,#000 17%);
}
.portal-image img { display: block; height: 100%; width: 100%; object-fit: cover; object-position: 55% 51%; }
.portal-image figcaption { position: absolute; right: 15px; bottom: 9px; color: #254d40; font-size: .76rem; }
.portal-lead {
  display: flex;
  align-items: center;
  min-height: clamp(424px, 33.5vw, 548px);
  padding-block: 50px;
}
.lead-content { width: 46%; }
.lead-content h1 {
  margin: 0 0 18px;
  font-size: clamp(2.85rem, 4.45vw, 4.65rem);
  font-weight: 770;
  letter-spacing: -.055em;
  line-height: 1.16;
  color: #193b37;
}
.lead-content em { color: #007562; font-style: normal; }
.lead-content p { color: #3e5c55; font-size: clamp(1rem,1.22vw,1.13rem); line-height: 1.82; }
.portal-actions { display: flex; gap: 12px; align-items: center; margin-top: 25px; }
.portal-actions .icon { width: 15px; height: 15px; }
.industry-section { padding-block: clamp(40px,4.6vw,70px) clamp(45px,4.5vw,70px); }
.home-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-bottom: 22px; }
.portal h2 { color: #1b3436; font-size: clamp(1.65rem,2.4vw,2.4rem); margin: 0; font-weight: 730; }
.section-link, .product-text-link { color: var(--mint-ink); font-weight: 610; font-size: .95rem; }
.section-link:hover, .product-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.industry-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.28fr); gap: 22px; }
.current-industry { position: relative; isolation: isolate; min-height: 245px; overflow: hidden; border-radius: 13px; display: flex; align-items: flex-end; background: #2b443c; }
.current-industry > img { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transition: transform .25s ease; }
.current-industry:hover > img { transform: scale(1.025); }
.current-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#12332feb 0%,#122c2380 51%,#172d2910 88%); }
.current-copy { width: 100%; color: white; padding: 22px 25px; }
.current-state { display: inline-block; background: #e2f7ed; color: #075540; padding: 0 8px; border-radius: 4px; font-size: .76rem; line-height: 1.8; font-weight: 650; }
.current-copy h3 { color: white; margin: 4px 0 0; font-size: 1.65rem; line-height: 1.4; }
.current-copy p { font-size: .9rem; color: #eef8f3; }
.current-link { display: inline-block; font-size: .86rem; margin-top: 9px; color: white; text-decoration: underline; text-underline-offset: 4px; }
.planned-industries { border: 1px solid #dae6e2; border-radius: 13px; padding: 22px 26px; background: #f7faf8; }
.planned-industries h3 { font-size: 1.06rem; color: #29433c; margin: 0 0 14px; }
.planned-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 28px; }
.planned-grid > div { border-top: 1px solid #dee9e3; padding-top: 9px; }
.planned-grid strong { color: #2e4741; font-size: .99rem; font-weight: 650; }
.planned-grid p { font-size: .87rem; color: #5f716b; line-height: 1.65; }
.home-products { padding-block: clamp(43px,4.8vw,74px); background: #f5f8f7; border-block: 1px solid #e6eeea; }
.home-product { overflow: hidden; border-radius: 15px; border: 1px solid #dce7e2; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); background: white; }
.product-copy { padding: clamp(25px,3.1vw,45px); align-self: center; }
.product-copy h3 { font-size: clamp(1.65rem,2.5vw,2.35rem); line-height: 1.3; color: #1c3735; }
.product-copy p { margin: 12px 0; max-width: 30em; line-height: 1.8; color: #4a5d58; }
.product-features { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 14px 0 23px; }
.product-features li { display: flex; align-items: center; gap: 6px; color: #3f5d55; font-size: .9rem; }
.product-features .icon { width: 19px; height: 19px; color: #14755e; }
.product-text-link { display: inline-block; margin-left: 15px; }
.product-screen { display: grid; align-items: center; background: var(--mint-tint); min-width: 0; }
.product-screen img { display: block; width: 100%; height: auto; }
.product-rates { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-top: 22px; }
.product-rates > div { padding: 3px 12px; text-align: center; }
.product-rates > div + div { border-left: 1px solid #d5e2dc; }
.product-rates strong, .product-rates span { display: block; }
.product-rates strong { color: #153c32; font-size: clamp(1.45rem,2.5vw,2rem); line-height: 1.45; }
.product-rates small { font-size: .88rem; font-weight: 590; }
.product-rates span { color: #51645c; font-size: .9rem; }
.home-guide { padding-block: clamp(42px,4vw,65px); display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.home-guide h2 { font-size: clamp(1.4rem,2.1vw,1.95rem); }
.home-guide p { margin-top: 5px; color: #53675f; }
.home-guide .btn { flex-shrink: 0; }
.home-footer { border-top: 1px solid #e2e9e6; }
.home-footer .wrap, .home-footer nav { display: flex; align-items: center; gap: 24px; }
.home-footer .wrap { min-height: 74px; justify-content: space-between; }
.home-footer nav a { font-size: .88rem; color: #53645e; }
.home-footer nav a:hover { color: var(--mint-ink); }
@media (max-width: 900px) {
  .portal-nav { gap: 20px; }
  .industry-layout { gap: 15px; }
  .planned-industries { padding: 18px; }
  .planned-grid { gap: 13px 15px; }
}
@media (max-width: 760px) {
  .portal .mast-inner { gap: 8px; }
  .portal .header-actions { gap: 5px; }
  .portal-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; }
  .portal-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 7px 18px 14px; gap: 0; background: white; box-shadow: 0 10px 30px #17383021; max-height: calc(100dvh - 62px); overflow: auto; }
  .portal-nav.is-open { display: flex; flex-direction: column; }
  .portal-nav > a, .industry-pop > summary { padding: 10px 12px; min-height: 43px; height: auto; border-radius: 6px; }
  .portal-nav > a[aria-current] { background: #edf7f1; }
  .portal-nav > a[aria-current]::after { display: none; }
  .industry-pop > summary { display: flex; justify-content: space-between; }
  .industry-menu { position: static; width: auto; border: 0; border-radius: 8px; box-shadow: none; gap: 3px; background: #f4f8f6; grid-template-columns: 1.15fr 1fr; padding: 4px; }
  .menu-current, .menu-directory { padding: 8px; }
  .menu-current { background: transparent; }
  .menu-current a { font-size: .85rem; }
  .portal-hero { display: flex; flex-direction: column; }
  .portal-lead { order: 0; justify-content: center; min-height: initial; padding-block: 30px 17px; }
  .lead-content { text-align: center; width: 100%; }
  .lead-content h1 { font-size: clamp(2.15rem,7.3vw,3.05rem); margin-bottom: 10px; line-height: 1.19; }
  .lead-content p { font-size: .97rem; line-height: 1.65; }
  .portal-actions { justify-content: center; margin-top: 17px; }
  .portal-actions .btn { min-height: 42px; padding-inline: 15px; font-size: .94rem; }
  .portal-image { order: 1; z-index: 0; position: relative; inset: auto; width: 100%; height: clamp(185px,49vw,310px); mask-image: none; -webkit-mask-image: none; }
  .portal-image img { object-position: center 55%; }
  .industry-section { padding-block: 34px 40px; }
  .home-section-heading { margin-bottom: 14px; }
  .section-link { font-size: .87rem; }
  .industry-layout, .home-product { grid-template-columns: 1fr; }
  .current-industry { min-height: 190px; }
  .current-copy { padding: 15px 18px; }
  .planned-industries { padding: 16px; }
  .planned-industries h3 { margin-bottom: 7px; }
  .planned-grid { gap: 10px 16px; }
  .planned-grid p { font-size: .83rem; }
  .product-copy { padding: 20px 19px; }
  .product-text-link { margin-left: 10px; font-size: .9rem; }
  .product-rates { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 16px; }
  .product-rates > div:nth-child(3) { border-left: 0; }
  .product-rates span { font-size: .85rem; }
  .home-guide { display: grid; align-items: start; justify-items: start; gap: 12px; }
  .home-footer .wrap { flex-wrap: wrap; gap: 12px; padding-block: 18px; }
  .home-footer nav { gap: 15px; }
}
@media (max-width: 345px) {
  .menu-current a .icon { display: none; }
  .portal-actions { gap: 7px; }
  .portal-actions .btn { padding-inline: 11px; }
}
