/* Vārsts.lv demo v2: "Katlu telpa" */
:root {
  --bg: #151618;
  --bg2: #1b1d20;
  --bg3: #23262a;
  --line: #34373c;
  --ink: #ede6da;
  --ink2: #cfc7ba;
  --mute: #a39b8f;
  --cu: #cd8957;
  --cu-hi: #f2c294;
  --cu-lo: #7a4325;
  --glow: #ffd49c;
  --g: 14px;
  --rail: 22px;
  --gap: 14px;
  --pad: calc(var(--g) + var(--rail) + var(--gap));
  --disp: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Schibsted Grotesk', system-ui, sans-serif;
  color-scheme: dark;
}
@media (min-width: 700px) { :root { --g: 28px; --rail: 40px; --gap: 22px; } }
@media (min-width: 1100px) { :root { --g: 40px; --rail: 64px; --gap: 30px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; position: relative; overflow-x: clip;
  background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--disp); font-weight: 800; line-height: .95; margin: 0; letter-spacing: .005em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--cu-hi); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cu); color: #1a120b; padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { max-width: 1360px; margin-inline: auto; padding-left: var(--pad); padding-right: var(--g); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 3px;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .2s, border-color .2s, color .2s;
}
.btn-cu { background: var(--cu); color: #1a1009; }
.btn-cu:hover { background: var(--cu-hi); }
.btn-line { border-color: #5a524a; color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--cu); color: var(--cu-hi); }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(21, 22, 24, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #26292d; }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 68px; padding-left: var(--g); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo svg { width: 40px; height: 31px; flex: none; }
.logo span { font-family: var(--disp); font-weight: 800; font-size: 25px; letter-spacing: .01em; }
.logo em { font-style: normal; color: var(--mute); font-weight: 600; }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; padding: 8px 10px; font-size: 15px; color: var(--ink2); border-radius: 3px; }
.nav a:hover { color: var(--ink); background: var(--bg3); }
.nav .nav-tel { display: none; }
.top-tel { display: flex; flex-direction: column; text-decoration: none; font-family: var(--disp); font-weight: 700; font-size: 21px; line-height: 1; color: var(--ink); }
.top-tel small { font-family: var(--body); font-weight: 500; font-size: 12px; color: var(--mute); margin-bottom: 3px; }
.cart-wrap { position: relative; }
.cart-btn { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px; background: var(--bg3); border: 1px solid var(--line); border-radius: 3px; cursor: pointer; }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn:hover { border-color: var(--cu); }
.cart-label { font-size: 15px; }
.cart-n { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; display: inline-grid; place-items: center; background: #3a3d42; font-weight: 700; font-size: 13px; transition: background-color .3s, color .3s; }
.cart-n.has { background: var(--cu); color: #1a1009; }
.cart-n.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.cart {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(380px, calc(100vw - 24px));
  background: var(--bg2); border: 1px solid var(--line); border-radius: 4px; padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
}
.cart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cart-head h2 { font-size: 30px; }
.x { width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; border-radius: 3px; cursor: pointer; font-size: 22px; line-height: 1; }
.x:hover { border-color: var(--cu); }
.cart-list { list-style: none; margin: 0; padding: 0; max-height: 46vh; overflow: auto; }
.cart-list li { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.35; }
.cart-list .mini { width: 54px; height: 54px; }
.cart-list .ct { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-list .cp { color: var(--mute); font-size: 13px; margin-top: 2px; }
.cart-list .rm { background: none; border: 1px solid var(--line); color: var(--ink2); border-radius: 3px; padding: 6px 8px; cursor: pointer; font-size: 13px; min-height: 32px; }
.cart-list .rm:hover { border-color: var(--cu); }
.cart-empty { color: var(--ink2); font-size: 15px; }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 4px; }
.cart-sum strong { font-family: var(--disp); font-size: 30px; }
.cart-note { font-size: 13px; color: var(--mute); margin-bottom: 14px; }
.cart-foot .btn { width: 100%; }
.cart-demo { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--cu); background: var(--bg3); font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; background: var(--bg3); border: 1px solid var(--line); border-radius: 3px; cursor: pointer; padding: 0 11px; flex-direction: column; justify-content: center; gap: 6px; }
.menu-btn i { display: block; height: 2px; background: var(--ink); transition: transform .25s; }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1099px) {
  .menu-btn { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--bg2); border-bottom: 1px solid var(--line); padding: 8px var(--g) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid #2a2d31; border-radius: 0; }
  .nav .nav-tel { display: block; color: var(--cu-hi); border-bottom: 0; }
}
@media (max-width: 560px) {
  .top-tel, .cart-label { display: none; }
  .top-in { gap: 10px; }
  .logo span { font-size: 22px; }
  .logo svg { width: 34px; height: 26px; }
}

/* sections */
.sec { padding-block: clamp(72px, 9vw, 132px) 0; position: relative; }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head h2 { font-size: clamp(44px, 6vw, 84px); margin-bottom: 18px; }
.sec-head p { color: var(--ink2); max-width: 60ch; }
.sec-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; }
.sec-head-row h2 { margin-bottom: 0; }
.sec-head-row p { max-width: 44ch; }

