/* =========================================================================
   Bright Method redesign layer (loaded after brand.css on every page)
   1. The Bright Light: one warm line that splits into Purpose / Outcome / Value
   2. Fewer devices: plain eyebrows, rationed italics, calmer containers
   3. Hand marks: a pen-stroke underline in each hero, two guiding arrows per page
   ========================================================================= */

:root {
  --light: #F0B429;                 /* the Bright Light */
  --rd-radius: 6px;
  /* POV colours readable on the dark slate background */
  --p-on-dark: #A9C9C9;
  --o-on-dark: #5FA8A8;
  --v-on-dark: #D4885A;
}

::selection { background: rgba(240, 180, 41, 0.35); color: var(--ink); }

/* ---- 1. The beam --------------------------------------------------------- */
/* Rule, at every screen width.
   Home: the beam spans 90% of the page from the left edge; 70% yellow (0-63%), 30% split (63-90%).
   Inner pages: the full width; 80% yellow (0-80%), 20% split (80-100%).
   In the split the three POV lines blend out of the yellow and fade to nothing. */
.rd-beam {
  --bt: 6px;                        /* line weight: 3x on page breaks */
  --split-h: 60px;                  /* how far the three lines open out */
  position: absolute; left: calc(50% - 50vw); width: 100vw; height: 0;
  pointer-events: none; z-index: 2;
}
.rd-beam-line {
  position: absolute; left: 0; width: 63%; top: calc(var(--bt) / -2); height: var(--bt);
  background: linear-gradient(90deg, rgba(240,180,41,0) 0, rgba(240,180,41,0.9) 28%, var(--light) 100%);
}
.rd-beam-split {
  position: absolute; left: 63%; width: 27%; top: 0; height: var(--split-h); overflow: visible;
}
.rd-beam-split line { stroke-width: var(--bt); stroke-linecap: butt; vector-effect: non-scaling-stroke; }

/* page breaks: centred exactly on the line where hero meets body, and body meets the closing band */
.rd-beam--edge { bottom: 0; }
/* inner pages: the break runs the full width; 80% light, 20% split into the three principles */
.rd-beam--edge .rd-beam-line { width: 80%; }
.rd-beam--edge .rd-beam-split { left: 80%; width: 20%; }
.rd .wwd-closing > .rd-beam--edge { top: 0; bottom: auto; }

/* home: the original thin line, its rays rising into the open space */
.rd-beam--home { --bt: 2px; --split-h: 30px; top: 0; }
.rd-beam--up .rd-beam-split { transform: scaleY(-1); transform-origin: top; }

@media (max-width: 720px) {
  .rd-beam { --split-h: 26px; }
  .rd-beam--home { --split-h: 20px; }
}

/* sections that hold a beam must not clip it */
.rd .wwd-hero, .rd .wwd-closing { position: relative; overflow: visible; }

/* the small version of the same mark: replaces the pill eyebrow */
.rd .eyebrow {
  background: none; padding: 0 0 0 40px; border-radius: 0; color: var(--ink-mid);
  font-size: 12px; letter-spacing: 0.14em; margin-bottom: 18px; position: relative; min-height: 14px;
}
.rd .eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 30px; height: 12px; transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 12'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' y1='0' x2='19' y2='0'%3E%3Cstop offset='0' stop-color='%23F0B429' stop-opacity='0.25'/%3E%3Cstop offset='1' stop-color='%23F0B429'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cline x1='0' y1='2' x2='19' y2='2' stroke='url(%23a)' stroke-width='2'/%3E%3Cline x1='19' y1='2' x2='29' y2='3' stroke='%231D4848' stroke-width='1.6' stroke-linecap='round' opacity='.85'/%3E%3Cline x1='19' y1='2' x2='28' y2='6.5' stroke='%233D8080' stroke-width='1.6' stroke-linecap='round' opacity='.85'/%3E%3Cline x1='19' y1='2' x2='27' y2='10' stroke='%23B5622A' stroke-width='1.6' stroke-linecap='round' opacity='.85'/%3E%3C/svg%3E") no-repeat left center / contain;
}

