/* ==========================================================================
   Darth Cosmos v2 - home page layouts (Phase 3 reference restyle)
   Also loaded by the About page (impact band) and service pages that reuse
   the journey funnel / profit calculator.
   ========================================================================== */

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(1.75rem, 1rem + 2vw, 2.75rem); overflow: hidden; }
.hero::before { /* faint orbit rings behind the stage, like the reference */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(1100px, 90vw); aspect-ratio: 1; right: -18vw; top: 6%;
  border-radius: 50%; border: 1px solid rgb(215 252 112 / .07);
  box-shadow: 0 0 0 90px rgb(215 252 112 / .012), inset 0 0 0 120px rgb(215 252 112 / .01);
}
.hero__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.hero__top-right { display: none; }
@media (min-width: 760px) { .hero__top-right { display: inline-flex; } }
.hero__grid { display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 4rem); align-items: center; padding-block: clamp(2rem, 1rem + 3vw, 3.5rem) clamp(2.5rem, 1.5rem + 3vw, 4rem); }
@media (min-width: 1040px) { .hero__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 3rem; } }
.hero__title {
  font-size: clamp(3.6rem, 1.9rem + 7.2vw, 7.47rem);
  line-height: .98; letter-spacing: var(--tracking-h1);
  margin-left: -.04em;
}
.hero__title br { display: block; }
.hero__sub { margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); max-width: 440px; font-size: clamp(1rem, .95rem + .25vw, 1.0625rem); line-height: 1.65; color: var(--text-2); }
.hero__copy .btn-row { margin-top: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); }

