/* What we do: the five offers, the index rail that follows them, and the setup's open box. */

/* ---------- layout: index rail + offers ---------- */
.wwd{--wwd-pad:clamp(72px,11vh,130px);display:grid;grid-template-columns:minmax(220px,288px) minmax(0,1fr);column-gap:clamp(40px,5.5vw,80px);align-items:start}
.wwd-offers{min-width:0}

/* the rail is a white card, so it crosses the gold Marketing band cleanly (a card on the gold field) */
.wwd-rail{position:sticky;top:calc(var(--nav-h) + 28px);z-index:3;margin-top:var(--wwd-pad);background:var(--white);border:1px solid var(--line);border-radius:20px;padding:10px;box-shadow:var(--shadow-lift)}
.wwd-rail__list{list-style:none;position:relative;z-index:1}
/* top:0 is the card's padding edge; the JS adds the list's own offset (the card padding) to the translate */
.wwd-rail__mark{position:absolute;top:0;left:10px;right:10px;height:58px;border-radius:12px;background:var(--wash);box-shadow:inset 0 0 0 1px var(--line-soft);opacity:0;pointer-events:none}
.wwd-rail.has-mark .wwd-rail__mark{opacity:1}
.wwd-rail.mark-ready .wwd-rail__mark{transition:transform .55s var(--ease),height .55s var(--ease)}
.wwd-rail__a{display:flex;align-items:center;gap:14px;min-height:58px;padding:8px 12px 8px 10px;border-radius:12px;text-decoration:none;font-family:var(--f-display);font-weight:600;font-size:14.5px;line-height:1.25;letter-spacing:-.005em;color:rgba(63,62,64,.74);transition:color var(--t-micro) ease}
.wwd-rail__a:hover{color:var(--night)}
.wwd-rail__a .ic{transition:box-shadow var(--t-micro) ease,transform .5s var(--ease-spring)}
.wwd-rail__a:hover .ic{transform:scale(1.06)}
.wwd-rail__a.is-current{color:var(--night)}
.wwd-rail__a.is-current .ic{box-shadow:0 0 0 3px var(--wash),0 0 0 4.5px var(--gold)}
.wwd-rail__name{flex:1;min-width:0;text-wrap:balance}
.wwd-rail__go{display:none;flex:none;width:20px;height:20px;color:var(--gold-deep);transform:rotate(90deg)}

/* ---------- offers ---------- */
.wwd-offer{position:relative;padding:var(--wwd-pad) 0}
.wwd-offer+.wwd-offer{border-top:1px solid var(--line-soft)}
.wwd-offer--gold,.wwd-offer--gold+.wwd-offer{border-top:0}
/* the workshop and the private install are short: side by side on wide screens, headings sized to stay on one line.
   The pair holds the offers' top and bottom padding, so the divider between them runs from the icons to the last line
   (not from the gold band down); the anchor jump keeps the same room above the icons */
@media (min-width:1280px){
  .wwd-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:var(--wwd-pad) 0}
  .wwd-pair .wwd-offer{container-type:inline-size;padding-top:0;padding-bottom:0;scroll-margin-top:var(--wwd-pad)}
  .wwd-pair .wwd-offer+.wwd-offer{border-top:0;border-left:1px solid var(--line-soft);padding-left:clamp(32px,3.4vw,48px)}
  .wwd-pair .wwd-offer:first-child{padding-right:clamp(32px,3.4vw,48px)}
  /* sized from the column, not the screen: "The owner workshop" is 10.9em wide at this tracking, so 100cqi/11.2 keeps it on one line */
  .wwd-pair .wwd-offer__h{font-size:clamp(28px,calc(100cqi / 11.2),37px);letter-spacing:-.022em;text-wrap:balance}
  .wwd-pair .wwd-offer__p{font-size:17.5px}
  /* smaller headings, smaller icons: the label gets the room, so it sets in two lines at most */
  .wwd-pair .wwd-offer__tag{gap:14px}
  .wwd-pair .wwd-offer__tag .ic--lg{width:52px;height:52px}
}
.wwd-offer__intro{position:relative;z-index:1}
.wwd-offer__tag{display:flex;align-items:center;gap:18px;margin-bottom:28px}
/* the label's gold rule takes room, so a label that wraps sets in even lines ("For files that cannot / go to the cloud") */
.wwd-offer__tag .kicker{margin:0;text-wrap:balance}
.wwd-offer__h{margin-bottom:22px}
.wwd-offer__p{max-width:60ch;font-size:18px;line-height:1.6}

