/* Layout suggestions (top row "Layout"): data-lay on <html> = cur | a | b | c.
   cur = the existing Darkroom page, untouched. a/b/c change the hero and, for b, the section order.
   Only content already on the page is reused (no new claims, prices or proof). */

/* two sticky rows: layout row on top, existing comparison row under it */
.js .vbar + .vbar { top:var(--bar-h); }
.js .site-header { top:var(--bar-h); }
html.js { scroll-padding-top:124px; }
html:not([data-lay="cur"]) .vbar:not(.vbar-lay) > * { opacity:.4; }
.vbar-lay .vbar-note { flex:none; color:var(--bar-dim); padding-left:12px; }

/* hidden unless their layout is active */
html:not([data-lay="a"]) .lay-a,html:not([data-lay="b"]) .lay-b,html:not([data-lay="c"]) .lay-c { display:none !important; }

/* shared by a, b, c: drop the full-bleed portrait hero */
html[data-v="darkroom"]:not([data-lay="cur"]) {
  & .hero::after,& .hero-art,& .hero-plate { display:none !important; }
  & .hero { min-height:0; align-items:center; padding:140px 0 clamp(48px,6vw,80px); }
  & .hero-copy { z-index:2; }
}
/* keep the original entrance motion (hero-rise / hero-fade are defined in darkroom.css, transform and opacity only) */
html[data-v="darkroom"][data-hero="cur"]:not([data-lay="cur"]) :is(.lay-a,.lay-b,.lay-c) { animation:hero-rise .7s cubic-bezier(.2,.7,.2,1) .4s both; }
@media (prefers-reduced-motion:reduce) { html[data-v="darkroom"] :is(.lay-a,.lay-b,.lay-c) { animation:none !important; } }

/* shared card look for the two right-hand panels (a, c) */
.lay-a,.lay-c { position:relative; z-index:2; padding:28px; background:var(--v-panel); border:1px solid var(--v-acc); }
.la-who { display:flex; align-items:center; gap:14px; margin:0 0 18px; }
.la-who img { width:56px; height:56px; border-radius:50%; object-fit:cover; border:1px solid var(--v-acc); }
.la-who b { display:block; font:600 1rem/1.3 var(--v-body); color:var(--v-ink); }
.la-who span { font:500 .9rem/1.3 var(--v-body); color:var(--v-muted); }
.la-h { font:500 1.6rem/1.15 var(--v-head); margin:0 0 6px; }
.la-sub { margin:0 0 18px; font:500 .95rem/1.5 var(--v-body); color:var(--v-muted); }
.la-form { display:grid; gap:12px; }
.la-form label { display:grid; gap:6px; font:600 .85rem/1 var(--v-body); color:var(--v-ink); }
.la-form :is(input,select) { min-height:48px; padding:0 14px; font:500 1rem var(--v-body); color:var(--v-ink); background:var(--v-bg); border:1px solid var(--v-line); border-radius:0; }
.la-form :is(input,select):focus-visible { border-color:var(--v-acc); }
.la-form .btn { width:100%; min-height:56px; justify-content:center; }
.la-micro { margin:12px 0 0; font:500 .88rem/1.4 var(--v-body); color:var(--v-muted); }

/* A: split hero with the booking step built in */
html[data-v="darkroom"][data-lay="a"] {
  & .hero-inner { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:clamp(32px,5vw,72px); align-items:center; }
  & h1 { max-width:14ch; font-size:clamp(2.6rem,5vw,4.4rem); }
}

/* B: centred single path, proof right under it, packages pulled up */
html[data-v="darkroom"][data-lay="b"] {
  & .hero { background:radial-gradient(ellipse at 50% 0,color-mix(in srgb,var(--v-acc) 16%,transparent),transparent 62%); text-align:center; }
  & .hero-inner { display:grid; grid-template-columns:1fr; justify-items:center; }
  & h1 { max-width:16ch; margin-inline:auto; font-size:clamp(2.7rem,6vw,5rem); }
  & .hero-copy .lead { margin-inline:auto; }
  & .hero-ctas { justify-content:center; }
  & main { display:flex; flex-direction:column; }
  & .hero { order:0; } & #proof { order:1; } & #problem { order:2; } & #packages { order:3; } & #process { order:4; }
  & #work { order:5; } & #services { order:6; } & #about { order:7; } & #faq { order:8; } & #night { order:9; } & #contact { order:10; }
  & .section > .wrap::before { display:none; }
}
.lay-b { display:flex; align-items:center; gap:12px; margin:26px auto 0; font:500 .92rem/1.35 var(--v-body); color:var(--v-muted); text-align:left; }
.lay-b img { width:44px; height:44px; border-radius:50%; object-fit:cover; border:1px solid var(--v-acc); }
.lay-b b { display:block; color:var(--v-ink); font-weight:600; }