/* ---- 2. Calmer typography and containers -------------------------------- */
/* Hero text aligns with the page grid instead of floating in its own column */
.rd .wwd-hero-content { max-width: 1024px; position: relative; z-index: 1; }
.rd .wwd-hero-headline { max-width: 820px; }
.rd .wwd-hero-subheading { max-width: 660px; }
.rd .wwd-hero-eyebrow { color: var(--light); }

/* italics are rationed: only Home keeps the italic accent; elsewhere the pen does the emphasis */
.rd .wwd-hero-headline em,
.rd .section-block h2 em,
.rd .founder-text h2 em,
.rd .wwd-closing h2 em { font-style: normal; color: inherit; }

/* squarer corners read as made rather than generated */
.rd .card, .rd .card-dark, .rd .challenge-evidence, .rd .challenge-quote, .rd .cp-quote,
.rd .dl-thumb, .rd .bm-model, .rd .pov-lb-panel { border-radius: var(--rd-radius); }
.rd .btn, .rd .nav-cta-desktop, .rd .nav-cta-ghost, .rd .nav-cta, .rd .nav-cta-mobile,
.rd .hv2-explore-links a, .rd .wyg-dl-pill { border-radius: var(--rd-radius); }
.rd .pillar-tag, .rd .pov-tag, .rd .founder-linkedin { border-radius: 4px; }

/* principle cards on The POV become editorial columns with a coloured rule */
.rd .rd-pillars .card { background: none; border: none; box-shadow: none; padding: 22px 0 0; border-top: 3px solid var(--k); border-radius: 0; }
.rd .rd-pillars .card h3 { font-size: 30px; color: var(--k); margin-bottom: 14px; }
.rd .rd-pillars .card:nth-child(1) { --k: var(--slate-deep); }
.rd .rd-pillars .card:nth-child(2) { --k: var(--slate-mid); }
.rd .rd-pillars .card:nth-child(3) { --k: var(--terra); }

/* fewer textures: flat warm panels, the coloured top rule does the work */
.rd .wwd-diff-card { background-image: none !important; background-color: var(--linen-warm); }
.rd .wwd-diff-card:hover { background-color: var(--linen-warm); }
.rd .challenge-evidence { background-image: var(--bar) !important; background-size: 100% 6px !important; background-repeat: no-repeat !important; }