/* the setup is the biggest block on the page; its heading stays a step under the page's h1 */
.wwd-offer--setup .wwd-offer__h{font-size:clamp(40px,4vw,58px);letter-spacing:-.032em;line-height:1}
.wwd-offer--setup .wwd-offer__p{font-size:var(--fs-lede);line-height:1.55;font-weight:500;max-width:46ch}

/* Done for you: outline pills, gold hairline, not buttons */
.wwd-tags{list-style:none;display:flex;flex-wrap:wrap;gap:10px 12px;margin-top:36px}
.wwd-tags li{border:1px solid var(--line);border-radius:999px;padding:11px 20px;font-family:var(--f-display);font-weight:600;font-size:15px;line-height:1.2;letter-spacing:.01em;color:var(--charcoal)}

/* Marketing: the one gold section, full width behind the rail */
.wwd-offer--gold{background:var(--gold);box-shadow:0 0 0 100vmax var(--gold);clip-path:inset(0 -100vmax)}
.wwd-offer--gold .ic{background:var(--white);color:var(--gold-deep)}
/* 54%, but never so narrow that "Fernanda's side of the shop" breaks (the offers column is narrower at 1920 than at 1440) */
.wwd-offer--gold .wwd-offer__intro{max-width:max(54%,min(448px,58%))}
.wwd-offer--gold .wwd-offer__p{color:var(--night)}
.wwd-gold__art{position:absolute;top:0;bottom:0;right:0;width:46%;pointer-events:none;-webkit-mask-image:linear-gradient(to right,transparent 0,transparent 8%,var(--night) 50%);mask-image:linear-gradient(to right,transparent 0,transparent 8%,var(--night) 50%)}
.wwd-gold__art svg{width:100%;height:100%}
/* desktop: the engraving runs on to the screen edge, past the wrap (the clip-path still trims top and bottom) */
@media (min-width:901px){
  .wwd-offer--gold{overflow:visible}
  /* .wrap--wide is border-box (gutters inside 1320): content edge to screen edge = the side margin + one gutter */
  .wwd-gold__art{--bleed:calc(max(0px,(100vw - var(--wrap-wide)) / 2) + var(--gutter));right:calc(-1 * var(--bleed));width:calc(46% + var(--bleed))}
}

/* ---------- the signature moment: what is in the box ---------- */
.wwd-box{position:relative;margin-top:clamp(56px,8vh,96px)}
.wwd-sprite{position:absolute;width:0;height:0;overflow:hidden}
/* the drawing heads the block at the left; the heading sits under it, flush with the checklist's left edge */
.wwd-box__art{width:clamp(170px,21vw,300px);margin-bottom:clamp(22px,2.4vw,32px)}
.wwd-boxsvg{display:block;width:100%;height:auto;overflow:visible}
.wwd-box__h{margin:0 0 22px}
/* the engraving: ink outlines, gold detail, light gold hatching, ink pads with a white center, a gold dot patch.
   Strokes are screen pixels at any drawing size (the engraving rule), and stay steady while the flaps scale */
