/**
 * Theme Name: Rey Child
 * Theme URI: http://reytheme.com/
 * Description: This is a child theme of Rey.
 * Author: Marius H.
 * Author URI:  https://twitter.com/mariushoria
 * Template: rey
 * Version: 3.2.0
 * License: General Public License
 * License URI: http://www.gnu.org/licenses/gpl.html
 * Text Domain: rey-child
 */

/* ==================================================================
   1. Brand tokens
   ================================================================== */

:root{
  /* olive */
  --olive-900:#0E1900; --olive-800:#1A2E01; --olive-700:#243F01;
  --olive-600:#305202; --olive-500:#446F0A; --olive-400:#5D8F1C;
  --olive-100:#EEF3E3;
  /* yellow */
  --yellow-700:#C9BC00; --yellow-500:#FEED00;
  --yellow-300:#FFF48C; --yellow-100:#FFFBD6;
  /* neutral */
  --white:#FFFFFF; --bone:#F7F7F4; --line:#E4E4DE;
  --grey:#73706B; --black:#000000;
  /* type */
  --font-display:'Archivo Black','Archivo',"Arial Black",Helvetica,sans-serif;
  --font-body:'Archivo',"Helvetica Neue",Helvetica,Arial,sans-serif;
  /* geometry */
  --radius:0;
  /* Left panel image for the full-screen menu. Relative to this stylesheet
     (wp-content/themes/rey-child/style.css), not absolute: CSS gets no
     search-and-replace during a host move, and this fails silently when
     wrong — the menu panel simply renders empty. */
  --menu-image: url('../../uploads/2026/09/Icon-Wayout-Design.jpg');
}

/* ==================================================================
   2. Global geometry and base type
   ================================================================== */

/* Sharp corners everywhere, matching the hard-cut logo. Elementor Pro's
   per-widget border-radius controls aren't available on Free, so this
   catches buttons, cards, inputs and images theme-wide. */
body, button, input, textarea, select,
.elementor-button, .elementor-image img, .elementor-widget-container,
img, .e-con, .elementor-element {
  border-radius: var(--radius) !important;
}

body {
  font-family: var(--font-body);
  color: var(--black);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

/* ==================================================================
   3. Hero - full-bleed video, no overlay, no text
   ================================================================== */

#wayout-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background-color: var(--olive-900);
}

#wayout-hero .elementor-background-video-container,
#wayout-hero .elementor-background-video-embed {
  position: absolute;
  inset: 0;
}

#wayout-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ==================================================================
   4. Selected work - STABLE MODE
   No sticky, no pinning, no JS scroll dependency. Intro panel on top,
   cards swipe horizontally underneath. The scrollytelling version goes
   back in once we know which ancestor is clipping overflow.
   ================================================================== */

.wayout-work {
  background: var(--olive-900);
  color: var(--white);
}

.wayout-work__wrap,
.wayout-work__sticky {
  height: auto;
  position: static;
  overflow: visible;
}

.wayout-work__track {
  display: flex;
  flex-direction: column;
  height: auto;
}

.wayout-work__screen {
  width: 100%;
  height: auto;
  position: relative;
}

/* Intro panel */
.wayout-work__screen--intro {
  height: 70vh;
  overflow: hidden;
}

.wayout-work__intromedia {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Scrim behind the intro copy.
   Measured on wayout-work-video.mp4: the bottom-left copy zone runs from
   luma 192 down to 119 across the clip, so white type on it lands between
   1.79:1 and 4.43:1 - below the 3:1 large-text floor for the first second
   and a half, which is exactly when the panel arrives. The gradient is
   anchored bottom-left where the copy sits and clears the top-right so the
   footage still reads. Tune with --intro-shade if the clip changes. */
.wayout-work__screen--intro::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top right,
    rgba(14, 25, 0, var(--intro-shade, .82)) 0%,
    rgba(14, 25, 0, calc(var(--intro-shade, .82) * .55)) 38%,
    rgba(14, 25, 0, 0) 68%
  );
}

/* No media means no footage to sit over, so no scrim either. */
.wayout-work__screen--intro:not(:has(.wayout-work__intromedia))::after {
  display: none;
}

.wayout-work__introcopy {
  position: absolute;
  left: 6vw;
  bottom: 10vh;
  z-index: 2;
  max-width: 72vw;
}

.wayout-work__eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow-500);
  margin: 0 0 14px;
}

.wayout-work__introtitle {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 150px);
  line-height: .9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}

/* Cards panel */
.wayout-work__screen--cards {
  padding: clamp(48px, 8vh, 96px) 6vw;
}

.wayout-work__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 34px;
}

.wayout-work__cards {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
}

.wayout-card {
  flex: 0 0 auto;
  width: min(30vw, 400px);
  scroll-snap-align: start;
  overflow: hidden;
}

.wayout-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.wayout-card__media {
  position: relative;
  height: min(52vh, 520px);
  overflow: hidden;
  background: var(--olive-800);
}

.wayout-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wayout-card img,
.wayout-card video {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.wayout-card__meta { padding: 16px 0 0; }

.wayout-card__cat {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow-500);
  margin-bottom: 6px;
}

.wayout-card__title {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 24px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0;
}

@media (max-width: 1024px) {
  .wayout-work__screen--intro { height: 60vh; }
  .wayout-card { width: 78vw; }
  .wayout-card__media { height: 46vh; }
}

/* ==================================================================
   5. Services list
   ================================================================== */

.wayout-services {
  background: var(--white);
  color: var(--black);
  padding: clamp(64px, 10vh, 140px) 6vw;
}

.wayout-services__eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--olive-600);
  margin: 0 0 14px;
}

.wayout-services__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--black);
  margin: 0 0 clamp(32px, 5vh, 64px);
  max-width: 16ch;
}

.wayout-services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.wayout-service { border-bottom: 1px solid var(--line); }

.wayout-service__link {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1.1fr) minmax(0, 1fr) 3rem;
  align-items: center;
  gap: 24px;
  padding: clamp(20px, 3vh, 38px) clamp(12px, 2vw, 28px);
  text-decoration: none;
  color: inherit;
  transition: background-color .45s cubic-bezier(0.22, 1, 0.36, 1),
              color .45s cubic-bezier(0.22, 1, 0.36, 1);
}

.wayout-service__num {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--grey);
  transition: color .45s ease;
}

.wayout-service__name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.wayout-service__desc {
  font-family: var(--font-body);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.6;
  color: var(--grey);
  transition: color .45s ease;
}

.wayout-service__arrow {
  font-size: 26px;
  justify-self: end;
  transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1);
}

.wayout-service__link:hover { background: var(--olive-600); color: var(--white); }
.wayout-service__link:hover .wayout-service__num { color: var(--yellow-500); }
.wayout-service__link:hover .wayout-service__desc { color: rgba(255,255,255,.82); }
.wayout-service__link:hover .wayout-service__arrow { transform: translateX(10px); }

@media (max-width: 860px) {
  .wayout-service__link {
    grid-template-columns: 3rem 1fr 2rem;
    grid-template-areas: "num name arrow" ". desc desc";
    row-gap: 8px;
  }
  .wayout-service__num  { grid-area: num; }
  .wayout-service__name { grid-area: name; }
  .wayout-service__desc { grid-area: desc; }
  .wayout-service__arrow { grid-area: arrow; }
}

/* ==================================================================
   6. Closing CTA
   ================================================================== */

.wayout-cta {
  background: var(--olive-800);
  padding: clamp(72px, 14vh, 180px) 6vw;
}

.wayout-cta .wayout-cta__eyebrow,
.wayout-cta .elementor-widget-text-editor {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow-500);
}

.wayout-cta h2,
.wayout-cta .elementor-heading-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 96px);
  line-height: .98;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0;
}

.wayout-cta .elementor-button {
  background-color: var(--yellow-500) !important;
  color: var(--black) !important;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 20px 36px;
  border: 0;
  transition: background-color .35s ease, transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}

.wayout-cta .elementor-button:hover {
  background-color: var(--white) !important;
  transform: translateY(-2px);
}

/* ==================================================================
   7. Fixed header
   ================================================================== */

.wayout-header {
  position: fixed;
  top: clamp(24px, 3.4vh, 40px);
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 clamp(20px, 3vw, 44px);
  pointer-events: none;
  will-change: transform, opacity;
}

.wayout-header > * { pointer-events: auto; }

/* Clear the WordPress admin bar when logged in */
body.admin-bar .wayout-header { top: calc(clamp(24px, 3.4vh, 40px) + 32px); }
@media screen and (max-width: 782px) {
  body.admin-bar .wayout-header { top: calc(clamp(24px, 3.4vh, 40px) + 46px); }
}

.wayout-header__logo {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 26px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 20px;
  line-height: 1;
}

.wayout-header__bar {
  background: var(--white);
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  padding: 10px 14px 10px 18px;
}

.wayout-header__cta {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 13px 22px;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}

.wayout-header__cta:hover {
  background: var(--olive-600);
  border-color: var(--olive-600);
  color: var(--white);
}

.wayout-header__toggle {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 42px;
}

.wayout-header__toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--black);
  transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}

.wayout-header__toggle:hover span:first-child { transform: translateX(4px); }

/* ==================================================================
   8. Full-screen menu overlay
   ================================================================== */

.wayout-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  visibility: hidden;
}

.wayout-menu.is-open { visibility: visible; }

.wayout-menu__left {
  width: 44%;
  height: 100%;
  overflow: hidden;
  background: var(--olive-800) var(--menu-image, none) left top / cover no-repeat;
}

.wayout-menu__right {
  width: 56%;
  height: 100%;
  display: flex;
  align-items: center;
  background: var(--olive-900);
  position: relative;
  overflow-y: auto; /* if the list is ever taller than the screen, it scrolls rather than clipping */
}

.wayout-menu__close {
  position: absolute;
  top: clamp(24px, 3.6vh, 40px);
  right: clamp(28px, 5.4vw, 104px);
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: var(--white);
  transition: opacity .3s, transform .3s;
}

body.admin-bar .wayout-menu__close { top: calc(clamp(24px, 3.6vh, 40px) + 32px); }

.wayout-menu__close:hover { opacity: .6; transform: rotate(90deg); }
.wayout-menu__close svg { display: block; width: clamp(28px, 2.3vw, 44px); height: clamp(28px, 2.3vw, 44px); }

.wayout-menu__nav {
  width: 100%;
  padding-top: clamp(80px, 12vh, 130px);    /* clears the close button and admin bar */
  padding-bottom: clamp(40px, 8vh, 90px);
  padding-left: clamp(40px, 14%, 160px);
  padding-right: clamp(24px, 8%, 120px);
}

