/* ==========================================================================
   RAWASI CAPITAL — Inner pages (about, services ×3, contact)
   Loaded after main.css on inner pages only; the home page never sees it.
   1. Tokens          5. Cards & bento       9. Steps
   2. Progress / nav  6. Split + mosaic     10. Showcase tabs
   3. Page hero       7. About blocks       11. Contact
   4. Sections        8. Service blocks     12. Motion  13. Responsive
   ========================================================================== */

/* 1. Tokens -------------------------------------------------------------- */
.is-inner {
  --r-card: 16px;
  --ip-sp: clamp(72px, 8.4vw, 128px);
  --ip-h1: clamp(28px, 3vw, 46px);
  --ip-h2: clamp(25px, 2.4vw, 38px);
  --ip-h3: clamp(18px, 1.35vw, 21px);
  --ip-lead: clamp(16px, 1.12vw, 18px);
  --line: rgba(12, 52, 96, .08);
}

.is-inner main :is(.card, .feature, .scell)[id] { scroll-margin-top: 72px; }

/* Small shared atoms */
.ibox {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: var(--orange-dark);
  background: rgba(245, 130, 35, .1);
  border: 1px solid rgba(245, 130, 35, .26);
  border-radius: 14px;
  transition: transform .6s var(--ease), background-color .4s, color .4s, border-color .4s;
}
.ibox .i { width: 24px; height: 24px; }
.ibox--glass {
  color: var(--orange);
  background: rgba(245, 130, 35, .12);
  border-color: rgba(245, 130, 35, .32);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
:is(.card, .scell, .feature, .stab, .svc__link, .xp):hover .ibox {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
  transform: rotate(-8deg) scale(1.04);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 7px 14px 7px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: var(--orange-ink);
  background: rgba(245, 130, 35, .09);
  border: 1px solid rgba(245, 130, 35, .26);
  border-radius: 999px;
}
.eyebrow__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.eyebrow__dot::after { content: ""; position: absolute; inset: -4px; border: 1px solid var(--orange); border-radius: 50%; opacity: 0; }
.eyebrow__no { letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.eyebrow__rule { width: 18px; height: 1px; background: currentColor; opacity: .45; }
/* LTR codes inside RTL grid cells: keep them on the start (right) edge */
.stab__code, .opt__no, .factor__code { justify-self: start; }
.eyebrow__code { font-size: 10.5px; letter-spacing: .18em; unicode-bidi: isolate; white-space: nowrap; }
:is(.sec--dark, .cta, .card--ink) .eyebrow { color: var(--orange-soft); background: rgba(245, 130, 35, .1); border-color: rgba(245, 130, 35, .3); }

/* 2. Progress bar + floating section nav --------------------------------- */
.pbar { position: fixed; inset: 0 0 auto; z-index: 60; height: 2px; pointer-events: none; }
.pbar span {
  display: block;
  height: 100%;
  background: var(--orange);
  transform: scaleX(var(--sp, 0));
  transform-origin: 100% 50%;
}

.subnav {
  position: fixed;
  z-index: 44;
  top: calc(var(--hh-s) + 14px);
  left: 50%;
  max-width: calc(100% - 2 * var(--gutter));
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -14px);
  transition: opacity .4s, transform .6s var(--ease), visibility 0s linear .6s;
}
.subnav.is-shown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .4s, transform .6s var(--ease), visibility 0s; }
.subnav__in {
  position: relative;
  display: flex;
  gap: 2px;
  padding: 5px;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(12, 52, 96, .74);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
.subnav__in::-webkit-scrollbar { display: none; }
.subnav__ind {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: var(--w, 0);
  background: var(--orange);
  border-radius: 999px;
  transform: translateX(var(--x, 0));
  transition: transform .55s var(--ease), width .55s var(--ease);
}
.subnav__link {
  position: relative;
  z-index: 1;
  flex: none;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  color: rgba(245, 247, 250, .72);
  border-radius: 999px;
  transition: color .3s;
}
.subnav__link:hover { color: var(--text-light); }
.subnav__link.is-active { color: #fff; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .subnav__in { background: rgba(12, 52, 96, .96); }
}

/* 3. Page hero ----------------------------------------------------------- */
.phero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(420px, 58svh, 560px);
  overflow: hidden;
  color: var(--text-light);
  background: var(--navy);
}
.phero__bg { position: absolute; inset: 0; z-index: -3; overflow: hidden; translate: 0 calc(var(--hs, 0) * 110px); }
.phero__bg-in { position: absolute; inset: -3%; transform: translate3d(var(--hx, 0px), var(--hy, 0px), 0); transition: transform 1.4s var(--ease); }
.phero__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.phero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(to left, rgba(12, 52, 96, .94) 0%, rgba(12, 52, 96, .77) 35%, rgba(12, 52, 96, .32) 70%, rgba(12, 52, 96, 0) 100%);
}
.phero__in {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--hh) + 32px);
  padding-bottom: clamp(44px, 6vh, 72px);
}
.phero__content { max-width: 720px; translate: 0 calc(var(--hs, 0) * 70px); opacity: calc(1 - var(--hs, 0) * 1.1); }
.phero__crumbs {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 16px;
  color: rgba(245, 247, 250, .84);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.phero__title { max-width: 16em; margin-bottom: 14px; font-size: var(--ip-h1); line-height: 1.45; }
.phero__accent { color: var(--orange); }
.phero__lead { max-width: 38em; font-size: clamp(16px, 1.2vw, 18.5px); line-height: 1.85; color: rgba(245, 247, 250, .86); }

/* 4. Sections & section heads -------------------------------------------- */
.sec { position: relative; padding-block: var(--ip-sp); }
.sec--light { background: var(--surface); }
.sec--warm { background: var(--surface-alt); }
.sec--dark { isolation: isolate; overflow: hidden; color: var(--text-light); background: var(--navy-soft); }

.shead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 48px;
  margin-bottom: clamp(32px, 3.8vw, 52px);
}
.shead__main { max-width: 780px; }
.shead__title { font-size: var(--ip-h2); line-height: 1.45; }
.shead__intro { max-width: 40em; margin-top: 12px; font-size: var(--ip-lead); line-height: 1.8; color: var(--muted-dark); }
.sec--dark .shead__intro { color: var(--muted-light); }
.shead__hint { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; font-size: 13.5px; color: var(--muted-dark); }
.shead__hint .i { width: 18px; height: 18px; color: var(--orange-dark); }

