/* ---------- fonts: self-hosted, two subsets each, no third-party request ---------- */
/* Fraunces variable (SIL OFL 1.1), axes opsz + wght. Satoshi variable. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/fraunces-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("../fonts/fraunces-latin-ext-opsz-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("../fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Satoshi"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/satoshi-var.woff2") format("woff2"); }

/* ---------- tokens ---------- */
/* Contrast on paper #FBF9F5: ink 16.9:1, muted 6.3:1, blue 12.4:1, white on blue 12.4:1.
   Muted on sand #F1ECE3: 5.8:1. Brass #B8975F is 2.6:1 on paper: ornament only, never text on a light ground;
   brass-ink #7A6233 is 5.5:1 on paper and 5.8:1 on white, use it when brass has to be read. */
:root {
  --paper: #FBF9F5; --card: #fff; --sand: #F1ECE3; --ink: #1B1915; --muted: #5E5A52; --line: #E6E0D6; --line-2: #D5CDBF;
  --blue: #1E2F4D; --blue-2: #2B4068; --brass: #B8975F; --brass-ink: #7A6233;
  --serif: "Fraunces", Georgia, serif; --sans: "Satoshi", system-ui, sans-serif;
  --gutter: clamp(18px, 4.5vw, 72px); --ease: cubic-bezier(.16,1,.3,1); --r: 18px;
  /* the seven type sizes; running text never goes under --t-base (16 px) */
  --t-xs: .75rem;                               /* eyebrows, tags, badges (uppercase labels) */
  --t-sm: .875rem;                              /* interface text: nav, chips, captions, small buttons */
  --t-base: clamp(1rem, 1.05vw, 1.1rem);        /* running text */
  --t-md: clamp(1.1rem, 1.3vw, 1.25rem);        /* leads, card titles, brand */
  --t-price: 3rem;
  --t-h2: clamp(2.1rem, 4.3vw, 4rem);
  --t-h1: clamp(1.7rem, 2.6vw, 2.5rem);   /* 2026-11-10: smaller so the hero photo shows almost whole */
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: var(--t-base); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: 1.02; text-wrap: balance; font-variation-settings: "opsz" 144; }
h1 em, h2 em { font-style: italic; font-weight: 300; white-space: nowrap; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); max-width: 18ch; }
h3 { font-size: var(--t-md); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid #1E2F4D; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: 10px; z-index: 60; padding: 12px 18px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; transform: translateY(-200%); }
.skip:focus { transform: none; }
.eyebrow { font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
/* a short brass rule under every eyebrow; motion.js draws it from 0 to 1 through --draw when the eyebrow scrolls in */
.eyebrow::after { content: ""; display: block; width: 32px; height: 1px; margin-top: 12px; background: var(--brass); transform: scaleX(var(--draw, 1)); transform-origin: 0 50%; }
.eyebrow.center::after { margin-left: auto; margin-right: auto; transform-origin: 50% 50%; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(80px, 10vw, 150px) 0; }
[id] { scroll-margin-top: 84px; }
.sub { color: var(--muted); max-width: 58ch; margin-top: 18px; font-size: var(--t-md); }
.note { color: var(--muted); margin-top: 18px; max-width: 64ch; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .3s, transform .5s var(--ease), box-shadow .5s var(--ease); }
.btn:hover { background: var(--blue-2); transform: translateY(-1px); box-shadow: 0 14px 30px -14px rgba(30,47,77,.5); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: var(--sand); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: var(--t-sm); }

/* ---------- nav ---------- */
/* The hairline under the bar is a 1 px background layer, so it can draw. motion.js sets .at-top while the home page
   is within 40 px of its top: the bar then has no rule and no tint, and the rule draws in from the left once the
   page moves (going back up it simply goes). Without the class, on every other page, the bar is whole. */
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 28px; padding: 14px var(--gutter); background: linear-gradient(var(--line), var(--line)) 0 100% / 100% 1px no-repeat rgba(251,249,245,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background-color .4s; }
.top:not(.at-top) { transition: background-color .4s, background-size .9s var(--ease); }
.top.at-top { background-color: transparent; background-size: 0 1px; }
.brand { font-family: var(--serif); font-size: var(--t-md); letter-spacing: -.01em; white-space: nowrap; }
.top .brand { padding: 8px 0; }   /* a 44 px target for the way home */
.links a { display: flex; align-items: center; min-height: 44px; }
.links a:hover { color: var(--ink); }
.top .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; }
/* The link list is one element: a plain row on wide screens, a native popover (no script) under 860 px. */
@media (min-width: 1181px) {
  .links { display: flex; gap: 22px; position: static; inset: auto; width: auto; height: auto; margin: 0 0 0 12px; padding: 0; border: 0; overflow: visible; background: none; color: var(--ink); font-size: var(--t-base); font-weight: 600; }
  .links .m-only { display: none; }
}
@media (max-width: 1360px) { .nav-long { display: none; } }   /* 1360: bigger bold menu, 2026-11-20 */   /* 2026-11-17: Brochure and Film joined the menu */
@media (max-width: 1180px) {
  .top { gap: 10px; }
  .menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); }
  .links:popover-open { display: grid; position: fixed; inset: 78px var(--gutter) auto; width: auto; height: auto; margin: 0; padding: 8px 22px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(27,25,21,.25); }
  .links:popover-open a { min-height: 52px; border-bottom: 1px solid var(--line); }
  .links:popover-open a:last-child { border-bottom: 0; }
}

