/* Content-page tool block (card FR-CONTENT-TOOL): the homepage generator box
   (div.door-frame + form#create-form) and one sample video (figure.polaroid)
   on a language content page, above the fold. Loaded only by pages that carry
   <section id="create" data-block="create" class="block content-tool">.
   Reusable on any content page: copy that section (breadcrumb eyebrow, h1,
   lead, figure.polaroid, div.door-frame) and link this file after toctoc.css.
   Mirrors [data-block=hero] in site.css (dark background, dots, floor stripe);
   site.css / toctoc.css / flow.css are not changed. Spacing: --ivs-ds-space-*
   only; colours: theme tokens only.
   Layout: one column up to 959px (eyebrow, h1, lead, door-frame, sample);
   two columns from 960px (copy + sample left, door-frame right). */
.content-tool{background:var(--aubergine);color:var(--cream);position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ivs-ds-space-16);padding-top:var(--ivs-ds-space-16)}
.content-tool:before{content:'';position:absolute;inset:0;z-index:-1;background-image:radial-gradient(circle,var(--brass) 0 2px,transparent 3px),radial-gradient(circle,var(--candy) 0 2px,transparent 3px),radial-gradient(circle,var(--mint) 0 2px,transparent 3px);background-size:190px 180px,270px 230px,230px 210px;background-position:20px 30px,90px 120px,150px 80px;opacity:.28}
.content-tool:after{content:'';position:absolute;inset:auto 0 0;height:72px;z-index:-1;background:repeating-linear-gradient(90deg,var(--plum) 0 118px,var(--aubergine) 118px 120px);border-top:2px solid var(--night-line);transform-origin:bottom}
/* Copy: on one column the wrapper dissolves so the door-frame can sit between the lead and the sample. */
.content-tool-copy{display:contents}
.content-tool .eyebrow{color:var(--candy)}
.content-tool .eyebrow a{color:inherit}
/* H1 text is the page's own; it carries class "h2", so it takes the h2 scale of site.css (the hero's 52–82px h1
   is sized for a four-word title and would push the box below the fold). */
.content-tool h1{font-size:clamp(32px,3.4vw,48px);line-height:1.08;max-width:950px}
.content-tool .lead{color:var(--on-dark);max-width:590px}
.content-tool .door-frame{order:1}
.content-tool .polaroid{order:2}
.content-tool>.flow-status-row{order:3}
/* Sample video (figure.polaroid.photo-0 from the homepage #sample): light card on the dark block, 560/752 clip.
   Review 2026-11-12 (MOP-SITE/REVIEW-sample-beside-tool.md, F1/F2): the "generated by AI · 1 photo + 1 text" caption
   is shown ABOVE the clip (column-reverse: the markup keeps figcaption last, as site.js / the gate expect), so the
   label is in the first screen with the video. The <video> carries data-sample + preload="none" (F4): site.js plays
   it only while on screen and the mp4 is not fetched with the page. */
.content-tool .polaroid{background:var(--cream);color:var(--ink);width:100%;max-width:300px;margin-inline:auto;display:flex;flex-direction:column-reverse}
.content-tool .polaroid>figcaption{padding-top:0;padding-bottom:var(--ivs-ds-space-8);line-height:1.4}
.content-tool .polaroid>figcaption strong{display:block;color:var(--plum)}
.content-tool .photo-layout{aspect-ratio:560/752;flex:none}
@media(min-width:960px){
  .content-tool{grid-template-columns:minmax(0,1.14fr) minmax(0,1fr);align-items:start;gap:var(--ivs-ds-space-48);padding-top:var(--ivs-ds-space-32)}
  /* F3: the copy is a two-column grid — eyebrow + h1 across, the lead left, the 220px polaroid right next to it
     (top-aligned), so the left column has no empty block and the whole block ends inside a 1366×768 first screen. */
  .content-tool-copy{display:grid;grid-template-columns:minmax(0,1fr) 220px;column-gap:var(--ivs-ds-space-24);row-gap:var(--ivs-ds-space-24);align-items:start;max-width:660px}
  .content-tool .eyebrow,.content-tool h1{grid-column:1/-1}
  .content-tool .lead{grid-column:1}
  .content-tool .polaroid{grid-column:2;grid-row:3;margin-inline:0;max-width:220px}
}
@media(min-width:1500px){.content-tool{padding-inline:max(var(--gutter),calc((100% - 1248px)/2))}}