/* 5. Cards & bento ------------------------------------------------------- */
.card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 2.2vw, 32px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-1);
  transition: translate .7s var(--ease), box-shadow .7s var(--ease), border-color .4s, background-color .4s;
}
.is-inner :is(.card, .scell):hover { translate: 0 -4px; box-shadow: var(--shadow-2); border-color: rgba(245, 130, 35, .38); }
.is-inner .cform.card:hover { translate: none; }

.card--glass {
  color: var(--text-light);
  background: transparent;
  border-color: rgba(255, 255, 255, .1);
}
.is-inner .card--glass:hover { border-color: rgba(245, 130, 35, .45); }

.card--ink {
  color: var(--text-light);
  background: var(--navy);
  border-color: rgba(245, 130, 35, .22);
}

.card--photo {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: 0;
  color: var(--text-light);
  background: var(--navy-mid);
}
.card__media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: scale 1.4s var(--ease); }
.card--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(12, 52, 96, .7);
}
.card--photo:hover .card__media img { scale: 1.06; }
.card__body { padding: clamp(22px, 2.2vw, 30px); }
.card__no { position: absolute; top: 20px; left: 22px; color: var(--muted-dark); }
.card--photo .card__no {
  padding: 6px 11px;
  color: var(--text-light);
  background: rgba(12, 52, 96, .45);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.card__title { margin: 18px 0 8px; font-size: var(--ip-h3); font-weight: 600; line-height: 1.5; }
.card__text { font-size: 15px; line-height: 1.85; color: var(--muted-dark); }
.card--photo .card__text { color: rgba(245, 247, 250, .8); }

/* Fuel: five-item bento — photos on one diagonal, icon cards on the other */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(260px, auto);
  grid-template-areas: "a a b c" "a a d e";
  gap: 16px;
}
.bento__a { grid-area: a; }
.bento__b { grid-area: b; }
.bento__c { grid-area: c; }
.bento__d { grid-area: d; }
.bento__e { grid-area: e; }
.bento .card:not(.card--photo) { display: flex; flex-direction: column; }
.bento .card:not(.card--photo) .card__title { margin-top: auto; padding-top: 28px; }
.bento__a .card__title { font-size: clamp(24px, 2.1vw, 32px); }
.bento__a .card__text { max-width: 30em; font-size: var(--ip-lead); }
/* Environmental: waste services — five equal icon cards in one row */
.row5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.row5 .card { display: flex; flex-direction: column; min-height: 340px; }
.row5 .card__title { margin-top: auto; padding-top: 28px; }