.wayout-menu__nav ul { list-style: none; margin: 0; padding: 0; max-width: clamp(300px, 38vw, 620px); }
.wayout-menu__nav li { display: block; border-bottom: 1px solid rgba(255,255,255,.25); }
.wayout-menu__nav li:last-child { border-bottom: 0; }

/* Sized so the full list (six items plus the admin bar in preview) fits
   one screen. Was clamp(34px,5vw,96px), which overflowed on desktop. */
.wayout-menu__nav a {
  display: inline-block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  padding: clamp(10px, 1.15vw, 20px) 0;
  text-decoration: none;
  transition: color .35s;
}

.wayout-menu__nav a:hover { color: var(--yellow-500); }

body.wayout-menu-open { overflow: hidden; }

@media (max-width: 991px) {
  .wayout-menu__left { display: none; }
  .wayout-menu__right { width: 100%; }
  .wayout-menu__nav { padding-left: clamp(24px, 10vw, 100px); }
  .wayout-header__cta { display: none; }
}

/* ==================================================================
   9. Hide Rey's own header, ours replaces it
   ================================================================== */

.rey-siteHeader,
.rey-mainHeader,
#masthead,
.site-header { display: none !important; }

/* ==================================================================
   10. Footer - scroll-scrubbed video
   ================================================================== */

.wayout-footer {
  --footer-shade: rgba(14, 25, 0, .68);
  --footer-scrub-h: 250vh;
  background: var(--black);
  color: var(--white);
  position: relative;
}

.wayout-footer__wrap { height: auto; }
.wayout-footer.is-scrub .wayout-footer__wrap { height: var(--footer-scrub-h); }

.wayout-footer__sticky {
  position: sticky;
  top: 0;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
}

.wayout-footer.is-scrub .wayout-footer__sticky { height: 100svh; min-height: 0; }

.wayout-footer__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wayout-footer__shade { position: absolute; inset: 0; background: var(--footer-shade); }

.wayout-footer__content {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(48px, 11vh, 125px) clamp(24px, 5.6vw, 108px) clamp(28px, 6vh, 64px);
}

.wayout-footer a { color: inherit; text-decoration: none; transition: color .3s ease, opacity .3s ease; }

.wayout-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(32px, 5vw, 96px);
  flex-wrap: wrap;
}

.wayout-footer__mark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 150px);
  line-height: .9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.wayout-footer__mark:hover { opacity: .85; }

.wayout-footer__tagline {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.25vw, 22px);
  line-height: 1.5;
  margin: clamp(20px, 4vh, 40px) 0 0;
  max-width: clamp(320px, 26vw, 480px);
}

.wayout-footer__address {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  margin: 14px 0 0;
  color: rgba(255,255,255,.7);
}

.wayout-footer__contact { display: flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; }

.wayout-footer__big {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, .8vw, 16px);
  width: 100%;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 48px);
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(255,255,255,.8);
  padding-bottom: clamp(16px, 2.5vh, 26px);
}

.wayout-footer__big:hover { color: var(--yellow-500); }
.wayout-footer__phone { margin-top: clamp(14px, 2vh, 24px); }
.wayout-footer__big svg { flex-shrink: 0; width: clamp(20px, 1.8vw, 36px); height: clamp(20px, 1.8vw, 36px); }

.wayout-footer__nav { margin-top: clamp(28px, 6vh, 68px); }
.wayout-footer__nav ul { list-style: none; margin: 0; padding: 0; }
.wayout-footer__nav li { display: block; }

.wayout-footer__nav li a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  padding: clamp(6px, .9vh, 10px) 0;
}

.wayout-footer__nav li a:hover { color: var(--yellow-500); }

.wayout-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: clamp(28px, 5vh, 56px);
  padding-top: clamp(20px, 3.5vh, 38px);
  border-top: 1px solid rgba(255,255,255,.7);
}

.wayout-footer__socials { display: flex; gap: clamp(16px, 1.6vw, 30px); list-style: none; margin: 0; padding: 0; }

.wayout-footer__socials a {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wayout-footer__socials a:hover { color: var(--yellow-500); }

.wayout-footer__legal {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.65);
}

@media (max-width: 860px) {
  .wayout-footer { --footer-scrub-h: 180vh; }
  .wayout-footer__top { flex-direction: column; }
  .wayout-footer__contact { width: 100%; }
}
/* ==================================================================
   11. Selected work - restore the sticky horizontal reveal
   Rey wraps the site in .rey-siteWrapper with overflow:hidden, which
   silently disables position:sticky for everything inside it.
   overflow:clip clips identically but does NOT create a scroll
   container, so sticky works. (visible may only pair with clip.)
   ================================================================== */

.rey-siteWrapper {
  overflow-x: clip;
  overflow-y: visible;
}

@media (min-width: 1025px) {

  .wayout-work__wrap {
    position: relative;
    /* The intro screen holds for --work-hold before the cards start
       moving, then --work-scroll * 1.8 carries them across. Both are
       written from wayout-animations.js. */
    height: calc(100svh + var(--work-hold, 0px) + (var(--work-scroll, 0px) * 1.8));
  }

  .wayout-work__sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    display: flex;
    overflow: hidden;
  }

  .wayout-work__track {
    flex-direction: row;
    align-items: stretch;
    height: 100%;
    will-change: transform;
  }

  .wayout-work__screen { flex: 0 0 auto; width: auto; height: 100%; }

  .wayout-work__screen--intro { width: 100vw; height: 100%; }

  .wayout-work__screen--cards {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    padding: 0 6vw;
  }

  .wayout-work__title { margin: 0; }

  .wayout-work__cards {
    height: min(56vh, 600px);
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .wayout-card { width: min(28vw, 400px); height: 100%; }

  .wayout-card__link { display: flex; flex-direction: column; height: 100%; }

  .wayout-card__media { flex: 1; min-height: 0; height: auto; }
}

/* ==================================================================
   12. Hide Rey's own footer, ours replaces it
   ================================================================== */

.rey-siteFooter,
.rey-siteFooter-row,
.rey-footer,
#colophon,
.site-footer:not(.wayout-footer) {
  display: none !important;
}
/* ==================================================================
   13. Start a Project: router, forms, thank-you
   All on Paper White. Olive carries the weight; the single yellow
   moment on the form is the final Send button.
   ================================================================== */

.wayout-eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--olive-600);
  margin: 0 0 14px;
}

/* ---- Router ---- */

.wayout-start {
  background: var(--white);
  color: var(--black);
  padding: clamp(140px, 22vh, 220px) 6vw clamp(72px, 12vh, 140px);
}

.wayout-start__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.4vw, 104px);
  line-height: .96;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  max-width: 14ch;
}

.wayout-start__intro {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.3vw, 21px);
  line-height: 1.6;
  color: var(--grey);
  max-width: 56ch;
  margin: 0 0 clamp(40px, 7vh, 80px);
}

.wayout-start__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.wayout-start__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 3.4vw, 52px);
  background: var(--olive-100);
  color: var(--black);
  text-decoration: none;
  min-height: 340px;
  transition: background-color .45s cubic-bezier(0.22, 1, 0.36, 1), color .45s cubic-bezier(0.22, 1, 0.36, 1);
}

.wayout-start__num {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--grey);
  transition: color .45s ease;
}

.wayout-start__name {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.wayout-start__desc {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.6;
  color: var(--grey);
  transition: color .45s ease;
}

.wayout-start__go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wayout-start__go svg { width: 20px; height: 20px; transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1); }

.wayout-start__card:hover { background: var(--olive-600); color: var(--white); }
.wayout-start__card:hover .wayout-start__num { color: var(--yellow-500); }
.wayout-start__card:hover .wayout-start__desc { color: rgba(255,255,255,.82); }
.wayout-start__card:hover .wayout-start__go svg { transform: translate(4px, -4px); }

.wayout-start__aside {
  margin: clamp(28px, 5vh, 48px) 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey);
  max-width: 60ch;
}

.wayout-start__aside a { color: var(--olive-600); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.wayout-start__aside a:hover { color: var(--black); }

/* ---- Form page ---- */

.wayout-form {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  padding: clamp(140px, 22vh, 220px) 6vw clamp(72px, 12vh, 140px);
}

.wayout-form__head { max-width: 760px; margin: 0 auto clamp(32px, 6vh, 64px); }

.wayout-form__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 96px);
  line-height: .96;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.wayout-form__lede {
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.6;
  color: var(--grey);
  margin: 0;
  max-width: 56ch;
}

.wayout-form__form { max-width: 760px; margin: 0 auto; }

.wayout-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Progress: the brief's "02 / 06" pattern */
.wayout-form__progress { margin-bottom: clamp(28px, 5vh, 44px); }

.wayout-form__count {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 34px);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.wayout-form__count span { color: var(--olive-600); }

.wayout-form__bar { height: 3px; background: var(--line); overflow: hidden; }
.wayout-form__fill { height: 100%; width: 0; background: var(--olive-600); transition: width .5s cubic-bezier(0.22, 1, 0.36, 1); }

.wayout-form__labels {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 1100px) { .wayout-form__labels { display: none; } }

.wayout-form__labels li {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C9C8C2;
  white-space: nowrap;
  transition: color .3s;
}

.wayout-form__labels li.is-done { color: var(--grey); }
.wayout-form__labels li.is-active { color: var(--black); }

/* Steps */
.wayout-step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.wayout-step.is-active { display: block; animation: wayoutStepIn .4s cubic-bezier(0.22, 1, 0.36, 1); }

@keyframes wayoutStepIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.wayout-step__legend { display: block; width: 100%; padding: 0; margin: 0 0 28px; }

.wayout-step__num {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--olive-600);
  margin-bottom: 8px;
}

.wayout-step__title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.wayout-step__sub { display: block; margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--grey); }

.wayout-step__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 22px;
}

/* Fields */
.wayout-field { min-width: 0; }
.wayout-field--full { grid-column: 1 / -1; }

.wayout-field__label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 10px;
}

.wayout-field__req { color: var(--olive-600); }

.wayout-field__help { display: block; margin-top: 8px; font-size: 12px; line-height: 1.5; color: var(--grey); }

.wayout-field input[type="text"],
.wayout-field input[type="email"],
.wayout-field input[type="tel"],
.wayout-field input[type="url"],
.wayout-field textarea,
.wayout-field select {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  outline: none;
  transition: border-color .25s ease, background-color .25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.wayout-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  padding-right: 48px;
}