/* C: offer-led hero, three starting points with from-prices */
html[data-v="darkroom"][data-lay="c"] {
  & .hero-inner { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); gap:clamp(32px,5vw,72px); align-items:center; }
  & h1 { max-width:14ch; font-size:clamp(2.6rem,5vw,4.4rem); }
}
.lc-list { list-style:none; margin:0 0 18px; padding:0; }
.lc-list li + li { border-top:1px solid var(--v-line); }
.lc-list a { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:14px 0; color:var(--v-ink); transition:color .15s; }
.lc-list a:hover { color:var(--v-acc); }
.lc-list b { display:block; font:600 1.05rem/1.3 var(--v-body); }
.lc-list small { display:block; font:500 .88rem/1.4 var(--v-body); color:var(--v-muted); }
.lc-list .lc-p { flex:none; text-align:right; font:700 1rem/1.2 var(--v-body); color:var(--v-acc); }
.lc-list .lc-p small { color:var(--v-muted); font-weight:500; }
.lay-c .btn { width:100%; min-height:56px; justify-content:center; text-align:center; line-height:1.25; padding-inline:1em; }

/* the original animated workflow card stays in every layout; flows.js drives it, only its position changes */
html[data-v="darkroom"]:not([data-lay="cur"]) .hero-flow { position:relative; inset:auto; width:auto; max-width:440px; margin-top:28px; align-self:start; z-index:2; }
html[data-v="darkroom"]:is([data-lay="a"],[data-lay="c"]) {
  & .hero-copy { grid-column:1; grid-row:1; }
  & .hero-flow { grid-column:1; grid-row:2; }
  & :is(.lay-a,.lay-c) { grid-column:2; grid-row:1 / span 2; }
}
html[data-v="darkroom"][data-lay="b"] .hero-flow { justify-self:center; width:min(440px,100%); }
@media (min-width:861px) and (max-width:1000px) { html[data-v="darkroom"]:not([data-lay="cur"]) .hero-flow { display:block; } }

@media (max-width:860px) {
  html[data-v="darkroom"]:not([data-lay="cur"]) {
    & .hero { padding:36px 0 36px; }
    & .hero-inner { display:flex; flex-direction:column; gap:28px; padding:0; width:min(1200px,100% - 40px); }
    & .hero-copy { padding:0; order:0; }
    & .hero-flow { order:1; max-width:none; margin:0; align-self:stretch; }
    & :is(.lay-a,.lay-b,.lay-c) { order:2; }
  }
  html[data-v="darkroom"][data-lay="b"] .hero-inner { align-items:center; }
  .lay-a,.lay-c { padding:20px; }
}
@media (prefers-reduced-motion:reduce) { .lc-list a { transition:none; } }

/* desktop layouts a/b/c: the card becomes the same compact horizontal strip the phone uses, so it sits above the fold */
@media (min-width:861px) {
  html[data-v="darkroom"]:not([data-lay="cur"]) {
    & .hero-flow { max-width:560px; margin-top:22px; padding:10px 16px 12px; }
    & .hf-head { margin-bottom:6px; padding-right:62px; }
    & .hf-tag { display:none; }
    & .hf-flow { display:flex; align-items:center; min-height:62px; }
    & .hf-row { display:block; }
    & .hf-row.hf-branch { display:flex; flex-direction:column; gap:6px; }
    & .hf-node { flex:none; gap:0; }
    & .hf-lab { display:none; }
    & .hf-line { flex:1; min-width:8px; width:auto; height:2px; margin:0; }
    & .hf-line i { inset:0; height:auto; width:auto; translate:none; scale:0 1; transform-origin:left; opacity:1; }
    & .hf-line.go i { animation:hf-grow .45s linear forwards; }
    & .hf-cap { display:block; margin:6px 0 0; min-height:1.3em; font:500 .88rem/1.3 var(--v-body); color:var(--v-ink); }
    & .hf-foot { position:absolute; top:12px; right:16px; margin:0; min-height:0; }
    & .hf-next { display:none; }
  }
}
@media (min-width:861px) { html[data-v="darkroom"]:is([data-lay="a"],[data-lay="c"]) { & .hero { padding-top:112px; padding-bottom:32px; } & .hero-flow { margin-top:12px; } & .hero-note { margin-bottom:0; } } }