.wwd-s{fill:none;stroke:var(--ink);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.wwd-d{stroke:var(--gold);stroke-width:2.1}
.wwd-h{stroke:rgba(189,164,109,.6);stroke-width:1.9}
.wwd-f{fill:var(--white)}
.wwd-in{fill:rgba(189,164,109,.2)}
.wwd-pin{fill:var(--ink)}
.wwd-pinc{fill:var(--white)}
/* the dot patch scales with the drawing (round caps on zero-length strokes) */
.wwd-dots{fill:none;stroke:var(--gold);stroke-width:3.4;stroke-linecap:round}
.wwd-flap,.wwd-lid,.wwd-glint{transform-box:view-box}
.wwd-flap--back{transform-origin:120px 70px}
.wwd-flap--front{transform-origin:120px 92px}
.wwd-flap--left{transform-origin:49px 81px}
.wwd-flap--right{transform-origin:191px 81px}
.wwd-lid{opacity:0}

.wwd-box__grid{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}
.wwd-cell{background:var(--white);padding:clamp(20px,2.2vw,30px) clamp(18px,2.1vw,28px);display:flex}
.wwd-item{display:flex;gap:16px;align-items:flex-start;font-size:16.5px;line-height:1.5;font-weight:500;color:var(--charcoal)}
.wwd-item>span:last-child{text-wrap:pretty}
.wwd-check{flex:none;width:30px;height:30px;border-radius:50%;background:var(--gold);color:var(--white);display:grid;place-items:center;margin-top:-2px}
.wwd-check svg{width:18px;height:18px}
.wwd-box__note{margin-top:28px;max-width:60ch;display:flex;gap:16px;align-items:baseline;font-size:16.5px;text-wrap:pretty}
.wwd-box__note::before{content:"";flex:none;width:30px;height:2px;background:var(--gold);transform:translateY(-4px)}
/* v3: the mid-page action row is site.css's one-way block (.acts--one): Talk to us, then the quiet Or call link */
.wwd-act{margin-top:clamp(40px,6vh,64px)}

/* armed (JS, motion allowed): box closed, the checks waiting inside it, the words waiting in their cells */
.wwd-box.is-armed .wwd-flap{opacity:0}
.wwd-box.is-armed .wwd-flap--back,.wwd-box.is-armed .wwd-flap--front{transform:scaleY(0)}
.wwd-box.is-armed .wwd-flap--left,.wwd-box.is-armed .wwd-flap--right{transform:scaleX(0)}
.wwd-box.is-armed .wwd-lid{opacity:1}
.wwd-box.is-armed .wwd-glint{opacity:0}
.wwd-box.is-armed .wwd-check,.wwd-box.is-armed .wwd-item>span:last-child{opacity:0}
/* open: the flaps fold out */
.wwd-box.is-armed.is-open .wwd-flap{opacity:1;transform:none;transition:transform .75s var(--ease-spring),opacity .2s ease}
.wwd-box.is-armed.is-open .wwd-flap--left{transition-delay:.08s}
.wwd-box.is-armed.is-open .wwd-flap--right{transition-delay:.14s}
.wwd-box.is-armed.is-open .wwd-flap--front{transition-delay:.2s}
.wwd-box.is-armed.is-open .wwd-lid{opacity:0;transition:opacity .25s ease}
.wwd-box.is-armed.is-open .wwd-glint{opacity:1;transition:opacity .6s ease .6s}
/* desktop: in reading order, a gold check leaves the box on a short arc and lands in its cell; then its words rise in place.
   x and y run as two animations (translate and transform), so the path bends like a toss */
.wwd-box.is-fly.is-open:not(.is-quick) .wwd-check{position:relative;z-index:2;
  animation:wwd-fx .62s cubic-bezier(.3,.2,.45,1) both,wwd-fy .62s linear both,wwd-land .36s var(--ease-spring) both;
  animation-delay:calc(.38s + var(--i,0) * .085s),calc(.38s + var(--i,0) * .085s),calc(1s + var(--i,0) * .085s)}
.wwd-box.is-fly.is-open:not(.is-quick) .wwd-item>span:last-child{animation:wwd-word .34s var(--ease) both;animation-delay:calc(.94s + var(--i,0) * .085s)}
@keyframes wwd-fx{from{translate:var(--dx,0) 0}to{translate:0 0}}
@keyframes wwd-fy{
  0%{opacity:0;transform:translateY(var(--dy,0)) scale(.45);animation-timing-function:cubic-bezier(.2,.75,.4,1)}
  14%{opacity:1}
  36%{transform:translateY(calc(var(--dy,0px) - 48px)) scale(1);animation-timing-function:cubic-bezier(.5,0,.6,1)}
  100%{opacity:1;transform:none}
}
@keyframes wwd-land{0%{scale:1}45%{scale:1.14}100%{scale:1}}
@keyframes wwd-word{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
/* arrived from below: the words and checks fade in where they stand */
.wwd-box.is-quick .wwd-check{animation:wwd-pop .45s var(--ease-spring) both;animation-delay:calc(var(--i,0) * .05s)}
.wwd-box.is-quick .wwd-item>span:last-child{animation:wwd-word .45s var(--ease) both;animation-delay:calc(.08s + var(--i,0) * .05s)}
@keyframes wwd-pop{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
/* phones: each cell fills as it scrolls in, the check pops and the words rise 24 px */
.wwd-box.is-cells .wwd-item.is-in .wwd-check{animation:wwd-pop .5s var(--ease-spring) both}
.wwd-box.is-cells .wwd-item.is-in>span:last-child{animation:wwd-rise .7s var(--ease) .08s both}
@keyframes wwd-rise{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}

/* ---------- still mode: the finished picture ---------- */
html.still .wwd-rail__mark{transition:none!important}

/* ---------- 900 px and under: the index is a plain list above the offers ---------- */
@media (max-width:900px){
  .wwd{grid-template-columns:minmax(0,1fr)}
  .wwd-rail{position:static;margin-top:clamp(40px,7vh,64px);background:none;border:0;border-radius:0;padding:0;box-shadow:none}
  .wwd-rail__mark{display:none}
  .wwd-rail__list{border-top:1px solid var(--line)}
  .wwd-rail__list li{border-bottom:1px solid var(--line)}
  .wwd-rail__a{min-height:62px;padding:10px 2px;border-radius:0;color:var(--charcoal);font-size:15.5px}
  .wwd-rail__a.is-current .ic{box-shadow:none}
  .wwd-rail__go{display:block}
  .wwd-offer--gold .wwd-offer__intro{max-width:none}
  .wwd-gold__art{position:relative;display:block;width:auto;height:170px;margin:28px calc(-1 * var(--gutter)) 0;-webkit-mask-image:linear-gradient(to bottom,transparent 0,var(--night) 45%);mask-image:linear-gradient(to bottom,transparent 0,var(--night) 45%)}
  .wwd-offer--gold{display:flex;flex-direction:column-reverse;padding-bottom:0;overflow:visible}
}
@media (max-width:640px){
  .wwd-box__grid{grid-template-columns:minmax(0,1fr)}
  .wwd-box__art{width:150px;margin-bottom:20px}
  .wwd-box__h{margin-bottom:18px}
  /* the drawing is half size here: the outline steps down so the double lines keep their white between them */
  .wwd-s{stroke-width:2.2}
  .wwd-d,.wwd-h{stroke-width:1.9}
  .wwd-offer__tag{gap:14px;margin-bottom:22px}
  .wwd-offer__tag .ic--lg{width:52px;height:52px}
}

/* phones: offer headings break greedy with no lone last word ("Marketing that / goes out"), not balanced */
@media (max-width:560px){
  .wwd-offer__h{text-wrap:pretty}
}

/* ---------- v2: the home side, a small night band (.pillar-home tokens) ---------- */
.wwd-home{background:var(--night);color:var(--cream,var(--white));padding:clamp(36px,6vh,56px) 0;margin-top:clamp(56px,9vh,96px);position:relative;overflow:hidden;isolation:isolate}
.wwd-home::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:var(--copper,var(--gold));opacity:.7}
.wwd-home__in{display:grid;grid-template-columns:auto minmax(0,auto) minmax(0,1fr) auto;align-items:center;gap:18px clamp(20px,3vw,44px)}
.wwd-home__mark{width:52px;height:52px;border-radius:50%;border:1.5px solid var(--gold-hi,var(--gold));display:grid;place-items:center;color:var(--gold-hi,var(--gold))}
.wwd-home__mark svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.wwd-home .wwd-home__eb{margin:0;white-space:nowrap}
.wwd-home__p{margin:0;font-size:18px;line-height:1.55;max-width:56ch;color:var(--cream,var(--white))}
.wwd-home .wwd-home__a{color:var(--gold-hi,var(--gold));white-space:nowrap}
.wwd-home .wwd-home__a span{border-color:var(--gold-hi,var(--gold))}
.wwd-home .wwd-home__a:hover{color:var(--cream,var(--white))}
.wwd-home :focus-visible{outline-color:var(--gold-hi,var(--gold))}
@media (max-width:1100px){
  .wwd-home__in{grid-template-columns:auto minmax(0,1fr)}
  .wwd-home__p,.wwd-home__a{grid-column:1 / -1}
  .wwd-home .wwd-home__a{justify-self:start}
}

/* ---------- v3.1 ---------- */
/* Done for you: the four kinds of work are a plain list with gold marks, not pills that look like buttons */
.wwd-tags{gap:14px 34px}
.wwd-tags li{border:0;border-radius:0;padding:0 0 0 20px;position:relative;font-size:16px}
.wwd-tags li::before{content:"";position:absolute;left:0;top:.42em;width:8px;height:8px;border-radius:2px;background:var(--gold);transform:rotate(45deg)}
/* the rail's column is a soft lane the full length of the offers, so the space under the sticky card is never an empty
   white column; a gold hairline runs down its right edge */
@media (min-width:901px){
  .wwd{position:relative}
  .wwd::before{content:"";grid-column:1;grid-row:1;align-self:stretch;margin:calc(var(--wwd-pad) - 18px) -18px 0;border-radius:28px 28px 0 0;background:linear-gradient(180deg,var(--wash) 0,var(--wash) 70%,rgba(250,246,236,0) 100%);border-right:1px solid rgba(189,164,109,.45)}
  .wwd-rail{grid-column:1;grid-row:1}
  .wwd-offers{grid-column:2;grid-row:1}
}