.wayout-field input::placeholder,
.wayout-field textarea::placeholder { color: #B5B3AD; }

.wayout-field input:hover,
.wayout-field textarea:hover,
.wayout-field select:hover { border-color: var(--grey); }

.wayout-field input:focus,
.wayout-field textarea:focus,
.wayout-field select:focus { border-color: var(--olive-600); box-shadow: inset 0 0 0 1px var(--olive-600); }

.wayout-field.is-invalid input,
.wayout-field.is-invalid textarea,
.wayout-field.is-invalid select { border-color: #B42318; }

/* File input */
.wayout-field input[type="file"] {
  width: 100%;
  box-sizing: border-box;
  padding: 22px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--grey);
  background: var(--bone);
  border: 1px dashed var(--grey);
  cursor: pointer;
}

.wayout-field input[type="file"]:hover { background: var(--olive-100); border-color: var(--olive-600); }

.wayout-field input[type="file"]::file-selector-button {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 10px 16px;
  margin-right: 16px;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}

.wayout-field input[type="file"]::file-selector-button:hover { background: var(--olive-600); border-color: var(--olive-600); color: var(--white); }

/* Choice tiles: radios and checkboxes */
.wayout-choices { display: flex; flex-wrap: wrap; gap: 10px; }

.wayout-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
}

.wayout-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.wayout-choice span {
  display: inline-block;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  transition: background-color .3s cubic-bezier(0.22, 1, 0.36, 1), color .3s, border-color .3s;
}

.wayout-choice:hover span { border-color: var(--olive-600); }
.wayout-choice input:checked + span { background: var(--olive-600); border-color: var(--olive-600); color: var(--white); }
.wayout-choice input:focus-visible + span { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--olive-600); }

/* Scale: 1 to 5 between two words */
.wayout-scale { display: flex; align-items: center; gap: 8px; }

.wayout-scale__end {
  flex: 1 1 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--grey);
  min-width: 0;
}

.wayout-scale__end--right { text-align: right; }

.wayout-scale__dot { position: relative; cursor: pointer; margin: 0; }
.wayout-scale__dot input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }

.wayout-scale__dot span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 13px;
  font-weight: 800;
  color: var(--grey);
  border: 1px solid var(--line);
  background: var(--white);
  transition: background-color .3s, color .3s, border-color .3s;
}

.wayout-scale__dot:hover span { border-color: var(--olive-600); color: var(--black); }
.wayout-scale__dot input:checked + span { background: var(--olive-600); border-color: var(--olive-600); color: var(--white); }
.wayout-scale__dot input:focus-visible + span { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--olive-600); }

/* Consent */
.wayout-consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bone);
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
  color: var(--grey);
  cursor: pointer;
  margin: 0;
}

.wayout-consent input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  border: 1px solid var(--grey);
  background: var(--white);
  position: relative;
  cursor: pointer;
}

.wayout-consent input:checked { background: var(--olive-600); border-color: var(--olive-600); }

.wayout-consent input:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.wayout-consent a { color: var(--olive-600); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Buttons */
.wayout-step__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: clamp(28px, 5vh, 44px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.wayout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 20px 36px;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}

.wayout-btn:disabled { opacity: .5; cursor: wait; }

.wayout-btn--olive { background: var(--olive-600); color: var(--white); }
.wayout-btn--olive:hover { background: var(--black); transform: translateY(-2px); }

.wayout-btn--yellow { background: var(--yellow-500); color: var(--black); }
.wayout-btn--yellow:hover { background: var(--black); color: var(--yellow-500); transform: translateY(-2px); }

.wayout-btn--ghost { background: transparent; color: var(--black); border-color: var(--line); }
.wayout-btn--ghost:hover { border-color: var(--black); }

.wayout-btn.is-loading { pointer-events: none; }

/* Errors and upload state */
.wayout-form__error {
  max-width: 760px;
  margin: 0 auto 24px;
  padding: 18px 20px;
  background: #FCEBEA;
  border: 1px solid #B42318;
  color: #7A1C14;
  font-size: 14px;
  line-height: 1.6;
}

.wayout-form__upload { margin-top: 20px; padding: 18px 20px; background: var(--bone); border: 1px solid var(--line); }

.wayout-form__upload-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.wayout-form__upload #wayout-upload-pct { color: var(--olive-600); font-variant-numeric: tabular-nums; }

.wayout-form__upload.is-processing .wayout-form__fill {
  background: linear-gradient(90deg, var(--olive-600) 0%, var(--olive-400) 50%, var(--olive-600) 100%);
  background-size: 200% 100%;
  animation: wayoutShimmer 1.4s linear infinite;
}

@keyframes wayoutShimmer {
  from { background-position: 0 0; }
  to   { background-position: -200% 0; }
}

/* ---- Thank you ---- */

.wayout-thanks {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  padding: clamp(140px, 22vh, 220px) 6vw clamp(72px, 12vh, 140px);
  min-height: 70vh;
}

.wayout-thanks__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 150px);
  line-height: .9;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
}

.wayout-thanks__ref {
  font-size: clamp(16px, 1.3vw, 21px);
  line-height: 1.6;
  margin: 0 0 12px;
}

.wayout-thanks__ref strong { color: var(--olive-600); letter-spacing: .04em; }

.wayout-thanks__body { font-size: clamp(15px, 1.2vw, 19px); line-height: 1.6; color: var(--grey); max-width: 56ch; margin: 0 0 36px; }

/* ---- Mobile ---- */
@media (max-width: 860px) {
  .wayout-start__cards { grid-template-columns: 1fr; }
  .wayout-start__card { min-height: 0; }
  .wayout-step__grid { grid-template-columns: 1fr; }
  .wayout-form__labels { display: none; }
  .wayout-scale { flex-wrap: wrap; }
  .wayout-scale__end { flex-basis: 100%; }
  .wayout-scale__end--right { text-align: left; order: 10; }
  .wayout-step__nav { flex-direction: column-reverse; align-items: stretch; }
  .wayout-btn { width: 100%; }
}

/* ==================================================================
   14. Work grid and single case study
   ================================================================== */

.wayout-eyebrow--light { color: var(--yellow-500); }

/* ---- Grid page ---- */

.wayout-grid {
  background: var(--white);
  color: var(--black);
  padding: clamp(140px, 22vh, 220px) 6vw clamp(72px, 12vh, 140px);
}

.wayout-grid__head { margin-bottom: clamp(32px, 6vh, 64px); }

.wayout-grid__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.4vw, 104px);
  line-height: .96;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  max-width: 14ch;
}

.wayout-grid__intro {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.3vw, 21px);
  line-height: 1.6;
  color: var(--grey);
  max-width: 56ch;
  margin: 0;
}

.wayout-grid__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(32px, 5vh, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.wayout-grid__filter {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 13px 18px;
  cursor: pointer;
  transition: background-color .3s cubic-bezier(0.22, 1, 0.36, 1), color .3s, border-color .3s;
}

.wayout-grid__filter span { color: var(--grey); margin-left: 6px; font-weight: 500; letter-spacing: 0; }
.wayout-grid__filter:hover { border-color: var(--olive-600); }
.wayout-grid__filter.is-active { background: var(--olive-600); border-color: var(--olive-600); color: var(--white); }
.wayout-grid__filter.is-active span { color: var(--yellow-500); }

.wayout-grid__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px) clamp(20px, 2.4vw, 40px);
}

.wayout-tile { min-width: 0; }
.wayout-tile--wide { grid-column: 1 / -1; }
.wayout-tile[hidden] { display: none; }

.wayout-tile__link { display: block; text-decoration: none; color: inherit; }

.wayout-tile__media {
  position: relative;
  overflow: hidden;
  background: var(--olive-100);
  aspect-ratio: 4 / 3;
}

.wayout-tile--wide .wayout-tile__media { aspect-ratio: 21 / 9; }

.wayout-tile__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.wayout-tile__meta { padding: 18px 0 0; }

.wayout-tile__cat {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--olive-600);
  margin-bottom: 8px;
}

.wayout-tile__cat i { font-style: normal; color: var(--grey); }

.wayout-tile__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--black);
  transition: color .3s;
}

.wayout-tile--wide .wayout-tile__title { font-size: clamp(26px, 3vw, 48px); }
.wayout-tile__link:hover .wayout-tile__title { color: var(--olive-600); }

.wayout-grid__empty {
  font-family: var(--font-body);
  color: var(--grey);
  padding: 48px 0;
  margin: 0;
}

/* ---- Single case study ---- */

.wayout-case { background: var(--white); color: var(--black); font-family: var(--font-body); }

.wayout-case__hero {
  position: relative;
  min-height: 100svh;
  background: var(--olive-900);
  color: var(--white);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.wayout-case__media { position: absolute; inset: 0; }

.wayout-case__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* Bottom-weighted shade so the title reads on any photograph. Olive,
   not black, so it stays on-palette. */
.wayout-case__hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 25, 0, .82) 0%, rgba(14, 25, 0, .35) 45%, rgba(14, 25, 0, 0) 75%);
  pointer-events: none;
}

.wayout-case__intro {
  position: relative;
  z-index: 1;
  padding: 0 6vw clamp(48px, 9vh, 110px);
  max-width: 1100px;
}

.wayout-case__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 120px);
  line-height: .94;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--white);
}

.wayout-case__facts {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  padding: clamp(56px, 9vh, 120px) 6vw;
  border-bottom: 1px solid var(--line);
}

.wayout-case__summary {
  font-size: clamp(20px, 1.9vw, 30px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--black);
}

.wayout-case__meta { margin: 0; display: grid; gap: 18px; align-content: start; }
.wayout-case__meta div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.wayout-case__meta div:last-child { border-bottom: 0; }

.wayout-case__meta dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey);
  padding-top: 3px;
}

.wayout-case__meta dd { margin: 0; font-size: 16px; line-height: 1.5; }

.wayout-case__body {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 120px) 6vw;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.7;
}

.wayout-case__body h2,
.wayout-case__body h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 1.6em 0 .6em;
}

.wayout-case__body h2 { font-size: clamp(26px, 2.6vw, 40px); }
.wayout-case__body h3 { font-size: clamp(20px, 1.8vw, 28px); }
.wayout-case__body p { margin: 0 0 1.3em; }
.wayout-case__body a { color: var(--olive-600); text-decoration: underline; text-underline-offset: 3px; }
.wayout-case__body img { display: block; max-width: 100%; height: auto; margin: 2em 0; }
.wayout-case__body blockquote {
  margin: 2em 0;
  padding: 0 0 0 24px;
  border-left: 3px solid var(--yellow-500);
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.wayout-case__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
  padding: 0 6vw clamp(56px, 9vh, 120px);
}

.wayout-case__fig { margin: 0; min-width: 0; }
.wayout-case__fig--wide { grid-column: 1 / -1; }
.wayout-case__fig img { display: block; width: 100%; height: auto; background: var(--olive-100); }

.wayout-case__fig figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--grey);
}

.wayout-case__nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: clamp(32px, 5vh, 56px) 6vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.wayout-case__navlink { display: block; text-decoration: none; color: inherit; min-width: 0; }
.wayout-case__navlink--next { text-align: right; }

