/* GENERATED by redesign-taste/v4/tools/sync-theme-css.mjs from redesign-taste/v4/canvas/src/V4-home/extra.css - do not edit here, edit the source and run the tool. */
/* DBIJOU v4 - home page compositions. Shared components live in system/system.css. */

/* ------------------------------------------------------------------ hero
   The ring is tied to the headline size (--hero-fs): it sits in the empty band of line two, so the letters
   only cross empty film black. --hero-ring is the film box, capped at the honest size of the 720 px poster. */
.hero{--hero-fs:var(--fs-hero);--hero-ring:min(calc(var(--hero-fs) * 2.6),540px);position:relative;overflow:hidden;padding-block:var(--sp-5) var(--sp-7)}
.hero__lbl{margin-bottom:calc(var(--hero-fs) * .13)}
.hero__stage{position:relative}
.hero__h{position:relative;z-index:var(--z-raise);font-size:var(--hero-fs)}
.hero__h > span{display:block}
.hero__l2{margin-top:.06em;padding-left:.83em}
.hero__l3{margin-top:.06em;text-align:right}

.hero__fig{position:absolute;z-index:var(--z-base);right:0;top:calc(var(--hero-fs) * 1.34 - var(--hero-ring) * .535);display:flex;align-items:center}
.hero__fig .fig__media{flex:none;width:var(--hero-ring);--fig-x:50%;--fig-y:50%}
.hero__fig .cap{position:relative;z-index:var(--z-base);flex:none;width:248px;margin-left:calc(var(--hero-ring) * -.24);padding-top:0}

/* Lead left, facts and action right. When the row gets too narrow the lead drops under the facts
   (wrap-reverse: the cross axis is reversed, so flex-end aligns the tops). */
.hero__meta{display:flex;flex-wrap:wrap-reverse;align-items:flex-end;gap:var(--sp-6) clamp(24px,4.4vw,64px);margin-top:calc(var(--hero-fs) * .28)}
.hero__desc{flex:100 1 300px;max-width:440px;font-size:var(--fs-body);line-height:1.6;color:var(--fg-2)}
.hero__side{flex:1 0 auto;display:flex;align-items:flex-start;justify-content:space-between;gap:clamp(24px,4.4vw,64px)}
.hero__facts{flex-wrap:nowrap;gap:clamp(20px,3.3vw,48px)}
.hero__act{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-1)}

/* ------------------------------------------------------------------ gallery */
.gal__strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--gap);row-gap:var(--sp-6)}
.gal__feat{margin-top:var(--block-y);row-gap:0}
.gal__feat-fig{display:flex;flex-direction:column}
.gal__feat-fig .fig__media{flex:1 1 auto;aspect-ratio:auto;min-height:clamp(260px,29vw,420px)}

/* ------------------------------------------------------------------ proof */
.proof__lead{padding-bottom:.35em}
/* Quotes share one row: the texts start level, the author lines end level (margin-top:auto in the system). */
.proof__panel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--gap);row-gap:var(--sp-6);align-items:stretch}
.proof__panel .quote__txt{text-wrap:pretty}
.proof__rating{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-2)}
.proof__score{font-family:var(--ff-display);font-size:var(--fs-h2);line-height:.9;letter-spacing:-.03em}
.proof__facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--gap);row-gap:var(--sp-6);margin-top:var(--block-y);padding-inline:var(--pad)}

/* ------------------------------------------------------------------ people */
.ppl__split{align-items:center}
.ppl__photo img{width:100%;height:auto;aspect-ratio:3 / 2;object-fit:cover}
.ppl__qs{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-7);max-width:560px}
.ppl__more{margin-top:calc(var(--sp-4) * -1)}

/* ------------------------------------------------------------------ process */
.proc__split{align-items:start}
.proc__intro{position:sticky;top:calc(var(--h-hdr) + var(--sp-6));display:flex;flex-direction:column;align-items:flex-start}
.proc__h{margin-top:var(--sp-5)}
.proc__lead{margin-top:var(--sp-5);max-width:40ch}
.proc__act{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-3);margin-top:var(--sp-6)}

/* ------------------------------------------------------------------ name origin */
.etym__split{align-items:end}
.etym__h{margin-bottom:var(--sp-5)}
.etym__row{display:grid;grid-template-columns:minmax(0,200px) minmax(0,1fr);column-gap:var(--sp-6);align-items:center;padding-block:var(--sp-6)}
.etym__row + .etym__row{border-top:1px solid var(--line)}
.etym__row:last-child{padding-bottom:0}
.etym__sign{display:flex;align-items:baseline;font-family:var(--ff-mark);font-size:clamp(48px,5vw,72px);line-height:1;letter-spacing:-.05em;color:var(--gold)}
.etym__sign--word{font-size:clamp(30px,3.2vw,46px);color:var(--fg)}
.etym__d{display:inline-block;transform:scaleX(-1)}
.etym__txt{font-family:var(--ff-display);font-size:clamp(20px,1.7vw,24px);line-height:1.35;max-width:26em}
.etym__box{display:flex;flex-direction:column;gap:var(--sp-3)}
.etym__say{font-family:var(--ff-display);font-size:clamp(40px,4.2vw,60px);line-height:1;letter-spacing:-.02em;white-space:nowrap;padding-bottom:var(--sp-3)}