.hero__stage { position: relative; }
.hero__stage-label { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.1rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.hero__card {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 5 / 4; border-radius: var(--r-lg);
  border: 1px solid var(--line-2); background: var(--panel);
  box-shadow: var(--sh-4);
}
@media (min-width: 1040px) { .hero__card { aspect-ratio: auto; height: clamp(440px, 34vw + 60px, 560px); margin-left: clamp(0px, 5vw - 40px, 48px); } }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease-in-out); }
.hero__slide.is-active { opacity: 1; }
.hero__slide video, .hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 3.2s linear; filter: saturate(.85); }
.hero__slide.is-active video, .hero__slide.is-active img { transform: scale(1); }
.hero.is-reduced .hero__slide video { transform: none; }
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgb(18 19 16 / .15) 0%, rgb(18 19 16 / 0) 35%, rgb(18 19 16 / .55) 68%, rgb(18 19 16 / .92) 100%); }
.hero__panels { position: absolute; left: 0; right: 0; bottom: 1.5rem; display: grid; padding-inline: clamp(1.1rem, .8rem + 1.2vw, 1.75rem); }
.hero__panel { grid-area: 1 / 1; display: grid; gap: .55rem; justify-items: start; align-content: end; pointer-events: none; max-width: 470px; }
.hero__panel.is-active { pointer-events: auto; }
.hero__panel > * { opacity: 0; transform: translateY(14px); transition: opacity .2s ease, transform .3s ease; }
.hero__panel.is-active > * { opacity: 1; transform: none; transition: opacity .45s var(--ease-out) var(--d, .15s), transform .6s var(--ease-out) var(--d, .15s); }
.hero__panel.is-active > :nth-child(2) { --d: .22s; }
.hero__panel.is-active > :nth-child(3) { --d: .3s; }
.hero__eyebrow { font-size: .7rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--lime); }
.hero__caption { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); line-height: 1.2; letter-spacing: -.04em; color: var(--text); text-wrap: balance; }
.hero__controls { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
@media (min-width: 600px) { .hero__controls { max-width: calc(100% - min(250px, 44%) - 1.5rem); } }
@media (min-width: 1040px) { .hero__controls { margin-left: clamp(0px, 5vw - 40px, 48px); } }
.hero__bars { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.hero__bar { display: grid; gap: .5rem; text-align: left; padding: .35rem 0; color: rgb(241 242 235 / .55); transition: color var(--t-med); }
.hero__bar:hover, .hero__bar.is-active { color: var(--text); }
.hero__bar-label { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__bar-track { height: 2px; background: rgb(241 242 235 / .22); overflow: hidden; }
.hero__bar-fill { display: block; height: 100%; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; }
.hero__bar.is-done .hero__bar-fill { transform: scaleX(1); opacity: .5; }
.hero__bar.is-active .hero__bar-fill { animation: hero-fill var(--slide-duration, 2000ms) linear forwards; }
.hero.is-paused .hero__bar.is-active .hero__bar-fill { animation-play-state: paused; }
.hero.is-reduced .hero__bar.is-active .hero__bar-fill { animation: none; transform: scaleX(1); }
@keyframes hero-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__pause { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1px solid rgb(241 242 235 / .35); color: var(--text); background: rgb(18 19 16 / .35); transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.hero__pause:hover { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.hero__pause .icon { width: 15px; height: 15px; }
.hero__pause .i-play, .hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }

/* Floating dashboard chip + lime plan card */
.hero-dash {
  position: absolute; z-index: 3; left: clamp(-56px, -4vw + 10px, 0px); top: 3.4rem; width: min(300px, 46%);
  padding: 1rem 1.1rem 1.05rem; border-radius: var(--r-md);
  background: rgb(27 29 23 / .94); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sh-4); transform: rotate(-2deg);
  animation: chip-float 7s var(--ease-in-out) infinite;
}
.hero-dash__top { display: flex; justify-content: space-between; gap: .5rem; font-size: .56rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.hero-dash__top span:first-child { color: var(--text); display: inline-flex; align-items: center; gap: .4rem; }
.hero-dash__top span:first-child::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); }
.hero-dash__title { margin-top: .65rem; font-weight: 700; font-size: .92rem; }
.hero-dash__main { margin-top: .5rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .55rem; }
.hero-dash__main small { width: 100%; font-size: .62rem; color: var(--muted); }
.hero-dash__main b { font-family: var(--font-display); font-weight: 600; font-size: 1.55rem; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.hero-dash__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; margin-top: .65rem; padding-top: .65rem; border-top: 1px solid var(--line); }
.hero-dash__row small { display: block; font-size: .58rem; color: var(--muted); }
.hero-dash__row b { font-weight: 700; font-size: .82rem; font-variant-numeric: tabular-nums; }
.hero-dash__bars { display: flex; align-items: flex-end; gap: 4px; height: 46px; margin-top: .8rem; }
.hero-dash__bars i { flex: 1; height: var(--h); border-radius: 2px 2px 0 0; background: var(--lime); opacity: calc(.35 + var(--h) * .0065); transform-origin: bottom; animation: bar-up 1.1s var(--ease-out) both; }
.hero-dash__bars i:nth-child(n) { animation-delay: calc(.4s + var(--h) * .006s); }
@keyframes bar-up { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.hero-plan {
  position: absolute; z-index: 3; right: clamp(-12px, -1vw, 0px); bottom: -1.75rem; width: min(250px, 44%);
  padding: 1.15rem 1.2rem 1.1rem; border-radius: var(--r-md);
  background: var(--lime); color: var(--lime-ink);
  box-shadow: 0 30px 60px -24px rgb(0 0 0 / .85); transform: rotate(2deg);
  animation: chip-float 7s var(--ease-in-out) -3.5s infinite;
}
.hero-plan__eyebrow { font-size: .58rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.hero-plan__title { margin-top: .6rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); line-height: 1.1; letter-spacing: -.045em; }
.hero-plan__note { margin-top: .75rem; font-size: .62rem; opacity: .72; }
@keyframes chip-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (max-width: 1039px) {
  .hero-dash { left: auto; right: .75rem; top: 2.9rem; width: min(260px, 52%); }
  .hero-plan { bottom: -.5rem; right: .25rem; }
}
@media (max-width: 599px) {
  .hero__card { aspect-ratio: 4 / 5; }
  .hero-dash { position: relative; top: auto; right: auto; left: auto; width: auto; margin-top: 1.25rem; transform: none; animation: none; }
  .hero-dash__bars { height: 34px; }
  .hero-plan { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: -1rem 1rem 0 30%; transform: rotate(-1.5deg); animation: none; }
  .hero__caption { font-size: 1.15rem; }
}
.hero__meta { margin-top: clamp(2rem, 1rem + 2vw, 3rem); }

/* ---------- One partner strip ---------- */
.strip { background: var(--bg-2); border-block: 1px solid var(--line); }
.strip__inner { display: grid; gap: 1.5rem 2rem; align-items: center; padding-block: 2.1rem; }
@media (min-width: 900px) { .strip__inner { grid-template-columns: 220px 1fr auto; } }
.strip__label { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: var(--text-2); line-height: 1.8; }
.strip__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 1.5rem; }
@media (min-width: 560px) { .strip__list { grid-template-columns: repeat(3, auto); justify-content: space-between; } }
.strip__group { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; }
.strip__sub { display: inline-flex; flex-wrap: wrap; gap: .2rem .8rem; }
.strip__sub a { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); transition: color var(--t-fast); }
.strip__sub a + a::before { content: "/"; margin-right: .8rem; color: var(--muted); }
.strip__sub a:hover { color: var(--lime); }
.strip__list a { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; transition: color var(--t-fast); }
.strip__list b { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.05em; line-height: 1.1; }
.strip__list span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.strip__list a:hover b { color: var(--lime); }
.strip__mark { display: none; width: 40px; height: 40px; animation: spin 18s linear infinite; }
@media (min-width: 900px) { .strip__mark { display: block; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 01 / Expertise accordion ---------- */
.xp { border-top: 1px solid var(--line); }
.xp .faq__item { border-bottom: 1px solid var(--line); }
.xp .xp__btn { display: grid; grid-template-columns: 52px 1fr auto; align-items: start; gap: 1rem; padding: clamp(1.75rem, 1.2rem + 1.5vw, 2.6rem) 0; font: inherit; color: var(--text); }
@media (min-width: 760px) { .xp .xp__btn { grid-template-columns: 70px 1fr auto; } }
.xp .xp__btn:hover { color: var(--text); }
.xp__num { font-size: .9rem; color: var(--muted); padding-top: .2rem; font-variant-numeric: tabular-nums; }
.xp__head { display: grid; gap: .55rem; }
.xp__kicker { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.xp__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); line-height: 1.05; letter-spacing: -.055em; transition: color var(--t-fast); }
.xp .xp__btn:hover .xp__title { color: var(--lime); }
.xp__icon { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); align-self: center; transition: background-color var(--t-med), border-color var(--t-med); }
.xp__icon::before, .xp__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--text); transform: translate(-50%, -50%); transition: transform var(--t-med) var(--ease-out), background-color var(--t-med); }
.xp__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.xp .xp__btn[aria-expanded="true"] .xp__icon { background: var(--lime); border-color: var(--lime); }
.xp .xp__btn[aria-expanded="true"] .xp__icon::before, .xp .xp__btn[aria-expanded="true"] .xp__icon::after { background: var(--lime-ink); }
.xp .xp__btn[aria-expanded="true"] .xp__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.xp__body { display: grid; gap: 2rem; padding: 0 0 clamp(2rem, 1.5rem + 1.5vw, 2.75rem); }
@media (min-width: 760px) { .xp__body { padding-left: 86px; } }
@media (min-width: 1040px) { .xp__body { grid-template-columns: 1fr 1fr .8fr; gap: 3rem; } }
.xp__intro { display: grid; gap: 1.5rem; align-content: start; justify-items: start; }
.xp__intro p { color: var(--text-2); max-width: 420px; line-height: 1.7; }
.xp__list { border-top: 1px solid var(--line); align-self: start; }
.xp__lists { display: grid; gap: 1.5rem; align-self: start; }
.xp__subhead { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .6rem; font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; letter-spacing: -.03em; color: var(--text); transition: color var(--t-fast); }
.xp__subhead .icon { width: 14px; height: 14px; color: var(--lime); }
.xp__subhead:hover { color: var(--lime); }
.xp__list li { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .76rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.xp__outcome { padding: 1.5rem; border-radius: var(--r-xs); background: var(--panel-2); border: 1px solid var(--line); display: grid; gap: .9rem; align-content: start; }
.xp__outcome p:not(.eyebrow):not(.xp__time) { line-height: 1.75; }
.xp__time { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: .8rem; border-top: 1px solid var(--line); }

/* ---------- Make the right first impression ---------- */
.vcards { display: grid; gap: clamp(1rem, .6rem + 1vw, 1.4rem); }
@media (min-width: 680px) { .vcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .vcards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vcard { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-md); overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: border-color var(--t-med), transform var(--t-med) var(--ease-out); }
.vcard:hover { border-color: var(--line-2); transform: translateY(-4px); }
.vcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); filter: saturate(.9); }
.vcard:hover .vcard__media img { transform: scale(1.05); }
.vcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(18 19 16 / .45), transparent 32%, transparent 62%, rgb(18 19 16 / .55)); }
.vcard__num { position: absolute; z-index: 1; top: 1rem; left: 1.1rem; font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.vcard__body { display: flex; flex-direction: column; gap: .8rem; padding: 1.4rem 1.4rem 1.3rem; }
.vcard__kicker { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.vcard h3 { font-size: clamp(1.35rem, 1.15rem + .55vw, 1.65rem); letter-spacing: -.05em; }
.vcard p:not(.vcard__kicker) { font-size: .9rem; color: var(--muted); }
.vcard__link { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); display: inline-flex; align-items: center; gap: .5rem; font-size: .86rem; font-weight: 600; transition: color var(--t-fast); }
.vcard__link .icon { width: 14px; height: 14px; }
.vcard__link:hover { color: var(--lime); }
.vcard__link::after { content: ""; position: absolute; inset: 0; }
.vcard { position: relative; }

/* ---------- Platforms ---------- */
.platforms { padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem); border-bottom: 1px solid var(--line); }
.platforms__label { font-family: var(--font-body); font-weight: 500; text-align: center; font-size: .72rem; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--muted); margin-bottom: 1.75rem; }