/* ---------- footer ---------- */
.foot { padding: 50px var(--gutter) 40px; color: var(--muted); font-size: var(--t-sm); display: flex; gap: 6px 26px; flex-wrap: wrap; align-items: center; }
.foot .brand { color: var(--ink); margin-right: auto; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; margin: 0 -8px; }   /* "CGV" alone is 29 px wide */
.foot a:hover { color: var(--ink); }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: calc(64ch + 2 * var(--gutter)); margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter); }
.prose h1 { font-size: var(--t-h2); }
.prose h2 { font-family: var(--sans); font-size: var(--t-md); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; max-width: none; margin-top: 2.4em; font-variation-settings: normal; }
.prose p, .prose ul, .prose ol { margin: 1em 0 0; color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
/* the notice at the top of a page that is still a draft */
.prose .draft { margin: 0 0 28px; padding: 12px 18px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--sand); color: var(--ink); font-weight: 600; }

/* ---------- home: shared bits ---------- */
.eyebrow + h1 { margin-top: 16px; }
.eyebrow + h2 { margin-top: 14px; }
.flush { padding-top: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.eg { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eg { margin-top: 14px; }
/* Stacked versions of one room. Without scripts the active one is simply on top, nothing is hidden.
   With .js on <html> (set in <head>) a change of style is a 400 ms dissolve: the new photo fades in on top
   while the old one stays whole underneath, then drops out, so the sand ground never shows through. */
.shot { position: absolute; inset: 0; }
.shot.on { z-index: 1; background: var(--sand); }   /* opaque: a slower active photo never shows another style underneath */
.shot picture, .shot img { width: 100%; height: 100%; }
.shot img { object-fit: cover; }
.js .shot { opacity: 0; transition: opacity 0s .4s; }
.js .shot.on { opacity: 1; transition: opacity .4s linear; }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; padding: 0; }
.hero__media, .hero__inner { grid-area: 1 / 1; }
.hero__media { position: relative; isolation: isolate; min-height: max(620px, min(92vh, 900px)); overflow: hidden; background: var(--sand); }
/* The veil is measured from the copy, not from the screen: it stays at .9 across the 620 px copy column at any width,
   so muted text keeps at least 4.5:1 over the darkest part of any photo, then clears. On wide screens it clears at 68 %. */
/* Maher, 2026-11-10: the room must show almost whole. The copy is a narrow block at the top left over the plain wall,
   and the veil covers only that block (0.9 across 400 px, clear by 40 %), so two thirds of the photo stay untouched. */
.hero__media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(251,249,245,.92) 0, rgba(251,249,245,.88) calc(var(--gutter) + 400px), rgba(251,249,245,0) max(40%, calc(var(--gutter) + 560px))), linear-gradient(180deg, rgba(251,249,245,0) 78%, var(--paper) 100%); }
.hero__inner { position: relative; display: grid; align-items: start; padding: 56px var(--gutter); }
.hero__copy { max-width: 400px; }
/* wide screens: the upload box sits in the hero's bottom-left corner, level with the style chips (Maher 2026-11-20) */
@media (min-width: 901px) {
  .hero__inner { align-items: stretch; padding-bottom: 34px; }
  .hero__copy { display: flex; flex-direction: column; }
  .hero__copy > .drop { margin-top: auto; }
}
.hero h1 { line-height: 1.1; }
.hero .lead { margin-top: 16px; font-size: var(--t-base); color: var(--muted); max-width: 26em; }
.drop { position: relative; margin-top: 22px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 18px 18px 18px 20px; display: flex; gap: 16px; align-items: center; box-shadow: 0 30px 60px -30px rgba(27,25,21,.25); max-width: 560px; }
/* a photo held over the card lifts it; `translate` keeps clear of the `transform` used by the entrance below */
.drop.over { translate: 0 -6px; border-color: var(--blue); box-shadow: 0 46px 70px -32px rgba(27,25,21,.42); }
.drop .ico { width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.drop p { color: var(--muted); line-height: 1.45; }
.drop strong { color: var(--ink); display: block; }
.drop .btn { margin-left: auto; flex: none; }
.drop input:focus-visible + .btn { outline: 2px solid #1E2F4D; outline-offset: 3px; }
.drop__msg { max-width: 560px; font-weight: 600; }
.drop__msg:not(:empty) { margin-top: 12px; }
.facts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: var(--t-sm); }
.facts li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); margin-right: 9px; vertical-align: middle; }
/* the chips never reach under the copy column (620 px + gutters): they wrap instead */
.hero__chips { position: absolute; right: var(--gutter); bottom: 34px; max-width: calc(100vw - 2 * var(--gutter) - 420px); display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.hero__chips .lbl { white-space: nowrap; font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--ink); background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 5px 10px; border-radius: 999px; }
.chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.chip { display: inline-flex; align-items: center; flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); font-size: var(--t-sm); font-weight: 500; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); transition: background .3s, color .3s; }   /* together: the label never sits on its own colour */
.chip:hover { background: #fff; }
.chip.on { background: var(--ink); color: #fff; box-shadow: none; }
.chip:focus-visible { box-shadow: 0 0 0 3px #fff; }
.chip--pause { width: 44px; padding: 0; justify-content: center; }
.chip--pause svg { fill: currentColor; }
.chip--pause .i-play, .chip--pause[aria-pressed="true"] .i-pause { display: none; }
.chip--pause[aria-pressed="true"] .i-play { display: block; }   /* a white band under the blue ring: the ring stays visible over a dark part of the photo */

/* ---------- trust strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.strip ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.strip li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.strip b { display: block; color: var(--ink); font-weight: 600; }
.strip svg { flex: none; width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }

/* ---------- styles studio ---------- */
.studio { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: 54px; }
.studio > *, .feature > * { min-width: 0; }
.studio .sub { margin-top: 0; }
.studio__pic { position: relative; isolation: isolate; border-radius: var(--r); overflow: hidden; aspect-ratio: 3/2; background: var(--sand); box-shadow: 0 40px 80px -40px rgba(27,25,21,.35); }
.studio__pic .cap { position: absolute; z-index: 2; left: 16px; bottom: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: var(--t-sm); font-weight: 500; }
.stylelist { display: grid; gap: 6px; margin-top: 28px; }
.stylelist button { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; text-align: left; padding: 14px 16px; border-radius: 14px; line-height: 1.4; transition: background .3s; }
.stylelist button:hover { background: var(--sand); }
.stylelist button.on { background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); }
.stylelist .sw { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(27,25,21,.08); }
.stylelist b { font-weight: 600; }
.stylelist span span, .stylelist .arrow { color: var(--muted); }
.stylelist button.on .arrow { color: var(--blue); }

/* ---------- before / after ---------- */
.ba { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
/* --x is the split; both photos show at 50 % before any script runs. pan-y keeps page scrolling on touch. */
.cmp { --x: 50%; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3/2; -webkit-user-select: none; user-select: none; touch-action: pan-y; cursor: ew-resize; box-shadow: inset 0 0 0 1px var(--line); background: var(--sand); }
.cmp > div { position: absolute; inset: 0; }
.cmp picture, .cmp img { width: 100%; height: 100%; }
.cmp img { object-fit: cover; pointer-events: none; }
.cmp .before { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.cmp .handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.cmp .handle::after { content: "◂ ▸"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: var(--t-xs); letter-spacing: .05em; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }
.cmp .lbl { position: absolute; bottom: 14px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.85); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.cmp .lbl.l { left: 14px; }
.cmp .lbl.r { right: 14px; }
.cmp .cap { position: absolute; top: 14px; left: 14px; font-size: var(--t-sm); background: rgba(255,255,255,.85); padding: 6px 11px; border-radius: 999px; font-weight: 500; }
.cmp.wide { grid-column: 1 / -1; aspect-ratio: 21/9; }

/* ---------- three steps ---------- */
.steps { list-style: none; padding: 0; margin: 54px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.step img { aspect-ratio: 1376/768; object-fit: cover; width: 100%; }   /* the photos' own shape, so nothing is cropped: the mention and the logo of step 3 sit in the corners */
.step div { padding: 22px 24px 26px; }
.step .n { font-family: var(--serif); font-size: var(--t-md); color: var(--brass-ink); font-style: italic; }
.step h3 { margin-top: 6px; }
.step p { color: var(--muted); margin-top: 8px; }

/* ---------- logo feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.feature img { border-radius: var(--r); box-shadow: 0 40px 80px -40px rgba(27,25,21,.35); }
.feature ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; color: var(--muted); }
.feature li { padding-left: 26px; position: relative; }
.feature li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; height: 1px; background: var(--brass); }

/* ---------- pricing ---------- */
.pricing { background: var(--sand); }
.prices { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 54px; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.price.hot { border-color: var(--blue); box-shadow: 0 30px 60px -40px rgba(30,47,77,.45); }
.price .badge { position: absolute; top: -13px; left: 30px; background: var(--blue); color: #fff; font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; font-weight: 600; }
.price .k { color: var(--ink); font-size: var(--t-md); font-weight: 700; letter-spacing: 0; line-height: 1.3; }
.price .v { font-family: var(--serif); font-size: var(--t-price); letter-spacing: -.02em; line-height: 1; }
.price .v small { font-family: var(--sans); font-size: var(--t-base); color: var(--muted); letter-spacing: 0; }
.price .per { color: var(--blue); font-weight: 600; font-size: var(--t-sm); }
.price ul { list-style: none; padding: 0; margin: 10px 0 18px; display: grid; gap: 8px; color: var(--muted); }
.price li::before { content: "✓"; color: var(--blue); margin-right: 10px; }
.price .btn { margin-top: auto; justify-content: center; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 44px auto 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
/* the plus sign is drawn, not typed: two brass-ink hairlines that turn into a cross when open */
.faq summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--brass-ink), var(--brass-ink)) center / 100% 1.5px no-repeat, linear-gradient(var(--brass-ink), var(--brass-ink)) center / 1.5px 100% no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding: 0 0 22px; max-width: 64ch; }

/* ---------- final banner ---------- */
.final { position: relative; overflow: hidden; border-radius: 28px; margin: 0 var(--gutter); padding: clamp(60px, 8vw, 120px) clamp(24px, 5vw, 80px); color: #fff; background: var(--ink); }
.final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.final::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,25,21,.85), rgba(27,25,21,.2)); }
.final > div { position: relative; z-index: 1; max-width: 560px; }
.final .eyebrow { color: var(--brass); }   /* brass on ink: 6.3:1 */
.final h2 { color: #fff; }
.final p { color: rgba(255,255,255,.8); margin-top: 16px; }
.final .btn { background: #fff; color: var(--ink); margin-top: 28px; }
.final .btn:hover { background: var(--sand); }
.final .btn:focus-visible { outline-color: #fff; }
.final .eg { margin-top: 28px; }

/* ---------- motion ---------- */
/* What needs no library lives here; scroll reveals, slider nudges and smooth scrolling are in motion.js.
   Nothing below is a resting state: a starting style only describes the first frame, so a script that
   never arrives cannot leave anything invisible. */
.hero__copy > * { transition: opacity .6s var(--ease) var(--d, 0s), transform .6s var(--ease) var(--d, 0s), translate .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.hero__copy > h1 { --d: .06s; }
.hero__copy > .lead { --d: .12s; }
.hero__copy > .drop { --d: .18s; }
.hero .eyebrow::after { transition: transform .9s var(--ease) .3s; }
@media (prefers-reduced-motion: no-preference) {
  /* on load: the copy rises 24 px, one block after the other, and the eyebrow rule draws */
  @starting-style {
    .js .hero__copy > * { opacity: 0; transform: translateY(24px); }
    .js .hero .eyebrow::after { transform: scaleX(0); }
  }
  /* the hero photo settles from 1.04 to 1 once motion.js has seen it decoded (.in) */
  .js .hero__media img { transition: transform .6s var(--ease); }
  .js .hero__media:not(.in) img { transform: scale(1.04); }
}
/* targets of in-page links and of the skip link take focus so the keyboard carries on from there; they are not controls */
main:focus, section:focus { outline: 0; }

@media (max-width: 900px) {
  .hero { display: block; padding-bottom: 56px; }
  .hero__media { min-height: 0; height: max(56vh, 400px); }
  .hero__media::after { background: linear-gradient(180deg, rgba(251,249,245,0) 62%, var(--paper) 100%); }
  .hero__inner { display: block; padding: 8px var(--gutter) 0; }
  /* label + one scrolling row of chips, sitting on the bottom edge of the photo */
  .hero__chips { left: 0; right: 0; bottom: auto; top: calc(max(56vh, 400px) - 98px); max-width: none; align-items: flex-start; padding-left: var(--gutter); }
  .chips { flex-wrap: nowrap; justify-content: flex-start; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 5px var(--gutter) 5px 5px; margin: -5px 0 -5px -5px; }
  .chips::-webkit-scrollbar { display: none; }
  .drop { flex-wrap: wrap; }
  .drop p { flex: 1; }
  .drop .btn { margin-left: 64px; }
  .strip ul { grid-template-columns: 1fr 1fr; }
  .studio, .ba, .steps, .feature, .prices { grid-template-columns: 1fr; }
  .studio figure { order: -1; }   /* the photo above its style buttons, so a tap shows its effect without scrolling */
  .feature figure { order: 1; }   /* the title first: the photo would read as a fourth step under the three above */
  .cmp.wide { aspect-ratio: 3/2; }
}
@media (max-width: 560px) {
  .strip ul { grid-template-columns: 1fr; }
  .foot .brand { flex-basis: 100%; }
}

/* Forced colours (Windows high contrast) drop backgrounds and shadows: edges and the chosen state are drawn again. */
@media (forced-colors: active) {
  .btn, .chip, .menu-btn, .pick > span, .stylelist button { border: 1px solid ButtonText; }
  .stylelist button.on, .applinks a[aria-current] { border: 2px solid Highlight; }
  .chip.on, .pick input:checked + span { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  .pick input:disabled + span { border-style: dashed; color: GrayText; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* the logo: the PLK monogram (Gemini comp chosen by Maher, 2026-11-17) and the wordmark with its brass K */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__k { color: var(--brass, #B8975F); }
/* Brochure and Film (2026-11-17): "how it works" as numbered steps, the film as four phone frames */
.howto { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; counter-reset: howto; }
.howto__step { counter-increment: howto; position: relative; padding-left: 44px; color: var(--muted); }
.howto__step::before { content: "0" counter(howto); position: absolute; left: 0; top: -2px; font-family: var(--serif); font-style: italic; font-size: var(--t-md); color: var(--brass-ink); }
.howto__step b { display: block; color: var(--ink); font-weight: 600; }
.howto--row { grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.howto--row .howto__step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 54px 24px 24px; }
.howto--row .howto__step::before { left: 24px; top: 20px; }
.howto__price { margin-top: 20px; color: var(--brass-ink); font-weight: 600; }
.feature .howto__price + .btn { margin-top: 18px; }
.howto__go { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.lede { max-width: 64ch; margin-top: 18px; color: var(--muted); font-size: var(--t-md); }
.frames { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.frames li { display: grid; gap: 10px; justify-items: center; }
.frames img { width: 100%; height: auto; border-radius: 26px; border: 6px solid var(--ink); box-shadow: 0 30px 60px -36px rgba(27,25,21,.45); }
.frames span { font-size: var(--t-sm); color: var(--muted); letter-spacing: .04em; }
@media (max-width: 860px) {
  .frames { grid-template-columns: repeat(2, 1fr); }
  .howto--row { grid-template-columns: 1fr; }
}
.feature .howto__step { padding-left: 44px; }
.feature .howto__step::before { content: "0" counter(howto); width: auto; height: auto; background: none; top: -2px; }
.links a { white-space: nowrap; }
/* the example film in a phone, loaded on ▶ (2026-11-17) */
.film-demo { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: 36px; }
.phone { position: relative; aspect-ratio: 390/844; border: 8px solid var(--ink); border-radius: 38px; overflow: hidden; background: var(--ink); box-shadow: 0 40px 80px -40px rgba(27,25,21,.5); }
.phone img, .phone iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.phone__play { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 14px 22px; border-radius: 999px; border: 0; background: var(--paper, #FBF9F5); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(0,0,0,.45); }
.phone__play:hover { background: #fff; }
.phone__play:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.film-demo .lede { margin-top: 0; }
@media (max-width: 860px) { .film-demo { grid-template-columns: 1fr; justify-items: center; } .film-demo > div:last-child { justify-self: stretch; } .phone { width: min(330px, 86vw); } }
/* Maher, 2026-11-17: the whole phone fits on the screen (height first), so the film is seen in full */
.film-demo { grid-template-columns: auto 1fr; }
.phone { width: min(300px, calc((100svh - 150px) * 390 / 844)); }
@media (max-width: 860px) { .film-demo { grid-template-columns: 1fr; } .phone { width: min(300px, 80vw, calc((100svh - 130px) * 390 / 844)); } }   /* one column on phones: the later auto/1fr rule above overrode it (page scrolled sideways) */
/* the signed-in visitor's initial in place of "Connexion" (who.js), like an account avatar */
.top a.who { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--serif); font-size: var(--t-md); line-height: 1; text-decoration: none; box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--brass); }
.top a.who:hover { background: var(--blue-2); }
.top a.who:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
@media (max-width: 1240px) and (min-width: 901px) { .prices { grid-template-columns: repeat(3, 1fr); row-gap: 30px; } }

/* A sale (admin): the old price crossed out, the sale's name under it */
.price .v s, .plan__v s { color: var(--muted); font-size: var(--t-md); text-decoration-thickness: 2px; margin-right: .15em; }
.price .sale { color: #B3261E; font-weight: 700; font-size: var(--t-sm); }

/* The subscription choice: a native popover over the page, yearly first */
.plan { width: min(480px, calc(100vw - 32px)); padding: 30px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(27,25,21,.35); }
.plan::backdrop { background: rgba(27,25,21,.45); }
.plan h2 { font-size: var(--t-h1); margin: 0 40px 8px 0; }
.plan__lead { color: var(--muted); margin: 0 0 20px; }
.plan__opt { display: grid; gap: 4px; padding: 18px 20px; margin-top: 12px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--card); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.plan__opt:hover, .plan__opt:focus-visible { border-color: var(--blue); box-shadow: 0 20px 40px -30px rgba(30,47,77,.5); }
.plan__opt:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.plan__opt.is-best { border: 2px solid var(--blue); }
.plan__name { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: var(--t-md); }
.plan__name .badge { background: var(--blue); color: #fff; font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.plan__v { font-family: var(--serif); font-size: var(--t-h1); line-height: 1.1; }
.plan__s { color: var(--muted); font-size: var(--t-sm); }
.plan__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font-size: var(--t-h1); line-height: 1; cursor: pointer; }
.plan__close:hover { background: var(--line); }
.price .v--quote { font-size: var(--t-h1); line-height: 1.2; }   /* words, not a figure: one line in a fifth of the row */

/* What a credit buys (partial rates.html): the thing itself, the cost in big figures */
.rates { margin: 28px 0 8px; }
.rates__lead { color: var(--muted); }
.rates__lead b { color: var(--ink); }
.rates__list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 14px; padding: 0; }
.rate { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: grid; gap: 4px; align-content: start; }
.rate img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: calc(var(--r) - 8px); margin-bottom: 10px; background: var(--sand); }
.rate picture { display: block; }
.rate__n { font-size: var(--t-md); }
.rate__n b { font-family: var(--serif); font-size: var(--t-h1); font-weight: 500; line-height: 1; margin-right: .1em; }
.rate__k { font-weight: 600; }
.rate__s { color: var(--muted); font-size: var(--t-sm); }
@media (min-width: 701px) {   /* a picture beside the figures, so the price cards stay in view */
  .rate { grid-template-columns: 112px 1fr; column-gap: 16px; align-content: center; }
  .rate > :first-child { grid-row: 1 / span 3; align-self: center; }
  .rate img { aspect-ratio: 4 / 3; margin: 0; }
}
@media (max-width: 600px) {
  .rates__list { gap: 8px; }
  .rate { padding: 8px; }
  .rate__s { display: none; }
}

/* FR / EN switch, in both headers */
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: var(--t-sm); font-weight: 600; letter-spacing: .04em; color: var(--muted); border-radius: 999px; }
.lang:hover { color: var(--ink); background: var(--sand); }

/* header: buy credits, an icon after "Essayer gratuitement" (Maher 2026-11-20) */
.top .buy { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s; }
.top .buy:hover { background: var(--card); }
@media (max-width: 520px) { .top .buy { display: none; } }   /* phones: in the menu instead */
@media (max-width: 860px) { .top .right .btn--ghost { display: none; } }
@media (max-width: 400px) { .top .lang { min-width: 36px; } .top { padding-left: 12px; padding-right: 12px; } .top .right { gap: 6px; } }