/* layout 3 on phones: one dominant action and one quiet one. The long gold button takes the row, "See the work" becomes a 44px text link under it. */
@media (max-width:860px) {
  html[data-v="darkroom"][data-lay="c"] {
    & .hero-ctas { display:grid; grid-template-columns:minmax(0,1fr); gap:4px; margin-top:0; }
    & .hero-ctas .btn:not(.btn-ghost) { width:100%; }
    & .hero-ctas .btn-ghost { justify-self:start; min-height:44px; padding:0 4px; gap:.45em; background:none; border:0; color:var(--v-ink); font-weight:600; transition:transform .16s cubic-bezier(.23,1,.32,1),color .16s ease; }
    & .hero-ctas .btn-ghost::after { content:"\2192"; color:var(--v-acc); transition:transform .16s cubic-bezier(.23,1,.32,1); }
    & .hero-ctas .btn-ghost:active { transform:scale(.97); }
  }
}
@media (max-width:860px) and (hover:hover) and (pointer:fine) {
  html[data-v="darkroom"][data-lay="c"] .hero-ctas .btn-ghost:hover { background:none; border:0; color:var(--v-acc2); }
  html[data-v="darkroom"][data-lay="c"] .hero-ctas .btn-ghost:hover::after { transform:translateX(3px); }
}
@media (prefers-reduced-motion:reduce) { html[data-v="darkroom"][data-lay="c"] .hero-ctas .btn-ghost,html[data-v="darkroom"][data-lay="c"] .hero-ctas .btn-ghost::after { transition:none; } }

/* layout 3 on desktop: copy on the left, offers card with the workflow strip stacked under it on the right, both top-aligned with the headline (no dead centre, no void above the card) */
@media (min-width:861px) {
  html[data-v="darkroom"][data-lay="c"] {
    & .hero-inner { grid-template-columns:minmax(0,1fr) minmax(0,480px); gap:24px clamp(40px,5vw,72px); align-items:start; }
    & .hero-copy { grid-column:1; grid-row:1 / span 2; align-self:center; }
    & .lay-c { grid-column:2; grid-row:1; align-self:start; }
    & .hero-flow { grid-column:2; grid-row:2; max-width:none; margin-top:0; align-self:start; }
    & h1 { font-size:clamp(2.8rem,5.6vw,5.4rem); max-width:none; }
  }
}

/* layout 3: the card's last button becomes a quiet text link, so gold stays reserved for the one booking action */
html[data-v="darkroom"][data-copy] .lay-c .btn.lc-more:not(.btn-ghost) { width:auto; min-height:44px; padding:0; justify-content:flex-start; background:none; border:0; color:var(--v-acc); font-weight:600; gap:.45em; box-shadow:none; }
html[data-v="darkroom"][data-copy] .lay-c .btn.lc-more:not(.btn-ghost)::after { content:"\2192"; transition:transform .16s cubic-bezier(.23,1,.32,1); }
@media (hover:hover) and (pointer:fine) {
  html[data-v="darkroom"][data-copy] .lay-c .btn.lc-more:not(.btn-ghost):hover { background:none; color:var(--v-acc2); }
  html[data-v="darkroom"][data-copy] .lay-c .btn.lc-more:not(.btn-ghost):hover::after { transform:translateX(3px); }
}

/* layout 3: the night band's call to action is a quiet link too; the persistent gold button is the header one (desktop) or the sticky bar (phone) */
html[data-v="darkroom"][data-lay="c"] #night .btn { min-height:44px; padding:0; background:none; border:0; box-shadow:none; color:var(--v-acc); font-weight:600; gap:.45em; }
html[data-v="darkroom"][data-lay="c"] #night .btn::after { content:"\2192"; transition:transform .16s cubic-bezier(.23,1,.32,1); }
@media (hover:hover) and (pointer:fine) {
  html[data-v="darkroom"][data-lay="c"] #night .btn:hover { background:none; color:var(--v-acc2); }
  html[data-v="darkroom"][data-lay="c"] #night .btn:hover::after { transform:translateX(3px); }
}
@media (prefers-reduced-motion:reduce) { html[data-v="darkroom"][data-lay="c"] #night .btn::after,html[data-v="darkroom"][data-copy] .lay-c .btn.lc-more:not(.btn-ghost)::after { transition:none; } }

/* layout 3: the credentials strip is a dark panel, not a solid gold band. Gold is reserved for the one booking button, so a squint shows a single gold block. */
html[data-v="darkroom"][data-lay="c"] #proof { background:var(--v-panel); border-block:1px solid var(--v-line); }
html[data-v="darkroom"][data-lay="c"] .proof-list li::before { content:""; display:block; width:28px; height:2px; margin-bottom:12px; background:var(--v-acc); }
html[data-v="darkroom"][data-lay="c"] .proof-list b { color:var(--v-ink); }
html[data-v="darkroom"][data-lay="c"] .proof-list span { color:var(--v-muted); }