/* ---------- 02 / Process stages (horizontal hairline columns) ---------- */
.stages { display: grid; border-top: 1px solid var(--line); counter-reset: none; }
@media (min-width: 720px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .stages { grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 0; } }
.stage { display: grid; gap: 1rem; align-content: start; padding: 1.75rem 0 2rem; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .stage { padding-inline: 1.5rem; } .stage:nth-child(odd) { padding-left: 0; border-right: 1px solid var(--line); } }
@media (min-width: 1100px) {
  .stage { padding: 0 1.4rem; border-bottom: 0; border-right: 1px solid var(--line); }
  .stage:nth-child(odd) { padding-left: 1.4rem; }
  .stage:first-child { padding-left: 0; }
  .stage:last-child { border-right: 0; padding-right: 0; }
}
.stage__top { display: flex; justify-content: space-between; align-items: center; }
.stage__top .icon { width: 16px; height: 16px; color: var(--muted); transition: color var(--t-fast), transform var(--t-med) var(--ease-out); }
.stage:hover .stage__top .icon { color: var(--lime); transform: translate(2px, -2px); }
.stage h3 { font-size: clamp(1.45rem, 1.2rem + .6vw, 1.75rem); margin-top: .75rem; letter-spacing: -.05em; }
.stage p { color: var(--muted); font-size: .92rem; }
.stage__when { color: var(--lime) !important; font-size: .7rem !important; letter-spacing: .13em; text-transform: uppercase; }
.stage__tags { font-size: .68rem !important; letter-spacing: .1em; text-transform: uppercase; color: var(--text) !important; }