/* links in running text get a warm underline */
.rd .page p a:not(.btn):not([class*="pov-tag"]) { text-decoration: underline; text-decoration-color: var(--terra-light); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

/* About: the Lakeland landscape, at the same lightness as Home (Home and About only) */
.rd .rd-hero-place {
  position: absolute; inset: 0 0 auto 0; height: 100%; z-index: 0; pointer-events: none;
  background: url('../assets/home-lakeland.png') center 30% / cover no-repeat; opacity: 0.77;
  -webkit-mask-image: linear-gradient(to bottom, transparent 8%, #000 34%, #000 58%, transparent 92%);
          mask-image: linear-gradient(to bottom, transparent 8%, #000 34%, #000 58%, transparent 92%);
}
@media (max-width: 600px) { .rd .rd-hero-place { opacity: 0.48; } }

/* ---- 3. Hand marks -------------------------------------------------------- */
.rd-hand { position: relative; display: inline-block; }
.rd-hand > svg.rd-underline { position: absolute; left: -2%; width: 104%; bottom: -0.22em; height: 0.34em; overflow: visible; pointer-events: none; }
.rd-mark path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rd-mark--terra path { stroke: var(--terra-light); }
.rd-mark--light path { stroke: var(--light); }
.rd-mark--ink path { stroke: var(--ink-mid); }
.rd-arrow { display: inline-block; vertical-align: middle; overflow: visible; margin: 0 6px; }
.rd-draw path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: rdDraw 900ms 350ms ease-out forwards; }
@keyframes rdDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .rd-draw path { animation: none; stroke-dashoffset: 0; } }
body.rd { overflow-x: clip; }

/* 1. softer: the page break reads as light, not a stripe */
.rd-beam--edge { --bt: 3.5px; }
.rd-beam--edge .rd-beam-line { box-shadow: 0 0 10px 1px rgba(240,180,41,0.45), 0 0 26px 4px rgba(240,180,41,0.16); }
.rd-beam--edge .rd-beam-split { filter: drop-shadow(0 0 3px rgba(240,180,41,0.35)); }
@media (max-width: 720px) { .rd-beam--edge { --bt: 3px; } }

/* ---- 4. Unboxed layouts --------------------------------------------------- */
/* Boxes are kept only where they are objects (the two route cards on What You Get,
   the BRiGHT model). Everything else sits on the page, separated by rules. */

/* Common Problems: three open columns per row, told apart by hairlines and the helps column's coloured rule */
.rd-common-problems .cp-row .card,
.rd-common-problems .cp-row .card-dark { background: none !important; border: none !important; box-shadow: none; border-radius: 0; padding: 4px 0 0; height: auto; }
.rd-common-problems .cp-row .cp-feel,
.rd-common-problems .cp-row .wwd-diff-card { border-left: 0.5px solid var(--linen-deep) !important; padding-left: 26px; }
.rd-common-problems .cp-row .wwd-diff-card { border-top: 3px solid var(--cp-key) !important; padding-top: 22px; }
.rd-common-problems .cp-row .cp-feel { padding-top: 25px; }
.rd-common-problems .cp-row .cp-problem { padding-top: 25px; }
.rd-common-problems .cp-row .cp-problem .cp-quote { flex: none; display: block; margin: 18px 0 0; padding: 4px 34px 4px 22px; background: none; border-radius: 0; overflow: visible; }
.rd-common-problems .cp-quote::after { top: 6px; bottom: 6px; width: 3px; }
.rd-common-problems .cp-quote::before { top: -34px; right: 0; font-size: 110px; opacity: 0.22; }
.rd-common-problems .cp-quote p { font-size: 20px; }
.rd-common-problems .cp-head p { padding-left: 0; }
@media (max-width: 1099px) {
  .rd-common-problems .cp-row .cp-feel, .rd-common-problems .cp-row .wwd-diff-card { border-left: none !important; padding-left: 0; }
  .rd-common-problems .cp-row .cp-feel { border-top: 0.5px solid var(--linen-deep) !important; padding-top: 18px; }
}

/* What You Get: the investment as an open figure between two rules */
.rd-what-you-get .wyg-price { background: none; color: var(--ink); border-radius: 0; box-shadow: none;
  border-top: 1px solid var(--linen-deep); padding: 30px 0 6px; }
.rd-what-you-get .wyg-price .eyebrow-inline { color: var(--ink-mid); }
.rd-what-you-get .wyg-price .wyg-price-num { color: var(--ink); font-size: 44px; }
.rd-what-you-get .wyg-price p { color: var(--ink-mid); }

/* What You Get: projects as open columns, each topped with its strongest-impact colour; no stretched gaps */
.rd-what-you-get .wyg-projects { gap: 44px 48px; align-items: start; margin-top: 30px; }
.rd-what-you-get .wyg-card { background: none; border: none; box-shadow: none; border-radius: 0; padding: 18px 0 0; border-top: 3px solid var(--k); }
.rd-what-you-get .wyg-card .wyg-typical { margin-top: 0; padding-top: 12px; }
.rd-what-you-get .wyg-card .pillar-eyebrow { margin-top: 12px; }

/* About: impact panels become open stat columns under the P/O/V bar; quotes become pull quotes */
.rd-about .challenge-evidence { background-color: transparent !important; border: none !important; box-shadow: none; padding: 24px 0 0 !important; border-radius: 0; }
.rd-about .challenge-evidence:hover { background-color: transparent !important; }
.rd-about .challenge-quote { background: none; border: none; border-radius: 0; padding: 4px 64px 4px 22px; }
.rd-about .challenge-quote::after { top: 6px; bottom: 6px; }
.rd .rd-with-arrow { display: inline-flex; align-items: center; flex: none; }
/* two columns only where there is room; below 880px the figure sits above the text */
@media (min-width: 880px) { .rd-what-you-get .wyg-price { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.2fr); } }
.rd-what-you-get .wyg-price .wyg-price-num { white-space: nowrap; font-size: clamp(30px, 3.2vw, 42px); }
@media (max-width: 879px) { .rd-what-you-get .wyg-price .wyg-price-num { font-size: clamp(26px, 8vw, 40px); } }

