/* An editorial extension of DRAVELL's existing type, grid and warm accents. */
.how-work-overview { --ww-accent: #ff8200; --ww-ink: #101820; --ww-muted: #60676b; color: var(--ww-ink); }
.how-work-overview:before { display: none; }
.how-work-page { background: var(--surface); position: relative; z-index: 1; }
.how-work-page h1, .how-work-page h2, .how-work-page h3, .how-work-page h4, .how-work-page p { margin: 0; }
.how-work-page h1, .how-work-page h2, .how-work-page h3 { font-weight: 300; letter-spacing: -.065em; text-wrap: balance; }
.how-work-page strong { font-weight: 500; }
.how-work-page :focus-visible { outline: 2px solid #ac5100; outline-offset: 6px; }
.how-work-page section[id], .ww-stage { scroll-margin-top: 110px; }
.ww-eyebrow { font: 10px/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.ww-hero { padding: clamp(150px, 13vw, 220px) 4vw 110px; }
.ww-hero-top { align-items: center; display: flex; gap: 24px; justify-content: space-between; }
.ww-hero-top .ww-eyebrow { align-items: center; display: flex; gap: 10px; }
.ww-hero-top .ww-eyebrow:before { background: var(--ww-accent); border-radius: 50%; content: ''; height: 6px; width: 6px; }
.ww-meta { color: var(--ww-muted); font: 10px/1.5 var(--mono); }
.ww-meta span { color: #b25900; margin: 0 10px; }
.ww-hero h1 { font-size: clamp(80px, 11.7vw, 190px); line-height: .94; margin-top: clamp(42px, 5.5vw, 90px); }
.ww-introduction { border-top: 1px solid var(--line-soft); display: grid; gap: 9vw; grid-template-columns: .9fr 1fr; margin-top: clamp(65px, 8vw, 130px); padding-top: 48px; }
.ww-introduction h2 { font-size: clamp(30px, 3.2vw, 50px); line-height: 1.1; }
.ww-body-copy { color: var(--ww-muted); font-size: clamp(16px, 1.12vw, 18px); line-height: 1.7; max-width: 660px; }
.ww-body-copy p + p { margin-top: 20px; }
.ww-text-link { align-items: center; border-bottom: 1px solid currentColor; color: inherit; display: inline-flex; font-size: 13px; gap: 28px; line-height: 1.5; min-height: 44px; padding: 10px 0 7px; transition: gap .25s, opacity .25s; }
.ww-text-link span { color: #b25900; font-size: 19px; }
.ww-text-link:hover { gap: 38px; opacity: .75; }
.ww-introduction .ww-text-link { margin-top: 30px; }
.ww-process { display: grid; gap: 8vw; grid-template-columns: .72fr 1.28fr; padding: 50px 4vw 120px; }
.ww-process-rail { align-self: start; padding-top: 22px; position: sticky; top: 110px; }
.ww-process-rail h2 { font-size: clamp(40px, 4.2vw, 68px); line-height: 1.02; margin-top: 25px; }
.ww-process-index { display: grid; gap: 0; margin-top: 35px; max-width: 270px; }
.ww-process-index a { align-items: center; border-left: 1px solid var(--line); color: var(--ww-muted); display: flex; font-size: 14px; gap: 22px; min-height: 44px; padding: 11px 0 11px 20px; transition: color .2s, border-color .2s; }
.ww-process-index a span { font: 10px var(--mono); }
.ww-process-index a[aria-current] { border-left: 2px solid var(--ww-accent); color: var(--ww-ink); padding-left: 19px; }
.ww-process-index a:hover { color: var(--ww-ink); }
.ww-rail-note { color: var(--ww-muted); font-size: 12px; line-height: 1.6; margin-top: 32px !important; }
.ww-stages { border-left: 1px solid var(--line-soft); list-style: none; margin: 0; min-width: 0; padding: 0 0 0 38px; }
.ww-stage { border-top: 1px solid var(--line-soft); padding: 34px 0 88px; position: relative; }
.ww-stage:before { background: var(--surface); border: 1px solid var(--ww-accent); border-radius: 50%; content: ''; height: 9px; left: -43px; position: absolute; top: 51px; width: 9px; }
.ww-stage.is-current:before { background: var(--ww-accent); }
.ww-stage:last-child { padding-bottom: 0; }
.ww-stage-heading { align-items: start; display: grid; gap: 22px; grid-template-columns: 64px minmax(0,1fr); }
.ww-stage-number { color: #9b4c00; font: 12px/1.5 var(--mono); padding-top: 10px; }
.ww-stage h3 { font-size: clamp(31px, 3.3vw, 54px); line-height: 1.05; }
.ww-stage-copy { color: var(--ww-muted); font-size: clamp(16px, 1.08vw, 18px); line-height: 1.7; margin: 30px 0 0 86px; max-width: 570px; }
.ww-stage-copy p + p { margin-top: 18px; }
.ww-stage-copy .ww-stage-lede { color: var(--ww-ink); font-size: clamp(20px, 1.75vw, 28px); letter-spacing: -.035em; line-height: 1.35; margin-bottom: 24px; }
.ww-stage-copy .ww-outcome { border-left: 1px solid var(--line); font-size: 13px; line-height: 1.5; margin-top: 28px; padding-left: 18px; }
.ww-outcome span { color: var(--ww-ink); display: block; font: 9px/1.6 var(--mono); letter-spacing: .08em; margin-bottom: 6px; text-transform: uppercase; }
.ww-terms { background: var(--black-soft); padding: 110px 4vw; }
.ww-section-heading { max-width: 1120px; }
.ww-section-heading h2 { font-size: clamp(43px, 5.5vw, 88px); line-height: 1.04; margin-top: 26px; }
.ww-section-heading > p:last-child { color: var(--ww-muted); font-size: 17px; line-height: 1.6; margin-top: 28px; max-width: 590px; }
.ww-project-terms { margin-top: 76px; }
.ww-terms-label { align-items: baseline; display: flex; gap: 20px; justify-content: space-between; }
.ww-terms-label h3, .ww-scope h3 { font-size: 23px; font-weight: 400; letter-spacing: -.04em; line-height: 1.25; }
.ww-terms-label > p { color: var(--ww-muted); font-size: 13px; }
.ww-payment-bar { display: grid; gap: 5px; grid-template-columns: 2fr 3fr; height: 9px; margin: 27px 0 34px; }
.ww-payment-bar span:first-child { background: var(--ww-accent); }
.ww-payment-bar span:last-child { background: var(--ww-ink); }
.ww-payment-split { display: grid; gap: 5px; grid-template-columns: 2fr 3fr; }
.ww-payment-split article { padding-right: 5vw; }
.ww-payment-split article + article { padding-left: 4vw; padding-right: 0; }
.ww-payment-split .ww-percentage { color: var(--ww-ink); font-size: clamp(78px, 9vw, 145px); font-weight: 300; letter-spacing: -.08em; line-height: 1; margin-bottom: 24px; }
.ww-percentage span { font-size: .42em; letter-spacing: -.05em; margin-left: 4px; }
.ww-payment-split h4 { font-size: 23px; font-weight: 400; letter-spacing: -.04em; }
.ww-payment-split article > p:last-child { color: var(--ww-muted); font-size: 16px; line-height: 1.65; margin-top: 15px; max-width: 510px; }
.ww-terms-note { color: var(--ww-muted); font-size: 13px; line-height: 1.6; margin-top: 38px !important; max-width: 600px; }
.ww-monthly, .ww-scope { border-top: 1px solid var(--line); display: grid; gap: 9vw; grid-template-columns: .9fr 1fr; margin-top: 60px; padding-top: 54px; }
.ww-monthly h3 { font-size: clamp(34px, 3.5vw, 56px); line-height: 1.05; margin-top: 24px; }
.ww-scope { margin-top: 52px; padding-top: 38px; }
.ww-scope .ww-body-copy { font-size: 15px; }
.ww-portfolio { background: #050505; color: #f7f7f4; padding: 110px 4vw; }
.ww-portfolio-copy { display: grid; column-gap: 9vw; grid-template-columns: .9fr 1fr; }
.ww-portfolio-copy .ww-eyebrow { color: #c7c7c4; grid-column: 1 / -1; }
.ww-portfolio-copy h2 { font-size: clamp(40px, 4.7vw, 76px); line-height: 1.06; margin-top: 28px; }
.ww-portfolio-copy .ww-body-copy { color: #b5b5b3; grid-column: 2; grid-row: 2 / 4; margin-top: 31px; }
.ww-body-copy .ww-consent { color: #f7f7f4; }
.ww-portfolio-copy .ww-text-link { align-self: start; justify-self: start; margin-top: 38px; }
.ww-portfolio .ww-text-link span { color: #ffab52; }
.ww-portfolio-image { margin: 65px 0 0; }
.ww-portfolio-image > a { display: block; overflow: hidden; }
.ww-portfolio-image img { aspect-ratio: 16/7; display: block; height: auto; object-fit: cover; object-position: center; transition: transform .6s cubic-bezier(.16,1,.3,1); width: 100%; }
.ww-portfolio-image > a:hover img { transform: scale(1.025); }
.ww-portfolio-image figcaption { color: #b5b5b3; display: flex; font: 9px/1.5 var(--mono); gap: 15px; justify-content: space-between; letter-spacing: .06em; padding-top: 17px; text-transform: uppercase; }
.ww-cta { padding: 115px 4vw 125px; text-align: center; }
.ww-cta h2 { font-size: clamp(47px, 6.5vw, 104px); line-height: 1.03; margin-top: 26px; }
.ww-cta > p:not(.ww-eyebrow) { color: var(--ww-muted); font-size: 17px; line-height: 1.6; margin: 28px auto 0; max-width: 590px; }
.ww-cta-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 18px 35px; justify-content: center; margin-top: 36px; }
.ww-button { align-items: center; background: var(--ww-ink); border: 1px solid var(--ww-ink); border-radius: 99px; box-shadow: 0 12px 25px #111a2024; color: #fff; display: inline-flex; font-size: 12px; gap: 28px; letter-spacing: .07em; min-height: 52px; padding: 16px 25px; text-transform: uppercase; transition: transform .25s, box-shadow .25s; }
.ww-button span { color: #ffab52; font-size: 19px; }
.ww-button:hover { box-shadow: 0 14px 30px #111a2038; transform: translateY(-3px); }
[data-work-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  html:has(.how-work-overview) { scroll-behavior: smooth; }
  [data-work-reveal].is-work-waiting { opacity: 0; transform: translate3d(0,16px,0); }
  [data-work-reveal].is-work-ready { transition: opacity .65s ease, transform .65s cubic-bezier(.16,1,.3,1); }
}
@media (max-width: 1100px) {
  .ww-process { gap: 5vw; grid-template-columns: .68fr 1.32fr; }
  .ww-stage-heading { gap: 15px; grid-template-columns: 40px minmax(0,1fr); }
  .ww-stage-copy { margin-left: 55px; }
}
@media (max-width: 820px) {
  .ww-hero { padding: 124px 24px 64px; }
  .ww-meta { display: none; }
  .ww-hero h1 { font-size: clamp(70px, 13vw, 112px); margin-top: 45px; }
  .ww-introduction { gap: 35px; grid-template-columns: 1fr; margin-top: 55px; padding-top: 32px; }
  .ww-introduction h2 { font-size: 34px; }
  .ww-introduction .ww-text-link { margin-top: 18px; }
  .ww-process { gap: 36px; grid-template-columns: 1fr; padding: 0 24px 64px; }
  .ww-process-rail { padding-top: 0; position: static; }
  .ww-process-rail h2 { font-size: 44px; margin-top: 18px; }
  .ww-process-index { column-gap: 18px; grid-template-columns: 1fr 1fr; margin-top: 25px; max-width: 540px; }
  .ww-process-index a { gap: 13px; }
  .ww-rail-note { display: none; }
  .ww-stages { margin-left: 4px; padding-left: 24px; }
  .ww-stage { padding: 28px 0 40px; }
  .ww-stage:before { left: -29px; top: 42px; }
  .ww-stage h3 { font-size: clamp(30px, 5vw, 42px); }
  .ww-stage-heading { gap: 12px; grid-template-columns: 30px minmax(0,1fr); }
  .ww-stage-number { padding-top: 6px; }
  .ww-stage-copy { margin: 24px 0 0; }
  .ww-stage-copy .ww-stage-lede { font-size: 23px; }
  .ww-terms, .ww-portfolio { padding: 64px 24px; }
  .ww-section-heading h2 { font-size: clamp(38px, 7vw, 60px); }
  .ww-project-terms { margin-top: 45px; }
  .ww-terms-label { align-items: start; flex-direction: column; gap: 10px; }
  .ww-payment-split { gap: 28px; grid-template-columns: 1fr 1fr; }
  .ww-payment-split article, .ww-payment-split article + article { padding: 0; }
  .ww-payment-split .ww-percentage { font-size: 84px; }
  .ww-payment-split h4 { font-size: 20px; }
  .ww-payment-split article > p:last-child { font-size: 15px; }
  .ww-monthly, .ww-scope { gap: 25px; grid-template-columns: 1fr; margin-top: 42px; padding-top: 34px; }
  .ww-monthly h3 { font-size: 40px; margin-top: 18px; }
  .ww-portfolio-copy { display: block; }
  .ww-portfolio-copy h2 { font-size: clamp(37px, 6.4vw, 56px); }
  .ww-portfolio-copy .ww-body-copy { margin-top: 26px; }
  .ww-portfolio-copy .ww-text-link { margin-top: 24px; }
  .ww-portfolio-image { margin-top: 38px; }
  .ww-portfolio-image img { aspect-ratio: 16/10; }
  .ww-portfolio-image figcaption { flex-direction: column; gap: 5px; }
  .ww-cta { padding: 64px 24px; }
  .ww-cta h2 { font-size: clamp(42px, 7.5vw, 64px); }
}
@media (max-width: 380px) {
  .ww-hero, .ww-terms, .ww-portfolio, .ww-cta { padding-left: 20px; padding-right: 20px; }
  .ww-hero h1 { font-size: 65px; }
  .ww-process { padding-left: 20px; padding-right: 20px; }
  .ww-process-index a { font-size: 13px; gap: 10px; padding-left: 12px; }
  .ww-process-index a[aria-current] { padding-left: 11px; }
  .ww-payment-split { gap: 26px; grid-template-columns: 1fr; }
  .ww-payment-split article + article { border-top: 1px solid var(--line); padding-top: 26px; }
  .ww-payment-split .ww-percentage { font-size: 78px; margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  /* Include shared navigation: the legacy global 0.01ms duration otherwise
     creates inherited visibility transitions even when a menu requests none. */
  .how-work-overview *, .how-work-overview *:before, .how-work-overview *:after { animation: none !important; transition-property: none !important; scroll-behavior: auto !important; }
  [data-work-reveal].is-work-waiting { opacity: 1; transform: none; }
}
