/* Isolated More Life design lab. The published site's stylesheet is untouched. */

/* Supplied Friction-to-Flow kit: transparent, interactive live 3D tiles. */
.system-story__sticky { isolation: isolate; }
.system-story__layout { position: relative; z-index: 2; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 3vw, 48px); pointer-events: none; }
.system-story__copy { position: relative; pointer-events: auto; }
.system-visual { min-width: 0; min-height: 0; height: min(76svh, 800px); aspect-ratio: auto; overflow: visible; isolation: auto; pointer-events: none; }
.system-visual::before { display: none; }
#system-sequence-canvas { z-index: 1; pointer-events: auto; touch-action: pan-y pinch-zoom; }
#system-sequence-canvas[hidden] { display: none; }
#system-sequence-canvas:focus-visible { outline: 2px solid var(--orange); outline-offset: -3px; }
.system-flow-tip { position: absolute; z-index: 6; max-width: min(240px, calc(100% - 16px)); padding: 12px 14px; color: var(--ink); background: #fff; border-radius: 4px; box-shadow: 0 8px 30px rgba(0,27,66,.16); font-size: 12px; line-height: 1.4; pointer-events: none; }
.system-flow-tip strong { display: block; margin-bottom: 4px; font-size: 14px; }
.system-flow-tip[hidden], .system-flow-pause[hidden] { display: none; }
.system-flow-pause { position: relative; z-index: 5; width: 30px; height: 30px; margin-top: 8px; padding: 0; color: #fff; background: rgba(0,27,66,.3); border: 1px solid rgba(255,255,255,.3); border-radius: 50%; cursor: pointer; font-size: 11px; }
.system-flow-pause:hover { background: var(--orange); }
.system-flow-pause:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.system-flow-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.system-flow-unavailable { position: absolute; inset: 25%; display: grid; place-items: center; text-align: center; color: #fff; }
@media (max-width: 760px) {
  .system-story__layout { display: block; }
  .system-visual { height: 43svh; margin-top: 0; }
  .system-flow-pause { position: absolute; right: 0; bottom: 12px; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { #system-sequence-canvas { transition: none; } }
.design-lab-badge {
  position: fixed;
  z-index: 1200;
  left: 18px;
  bottom: 18px;
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(2, 144, 157, .48);
  border-radius: 999px;
  color: #fff;
  background: rgba(0,27,66,.94);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  pointer-events: none;
}
.design-lab-badge span { color: var(--orange); font-weight: 700; }

.friction-finder {
  overflow: hidden;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.friction-finder__heading {
  display: grid;
  grid-template-columns: 1fr 2.35fr 1fr;
  gap: 34px;
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 100px);
}
.friction-finder__heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(49px, 6.2vw, 92px);
  line-height: .92;
  letter-spacing: -.06em;
}
.friction-finder__heading > p:last-child { max-width: 290px; margin: 0 0 5px; color: var(--muted); font-size: 16px; }
.friction-finder__layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(34px, 6vw, 104px); align-items: stretch; }
.friction-finder__choices { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.friction-choice {
  min-height: 116px;
  display: grid;
  grid-template-columns: 38px 1fr 24px;
  gap: 18px;
  align-items: center;
  padding: 17px 8px 17px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: padding .35s var(--ease), color .25s;
}
.friction-choice > span { align-self: start; margin-top: 16px; color: var(--muted); font-size: 10px; font-weight: 700; }
.friction-choice strong { max-width: 350px; font-size: clamp(21px, 2vw, 30px); line-height: 1.08; letter-spacing: -.045em; }
.friction-choice b { color: var(--muted); font-size: 20px; font-weight: 400; transition: transform .25s, color .25s; }
.friction-choice:is(:hover, :focus-visible, .is-active) { padding-left: 16px; color: var(--red); }
.friction-choice:is(:hover, :focus-visible, .is-active) b { color: var(--red); transform: translate(3px, -3px); }
.friction-choice:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.friction-finder__result {
  min-height: 465px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 56px);
  color: #fff;
  background: var(--ink-soft);
  border: 1px solid rgba(2,144,157,.35);
  border-radius: var(--radius);
  box-shadow: 24px 24px 0 rgba(2, 144, 157, .075);
}
.friction-finder__topline { display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.6); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.friction-finder__topline span:last-child { color: var(--orange); text-align: right; }
.friction-map { display: flex; align-items: center; gap: 6px; margin: auto 0 30px; }
.friction-map span {
  flex: 0 1 auto;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 6px;
  color: var(--paper);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.friction-map span:last-child { border-color: var(--orange); color: var(--orange); }
.friction-map i {
  flex: 1 1 20px;
  min-width: 12px;
  height: 1px;
  display: block;
  background: var(--orange);
  position: relative;
}
.friction-map i::after { content: ''; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.friction-finder__result.is-entering .friction-map i { animation: lab-trace .5s var(--ease) both; transform-origin: left; }
.friction-finder__result.is-entering .friction-map i:nth-of-type(2) { animation-delay: .12s; }
.friction-finder__result.is-entering .friction-map i:nth-of-type(3) { animation-delay: .24s; }
@keyframes lab-trace { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
.friction-finder__result h3 { max-width: 560px; margin: 0 0 15px; font-size: clamp(35px, 3.1vw, 52px); line-height: .98; letter-spacing: -.055em; }
.friction-finder__result p { max-width: 590px; margin: 0; color: rgba(255,255,255,.7); font-size: 15px; }
.friction-finder__result .button { margin-top: 34px; color: var(--ink); background: var(--paper-bright); }

.button, .header-cta { position: relative; overflow: hidden; isolation: isolate; }
.button::before, .header-cta::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, transparent 25%, rgba(2, 144, 157, .28) 48%, transparent 72%);
  transform: translateX(-125%);
  transition: transform .65s var(--ease);
  pointer-events: none;
}
.button:is(:hover, :focus-visible)::before,
.header-cta:is(:hover, :focus-visible)::before { transform: translateX(125%); }
.button b, .header-cta b { transition: transform .28s var(--ease); }
.button:is(:hover, :focus-visible) b,
.header-cta:is(:hover, :focus-visible) b { transform: translate(3px, -3px); }
.button:focus-visible, .header-cta:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }


/* Materialized GetLayers effects, retinted to the approved More Life brand. */
.hero { isolation: isolate; touch-action: pan-y pinch-zoom; }
.layers-atmosphere { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.layers-atmosphere--hero { z-index: 0; opacity: .48; }
.hero__noise { opacity: .08; }
.hero__portrait {
  position: absolute; z-index: 2; top: 2%; right: -4%; width: 68%; height: 98%;
  pointer-events: none; mix-blend-mode: screen;
}
#layers-portrait {
  display: block; width: 100%; height: 100%; background: transparent;
  mask-image: linear-gradient(to right, transparent, #000 18%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 88%, transparent);
  mask-composite: intersect;
}
.hero__portrait[data-state="unavailable"] { display: none; }
.hero__portrait-controls { position: absolute; z-index: 4; right: 28px; bottom: 84px; display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.7); }
.hero__portrait-controls[hidden], .hero__portrait-reset[hidden] { display: none; }
.hero__portrait-turn { font-size: 18px; display: flex; align-items: center; gap: 9px; cursor: grab; }
.hero__portrait-turn > span { font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.hero__portrait-reset { padding: 6px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.35); color: inherit; background: none; font: inherit; font-size: 9px; cursor: pointer; }
.hero__portrait-turn:focus-visible, .hero__portrait-reset:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; }
.hero.is-portrait-hover { cursor: grab; }
.hero.is-portrait-dragging { cursor: grabbing; user-select: none; }
.hero__portrait-toggle {
  width: 32px; height: 32px;
  padding: 0; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #fff;
  background: rgba(0,27,66,.35); cursor: pointer; font-size: 11px;
}
.hero__portrait-toggle:hover { background: var(--orange); }
.hero__portrait-toggle:focus-visible { outline: 2px solid #F2EFEA; outline-offset: 4px; }
.hero__portrait-toggle[hidden] { display: none; }
.hero__title { font-size: clamp(62px,7.65vw,126px); max-width: 78%; }
.hero__lower { margin-left: 0; width: min(850px,78%); }
.work { position: relative; isolation: isolate; }
.work > .shell { position: relative; z-index: 1; }
.work .section-heading > div { display: flex; flex-direction: column; gap: 22px; }
.work .section-heading h2 { margin: 0; }
.work .section-heading > p:last-child { color: #fff; }
.layers-atmosphere--work { z-index: 0; opacity: .22; }
.layers-gallery { position: relative; min-height: 710px; margin-top: 18px; color: var(--paper); --line: rgba(255,255,255,.2); --line-2: rgba(255,255,255,.08); }
  .layers-stage { position: relative; height: 550px; width: 100%; overflow: hidden;
    background: radial-gradient(125% 95% at 50% 4%, var(--bg-top) 0%, var(--bg-bottom) 100%);
    perspective: 1200px; perspective-origin: 50% 50%;
    display: grid; place-items: center;
    cursor: grab; touch-action: pan-y; user-select: none; outline: none; }
  .layers-stage.-drag { cursor: grabbing; }

  /* soft floor shadow that grounds the arc + a giant ghost index behind it */
  .layers-floor { position: absolute; left: 50%; top: 68%; width: 62%; height: 150px; z-index: 0;
    transform: translate(-50%,-50%);
    background: radial-gradient(60% 60% at 50% 50%, rgba(0,27,66,.3), rgba(18,20,26,0) 70%);
    filter: blur(6px); pointer-events: none; }
  .layers-ghost { position: absolute; left: 50%; top: 51%; z-index: 0; transform: translate(-50%,-50%);
    font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 360px; line-height: .8;
    color: rgba(242,239,234,.06); letter-spacing: -.03em; pointer-events: none; user-select: none;
    font-variant-numeric: tabular-nums; }

  .layers-ring { position: relative; width: 0; height: 0; transform-style: preserve-3d; z-index: 1;
    transform: translateZ(var(--push, 0px)) rotateY(var(--rot, 0deg)); }

  .card { position: absolute; width: var(--cw, 220px); height: var(--ch, 300px);
    left: calc(var(--cw, 220px) / -2); top: calc(var(--ch, 300px) / -2);
    transform: rotateY(var(--a)) translateZ(calc(var(--r, 620px) * -1));
    backface-visibility: hidden; -webkit-backface-visibility: hidden; transform-style: preserve-3d; }
  .card__inner {
    position: absolute; inset: 0; border-radius: var(--corner); overflow: hidden; background: #02274c;
    box-shadow: 0 26px 60px -18px rgba(24,34,64, calc(.42 * var(--shadow))),
                0 6px 16px -8px rgba(24,34,64, calc(.32 * var(--shadow)));
    transition: transform .4s cubic-bezier(.22,.61,.36,1), box-shadow .4s ease;
    backface-visibility: hidden; -webkit-backface-visibility: hidden; will-change: transform; }
  .card.-front .card__inner { box-shadow: 0 40px 90px -20px rgba(24,34,64,.5), 0 8px 22px -8px rgba(24,34,64,.4); }
  .card:hover .card__inner { transform: scale(var(--hover)); }
  .card__inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
  .card__scrim { position: absolute; inset: 0; pointer-events: none; opacity: var(--scrim);
    background: linear-gradient(to top, rgba(6,10,22,.85) 0%, rgba(6,10,22,.28) 30%, rgba(6,10,22,0) 55%); }
  .card__no { position: absolute; top: 12px; left: 13px; z-index: 2; font-size: 11px; font-weight: 600;
    letter-spacing: .12em; color: rgba(255,255,255,.92); font-variant-numeric: tabular-nums;
    text-shadow: 0 1px 8px rgba(0,0,0,.4); }
  .card__foot { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; }
  .card__title { margin: 0; font-family: 'Fraunces', Georgia, serif; font-weight: 400;
    font-size: var(--title-size); line-height: 1.05; letter-spacing: -.01em;
    color: var(--title-color); text-shadow: 0 1px 10px rgba(0,0,0,.35); }


.layers-stage { background: transparent; }
.layers-gallery .card__inner { border: 1px solid rgba(255,255,255,.16); }
.layers-gallery .card.-front .card__inner {
  border-color: var(--accent);
  transform: translateZ(var(--front-lift)) scale(1.07);
  box-shadow: 0 36px 70px -14px rgba(0,27,66,.75), 0 0 26px rgba(2,144,157,.18);
}
.layers-gallery .card.-front:is(:hover, :focus-visible) .card__inner { transform: translateZ(calc(var(--front-lift) + 10px)) scale(1.09); }
.layers-gallery .card.-front { cursor: pointer; }
.card__play {
  position: absolute; left: 50%; top: 45%; z-index: 3; transform: translate(-50%,-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none;
  opacity: .72; transition: opacity .25s;
}
.card__play svg {
  width: 66px; height: 66px; padding: 16px; border-radius: 50%; border: 1px solid rgba(255,255,255,.75);
  color: var(--paper-bright); background: rgba(0,27,66,.82); box-shadow: 0 8px 24px rgba(0,27,66,.3);
}
.card__play > span { padding: 5px 9px; border-radius: 999px; background: rgba(0,27,66,.86); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .25s; }
.card.-front .card__play, .card.-front .card__play > span { opacity: 1; }
.card.-front:hover .card__play svg { background: var(--accent); }
.layers-gallery .card__title { font-family: inherit; font-weight: 700; line-height: 1.06; letter-spacing: -.04em; }
.layers-gallery .card__inner img { object-position: center; }
.layers-gallery .card:focus-visible .card__inner { outline: 3px solid var(--accent); outline-offset: 4px; }
.layers-gallery .card__no { padding: 5px 8px; border-radius: 999px; background: rgba(0,27,66,.75); }
.layers-hint { margin: -12px 0 36px; text-align: center; text-transform: uppercase; color: rgba(255,255,255,.5); letter-spacing: .22em; font-size: 9px; }
.layers-dock { display: grid; grid-template-columns: 1fr 3fr 1fr; gap: 24px; align-items: center; border-top: 1px solid rgba(255,255,255,.15); padding: 27px 8px 0; }
.layers-count { font-size: 12px; color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }
.layers-count b { font-size: 48px; font-weight: 500; color: var(--paper); }
.layers-caption { text-align: center; }
.layers-caption h3 { margin: 0; font-size: clamp(26px,3vw,44px); line-height: 1; letter-spacing: -.045em; }
.layers-caption p { display: flex; justify-content: center; gap: 18px; margin: 15px 0 18px; font-size: 11px; color: rgba(255,255,255,.55); }
.layers-caption [data-gallery="d-rating"] { color: var(--paper); white-space: nowrap; }
.layers-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.layers-dots button { width: 8px; height: 8px; border: 0; border-radius: 999px; padding: 0; background: rgba(255,255,255,.23); cursor: pointer; transition: width .3s var(--ease),background .3s; }
.layers-dots button.-on { width: 26px; background: var(--accent); }
.layers-watch { display: inline-flex; justify-content: center; align-items: center; gap: 18px; margin-top: 26px; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); color: var(--paper); background: transparent; text-transform: uppercase; font-size: 9px; font-weight: 700; letter-spacing: .1em; cursor: pointer; transition: background .25s, border-color .25s; }
.layers-watch:hover { background: var(--accent); border-color: var(--accent); }
.layers-controls { display: flex; gap: 10px; justify-content: flex-end; }
.layers-nav { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: var(--paper); background: rgba(2,39,76,.6); cursor: pointer; font-size: 21px; transition: color .25s,background .25s; }
.layers-nav:hover { color: var(--ink); background: var(--paper); }
.layers-gallery button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
@media (max-width:1000px) {
  .friction-finder__heading { grid-template-columns: 1fr 2fr; }
  .friction-finder__heading > p:last-child { grid-column: 2; }
  .friction-finder__layout { grid-template-columns: 1fr 1.25fr; gap:30px; }
  .friction-map span { font-size:8px; padding:8px; }
  .hero__portrait { top: 5%; right: -9%; width: 74%; height: 95%; }
}
@media (max-width:760px) {
  .design-lab-badge { left:10px; bottom:10px; font-size:8px; padding:7px 10px; }
  .hero__title { max-width:100%; font-size:clamp(54px,16vw,83px); }
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero__content { order: 1; min-height: 0; padding-top: 150px; padding-bottom: 30px; }
  .hero__portrait { position: relative; order: 2; top: auto; right: auto; width: min(100%,520px); height: 440px; margin: -12px auto 90px; touch-action: pan-y; }
  .hero__portrait-controls { right: 22px; bottom: 90px; }
  .hero__lower { width:100%; }
  .friction-finder__heading { display:block; margin-bottom:45px; }
  .friction-finder__heading h2 { margin:18px 0; }
  .friction-finder__layout { display:block; }
  .friction-choice { min-height:95px; }
  .friction-finder__result { min-height:420px; margin-top:32px; padding:27px 21px; }
  .friction-map { flex-wrap:wrap; gap:4px; margin:50px 0 35px; }
  .friction-map span { flex:1 1 40%; min-height:44px; display:grid; place-items:center; }
  .friction-map i { flex:0 0 8px; }
  .friction-map i:nth-of-type(2) { display:none; }
  .layers-stage { height:430px; }
  .layers-ghost { font-size:260px; }
  .layers-gallery { min-height:600px; }
  .layers-dock { grid-template-columns:1fr auto; gap:18px; padding-top:20px; }
  .layers-caption { grid-column:1 / -1; grid-row:1; }
  .layers-count { margin:0; }.layers-count b { font-size:28px; }
  .layers-controls { grid-column:2; }.layers-nav { width:42px; height:42px; }
  .layers-caption h3 { max-width:340px; margin:auto; font-size:30px; }
  .layers-caption p { font-size:10px; gap:12px; }
  .layers-hint { margin:0 0 22px; font-size:8px; }
}
@media (prefers-reduced-motion:reduce) {
  .friction-finder__result.is-entering .friction-map i { animation:none; }
  .layers-gallery .card__inner,.layers-dots button { transition:none; }
}