/* What You Get: Focused Projects mirror the Bright Light weeks above: one row of four open columns */
.rd-what-you-get .wyg-projects { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 26px; margin-top: 26px; }
.rd-what-you-get .wyg-card { padding-top: 14px; }
.rd-what-you-get .wyg-card h3 { font-size: 20px; line-height: 1.25; margin-bottom: 8px; }
.rd-what-you-get .wyg-card p { font-size: 14px; line-height: 1.6; }
.rd-what-you-get .wyg-card .pillar-eyebrow { font-size: 11px; margin: 10px 0 2px; }
.rd-what-you-get .wyg-card .wyg-effort { margin: 14px 0 10px; }
.rd-what-you-get .wyg-card .most { font-size: 10px; margin: 8px 0 10px; }
.rd-what-you-get .wyg-card .wyg-typical { font-size: 13px; padding-top: 10px; }
@media (max-width: 1099px) { .rd-what-you-get .wyg-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rd-what-you-get .wyg-projects { grid-template-columns: 1fr; } }
/* line the four projects up row by row, so the impact bars and durations sit level */
@supports (grid-template-rows: subgrid) {
  .rd-what-you-get .wyg-projects { row-gap: 0; }
  .rd-what-you-get .wyg-card { display: grid; grid-template-rows: subgrid; grid-row: span 7; row-gap: 0; margin-bottom: 30px; }
  .rd-what-you-get .wyg-card > * { align-self: start; }
  .rd-what-you-get .wyg-card > .wyg-effort { align-self: end; }
}

/* page breaks: the rays drop in proportion to their length, so the angle (about 12 degrees) is the same at every width */
.rd-beam--edge .rd-beam-split { height: 4.2vw; }

/* Universal beam angle: the rays drop (or rise) by 0.2126 x their length, about 12 degrees,
   on every page and at every width. Split length is a share of the beam's container,
   so the height is written in the same units. (The small mark glyph is the one exception.) */
.rd-beam--edge .rd-beam-split { height: calc(20vw * 0.2126); }                 /* split = 20% of the page */
.rd-beam--home .rd-beam-split { height: calc(27vw * 0.2126); }                 /* split = 27% of the page */
@media (max-width: 720px) {
  .rd-beam--edge .rd-beam-split { height: calc(20vw * 0.2126); }
  .rd-beam--home .rd-beam-split { height: calc(27vw * 0.2126); }
}
.rd-beam--up .rd-beam-split { top: 0; }

/* What You Get, More Ways to Work Together: the three routes keep the square bullet, in the Bright Light yellow
   with the beam's glow, so they read as versions of the Bright Light rather than as Value.
   The nested items keep their POV colours. */
.rd-what-you-get .wyg-ladder > li::before {
  background: var(--light);
  box-shadow: 0 0 6px 1px rgba(240,180,41,0.5), 0 0 16px 4px rgba(240,180,41,0.18);
}
