/* Hallmark v2.0.0 · theme: darkroom (by request, round 3) · shape: cinematic full-bleed hero, then wide gallery bands numbered as frames · genre atmospheric */
/* critique: round 4 (hybrid) keeps the gold hairline language for the conversion sections (credentials as a ruled strip, problems as three plain columns) and tightens the type scale so the action stays above the fold */
:root[data-v="darkroom"] {
  --v-bg:#0d0c0b; --v-bg2:#15130f; --v-panel:#171410; --v-strong:#211c16; --v-strong-ink:#f0eadf;
  --v-ink:#f0eadf; --v-muted:#cfc6b8; --v-line:#3a342b; --v-acc:#d9a65c; --v-acc2:#efc17c; --v-acc-ink:#0d0c0b;
  --v-r:0px; --v-head:'Cormorant Garamond',Georgia,serif; --v-body:'Hanken Grotesk',system-ui,sans-serif; --v-mono:'Hanken Grotesk',system-ui,sans-serif;
}
html[data-v="darkroom"] {
  counter-reset:frame;
  & h1,& h2,& h3,& h4 { font-weight:500; letter-spacing:-.01em; }
  & h1 { font-size:clamp(2.8rem,6vw,5.2rem); line-height:.97; max-width:13ch; }
  & h2 { font-size:clamp(2rem,4vw,3.2rem); }
  & h3 { font-size:1.5rem; }
  & .wrap { width:min(1200px,100% - 48px); }
  & .site-header { position:fixed; left:0; right:0; background:linear-gradient(var(--v-bg),transparent); border:0; }
  & .site-header.scrolled { background:var(--v-bg); border-bottom:1px solid var(--v-line); }
  & .nav a[aria-current="true"] { color:var(--v-acc); }
  & .hero { position:relative; min-height:min(84vh,760px); display:flex; align-items:flex-end; padding:132px 0 clamp(40px,5vw,72px); }
  & .hero-inner { position:static; grid-template-columns:1fr; width:min(1200px,100% - 48px); }
  & .hero-art { position:static; max-width:none; aspect-ratio:auto; }
  & .hero-photo { position:absolute; inset:0; width:100%; height:100%; border-radius:0; filter:grayscale(.4) brightness(.55) contrast(1.1); }
  & .hero::after { content:""; position:absolute; inset:0; background:linear-gradient(to top,var(--v-bg) 4%,transparent 65%),radial-gradient(ellipse at 50% 40%,transparent 40%,var(--v-bg) 120%); pointer-events:none; }
  & .stages { display:none; }
  & .hero-copy { position:relative; z-index:2; }
  & .hero-copy .lead { font-size:1.15rem; color:var(--v-ink); max-width:52ch; }
  & .hero-note { color:var(--v-muted); }
  & .section { counter-increment:frame; padding:clamp(44px,6vw,88px) 0; }
  & .section > .wrap::before { content:"Frame " counter(frame,decimal-leading-zero); display:block; grid-column:1 / -1; text-align:center; font:400 .88rem/1 var(--v-body); color:var(--v-acc); margin-bottom:18px; }
  & #proof { padding:clamp(28px,3.4vw,44px) 0; border-block:1px solid var(--v-acc); counter-increment:none; }
  & #proof > .wrap::before { display:none; }
  & .proof-list b { font:500 1.7rem/1.1 var(--v-head); color:var(--v-acc); }
  & .pain li { background:transparent; border:0; border-top:1px solid var(--v-acc); border-radius:0; padding:24px 0 0; }
  & .pain-close { margin-inline:auto; text-align:center; font-family:var(--v-head); font-weight:500; max-width:34ch; }
  & .section-tint { background:var(--v-bg2); }
  & .section-head,& .work-head,& .pk-intro { text-align:center; margin-inline:auto; }
  & .work-head { justify-content:center; }
  & .section-head .lead { margin-inline:auto; }
  & .rung-1,& .feature,& .infra-feature,& .lab,& .pending { background:transparent; border:0; border-top:1px solid var(--v-acc); }
  & .rung-1,& .rung-2 { padding:32px 0 0; background:transparent; color:var(--v-ink); }
  & .rung-2.rung :is(h3,p,li,span,div,a,small):not(.stage-no) { color:var(--v-ink); }
  & .rung-2 .svc-list li::before { background:var(--v-acc); }
  & .rung-2 .svc-foot { border-top-color:var(--v-line); }
  & .rung-2 { margin-top:0; border-top:1px solid var(--v-acc); }
  & .ladder { grid-template-columns:1fr 1fr; gap:40px; }
  & .step { border-top:1px solid var(--v-acc); }
  & .step::before { display:none; }
  & .step::after { font:500 1.4rem/1 var(--v-head); }
  & .process-grid { grid-template-columns:1fr; text-align:center; }
  & .steps { text-align:left; gap:32px; }
  & .infra-feature .cover,& .feature .cover { aspect-ratio:16/9; }
  & .cover img,& .about-media img { filter:grayscale(.3) contrast(1.05) brightness(.9); transition:filter .3s; }
  & .proj:hover .cover img { filter:grayscale(0) contrast(1.05) brightness(1); }
  & .infra-feature { grid-template-columns:1.6fr 1fr; }
  & .labs { gap:28px; }
  & .lab { padding-top:20px; }
  & .pk-layout { grid-template-columns:1fr; gap:32px; }
  & .pk-intro { position:static; }
  & .pk-lists { display:grid; grid-template-columns:1fr 1fr; gap:40px; }
  & .pk-row.feat { background:var(--v-strong); border-radius:0; }
  & .about { grid-template-columns:1fr 1fr; gap:56px; }
  & .about-media img { aspect-ratio:4/5; }
  & .faq-layout { grid-template-columns:1fr; text-align:center; gap:36px; }
  & .faq { text-align:left; columns:2; column-gap:40px; }
  & .faq details { break-inside:avoid; }
  & .contact { background:var(--v-bg2); }
  & .contact :where(h2,p,span,small,div,label,a:not(.btn)) { color:var(--v-ink); }
  & .site-footer { background:var(--v-bg); }
  @media (max-width:860px) { & .ladder,& .pk-lists,& .about,& .infra-feature { grid-template-columns:1fr; gap:40px; } & .faq { columns:1; } & .site-header { position:sticky; background:var(--v-bg); } & .hero { padding-top:48px; } }
}
html[data-v="darkroom"][data-copy="conv"] .hero .btn:not(.btn-ghost) { min-height:52px; padding-inline:1.8em; }
@media (prefers-reduced-motion:reduce) { html[data-v="darkroom"] .cover img { transition:none; } }