.wayout-case__navlabel {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}

.wayout-case__navtitle {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  transition: color .3s;
}

.wayout-case__navlink:hover .wayout-case__navtitle { color: var(--olive-600); }

.wayout-case__navall {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 13px 22px;
  transition: background-color .3s, color .3s, border-color .3s;
}

.wayout-case__navall:hover { background: var(--olive-600); border-color: var(--olive-600); color: var(--white); }

/* Closing CTA reused from the Homepage styles, laid out without Elementor */
.wayout-cta--inline { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.wayout-cta--inline .wayout-cta__eyebrow { margin: 0; }
.wayout-cta--inline h2 { max-width: 14ch; }

@media (max-width: 860px) {
  .wayout-grid__items { grid-template-columns: 1fr; }
  .wayout-tile--wide .wayout-tile__media { aspect-ratio: 4 / 3; }
  .wayout-case__hero { min-height: 72svh; }
  .wayout-case__facts { grid-template-columns: 1fr; }
  .wayout-case__meta div { grid-template-columns: 90px 1fr; }
  .wayout-case__gallery { grid-template-columns: 1fr; }
  .wayout-case__nav { grid-template-columns: 1fr 1fr; }
  .wayout-case__navall { grid-column: 1 / -1; justify-self: start; order: 3; }
}

/* ==================================================================
   15. About and Contact
   ================================================================== */

.wayout-page__head { margin-bottom: clamp(40px, 7vh, 80px); }

.wayout-page__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.4vw, 104px);
  line-height: .96;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  max-width: 14ch;
}

.wayout-page__lede {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.4vw, 23px);
  line-height: 1.55;
  color: var(--black);
  max-width: 52ch;
  margin: 0;
}

/* ---- About ---- */

.wayout-about {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  padding: clamp(140px, 22vh, 220px) 6vw 0;
}

.wayout-about__h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(28px, 5vh, 48px);
  max-width: 16ch;
}

.wayout-about__story {
  max-width: 62ch;
  margin-left: auto;
  padding-bottom: clamp(56px, 9vh, 120px);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.65;
  color: var(--grey);
}

.wayout-about__story p { margin: 0 0 1.3em; }
.wayout-about__story p:first-child { color: var(--black); }

.wayout-about__band {
  margin: 0 -6vw;
  padding: clamp(56px, 9vh, 120px) 6vw;
  background: var(--olive-900);
  color: var(--white);
}

.wayout-about__band .wayout-about__h2 { color: var(--white); }

.wayout-about__pillars,
.wayout-about__steps { list-style: none; margin: 0; padding: 0; }

.wayout-about__pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 56px);
  border-top: 1px solid rgba(255,255,255,.22);
}

.wayout-about__pillars li {
  padding: clamp(24px, 3.5vh, 40px) 0;
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.wayout-about__num {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--yellow-500);
  margin-bottom: 12px;
}

.wayout-about__pillars h3,
.wayout-about__steps h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.wayout-about__reach {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 14px;
}

.wayout-about__pillars p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.82); }

.wayout-about__how { padding: clamp(56px, 9vh, 120px) 0; }

.wayout-about__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 56px);
  border-top: 1px solid var(--line);
  padding-top: clamp(24px, 3.5vh, 40px);
}

.wayout-about__steps .wayout-about__num { color: var(--olive-600); }
.wayout-about__steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--grey); }

.wayout-about__where {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 80px);
  padding: clamp(56px, 9vh, 120px) 0;
  border-top: 1px solid var(--line);
}

.wayout-about__where .wayout-about__h2 { margin-bottom: 0; }
.wayout-about__wherecopy { font-size: clamp(16px, 1.2vw, 19px); line-height: 1.65; color: var(--grey); }
.wayout-about__wherecopy p { margin: 0 0 1.2em; }
.wayout-about__wherecopy p:first-child { color: var(--black); }

.wayout-about .wayout-cta--inline { margin: 0 -6vw; padding: clamp(72px, 14vh, 180px) 6vw; }

/* ---- Contact ---- */

.wayout-contact {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  padding: clamp(140px, 22vh, 220px) 6vw clamp(72px, 12vh, 140px);
}

.wayout-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}

.wayout-contact__big {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 60px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--black);
  text-decoration: none;
  padding: clamp(18px, 3vh, 32px) 0;
  border-bottom: 1px solid var(--line);
  transition: color .3s;
  word-break: break-word;
}

.wayout-contact__big:first-child { border-top: 1px solid var(--line); }
.wayout-contact__big:hover { color: var(--olive-600); }
.wayout-contact__big svg { flex-shrink: 0; width: clamp(22px, 2.2vw, 40px); height: clamp(22px, 2.2vw, 40px); transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1); }
.wayout-contact__big:hover svg { transform: translate(4px, -4px); }

.wayout-contact__facts { margin: 0; display: grid; gap: 18px; }
.wayout-contact__facts div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }

.wayout-contact__facts dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey);
  padding-top: 3px;
}

.wayout-contact__facts dd { margin: 0; font-size: 16px; line-height: 1.55; }
.wayout-contact__facts dd i { font-style: normal; color: var(--grey); }
.wayout-contact__facts a { color: var(--olive-600); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.wayout-contact__facts a:hover { color: var(--black); }

.wayout-contact__start { margin-top: clamp(28px, 5vh, 48px); padding: clamp(24px, 3vw, 40px); background: var(--olive-100); }
.wayout-contact__start .wayout-eyebrow { margin-bottom: 18px; }

.wayout-contact__map {
  margin-top: clamp(48px, 8vh, 96px);
  height: clamp(320px, 50vh, 560px);
  background: var(--olive-100);
  filter: grayscale(1) contrast(1.05);
}

.wayout-contact__map iframe { display: block; width: 100%; height: 100%; }

@media (max-width: 860px) {
  .wayout-about__pillars { grid-template-columns: 1fr; }
  .wayout-about__steps { grid-template-columns: 1fr; }
  .wayout-about__where { grid-template-columns: 1fr; }
  .wayout-about__story { margin-left: 0; }
  .wayout-contact__grid { grid-template-columns: 1fr; }
}

/* ==================================================================
   16. Service pages (template-service.php)
   ================================================================== */

.wayout-service-page { background: var(--white); color: var(--black); font-family: var(--font-body); }

.wayout-svc__hero {
  position: relative;
  min-height: 72svh;
  background: var(--olive-800);
  color: var(--white);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.wayout-svc__hero.has-media { min-height: 100svh; }
.wayout-svc__media { position: absolute; inset: 0; }
.wayout-svc__media img { display: block; width: 100%; height: 100%; object-fit: cover; will-change: transform; }

.wayout-svc__hero.has-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 25, 0, .85) 0%, rgba(14, 25, 0, .4) 45%, rgba(14, 25, 0, 0) 75%);
  pointer-events: none;
}

.wayout-svc__intro {
  position: relative;
  z-index: 1;
  padding: clamp(140px, 22vh, 220px) 6vw clamp(48px, 9vh, 110px);
  max-width: 1100px;
}

.wayout-svc__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 120px);
  line-height: .94;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: var(--white);
}

.wayout-svc__lede {
  font-size: clamp(17px, 1.4vw, 23px);
  line-height: 1.5;
  margin: 0;
  max-width: 52ch;
  color: rgba(255,255,255,.88);
}

.wayout-svc__standfirst {
  padding: clamp(56px, 9vh, 120px) 6vw 0;
}

.wayout-svc__standfirst p {
  margin: 0 0 0 auto;
  max-width: 62ch;
  font-size: clamp(20px, 1.9vw, 30px);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.wayout-svc__h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 clamp(28px, 5vh, 48px);
  max-width: 16ch;
}

.wayout-svc__num {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--olive-600);
  margin-bottom: 12px;
}

.wayout-svc__items,
.wayout-svc__how { padding: clamp(56px, 9vh, 120px) 6vw; }

.wayout-svc__items ul,
.wayout-svc__how ol { list-style: none; margin: 0; padding: 0; }

.wayout-svc__items ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 56px);
  border-top: 1px solid var(--line);
}

.wayout-svc__items li { padding: clamp(24px, 3.5vh, 40px) 0; border-bottom: 1px solid var(--line); }

.wayout-svc__items h3,
.wayout-svc__how h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.wayout-svc__items p,
.wayout-svc__how p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--grey); }

.wayout-svc__body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 6vw clamp(56px, 9vh, 120px);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.7;
}

.wayout-svc__body h2, .wayout-svc__body h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.08; margin: 1.6em 0 .6em; }
.wayout-svc__body h2 { font-size: clamp(26px, 2.6vw, 40px); }
.wayout-svc__body h3 { font-size: clamp(20px, 1.8vw, 28px); }
.wayout-svc__body p { margin: 0 0 1.3em; }
.wayout-svc__body a { color: var(--olive-600); text-decoration: underline; text-underline-offset: 3px; }
.wayout-svc__body img { display: block; max-width: 100%; height: auto; margin: 2em 0; }

.wayout-svc__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
  padding: 0 6vw clamp(56px, 9vh, 120px);
}

.wayout-svc__how { background: var(--olive-100); }

.wayout-svc__how ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 56px);
  border-top: 1px solid rgba(48, 82, 2, .25);
  padding-top: clamp(24px, 3.5vh, 40px);
}

.wayout-svc__related { padding: clamp(56px, 9vh, 120px) 6vw; }

.wayout-svc__relhead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.wayout-svc__relhead .wayout-svc__h2 { margin-bottom: 0; }
.wayout-svc__relhead .wayout-case__navall { margin-bottom: 6px; }

.wayout-svc__tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
  margin-top: clamp(28px, 5vh, 48px);
}

.wayout-svc__tiles .wayout-tile__title { font-size: clamp(16px, 1.3vw, 22px); }

.wayout-svc__others { padding: clamp(40px, 7vh, 80px) 6vw; border-top: 1px solid var(--line); }
.wayout-svc__others ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }

.wayout-svc__others a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 36px);
  letter-spacing: -0.02em;
  color: var(--black);
  text-decoration: none;
  transition: color .3s;
}

.wayout-svc__others a span { transition: transform .45s cubic-bezier(0.22, 1, 0.36, 1); }
.wayout-svc__others a:hover { color: var(--olive-600); }
.wayout-svc__others a:hover span { transform: translateX(8px); }

@media (max-width: 1024px) {
  .wayout-svc__items ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wayout-svc__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .wayout-svc__hero.has-media { min-height: 80svh; }
  .wayout-svc__items ul, .wayout-svc__how ol, .wayout-svc__gallery { grid-template-columns: 1fr; }
  .wayout-svc__standfirst p { margin-left: 0; }
}