/* Service link cards (photo + glass panel) */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc { perspective: 1200px; }
.svc__link {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: clamp(420px, 34vw, 520px);
  padding: 12px;
  overflow: hidden;
  color: var(--text-light);
  background: var(--navy-mid);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-1);
  transform-style: preserve-3d;
  transition: rotate .25s ease-out, translate .7s var(--ease), box-shadow .7s var(--ease);
}
.svc-grid--2 .svc__link { min-height: clamp(360px, 28vw, 440px); }
.svc__link:hover { translate: 0 -6px; box-shadow: var(--shadow-2); }
.svc__media { position: absolute; inset: 0; z-index: -3; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: scale 1.4s var(--ease); }
.svc__link:hover .svc__media img { scale: 1.07; }
.svc__link::before { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(12, 52, 96, .6); }
.svc__top { position: absolute; top: 20px; right: 20px; left: 20px; display: flex; align-items: center; justify-content: space-between; }
.svc__no {
  padding: 7px 12px;
  color: var(--text-light);
  background: rgba(12, 52, 96, .45);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.svc__go {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--text-light);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color .4s, color .4s, border-color .4s, transform .6s var(--ease);
}
.svc__go .i { width: 18px; height: 18px; }
.svc__link:hover .svc__go { color: #fff; background: var(--orange); border-color: var(--orange); transform: rotate(45deg); }
.svc__panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px 14px;
  padding: clamp(16px, 1.6vw, 22px);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  transform: translateZ(30px);
  transition: border-color .4s;
}
.svc__link:hover .svc__panel { border-color: rgba(245, 130, 35, .5); }
.svc__panel .ibox { width: 46px; height: 46px; }
.svc__text, .svc__more { grid-column: 1 / -1; }
.svc__title { font-size: var(--ip-h3); font-weight: 700; line-height: 1.45; }
.svc__text { font-size: 14.5px; line-height: 1.8; color: rgba(245, 247, 250, .76); }
.svc__more { justify-self: start; display: inline-flex; align-items: center; gap: 10px; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--orange-soft); }
.svc__more .i { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.svc__link:hover .svc__more .i { transform: translateX(-6px); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .svc__panel { background: rgba(12, 52, 96, .9); }
}

/* Sector cards (.sgrid) (7 items → 4 + 1 + 1 + wide photo) */
.sgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.scell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
  min-height: 186px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-1);
  transition: translate .7s var(--ease), box-shadow .7s var(--ease), border-color .4s;
}
.scell__no { position: absolute; top: 22px; left: 22px; color: var(--muted-dark); }
.scell__name { font-size: clamp(17px, 1.35vw, 20px); font-weight: 600; line-height: 1.5; }
.scell--wide { grid-column: span 2; color: var(--text-light); background: var(--navy-mid); }
.scell--wide::after { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(12, 52, 96, .8); }
.scell--wide .scell__no { color: var(--muted-light); }
.scell--wide .ibox { color: var(--orange); background: rgba(245, 130, 35, .14); border-color: rgba(245, 130, 35, .36); }
.scell__media { position: absolute; inset: 0; z-index: -3; }
.scell__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: scale 1.4s var(--ease); }
.scell--wide:hover .scell__media img { scale: 1.06; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color .3s, background-color .3s;
}
.chips li:hover { background: #fff; border-color: rgba(245, 130, 35, .5); }
.chips__dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* 6. Split text + photo mosaic ------------------------------------------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.split__text { grid-column: 1 / span 5; }
.split__title { margin-bottom: 18px; font-size: var(--ip-h2); line-height: 1.45; }
.split__lead { margin-bottom: 14px; font-size: var(--ip-lead); line-height: 1.9; color: var(--text-dark); }
.split__body { max-width: 36em; line-height: 1.9; color: var(--muted-dark); }
.split__btns { margin-top: 30px; }
/* Tiles follow the photos' own landscape ratio so each image shows whole, uncropped */
.mosaic {
  grid-column: 7 / span 6;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "a a" "b c";
  gap: clamp(10px, 1vw, 16px);
}
.mosaic .tile { aspect-ratio: 16 / 9; }
.mosaic__a { grid-area: a; }
.mosaic .mosaic__a { aspect-ratio: 19 / 10; }
.mosaic .tile__media > img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.mosaic__b { grid-area: b; }
.mosaic__c { grid-area: c; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-1);
  transition: border-color .3s, translate .5s var(--ease), color .3s;
}
.tag .i { width: 18px; height: 18px; color: var(--orange-dark); }
.tag:hover, .tag:focus-visible { color: var(--orange-ink); border-color: var(--orange); translate: 0 -2px; }

