/* Publication shell, cover and goal shortcuts. */
:root {
  --v7-night:#0d1c15;
  --v7-panel:#14251c;
  --v7-lime:#d4f879;
  --v7-paper:#f2f3e8;
  --v7-rule:#3c4c40;
  --v7-mute:#c1c8ba;
  --v7-rail:min(calc(100% - clamp(1.4rem,5.5vw,6rem)),1320px);
  --press-rail:var(--v7-rail);
}
body.field-edition { background:#0a1610; color:var(--v7-paper); }
.field-edition .shell,.field-rail { width:var(--v7-rail); margin-inline:auto; }
.field-edition :focus-visible { outline:3px solid #84ac36; outline-offset:4px; }
.field-edition ::selection { color:#112018; background:#cbed91; }
.field-nav { background:#0c1812; border-bottom:1px solid var(--v7-rule); }
.field-nav__inner { display:flex; align-items:center; min-height:68px; gap:1.75rem; padding-inline:clamp(1rem,2.7vw,2.7rem); }
.field-brand { display:inline-flex; align-items:center; gap:.65rem; min-height:44px; text-decoration:none; color:#f5f7ef; font:700 1.22rem/1 var(--display); letter-spacing:-.048em; }
.field-brand img { flex:none; width:31px; height:31px; }
.field-nav__sections { margin-inline:auto; display:flex; align-items:center; gap:clamp(.85rem,2.8vw,2.7rem); }
.field-nav__sections a,.field-nav__order { display:inline-flex; align-items:center; min-height:44px; font:600 .93rem/1.3 var(--sans); text-decoration:none; }
.field-nav__sections a { color:#c9d1c6; }
.field-nav__sections a:hover,.field-quiet:hover,.field-footer a:hover { color:var(--v7-lime); text-decoration:underline; text-underline-offset:.3em; }
.field-nav__order { margin-left:auto; color:#e8f1de; border:1px solid #71816e; padding:.5rem 1rem; border-radius:5px; }
.field-nav__order:hover { background:#253628; border-color:#c7dbb6; }
.field-hero { background:#102018; }
.field-intro {
  position:relative; isolation:isolate; overflow:hidden;
  padding:clamp(2.25rem,4.2vw,4.4rem) clamp(1.5rem,5vw,5rem);
  background:radial-gradient(ellipse at 80% 36%,#424c3e,#25372b 40%,#11251a 75%);
}
/* Both layers are decorative. Keep the headline, links and book artwork independent of the portrait. */
.field-intro::before,.field-intro::after { content:""; position:absolute; pointer-events:none; }
.field-intro::before {
  z-index:-2; inset:0 0 0 42%; opacity:.64;
  background:url('../assets/field/rmr-print.webp') 64% 0 / auto 134% no-repeat;
  mask-image:linear-gradient(0deg,transparent,#000b 13%,#000 39%);
}
.field-intro::after {
  z-index:-1; inset:0 0 0 48%; opacity:.14;
  background:url('../assets/field/paper-fibre.webp') repeat;
  mask-image:linear-gradient(90deg,transparent,#000 50%);
}
.field-label { display:flex; align-items:center; gap:.67rem; font:500 .83rem/1.3 var(--press-mono); color:#c4d3be; letter-spacing:.035em; }

.hero-mast h1 { margin:.45rem 0 0; font:700 clamp(1.12rem,1.6vw,1.5rem)/1.2 var(--display); letter-spacing:-.025em; color:#f4f7ec; }
.hero-mast h1 span { font:400 .92rem/1.4 var(--sans); letter-spacing:0; }
.hero-stories { display:grid; margin-top:clamp(1.1rem,2vw,2rem); max-width:60%; }
.hero-story { grid-area:1/1; min-width:0; }
.hero-story[inert] { visibility:hidden; }
.hero-story h2 { margin:0; font:700 clamp(2.65rem,5.3vw,5.1rem)/.98 var(--display); letter-spacing:-.059em; color:#f4f7ec; }
.hero-story h2 em { color:var(--v7-lime); font-style:normal; }
.hero-story p { margin:.9rem 0 .15rem; max-width:46ch; color:#e1e8dc; font:400 clamp(1rem,1.25vw,1.14rem)/1.48 var(--sans); }
.field-intro__offer { margin-top:.65rem; }
.field-intro[data-scene="book"]::before { inset:6% 7% 7% 62%; background:url('../assets/field/front-cover-longevity.webp') center/contain no-repeat; opacity:1; mask-image:none; transform:rotate(3deg); filter:drop-shadow(0 14px 18px #06130ea6); }
/* Same treatment as the calories portrait: toned cut-out at the base .64 opacity, fading out at the foot. */
.field-intro[data-scene="zones"]::before { inset:0 0 0 51%; background:url('../assets/field/zone2-exercise-green.webp') 50% 15%/cover no-repeat; mask-image:linear-gradient(90deg,transparent,#000 25%),linear-gradient(0deg,transparent,#000b 13%,#000 39%); mask-composite:intersect; }
.field-intro:not([data-scene="calories"])::after { display:none; }
.hero-choices { display:flex; align-items:center; flex-wrap:wrap; gap:.25rem .65rem; margin-top:.75rem; }
.hero-choices[hidden],.hero-choices button[hidden] { display:none; }
.hero-choices button,.study-feature .study-rotate { min-height:44px; padding:.3rem .4rem; background:transparent; border:0; color:#d4dfcb; font:600 .86rem/1.2 var(--sans); cursor:pointer; }
.hero-choices button[aria-pressed="true"] { color:var(--v7-lime); text-decoration:underline; text-underline-offset:.4em; }
.hero-choices [data-rotate] { padding-inline:0 .7rem; }
.field-action,.field-quiet { display:inline-flex; align-items:center; justify-content:center; min-height:44px; text-decoration:none; }
.field-action { padding:.66rem 1.2rem; background:var(--v7-lime); color:#182815; border:1px solid #deff98; border-radius:5px; font:700 1rem/1.25 var(--display); }
.field-action:hover { background:#e8feaf; }
.field-quiet { color:#eef2e8; font:600 .94rem/1.3 var(--sans); text-decoration:underline; text-decoration-color:#819174; text-underline-offset:.3em; }
.field-release { margin-top:.48rem; font-size:.84rem; line-height:1.45; color:#c2ccba; }
.field-launch { display:grid; grid-template-columns:minmax(0,2.4fr) minmax(0,1fr); position:relative; }
.field-exhibit { display:flex; flex-direction:column; min-width:0; background:#102017; }
.field-exhibit picture { display:block; flex:1; min-height:0; }
.field-exhibit picture img { width:100%; height:100%; max-width:none; object-fit:cover; aspect-ratio:2.25; }
.field-exhibit figcaption { min-height:36px; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.35rem clamp(1rem,2.3vw,2.15rem); font:500 .81rem/1.3 var(--press-mono); color:#c5d3c0; border-top:1px solid var(--v7-rule); }
.field-exhibit figcaption span:first-child { color:#f1f3e8; font-weight:600; }
.field-exhibit figcaption a { color:var(--v7-lime); text-underline-offset:.2em; }
.field-exhibit figcaption a:hover { color:#fff; }
.field-exhibit figcaption a:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
.field-paths { display:grid; grid-template-rows:repeat(2,minmax(0,1fr)); border-left:1px solid var(--v7-rule); min-width:0; }
.field-path { display:flex; position:relative; isolation:isolate; overflow:hidden; min-height:128px; padding: clamp(.9rem,2vw,2.05rem); align-items:flex-end; text-decoration:none; background:#16221b; }
.field-path+.field-path { border-top:1px solid #788771; }
.field-path img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:75% center; z-index:-2; transition:transform .35s ease; }
.field-path--training { background:#543025; }
.field-path--training .field-path__lanes { position:absolute; inset:0 0 0 auto; z-index:-2; height:100%; width:72%; color:#e8b579; }
.field-path--training.field-path::before { background:linear-gradient(90deg,#42261c 8%,rgb(66 38 28 / .84) 31%,transparent 80%); }
.field-path::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(0deg,rgba(8,16,11,.93),rgba(8,16,11,.37) 56%,transparent 92%),linear-gradient(90deg,#0b190f60,transparent 80%); }
.field-path:hover img { transform:scale(1.04); }
.field-path small,.field-path strong { display:block; }
.field-path small { font:600 .78rem/1.2 var(--press-mono); color:#ecf4dc; margin-bottom:.48rem; }
.field-path strong { font:700 clamp(1.45rem,2.3vw,2.45rem)/1 var(--display); color:#fffdf4; letter-spacing:-.045em; }
.field-path:hover strong { color:var(--v7-lime); }
.field-path:focus-visible { outline-offset:-4px; }
.field-footer { position:relative; overflow:hidden; isolation:isolate; padding:clamp(1.6rem,3.5vw,3rem); border:1px solid var(--v7-rule); background:#102018; margin-bottom:2rem; color:#c6d2c3; }
/* Decorative couple, cut out and toned in the hero green; it fades into the panel behind the text. */
.field-footer__art { position:absolute; z-index:-1; right:clamp(.5rem,4vw,4rem); bottom:0; width:auto; height:min(80%,23rem); opacity:.58; pointer-events:none; user-select:none;
  /* Fades out towards the bottom link row and the text on the left, so links stay crisp. */
  -webkit-mask-image:linear-gradient(to top,transparent 0,transparent 10%,rgba(0,0,0,.3) 30%,#000 60%),linear-gradient(to left,#000 55%,transparent);
  -webkit-mask-composite:source-in; mask-image:linear-gradient(to top,transparent 0,transparent 10%,rgba(0,0,0,.3) 30%,#000 60%),linear-gradient(to left,#000 55%,transparent); mask-composite:intersect; }
.field-footer>*:not(.field-footer__art) { position:relative; }
.field-footer>p,.field-footer .footer-bottom>p { max-width:68ch; }
.field-footer .sources summary { color:#f2f3e8; }
.field-footer .sources summary:hover { color:var(--v7-lime); }
.field-footer__head { display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.field-footer .sources { margin-block:1.1rem; border-block:1px solid var(--v7-rule); }
.field-footer .sources ol { color:#c7d1c2; padding-left:1.4rem; }
.field-footer .footer-bottom { display:flex; align-items:baseline; justify-content:space-between; gap:.45rem 1.2rem; flex-wrap:wrap; }
.field-footer p,.field-footer nav a,.field-footer__head>a:last-child { font-size:.9rem; }
.field-footer nav { display:flex; gap:1rem; flex-wrap:wrap; }
.field-footer nav a,.field-footer__head>a:last-child { display:inline-flex; align-items:center; min-height:44px; }
@media (min-width:761px) and (max-width:1080px) {
  .field-intro::before {
    inset-inline-start:50%; background-size:100% auto; background-position:right center;
    mask-image:linear-gradient(90deg,transparent,#000 22%),linear-gradient(0deg,transparent,#000 32%);
    mask-composite:intersect;
  }
}
@media(max-width:900px) {

  .field-nav__inner { gap:1rem; }
  .field-nav__sections { gap:1.1rem; }
}
@media(max-width:760px) {
  :root { --v7-rail:calc(100% - 1.2rem); }

  .field-nav__inner { min-height:61px; gap:.55rem; padding-inline:.8rem; }
  .field-brand { font-size:1.08rem; gap:.42rem; }.field-brand img { width:27px;height:27px; }
  .field-nav__sections { display:none; } .field-nav__order { padding:.45rem .68rem; font-size:.83rem; }
  .field-intro { padding:1.25rem 1.15rem 1.6rem; background:radial-gradient(ellipse at 91% 8%,#3b493b,#162d20 42%,#102319 78%); }
  .field-intro::before {
    inset:0 0 auto auto; width:78%; height:clamp(14rem,52vw,22rem); opacity:.62;
    background-image:url('../assets/field/rmr-print-small.webp'); background-size:auto 115%; background-position:right top;
    mask-image:linear-gradient(180deg,#000 14%,#000d 32%,#0005 54%,transparent 78%);
  }
  .hero-mast { min-height:9.3rem; max-width:57%; }
  .hero-mast h1 span { display:block; margin-top:.25rem; font-size:.84rem; }
  .hero-stories { max-width:100%; margin-top:.4rem; }
  .field-label { max-width:12rem; font-size:.78rem; }
  .hero-story h2 { font-size:clamp(2.35rem,8.4vw,3.65rem); }
  .hero-story p { max-width:52ch; }
  .field-intro[data-scene="book"]::before { inset:.65rem 1.15rem auto auto; width:33%; height:9rem; background-position:right center; }
  .field-intro[data-scene="zones"]::before { inset:0 0 auto auto; width:43%; height:10rem; background-image:url('../assets/field/zone2-exercise-green-480.webp'); background-position:50% 18%; mask-image:linear-gradient(90deg,transparent,#000 20%),linear-gradient(0deg,transparent,#000 20%); mask-composite:intersect; }
  .field-intro[data-scene="calories"]::before { height:11.3rem; width:49%; }
  .field-release { font-size:.82rem; margin-top:.35rem; }
  .field-launch { grid-template-columns:1fr; }
  .field-exhibit picture img { aspect-ratio:1.65; height:auto; }
  .field-exhibit figcaption { min-height:31px; padding-inline:.8rem; }
  .field-paths { grid-template:1fr / repeat(2,minmax(0,1fr)); border-left:0; border-top:1px solid var(--v7-rule); }
  .field-path { padding:.8rem; min-height:137px; }
  .field-path+.field-path { border-top:0; border-left:1px solid #788771; }
  .field-path strong { font-size:clamp(1.25rem,4.8vw,1.8rem); }
  .field-path small { font-size:.74rem; }
  .field-footer { padding:1.05rem; }
}
@media (max-width:760px) {
  /* Phone: below the links rather than behind them, rising out of the bottom edge. */
  .field-footer { display:flex; flex-direction:column; }
  .field-footer__art { order:99; position:static; align-self:flex-end; height:12rem; margin:.4rem -.2rem -1.05rem 0; opacity:.55;
    -webkit-mask-image:linear-gradient(to bottom,transparent,#000 35%),linear-gradient(to left,#000 60%,transparent); mask-image:linear-gradient(to bottom,transparent,#000 35%),linear-gradient(to left,#000 60%,transparent); }
}
@media(forced-colors:active) { .field-footer__art { display:none; } }
@media(prefers-reduced-motion:reduce) { .field-path img { transition:none; } }

@media(forced-colors:active) { .field-intro::before,.field-intro::after { display:none; } }
.field-edition #main>.case-box,.field-edition #main>.study-feature,.field-edition #main>.edition-desk { margin-block:clamp(1rem,2.2vw,2.2rem); }
.field-exhibit picture img { aspect-ratio:2; height:auto; }
.field-intro__offer>p a { color:#ebf2e4; text-decoration-color:#72846c; }
.field-intro__offer>p a:hover { color:var(--v7-lime); }
@media(max-width:760px) { .field-exhibit picture img { aspect-ratio:1.65; } }