/* ==================================================================
   17. Signature Series
   17a. Restyle of the plugin's own screens, CSS only. The plugin's
        stylesheets read --ssp-* tokens with fallbacks; redefining the
        tokens here (this file loads after the plugin's) recolours the
        Book Now card, the Order Now wizard, the consent block and the
        Thank You page without touching a plugin file. The rules after
        the token block catch the few hard-coded values.
        wp-admin is unaffected: this stylesheet does not load there.
   ================================================================== */

:root {
  --ssp-green: var(--olive-600);
  --ssp-green-bright: var(--olive-500);
  --ssp-green-deep: var(--olive-700);
  --ssp-green-soft: var(--olive-100);
  --ssp-green-ring: rgba(48, 82, 2, .22);
  --ssp-ink: var(--black);
  --ssp-gray-700: var(--black);
  --ssp-gray-500: var(--grey);
  --ssp-gray-300: var(--grey);
  --ssp-gray-200: var(--line);
  --ssp-gray-100: var(--bone);
  --ssp-white: var(--white);
  --ssp-font: var(--font-body);
  --ssp-radius-sm: 0;
  --ssp-radius: 0;
  --ssp-radius-lg: 0;
  --ssp-shadow-sm: none;
  --ssp-shadow: none;
  --ssp-shadow-lg: none;
  --ssp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ssp-speed: .3s;
}

/* Hard-coded values the tokens do not reach */
.ssp-order-form-wrap,
.ssp-book-now-wrap { font-family: var(--font-body); color: var(--black); }

.ssp-form-logo-fallback,
.ssp-book-now-eyebrow,
.ssp-step-title,
.ssp-thank-you-title,
.ssp-book-now-title,
.ssp-book-now-amount { font-family: var(--font-display); letter-spacing: -0.02em; }

.ssp-form-logo-fallback { font-size: 28px; letter-spacing: -0.02em; text-transform: uppercase; color: var(--black); }
.ssp-book-now-eyebrow { font-family: var(--font-body); font-weight: 800; font-size: 11px; letter-spacing: .16em; color: var(--olive-600); }
.ssp-step-title { font-size: clamp(22px, 2.2vw, 32px); font-weight: 400; }
.ssp-step-subtitle { font-size: 15px; }

.ssp-step-card { border: 0; padding: 0; }
.ssp-progress-bar, .ssp-progress-fill, .ssp-upload-progress-track, .ssp-upload-progress-fill { border-radius: 0 !important; }
.ssp-progress-bar { height: 3px; }
.ssp-progress-fill, .ssp-upload-progress-fill { background: var(--olive-600); }
.ssp-upload-progress.is-processing .ssp-upload-progress-fill { background: linear-gradient(90deg, var(--olive-600) 0%, var(--olive-400) 50%, var(--olive-600) 100%); background-size: 200% 100%; }

.ssp-progress-step-num { border-radius: 0; border-width: 1px; font-family: var(--font-body); }
.ssp-progress-step--active .ssp-progress-step-num { box-shadow: none; }
.ssp-progress-step-label { font-weight: 800; letter-spacing: .1em; }

.ssp-field label { font-weight: 800; letter-spacing: .14em; font-size: 11px; color: var(--black); }
.ssp-field input, .ssp-field textarea { border-width: 1px; padding: 16px 18px; font-size: 16px; }
.ssp-field input:focus, .ssp-field textarea:focus { box-shadow: inset 0 0 0 1px var(--olive-600); }
.ssp-field input[type="file"] { border-color: var(--grey); }
.ssp-field input[type="file"]::file-selector-button { font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

.ssp-consent-box { border-width: 1px; }
.ssp-consent-label input[type="checkbox"] { border-radius: 0; border-width: 1px; }
.ssp-consent-label input[type="checkbox"]:focus-visible { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--olive-600); }

/* Buttons: brand geometry and type, the plugin's colours already remapped */
.ssp-btn, button.ssp-btn, a.ssp-btn,
.ssp-book-now-wrap button.ssp-book-now-btn, button.ssp-book-now-btn {
  font-family: var(--font-body) !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  padding: 20px 36px !important;
  box-shadow: none !important;
}

.ssp-book-now-wrap button.ssp-book-now-btn:hover, button.ssp-book-now-btn:hover,
.ssp-btn--primary:hover, button.ssp-btn--primary:hover, a.ssp-btn--primary:hover { background: var(--black) !important; box-shadow: none !important; }

.ssp-book-now-wrap button.ssp-book-now-btn:focus-visible, button.ssp-book-now-btn:focus-visible,
.ssp-btn:focus-visible, button.ssp-btn:focus-visible { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--olive-600) !important; }

.ssp-book-now-card { border: 1px solid var(--line); padding: clamp(28px, 3vw, 48px); max-width: none; text-align: left; }
.ssp-book-now-title { font-size: clamp(24px, 2.4vw, 36px); font-weight: 400; }
.ssp-book-now-amount { font-size: clamp(44px, 5vw, 80px); font-weight: 400; }
.ssp-book-now-secure { justify-content: flex-start; }

.ssp-thank-you { border: 1px solid var(--line); }
.ssp-thank-you-icon { border-radius: 0; background: var(--olive-600); color: var(--white); }
.ssp-thank-you-order-number { border-radius: 0; }

.ssp-form-message { border-radius: 0; }

/* ==================================================================
   17b. The landing page  [wayout_signature]
   ================================================================== */

.wayout-sig { background: var(--white); color: var(--black); font-family: var(--font-body); }

.wayout-sig__hero {
  background: var(--olive-900);
  color: var(--white);
  padding: clamp(140px, 22vh, 220px) 6vw clamp(72px, 12vh, 140px);
}

.wayout-sig__intro { max-width: 1100px; }

.wayout-sig__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 120px);
  line-height: .94;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
  color: var(--white);
  max-width: 16ch;
}

.wayout-sig__lede {
  font-size: clamp(17px, 1.4vw, 23px);
  line-height: 1.5;
  color: rgba(255,255,255,.88);
  max-width: 54ch;
  margin: 0 0 40px;
}

.wayout-sig__herometa {
  margin: 24px 0 0;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* Features */
.wayout-sig__points { padding: clamp(56px, 9vh, 120px) 6vw; }
.wayout-sig__points ul { list-style: none; margin: 0; padding: clamp(24px, 3.5vh, 40px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); border-top: 1px solid var(--line); }
.wayout-sig__points h3, .wayout-sig__steps h3 { font-family: var(--font-display); font-size: clamp(18px, 1.7vw, 26px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 10px; }
.wayout-sig__points p, .wayout-sig__steps p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--grey); }

/* Purpose band */
.wayout-sig__purpose {
  background: var(--olive-900);
  color: var(--white);
  padding: clamp(72px, 12vh, 160px) 6vw;
  text-align: center;
}
.wayout-sig__purposetitle {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 auto 28px;
  max-width: 18ch;
  color: var(--white);
}
.wayout-sig__purposebody { max-width: 60ch; margin: 0 auto 36px; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.6; color: rgba(255,255,255,.82); }
.wayout-sig__purposelines { margin: 0; }
.wayout-sig__purposelines span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.wayout-sig__purposelines span:last-child { color: var(--yellow-500); }

/* Editions */
.wayout-sig__editions { padding: clamp(56px, 9vh, 120px) 6vw; }
.wayout-sig__edintro { margin: 16px 0 0; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; color: var(--grey); max-width: 56ch; }
.wayout-sig__edgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(32px, 5vh, 56px); }
.wayout-sig__edition { background: var(--olive-100); padding: clamp(24px, 3vw, 44px); }
.wayout-sig__edition h3 { font-family: var(--font-display); font-size: clamp(20px, 2vw, 30px); letter-spacing: -0.02em; margin: 0 0 12px; }
.wayout-sig__edition p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--grey); }

/* Process */
.wayout-sig__process { padding: clamp(56px, 9vh, 120px) 6vw; background: var(--olive-100); }
.wayout-sig__procintro { margin: 16px 0 0; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; color: var(--grey); max-width: 56ch; }
.wayout-sig__steps { list-style: none; margin: clamp(32px, 5vh, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.wayout-sig__steps li { min-width: 0; }

/* Book card */
.wayout-sig__book { padding: clamp(56px, 9vh, 120px) 6vw; text-align: center; }
.wayout-sig__bookintro { max-width: 60ch; margin: 0 auto clamp(32px, 5vh, 48px); }
.wayout-sig__bookintro .wayout-svc__h2 { margin: 0 auto 16px; max-width: none; }
.wayout-sig__bookmeta { margin: 0 0 12px; font-size: 14px; color: var(--grey); }
.wayout-sig__india { margin: 0; font-size: 14px; line-height: 1.6; color: var(--grey); }
.wayout-sig__india a { color: var(--olive-600); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.wayout-sig__card { max-width: 460px; margin: 0 auto; text-align: left; }
.wayout-sig__card .ssp-book-now-wrap { padding: 0; }
.wayout-sig__card .ssp-book-now-card { background: var(--white); }

.wayout-sig__fallback { background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 3vw, 48px); }
.wayout-sig__fallback h3 { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 36px); letter-spacing: -0.02em; margin: 0 0 12px; }
.wayout-sig__fallback p { color: var(--grey); line-height: 1.6; margin: 0 0 24px; }

/* FAQ */
.wayout-sig__faq { padding: clamp(56px, 9vh, 120px) 6vw; }
.wayout-sig__faq dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3vw, 56px); border-top: 1px solid var(--line); }
.wayout-sig__faq div { padding: clamp(20px, 3vh, 32px) 0; border-bottom: 1px solid var(--line); }
.wayout-sig__faq dt { font-family: var(--font-display); font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 10px; }
.wayout-sig__faq dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--grey); }

/* Closing CTA */
.wayout-sig__closing .wayout-sig__closingbody { max-width: 52ch; font-size: clamp(15px, 1.2vw, 19px); line-height: 1.6; color: rgba(255,255,255,.82); margin: 0; }

@media (max-width: 1024px) {
  .wayout-sig__points ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wayout-sig__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .wayout-sig__points ul { grid-template-columns: 1fr; }
  .wayout-sig__edgrid { grid-template-columns: 1fr; }
  .wayout-sig__steps { grid-template-columns: 1fr; }
  .wayout-sig__faq dl { grid-template-columns: 1fr; }
}

/* ==================================================================
   18. Text pages (template-text.php): legal and long-form
   ================================================================== */

.wayout-text {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  padding: clamp(140px, 22vh, 220px) 6vw clamp(72px, 12vh, 140px);
}

.wayout-text__head { max-width: 760px; margin: 0 auto clamp(40px, 7vh, 72px); }

.wayout-text__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 80px);
  line-height: .98;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.wayout-text__lede { font-size: clamp(16px, 1.3vw, 21px); line-height: 1.55; color: var(--grey); margin: 0 0 16px; max-width: 56ch; }