/* ------------------------------------------------------------------ newsletter and contact */
.nl__split{align-items:start}
.nl__main{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-5)}
.nl__main .t-lead{max-width:46ch}
.nl__form{width:100%;max-width:560px;margin-top:var(--sp-4)}
.nl__panel{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-6)}
.nl__ways{display:flex;flex-direction:column;gap:var(--sp-5)}
.nl__ways .fact__v{font-size:var(--fs-h4);line-height:1.25;white-space:normal}
.nl__visit{margin-top:calc(var(--sp-3) * -1)}

/* ------------------------------------------------------------------ tablet */
@media (max-width:1024px){
  .hero{--hero-ring:540px}
  .hero__lbl{margin-bottom:calc(var(--hero-fs) * .24)}
  .hero__fig{position:relative;top:auto;right:auto;justify-content:flex-end;gap:var(--sp-5);margin-top:var(--sp-5)}
  .hero__fig .fig__media{width:300px;height:236px;aspect-ratio:auto;--fig-zoom:180%;--fig-y:53.5%}
  .hero__fig .cap{width:230px;margin-left:0}
  .hero__meta{margin-top:var(--sp-6)}
  .hero__desc{max-width:560px}

  .gal__strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gal__feat-fig .fig__media{aspect-ratio:16 / 9;min-height:0}

  .proof__panel{grid-template-columns:minmax(0,1fr) minmax(0,2fr);row-gap:var(--sp-6)}
  .proof__rating{grid-row:1 / span 3}
  .proof__panel .quote{grid-column:2}
  /* Same two columns as the panel above, so the facts continue its edges. */
  .proof__facts{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}

  .ppl__qs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--sp-6);row-gap:var(--sp-5);max-width:none}
  .ppl__more{grid-column:1 / -1;margin-top:0}

  /* The intro dissolves into the single column so the action can follow the steps. */
  .proc__split{row-gap:0}
  .proc__intro{display:contents}
  .proc__steps{order:2;margin-top:var(--block-y)}
  .proc__act{order:3;margin-top:var(--sp-7)}

  .etym__split{align-items:start}
  .nl__form{max-width:640px}
}

/* ------------------------------------------------------------------ phone */
@media (max-width:640px){
  .hero{--hero-fs:15.4vw;padding-top:var(--sp-4)}
  .hero__lbl{margin-bottom:var(--sp-4)}
  .hero__l2{padding-left:.5em}
  .hero__fig{flex-direction:column;align-items:stretch;gap:0;margin-top:0}
  .hero__fig .fig__media{width:100%;height:250px;--fig-zoom:154%}
  .hero__fig .cap{width:auto;margin-top:-12px}
  .hero__meta{row-gap:var(--sp-5);margin-top:var(--sp-5)}
  .hero__side{flex:1 1 100%;flex-direction:column;align-items:stretch;gap:var(--sp-5)}
  .hero__facts{justify-content:space-between;gap:var(--sp-3)}
  .hero__act{align-items:stretch}
  .hero__sub{justify-content:center}
  .hero__desc{flex-basis:100%}

  .gal__strip{column-gap:var(--sp-3);row-gap:var(--sp-5)}
  .gal__strip .cap__mat{min-height:calc(2 * 1.45em)}
  .gal__feat-fig .fig__media{aspect-ratio:4 / 3;--fig-zoom:118%}

  /* The phone shows two reviews (the link leads to all of them) and closer blocks: a shorter page. */
  .proof{--block-y:var(--sp-6)}
  .proof__panel{grid-template-columns:minmax(0,1fr)}
  .proof__panel .quote:last-child{display:none}
  .proof__rating{grid-row:auto;flex-direction:row;flex-wrap:wrap;align-items:baseline;column-gap:var(--sp-4)}
  .proof__rating .lnk{width:100%}
  .proof__panel .quote{grid-column:1}
  .proof__facts{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--sp-4);padding-inline:0}

  .ppl__qs{grid-template-columns:minmax(0,1fr);row-gap:var(--sp-6)}

  .proc__act{align-items:stretch;margin-top:var(--sp-6)}

  .etym__row{grid-template-columns:minmax(0,1fr);row-gap:var(--sp-4);padding-block:var(--sp-5)}
}

/* Desktop hero as on production (owner 2026-11-26): the vertical edge line at the left, centred on the first screen and
   read bottom to top (vertical writing mode: whole line on screen, unlike the rotate of production), and the gold label with a short rule above the headline. Phones keep the short label (no place part, no rule). */
.hero-edge,.hero__lbl-line{display:none}
@media (max-width:640px){
  .hero__lbl-opt{display:none}
}
@media (min-width:1025px){
  .hero__lbl{margin-bottom:calc(var(--hero-fs) * .21)}  /* clear the accent of STWÓRZMY under the longer gold label */
}
@media (min-width:901px){
  .hero{position:relative}
  .hero-edge{display:block;position:absolute;left:18px;top:calc(50vh - 60px);writing-mode:vertical-rl;transform:translateY(-50%) rotate(180deg);line-height:1;font-family:var(--ff-mono);font-size:11px;letter-spacing:.32em;color:var(--fg-3);text-transform:uppercase;white-space:nowrap;pointer-events:none}
  .hero__lbl{color:var(--gold-soft)}
  .hero__lbl-line{display:inline-block;width:48px;height:1px;background:currentColor;vertical-align:middle;margin-right:16px;position:relative;top:-.12em}
}
