/* statement — "Made to be lived in, not looked at."
   Base rules = static sentence, centred, wrapping (no JS / reduced motion).
   Everything under html.js = three rows (each fits ~90vw, so the whole sentence is readable mid-pass) that statement.js slides in opposite directions.
   The windows show close crops (hands, knit, a coat on the move), not the faces the hero and backstage show in full. */

.fx-statement{margin-top:clamp(70px,10vw,150px);overflow:hidden;overflow:clip}

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

.fx-statement-line{
  margin-block:clamp(30px,5vw,84px) clamp(34px,5.4vw,90px);padding-inline:var(--gutter);
  font-family:var(--display);font-stretch:125%;font-weight:720;letter-spacing:-.045em;line-height:.92;
  font-size:clamp(2.7rem,9vw,8.5rem)}
.fx-statement-row{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.08em .24em}
.fx-statement-row+.fx-statement-row{margin-top:.07em}

/* words: solid ink, outlined (paper fill hides the font's inner contour overlaps), one vermilion */
.fx-statement-w{display:block;white-space:nowrap}
.fx-statement-w--line{color:var(--paper);-webkit-text-stroke:max(2.6px,.038em) var(--ink);paint-order:stroke fill}
.fx-statement-w--verm{color:var(--verm)}
.fx-statement-spark{flex:none;width:.3em;height:.3em}

/* photo windows: win = pop + tilt, frame = shape + fallback colour, drift = image sliding inside */
.fx-statement-win{position:relative;flex:none;display:block;height:.74em;--fx-statement-tilt:0deg;transform:rotate(var(--fx-statement-tilt))}
.fx-statement-win--pill{aspect-ratio:2.05/1}
.fx-statement-win--blob{aspect-ratio:1.08/1;height:.84em;--fx-statement-tilt:-5deg}
.fx-statement-win--rect{aspect-ratio:.82/1;height:.82em;--fx-statement-tilt:3.5deg}
.fx-statement-frame{position:relative;display:block;width:100%;height:100%;overflow:hidden;border-radius:999px;background:linear-gradient(120deg,#D9B88F,#A27D52)}
.fx-statement-win--blob .fx-statement-frame{border-radius:0;clip-path:url(#blobEd);background:linear-gradient(160deg,#E4DFD2,#9A9C96)}
.fx-statement-win--rect .fx-statement-frame{border-radius:min(var(--r-img),.17em);background:linear-gradient(200deg,#343835,#121413)}
.fx-statement-drift{position:absolute;inset:0 -18%;display:block}
.fx-statement-drift img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(var(--fx-statement-z,1));transform-origin:var(--fx-statement-o,50% 50%);transition:transform .7s var(--out)}
/* crops: object-position picks the band, --z zooms into --o (statement.js moves the drift span, not the img) */
.fx-statement-win--pill img{object-position:50% 88%;--fx-statement-z:1.25}
.fx-statement-win--blob img{object-position:50% 55%;--fx-statement-z:2;--fx-statement-o:42% 52%}
.fx-statement-win--rect img{object-position:50% 55%;--fx-statement-z:1.5;--fx-statement-o:30% 55%}
@media (hover:hover) and (pointer:fine){.fx-statement-win:hover img{transform:scale(calc(var(--fx-statement-z,1)*1.08))}}

.fx-statement-chip{
  position:absolute;left:10%;bottom:-.7em;padding:.6em .9em;border-radius:999px;background:var(--chalk);color:var(--ink);
  font-family:var(--tech);font-stretch:100%;font-size:clamp(9px,.74vw,12px);font-weight:500;letter-spacing:.14em;line-height:1;
  text-transform:uppercase;white-space:nowrap;transform:rotate(-4deg);box-shadow:0 10px 24px -14px rgba(30,33,31,.5)}
.fx-statement-win--blob .fx-statement-chip{left:auto;right:-6%;bottom:6%;transform:rotate(5deg)}
.fx-statement-win--rect .fx-statement-chip{left:-8%;bottom:auto;top:-.5em;transform:rotate(-6deg)}

/* two lines of copy under the type */
.fx-statement-foot{display:grid;grid-template-columns:minmax(0,.42fr) minmax(0,.58fr);align-items:start;gap:clamp(16px,3vw,48px)}
.fx-statement-note{display:flex;align-items:center;gap:10px;color:var(--stone-ink);padding-top:.5em}
.fx-statement-note svg{width:12px;height:12px;color:var(--verm)}
.fx-statement-copy{display:flex;flex-direction:column;gap:.5em;max-width:33em;font-size:clamp(1.08rem,1.55vw,1.5rem);line-height:1.38;letter-spacing:-.01em}
.fx-statement-copy p+p{color:#4a4d4a}
.fx-statement-copy .reveal+.reveal{transition-delay:.14s}

/* ---------------- motion layer (needs statement.js) ---------------- */
html.js .fx-statement-line{padding-inline:0;font-size:clamp(2.2rem,9.4vw,15rem)}
html.js .fx-statement-row{flex-wrap:nowrap;justify-content:flex-start;width:max-content;padding-inline:.18em;will-change:transform}

/* each word is a mask; statement.js splits it into letters that rise out of it, a touch past the line, then settle */
html.js .fx-statement-w{overflow:hidden;padding:.13em .07em .1em;margin:-.13em -.07em -.1em}
.fx-statement-l{display:inline-block}
html.js .fx-statement-l{
  transform:translate3d(0,120%,0) rotate(9deg);transform-origin:0 100%;
  transition:transform .95s cubic-bezier(.2,1.22,.35,1);transition-delay:calc(var(--fx-statement-d,0)*34ms)}
html.js .fx-statement-in .fx-statement-l{transform:none}

/* windows spring open in their place in the cascade, the caption chip lands last */
html.js .fx-statement-win,html.js .fx-statement-spark{
  transform:scale(0) rotate(-16deg);transition:transform 1s var(--spring);transition-delay:calc(var(--fx-statement-d,0)*34ms + 90ms)}
/* same function list as the hidden state, so the browser tweens scale and turn instead of snapping from a zero matrix */
html.js .fx-statement-in .fx-statement-win{transform:scale(1) rotate(var(--fx-statement-tilt))}
html.js .fx-statement-in .fx-statement-spark{transform:scale(1) rotate(0deg)}
html.js .fx-statement-spark{animation:none}
html.js .fx-statement-chip{opacity:0;transition:opacity .4s ease;transition-delay:calc(var(--fx-statement-d,0)*34ms + 620ms)}
html.js .fx-statement-in .fx-statement-chip{opacity:1}

@media (max-width:820px){
  .fx-statement-foot{grid-template-columns:1fr;gap:10px}
}
/* phone: let the photos fill the line height, and drop the caption chips that would bury them */
@media (max-width:640px){
  .fx-statement-line{font-size:max(2.2rem,9vw)}
  .fx-statement-row+.fx-statement-row{margin-top:.14em}
  .fx-statement-win--pill{height:.88em}
  .fx-statement-win--blob,.fx-statement-win--rect{height:.98em}
  .fx-statement-chip{display:none}
  html.js .fx-statement-line{font-size:10vw}
  html.js .fx-statement{margin-top:0}
}