/* hero */
.hero { position: relative; padding-block: clamp(36px, 6vw, 84px) clamp(56px, 7vw, 100px); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 40%, rgba(205, 137, 87, .12), transparent 70%); pointer-events: none; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 64px); align-items: center; position: relative; }
.hero h1 { font-size: clamp(58px, 7.6vw, 124px); font-weight: 800; line-height: .9; letter-spacing: -.005em; max-width: 11ch; text-wrap: balance; }
.lede { margin-top: 26px; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink2); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 40px 0 0; max-width: 620px; }
.lines div { border-top: 1px solid var(--line); padding-top: 14px; }
.lines dt { font-size: 14px; color: var(--mute); }
.lines dd { margin: 4px 0 0; }
.lines a { font-family: var(--disp); font-weight: 700; font-size: 30px; text-decoration: none; display: block; line-height: 1.1; }
.lines a:hover { color: var(--cu-hi); }
.lines span { font-size: 14px; color: var(--ink2); }
.hero-stage { margin: 0; position: relative; display: flex; flex-direction: column; }
.hero-stage .plate { order: -1; margin: 0 0 12px; }
.stage {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(52% 48% at 50% 44%, #f1ebe1 0%, #ddd5c8 40%, #8a8378 70%, #2c2d30 100%);
}
.stage img { mix-blend-mode: multiply; }
.stage-hero { aspect-ratio: 5 / 6; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); }
.stage-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 18%; background: linear-gradient(transparent, rgba(21, 22, 24, .5)); pointer-events: none; }
.boiler { position: relative; width: 74%; margin-top: -6%; mix-blend-mode: multiply; }
.stage .boiler img { width: 100%; mix-blend-mode: normal; }
.outlet { position: absolute; left: 50%; top: 90%; width: 2px; height: 2px; }
.plate {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: end;
  margin-top: 12px; padding: 14px 16px; background: var(--bg2); border: 1px solid var(--line); border-radius: 3px;
}
.plate-b { font-size: 13px; color: var(--mute); grid-column: 1; }
.plate-t { font-weight: 600; grid-column: 1; font-size: 15px; }
.plate-p { grid-column: 1; font-family: var(--disp); font-size: 26px; font-weight: 700; margin-top: 4px; }
.plate-p small { font-family: var(--body); font-size: 13px; font-weight: 500; color: var(--mute); }
.plate-add { grid-column: 2; grid-row: 1 / 4; align-self: center; }
.hero-turn { position: absolute; left: 0; bottom: 30px; width: 1px; height: 1px; }

@media (max-width: 899px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-stage { max-width: 460px; }
}
@media (min-width: 700px) and (max-width: 899px) {
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); align-items: end; }
  .hero-stage { max-width: none; }
  .lines { grid-template-columns: 1fr; gap: 14px; }
  .plate { grid-template-columns: 1fr; }
  .plate-add { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
}
@media (max-width: 560px) {
  .lines { grid-template-columns: 1fr; gap: 14px; }
  .hero h1 { font-size: clamp(48px, 14vw, 64px); }
}