/* 7. About blocks -------------------------------------------------------- */
.vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vm__card { display: flex; flex-direction: column; padding: clamp(26px, 3vw, 44px); }
.vm__card::after { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--orange); transform: scaleX(.18); transform-origin: 100% 50%; transition: transform 1s var(--ease); }
.vm__card:hover::after { transform: scaleX(1); }
.vm__mark { position: absolute; z-index: -1; bottom: -60px; left: -40px; color: var(--orange); opacity: .07; transition: transform 1.4s var(--ease), opacity .6s; pointer-events: none; }
.vm__mark .i { width: 230px; height: 230px; }
.vm__card:hover .vm__mark { opacity: .12; transform: rotate(-14deg) scale(1.06); }
.vm__head { display: flex; align-items: center; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.card--ink .vm__head { border-bottom-color: rgba(255, 255, 255, .1); }
.vm__label { font-size: 17px; font-weight: 700; color: var(--orange-ink); }
.card--ink .vm__label { color: var(--orange-soft); }
.vm__code { margin-inline-start: auto; color: var(--muted-dark); }
.card--ink .vm__code { color: var(--muted-light); }
.vm__statement { max-width: 24em; margin-top: 28px; font-size: clamp(19px, 1.6vw, 25px); font-weight: 600; line-height: 1.7; }
.vm__text { max-width: 34em; margin-top: 14px; line-height: 1.85; color: var(--muted-dark); }

.goals-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.goal-card { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 220px; }
.goal-card--wide { grid-column: span 2; }
.goal-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.goal-card__no {
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 130, 35, .6);
  font-variant-numeric: tabular-nums;
  transition: color .5s, -webkit-text-stroke-color .5s;
}
.goal-card:hover .goal-card__no { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.goal-card__text { max-width: 20em; font-size: clamp(17px, 1.3vw, 19px); font-weight: 500; line-height: 1.7; }
.goal-card--wide .goal-card__text { font-size: clamp(19px, 1.6vw, 24px); }

/* Values: expanding photo panels */
.xpand { display: flex; gap: 12px; height: clamp(440px, 36vw, 540px); }
.xp {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1 1 0;
  min-width: 0;
  padding: clamp(18px, 1.8vw, 26px);
  overflow: hidden;
  color: var(--text-light);
  background: var(--navy-mid);
  border-radius: var(--r-card);
  transition: flex-grow .9s var(--ease-io);
}
.xp.is-active { flex-grow: 3.4; }
.xp__media { position: absolute; inset: 0; z-index: -2; }
.xp__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  filter: grayscale(.55) brightness(.75);
  scale: 1.14;
  transition: filter .9s var(--ease), scale 1.4s var(--ease);
}
.xp.is-active .xp__media img { filter: none; scale: 1; }
.xp::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(12, 52, 96, .7);
  transition: opacity .6s;
}
.xp.is-active::after { background: rgba(12, 52, 96, .5); }
.xp__h { font-size: inherit; }
.xp__btn { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; text-align: right; }
.xp__btn::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: var(--r-card); }
.xp__btn:focus-visible { outline: none; }
.xp__btn:focus-visible::after { outline: 2px solid var(--orange); outline-offset: -4px; }
.xp__no { position: absolute; top: clamp(18px, 1.8vw, 26px); right: clamp(18px, 1.8vw, 26px); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: rgba(245, 247, 250, .7); font-variant-numeric: tabular-nums; }
.xp.is-active .xp__no { color: var(--orange-soft); }
.xp__name { font-size: clamp(18px, 1.6vw, 26px); font-weight: 700; line-height: 1.4; white-space: nowrap; }
.xp__text {
  max-width: 30em;
  max-height: 0;
  overflow: hidden;
  font-size: var(--ip-lead);
  line-height: 1.8;
  color: rgba(245, 247, 250, .86);
  opacity: 0;
  transition: max-height .8s var(--ease-io), opacity .4s, margin-top .6s var(--ease);
}
.xp.is-active .xp__text { max-height: 9em; margin-top: 12px; opacity: 1; transition-delay: .25s; }
.xp.is-active .ibox { color: #fff; background: var(--orange); border-color: var(--orange); }

/* 8. Service blocks ------------------------------------------------------ */
/* Fuel: transport factors with live meter */
.factors { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.factors__aside { grid-column: 1 / span 5; position: sticky; top: calc(var(--hh-s) + 84px); display: grid; gap: 14px; }
.factors__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--pos, 50% 50%); border-radius: var(--r-card); }
.meter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px 18px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-card);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.meter__label { font-size: 13.5px; font-weight: 500; color: var(--muted-light); }
.meter__num { grid-column: 2; grid-row: 1 / span 2; direction: ltr; display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.meter__num b { font-size: 46px; font-weight: 300; line-height: 1; color: var(--orange-soft); }
.meter__num i { font-style: normal; font-size: 14px; color: var(--muted-light); }
.meter__bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.meter__bars i { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); transition: background-color .5s var(--ease); }
.meter__bars i.on { background: var(--orange); }
.meter.is-swap b { animation: ip-swap .45s var(--ease); }
.factors__list { grid-column: 7 / span 6; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.factor {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 6px 16px;
  min-height: 124px;
  padding: 22px;
}
.factor .ibox { grid-row: 1 / span 2; }
.factor--wide { grid-column: 1 / -1; }
.factor__code { color: var(--muted-light); align-self: end; }
.factor__name { align-self: start; font-size: clamp(16px, 1.25vw, 18.5px); font-weight: 600; line-height: 1.5; }
.factor__check {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  transition: background-color .4s, border-color .4s, color .4s, transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.factor__check .i { width: 14px; height: 14px; }
.factor.is-on { border-color: rgba(245, 130, 35, .38); }
.factor.is-on .factor__check { color: #fff; background: var(--orange); border-color: var(--orange); transform: scale(1.08); }
.factor.is-on .ibox { color: #fff; background: var(--orange); border-color: var(--orange); }

/* Land: feature cards */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; perspective: 1600px; }
.feature { display: flex; flex-direction: column; padding: 10px; transition: rotate .25s ease-out, translate .7s var(--ease), box-shadow .7s var(--ease), border-color .4s; }
.feature__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: scale 1.4s var(--ease); }
.feature:hover .feature__media img { scale: 1.06; }
.feature__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 12px;
  color: var(--text-light);
  background: rgba(12, 52, 96, .5);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.feature__body { padding: clamp(18px, 2vw, 28px) clamp(12px, 1.4vw, 20px) clamp(12px, 1.4vw, 18px); }
.feature__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.feature__title { font-size: clamp(21px, 1.8vw, 28px); line-height: 1.45; }
.feature__text { margin-bottom: 18px; line-height: 1.85; color: var(--muted-dark); }
.feature__sub { margin-bottom: 10px; font-size: 13.5px; font-weight: 600; color: var(--orange-ink); }

/* Environmental: benefits bento */
.benefits { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.benefit { grid-column: span 2; }
.benefit:nth-child(n + 4) { grid-column: span 3; }
.benefit { display: flex; flex-direction: column; justify-content: space-between; gap: 34px; min-height: 210px; }
.benefit__top { display: flex; align-items: flex-start; justify-content: space-between; }
.benefit__no { font-size: clamp(32px, 2.8vw, 44px); font-weight: 300; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(245, 130, 35, .6); transition: color .5s; }
.benefit:hover .benefit__no { color: var(--orange); }
.benefit__text { max-width: 16em; padding-inline-end: 40px; font-size: clamp(17px, 1.3vw, 20px); font-weight: 500; line-height: 1.6; }
.benefit__tick {
  position: absolute;
  bottom: 22px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--orange);
  border: 1px solid rgba(245, 130, 35, .4);
  border-radius: 50%;
}
.benefit__tick .i { width: 16px; height: 16px; stroke-dasharray: 24; stroke-dashoffset: 0; }

/* 9. Steps (scroll-driven rail) ------------------------------------------ */
.steps { --node: 60px; --gp: 16px; position: relative; }
.steps__list { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--gp); }
.steps__rail {
  position: absolute;
  top: calc(var(--node) / 2 - 1px);
  right: calc((100% - (var(--n) - 1) * var(--gp)) / var(--n) / 2);
  left: calc((100% - (var(--n) - 1) * var(--gp)) / var(--n) / 2);
  height: 2px;
  background: repeating-linear-gradient(to left, rgba(12, 52, 96, .2) 0 8px, transparent 8px 14px);
}
.steps__fill { position: absolute; inset: 0; background: var(--orange); transform: scaleX(var(--p, 0)); transform-origin: 100% 50%; }
.steps__head {
  position: absolute;
  top: 50%;
  right: calc(var(--p, 0) * 100%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  transform: translate(50%, -50%);
}
.step { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.step__node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--node);
  height: var(--node);
  color: var(--muted-dark);
  background: var(--surface);
  border: 1.5px solid rgba(12, 52, 96, .16);
  border-radius: 50%;
  transition: color .5s, background-color .5s, border-color .5s, box-shadow .6s var(--ease), transform .6s var(--ease);
}
.step__node > .i { width: 24px; height: 24px; }
.step__check {
  position: absolute;
  top: -4px;
  left: -4px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--navy);
  background: var(--orange-soft);
  border: 2px solid var(--surface);
  border-radius: 50%;
  transform: scale(0);
  transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.step__check .i { width: 12px; height: 12px; }
.step.is-on .step__node { color: #fff; background: var(--orange); border-color: var(--orange); }
.step.is-on .step__check { transform: scale(1); }
.step__card {
  flex: 1;
  width: 100%;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-1);
  transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .5s, box-shadow .6s;
}
.step.is-on .step__card { border-color: rgba(245, 130, 35, .38); }
.step__card:hover { box-shadow: var(--shadow-2); }
.step__no { display: block; margin-bottom: 14px; font-size: 34px; font-weight: 300; line-height: 1; color: rgba(12, 52, 96, .18); font-variant-numeric: tabular-nums; transition: color .5s; }
.step.is-on .step__no { color: var(--orange-dark); }
.step__title { font-size: clamp(16.5px, 1.25vw, 19px); font-weight: 600; line-height: 1.55; }
.step__text { margin-top: 8px; font-size: 14.5px; line-height: 1.8; color: var(--muted-dark); }

.sec--dark .steps__rail { background: repeating-linear-gradient(to left, rgba(255, 255, 255, .2) 0 8px, transparent 8px 14px); }
.sec--dark .step__node { color: var(--muted-light); background: var(--navy-soft); border-color: rgba(255, 255, 255, .18); }
.sec--dark .step__check { border-color: var(--navy-soft); }
.sec--dark .step__card {
  background: transparent;
  border-color: rgba(255, 255, 255, .1);
}
.sec--dark .step.is-on .step__card { border-color: rgba(245, 130, 35, .42); }
.sec--dark .step__no { color: rgba(245, 247, 250, .2); }
.sec--dark .step.is-on .step__no { color: var(--orange-soft); }
.sec--dark .step__text { color: var(--muted-light); }

/* 10. Showcase tabs (environmental services) ------------------------------ */
.showcase { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: stretch; }
.showcase__tabs { display: grid; grid-auto-rows: 1fr; gap: 10px; }
.stab {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  overflow: hidden;
  text-align: right;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-1);
  transition: background-color .5s var(--ease), color .5s, border-color .4s, box-shadow .6s var(--ease), translate .5s var(--ease);
}
.stab:hover:not(.is-active) { border-color: rgba(245, 130, 35, .45); translate: 0 -2px; }
.stab.is-active { color: var(--text-light); background: var(--navy); border-color: var(--navy); }
.stab.is-active .ibox { color: #fff; background: var(--orange); border-color: var(--orange); }
.stab__bar { position: absolute; inset: auto 0 0; height: 3px; background: rgba(12, 52, 96, .05); }
.stab.is-active .stab__bar { background: rgba(255, 255, 255, .1); }
.stab__fill { position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: 100% 50%; }
.stab.is-active .stab__fill { transform: scaleX(1); }
.stab__meta { display: grid; gap: 4px; min-width: 0; }
.stab__code { color: var(--orange-ink); }
.stab.is-active .stab__code { color: var(--orange-soft); }
.stab__name { font-size: clamp(15px, 1.15vw, 17.5px); font-weight: 600; line-height: 1.5; }
.stab__arrow { width: 18px; height: 18px; color: var(--orange); opacity: 0; transform: translateX(6px); transition: opacity .4s, transform .6s var(--ease); }
.stab.is-active .stab__arrow { opacity: 1; transform: none; }

/* Panels share one grid cell; hidden ones keep their space so the stage height never jumps.
   Image sits on top at full ratio, untouched; text lives in a solid block below it. */
.showcase__stage { display: grid; overflow: hidden; background: var(--navy); border-radius: 18px; }
.spanel { position: relative; z-index: 1; grid-area: 1 / 1; display: flex; flex-direction: column; color: var(--text-light); background: var(--navy); }
.spanel[hidden] { display: flex; visibility: hidden; }
.spanel.is-active { z-index: 2; }
.spanel__media { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.spanel__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.spanel__card { flex: 1; padding: clamp(20px, 2vw, 28px); }
.spanel__code { color: var(--orange-soft); }
.spanel__title { margin: 8px 0 8px; font-size: clamp(19px, 1.6vw, 25px); line-height: 1.45; }
.spanel__text { margin-bottom: 14px; font-size: 15px; line-height: 1.85; color: rgba(245, 247, 250, .8); }
.spanel__link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--orange-soft); }
.spanel__link .i { width: 18px; height: 18px; transition: transform .6s var(--ease); }
.spanel__link:hover .i { transform: translateX(-6px); }