/* hybrid: Bloom's conversion strengths on the Darkroom base */
html[data-v="darkroom"] {
  & .btn { font-family:var(--v-body); font-weight:600; font-size:1rem; letter-spacing:0; min-height:48px; }
  & .hero .btn { min-height:56px; padding-inline:2em; font-size:1.05rem; }
  & .hero .btn:not(.btn-ghost) { box-shadow:0 0 0 1px var(--v-acc2),0 8px 28px color-mix(in srgb,var(--v-acc) 28%,transparent); }
  & .btn-ghost { color:var(--v-ink); border-color:var(--v-ink); }
  & .btn-ghost:hover { background:var(--v-ink); color:var(--v-bg); border-color:var(--v-ink); }
  & .nav a:not(.btn) { font-family:var(--v-body); font-weight:500; font-size:.95rem; }
  & .brand-word b { font-family:var(--v-body); }
  & .hero::after { background:linear-gradient(to top,var(--v-bg) 4%,transparent 65%),linear-gradient(90deg,var(--v-bg) 0%,transparent 72%),radial-gradient(ellipse at 50% 40%,transparent 40%,var(--v-bg) 120%); }
  & .hero-photo { filter:grayscale(.35) brightness(.5) contrast(1.1); }
  & .hero-note { font-weight:500; font-size:.95rem; color:var(--v-ink); }
  & #proof { background:var(--v-acc); border:0; padding:clamp(22px,2.6vw,34px) 0; }
  & .proof-list b { font:700 1.35rem/1.2 var(--v-body); color:var(--v-acc-ink); }
  & .proof-list span { color:var(--v-acc-ink); font-weight:500; font-size:.95rem; }
  & .prow,& .stack,& .stats dd,& .step p,& .lead,& .svc-list li,& .pk-row p,& .pain p,& .price span,& .price-label,& .pk-price span,& .pk-price small,& .legend,& .lane-head p,& .creds,& .cf-micro { font-weight:500; }
  & .prow { font-size:.97rem; }
  & .stack { font-size:.92rem; }
  & .price,& .pk-price,& .stats dt { font-family:var(--v-body); font-weight:700; }
  & .pk-row h4,& .step h3,& .rung h3,& .lab h3,& .feature-body h3,& .infra-feature h3,& .pain h3 { font-weight:600; }
  & .faq summary { font:600 1.05rem/1.35 var(--v-body); }
  & .faq details p { font-weight:500; }
  & .text-link { font-weight:600; font-size:.95rem; }
  & .badge { font-weight:600; font-size:.78rem; }
  & .section > .wrap::before { font-weight:500; }
  & .contact .btn { min-height:56px; }
  & .sticky-cta { font-family:var(--v-body); font-weight:700; background:var(--v-acc); color:var(--v-acc-ink); }
}

