/* ============================================================
   Websites showcase — sticky browser that cycles site concepts
   ============================================================ */
.showcase { position: relative; }
.showcase-sticky {
  position: sticky; top: 0; height: 100svh;
  display: grid; grid-template-columns: 272px 1fr; gap: clamp(20px,4vw,60px);
  align-items: center;
  padding: 92px var(--gut) 44px;
  max-width: var(--maxw); margin: 0 auto;
}

/* left rail */
.sc-rail { display: grid; gap: 24px; align-content: center; }
.sc-rail .eyebrow { color: var(--ink); }
.sc-rail .eyebrow::before { background: var(--ink); }
.sc-rail h2 { font-size: clamp(26px,2.6vw,38px); letter-spacing: -0.04em; line-height: 1.04; }
.sc-rail .cap { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); line-height: 1.55; max-width: 30ch; }

/* dark-stage overrides */
.showcase.bg-dark .sc-rail .eyebrow { color: var(--dark-ink); }
.showcase.bg-dark .sc-rail .eyebrow .ix { color: var(--accent); }
.showcase.bg-dark .sc-rail .eyebrow::before { background: var(--dark-ink2); }
.showcase.bg-dark .sc-rail h2 { color: var(--dark-ink); }
.showcase.bg-dark .sc-rail .cap { color: var(--dark-ink2); }
.showcase.bg-dark .sc-list button { color: var(--dark-ink3); border-top-color: var(--dark-line); }
.showcase.bg-dark .sc-list button.on { color: var(--dark-ink); }
.showcase.bg-dark .sc-list button.on .nm::after { background: var(--dark-ink); }
.showcase.bg-dark .sc-progress { color: var(--dark-ink3); }
.showcase.bg-dark .sc-progress b { color: var(--dark-ink); }
.sc-list { display: grid; gap: 0; }
.sc-list button {
  text-align: left; background: none; border: 0; padding: 11px 0;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--ink-3);
  border-top: 1px solid var(--line-2);
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.sc-list button .ix { font-family: var(--mono); font-size: 11px; font-weight: 500; opacity: .7; width: 20px; }
.sc-list button .nm { position: relative; }
.sc-list button.on { color: var(--ink); padding-left: 6px; }
.sc-list button.on .nm::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--ink); animation: railgrow var(--dwell, 2.6s) linear; }
@keyframes railgrow { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); transform-origin: left; } }
.sc-progress { font-family: var(--mono); font-size: 12px; color: var(--ink-3); display: flex; gap: 8px; align-items: baseline; }
.sc-progress b { color: var(--ink); font-weight: 700; font-size: 15px; }

/* browser frame */
.browser {
  width: 100%; max-width: 1000px; justify-self: center;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 50px 90px -45px rgba(10,10,12,.4), 0 10px 30px -18px rgba(10,10,12,.3);
  overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--panel); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.url-bar { flex: 1; display: flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); overflow: hidden; white-space: nowrap; }
.url-bar .lock { width: 11px; height: 11px; color: var(--ink-3); flex: none; }
.url-bar .u { transition: opacity .35s var(--ease); }
.browser-stage { position: relative; aspect-ratio: 16/10.2; overflow: hidden; background: var(--surface); }
@media (max-width: 980px) { .browser-stage { aspect-ratio: 16/11.5; } }
.loadbar { position: absolute; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); z-index: 30; opacity: 0; }

/* generic mock */
.mock { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(1.025); transform-origin: center; transition: opacity .6s var(--ease), transform .8s var(--ease), visibility .6s; overflow: hidden; container-type: inline-size; }
.mock.active { opacity: 1; visibility: visible; transform: none; }