.wayout-text__date { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin: 0; }

.wayout-text__body {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.7;
  border-top: 1px solid var(--line);
  padding-top: clamp(32px, 5vh, 56px);
}

.wayout-text__body h2 { font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -0.02em; line-height: 1.1; margin: 2em 0 .6em; }
.wayout-text__body h2:first-child { margin-top: 0; }
.wayout-text__body h3 { font-family: var(--font-body); font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-600); margin: 2em 0 .6em; }
.wayout-text__body p { margin: 0 0 1.2em; }
.wayout-text__body ul, .wayout-text__body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.wayout-text__body li { margin-bottom: .4em; }
.wayout-text__body a { color: var(--olive-600); text-decoration: underline; text-underline-offset: 3px; }
.wayout-text__body strong { font-weight: 700; }
.wayout-text__body table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .95em; }
.wayout-text__body th, .wayout-text__body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.wayout-text__body th { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }

/* ==================================================================
   19. Newsletter signup (footer variant + [wayout_subscribe] band)
   ================================================================== */

.wayout-sub__eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.wayout-sub__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wayout-sub__row { display: flex; gap: 12px; }

.wayout-sub__email {
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--black);
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.wayout-sub__email:focus { border-color: var(--olive-600); box-shadow: inset 0 0 0 1px var(--olive-600); }
.wayout-sub__btn { flex: 0 0 auto; white-space: nowrap; }

.wayout-sub__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.wayout-sub__consent input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  border: 1px solid currentColor;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.wayout-sub__consent input:checked { background: var(--olive-600); border-color: var(--olive-600); }
.wayout-sub__consent input:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.wayout-sub__msg { margin: 12px 0 0; font-family: var(--font-body); font-size: 13px; }
.wayout-sub__msg.is-ok { color: var(--olive-500); }
.wayout-sub__msg.is-err { color: #E0554B; }

/* ---- Band variant (shortcode on a page), Paper White ---- */
.wayout-sub--band {
  background: var(--olive-100);
  color: var(--black);
  padding: clamp(48px, 8vh, 96px) clamp(24px, 6vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.wayout-sub--band .wayout-sub__eyebrow { color: var(--olive-600); }
.wayout-sub--band .wayout-sub__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 18ch;
}
.wayout-sub--band .wayout-sub__text { font-size: 15px; line-height: 1.6; color: var(--grey); margin: 0; max-width: 46ch; }
.wayout-sub--band .wayout-sub__consent { color: var(--grey); }
.wayout-sub--band .wayout-sub__consent a { color: var(--olive-600); text-decoration: underline; text-underline-offset: 2px; }

/* ---- Newsletter band, its own dark section directly above the footer ---- */
.wayout-subfoot {
  background: var(--olive-900);
  color: var(--white);
  padding: clamp(48px, 8vh, 96px) clamp(24px, 5.6vw, 108px);
}

.wayout-sub--footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 72px);
  align-items: center;
}

.wayout-sub--footer .wayout-sub__eyebrow { color: var(--yellow-500); }
.wayout-sub--footer .wayout-sub__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--white);
  max-width: 20ch;
}
.wayout-sub--footer .wayout-sub__email { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.wayout-sub--footer .wayout-sub__email::placeholder { color: rgba(255,255,255,.5); }
.wayout-sub--footer .wayout-sub__email:focus { border-color: var(--yellow-500); box-shadow: inset 0 0 0 1px var(--yellow-500); }
.wayout-sub--footer .wayout-sub__consent { color: rgba(255,255,255,.7); }
.wayout-sub--footer .wayout-sub__consent input { border-color: rgba(255,255,255,.6); }
.wayout-sub--footer .wayout-sub__consent a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 860px) {
  .wayout-sub--band { grid-template-columns: 1fr; }
  .wayout-sub--footer { grid-template-columns: 1fr; }
  .wayout-sub__row { flex-direction: column; }
  .wayout-sub__btn { width: 100%; }
}

/* ==================================================================
   20. Work archive v2 and the project page
       Markup: inc/wayout-work.php, inc/wayout-projects.php,
               single-case_study.php
       Supersedes section 14, which is left in place only for
       .wayout-cta--inline and .wayout-eyebrow--light.
   ================================================================== */

/* ---- Shared: service / category labels ---- */

.wayout-tagset {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wayout-tagset li {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--olive-600);
  border: 1px solid var(--line);
  padding: 6px 9px;
  white-space: nowrap;
}

.wayout-tagset--lg li {
  font-size: 11px;
  padding: 9px 14px;
  border-color: var(--olive-600);
}

/* ---- Shared: branded stand-in when a project has no media yet ---- */

.wayout-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--olive-800);
  background-image: repeating-linear-gradient(
    135deg,
    rgba(254, 237, 0, .05) 0 12px,
    transparent 12px 24px
  );
  text-align: center;
  padding: 20px;
}

.wayout-fig .wayout-ph,
.wayout-proj__gallery .wayout-ph {
  position: relative;
  inset: auto;
  aspect-ratio: 16 / 9;
}

.wayout-ph__mark {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  color: var(--yellow-500);
  letter-spacing: -0.04em;
}

.wayout-ph__note {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}

/* ==================================================================
   20a. The archive
   ================================================================== */

.wayout-work-archive {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  padding: clamp(140px, 22vh, 220px) 6vw 0;
}

.wayout-wa__head { margin-bottom: clamp(34px, 6vh, 68px); }

.wayout-wa__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 11vw, 168px);
  line-height: .88;
  letter-spacing: -0.04em;
  margin: 0 0 26px;
  text-transform: uppercase;
}

.wayout-wa__intro {
  font-size: clamp(17px, 1.5vw, 24px);
  line-height: 1.5;
  color: var(--grey);
  max-width: 42ch;
  margin: 0;
}

/* ---- Filter bar: present, not loud ---- */

.wayout-wa__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0 0;
  margin-bottom: clamp(30px, 5vh, 56px);
  border-top: 1px solid var(--line);
}

.wayout-wa__filter {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--black);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 11px 16px;
  cursor: pointer;
  transition: background-color .3s cubic-bezier(0.22, 1, 0.36, 1), color .3s, border-color .3s;
}

.wayout-wa__filter span { color: var(--grey); margin-left: 6px; font-weight: 500; letter-spacing: 0; }
.wayout-wa__filter:hover { border-color: var(--olive-600); }
.wayout-wa__filter.is-active { background: var(--olive-600); border-color: var(--olive-600); color: var(--white); }
.wayout-wa__filter.is-active span { color: var(--yellow-500); }
.wayout-wa__filter:focus-visible { outline: 2px solid var(--olive-600); outline-offset: 3px; }

/* ---- The grid ---- */

.wayout-wa__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(38px, 5vw, 76px) clamp(20px, 2.4vw, 40px);
  padding-bottom: clamp(70px, 12vh, 140px);
}

.wayout-pt { min-width: 0; }
.wayout-pt[hidden] { display: none; }

.wayout-pt--12 { grid-column: span 12; }
.wayout-pt--7  { grid-column: span 7; }
.wayout-pt--5  { grid-column: span 5; }

.wayout-pt__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.wayout-pt__link:focus-visible {
  outline: 3px solid var(--olive-600);
  outline-offset: 5px;
}

.wayout-pt__media {
  position: relative;
  overflow: hidden;
  background: var(--olive-100);
  aspect-ratio: 4 / 3;
}

.wayout-pt--12 .wayout-pt__media { aspect-ratio: 21 / 9; }
.wayout-pt--5 .wayout-pt__media { aspect-ratio: 3 / 4; }

.wayout-pt__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* No will-change here. With 26 projects on the page it promoted 26
     full-size images to their own compositor layers and locked the
     browser up. The transition alone is enough. */
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* The interactive hint. Appears on hover, and on keyboard focus, so the
   card never relies on hover alone to say it is a link. */
.wayout-pt__go {
  position: absolute;
  left: 0;
  bottom: 0;
  display: inline-block;
  background: var(--yellow-500);
  color: var(--black);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 11px 16px;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .4s cubic-bezier(0.22, 1, 0.36, 1), transform .4s cubic-bezier(0.22, 1, 0.36, 1);
}

.wayout-pt__link:hover .wayout-pt__go,
.wayout-pt__link:focus-visible .wayout-pt__go {
  opacity: 1;
  transform: translateY(0);
}

.wayout-pt__body { padding: 20px 0 0; max-width: 62ch; }

.wayout-pt__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.1vw, 36px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
  color: var(--black);
  transition: color .3s;
}

.wayout-pt--12 .wayout-pt__title { font-size: clamp(28px, 3.2vw, 54px); }
.wayout-pt__link:hover .wayout-pt__title { color: var(--olive-600); }

.wayout-pt__cat {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--olive-600);
  margin: 0 0 12px;
}

.wayout-pt__sum {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.6;
  color: var(--grey);
  margin: 0 0 14px;
  max-width: 46ch;
}

.wayout-wa__empty {
  grid-column: 1 / -1;
  color: var(--grey);
  padding: 40px 0 80px;
  margin: 0;
}

.wayout-wa__cta {
  border-top: 1px solid var(--line);
  padding: clamp(64px, 11vh, 140px) 0 clamp(80px, 13vh, 160px);
}

/* ==================================================================
   20b. The project page
   ================================================================== */

.wayout-proj {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
}

.wayout-proj__back {
  margin: 0;
  padding: clamp(96px, 15vh, 150px) 6vw 0;
}

.wayout-proj__back a {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color .3s, border-color .3s;
}

.wayout-proj__back a:hover { color: var(--olive-600); border-color: var(--olive-600); }

.wayout-proj__hero {
  position: relative;
  margin-top: clamp(26px, 4vh, 46px);
  min-height: 78svh;
  background: var(--olive-900);
  color: var(--white);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.wayout-proj__hero.is-bare { min-height: 44svh; }

.wayout-proj__media { position: absolute; inset: 0; }

.wayout-proj__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* Bottom-weighted olive shade so the title reads on any photograph. */
.wayout-proj__hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 25, 0, .84) 0%, rgba(14, 25, 0, .34) 46%, rgba(14, 25, 0, 0) 76%);
  pointer-events: none;
}

.wayout-proj__hero.is-bare::after { background: none; }

.wayout-proj__intro {
  position: relative;
  z-index: 1;
  padding: 0 6vw clamp(44px, 8vh, 100px);
  max-width: 1200px;
}

.wayout-proj__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7.4vw, 128px);
  line-height: .92;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--white);
}

/* ---- Facts ---- */

.wayout-proj__facts {
  padding: clamp(52px, 9vh, 116px) 6vw;
  border-bottom: 1px solid var(--line);
}

.wayout-proj__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 88px);
}

.wayout-proj__col p {
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.62;
  margin: 0;
  color: var(--black);
  max-width: 52ch;
}

