/* "Find your way" guide: the box where a visitor describes what is going on, and the page it points to (js/guide.js). */
.guide{--g-ease:cubic-bezier(.2,.8,.2,1);max-width:640px;margin-top:34px;text-align:left}
.guide[hidden]{display:none}
.guide-label{display:block;font-family:var(--serif);font-style:italic;font-size:19px;line-height:1.4;color:var(--coral-deep);margin-bottom:12px}

/* the box */
.guide-box{position:relative;display:flex;align-items:flex-end;gap:8px;padding:8px 8px 8px 22px;border-radius:28px;background:#fff;
  box-shadow:0 0 0 1.5px var(--line),0 1px 1px rgba(67,54,45,.04),0 18px 40px -28px rgba(67,54,45,.4);transition:box-shadow .35s var(--g-ease)}
.guide-box:focus-within{box-shadow:0 0 0 1.5px var(--coral),0 1px 1px rgba(67,54,45,.04),0 22px 44px -26px rgba(184,90,67,.45)}
.guide-q{flex:1;min-width:0;border:0;outline:0;background:transparent;resize:none;overflow:hidden;font-family:var(--serif);font-size:19px;line-height:1.45;color:var(--ink);
  padding:9px 0;min-height:46px}
/* the example in the empty box stays on one line: js/guide.js picks a wording that fits, and this holds the line if one ever does not */
.guide-q::placeholder{color:#A99A8C;font-style:italic;opacity:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.guide-clear,.guide-go{flex:none;display:inline-flex;align-items:center;justify-content:center;border:0;cursor:pointer;border-radius:50%;-webkit-tap-highlight-color:transparent}
.guide-clear{width:36px;height:46px;background:transparent;color:var(--ink-soft)}
.guide-clear[hidden]{display:none}
.guide-clear svg{width:14px;height:14px}
.guide-clear:hover{color:var(--coral-deep)}
.guide-go{width:46px;height:46px;background:var(--coral);color:#fff;transition:background-color .25s,transform .35s var(--g-ease)}
.guide-go svg{width:20px;height:20px}
.guide-go:hover{background:var(--coral-deep)}
.guide-go:active{transform:scale(.94)}
.guide-clear:focus-visible,.guide-go:focus-visible{outline:2px solid var(--coral-deep);outline-offset:3px}

/* while the request is being read: a coral light runs round the box */
@property --g-turn{syntax:"<angle>";inherits:false;initial-value:0deg}
.guide-box::before{content:"";position:absolute;inset:-1.5px;border-radius:inherit;padding:2px;pointer-events:none;opacity:0;transition:opacity .3s;
  background:conic-gradient(from var(--g-turn),rgba(224,122,97,0) 0deg,rgba(224,122,97,0) 200deg,var(--coral) 320deg,#F6DACE 352deg,rgba(224,122,97,0) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
.guide.is-reading .guide-box::before{opacity:1;animation:g-turn 1.25s linear infinite}
.guide.is-reading .guide-go{background:var(--coral-deep)}
@keyframes g-turn{to{--g-turn:360deg}}

.guide-note{margin-top:12px;font-family:var(--sans);font-weight:500;font-size:11.5px;line-height:1.6;letter-spacing:.02em;color:var(--ink-soft)}

/* the answer */
.guide-out{margin-top:6px}
.guide-out:empty{display:none}
.guide-out>*{animation:g-in .6s var(--g-ease) both}
.guide-out>*:nth-child(2){animation-delay:.07s}.guide-out>*:nth-child(3){animation-delay:.14s}.guide-out>*:nth-child(4){animation-delay:.21s}
@keyframes g-in{from{opacity:0;transform:translateY(12px)}}
.guide-eyebrow{margin:20px 0 10px;font-family:var(--sans);font-weight:600;font-size:11px;letter-spacing:.26em;text-transform:uppercase;color:var(--coral-deep)}
.guide-card{position:relative;display:block;padding:22px 76px 24px 24px;border-radius:22px;background:#fff;color:var(--ink);text-decoration:none;
  box-shadow:0 0 0 1px var(--line),0 1px 2px rgba(67,54,45,.05),0 20px 42px -26px rgba(67,54,45,.42);transition:transform .45s var(--g-ease),box-shadow .45s var(--g-ease)}
.guide-card::before{content:"";position:absolute;left:24px;right:24px;top:0;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--coral),rgba(224,122,97,.12));transform-origin:left;animation:g-rule 1s var(--g-ease) .15s both}
@keyframes g-rule{from{transform:scaleX(0)}}
.guide-card:hover,.guide-card:focus-visible{transform:translateY(-3px);box-shadow:0 0 0 1.5px var(--coral),0 2px 4px rgba(67,54,45,.06),0 26px 48px -26px rgba(184,90,67,.5)}
.guide-card:focus-visible{outline:2px solid var(--coral);outline-offset:4px}
.guide-card-kind{display:block;font-family:var(--sans);font-weight:600;font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:8px}
.guide-card-title{display:block;font-family:var(--serif);font-size:clamp(24px,3.2vw,30px);line-height:1.15;letter-spacing:-.01em}
.guide-card-blurb{display:block;margin-top:9px;font-size:17px;line-height:1.5;color:var(--ink-soft)}
.guide-card-go{position:absolute;right:20px;top:50%;width:40px;height:40px;margin-top:-20px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--blush);color:var(--coral-deep);
  transition:background-color .3s,color .3s,transform .45s var(--g-ease)}
.guide-card-go svg{width:18px;height:18px}
.guide-card:hover .guide-card-go,.guide-card:focus-visible .guide-card-go{background:var(--coral);color:#fff;transform:translateX(3px)}

.guide-also{list-style:none;margin:0;padding:0}
.guide-also a{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 4px;border-bottom:1px solid var(--line-sand);color:var(--ink);text-decoration:none;font-size:19px;line-height:1.3;transition:color .25s,padding-left .3s var(--g-ease)}
.guide-also a:hover,.guide-also a:focus-visible{color:var(--coral-deep);padding-left:10px}
.guide-also svg{flex:none;width:16px;height:16px;color:var(--coral)}

.guide-none{margin-top:20px;font-size:18px;line-height:1.55;color:var(--ink)}
.guide-doors{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.guide-doors a{font-family:var(--sans);font-weight:600;font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;text-decoration:none;color:var(--coral-deep);padding:11px 15px;border-radius:999px;border:1px solid rgba(224,122,97,.6);background:rgba(255,255,255,.6);transition:background-color .25s}
.guide-doors a:hover,.guide-doors a:focus-visible{background:var(--blush)}
.guide-more{margin-top:18px;font-family:var(--sans);font-weight:500;font-size:12.5px;line-height:1.7;color:var(--ink-soft)}
.guide-more a{color:var(--coral-deep);font-weight:600;text-decoration:none;border-bottom:1px solid rgba(184,90,67,.4)}
.guide-more a:hover,.guide-more a:focus-visible{border-color:var(--coral-deep)}

/* "is this happening now?": shown before anything else */
.guide-urgent{margin-top:20px;padding:20px 22px 22px;border-radius:22px;background:#fff;box-shadow:0 0 0 1.5px var(--coral-deep)}
.guide-urgent strong{display:block;font-family:var(--serif);font-weight:normal;font-size:23px;line-height:1.25;color:var(--ink)}
.guide-urgent p{margin-top:8px;font-size:17px;line-height:1.5;color:var(--ink-soft)}
.guide-urgent-acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.guide-urgent-acts a{font-family:var(--sans);font-weight:600;font-size:12px;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;padding:14px 22px;border-radius:999px;background:var(--coral-deep);color:#fff}
.guide-urgent-acts a+a{background:transparent;color:var(--coral-deep);box-shadow:inset 0 0 0 1.5px var(--coral-deep)}
.guide-urgent-acts a:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

.guide-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

/* where it sits: on the home page it leads the section right under the consultation band, centred beneath that card */
.guide-lead{max-width:720px;margin:0 auto 76px}
.guide-lead .guide-label,.guide-lead .guide-note{text-align:center}
.guide-lead .guide-label{font-size:21px;margin-bottom:16px}
.pillar-sec:has(.guide-lead){padding-top:64px}
@media(max-width:700px){
  .guide{margin-top:26px}
  .guide-lead{margin:0 auto 56px}
  .pillar-sec:has(.guide-lead){padding-top:48px}
  .guide-label,.guide-lead .guide-label{font-size:18px}
  .guide-box{padding-left:18px;border-radius:26px}
  .guide-q{font-size:18px}
  .guide-card{padding:20px 66px 22px 20px;border-radius:20px}
  .guide-card::before{left:20px;right:20px}
  .guide-card-go{right:14px}
  .guide-card-blurb{font-size:16px}
}
@media(prefers-reduced-motion:reduce){
  .guide-out>*,.guide-card::before{animation:none}
  .guide.is-reading .guide-box::before{animation:none;background:var(--coral)}
  .guide-card,.guide-card-go,.guide-also a,.guide-go{transition:none}
  .guide-card:hover,.guide-card:focus-visible{transform:none}
}