/* ---------- Mindset lime band ---------- */
.mindset { background: var(--lime); color: var(--lime-ink); padding: clamp(4rem, 3rem + 4vw, 6rem) 0 1.75rem; }
.mindset .eyebrow { color: var(--lime-ink); font-weight: 500; }
.mindset :focus-visible { outline-color: var(--lime-ink); }
.mindset__grid { display: grid; gap: 2rem; align-items: center; margin-top: 1.75rem; }
@media (min-width: 900px) { .mindset__grid { grid-template-columns: 1fr auto; gap: 4rem; } }
.mindset h2 { font-size: clamp(2.8rem, 1.5rem + 5.3vw, 6.2rem); line-height: 1; letter-spacing: -.07em; max-width: 1000px; }
.mindset h2 .soft { color: var(--olive); }
.mindset__mark { width: clamp(90px, 12vw, 180px); height: clamp(90px, 12vw, 180px); color: var(--lime-ink); animation: spin 24s linear infinite; }
.mindset__meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid rgb(18 19 16 / .2); font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; }
@media (max-width: 899px) { .mindset__mark { display: none; } }

/* ---------- Working relationship + why ---------- */
.trio { display: grid; gap: 2rem; }
@media (min-width: 860px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.75rem; } }
.trio__item { display: grid; gap: 1rem; align-content: start; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.trio__item h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); letter-spacing: -.05em; margin-top: .6rem; }
.trio__item p:not(.num-label) { color: var(--muted); font-size: .93rem; }
.why { display: grid; gap: 2.5rem; align-items: center; margin-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); border-top: 1px solid var(--line); }
@media (min-width: 1000px) { .why { grid-template-columns: .9fr 1.1fr; gap: 5rem; } }
.why__media { position: relative; }
.why__photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.why__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.why__text { display: grid; gap: 1.25rem; }
.why__title { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); letter-spacing: -.055em; }
.diffs { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: .5rem; }
@media (min-width: 560px) { .diffs { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.diff { padding: 1.25rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .45rem; align-content: start; }
.diff h4 { font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: 0; }
.diff p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ---------- Case studies ---------- */
.cases-grid { display: grid; gap: clamp(1rem, .6rem + 1vw, 1.5rem); }
@media (min-width: 760px) { .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Industries ---------- */
.industries { display: grid; gap: clamp(.75rem, .5rem + .6vw, 1rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 960px) {
  .industries { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 250px; }
  /* Four tiles: a tall lead tile (Health & supplements) plus three on the right */
  .tile:nth-child(1) { grid-column: span 5; grid-row: span 2; }
  .tile:nth-child(2) { grid-column: span 4; }
  .tile:nth-child(3) { grid-column: span 3; }
  .tile:nth-child(4) { grid-column: span 7; }
  .tile:nth-child(2) p, .tile:nth-child(3) p { display: none; }
  .tile:nth-child(4)::before { background: linear-gradient(90deg, rgb(18 19 16 / .92) 0%, rgb(18 19 16 / .55) 45%, rgb(18 19 16 / .05) 80%); }
}
.tile { position: relative; overflow: hidden; border-radius: var(--r-md); min-height: 210px; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1rem, .8rem + .8vw, 1.5rem); color: var(--text); border: 1px solid var(--line); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); filter: saturate(.85); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(18 19 16 / .05) 25%, rgb(18 19 16 / .9)); }
.tile:hover img { transform: scale(1.05); }
.tile__num { position: absolute; top: 1rem; left: 1rem; font-size: .66rem; font-weight: 600; letter-spacing: .14em; }
.tile h3 { font-size: clamp(1.2rem, 1rem + .7vw, 1.75rem); letter-spacing: -.05em; }
.tile p { font-size: .85rem; color: var(--text-2); margin-top: .35rem; max-width: 380px; }
.tile__meta { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .75rem; }
.tile__meta span { font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .5rem; border-radius: 4px; border: 1px solid rgb(241 242 235 / .3); }
.tile:hover h3 { color: var(--lime); }
@media (max-width: 559px) { .tile p, .tile__meta { display: none; } .tile { min-height: 170px; } .tile:nth-child(1) { grid-column: span 2; min-height: 230px; } .tile:nth-child(4) { grid-column: span 2; } }

/* ---------- Testimonials ---------- */
.testimonials-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 2rem; margin-bottom: 2.5rem; }
.testimonials-head > div:first-child { display: grid; gap: 1.25rem; }
.rating-summary { display: flex; align-items: center; gap: 1rem; }
.rating-summary__score { font-family: var(--font-display); font-weight: 500; font-size: 3.4rem; letter-spacing: -.06em; line-height: 1; color: var(--lime); }
.rating-summary small { display: block; font-size: .8rem; color: var(--muted); margin-top: .2rem; }

/* ---------- Small screens ---------- */
@media (max-width: 639px) {
  .hero__copy .btn-row { gap: 1rem 1.5rem; }
  .hero__bar-label { font-size: .58rem; letter-spacing: .08em; }
}
