/* Coaching landing page */

.hero{position:relative;isolation:isolate;overflow:clip;background:var(--graphite);color:var(--paper)}
/* Hero photo: greyscale file, shown faintly over graphite. Opacity is set so every text colour on top keeps at least 4.5:1 contrast even over the brightest part of the photo. */
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:url(/assets/img/designworks-hero.jpg) 62% 40%/cover no-repeat;filter:grayscale(1);opacity:.11;pointer-events:none}
@media (max-width:720px){.hero::before{bottom:auto;height:min(100%,860px);background-image:url(/assets/img/designworks-hero-960.jpg);background-position:58% top;-webkit-mask-image:linear-gradient(#000 55%,transparent);mask-image:linear-gradient(#000 55%,transparent)}}
.hero__in{display:flex;flex-wrap:wrap;align-items:center;gap:48px 64px;padding-block:72px 88px}
.hero__copy{flex:1 1 540px;min-width:0;display:flex;flex-direction:column;gap:28px}
.hero h1{font-size:clamp(40px,5.2vw,72px);line-height:1.03;font-weight:400;letter-spacing:-.02em}
.hero h1 .it{color:var(--cobalt-on-dark)}
.hero__sub{font-size:22px;line-height:1.5;max-width:580px}
.checks{display:flex;flex-direction:column;gap:10px;font-family:var(--sans);font-size:16px;color:var(--tint)}
.checks li{display:flex;gap:12px;align-items:baseline}
.checks svg{flex:none;width:14px;height:14px;position:relative;top:1px}
.formcard{flex:1 1 380px;min-width:0;max-width:480px;padding:36px;background:var(--paper);color:var(--graphite);border:1px solid var(--tint);display:flex;flex-direction:column;gap:16px;font-family:var(--sans)}
.formcard h2{font-family:var(--serif);font-size:32px;line-height:1.12;letter-spacing:-.01em}
.formcard p{font-size:15px;line-height:1.5;color:var(--muted)}
.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:14px;font-weight:500}
.field input,.field select,.field textarea{width:100%;height:50px;padding:0 14px;font:400 16px var(--sans);border:1px solid var(--graphite);border-radius:6px;background:var(--white);color:var(--graphite)}
.field textarea{height:auto;padding:12px 14px;line-height:1.4;resize:vertical}
.formcard .btn{border:0;text-align:center}
.formcard .note{font-size:13px}

.strip{background:var(--cobalt);color:var(--paper)}
.strip__in{display:flex;flex-wrap:wrap;align-items:center;gap:18px 48px;padding-block:28px}
.strip__in>span{font-family:var(--sans);font-size:14px;font-weight:500}
.logos{display:flex;flex-wrap:wrap;align-items:center;gap:22px 48px}
.logos img{display:block;width:auto;filter:brightness(0) invert(1)}

.sec{padding-block:104px;display:flex;flex-direction:column;gap:56px}
.head{display:flex;flex-wrap:wrap;align-items:flex-end;gap:20px 64px}
.head>div{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:12px}
.head>p{flex:1 1 420px;min-width:0}
.cards{display:flex;flex-wrap:wrap;gap:20px}
.card{flex:1 1 240px;min-width:0;padding:30px;background:var(--paper);border:1px solid var(--graphite);display:flex;flex-direction:column;gap:14px}
.card h3{font-size:25px;line-height:1.18;font-weight:400}
.card p{font-size:18px;line-height:1.45}

.mist{background:var(--mist)}
.rows{border-top:1px solid var(--graphite)}
.row{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 40px;padding:30px 0;border-bottom:1px solid var(--graphite)}
.row__n{flex:0 0 44px;font-family:var(--sans);font-size:14px;font-weight:500;color:var(--muted)}
.row h3{flex:1 1 300px;min-width:0;font-size:32px;line-height:1.15;font-weight:400;font-style:italic}
.row>div{flex:2 1 480px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.src{font-family:var(--sans);font-size:15px;font-weight:500;color:var(--cobalt);text-underline-offset:4px;padding:6px 0}

.blue{background:var(--cobalt);color:var(--paper)}
.blue .label{color:var(--paper)}
.blue__in{display:flex;flex-wrap:wrap;gap:40px 72px;padding-block:104px}
.blue__l{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:20px}
.blue__l h2{font-style:italic;font-size:clamp(34px,4vw,54px);line-height:1.1}
.blue__l p{font-size:20px}
.edges{flex:1 1 420px;min-width:0;border-top:1px solid var(--paper)}
.edges li{padding:20px 0;border-bottom:1px solid rgba(247,247,244,.45)}
.edges h3{font-size:24px;line-height:1.2;font-weight:400}
.edges p{font-size:18px;line-height:1.45;margin-top:4px}

.os{display:flex;flex-wrap:wrap;align-items:stretch;gap:32px 64px}
.os__panel{flex:1 1 380px;min-width:0;padding:36px 28px;border:1px solid var(--tint);display:flex;flex-direction:column;justify-content:center;gap:16px}
.os__panel p{font-family:var(--sans);font-size:14px;color:var(--muted);background:var(--paper);align-self:flex-start;padding:2px 6px}
.steps{flex:1.4 1 520px;min-width:0;display:flex;flex-wrap:wrap;gap:0 40px;border-top:1px solid var(--graphite)}
.steps li{flex:1 1 240px;min-width:0;padding:22px 0;border-bottom:1px solid var(--graphite);display:flex;flex-direction:column;gap:6px}
.steps span{font-family:var(--sans);font-size:14px;font-weight:500;color:var(--muted)}
.steps h3{font-size:26px;line-height:1.15;font-weight:400;font-style:italic}
.steps p{font-size:17px;line-height:1.45}

.ink{background:var(--graphite);color:var(--paper)}
.offers{display:flex;flex-wrap:wrap;gap:20px}
.offer{flex:1 1 250px;min-width:0;padding:32px;background:var(--paper);color:var(--graphite);display:flex;flex-direction:column;gap:12px}
.offer--lead{background:var(--tint)}
.offer p.label{color:var(--muted);font-size:14px}
.offer h3{font-size:27px;line-height:1.15;font-weight:400}
.offer p{font-size:18px;line-height:1.45}
.offer .grow{flex-grow:1}
.offer p.price{font-size:46px;line-height:1;letter-spacing:-.02em;color:var(--cobalt);margin-top:10px}
.offer p.price small{font-family:var(--sans);font-size:15px;font-weight:500;letter-spacing:0;color:var(--graphite)}
.offer p.terms{font-family:var(--sans);font-size:14px;font-weight:500}
.ink .foot{font-family:var(--sans);font-size:15px;color:var(--tint);max-width:720px}

.who{display:flex;flex-wrap:wrap;align-items:center;gap:48px 72px;padding-block:104px}
.portrait{flex:1 1 320px;min-width:0;max-width:440px;aspect-ratio:4/5;background:var(--cobalt);position:relative;overflow:hidden}
.portrait img{position:absolute;left:0;bottom:0;width:100%;height:auto;transform-origin:left bottom;display:block;filter:grayscale(1)}
.portrait span{position:absolute;width:18px;height:18px;border:0 solid var(--paper);z-index:1}
.portrait .tl{top:14px;left:14px;border-top-width:2px;border-left-width:2px}.portrait .tr{top:14px;right:14px;border-top-width:2px;border-right-width:2px}
.portrait .bl{bottom:14px;left:14px;border-bottom-width:2px;border-left-width:2px}.portrait .br{bottom:14px;right:14px;border-bottom-width:2px;border-right-width:2px}
.who__copy{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:20px}
.reads{border-top:1px solid var(--graphite);font-size:18px}
.reads a{display:flex;gap:16px;align-items:baseline;padding:12px 0;border-bottom:1px solid var(--tint);text-decoration:none}
.reads span{flex:0 0 44px;font-family:var(--sans);font-size:14px;font-weight:500;color:var(--muted)}
.reads u{text-underline-offset:4px;text-decoration-color:var(--cobalt)}

.faq{display:flex;flex-wrap:wrap;gap:32px 64px;padding-block:104px}
.faq h2{flex:1 1 300px;min-width:0}
.faq__list{flex:2 1 520px;min-width:0;border-top:1px solid var(--graphite)}
.faq details{border-bottom:1px solid var(--graphite)}
.faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:24px;padding:22px 0;font-size:25px;line-height:1.2}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex:none;font-family:var(--sans);font-weight:400;color:var(--cobalt);transition:transform .3s var(--ease)}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{padding-bottom:24px;max-width:640px}

.close__in{display:flex;flex-wrap:wrap;align-items:center;gap:48px 72px;padding-block:104px}
.close__l{flex:1 1 520px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:28px}
.close h2{font-size:clamp(36px,4.4vw,60px);line-height:1.06}
.close h2 .it{color:var(--cobalt-on-dark)}
.close p{font-size:21px;max-width:600px}
.close__btns{display:flex;flex-wrap:wrap;gap:14px}
.close{position:relative;isolation:isolate;overflow:hidden}
.close__l{max-width:620px}
/* Closing photo: greyscale, bleeds off the right edge and fades into the graphite background on the left, so the copy always sits on near-solid colour. */
.close::before{content:"";position:absolute;top:0;bottom:0;right:0;width:58%;z-index:-1;background:url(/assets/img/workshop-close.jpg) 72% 35%/cover no-repeat;filter:grayscale(1);opacity:.5;pointer-events:none;-webkit-mask-image:linear-gradient(to right,transparent 0,rgba(0,0,0,.35) 30%,#000 70%);mask-image:linear-gradient(to right,transparent 0,rgba(0,0,0,.35) 30%,#000 70%)}
@media (max-width:960px){.close__in{padding-block:80px 340px}.close::before{top:auto;left:0;width:auto;height:380px;background-image:url(/assets/img/workshop-close-900.jpg);background-position:60% 30%;-webkit-mask-image:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.5) 35%,#000 75%);mask-image:linear-gradient(to bottom,transparent 0,rgba(0,0,0,.5) 35%,#000 75%)}}

/* Form states */
.field .err{font-size:13px;color:#B3261E;font-weight:500}
.field [aria-invalid="true"]{border-color:#B3261E;box-shadow:0 0 0 1px #B3261E}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.formcard .alert{padding:12px 14px;border:1px solid #B3261E;color:#8C1D18;font-size:14px;line-height:1.45;background:#FFFFFF}
.formcard button[disabled]{opacity:.65;cursor:progress}
.done{display:flex;flex-direction:column;gap:16px}
.done h2:focus{outline:none}
.done svg{width:44px;height:44px}
.logos img{height:var(--h)}
.formcard form{display:flex;flex-direction:column;gap:16px}
.formcard .note a{color:var(--cobalt);text-underline-offset:3px}

/* ---- Depth ---- */
.formcard{box-shadow:0 1px 0 rgba(255,255,255,.06),0 2px 6px rgba(0,0,0,.25),0 34px 70px -28px rgba(0,0,0,.75)}
.offer{box-shadow:0 26px 50px -30px rgba(0,0,0,.8)}
.offer--lead{box-shadow:0 30px 60px -28px rgba(0,0,0,.9),inset 0 3px 0 var(--cobalt)}
.portrait{box-shadow:14px 14px 0 var(--tint)}
@media (max-width:640px){.portrait{box-shadow:8px 8px 0 var(--tint)}}
/* A soft light that follows the pointer across the hero. Only on devices with a mouse; set by motion.js. */
.hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:0;transition:opacity .6s ease;background:radial-gradient(520px circle at var(--mx,70%) var(--my,30%),rgba(127,156,255,.09),transparent 70%)}
.hero.is-lit::after{opacity:1}

/* ---- Small interactions ---- */
.field input,.field select,.field textarea{transition:border-color .2s ease,box-shadow .2s ease}
.field input:hover,.field select:hover,.field textarea:hover{border-color:var(--cobalt)}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--cobalt);box-shadow:0 0 0 4px rgba(47,91,234,.16)}
.field [aria-invalid="true"]:focus{border-color:#B3261E;box-shadow:0 0 0 1px #B3261E,0 0 0 4px rgba(179,38,30,.14)}
.field .err{animation:fade .25s ease both}
.src{display:inline-block}
.src::after{content:"\2192";display:inline-block;margin-left:.4em;transition:transform .25s var(--ease)}
.src:hover::after{transform:translateX(4px)}
.row__n,.reads span{transition:color .2s ease}
.row:hover .row__n,.reads a:hover span{color:var(--cobalt)}
.reads a{transition:padding .25s var(--ease),border-color .2s ease}
.reads a:hover{padding-left:8px;border-bottom-color:var(--cobalt)}
.faq summary{transition:color .2s ease}
.faq summary:hover{color:var(--cobalt)}
@supports (interpolate-size:allow-keywords){
  .faq{interpolate-size:allow-keywords}
  .faq details::details-content{block-size:0;overflow:hidden;opacity:0;transition:block-size .35s var(--ease),opacity .3s ease,content-visibility .35s allow-discrete}
  .faq details[open]::details-content{block-size:auto;opacity:1}
}
.done svg circle,.done svg path{stroke-dasharray:1}
.checks svg path{stroke-dasharray:1}

@media (prefers-reduced-motion:no-preference){
  /* Page load: the hero settles in, one piece after another */
  .hero__copy>.label{animation:rise .7s var(--ease) both}
  .hero__copy>h1{animation:rise .8s var(--ease) .08s both}
  .hero__copy>.hero__sub{animation:rise .8s var(--ease) .18s both}
  .checks li{animation:rise .7s var(--ease) both}
  .checks li:nth-child(1){animation-delay:.30s}.checks li:nth-child(2){animation-delay:.38s}.checks li:nth-child(3){animation-delay:.46s}
  .checks svg path{animation:draw .5s ease both}
  .checks li:nth-child(1) path{animation-delay:.55s}.checks li:nth-child(2) path{animation-delay:.63s}.checks li:nth-child(3) path{animation-delay:.71s}
  .formcard{animation:rise .9s var(--ease) .22s both}
  .hero::before{animation:heroIn 1.6s ease both}
  @keyframes heroIn{from{opacity:0}}
  .top{animation:fade .6s ease both}

  /* Success tick draws itself */
  .done{animation:rise .5s var(--ease) both}
  .done svg circle{animation:draw .6s ease .1s both}
  .done svg path{animation:draw .35s ease .6s both}

  /* Scroll reveal. motion.js adds .reveal only to things below the fold, then .is-in as they arrive. Without the script nothing is ever hidden. */
  .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .8s var(--ease);transition-delay:calc(var(--i,0)*70ms)}
  .reveal.is-in{opacity:1;transform:none}
  .os__panel.reveal .draw{stroke-dasharray:1;stroke-dashoffset:1}
  .os__panel.reveal.is-in .draw{stroke-dashoffset:0;transition:stroke-dashoffset 1.6s ease .35s}
  .os__panel.reveal .nodes circle{opacity:0;transform-box:fill-box;transform-origin:center;transform:scale(.4)}
  .os__panel.reveal.is-in .nodes circle{opacity:1;transform:none;transition:opacity .3s ease,transform .45s var(--ease)}
  .os__panel.reveal.is-in .nodes circle:nth-child(1){transition-delay:.75s}.os__panel.reveal.is-in .nodes circle:nth-child(2){transition-delay:1.1s}.os__panel.reveal.is-in .nodes circle:nth-child(3){transition-delay:1.45s}.os__panel.reveal.is-in .nodes circle:nth-child(4){transition-delay:1.85s}

  /* Parallax, where the browser can tie animation to scrolling. Photos sit slightly oversized so no edge ever shows. */
  @supports (animation-timeline:view()){
    .hero::before{animation:heroIn 1.6s ease both,heroDrift linear both;animation-timeline:auto,scroll(root);animation-range:normal,0 110vh}
    @keyframes heroDrift{from{transform:scale(1.08) translateY(-2%)}to{transform:scale(1.08) translateY(4%)}}
    .close::before{animation:closeDrift linear both;animation-timeline:view();animation-range:entry 0% exit 100%}
    @keyframes closeDrift{from{transform:scale(1.1) translateY(-4%)}to{transform:scale(1.1) translateY(3%)}}
    .portrait img{animation:portraitDrift linear both;animation-timeline:view();animation-range:entry 10% cover 60%}
    @keyframes portraitDrift{from{translate:0 22px;scale:1.03}to{translate:0 0;scale:1}}
  }
}
@media print{.reveal{opacity:1!important;transform:none!important}}