/* real portrait as the hero subject: graded dark, placed right so the headline keeps the left */
html[data-v="darkroom"] {
  & .hero-photo { inset:0 0 0 auto; left:auto; width:min(64%,860px); object-position:50% 18%; filter:sepia(.28) grayscale(.2) saturate(.8) contrast(1.08) brightness(.8); mask-image:linear-gradient(90deg,transparent 0,var(--v-ink) 42%); }
  & .hero::after { background:linear-gradient(to top,var(--v-bg) 3%,transparent 55%),linear-gradient(90deg,var(--v-bg) 0%,var(--v-bg) 30%,transparent 62%),radial-gradient(ellipse at 72% 40%,transparent 45%,var(--v-bg) 130%); }
  & .about-media img { aspect-ratio:4/5; object-position:50% 24%; filter:sepia(.2) grayscale(.15) contrast(1.05) brightness(.92); }
  & .contact-person img { border-color:var(--v-acc); }
  @media (max-width:860px) {
    & .hero-photo { inset:0; width:100%; mask-image:none; object-position:50% 14%; filter:sepia(.25) grayscale(.2) saturate(.8) contrast(1.05) brightness(.62); }
    & .hero::after { background:linear-gradient(to top,var(--v-bg) 6%,transparent 70%); }
  }
}

