/* Homepage systems (home.js) and readability fixes layered on minimal.css */

/* ---------- Readable text and real tap targets ---------- */
body.minimal .hero-kicker{margin:0;font-size:14px;letter-spacing:0;color:#cfc4b6}
body.minimal .hero-index{font-size:14px;letter-spacing:0;color:#b4aa9d}
body.minimal .hero-index>span{font-size:14px;letter-spacing:0;max-width:none}
body.minimal .hero-index a,body.minimal .secondary-links a,body.minimal .case-link,body.minimal .menu-email{display:inline-flex;align-items:center;min-height:44px;font-size:15px}
body.minimal .header-contact{min-height:44px;font-size:14px;padding:0 4px}
body.minimal .menu-button{min-height:44px;font-size:14px}
body.minimal .brand{display:inline-flex;align-items:center;min-height:44px}
body.minimal .circle-link{font-size:15px;min-height:44px}
body.minimal .circle-link>span{width:48px;height:48px}
body.minimal .quiet-heading p{font-size:15px;color:var(--muted)}
body.minimal .quiet-services{font-size:15px}
body.minimal .lab-link p{font-size:15px}
body.minimal .secondary-links{font-size:15px;gap:28px}
body.minimal .quiet-footer>span,body.minimal .quiet-footer>div{font-size:13px}
body.minimal .quiet-footer .motion-toggle{font-size:13px;min-height:44px;padding:0 6px}
body.minimal .menu-top{font-size:14px}
body.minimal .quiet-contact #contact-actions p{font-size:14px}
body.minimal dialog :is(small,.micro,.demo-label,.demo-head span,.sample,.disclaimer,.chip,.demo-action p,.metrics small,.calc-result span,.order-row small,.case-status,.eyebrow,.section-heading p,.pain-list small){font-size:13px;letter-spacing:0}
body.minimal .reveal{transition-duration:.45s}

/* ---------- Section headings without labels ---------- */
body.minimal .quiet-heading{align-items:flex-end;gap:24px}
body.minimal .quiet-heading h2{margin:0;font-size:clamp(34px,4vw,56px);letter-spacing:-2px;line-height:1.05;font-weight:500}
body.minimal .feature-caption h3{font-family:'DM Sans',sans-serif;font-size:22px;letter-spacing:-.5px;line-height:1.4;margin:0;font-weight:400}
body.minimal .feature-caption p{font-size:14px}
body.minimal .case-link{border-bottom:1px solid currentColor;padding:0 2px;color:var(--ink);white-space:nowrap}
body.minimal .case-link:hover{color:var(--lime)}

/* ---------- Live owner dashboard ---------- */
.live{display:grid;grid-template-columns:.85fr 1.15fr;gap:72px;align-items:center;padding:120px 0 40px}
.live-copy h2{margin:0 0 24px;font-size:clamp(36px,4.2vw,60px);line-height:1.05;letter-spacing:-2px;font-weight:500}
.live-copy p{font-size:17px;line-height:1.7;color:#c9beb0;max-width:440px;margin:0 0 16px}
.live-copy .live-note{font-size:14px;color:var(--muted)}
.board{background:#201a15;border:1px solid #3a3029;border-radius:22px;padding:24px;box-shadow:0 30px 60px #0006}
.board-top{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:18px;border-bottom:1px solid #3a3029}
.board-label{display:block;font-size:13px;color:var(--muted);margin-bottom:4px}
.board-top b{font-size:19px;font-weight:600}
.board-switch{position:relative;flex:none;width:76px;height:44px;border-radius:40px;border:0;background:var(--lime);padding:4px;transition:background .2s}
.board-switch span{display:block;width:36px;height:36px;border-radius:50%;background:var(--paper);transform:translateX(32px);transition:transform .2s var(--ease)}
.board-switch[aria-checked=false]{background:#5a4f45}
.board-switch[aria-checked=false] span{transform:none;background:#cfc4b6}
.board-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}
.board-metrics div{background:#2a221c;border-radius:12px;padding:12px 14px}
.board-metrics dt{font-size:13px;color:var(--muted)}
.board-metrics dd{margin:6px 0 0;font-size:24px;font-weight:500;font-variant-numeric:tabular-nums}
.board-orders{list-style:none;margin:0;padding:0;display:grid;gap:8px;min-height:250px;align-content:start}
.order{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#2a221c;border-radius:14px;padding:12px 12px 12px 16px;border-left:4px solid var(--lime)}
.order[data-status=prep]{border-left-color:#e7884a}
.order[data-status=ready]{border-left-color:#86c48f;opacity:.85}
.order-main{display:grid;gap:3px;min-width:0}
.order-main b{font-size:15px}
.order-main span{font-size:14px;color:#d8cdbf}
.order-main em{font-family:inherit;font-style:normal;font-size:13px;color:var(--lime)}
.order-side{display:grid;justify-items:end;gap:6px;flex:none}
.order-price{font-size:14px;font-variant-numeric:tabular-nums}
.order-status{font-size:12px;color:var(--muted)}
.order-step{min-height:44px;min-width:104px;border-radius:30px;border:1px solid #5a4f45;background:transparent;color:var(--ink);font-size:14px;padding:0 14px;transition:background .15s,border-color .15s}
.order-step:hover{background:#3a3029;border-color:#7a6c60}
.order[data-status=new] .order-step{background:var(--lime);border-color:var(--lime);color:var(--paper)}
.board-orders:empty{display:none}
.board-empty{display:grid;place-items:center;min-height:250px;margin:0;font-size:14px;color:var(--muted);text-align:center}
.board-empty[hidden]{display:none}
.board-actions{display:flex;gap:10px;margin-top:16px}
.board-btn{min-height:44px;border-radius:30px;border:1px solid var(--ink);background:var(--ink);color:var(--paper);font-size:14px;font-weight:600;padding:0 20px}
.board-btn.ghost{background:transparent;color:var(--ink);border-color:#5a4f45}
.board-btn:disabled{opacity:.4}
.board-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.board.is-paused .board-orders{opacity:.75}

/* ---------- Project cards with real UI ---------- */
body.minimal .feature-stage{height:auto;min-height:0;display:grid;grid-template-columns:.8fr 1.2fr;gap:48px;align-items:center;padding:56px;border-radius:20px;overflow:hidden}
.stage-text p{font-size:18px;line-height:1.6;margin:0 0 20px;max-width:380px}
.stage-text ul{margin:0;padding:0 0 0 18px;font-size:15px;line-height:1.9}
.stage-text .stage-disclaimer{font-size:14px;opacity:.75}
body.minimal .nc-feature .feature-stage{background:#f5efe5;color:#2b1d14}
.nc-feature .stage-text p{color:#2b1d14}
.nc-feature .stage-text ul{color:#5b4636}
.screens{position:relative;margin:0;padding:0 0 40px 40px}
.screens img{display:block;border-radius:12px;box-shadow:0 20px 50px #4a2a1433;background:#fff}
.screen-desktop{width:100%;height:auto;border:1px solid #e3d6c3}
.screen-phone{position:absolute;left:0;bottom:0;width:26%;height:auto;border:6px solid #2b1d14;border-radius:22px}
.screens figcaption{position:absolute;right:0;bottom:6px;font-size:13px;color:#7a6250}
body.minimal .white-feature .feature-stage{background:#1b1c1a;color:#efe6d6;border:1px solid #2f302b}
.white-feature .stage-text p{color:#efe6d6}
.bowl-builder{background:#26241f;border:1px solid #3a3730;border-radius:18px;padding:22px}
.bb-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px}
.bb-head b{font-size:19px}
.bb-head output{font-size:28px;font-weight:600;color:#ed663c;font-variant-numeric:tabular-nums}
.bowl-builder fieldset{border:0;margin:14px 0 0;padding:0}
.bowl-builder legend{font-size:13px;color:#b9ad9a;margin-bottom:8px;padding:0}
.bb-chips{display:flex;flex-wrap:wrap;gap:8px}
.bb-chips button{min-height:44px;border-radius:30px;border:1px solid #4a463d;background:transparent;color:#efe6d6;font-size:14px;padding:0 16px;transition:background .15s,border-color .15s,color .15s}
.bb-chips button:hover{border-color:#8a8170}
.bb-chips button[aria-pressed=true]{background:#efe6d6;border-color:#efe6d6;color:#1b1c1a}
.bb-add{margin-top:20px;width:100%;min-height:48px;border:0;border-radius:30px;background:#ed663c;color:#1b1c1a;font-size:15px;font-weight:700}
.bb-add:hover{background:#f27b55}
.bb-add:active,.bb-chips button:active,.board-btn:active,.order-step:active{transform:scale(.97)}
.bb-points{margin-top:16px;font-size:13px;color:#b9ad9a}
.bb-bar{height:6px;background:#3a3730;border-radius:6px;margin-top:8px;overflow:hidden}
.bb-bar i{display:block;height:100%;width:0;background:#ed663c;transition:width .4s var(--ease)}

/* ---------- Responsive ---------- */
@media(max-width:1000px){
  .live{grid-template-columns:1fr;gap:36px}
  body.minimal .feature-stage{grid-template-columns:1fr;padding:36px;gap:32px}
}
@media(max-width:640px){
  .live{padding:72px 0 24px}
  .live-copy p{font-size:16px}
  .board{padding:16px;border-radius:18px}
  .board-metrics{gap:6px}
  .board-metrics div{padding:10px}
  .board-metrics dd{font-size:20px}
  .order{flex-direction:column;align-items:stretch;padding:12px}
  .order-side{grid-auto-flow:column;justify-content:space-between;align-items:center;justify-items:start}
  .board-orders{min-height:200px}
  .board-empty{min-height:200px}
  body.minimal .feature-stage{padding:24px 20px;border-radius:16px}
  .stage-text p{font-size:16px}
  .screens{padding:0 0 30px 24px}
  .screen-phone{width:30%;border-width:4px;border-radius:14px}
  .screens figcaption{position:static;margin-top:10px;padding-left:34%}
  .bowl-builder{padding:16px}
  body.minimal .quiet-heading{display:block}
  body.minimal .quiet-heading p{margin-top:12px}
  body.minimal .feature-caption{flex-wrap:wrap}
  body.minimal .hero-index{flex-direction:column;align-items:flex-start;gap:4px}
  body.minimal .hero-index a{text-align:left;max-width:none}
}
@media(prefers-reduced-motion:reduce){.board-switch,.board-switch span,.bb-bar i,.order-step,.bb-chips button{transition:none}}
/* Operations-led service catalogue, preserving the warm editorial direction. */
body.minimal .quiet-hero h1{font-size:clamp(48px,6.3vw,94px);letter-spacing:-4px;line-height:1.08}
body.minimal .quiet-hero h1 em{font-size:1.08em;letter-spacing:-3px}
body.minimal .hero-kicker{max-width:600px;line-height:1.6}
body.minimal .hero-lower{gap:40px;align-items:center}
body.minimal .hero-lower>p{max-width:470px}
.hero-options{display:flex;flex-direction:column;align-items:flex-end;gap:16px;flex-shrink:0}
.conversation-link{font-size:14px;min-height:44px;display:inline-flex;align-items:center;border-bottom:1px solid #7a6750}
.conversation-link:hover{color:var(--lime)}
.systems{padding:120px 0 40px}
.systems-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-bottom:50px}
.section-kicker{font-size:12px;letter-spacing:1px;color:var(--lime);margin:0 0 20px}
.systems-heading h2{font-size:clamp(38px,4.5vw,64px);margin:0;letter-spacing:-2px;line-height:1.1}
.systems-heading>p{font-size:16px;line-height:1.7;color:var(--muted);margin:0}
.system-item{border-top:1px solid var(--line)}
.system-item:last-child{border-bottom:1px solid var(--line)}
.system-item summary{display:flex;align-items:center;gap:24px;padding:30px 0;font-size:22px;letter-spacing:-.5px;min-height:100px}
.system-item summary .system-number{font-size:12px;color:var(--muted);letter-spacing:0;min-width:24px}
.system-title{flex:1;font-weight:500}
.system-title small{display:block;font-size:14px;font-weight:400;letter-spacing:0;color:var(--muted);margin-top:10px;line-height:1.6}
.system-item summary .system-status{font-size:12px;letter-spacing:0;color:#d3b98f;border:1px solid #514331;border-radius:24px;padding:8px 12px;margin-left:auto;max-width:190px;text-align:center}
.system-item summary .system-plus{font-size:27px;letter-spacing:0;margin-left:10px;color:var(--lime);min-width:20px}
.system-item[open] summary .system-plus{rotate:45deg}
.system-body{margin:0 0 30px 48px;max-width:720px;animation:enter .3s var(--ease)}
.system-body p{font-size:16px;line-height:1.8;color:#dbd1c3;margin:0 0 14px}
.system-body .system-note{font-size:14px;color:var(--muted)}
.system-body a,.project-actions a{display:inline-flex;align-items:center;min-height:44px;border-bottom:1px solid #77654e;font-size:14px;color:var(--ink)}
.system-body a:hover,.project-actions a:hover{color:var(--lime)}
.systems-footnote{font-size:13px;line-height:1.7;color:var(--muted);margin:28px 0 0;max-width:650px}
.dashboard-details{position:relative;z-index:1;margin-top:35px;border-block:1px solid var(--line)}
.dashboard-details>summary{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:30px 0;font-size:18px;letter-spacing:0;min-height:90px}
.dashboard-details>summary>span:first-child{font-size:14px;color:var(--muted)}
.dashboard-details>summary>span:last-child{font-size:18px;display:flex;align-items:center;gap:25px}
.dashboard-details>summary b{font-size:24px;font-weight:400;color:var(--lime)}
.dashboard-details[open]>summary b{rotate:45deg}
.dashboard-details .live{padding:45px 0 55px}
.project-actions{display:flex;gap:24px;flex-wrap:wrap;margin-top:22px}
.client-logo{display:block;max-width:180px;width:100%;height:90px;object-fit:contain;object-position:left center;margin-bottom:25px}
body.minimal .conversation-copy h3{font-size:25px;font-weight:500;letter-spacing:-.6px;line-height:1.3;margin:0 0 15px}
body.minimal .conversation-copy p{font-size:15px;line-height:1.8;max-width:590px;margin:0 0 12px;color:#34291a}
body.minimal .conversation-copy .conversation-note{font-size:13px;color:#49371e}
body.minimal .quiet-contact .flow-landing{gap:45px;align-items:center}
body.minimal .quiet-contact #contact-actions .button{white-space:normal;line-height:1.5;max-width:300px;text-align:center}
@media(max-width:1000px){.system-item summary{gap:16px}.system-title{font-size:20px}.system-item summary .system-status{max-width:150px;font-size:11px}.hero-options{align-items:flex-start}.hero-lower{flex-wrap:wrap}.systems{padding-top:85px}.quiet-contact-bottom.flow-landing{flex-wrap:wrap}}
@media(max-width:640px){body.minimal .quiet-hero h1{font-size:clamp(40px,10.2vw,62px);letter-spacing:-2px;margin:35px 0}.quiet-hero h1 em{letter-spacing:-1.5px!important}body.minimal .hero-kicker{font-size:12px;max-width:290px}.hero-options{align-items:flex-start;gap:12px;margin-top:26px}.hero-options .circle-link{margin-top:0}.conversation-link{font-size:13px}.hero-index{margin-top:55px;gap:20px}.hero-index>span{font-size:12px!important;max-width:180px!important}.hero-index a{font-size:13px!important;text-align:right}.systems{padding:75px 0 25px}.systems-heading{display:block;margin-bottom:28px}.systems-heading h2{font-size:38px;letter-spacing:-1.5px}.systems-heading>p{font-size:14px;margin-top:25px}.system-item summary{padding:24px 0;gap:12px;flex-wrap:wrap}.system-number{display:none}.system-title{font-size:20px;flex-basis:calc(100% - 40px);order:0}.system-title small{font-size:13px;margin-top:9px}.system-item summary .system-plus{order:1;margin-left:0}.system-item summary .system-status{order:2;max-width:none;margin:0;font-size:11px;padding:6px 10px}.system-body{margin-left:0}.system-body p{font-size:14px}.system-body .system-note{font-size:13px}.dashboard-details>summary{display:block;padding:25px 0}.dashboard-details>summary>span:last-child{font-size:16px;justify-content:space-between;margin-top:12px}.dashboard-details .live{padding-top:20px}.project-actions{gap:10px;display:grid}.project-actions a{font-size:13px}.client-logo{height:65px;max-width:150px;margin-bottom:20px}body.minimal .conversation-copy h3{font-size:23px}body.minimal .conversation-copy p{font-size:14px}.quiet-contact .flow-landing #contact-actions{text-align:left}body.minimal .quiet-contact #contact-actions .button{max-width:100%;font-size:13px}}
@media(prefers-reduced-motion:reduce){.system-body{animation:none}}
.dashboard-details[open]>summary>span:last-child{rotate:none}

/* ===== DP Builds studio layout ===== */
.section-top{display:flex;justify-content:space-between;align-items:flex-end;gap:40px;margin-bottom:40px}
.section-top h2,.studio h2{margin:0;font-size:clamp(36px,4.5vw,64px);letter-spacing:-2px;line-height:1.05;font-weight:500}
.section-top p{margin:0;font-size:16px;line-height:1.7;color:var(--muted);max-width:380px}
.systems-heading h2{font-size:clamp(36px,4.5vw,64px)}

/* Work index: one row per project, its object on the right */
.work-index{padding:120px 0 30px}
.work-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.work-row{display:grid;grid-template-columns:minmax(200px,1.05fr) 1.6fr minmax(150px,.9fr) 130px;grid-template-areas:"name what meta obj";align-items:center;gap:32px;padding:28px 12px;border-bottom:1px solid var(--line);min-height:150px;transition:background .3s var(--ease)}
.work-row:hover,.work-row:focus-visible{background:#1d1814}
.work-name{grid-area:name;font-family:Manrope,sans-serif;font-size:clamp(26px,2.5vw,36px);letter-spacing:-1px;line-height:1.1;font-weight:500;transition:color .25s}
.work-what{grid-area:what;font-size:15px;line-height:1.6;color:#cfc4b6;max-width:440px}
.work-meta{grid-area:meta;font-size:13px;line-height:1.5;color:var(--muted)}
.work-object{grid-area:obj;justify-self:end;width:120px;height:104px;display:grid;place-items:center;transition:transform .45s var(--ease)}
.work-object img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.work-row:hover .work-name,.work-row:focus-visible .work-name{color:var(--lime)}
.work-row:hover .work-object,.work-row:focus-visible .work-object{transform:scale(1.12) rotate(-8deg)}
.obj-key{position:relative;display:block;width:104px;height:66px;border-radius:10px;background:#d9cdb8;box-shadow:0 10px 24px #0006}
.obj-key i{position:absolute;left:0;right:0;top:14px;height:12px;background:#3a3029}
.obj-key::after{content:"";position:absolute;right:12px;bottom:10px;width:22px;height:14px;border-radius:3px;background:var(--lime)}
.obj-chat{position:relative;display:block;width:110px;height:90px}
.obj-chat i{position:absolute;border-radius:16px;height:32px}
.obj-chat i:first-child{left:0;top:6px;width:78px;background:#d9cdb8;border-bottom-left-radius:4px}
.obj-chat i:last-child{right:0;bottom:8px;width:66px;background:var(--lime);border-bottom-right-radius:4px}

/* How we work: a real sequence, so it's numbered */
.steps-list{list-style:none;counter-reset:step;margin:56px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.steps-list li{counter-increment:step;border-top:1px solid var(--line);padding-top:22px;display:grid;gap:10px}
.steps-list li::before{content:counter(step);font-size:13px;color:var(--lime)}
.steps-list b{font-size:21px;font-weight:500;letter-spacing:-.4px}
.steps-list span{font-size:15px;line-height:1.65;color:var(--muted)}

/* The studio */
.studio{padding:110px 0 90px;border-top:1px solid var(--line)}
.studio-points{list-style:none;margin:48px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:36px 56px}
.studio-points li{font-size:16px;line-height:1.7;color:#cfc4b6;max-width:470px}
.studio-points b{display:block;font-size:20px;font-weight:500;color:var(--ink);margin-bottom:6px}

/* Contact: Text first, then call and email */
body.minimal .quiet-contact .flow-landing #contact-actions{display:flex;flex-direction:column;gap:10px;min-width:260px;text-align:center}
body.minimal .quiet-contact .flow-landing #contact-actions .button{justify-content:center;min-height:52px}
body.minimal .quiet-contact .flow-landing #contact-actions .ghost-btn{background:transparent;color:var(--paper);border:1.5px solid var(--paper)}
body.minimal .quiet-contact .flow-landing #contact-actions .ghost-btn:hover{background:#15110d14}

/* Sticky "Text us" on phones */
.sticky-cta{display:none}
@media(max-width:640px){
  .sticky-cta{display:flex;align-items:center;justify-content:center;position:fixed;left:16px;right:16px;bottom:16px;z-index:50;min-height:52px;border-radius:30px;background:var(--lime);color:var(--paper);font-weight:700;font-size:16px;box-shadow:0 12px 30px #0008;transform:translateY(160%);transition:transform .3s var(--ease)}
  .sticky-cta.is-shown{transform:none}
}

/* Step-inside transition layer */
.zoom-layer{position:fixed;inset:0;z-index:9999;overflow:hidden;pointer-events:auto}
.zoom-bagel{position:absolute;display:block;will-change:transform;filter:drop-shadow(0 30px 40px #0008)}
.zoom-circle{position:absolute;width:12px;height:12px;border-radius:50%;transform:translate(-50%,-50%) scale(0);will-change:transform}
#case-dialog.case-full[open]{animation:case-arrive .38s cubic-bezier(.22,1,.36,1) both}
#case-dialog.case-full[open] .case-hero h2,#case-dialog.case-full[open] .hotel-intro h2{animation:case-title-arrive .55s cubic-bezier(.22,1,.36,1) both}
#case-dialog.case-full[open] .case-facts{animation:case-title-arrive .55s .08s cubic-bezier(.22,1,.36,1) both}
@keyframes case-arrive{from{opacity:0}to{opacity:1}}
@keyframes case-title-arrive{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
body.motion-paused #case-dialog.case-full[open],body.motion-paused #case-dialog.case-full[open] :is(h2,.case-facts),body.motion-paused .nc-ticket{animation:none;clip-path:none}
@media(prefers-reduced-motion:reduce){#case-dialog.case-full[open],#case-dialog.case-full[open] :is(h2,.case-facts){animation:none}}

/* Case studies open full screen, each in its project's own colors */
#case-dialog.case-full{width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;inset:0;border-radius:0;overflow-y:auto}
#case-dialog.case-full .case-hero,#case-dialog.case-full .case-body,#case-dialog.case-full .hotel-intro{padding-left:max(24px,calc((100vw - 1040px) / 2));padding-right:max(24px,calc((100vw - 1040px) / 2))}
#case-dialog.case-full .dialog-close{position:sticky;top:18px;margin:18px 18px -63px auto}
#case-dialog.theme-nc{background:#f5efe5;color:#2b1d14}
#case-dialog.theme-nc .case-hero{background:#f5efe5;color:#2b1d14;padding-top:90px}
#case-dialog.theme-nc .case-hero h2{color:#b9472c}
#case-dialog.theme-nc .case-hero p{color:#4a3526}
#case-dialog.theme-nc .eyebrow,#case-dialog.theme-nc .case-status{color:#7a5a44}
#case-dialog.theme-nc .case-body{background:#f5efe5}
#case-dialog.theme-nc .case-body h3{color:#2b1d14}
#case-dialog.theme-nc .case-body p,#case-dialog.theme-nc .case-body li{color:#5b4636}
#case-dialog.theme-nc .case-body a.text-link{color:#b9472c;min-height:44px}
#case-dialog.theme-nc .case-body .button.dark{background:#b9472c;color:#fff}
#case-dialog.theme-ws{background:#1b1c1a;color:#efe6d6}
#case-dialog.theme-ws .case-body{background:#1b1c1a}
#case-dialog.theme-ws .case-body p,#case-dialog.theme-ws .case-body li{color:#cfc4b6}
#case-dialog.theme-ws .case-body h3{color:#efe6d6}
#case-dialog.theme-hotel{background:#f1efe7;color:#22251f}
#case-dialog.theme-hotel .case-body{background:#f1efe7}
#case-dialog.theme-hotel .case-body p,#case-dialog.theme-hotel .case-body li{color:#4f5348}
#case-dialog.theme-hotel .case-body h3{color:#22251f}

/* NC Bagel opening shot: an order ticket printing */
.nc-shot{position:relative;height:330px;margin-top:44px;display:grid;justify-items:center;align-content:start}
.nc-printer{width:min(380px,86%);height:28px;border-radius:14px;background:#2b1d14;position:relative;z-index:2;box-shadow:0 10px 20px #2b1d1433}
.nc-ticket{width:min(300px,72%);margin-top:-8px;padding:26px 22px 24px;background:#fffdf8;color:#2b1d14;font:13px/1.75 ui-monospace,SFMono-Regular,Menlo,monospace;display:grid;box-shadow:0 22px 40px #4a2a1426;clip-path:inset(0 0 100% 0);animation:nc-print 2.2s steps(24,end) .2s both}
.nc-ticket b{font-size:15px;letter-spacing:2px;color:#b9472c;margin-bottom:6px}
.nc-ticket .nc-note{color:#b9472c}
.nc-ticket em{font-style:normal;margin-top:10px;padding-top:8px;border-top:1px dashed #c9b8a4;color:#7a5a44}
@keyframes nc-print{to{clip-path:inset(0 0 0 0)}}

@media(max-width:1000px){
  .work-row{grid-template-columns:1fr 1.4fr 110px;grid-template-areas:"name what obj" "meta what obj"}
  .steps-list{grid-template-columns:1fr;gap:22px}
  .studio-points{grid-template-columns:1fr}
}
@media(max-width:640px){
  .section-top{display:block;margin-bottom:28px}
  .section-top p{margin-top:16px;font-size:15px}
  .work-index{padding:80px 0 20px}
  .work-row{grid-template-columns:1fr 84px;grid-template-areas:"name obj" "what obj" "meta obj";gap:8px 16px;padding:22px 4px;min-height:0}
  .work-name{font-size:25px}
  .work-what{font-size:14px}
  .work-object{width:80px;height:76px}
  .obj-key{width:76px;height:48px}.obj-key i{top:10px;height:9px}.obj-key::after{width:16px;height:10px;right:8px;bottom:7px}
  .obj-chat{width:80px;height:66px}.obj-chat i{height:24px}.obj-chat i:first-child{width:58px}.obj-chat i:last-child{width:48px}
  .studio{padding:75px 0 60px}
  .studio-points{gap:26px;margin-top:32px}
  body.minimal .quiet-contact .flow-landing #contact-actions{min-width:0;width:100%}
  .nc-shot{height:300px}
  body.minimal .quiet-footer{padding-bottom:90px}
}
@media(prefers-reduced-motion:reduce){.nc-ticket{animation:none;clip-path:none}.work-object,.work-row{transition:none}}
body.minimal .system-item summary>.system-title{font-size:22px;letter-spacing:-.5px;color:var(--ink)}
.work-object img[src*="white-sauce"]{border-radius:14px}
@media(max-width:640px){body.minimal .system-item summary>.system-title{font-size:19px}}
@media(max-width:1000px){body.minimal .system-item summary .system-status{font-size:12px}}
.case-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding:24px 0;margin:0 0 28px;border-bottom:1px solid currentColor}
.case-facts dt{font-size:12px;text-transform:uppercase;letter-spacing:.08em;opacity:.7;margin-bottom:8px}
.case-facts dd{margin:0;font-size:15px;line-height:1.5}
.case-brand-asset{margin:28px 0;padding:24px;background:#f0ede6;border-radius:12px;color:#252321}
.case-brand-asset img{display:block;width:180px;max-width:100%;height:auto}
.case-brand-asset figcaption,.case-body .case-media-note{font-size:13px;line-height:1.6;margin-top:14px}
@media(max-width:640px){.case-facts{grid-template-columns:1fr;gap:16px}}
/* Small motion details; layout and reading order stay stable. */
body.minimal .reveal{transition-delay:var(--reveal-delay,0ms)}
.service-starts article{transition:transform .24s var(--ease),border-color .24s var(--ease)}
@media(hover:hover) and (pointer:fine){
  .service-starts article:hover{transform:translateY(-4px);border-color:#e9b76b}
  .service-starts a:hover,.inquiry-layout a:hover{color:#e9b76b}
}
.service-starts article:focus-within{border-color:#b9d4f0}
html.motion-still{scroll-behavior:auto!important}
.motion-paused .reveal{opacity:1!important;transform:none!important}
.motion-paused *,.motion-paused *::before,.motion-paused *::after{transition:none!important}
.motion-paused :is(.work-object,.service-starts article,.magnetic,.lab-link>span,.menu-dialog nav a){transform:none!important;translate:none!important;rotate:none!important}
@media(prefers-reduced-motion:reduce){
  .service-starts article,.work-object,.magnetic,.lab-link>span,.menu-dialog nav a{transform:none!important;translate:none!important;rotate:none!important}
}