.wayout-proj__label {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 14px;
}

.wayout-proj__services { margin-top: clamp(32px, 5vh, 60px); }

/* ---- Editor content, when a project has any ---- */

.wayout-proj__body {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(52px, 9vh, 116px) 6vw;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.7;
}

.wayout-proj__body h2,
.wayout-proj__body h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 1.6em 0 .6em;
}

.wayout-proj__body h2 { font-size: clamp(26px, 2.6vw, 40px); }
.wayout-proj__body h3 { font-size: clamp(20px, 1.8vw, 28px); }
.wayout-proj__body p { margin: 0 0 1.3em; }
.wayout-proj__body a { color: var(--olive-600); text-decoration: underline; text-underline-offset: 3px; }
.wayout-proj__body img { display: block; max-width: 100%; height: auto; margin: 2em 0; }

/* ---- Gallery: sizes come from the real proportions of each file ---- */

.wayout-proj__gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: row dense;
  gap: clamp(16px, 2vw, 34px);
  padding: clamp(44px, 7vh, 90px) 6vw clamp(56px, 9vh, 120px);
  align-items: start;
}

.wayout-fig { margin: 0; min-width: 0; }
.wayout-fig.is-full { grid-column: span 6; }
.wayout-fig.is-half { grid-column: span 3; }
.wayout-fig.is-tall { grid-column: span 2; }

.wayout-fig img,
.wayout-fig__video {
  display: block;
  width: 100%;
  height: auto;
  background: var(--olive-100);
}

.wayout-fig figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--grey);
}

/* ---- Previous / next ---- */

.wayout-proj__nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: clamp(30px, 5vh, 56px) 6vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.wayout-proj__navlink { display: block; text-decoration: none; color: inherit; min-width: 0; }
.wayout-proj__navlink--next { text-align: right; }

.wayout-proj__navlabel {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}

.wayout-proj__navtitle {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  transition: color .3s;
}

.wayout-proj__navlink:hover .wayout-proj__navtitle { color: var(--olive-600); }

.wayout-proj__navall {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 13px 22px;
  transition: background-color .3s, color .3s, border-color .3s;
}

.wayout-proj__navall:hover { background: var(--olive-600); border-color: var(--olive-600); color: var(--white); }

.wayout-proj .wayout-cta--inline { padding: clamp(64px, 11vh, 140px) 6vw clamp(80px, 13vh, 160px); }

/* ==================================================================
   20c. Homepage teaser: the View all work link
   ================================================================== */

.wayout-work__all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(20px, 3vh, 34px);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow-500);
  text-decoration: none;
  border-bottom: 1px solid rgba(254, 237, 0, .4);
  padding-bottom: 6px;
  transition: border-color .3s, gap .3s;
}

.wayout-work__all:hover { border-color: var(--yellow-500); gap: 16px; }
.wayout-work__all:focus-visible { outline: 2px solid var(--yellow-500); outline-offset: 4px; }

/* ==================================================================
   20d. Responsive
   ================================================================== */

@media (max-width: 1100px) {
  .wayout-pt--7, .wayout-pt--5 { grid-column: span 6; }
  .wayout-pt--5 .wayout-pt__media { aspect-ratio: 4 / 3; }
}

@media (max-width: 860px) {
  .wayout-wa__grid { grid-template-columns: 1fr; gap: clamp(34px, 6vh, 54px); }
  .wayout-pt--12, .wayout-pt--7, .wayout-pt--5 { grid-column: 1 / -1; }
  .wayout-pt--12 .wayout-pt__media,
  .wayout-pt--5 .wayout-pt__media { aspect-ratio: 4 / 3; }

  /* Touch has no hover, so the hint is simply always visible. */
  .wayout-pt__go { opacity: 1; transform: none; }
  .wayout-pt__link:active .wayout-pt__media img { transform: scale(1.03); }

  .wayout-proj__hero { min-height: 62svh; }
  .wayout-proj__cols { grid-template-columns: 1fr; }
  .wayout-proj__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wayout-fig.is-full, .wayout-fig.is-half { grid-column: span 2; }
  .wayout-fig.is-tall { grid-column: span 1; }

  .wayout-proj__nav { grid-template-columns: 1fr 1fr; }
  .wayout-proj__navall { grid-column: 1 / -1; justify-self: start; order: 3; }
}

@media (max-width: 560px) {
  .wayout-proj__gallery { grid-template-columns: 1fr; }
  .wayout-fig.is-full, .wayout-fig.is-half, .wayout-fig.is-tall { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .wayout-pt__media img,
  .wayout-pt__go,
  .wayout-work__all { transition: none; }
  .wayout-pt__go { opacity: 1; transform: none; }
}

/* The View all work link inside the pinned cards screen: on desktop the
   screen is a centred flex column at exactly 100svh, so the link is
   parked absolutely rather than added as a third row that could push
   the cards past the clip. */
@media (min-width: 1025px) {
  .wayout-work__all {
    position: absolute;
    left: 6vw;
    bottom: clamp(24px, 5vh, 56px);
    margin-top: 0;
  }
}

/* ==================================================================
   21. Project gallery: carousel and lightbox
       Markup: wayout_render_carousel() in inc/wayout-work.php
       Behaviour: js/wayout-gallery.js
   ================================================================== */

.wayout-car {
  --car-h: clamp(280px, 58vh, 640px);
  background: var(--olive-900);
  color: var(--white);
  padding: clamp(48px, 8vh, 96px) 0 clamp(44px, 7vh, 84px);
}

/* ---- Head: label left, counter and arrows right ---- */

.wayout-car__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 6vw clamp(22px, 3.5vh, 38px);
}

.wayout-car__label {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--yellow-500);
  margin: 0;
}

.wayout-car__ctrl {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wayout-car__count {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .55);
  margin: 0 6px 0 0;
  font-variant-numeric: tabular-nums;
}

.wayout-car__count b { color: var(--yellow-500); font-weight: 800; }
.wayout-car__count i { font-style: normal; margin: 0 3px; opacity: .5; }

.wayout-car__arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 0;
  color: var(--white);
  cursor: pointer;
  padding: 0;
  transition: background-color .3s cubic-bezier(0.22, 1, 0.36, 1), color .3s, border-color .3s, opacity .3s;
}

.wayout-car__arrow svg { width: 20px; height: 20px; }

.wayout-car__arrow:hover:not(:disabled) {
  background: var(--yellow-500);
  border-color: var(--yellow-500);
  color: var(--black);
}

.wayout-car__arrow:focus-visible { outline: 2px solid var(--yellow-500); outline-offset: 3px; }
.wayout-car__arrow:disabled { opacity: .28; cursor: default; }

/* ---- The track ----
   Height is fixed and width follows each file's own proportions, so a
   portrait standee, a landscape hoarding and a vertical reel all sit in
   the same row without any of them being cropped to a shared shape. */

.wayout-car__viewport { position: relative; }

.wayout-car__track {
  list-style: none;
  margin: 0;
  padding: 0 6vw;
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 1.6vw, 28px);
  overflow-x: auto;
  overflow-y: hidden;
  /* No scroll snapping. With slides of mixed widths it added little, and
     re-enabling it after a wheel gesture snapped the track back off the
     end, so "at the end" stopped being true and the page could never be
     scrolled past the gallery. */
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.wayout-car__track::-webkit-scrollbar { display: none; }
.wayout-car__track.is-dragging { cursor: grabbing; }
.wayout-car__track:focus-visible { outline: 2px solid var(--yellow-500); outline-offset: -2px; }

/* A tail so the last slide can still be brought to the left edge. */
.wayout-car__track::after {
  content: '';
  flex: 0 0 max(6vw, 120px);
}

.wayout-car__slide {
  flex: 0 0 auto;
  width: min(calc(var(--car-h) * var(--ar, 1.5)), 88vw);
  min-width: 180px;
}

.wayout-car__open {
  display: block;
  width: 100%;
  height: var(--car-h);
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--olive-800);
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.wayout-car__open:focus-visible { outline: 3px solid var(--yellow-500); outline-offset: 3px; }

.wayout-car__media {
  display: block;
  width: 100%;
  height: 100%;
  /* contain, not cover: the slide is already cut to the file's own
     proportions, so the two look identical - except on a very wide file
     that hits the 88vw cap, where cover would crop the work and contain
     just letterboxes it. A portfolio never crops the work. */
  object-fit: contain;
  /* No will-change, for the same reason as the archive tiles above. */
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.wayout-car__open:hover .wayout-car__media,
.wayout-car__open:focus-visible .wayout-car__media { transform: scale(1.045); }

.wayout-car__badge {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--yellow-500);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 7px 11px;
}

.wayout-car__cap {
  margin: 12px 0 0;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .6);
  max-width: 44ch;
}

/* ---- Progress ---- */

.wayout-car__bar {
  margin: clamp(24px, 3.5vh, 40px) 6vw 0;
  height: 2px;
  background: rgba(255, 255, 255, .18);
  overflow: hidden;
}

.wayout-car__bar span {
  display: block;
  height: 100%;
  background: var(--yellow-500);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s linear;
}

/* ---- Slides arrive as the section enters view ---- */

.wayout-car.is-armed .wayout-car__slide {
  opacity: 0;
  transform: translateY(26px);
}

.wayout-car.is-in .wayout-car__slide {
  opacity: 1;
  transform: none;
  transition: opacity .7s cubic-bezier(0.22, 1, 0.36, 1), transform .7s cubic-bezier(0.22, 1, 0.36, 1);
}

.wayout-car.is-in .wayout-car__slide:nth-child(2) { transition-delay: .07s; }
.wayout-car.is-in .wayout-car__slide:nth-child(3) { transition-delay: .14s; }
.wayout-car.is-in .wayout-car__slide:nth-child(4) { transition-delay: .21s; }
.wayout-car.is-in .wayout-car__slide:nth-child(5) { transition-delay: .28s; }
.wayout-car.is-in .wayout-car__slide:nth-child(6) { transition-delay: .34s; }

/* Everything past the sixth is off-screen anyway, so it skips the
   entrance entirely rather than animating twenty images at once. */
.wayout-car.is-armed .wayout-car__slide:nth-child(n+7) { opacity: 1; transform: none; }

/* ==================================================================
   21b. Lightbox
   ================================================================== */

html.wayout-lb-open { overflow: hidden; }

.wayout-lb {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 2vw, 28px);
  padding: clamp(58px, 9vh, 92px) clamp(12px, 3vw, 48px) clamp(56px, 8vh, 84px);
  background: rgba(14, 25, 0, .965);
  opacity: 0;
  transition: opacity .26s ease;
}

.wayout-lb.is-open { opacity: 1; }