html[data-v="darkroom"] { & #night { padding:0; border-block:1px solid var(--v-acc); counter-increment:none; } & #night > .wrap::before { display:none; } & #night .btn { min-height:56px; padding-inline:2em; } }
@media (max-width:860px) { html[data-v="darkroom"] #night { padding:0 0 32px; } }

/* round 6: clean Previous hero plus an animated n8n-style workflow card and a name plate */
html[data-hero="prev"] .hero-new { display:none !important; }
html[data-v="darkroom"] {
  & .hero-flow { position:absolute; z-index:2; right:clamp(20px,2.2vw,32px); top:128px; width:min(290px,25vw); padding:16px 18px 14px; background:color-mix(in srgb,var(--v-bg) 80%,transparent); backdrop-filter:blur(10px); border:1px solid color-mix(in srgb,var(--v-acc) 40%,transparent); }
  & .hero-flow::before { content:""; position:absolute; inset:-44px; z-index:-1; }
  & .hf-static { margin:0; padding-left:1.1em; font:500 .85rem/1.5 var(--v-body); color:var(--v-ink); }
  & .hf-body { transition:opacity .22s ease; }
  & .hf-body.out { opacity:0; }
  & .hf-head { display:flex; align-items:baseline; justify-content:space-between; gap:8px; margin-bottom:12px; }
  & .hf-title { margin:0; font:600 .92rem/1.3 var(--v-body); color:var(--v-acc); }
  & .hf-tag { flex:none; font:500 .78rem/1 var(--v-body); color:var(--v-muted); }
  & .hf-flow { display:grid; min-height:268px; align-content:start; }
  & .hf-row { display:flex; gap:8px; }
  & .hf-node { flex:1; min-width:0; display:flex; align-items:center; gap:10px; opacity:.42; transition:opacity .25s; }
  & .hf-ico { position:relative; flex:none; width:32px; height:32px; display:grid; place-items:center; border-radius:8px; border:1px solid var(--v-line); background:color-mix(in srgb,var(--v-bg2) 85%,transparent); color:var(--v-muted); transition:border-color .25s,color .25s,background-color .25s; }
  & .hf-ico svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
  & .hf-num { position:absolute; left:-6px; top:-6px; width:15px; height:15px; display:grid; place-items:center; border-radius:50%; background:var(--v-acc); color:var(--v-acc-ink); font:700 .62rem/1 var(--v-body); font-style:normal; opacity:0; scale:.6; transition:opacity .2s,scale .2s; }
  & .hf-lab { font:500 .85rem/1.25 var(--v-body); color:var(--v-ink); overflow-wrap:anywhere; }
  & .hf-branch .hf-lab { font-size:.78rem; }
  & .hf-node.run { opacity:1; }
  & .hf-node.run .hf-ico { border-color:var(--v-acc); color:var(--v-acc); }
  & .hf-node.run .hf-ico::after { content:""; position:absolute; inset:-4px; border-radius:12px; border:2px solid transparent; border-top-color:var(--v-acc); animation:hf-spin .7s linear infinite; }
  & .hf-node.run .hf-num,& .hf-node.done .hf-num { opacity:1; scale:1; }
  & .hf-node.done { opacity:1; }
  & .hf-node.done .hf-ico { border-color:var(--v-acc); background:color-mix(in srgb,var(--v-acc) 16%,var(--v-bg)); color:var(--v-acc); }
  & .hf-node.off { opacity:.35; }
  & .hf-node.off .hf-ico { border-style:dashed; }
  & .hf-line { position:relative; width:2px; height:14px; margin-left:15px; background:var(--v-line); overflow:hidden; }
  & .hf-line i { position:absolute; inset:0 0 auto 0; height:6px; background:var(--v-acc); translate:0 -6px; opacity:0; }
  & .hf-line.go { background:color-mix(in srgb,var(--v-acc) 55%,var(--v-line)); }
  & .hf-line.go i { animation:hf-travel .45s linear forwards; }
  & .hf-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:12px; min-height:30px; }
  & .hf-dots { display:flex; gap:5px; }
  & .hf-dot { width:6px; height:6px; border-radius:50%; background:var(--v-line); }
  & .hf-dot.on { background:var(--v-acc); }
  & .hf-next { font:600 .8rem/1 var(--v-body); color:var(--v-acc); background:transparent; border:1px solid color-mix(in srgb,var(--v-acc) 55%,transparent); padding:7px 10px; cursor:pointer; opacity:0; pointer-events:none; transition:opacity .2s,background-color .15s,color .15s; }
  & .hero-flow:hover .hf-next,& .hero-flow:focus-within .hf-next { opacity:1; pointer-events:auto; }
  & .hf-next:hover { background:var(--v-acc); color:var(--v-acc-ink); }
  & .hero-plate { position:absolute; z-index:2; right:clamp(20px,2.2vw,32px); bottom:clamp(24px,3vw,40px); margin:0; padding:8px 14px; border-left:2px solid var(--v-acc); background:color-mix(in srgb,var(--v-bg) 62%,transparent); display:grid; gap:2px; }
  & .hero-plate b { font:600 1rem/1.3 var(--v-body); color:var(--v-ink); }
  & .hero-plate span { font:500 .9rem/1.3 var(--v-body); color:var(--v-ink); }
  @media (min-width:861px) and (max-width:1000px) { & .hero-flow { display:none; } }
}
@keyframes hf-spin { to { rotate:360deg; } }
@keyframes hf-travel { from { translate:0 -6px; opacity:1; } to { translate:0 14px; opacity:1; } }
@keyframes hero-rise { from { opacity:0; translate:0 14px; } to { opacity:1; translate:0 0; } }
@keyframes hero-fade { from { opacity:0; } to { opacity:1; } }
html[data-hero="cur"][data-v="darkroom"] {
  & .hero-copy > * { animation:hero-rise .7s cubic-bezier(.2,.7,.2,1) both; }
  & .hero-copy > :nth-child(1) { animation-delay:.05s; } & .hero-copy > :nth-child(2) { animation-delay:.14s; } & .hero-copy > :nth-child(3) { animation-delay:.24s; } & .hero-copy > :nth-child(4) { animation-delay:.34s; }
  & .hero-photo { animation:hero-fade 1.1s ease-out both; }
  & .hero-flow { animation:hero-rise .7s cubic-bezier(.2,.7,.2,1) .5s both; }
  & .hero-plate { animation:hero-fade .8s ease-out .7s both; }
}
@media (prefers-reduced-motion:reduce) {
  html[data-hero="cur"][data-v="darkroom"] :is(.hero-copy > *,.hero-photo,.hero-flow,.hero-plate) { animation:none; }
  html[data-v="darkroom"] .hf-node.run .hf-ico::after { animation:none; }
  html[data-v="darkroom"] .hf-line.go i { animation:none; }
}

/* mobile hero: portrait on its own band, workflow strip above it, text below on solid dark so the face stays clean */
html[data-v="darkroom"] .hf-cap { display:none; }
@media (max-width:860px) {
  html[data-v="darkroom"] {
    & .hero { display:block; min-height:0; padding:0 0 28px; }
    & .hero::after { display:none; }
    & .hero-inner { display:flex; flex-direction:column; align-items:stretch; gap:0; width:100%; padding:0; }
    & .hero-flow { order:0; position:static; width:auto; margin:10px 12px 0; padding:9px 14px 10px; }
    & .hero-flow::before { display:none; }
    & .hero-art { order:1; position:relative; display:block; height:min(50vw,196px); margin-top:8px; overflow:hidden; }
    & .hero-photo { position:absolute; inset:0; width:100%; height:100%; object-position:50% 30%; mask-image:linear-gradient(to bottom,var(--v-ink) 70%,transparent); filter:sepia(.18) grayscale(.12) saturate(.9) contrast(1.05) brightness(.9); }
    & .hero-plate { order:2; position:static; display:grid; margin:-48px 20px 6px; align-self:flex-start; z-index:3; padding:6px 12px; }
    & .hero-plate b { font-size:.95rem; }
    & .hero-plate span { font-size:.85rem; }
    & .hero-copy { order:3; position:relative; z-index:2; padding:10px 20px 0; }
    & .hero-copy .lead { font-size:.97rem; line-height:1.5; }
    & h1 { font-size:clamp(2.2rem,9.6vw,3rem); }
    & .hf-head { margin-bottom:6px; padding-right:62px; }
    & .hf-title { font-size:.84rem; }
    & .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:11px; right:14px; margin:0; min-height:0; }
    & .hf-next { display:none; }
  }
}
@keyframes hf-grow { from { scale:0 1; } to { scale:1 1; } }
@media (max-width:860px) and (prefers-reduced-motion:reduce) { html[data-v="darkroom"] .hf-line.go i { animation:none; scale:1 1; } }