.m-nav { display: flex; align-items: center; justify-content: space-between; }
.m-ph { background: repeating-linear-gradient(135deg,#ececec 0 11px,#f4f4f4 11px 22px); position: relative; }
.m-ph.dark { background: repeating-linear-gradient(135deg,#1b1d22 0 11px,#212329 11px 22px); }
.m-ph .tag { position: absolute; left: 10px; bottom: 8px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(0,0,0,.38); }
.m-ph.dark .tag { color: rgba(255,255,255,.4); }

/* 1. RESTAURANT — Fiorella */
.m-resto { background: #f3ede2; color: #211c16; display: grid; grid-template-rows: auto 1fr; height: 100%; font-family: "Newsreader", Georgia, serif; }
.m-resto .m-nav { padding: 3.4cqw 5cqw; border-bottom: 1px solid #e2d8c6; }
.m-resto .logo { font-size: 4.4cqw; letter-spacing: .01em; font-weight: 500; }
.m-resto .m-nav nav { display: flex; gap: 2.8cqw; align-items: center; font-family: var(--mono); font-size: 1.9cqw; letter-spacing: .14em; text-transform: uppercase; color: #6b5f4f; }
.m-resto .m-nav .rsv { border: 1px solid #211c16; border-radius: 999px; padding: 1.3cqw 2.6cqw; color: #211c16; }
.m-resto .hero { display: grid; grid-template-columns: 1.12fr .88fr; gap: 3.4cqw; padding: 3cqw 5cqw 3.4cqw; align-items: center; }
.m-resto h1 { font-size: 6.4cqw; line-height: .98; margin: 0; font-weight: 500; letter-spacing: -0.01em; }
.m-resto h1 em { font-style: italic; }
.m-resto .sub { font-family: var(--mono); font-size: 1.75cqw; letter-spacing: .02em; color: #6b5f4f; margin-top: 1.9cqw; max-width: 30ch; line-height: 1.6; text-transform: none; }
.m-resto .pill { display: inline-block; margin-top: 2.3cqw; font-family: var(--mono); font-size: 1.7cqw; letter-spacing: .1em; text-transform: uppercase; border: 1px solid #211c16; border-radius: 999px; padding: 1.3cqw 2.8cqw; }
.m-resto .shot { aspect-ratio: 4/5; border-radius: 3px; align-self: stretch; }

/* 2. SAAS — Northbeam (dark premium control room) */
.m-saas { background: #0a0c12; color: #eef0f6; height: 100%; display: grid; grid-template-rows: auto 1fr; font-family: "Inter", sans-serif; position: relative; overflow: hidden; }
.m-saas::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80cqw 50cqw at 82% -12%, rgba(112,140,255,.20), transparent 62%); pointer-events: none; }
.m-saas .m-nav { padding: 2.6cqw 5cqw; border-bottom: 1px solid #1a1e2b; position: relative; z-index: 1; }
.m-saas .logo { font-weight: 700; font-size: 2.3cqw; letter-spacing: -0.03em; display: flex; align-items: center; gap: 1.3cqw; }
.m-saas .logo .b { width: 2.6cqw; height: 2.6cqw; border-radius: 7px; background: linear-gradient(150deg, #93a4ff, #5b6cff); }
.m-saas .m-nav nav { display: flex; gap: 2.6cqw; font-size: 1.7cqw; font-weight: 500; color: #9aa1b4; align-items: center; white-space: nowrap; }
.m-saas .m-nav .cta { background: #eef0f6; color: #0a0c12; border-radius: 8px; padding: 1.2cqw 2.4cqw; font-weight: 600; font-size: 1.6cqw; white-space: nowrap; }
.m-saas .body { padding: 3.6cqw 5cqw; display: grid; grid-template-columns: 1.02fr .98fr; gap: 4cqw; align-items: center; position: relative; z-index: 1; }
.m-saas .copy { display: grid; gap: 2cqw; align-content: center; }
.m-saas h1 { font-size: 5.3cqw; line-height: 1.0; letter-spacing: -0.045em; margin: 0; font-weight: 700; max-width: 15ch; }
.m-saas .sub { font-size: 1.85cqw; color: #9aa1b4; max-width: 34ch; line-height: 1.5; }
.m-saas .cta-row { display: flex; gap: 2.4cqw; align-items: center; margin-top: .6cqw; }
.m-saas .cta-row .b1 { background: linear-gradient(150deg, #7c8cff, #5b6cff); color: #fff; font-weight: 600; font-size: 1.7cqw; padding: 1.5cqw 3cqw; border-radius: 9px; box-shadow: 0 1.6cqw 3cqw -1.4cqw rgba(91,108,255,.7); }
.m-saas .cta-row .b2 { font-size: 1.7cqw; font-weight: 500; color: #c5cad8; }
.m-saas .panel { background: linear-gradient(180deg, #13161f, #0d1016); border: 1px solid #232a3c; border-radius: 14px; padding: 2.6cqw; display: grid; gap: 2cqw; box-shadow: 0 5cqw 9cqw -3cqw rgba(0,0,0,.7); }
.m-saas .p-top { display: flex; justify-content: space-between; align-items: center; }
.m-saas .p-top .pt { font-family: var(--mono); font-size: 1.25cqw; color: #818aa3; letter-spacing: .05em; text-transform: uppercase; }
.m-saas .p-top .p-prog { display: flex; align-items: center; gap: 1cqw; font-family: var(--mono); font-size: 1.35cqw; font-weight: 600; color: #b3bcff; }
.m-saas .p-top .p-prog .bar { width: 8cqw; height: .9cqw; border-radius: 999px; background: #232a3c; overflow: hidden; }
.m-saas .p-top .p-prog .bar i { display: block; height: 100%; width: 68%; border-radius: 999px; background: linear-gradient(90deg, #7c8cff, #5b6cff); }
.m-saas .p-tasks { display: grid; gap: 1.2cqw; }
.m-saas .task { display: flex; align-items: center; gap: 1.6cqw; }
.m-saas .task .ck { width: 1.8cqw; height: 1.8cqw; border-radius: 6px; border: 1.5px solid #39415a; flex: none; position: relative; }
.m-saas .task.done .ck { background: linear-gradient(150deg, #57d9a3, #34b483); border-color: transparent; }
.m-saas .task.done .ck::after { content: ""; position: absolute; left: 36%; top: 16%; width: 26%; height: 52%; border: solid #0a0c12; border-width: 0 .35cqw .35cqw 0; transform: rotate(43deg); }
.m-saas .task.doing .ck { border-color: #7c8cff; background: radial-gradient(closest-side, #7c8cff 0 42%, transparent 46%); }
.m-saas .task .tn { flex: 1; font-size: 1.65cqw; font-weight: 500; color: #d6dae6; }
.m-saas .task.done .tn { color: #767f97; text-decoration: line-through; text-decoration-color: #3a4257; }
.m-saas .task .who { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--mono); font-size: 1.05cqw; font-weight: 600; color: #0a0c12; }
.m-saas .task .who[data-c="a"] { background: #93a4ff; }
.m-saas .task .who[data-c="b"] { background: #57d9a3; }
.m-saas .task .who[data-c="c"] { background: #ffc56e; }
.m-saas .task .who[data-c="d"] { background: #e08bd0; }
.m-saas .p-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6cqw; border-top: 1px solid #1f2533; padding-top: 2.2cqw; }
.m-saas .p-kpis .k { font-family: var(--mono); font-size: 1.05cqw; color: #737d96; letter-spacing: .05em; text-transform: uppercase; display: block; margin-bottom: .4cqw; }
.m-saas .p-kpis .v { font-size: 2.2cqw; font-weight: 700; letter-spacing: -0.03em; }

/* 3. LOCAL SERVICE — Northline Heating + Air (light & clean HVAC) */
.m-svc { --ac: #1e66e0; background: #f5f7fa; color: #111722; height: 100%; display: grid; grid-template-rows: auto 1fr auto; font-family: "Inter", sans-serif; }
.m-svc .m-nav { padding: 2.4cqw 5cqw; align-items: center; border-bottom: 1px solid #e6e9ee; background: #fff; }
.m-svc .logo { font-weight: 800; font-size: 2cqw; letter-spacing: -0.02em; white-space: nowrap; display: flex; align-items: center; gap: 1.2cqw; }
.m-svc .logo .mk { width: 2.4cqw; height: 2.4cqw; border-radius: 7px; background: linear-gradient(150deg, #4f8bf0, var(--ac)); flex: none; position: relative; }
.m-svc .logo .mk::after { content: ""; position: absolute; inset: 32%; border-radius: 2px; background: #fff; }
.m-svc .logo em { font-style: normal; font-weight: 500; color: #5d6675; font-size: 1.55cqw; }
.m-svc .m-nav nav { display: flex; gap: 2.6cqw; align-items: center; flex-wrap: nowrap; font-size: 1.55cqw; font-weight: 500; color: #5d6675; }
.m-svc .m-nav .ph { color: #fff; background: var(--ac); font-weight: 700; border-radius: 999px; padding: 1.1cqw 2.4cqw; white-space: nowrap; }
.m-svc .hero { padding: 0; display: grid; grid-template-columns: 1.04fr .96fr; align-items: stretch; min-height: 0; }
.m-svc .hero .copy { padding: 0 4.5cqw 0 5cqw; display: grid; align-content: center; gap: 1.1cqw; }
.m-svc .eyebrow { font-family: var(--mono); font-size: 1.25cqw; letter-spacing: .16em; text-transform: uppercase; color: var(--ac); }
.m-svc h1 { font-size: 4.7cqw; line-height: 1.0; letter-spacing: -0.04em; margin: 0; font-weight: 800; max-width: 14ch; }
.m-svc .sub { font-size: 1.6cqw; color: #5d6675; line-height: 1.45; max-width: 32ch; }
.m-svc .row { display: flex; align-items: center; gap: 2.4cqw; margin-top: .5cqw; flex-wrap: wrap; }
.m-svc .row .call { background: var(--ac); color: #fff; font-weight: 700; font-size: 1.65cqw; padding: 1.3cqw 2.8cqw; border-radius: 10px; box-shadow: 0 1.6cqw 3cqw -1.6cqw rgba(30,102,224,.8); }
.m-svc .row .emg { display: grid; gap: .15cqw; line-height: 1.2; }
.m-svc .row .emg b { font-size: 1.35cqw; color: #111722; }
.m-svc .row .emg span { font-family: var(--mono); font-size: 1.3cqw; color: #5d6675; }
.m-svc .trust { display: flex; gap: 1.8cqw; flex-wrap: wrap; margin-top: .2cqw; }
.m-svc .trust span { position: relative; font-size: 1.25cqw; font-weight: 500; color: #41495a; padding-left: 2cqw; }
.m-svc .trust span::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #d8e6ff; box-shadow: inset 0 0 0 .4cqw var(--ac); }
.m-svc .hero .shot { position: relative; background: linear-gradient(155deg, #dbe6f5, #eef2f7) center/cover; overflow: hidden; }
.m-svc .hero .shot .thermo { position: absolute; left: 2.2cqw; bottom: 2.2cqw; background: #fff; border-radius: 13px; padding: 1.5cqw; display: flex; gap: 1.5cqw; align-items: center; box-shadow: 0 2.4cqw 5cqw -2cqw rgba(16,23,34,.4); border: 1px solid #eef0f3; }
.m-svc .thermo .dial { width: 9cqw; height: 9cqw; border-radius: 50%; background: conic-gradient(var(--ac) 0 62%, #e6ebf2 62% 100%); display: grid; place-items: center; position: relative; flex: none; }
.m-svc .thermo .dial::before { content: ""; position: absolute; inset: 1.05cqw; background: #fff; border-radius: 50%; }
.m-svc .thermo .rdg { position: relative; z-index: 1; display: grid; justify-items: center; line-height: 1; }
.m-svc .thermo .rdg .t { font-size: 2.4cqw; font-weight: 800; letter-spacing: -0.04em; }
.m-svc .thermo .rdg .m { font-family: var(--mono); font-size: 1cqw; color: var(--ac); letter-spacing: .06em; text-transform: uppercase; margin-top: .3cqw; }
.m-svc .thermo .meta { display: grid; gap: .55cqw; padding-right: 1cqw; }
.m-svc .thermo .meta .rm { font-size: 1.7cqw; font-weight: 700; letter-spacing: -0.02em; }
.m-svc .thermo .meta .set { font-family: var(--mono); font-size: 1.3cqw; color: #5d6675; }
.m-svc .thermo .meta .st { display: flex; align-items: center; gap: 1cqw; font-size: 1.3cqw; font-weight: 500; color: #1f9d5b; }
.m-svc .thermo .meta .st .dot { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #25b46c; box-shadow: 0 0 0 .35cqw rgba(37,180,108,.22); }
.m-svc .strip { display: flex; border-top: 1px solid #e6e9ee; background: #fff; }
.m-svc .strip div { flex: 1; padding: 1.8cqw 2.8cqw; border-right: 1px solid #e6e9ee; }
.m-svc .strip div:last-child { border-right: 0; }
.m-svc .strip .n { font-size: 2.4cqw; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.m-svc .strip .l { font-family: var(--mono); font-size: 1.15cqw; color: #5d6675; margin-top: .35cqw; letter-spacing: .02em; }

/* 4. PORTFOLIO — editorial studio (unified duotone) */
.m-port { background: #f2f1ee; color: #14130f; height: 100%; display: grid; grid-template-rows: auto auto 1fr; font-family: "Inter", sans-serif; }
.m-port .m-nav { padding: 2.8cqw 5cqw; align-items: center; font-family: var(--mono); font-size: 1.5cqw; letter-spacing: .08em; text-transform: uppercase; }
.m-port .m-nav .logo { font-weight: 600; }
.m-port .m-nav nav { display: flex; gap: 2.4cqw; color: #6e6b63; }
.m-port .head { padding: 1cqw 5cqw 1.6cqw; display: grid; gap: 1.4cqw; }
.m-port .head .eyebrow { font-family: var(--mono); font-size: 1.35cqw; letter-spacing: .16em; text-transform: uppercase; color: #9a968c; }
.m-port .head h1 { font-size: 9.6cqw; line-height: .88; letter-spacing: -0.05em; margin: 0; font-weight: 800; }
.m-port .head h1 .it { font-family: "Newsreader", serif; font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.m-port .grid { padding: 1cqw 5cqw 4cqw; display: grid; grid-template-columns: repeat(3,1fr); gap: 2.4cqw; align-content: start; }
.m-port .work { display: grid; gap: 1.3cqw; }
.m-port .work .shot { aspect-ratio: 4/3.2; border-radius: 4px; background-color: #ddd8cf; background-size: cover; background-position: center; filter: grayscale(1) contrast(1.05); position: relative; overflow: hidden; }
.m-port .work .shot::after { content: ""; position: absolute; inset: 0; background: #2a2419; mix-blend-mode: multiply; opacity: .14; }
.m-port .work .cap { display: flex; justify-content: space-between; align-items: baseline; }
.m-port .work .cap .nm { font-size: 1.85cqw; font-weight: 600; letter-spacing: -0.01em; }
.m-port .work .cap .mt { font-family: var(--mono); font-size: 1.2cqw; color: #9a968c; letter-spacing: .04em; text-transform: uppercase; }

/* 5. COMMERCE — FORM (coherent collection) */
.m-shop { background: #fff; color: #15120e; height: 100%; display: grid; grid-template-rows: auto auto 1fr; font-family: "Inter", sans-serif; }
.m-shop .m-nav { padding: 2.8cqw 5cqw; border-bottom: 1px solid #f0ece6; align-items: center; }
.m-shop .logo { font-family: "Newsreader", serif; font-size: 3.2cqw; letter-spacing: .34em; font-weight: 500; }
.m-shop .m-nav nav { display: flex; gap: 2.4cqw; font-family: var(--mono); font-size: 1.4cqw; letter-spacing: .08em; text-transform: uppercase; color: #8a8175; align-items: center; }
.m-shop .m-nav .cart { color: #15120e; }
.m-shop .sub { padding: 3cqw 5cqw 2.2cqw; display: flex; justify-content: space-between; align-items: baseline; }
.m-shop .sub h2 { font-family: "Newsreader", serif; font-style: italic; font-weight: 400; font-size: 4.2cqw; margin: 0; letter-spacing: -0.01em; }
.m-shop .sub .f { font-family: var(--mono); font-size: 1.4cqw; color: #8a8175; letter-spacing: .06em; text-transform: uppercase; }
.m-shop .grid { padding: 0 5cqw 4cqw; display: grid; grid-template-columns: repeat(4,1fr); gap: 2.4cqw; }
.m-shop .prod { display: grid; gap: 1.3cqw; }
.m-shop .prod .shot { aspect-ratio: 3/3.6; border-radius: 3px; background: #ece7df center/cover no-repeat; position: relative; }
.m-shop .prod .meta { display: flex; flex-direction: column; align-items: flex-start; gap: .45cqw; }
.m-shop .prod .nm { font-size: 1.7cqw; font-weight: 500; }
.m-shop .prod .pr { font-family: var(--mono); font-size: 1.5cqw; color: #8a8175; }

@media (max-width: 880px) {
  .showcase-sticky { grid-template-columns: 1fr; gap: 18px; align-content: center; padding-top: 84px; }
  .sc-rail { gap: 13px; }
  .sc-rail h2, .sc-list { display: none; }
}