/* add button (shared) */
.add, .plate-add {
  min-height: 44px; padding: 10px 14px; border-radius: 3px; cursor: pointer; font-weight: 600; font-size: 15px;
  background: transparent; border: 1px solid var(--cu); color: var(--cu-hi); transition: background-color .2s, color .2s;
}
.add:hover, .plate-add:hover { background: var(--cu); color: #1a1009; }
.add.done, .plate-add.done { background: var(--cu); color: #1a1009; }

/* categories (manifold) */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 12px; padding-top: 30px; }
@media (min-width: 700px) { .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 16px; } }
@media (min-width: 1240px) { .cats { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; } }
.cat {
  display: flex; flex-direction: column; text-align: left; cursor: pointer; padding: 0 0 14px;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  transition: border-color .4s, box-shadow .4s;
}
.cat.live { border-color: #6d4a33; box-shadow: 0 -6px 30px -14px rgba(255, 196, 140, .35); }
.cat:hover { border-color: var(--cu); }
.cat-img { display: grid; place-items: center; aspect-ratio: 1; background: radial-gradient(55% 50% at 50% 46%, #ece5da 0%, #d2cabd 42%, #807a71 72%, #2c2d30 100%); margin-bottom: 12px; }
.cat-img img { width: 72%; mix-blend-mode: multiply; }
.cat strong { font-family: var(--disp); font-weight: 800; font-size: 23px; line-height: 1; padding: 0 12px; }
.cat span:last-child { font-size: 13px; color: var(--mute); padding: 6px 12px 0; line-height: 1.4; }

/* product browser */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; scrollbar-width: thin; scrollbar-color: #3a3d42 transparent; }
.tab {
  flex: none; min-height: 42px; padding: 8px 14px; border-radius: 3px; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--ink2); font-size: 15px; white-space: nowrap;
}
.tab:hover { border-color: #6a5f55; color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 600; }
.tab small { font-size: 12px; opacity: .7; margin-left: 4px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.card { display: flex; flex-direction: column; background: var(--bg2); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.card .stage { aspect-ratio: 1; background: radial-gradient(56% 50% at 50% 46%, #efe8dd 0%, #d6cec1 42%, #827c73 72%, #2c2d30 100%); }
.card .stage img { width: 74%; }
.cb { padding: 14px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.cb .br { font-size: 13px; color: var(--mute); }
.cb h3 { font-family: var(--body); font-weight: 500; font-size: 15px; line-height: 1.38; margin: 4px 0 10px; overflow-wrap: anywhere; }
.cb .spec { font-size: 13px; color: var(--ink2); margin-bottom: 12px; }
.cb .pr { margin-top: auto; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.cb .pr strong { font-family: var(--disp); font-weight: 700; font-size: 28px; line-height: 1; }
.cb .pr small { font-size: 13px; color: var(--mute); }
.cb .add { width: 100%; }
@media (max-width: 560px) {
  .cb { padding: 10px 10px 12px; }
  .cb h3 { font-size: 14px; }
  .cb .pr strong { font-size: 23px; }
  .cb .add { font-size: 14px; padding: 8px; }
  .cb .spec { display: none; }
}
.more-row { display: flex; justify-content: center; margin-top: 24px; }
.brands { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--disp); font-weight: 600; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; color: var(--ink2); }
.brands span { display: block; font-family: var(--body); font-size: 14px; font-weight: 500; color: var(--mute); margin-bottom: 6px; }

/* services */
.svc-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.svc { list-style: none; margin: 0; padding: 0; }
.svc li { padding: 22px 0 22px; border-top: 1px solid var(--line); transition: border-color .5s; }
.svc li:last-child { border-bottom: 1px solid var(--line); }
.svc li.live { border-top-color: #6d4a33; }
.svc h3 { font-size: clamp(30px, 3vw, 42px); font-weight: 700; margin-bottom: 8px; }
.svc p { color: var(--ink2); max-width: 54ch; }
.svc-side { position: sticky; top: 96px; }
.duo-fig { margin: 0; }
.duo { filter: url(#duo) contrast(1.06); }
.duo-fig img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.callcard { margin-top: 12px; padding: 18px; background: var(--bg2); border: 1px solid var(--line); border-radius: 3px; }
.callcard p { color: var(--ink2); font-size: 15px; }
.callcard a { display: block; margin-top: 6px; font-family: var(--disp); font-weight: 800; font-size: 40px; line-height: 1; text-decoration: none; color: var(--cu-hi); }
.callcard a:hover { color: var(--glow); }
@media (max-width: 899px) {
  .svc-wrap { grid-template-columns: 1fr; }
  .svc-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
  .duo-fig img { aspect-ratio: 4 / 3; }
  .callcard { margin-top: 0; }
}
@media (max-width: 560px) { .svc-side { grid-template-columns: 1fr; } }

/* gallery */
.gal { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 220px); gap: 10px; }
.g { position: relative; padding: 0; border: 0; background: var(--bg3); cursor: zoom-in; overflow: hidden; border-radius: 3px; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g:hover img { transform: scale(1.035); }
.g span { position: absolute; left: 0; bottom: 0; right: 0; padding: 26px 12px 10px; text-align: left; font-size: 14px; font-weight: 500; background: linear-gradient(transparent, rgba(16, 17, 18, .88)); }
.g-a { grid-column: span 2; grid-row: span 2; }
.g-b { grid-row: span 2; }
.g-w { grid-column: span 2; }
@media (max-width: 899px) { .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 30vw, 220px); } }

.lb { padding: 0; border: 1px solid var(--line); background: var(--bg); color: var(--ink); max-width: min(1100px, 94vw); max-height: 92vh; border-radius: 4px; }
.lb::backdrop { background: rgba(8, 8, 9, .86); }
.lb figure { margin: 0; }
.lb img { max-height: 80vh; width: auto; margin-inline: auto; }
.lb figcaption { padding: 12px 64px 14px 16px; color: var(--ink2); }
.lb .x { position: absolute; right: 10px; bottom: 8px; background: var(--bg2); }

/* tame */
.tame { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.tame h2 { font-size: clamp(44px, 5.6vw, 80px); margin-bottom: 20px; }
.tame-txt > p { color: var(--ink2); max-width: 52ch; }
.steps { list-style: none; counter-reset: s; margin: 32px 0 0; padding: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 0 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--disp); font-weight: 800; font-size: 40px; line-height: .9; color: var(--cu); }
.steps strong { font-weight: 600; }
.steps span { color: var(--ink2); font-size: 15px; }
.form { background: var(--bg2); border: 1px solid var(--line); border-radius: 4px; padding: clamp(18px, 3vw, 32px); display: grid; gap: 16px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--ink2); font-weight: 500; }
.form input, .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; background: var(--bg); border: 1px solid #44484e; border-radius: 3px; color: var(--ink); font-size: 16px;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cu); box-shadow: 0 0 0 3px rgba(205, 137, 87, .25); }
.form input[type="file"] { padding: 10px; font-size: 14px; color: var(--ink2); }
.form input[type="file"]::file-selector-button { margin-right: 12px; padding: 6px 12px; background: var(--bg3); color: var(--ink); border: 1px solid var(--line); border-radius: 3px; cursor: pointer; }
.form [aria-invalid="true"] { border-color: #e0816a; }
.form-err { color: #f0a08c; font-size: 15px; }
.form-ok { display: grid; gap: 4px; padding: 14px 16px; border-left: 3px solid var(--cu); background: var(--bg3); }
.form-ok span { color: var(--ink2); }
@media (max-width: 899px) { .tame { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .f2 { grid-template-columns: 1fr; } }

/* rating plates */
.plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rate {
  position: relative; padding: 22px 22px 18px; border-radius: 4px;
  background: linear-gradient(160deg, #26282c, #1d1f22 60%); border: 1px solid #3a3d42;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.rate::before, .rate::after { content: ""; position: absolute; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #8b8f95, #3a3d42); }
.rate::before { left: 12px; }
.rate::after { right: 12px; }
.rate h3 { font-size: 34px; margin: 4px 0 14px; padding-bottom: 12px; border-bottom: 1px solid #3a3d42; }
.rate dl { margin: 0; }
.rate dl div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px dashed #34373c; font-size: 15px; }
.rate dl div:last-child { border-bottom: 0; }
.rate dt { color: var(--mute); }
.rate dd { margin: 0; }
@media (max-width: 1099px) { .plates { grid-template-columns: 1fr; max-width: 720px; } }

/* contact */
#kontakti { padding-bottom: clamp(72px, 9vw, 132px); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.contact h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 700; color: var(--ink2); }
.addr { font-family: var(--disp); font-weight: 800; font-size: clamp(48px, 6vw, 88px); line-height: .92; margin: 10px 0 26px; }
.clist { margin: 0 0 24px; }
.clist div { padding: 12px 0; border-top: 1px solid var(--line); }
.clist dt { font-size: 14px; color: var(--mute); }
.clist dd { margin: 2px 0 0; }
.clist a { font-family: var(--disp); font-weight: 700; font-size: clamp(26px, 2.6vw, 34px); text-decoration: none; overflow-wrap: anywhere; }
.clist a:hover { color: var(--cu-hi); }
.door { width: 100%; aspect-ratio: 1200 / 443; object-fit: cover; border-radius: 3px; }
.map { display: flex; flex-direction: column; gap: 10px; min-height: 380px; }
.map iframe { flex: 1; width: 100%; min-height: 380px; border: 1px solid var(--line); border-radius: 3px; filter: grayscale(1) invert(.9) brightness(.95) contrast(.9); }
.map a { font-size: 15px; color: var(--cu-hi); }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; } }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--mute); }
.foot-in { display: grid; gap: 4px; }
.foot strong { color: var(--ink2); font-weight: 600; }
.demo-note { margin-top: 10px; font-size: 12px; }

/* pipe layer */
.pipe-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 30; }
#pipe { position: absolute; left: 0; top: 0; display: block; }
#pipe .ghost { fill: none; stroke: #2f3236; stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; }
#pipe .p-sh { fill: none; stroke: #0c0c0d; stroke-opacity: .55; stroke-linecap: round; stroke-linejoin: round; }
#pipe .p-bd { fill: none; stroke: #b9743f; stroke-linecap: round; stroke-linejoin: round; }
#pipe .p-hi { fill: none; stroke: #f6c999; stroke-opacity: .75; stroke-linecap: round; stroke-linejoin: round; }
#pipe .fit { fill: #8a4c2a; stroke: #c78553; stroke-width: 1; opacity: 0; transition: opacity .3s; }
#pipe .fit.on { opacity: 1; }
#pipe .vb { fill: #1b1d20; stroke: #8a5a3a; stroke-width: 2; transition: stroke .3s; }
#pipe .vc { fill: #3a3d42; transition: fill .3s; }
#pipe .vh { fill: #6b6f75; transform-box: fill-box; transform-origin: center; transform: rotate(90deg); transition: transform .5s cubic-bezier(.3, 1.4, .5, 1), fill .3s; }
#pipe .valve.on .vb { stroke: var(--cu-hi); }
#pipe .valve.on .vc { fill: var(--glow); }
#pipe .valve.on .vh { fill: var(--cu-hi); transform: rotate(0deg); }
#pipe .valve.on { filter: drop-shadow(0 0 5px rgba(255, 196, 130, .75)); }
#pipe .valve.big .vc { r: 5; }
@media (prefers-reduced-motion: reduce) {
  #pipe .vh, #pipe .vb, #pipe .vc, #pipe .fit { transition: none; }
  .cat, .svc li, .g img, .cart-n { transition: none; animation: none; }
}