/* round 8: portrait poses, compared from the top row (Smaller = zoomed and right, Half hero = about half the hero width) */
html[data-v="darkroom"] { @media (min-width:861px) { & .hero-photo { max-width:none; inset:0 auto 0 auto; left:auto; } } }
html[data-v="darkroom"][data-pose="prev"] {
  @media (min-width:861px) {
    & .hero-photo { right:calc(min(77%,1100px) * -0.25); width:min(77%,1100px); object-position:50% 18%; mask-image:linear-gradient(90deg,transparent 0,var(--v-ink) 30%); }
    & .hero::after { background:linear-gradient(to top,var(--v-bg) 3%,transparent 55%),linear-gradient(90deg,var(--v-bg) 0%,var(--v-bg) 30%,transparent 62%),radial-gradient(ellipse at 80% 40%,transparent 45%,var(--v-bg) 130%); }
    & .hero-flow { right:auto; left:calc(50% - 12px); }
  }
  @media (min-width:861px) and (max-width:1180px) { & .hero-flow { display:none; } }
}
html[data-v="darkroom"][data-pose="cur"] {
  @media (min-width:861px) {
    & .hero-photo { right:calc(37% - min(140%,2400px) * 0.51); width:min(140%,2400px); object-position:50% 25%; mask-image:linear-gradient(90deg,transparent 35%,var(--v-ink) 44%); }
    & .hero::after { background:linear-gradient(to top,var(--v-bg) 3%,transparent 55%),linear-gradient(90deg,var(--v-bg) 0%,var(--v-bg) 34%,transparent 52%),radial-gradient(ellipse at 63% 40%,transparent 50%,var(--v-bg) 135%); }
  }
}
@media (max-width:860px) {
  html[data-v="darkroom"] {
    & .hero-photo { scale:1.18; translate:12% 0; transform-origin:50% 28%; }
    & .about-media { max-width:220px; }
    & .about-media img { aspect-ratio:4/5; }
  }
}
/* About portrait: the height attribute on the img beat aspect-ratio, so it rendered full-height; let the ratio decide */
html[data-v="darkroom"] .about-media img { height:auto; }

/* round 9: phone portrait placed per the owner's annotation: larger, head near the top of the band, centred about 69% across, shoulders running off the right edge */
@media (max-width:860px) {
  html[data-v="darkroom"] {
    & .hero-art { --S:max(min(156vw,560px),100vw); }
    & .hero-photo { scale:none; translate:none; position:absolute; max-width:none; inset:auto; width:var(--S); height:var(--S); left:clamp(calc(100% - var(--S)),calc(69% - var(--S) / 2),0px); top:calc(12px - .234 * var(--S)); object-fit:cover; object-position:50% 50%; mask-image:none; }
    & .hero-art::after { content:""; position:absolute; inset:auto 0 0 0; height:45%; background:linear-gradient(to top,var(--v-bg),transparent); pointer-events:none; }
  }
}