/* The hidden attribute only works through a browser default rule, which
   any author `display` beats on specificity. Without this the closed
   lightbox stayed display:grid at opacity 0 - invisible, full-screen,
   fixed, and swallowing every click on the page underneath. */
.wayout-lb[hidden] { display: none !important; }

.wayout-lb__stage {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 100%;
}

.wayout-lb__media {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: var(--olive-900);
}

.wayout-lb__close,
.wayout-lb__nav {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 0;
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background-color .3s, color .3s, border-color .3s, opacity .3s;
}

.wayout-lb__nav { width: 52px; height: 52px; }
.wayout-lb__nav svg { width: 22px; height: 22px; }

.wayout-lb__close {
  position: absolute;
  top: clamp(16px, 3vh, 30px);
  right: clamp(12px, 3vw, 44px);
  width: 46px;
  height: 46px;
}

.wayout-lb__close svg { width: 20px; height: 20px; }

.wayout-lb__close:hover,
.wayout-lb__nav:hover:not(:disabled) {
  background: var(--yellow-500);
  border-color: var(--yellow-500);
  color: var(--black);
}

.wayout-lb__close:focus-visible,
.wayout-lb__nav:focus-visible { outline: 2px solid var(--yellow-500); outline-offset: 3px; }
.wayout-lb__nav:disabled { opacity: .22; cursor: default; }

.wayout-lb__cap,
.wayout-lb__count {
  position: absolute;
  bottom: clamp(18px, 3vh, 32px);
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
}

.wayout-lb__cap {
  left: clamp(12px, 3vw, 48px);
  right: 120px;
  color: rgba(255, 255, 255, .68);
  max-width: 60ch;
}

.wayout-lb__count {
  right: clamp(12px, 3vw, 48px);
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--yellow-500);
  font-variant-numeric: tabular-nums;
}

/* ==================================================================
   21c. Responsive and reduced motion
   ================================================================== */

@media (max-width: 860px) {
  .wayout-car { --car-h: clamp(240px, 42vh, 400px); }
  .wayout-car__slide { width: min(calc(var(--car-h) * var(--ar, 1.5)), 82vw); }
  .wayout-car__head { flex-wrap: wrap; }
  .wayout-car__arrow { width: 42px; height: 42px; }

  /* Touch swipes, so the on-screen arrows are the fallback, not the point. */
  .wayout-lb { grid-template-columns: 1fr; padding-left: 12px; padding-right: 12px; }
  .wayout-lb__nav { position: absolute; bottom: clamp(16px, 3vh, 30px); width: 46px; height: 46px; }
  .wayout-lb__nav--prev { left: 12px; }
  .wayout-lb__nav--next { left: 68px; }
  .wayout-lb__cap { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wayout-car__track { scroll-behavior: auto; }
  .wayout-car__media,
  .wayout-car__bar span,
  .wayout-lb { transition: none; }
  .wayout-car.is-armed .wayout-car__slide { opacity: 1; transform: none; }
  .wayout-car__open:hover .wayout-car__media { transform: none; }
}

/* ==================================================================
   22. Products - catalogue, cards, carousel, detail page
   ================================================================== */

/* ---- 22a. Products listing page ---- */

.wayout-products {
  background: var(--white);
  color: var(--black);
  padding: clamp(64px, 10vh, 140px) 6vw;
}

.wayout-products__head {
  max-width: 820px;
  margin-bottom: clamp(40px, 6vh, 80px);
}

.wayout-products__eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--olive-600);
  margin: 0 0 14px;
}

.wayout-products__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--black);
  margin: 0 0 18px;
}

.wayout-products__intro {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--grey);
  margin: 0;
}

.wayout-products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4vw, 56px);
}

.wayout-products__support {
  margin-top: clamp(40px, 5vh, 64px);
  text-align: center;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--grey);
}

.wayout-products__support a {
  color: var(--olive-600);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---- 22b. Product card ---- */

.wayout-pcard {
  display: flex;
  flex-direction: column;
}

.wayout-pcard__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bone);
}

.wayout-pcard__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--bone);
}

.wayout-ph__mark {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  color: var(--line);
  line-height: 1;
}

.wayout-ph__note {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--grey);
  margin-top: 8px;
}

.wayout-pcard__body {
  padding: clamp(16px, 2vw, 28px) 0 0;
}

.wayout-pcard__num {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--grey);
  margin-bottom: 8px;
}

.wayout-pcard__name {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.wayout-pcard__name a {
  color: inherit;
  text-decoration: none;
}
.wayout-pcard__name a:hover {
  color: var(--olive-600);
}

.wayout-pcard__desc {
  font-family: var(--font-body);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.6;
  color: var(--grey);
  margin: 0 0 12px;
}

.wayout-pcard__spec {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--grey);
  margin: 0 0 6px;
  letter-spacing: .02em;
}

.wayout-pcard__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}

.wayout-pcard__tag {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--olive-600);
  border: 1px solid var(--olive-100);
  padding: 3px 10px;
  background: transparent;
}

.wayout-pcard__cta {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--olive-600);
  padding: 12px 28px;
  text-decoration: none;
  transition: background-color .3s ease;
}

.wayout-pcard__cta:hover {
  background: var(--olive-800);
  color: var(--white);
}

/* ---- 22c. Product carousel (shared card + detail) ---- */

.wayout-pcar {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.wayout-pcar__track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;
}
.wayout-pcar__track::-webkit-scrollbar { display: none; }

.wayout-pcar__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wayout-pcar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Nav arrows */
.wayout-pcar__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .92);
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, opacity .25s ease;
  opacity: 0;
  z-index: 2;
}
.wayout-pcar:hover .wayout-pcar__nav { opacity: 1; }
.wayout-pcar__nav:hover { background: var(--white); }
.wayout-pcar__nav svg { width: 20px; height: 20px; }
.wayout-pcar__nav--prev { left: 10px; }
.wayout-pcar__nav--next { right: 10px; }

/* Dots */
.wayout-pcar__dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.wayout-pcar__dot {
  width: 8px;
  height: 8px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: background .25s ease;
}
.wayout-pcar__dot.is-active {
  background: var(--white);
}

/* ---- 22d. Detail page carousel ---- */

.wayout-pcar--detail {
  aspect-ratio: 4 / 3;
}
.wayout-pcar--detail .wayout-pcar__nav {
  width: 48px;
  height: 48px;
}
.wayout-pcar--detail .wayout-pcar__nav svg {
  width: 24px;
  height: 24px;
}

/* ---- 22e. Single product detail page ---- */

.wayout-prod {
  background: var(--white);
  color: var(--black);
  padding: clamp(24px, 3vw, 48px) 6vw clamp(48px, 8vh, 120px);
}

.wayout-prod__bread {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--grey);
  margin-bottom: clamp(24px, 3vh, 48px);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.wayout-prod__bread a {
  color: var(--olive-600);
  text-decoration: none;
}
.wayout-prod__bread a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wayout-prod__hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 4vw, 72px);
  margin-bottom: clamp(48px, 6vh, 80px);
  align-items: start;
}

.wayout-prod__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bone);
}

.wayout-prod__info {
  padding-top: clamp(8px, 1vw, 20px);
}

.wayout-prod__num {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--grey);
  margin-bottom: 12px;
}

.wayout-prod__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.wayout-prod__short {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
  color: var(--grey);
  margin: 0 0 20px;
}

.wayout-prod__aka {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--grey);
  font-style: italic;
  margin: 0 0 20px;
}

.wayout-prod__fact {
  margin-bottom: 14px;
}

.wayout-prod__fact-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--olive-600);
  margin-bottom: 4px;
}

.wayout-prod__fact-val {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--black);
  margin-right: 12px;
}

.wayout-prod__cta {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--olive-600);
  padding: 14px 36px;
  text-decoration: none;
  transition: background-color .3s ease;
}
.wayout-prod__cta:hover {
  background: var(--olive-800);
  color: var(--white);
}

.wayout-prod__phone {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--grey);
  margin-top: 14px;
}
.wayout-prod__phone a {
  color: var(--olive-600);
  text-decoration: none;
}

/* ---- 22f. Full description block ---- */

.wayout-prod__body {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vh, 72px);
}

.wayout-prod__content {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  color: var(--black);
}

.wayout-prod__content p { margin: 0 0 1em; }
.wayout-prod__content ul,
.wayout-prod__content ol { margin: 0 0 1em; padding-left: 1.4em; }

.wayout-prod__section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(20px, 3vh, 36px);
}

/* ---- 22g. Specifications grid ---- */

.wayout-prod__specs {
  margin-bottom: clamp(48px, 6vh, 80px);
  padding: clamp(28px, 4vw, 48px);
  background: var(--bone);
}

.wayout-prod__spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.wayout-prod__spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wayout-prod__spec-key {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--olive-600);
}

.wayout-prod__spec-val {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--black);
  white-space: pre-line;
}

/* ---- 22h. Process steps ---- */

.wayout-prod__process {
  margin-bottom: clamp(40px, 5vh, 72px);
}

.wayout-prod__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.wayout-prod__step {
  padding: clamp(20px, 2vw, 28px);
  border-top: 2px solid var(--olive-600);
}

.wayout-prod__step-num {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--olive-600);
  margin-bottom: 12px;
}

.wayout-prod__step-title {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.wayout-prod__step-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--grey);
  margin: 0;
}

/* ---- 22i. Tags strip ---- */

.wayout-prod__tagstrip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(40px, 5vh, 64px);
}

/* ---- 22j. Bottom CTA ---- */

.wayout-prod__bottom-cta {
  text-align: center;
  padding: clamp(40px, 6vh, 80px) 0;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(32px, 4vh, 56px);
}

.wayout-prod__bottom-line {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 34px);
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

/* ---- 22k. Prev/next navigation ---- */

.wayout-prod__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: clamp(20px, 3vh, 36px);
}

.wayout-prod__back {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--olive-600);
  text-decoration: none;
}
.wayout-prod__back:hover { text-decoration: underline; text-underline-offset: 3px; }

.wayout-prod__prevnext {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.wayout-prod__pn {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--grey);
  text-decoration: none;
}
.wayout-prod__pn:hover { color: var(--olive-600); }
.wayout-prod__pn--next { text-align: right; }

/* ---- 22l. Responsive ---- */

@media (max-width: 860px) {
  .wayout-products__grid {
    grid-template-columns: 1fr;
  }

  .wayout-prod__hero {
    grid-template-columns: 1fr;
  }

  .wayout-prod__steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .wayout-pcar__nav { opacity: 1; }

  .wayout-prod__prevnext {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 520px) {
  .wayout-prod__steps {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wayout-pcar__track { scroll-behavior: auto; }
  .wayout-pcar__nav,
  .wayout-pcard__cta,
  .wayout-prod__cta,
  .wayout-pcard__name a { transition: none; }
}