/* CTA polish (shared component, inner-page scope only) */
.is-inner .cta__media { overflow: hidden; }

/* 11. Contact ------------------------------------------------------------ */
.cmain { padding-top: clamp(56px, 6vw, 96px); }
.cgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.cinfo { grid-column: 1 / span 5; position: sticky; top: calc(var(--hh-s) + 24px); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cinfo__phone, .cinfo__mail { grid-column: 1 / -1; }
.cinfo__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.cinfo__top .code { color: var(--muted-dark); }
.card--ink .cinfo__top .code { color: var(--orange-soft); }
.cinfo__label { display: block; margin-bottom: 4px; font-size: 13px; color: var(--muted-dark); }
.card--ink .cinfo__label { color: var(--muted-light); }
.cinfo__val { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cinfo__big { font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; font-variant-numeric: tabular-nums; }
.cinfo__mailval { min-width: 0; font-size: clamp(15px, 1.25vw, 18px); font-weight: 500; overflow-wrap: anywhere; }
.cinfo__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.cinfo__btns .btn { flex: 1 1 auto; }
.cinfo__wa .i { color: #25D366; }
.cinfo__wa:hover .i { color: #fff; }
.cinfo__mini { display: grid; align-content: start; gap: 4px; }
.cinfo__mini .ibox { margin-bottom: 14px; }
.cinfo__name { font-size: 15.5px; font-weight: 600; line-height: 1.5; }

.copy {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--muted-dark);
  border: 1px solid rgba(12, 52, 96, .12);
  border-radius: 12px;
  transition: color .3s, border-color .3s, background-color .3s;
}
.card--ink .copy { color: var(--muted-light); border-color: rgba(255, 255, 255, .16); }
.copy:hover, .copy:focus-visible { color: #fff; background: var(--orange); border-color: var(--orange); }
.copy .i { width: 18px; height: 18px; }
.copy__msg {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  padding: 5px 10px;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  color: #fff;
  background: var(--orange);
  border-radius: 8px;
  opacity: 0;
  transform: translate(-50%, 4px);
  transition: opacity .3s, transform .3s var(--ease);
  pointer-events: none;
}
.copy.is-copied .copy__msg { opacity: 1; transform: translate(-50%, 0); }

.cform { grid-column: 6 / span 7; padding: clamp(26px, 3.2vw, 48px); }
.cform__title { margin-bottom: clamp(24px, 3vw, 36px); font-size: var(--ip-h2); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { position: relative; display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { padding: 0; font-size: 13.5px; font-weight: 600; color: var(--text-dark); transition: color .3s; }
.field:focus-within > .field__label { color: var(--orange-ink); }
.req { color: var(--orange-dark); }
.field__input {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-dark);
  background: var(--surface);
  border: 1px solid rgba(12, 52, 96, .1);
  border-radius: 12px;
  outline: none;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field__input[dir="ltr"] { text-align: right; }
.field__input:hover { border-color: rgba(12, 52, 96, .22); }
.field__input:focus { background: #fff; border-color: var(--orange); }
.field__input--area { min-height: 140px; line-height: 1.7; resize: vertical; }
.field__line { display: none; }
.field__err { font-size: 13px; line-height: 1.5; color: var(--error); }
.field__err:empty { display: none; }
.field.is-invalid > .field__label { color: var(--error); }
.field.is-invalid .field__input { border-color: var(--error); }

.field--opts { display: block; }
.field--opts .field__label { display: block; margin-bottom: 12px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  padding: 14px;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid rgba(12, 52, 96, .1);
  border-radius: 12px;
  transition: border-color .3s, background-color .3s, box-shadow .3s, translate .4s var(--ease);
}
.opt:hover { border-color: rgba(12, 52, 96, .25); translate: 0 -2px; }
.opt input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.opt__icon {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--orange-dark);
  background: rgba(245, 130, 35, .1);
  border-radius: 10px;
  transition: color .3s, background-color .3s, transform .5s var(--ease);
}
.opt__icon .i { width: 20px; height: 20px; }
.opt__no { grid-column: 2; font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--orange-ink); }
.opt__name { grid-column: 2; font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.opt__box {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: transparent;
  border: 1.5px solid rgba(12, 52, 96, .2);
  border-radius: 50%;
  transition: background-color .3s, border-color .3s, color .3s, transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.opt__box .i { width: 14px; height: 14px; }
.opt:has(input:checked) { background: #fff; border-color: var(--orange); }
.opt input:checked ~ .opt__box { color: #fff; background: var(--orange); border-color: var(--orange); transform: scale(1.1); }
.opt input:checked ~ .opt__icon { color: #fff; background: var(--orange); transform: rotate(-8deg); }
.opt:has(input:focus-visible) { outline: 2px solid var(--orange); outline-offset: 2px; }
.field--opts.is-invalid .opt { border-color: rgba(179, 38, 30, .5); }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border-light); }
.form__note { font-size: 13px; color: var(--muted-dark); }
.form__status { margin-top: 20px; font-size: 15px; font-weight: 500; }
.form__status:empty { display: none; }
.form__status.is-ok { padding: 14px 16px; background: rgba(245, 130, 35, .1); border-inline-start: 3px solid var(--orange); border-radius: 8px; }
.form__status.is-err { color: var(--error); }

/* 12. Motion ------------------------------------------------------------- */
@keyframes ip-rise { from { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes ip-zoom { from { transform: scale(1.16); } to { transform: scale(1.03); } }
@keyframes ip-ping { 0% { opacity: .9; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes ip-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ip-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
@keyframes ip-settle { from { scale: 1.14; } to { scale: 1; } }
@keyframes ip-swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ip-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-5px); } }
@keyframes ip-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: no-preference) {
  /* Hero entrance */
  .js .phero__img { animation: ip-zoom 2.6s var(--ease) both; }
  .js .phero__content > * { animation: ip-rise 1s var(--ease) both; }
  .js .phero__content > :nth-child(1) { animation-delay: .1s; }
  .js .phero__content > :nth-child(2) { animation-delay: .18s; }
  .js .phero__content > :nth-child(3) { animation-delay: .26s; }
  .js .phero__content > :nth-child(4) { animation-delay: .36s; }
  .js .phero__content > :nth-child(5) { animation-delay: .44s; }
  .js .phero__content > :nth-child(6) { animation-delay: .52s; }
  .eyebrow__dot::after { animation: ip-ping 2.2s var(--ease) infinite; }
  .shead__hint .i { animation: ip-nudge 1.8s ease-in-out infinite; }

  /* Card reveal: rise + scale; delays are dropped once settled so hover feels instant. */
  .js .is-inner [data-reveal="card"] {
    opacity: 0;
    transform: translate3d(0, 48px, 0) scale(.97);
    transition: opacity .9s var(--ease) var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms), translate .7s var(--ease), rotate .25s ease-out, box-shadow .7s var(--ease), border-color .4s;
  }
  .js .is-inner [data-reveal="card"].is-in { opacity: 1; transform: none; }
  .js .is-inner [data-reveal].is-settled {
    transition: translate .7s var(--ease), rotate .25s ease-out, box-shadow .7s var(--ease), border-color .4s, background-color .4s, flex-grow .9s var(--ease-io);
  }
  .js .is-inner .xp[data-reveal] { transition: opacity .9s var(--ease) var(--d, 0ms), transform 1.1s var(--ease) var(--d, 0ms), flex-grow .9s var(--ease-io); }

  /* Steps: cards wait for the rail */
  .js .step:not(.is-on) .step__card { opacity: .45; transform: translateY(14px); }

  /* Benefit tick draws itself in */
  .js .benefit .benefit__tick .i { stroke-dashoffset: 24; }
  .js .benefit.is-in .benefit__tick .i { animation: ip-draw .8s var(--ease) calc(var(--d, 0ms) + .5s) both; }

  /* Showcase: entering panel wipes over the previous one */
  .spanel.is-entering { animation: ip-wipe 1.1s var(--ease-io) both; }
  .spanel.is-entering .spanel__media img { animation: ip-settle 1.8s var(--ease) both; }
  .spanel.is-entering .spanel__card { animation: ip-rise .9s var(--ease) .45s both; }
  .showcase .stab.is-active .stab__fill { transform: scaleX(0); animation: ip-fill var(--dur, 7000ms) linear forwards; }
  .showcase.is-paused .stab.is-active .stab__fill { animation-play-state: paused; }
}

/* 13. Responsive --------------------------------------------------------- */
@media (max-width: 1280px) {
  .xp.is-active { flex-grow: 2.6; }
  .row5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .row5 .card { grid-column: span 2; min-height: 300px; }
  .row5 .card:nth-child(n + 4) { grid-column: span 3; }
}

@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a a" "b c" "d e"; }
  .bento__a { min-height: 420px; }
  .goals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .goal-card--wide { grid-column: span 2; }
  .cinfo, .factors__aside { position: static; }
  .xp.is-active { flex-grow: 2.2; }
  .xp__name { font-size: 18px; }
}

@media (max-width: 900px) {
  .is-inner { --ip-sp: clamp(64px, 14vw, 88px); }
  .phero__title, .split__title, .shead__title { line-height: 1.55; }

  /* Hero: shorter, text on a bottom-weighted shade */
  .phero { min-height: clamp(360px, 52svh, 460px); }
  .phero__shade { background: linear-gradient(to left, rgba(12, 52, 96, .95) 0%, rgba(12, 52, 96, .84) 45%, rgba(12, 52, 96, .5) 76%, rgba(12, 52, 96, .12) 100%); }
  .phero__in { padding-top: calc(var(--hh) + 28px); padding-bottom: 40px; }
  .phero__content { translate: none; opacity: 1; }

  /* Phones: the section nav docks under the header as a full-width bar */
  .subnav { top: var(--hh-s); right: 0; left: 0; max-width: none; transform: translateY(-8px); }
  .subnav.is-shown { transform: none; }
  .subnav__in {
    padding: 6px var(--gutter);
    border-width: 0 0 1px;
    border-radius: 0;
    background: rgba(12, 52, 96, .9);
  }
  .subnav__ind { top: 6px; bottom: 6px; }
  .subnav__link { padding: 8px 14px; font-size: 13px; }

  .shead { flex-direction: column; align-items: flex-start; }
  .shead__hint { display: none; }

  .split { grid-template-columns: 1fr; row-gap: 40px; }
  .split__text, .mosaic { grid-column: 1 / -1; }

  .vm { grid-template-columns: 1fr; }
  .vm__card { min-height: 0; }

  .xpand { flex-direction: column; height: auto; }
  .xp, .xp.is-active { flex: none; min-height: 250px; }
  .xp .xp__media img { filter: none; scale: 1; }
  .xp::after { background: rgba(12, 52, 96, .7); }
  .xp .xp__text { max-height: none; margin-top: 12px; opacity: 1; }
  .xp__btn::after { display: none; }
  .xp__name { font-size: 22px; white-space: normal; }

  .svc-grid, .svc-grid--2 {
    display: flex;
    gap: 12px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    padding-bottom: 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .svc-grid::-webkit-scrollbar { display: none; }
  .svc { flex: 0 0 min(82vw, 360px); scroll-snap-align: start; }
  .js .is-inner .svc[data-reveal] { opacity: 1; transform: none; } /* off-screen slides would never reveal */
  .svc__link, .svc-grid--2 .svc__link { min-height: 420px; }

  .bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e"; grid-auto-rows: auto; }
  .bento__a { min-height: 380px; }
  .bento .card--photo { min-height: 300px; }

  .factors { grid-template-columns: 1fr; row-gap: 20px; }
  .factors__aside, .factors__list { grid-column: 1; }
  .factors__fig { display: none; }

  .sgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .scell { min-height: 160px; padding: 18px; gap: 24px; }

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

  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit, .benefit:nth-child(n + 4) { grid-column: auto; }

  .row5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row5 .card, .row5 .card:nth-child(n + 4) { grid-column: auto; min-height: 0; }
  .row5 .card:last-child { grid-column: span 2; }
  .benefit:last-child { grid-column: 1 / -1; }

  /* Vertical steps: rail on the right */
  .steps { --node: 52px; }
  .steps__list { grid-template-columns: 1fr; gap: 14px; }
  .steps__rail {
    top: calc(var(--node) / 2);
    bottom: 40px;
    right: calc(var(--node) / 2 - 1px);
    left: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(to bottom, rgba(12, 52, 96, .2) 0 8px, transparent 8px 14px);
  }
  .sec--dark .steps__rail { background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .2) 0 8px, transparent 8px 14px); }
  .steps__fill { background: var(--orange); transform: scaleY(var(--p, 0)); transform-origin: 50% 0; }
  .steps__head { top: calc(var(--p, 0) * 100%); right: 50%; }
  .step { flex-direction: row; align-items: flex-start; gap: 16px; }
  .step__card { padding: 18px; }
  .step__no { font-size: 26px; margin-bottom: 8px; }

  .showcase { grid-template-columns: 1fr; }
  .showcase__tabs {
    display: flex;
    gap: 10px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    padding-bottom: 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .showcase__tabs::-webkit-scrollbar { display: none; }
  .stab { flex: 0 0 min(76vw, 280px); grid-template-columns: 44px minmax(0, 1fr); padding: 14px; scroll-snap-align: start; }
  .stab .ibox { width: 44px; height: 44px; }
  .stab__arrow { display: none; }

  .cgrid { grid-template-columns: 1fr; row-gap: 20px; }
  .cinfo, .cform { grid-column: 1; }
}

@media (max-width: 560px) {
  .is-inner { --ip-h1: clamp(26px, 7.2vw, 32px); --ip-h2: clamp(23px, 6.4vw, 28px); }
  .goals-grid, .benefits, .row5 { grid-template-columns: 1fr; }
  .benefit:last-child, .row5 .card:last-child { grid-column: auto; }
  .goal-card--wide { grid-column: auto; }
  .goal-card, .benefit { min-height: 0; gap: 28px; }
  .factors__list { grid-template-columns: 1fr; }
  .factor { min-height: 0; }
  .scell__name { font-size: 16px; }
  .cinfo { grid-template-columns: 1fr; }
  .cinfo__big { font-size: 24px; }
  .form__grid, .opts { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .split__btns .btn { width: 100%; }
}
