/* OSKO — architectural monograph meets manufacturer catalogue. */
:root {
  --paper: #F3F3F0;
  --paper-2: #E7EAEE;
  --ink: #13213A;
  --ink-2: #3F4B5E;
  --alu: #8A94A3;
  --alu-text: #5E6978;  /* alu for small text: 4.6:1 or more on white, paper and paper-2 */
  --glass: #D6E0EC;
  --edge: #2F5597;      /* OSKO lacivert, accent */
  --navy-deep: #0C1729;
  --line: #CDD2DA;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 40px);
  --step: clamp(72px, 10vw, 140px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); font-feature-settings: "ss01"; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--edge); }
:focus-visible { outline: 2px solid var(--edge); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(48px, 8.4vw, 132px); }
h2 { font-size: clamp(34px, 4.4vw, 64px); }
h3 { font-size: clamp(26px, 2.6vw, 36px); }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-size: .82em; letter-spacing: 0; color: var(--ink-2); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-wide { max-width: 1680px; margin-inline: auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons and links */
.btn { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; padding: 14px 22px; font: 500 15px/1 var(--sans); border: 1px solid var(--ink); transition: background .15s, color .15s; }
.btn:hover { background: var(--edge); border-color: var(--edge); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.link-arrow { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " →"; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 28px; }

/* Header */
.site-head { background: var(--ink); color: var(--paper); position: relative; z-index: 20; }
.site-head.is-over { position: absolute; inset: 0 0 auto 0; background: transparent; }
.site-head.is-over::before { content: ""; position: absolute; inset: 0 0 -40px 0; background: linear-gradient(rgba(9,18,36,.6), rgba(9,18,36,0)); pointer-events: none; z-index: -1; }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand img { width: 129px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 15px; }
.nav > ul > li > a { padding: 26px 0; display: inline-block; }
.nav a:hover { color: var(--glass); }
.nav .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.nav .btn:hover { background: var(--glass); border-color: var(--glass); color: var(--ink); }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -18px; min-width: 300px; background: var(--paper); color: var(--ink); box-shadow: 0 18px 40px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 18px; }
.sub a:hover { background: var(--paper-2); color: var(--ink); }
.sub .mono { display: inline-block; min-width: 82px; }
.nav-toggle { display: none; }
@media (max-width: 1100px) {
  .nav-toggle { display: block; background: none; color: inherit; border: 1px solid currentColor; padding: 8px 14px; font: 500 14px var(--sans); }
  .nav { position: fixed; inset: 76px 0 0 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 12px var(--gut) 40px; overflow-y: auto; display: none; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li > a { padding: 14px 0; font-size: 20px; border-bottom: 1px solid #23324D; display: block; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; color: var(--paper); padding: 4px 0 10px; }
  .sub a { padding: 7px 0; color: var(--alu); }
  .site-head.is-over .nav { background: var(--ink); }
}

/* Breadcrumbs */
.crumbs ol { list-style: none; padding: 0; margin: 0 0 40px; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--ink-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--alu); }
.crumbs a { text-decoration: none; }

/* Section heads */
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; margin-bottom: 48px; }
.sec-head p { max-width: 46ch; color: var(--ink-2); margin: 0; }
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; } }

/* Kesit — detail-sheet drawing */
.kesit { width: 100%; max-width: 300px; overflow: visible; }
.kesit-lg { max-width: none; }
.k-cut { stroke: var(--alu); stroke-width: .6; stroke-dasharray: 1 3; }
.k-alu { fill: #B9BEC2; stroke: var(--ink); stroke-width: .8; }
.k-hl { stroke: var(--ink); stroke-width: .5; }
.k-glass { fill: #D3DFEE; stroke: none; }
.k-glass-l { stroke: var(--edge); stroke-width: 1.2; }
.k-board { fill: none; stroke: var(--ink); stroke-width: .8; }
.k-wool { fill: none; stroke: var(--ink-2); stroke-width: .7; }
.k-blind { stroke: var(--ink-2); stroke-width: .8; stroke-dasharray: 2 2; }
.k-axis { stroke: #B4533A; stroke-width: .6; stroke-dasharray: 8 2 2 2; }
.k-dim { stroke: var(--ink); stroke-width: .6; }
.k-tick { stroke: var(--ink); stroke-width: 1.4; }
.k-txt { font: 500 11px var(--mono); fill: var(--ink); }

/* Factory */
.factory { background: var(--paper-2); padding-block: var(--step); }
.factory-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.factory figure { margin: 0; }
.f-main img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.f-text h2 { margin-bottom: 28px; }
.f-detail { margin-top: 36px !important; max-width: 340px; }
.f-detail img { aspect-ratio: 1; object-fit: cover; }
@media (max-width: 900px) { .factory-grid { grid-template-columns: 1fr; } }

/* Others */
.others { padding-block: var(--step); }
.others-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: 40px 48px; }
.other { text-decoration: none; display: block; }
.other figure { margin: 0 0 18px; overflow: hidden; }
.other img { width: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform .5s; }
.other:hover img { transform: scale(1.02); }
.other-0 { grid-row: span 2; }
.other-0 img { aspect-ratio: 4 / 4.4; }
.other h3 { margin-bottom: 8px; }
.other p { color: var(--ink-2); max-width: 52ch; }
@media (max-width: 900px) { .others-grid { grid-template-columns: 1fr; } .other-0 { grid-row: auto; } .other-0 img { aspect-ratio: 4 / 3; } }

/* Featured projects */
.featured { padding-bottom: var(--step); }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 32px; }
.feat { text-decoration: none; display: block; }
.feat figure { margin: 0 0 14px; overflow: hidden; }
.feat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feat-0 { grid-column: 1 / -1; }
.feat-0 img { aspect-ratio: 21 / 9; }
.feat-name { display: block; font: 400 30px/1.1 var(--serif); }
.feat-sys { display: block; color: var(--ink-2); font-size: 15px; margin-top: 4px; }
@media (max-width: 800px) { .feat-grid { grid-template-columns: 1fr; } .feat-0 img { aspect-ratio: 4 / 3; } }

/* Reference index */
.ref-index { border-top: 1px solid var(--line); padding-block: var(--step); }
.idx { list-style: none; margin: 0; padding: 0; columns: 4 220px; column-gap: 40px; }
.idx li { padding: 7px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-size: 15px; }
.idx a { text-decoration: none; font-weight: 500; }
.idx a::after { content: " ↗"; color: var(--edge); font-size: .85em; }

/* CTA */
.cta { background: var(--ink); color: var(--paper); padding-block: clamp(64px, 8vw, 110px); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 56px; align-items: end; }
.cta p { color: #C5CEDB; }
.cta .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta .btn:hover { background: var(--glass); border-color: var(--glass); }
.link-tel { font: 500 18px var(--mono); text-decoration: none; }
@media (max-width: 800px) { .cta-grid { grid-template-columns: 1fr; } }

/* Product + group + page heads */
.p-head, .g-head { padding-top: 48px; padding-bottom: 56px; }
.p-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px 56px; align-items: end; }
.p-head h1, .g-head h1 { font-size: clamp(44px, 6.4vw, 100px); }
.p-kod { font-size: 16px; margin-bottom: 10px; color: var(--edge); }
.p-lede p:first-child { font-size: 19px; }
.p-lede .actions { margin-top: 20px; }
@media (max-width: 900px) { .p-head-grid { grid-template-columns: 1fr; } }
.p-hero { margin-block: 0 var(--step); }
.p-hero img { width: 100%; max-height: 82vh; object-fit: cover; }
.p-body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.p-side { position: sticky; top: 24px; }
@media (max-width: 1000px) { .p-body { grid-template-columns: 1fr; } .p-side { position: static; } }
.prose { font-size: 18px; }
.prose p, .prose li { max-width: 64ch; }
.prose h2 { font-size: clamp(30px, 3vw, 44px); margin: 1.4em 0 .5em; }
.prose h3 { margin: 1.4em 0 .4em; }
.p-text h2 { font-size: clamp(26px, 2.2vw, 34px); padding-top: 1.1em; border-top: 1px solid var(--line); }
.p-text h2:first-of-type { margin-top: 1.6em; }
.p-text h3 { font-family: var(--sans); font-weight: 600; font-size: 18px; letter-spacing: 0; }
.p-text ul { padding-left: 1.1em; }
.p-text li { margin-bottom: .45em; }
.p-kesit { margin: 0 0 40px; padding: 24px; background: var(--paper-2); }
.p-kesit figcaption { font: 13px var(--mono); color: var(--ink-2); margin-top: 6px; }
.h-small { font: 500 15px var(--sans); margin-bottom: 10px; }
.specs { margin: 0; border-top: 1px solid var(--ink); }
.specs div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.specs dt { color: var(--ink-2); }
.specs dd { margin: 0; font-family: var(--mono); font-size: 13.5px; }
.p-gallery, .p-sart, .p-refs, .p-siblings { margin-top: var(--step); }
.p-gallery h2, .p-refs h2, .p-siblings h2 { margin-bottom: 32px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 12px; }
.g-item { display: block; overflow: hidden; background: var(--paper-2); }
.g-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.g-item:hover img { transform: scale(1.03); }
.g-wide { grid-column: span 2; grid-row: span 2; }
.gallery-even { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } .g-wide { grid-column: 1 / -1; grid-row: auto; } }

/* Şartname */
.p-sart details { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.p-sart summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 24px 0; }
.p-sart summary::-webkit-details-marker { display: none; }
.p-sart summary::after { content: "+"; font: 300 40px/1 var(--sans); }
.p-sart details[open] summary::after { content: "–"; }
.sart { columns: 2 380px; column-gap: 56px; padding: 0 0 32px 1.2em; margin: 0; font-size: 15px; color: var(--ink-2); }
.sart li { break-inside: avoid; margin-bottom: 12px; }

/* Ref cards */
.ref-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ref-cards a { text-decoration: none; }
.ref-cards figure { margin: 0 0 10px; }
.ref-cards img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.ref-cards span { font: 400 24px var(--serif); }
@media (max-width: 800px) { .ref-cards { grid-template-columns: 1fr 1fr; } }
.p-siblings { border-top: 1px solid var(--line); padding-top: 48px; }
.p-siblings ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 36px; }
.p-siblings a { text-decoration: none; font-size: 18px; }

/* Group page */
.table-scroll { overflow-x: auto; margin-bottom: var(--step); }
.compare { width: 100%; border-collapse: collapse; min-width: 900px; font-size: 14px; }
.compare caption { text-align: left; font: 400 34px var(--serif); margin-bottom: 20px; }
.compare th, .compare td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare thead th { font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--ink); }
.compare tbody th a { text-decoration: none; font-weight: 500; }
.c-kesit .kesit { width: 180px; }
.g-items { list-style: none; margin: 0; padding: 0; }
.g-item-row a { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; text-decoration: none; padding-block: 40px; border-top: 1px solid var(--line); }
.g-item-row:nth-child(even) a { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.g-item-row:nth-child(even) figure { order: 2; }
.g-item-row figure { margin: 0; overflow: hidden; }
.g-item-row img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s; }
.g-item-row a:hover img { transform: scale(1.02); }
.g-item-row h2 { margin: 6px 0 14px; font-size: clamp(32px, 3.4vw, 50px); }
.g-item-row p { color: var(--ink-2); max-width: 48ch; }
.g-item-row .link-arrow { display: inline-block; margin-top: 8px; color: var(--ink); }
@media (max-width: 900px) { .g-item-row a, .g-item-row:nth-child(even) a { grid-template-columns: 1fr; gap: 20px; } .g-item-row:nth-child(even) figure { order: 0; } }
.g-body { margin-block: var(--step); }
.g-body p, .g-body li { max-width: none; }

/* References archive */
.refs { padding-bottom: var(--step); }
.ref-facts { margin: 24px 0 0; border-top: 1px solid var(--ink); }
.ref-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ref-facts dt { color: var(--ink-2); }
.ref-facts dd { margin: 0; }
.ref-body { margin-bottom: 40px; }
.next-ref { margin-block: var(--step); }
.next-ref a { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-top: 1px solid var(--ink); padding-top: 24px; text-decoration: none; }
.next-ref strong { font: 400 clamp(34px, 5vw, 72px)/1 var(--serif); }
.next-ref strong::after { content: " →"; }

/* Pages */
.page-body { margin-bottom: var(--step); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; padding-bottom: var(--step); }
.big { font: 400 clamp(28px, 3vw, 40px)/1.15 var(--serif); margin-bottom: 10px; }
.big a { text-decoration: none; }
.places { margin: 40px 0 0; }
.places div { padding: 16px 0; border-top: 1px solid var(--line); }
.places dt { font-weight: 500; margin-bottom: 4px; }
.places dd { margin: 0; color: var(--ink-2); }
.places .link-arrow { font-size: 14px; display: inline-block; margin-top: 6px; color: var(--ink); }
.contact-form h2 { margin-bottom: 28px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.form label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 18px; }
.form input:not([type=checkbox]), .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #B9B6AC; background: #FBFAF7; font: 400 16px var(--sans); color: var(--ink); border-radius: 0; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--edge); outline-offset: 0; border-color: var(--edge); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .f-row { grid-template-columns: 1fr; } }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { margin-top: 4px; accent-color: var(--edge); width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; }
.form-msg { padding: 14px 16px; margin-bottom: 20px; }
.form-msg.ok { background: #DCE5F2; }
.form-msg.err { background: #F1DCD5; }

/* Footer */
.site-foot { background: var(--navy-deep); color: #C5CEDB; padding-top: 72px; font-size: 15px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.foot-brand img { width: 129px; margin-bottom: 20px; }
.foot-h { font: 500 14px var(--sans); color: #fff; margin-bottom: 10px; }
.foot-list { list-style: none; padding: 0; margin: 0; }
.foot-list li { padding: 3px 0; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid #1E2C45; padding-block: 22px; font-size: 13px; }
.foot-legal p { margin: 0; }
.foot-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lb { position: fixed; inset: 0; background: rgba(9,18,36,.96); z-index: 200; display: grid; place-items: center; }
.lb[hidden] { display: none; }
.lb img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lb button { position: absolute; background: none; border: 0; color: #fff; font: 400 16px var(--sans); cursor: pointer; padding: 16px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; top: 50%; font-size: 32px !important; }
.lb-next { right: 10px; top: 50%; font-size: 32px !important; }

/* ---------- v2: architectural touches ---------- */
h1 em, h2 em, h3 em { font-style: italic; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--glass); border-color: var(--glass); color: var(--ink); }
.link-light { color: #fff; }
.link-light:hover { color: var(--glass); }

/* Header: transparent over the slider, solid once scrolled */
.site-head.is-over { position: fixed; transition: background .3s; }
.site-head.is-over.is-solid { background: var(--ink); }
.site-head.is-over.is-solid::before { opacity: 0; }

/* Hero slider */
.hs { position: relative; height: 100svh; min-height: 640px; max-height: 1100px; background: var(--navy-deep); color: #fff; overflow: hidden; }
.hs-stage, .hs-slide { position: absolute; inset: 0; margin: 0; }
.hs-slide { opacity: 0; transition: opacity .9s ease; }
.hs-slide.is-active { opacity: 1; z-index: 1; }
.hs-slide img, .hs-strip img { width: 100%; height: 100%; object-fit: cover; }
.hs-slide.is-active img { animation: hs-drift 9s ease-out both; }
@keyframes hs-drift { from { transform: scale(1.07); } to { transform: scale(1); } }
.hs-stage::after { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(90deg, rgba(9,18,36,.7) 0%, rgba(9,18,36,.25) 48%, rgba(9,18,36,0) 70%), linear-gradient(0deg, rgba(9,18,36,.78) 0%, rgba(9,18,36,0) 34%); pointer-events: none; }
.hs-strip { position: absolute; inset: 0; z-index: 2; margin: 0; transition: clip-path .85s cubic-bezier(.7,0,.2,1); }
/* module axes: faint verticals like a partition grid */
.hs-axes { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 6 - 1px), rgba(255,255,255,.08) calc(100% / 6 - 1px) calc(100% / 6)); }
.hs-text { position: relative; z-index: 5; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 60px; padding-bottom: 170px; }
.hs-text h1 { font-size: clamp(56px, 9vw, 148px); max-width: 8ch; line-height: .95; }
.hs-lede { max-width: 46ch; font-size: 18px; color: rgba(255,255,255,.86); margin-top: 28px; }
.hs-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 6; border-top: 1px solid rgba(255,255,255,.18); background: rgba(9,18,36,.5); }
.hs-bar-row { display: flex; justify-content: space-between; align-items: stretch; gap: 24px; }
.hs-nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); flex: 1; }
.hs-nav button { all: unset; cursor: pointer; display: block; width: 100%; box-sizing: border-box; padding: 18px 18px 20px 0; position: relative; }
.hs-nav button:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.hs-name { display: block; font: 400 21px/1.1 var(--serif); color: rgba(255,255,255,.6); transition: color .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-sys { display: block; font: 12px var(--mono); color: rgba(255,255,255,.45); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-nav button:hover .hs-name, .hs-nav [aria-current] .hs-name { color: #fff; }
.hs-nav [aria-current] .hs-sys { color: rgba(255,255,255,.8); }
/* progress drawn as a dimension line with ticks */
.hs-dim { position: absolute; left: 0; right: 18px; top: -1px; height: 2px; background: transparent; transition: background .2s; }
.hs-nav [aria-current] .hs-dim { background: #fff; }
.hs-ctrl { display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.hs-link { color: #fff; text-decoration: none; border-bottom: 1px solid currentColor; font-weight: 500; font-size: 15px; }
.hs-link::after { content: " →"; }
.hs-pause { background: none; border: 1px solid rgba(255,255,255,.5); color: #fff; font: 500 13px var(--sans); padding: 7px 12px; cursor: pointer; }
.hs-pause:hover { border-color: #fff; }
@media (max-width: 1000px) {
  .hs { height: 92svh; min-height: 600px; }
  .hs-nav { grid-template-columns: repeat(6, 1fr); }
  .hs-nav button { padding: 14px 8px 14px 0; }
  .hs-name, .hs-sys { display: none; }
  .hs-dim { right: 8px; top: 22px; background: rgba(255,255,255,.25); }
  .hs-nav [aria-current] .hs-dim { background: #fff; }
  .hs-text { padding-bottom: 140px; }
  .hs-ctrl { gap: 12px; }
}
/* Phones: the six slide buttons take the full row so each is wide enough to tap; link and pause sit under them. */
@media (max-width: 600px) {
  .hs-bar-row { flex-wrap: wrap; gap: 0; }
  .hs-nav { flex: 1 0 100%; }
  .hs-ctrl { width: 100%; justify-content: space-between; padding-bottom: 14px; }
  .hs-text { padding-bottom: 170px; }
}
@media (prefers-reduced-motion: reduce) { .hs-slide.is-active img { animation: none; } .hs-strip { transition: none; } }

/* System index with drawing panel */
.sx { padding-block: var(--step); background-image: repeating-linear-gradient(90deg, transparent 0 119px, rgba(27,29,30,.045) 119px 120px); }
.sx-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.sx-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.sx-row a { display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; gap: 4px 20px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); text-decoration: none; position: relative; }
.sx-row a::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--ink); transition: width .5s cubic-bezier(.7,0,.2,1); }
.sx-row.is-on a::before { width: 100%; }
.sx-kod { color: var(--edge); }
.sx-name { font: 400 clamp(26px, 2.6vw, 38px)/1.05 var(--serif); transition: transform .3s; }
.sx-row.is-on .sx-name { transform: translateX(10px); }
.sx-mm { text-align: right; color: var(--ink-2); }
.sx-sum { grid-column: 2 / 4; color: var(--ink-2); font-size: 15px; max-width: 56ch; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s, opacity .3s, margin .3s; }
.sx-row.is-on .sx-sum { max-height: 120px; opacity: 1; margin-top: 8px; }
.sx-thumb { display: none; }
.sx-panel { position: sticky; top: 96px; }
.sx-photo { margin: 0; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--paper-2); }
.sx-photo img { width: 100%; height: 100%; object-fit: cover; animation: sx-in .6s cubic-bezier(.2,.7,.2,1); }
@keyframes sx-in { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
.sx-draw { margin-top: 16px; padding: 22px 22px 14px; background: #fff; border: 1px solid var(--line); }
.sx-draw .kesit { width: 100%; height: auto; display: block; margin-bottom: 10px; }
.sx-draw dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.sx-draw dl { margin: 0; font-size: 13px; }
.sx-draw dl div { padding: 6px 0; border-bottom: 1px solid var(--line); }
.sx-draw dt { color: var(--alu-text); font-size: 12px; }
.sx-draw dd { margin: 0; font-family: var(--mono); font-size: 12.5px; }
@media (max-width: 1000px) {
  .sx-grid { grid-template-columns: 1fr; }
  .sx-panel { display: none; }
  .sx-row a { grid-template-columns: 64px minmax(0, 1fr) 96px; }
  .sx-thumb { display: block; grid-row: 1 / span 2; grid-column: 3; }
  .sx-thumb img { width: 96px; aspect-ratio: 1; object-fit: cover; }
  .sx-mm { display: none; }
  .sx-sum { grid-column: 2 / 3; max-height: none; opacity: 1; margin-top: 6px; }
  .sx-row.is-on .sx-name { transform: none; }
}

/* Annotated detail */
.dt { padding-block: var(--step); background: var(--paper-2); }
.dt-fig { position: relative; margin: 0; }
.dt-fig img { width: 100%; height: auto; display: block; }
.dt-pt { position: absolute; transform: translate(-7px, -7px); background: none; border: 0; padding: 0; cursor: pointer; color: #fff; font: inherit; text-align: left; }
.dt-dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.3); }
.dt-dot::after { content: ""; position: absolute; inset: -9px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; animation: dt-ping 2.4s ease-out infinite; }
@keyframes dt-ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.dt-label { position: absolute; top: 7px; width: max-content; max-width: 260px; padding: 10px 12px; background: rgba(12,23,41,.9); font-size: 13.5px; line-height: 1.4; }
.dt-label strong { font-weight: 600; }
.dt-r .dt-label { left: 46px; transform: translateY(-50%); }
.dt-l .dt-label { right: 46px; transform: translateY(-50%); }
.dt-r .dt-label::before, .dt-l .dt-label::before { content: ""; position: absolute; top: 50%; width: 32px; height: 1px; background: #fff; }
.dt-r .dt-label::before { right: 100%; } .dt-l .dt-label::before { left: 100%; }
.dt-text { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 40px; }
@media (prefers-reduced-motion: reduce) { .dt-dot::after { animation: none; } }
@media (max-width: 900px) {
  .dt-label { display: none; }
  .dt-pt[aria-expanded="true"] .dt-label { display: block; left: 50%; right: auto; top: 26px; transform: translateX(-50%); max-width: 70vw; }
  .dt-pt[aria-expanded="true"] .dt-label::before { display: none; }
  .dt-text { grid-template-columns: 1fr; gap: 0; }
}

/* Project strip */
.pj { padding-block: var(--step) 0; }
.pj-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; }
.pj-ctrl { display: flex; align-items: center; gap: 12px; }
.pj-ctrl .link-arrow { margin-right: 16px; }
.pj-btn { width: 48px; height: 48px; border: 1px solid var(--ink); background: none; font-size: 20px; cursor: pointer; }
.pj-btn:hover { background: var(--ink); color: var(--paper); }
.pj-strip { --pj-pad: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); list-style: none; margin: 0; padding: 0 var(--pj-pad) 8px; scroll-padding-inline: var(--pj-pad); display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.pj-strip::-webkit-scrollbar { display: none; }
.pj-strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.pj-item { flex: 0 0 auto; scroll-snap-align: start; }
.pj-item a { text-decoration: none; display: block; }
.pj-item figure { margin: 0 0 14px; overflow: hidden; }
.pj-item img { height: clamp(300px, 42vw, 560px); width: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; pointer-events: none; }
.pj-1 img { aspect-ratio: 3 / 4; }
.pj-item a:hover img { transform: scale(1.03); }
.pj-name { display: block; font: 400 28px/1.1 var(--serif); }
.pj-sys { display: block; margin-top: 4px; }
@media (max-width: 700px) { .pj-item img { height: 62vw; } .pj-ctrl .pj-btn { display: none; } }
.pj + .ref-index { margin-top: var(--step); }

/* Navy section: annotated detail */
.dt { background: var(--navy-deep); color: #E8EDF5; }
.dt .sec-head p, .dt-text p { color: #B9C4D6; }
.dt h2 em { color: #9FB6DD; }

/* Blog */
.post-meta { margin: 18px 0 0; }
.post-meta a { color: inherit; }
.post-title { font-size: clamp(40px, 5vw, 76px) !important; }
.post-body { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 72px; align-items: start; }
.post-side { position: sticky; top: 24px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: toc; }
.toc li { counter-increment: toc; border-bottom: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: 2.2em 1fr; padding: 10px 0; font-size: 14.5px; line-height: 1.35; text-decoration: none; color: var(--ink-2); }
.toc a::before { content: counter(toc, decimal-leading-zero); font: 12px/1.6 var(--mono); color: var(--alu-text); }
.toc a:hover { color: var(--edge); }
.post-text { max-width: 760px; }
.post-text > p:first-child { font-size: 20px; line-height: 1.55; }
.post-text h2 { font-size: clamp(28px, 2.6vw, 38px); scroll-margin-top: 24px; }
.post-text h3 { font: 600 18px var(--sans); letter-spacing: 0; }
.post-text ul, .post-text ol { padding-left: 1.1em; }
.post-text li { margin-bottom: .45em; }
.post-text figure { margin: 40px 0; }
.post-text figure img { width: 100%; height: auto; display: block; }
.post-text figcaption { font: 13px/1.5 var(--mono); color: var(--ink-2); margin-top: 10px; }
.post-text .table-scroll { margin: 28px 0; }
.post-text table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.post-text th, .post-text td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.post-text th { font-weight: 600; border-bottom-color: var(--ink); }
.post-faq { margin-top: var(--step); }
.post-faq > h2 { margin-bottom: 24px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 20px 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 300 30px/1 var(--sans); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list h3 { font: 500 19px/1.35 var(--sans); }
.faq-list p { max-width: 70ch; margin: 0 0 22px; color: var(--ink-2); }
.post-more { margin-top: var(--step); }
.post-more > h2 { margin-bottom: 32px; }
.post-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.post-cards a, .blog-feature a { text-decoration: none; display: block; }
.post-cards figure, .blog-feature figure { margin: 0; overflow: hidden; background: var(--paper-2); }
.post-cards img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.post-cards h2 { font-size: 28px; line-height: 1.1; margin: 8px 0 10px; }
.post-cards p:last-child { font-size: 15.5px; color: var(--ink-2); margin: 0; }
.post-cards a:hover img, .blog-feature a:hover img { transform: scale(1.03); }
.blog-feature { margin-bottom: 72px; }
.blog-feature a { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 48px; align-items: end; }
.blog-feature figure { grid-row: span 3; }
.blog-feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s; }
.blog-feature h2 { font-size: clamp(32px, 3.4vw, 52px); margin: 6px 0 12px; }
.blog-feature p:last-child { color: var(--ink-2); margin: 0; }
.cat-nav ul { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
.cat-nav a { text-decoration: none; color: var(--ink-2); padding-bottom: 4px; border-bottom: 1px solid transparent; }
.cat-nav a[aria-current], .cat-nav a:hover { color: var(--ink); border-bottom-color: currentColor; }
.blog-list { padding-bottom: var(--step); }
.blog-list .pagination { margin-top: 56px; }
@media (max-width: 1000px) { .post-body { grid-template-columns: minmax(0, 1fr); gap: 0; } .post-side { position: static; margin-bottom: 40px; } }
@media (max-width: 900px) { .blog-feature a { grid-template-columns: 1fr; } .blog-feature figure { grid-row: auto; } }
@media (max-width: 800px) { .post-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .post-cards { grid-template-columns: 1fr; } }

/* Tools for architects and contractors */
.tools-box { margin: 36px 0 0; border-top: 1px solid var(--ink); padding-top: 14px; }
.tools-box ul { list-style: none; margin: 0; padding: 0; }
.tools-box li { border-bottom: 1px solid var(--line); }
.tools-box a { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; text-decoration: none; font-weight: 500; }
.tools-box a::after { content: "↓"; font-weight: 400; color: var(--alu); margin-left: 12px; }
.tools-box li:last-child a::after { content: "→"; }
.tools-box a:hover { color: var(--edge); }
.sart-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0 0 24px; }
.sart-note { font-size: 14px; color: var(--ink-2); }

/* Metraj calculator */
.calc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; padding-bottom: var(--step); }
.calc fieldset { border: 0; border-top: 1px solid var(--ink); margin: 0 0 28px; padding: 18px 0 0; }
.calc legend { font: 400 26px var(--serif); padding: 0 16px 0 0; }
.calc-hint { font-size: 14px; color: var(--ink-2); margin: -4px 0 16px; }
.calc input[type=range] { width: 100%; margin-top: 10px; accent-color: var(--edge); padding: 0; border: 0; background: none; }
.calc output { font-family: var(--mono); }
.walls { list-style: none; margin: 0 0 8px; padding: 0; counter-reset: w; }
.walls li { display: grid; grid-template-columns: 2.2em minmax(0, 3fr) minmax(0, 2fr) 40px; gap: 0 14px; align-items: end; counter-increment: w; }
.walls li::before { content: counter(w, decimal-leading-zero); font: 13px var(--mono); color: var(--alu-text); padding-bottom: 32px; }
.w-del { height: 46px; margin-bottom: 18px; border: 1px solid #B9B6AC; background: transparent; font-size: 20px; cursor: pointer; color: var(--ink-2); }
.w-del:hover { border-color: var(--ink); color: var(--ink); }
.btn-plain { background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 2px; cursor: pointer; font: 500 15px var(--sans); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.calc-out { position: sticky; top: 24px; background: var(--ink); color: var(--paper); padding: 28px 28px 24px; }
.calc-out .h-small { color: var(--paper); border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 10px; }
.calc-res { margin: 0; }
.calc-res div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 14.5px; }
.calc-res dt { color: #C6CDD8; }
.calc-res dd { margin: 0; text-align: right; font-family: var(--mono); font-size: 13.5px; }
.calc-res .big dd { font: 400 30px/1 var(--serif); }
.calc-res .big { align-items: end; }
.calc-note { font-size: 13px; color: #C6CDD8; margin: 16px 0 20px; }
.calc-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin: 0; }
.calc-out .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.calc-out .btn:hover { background: var(--glass); border-color: var(--glass); }
.calc-out .btn-ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.5); }
.calc-out .btn-plain { color: var(--paper); }
.calc-body { padding-bottom: var(--step); }
.calc-form { padding-bottom: var(--step); max-width: 820px; }
.calc-form .contact-form > p { color: var(--ink-2); margin: -12px 0 28px; }
@media (max-width: 1000px) { .calc { grid-template-columns: minmax(0, 1fr); } .calc-out { position: static; } }
@media (max-width: 560px) { .walls li { grid-template-columns: minmax(0, 1fr) 7em 40px; } .walls li::before { display: none; } }
@media print { .site-head, .site-foot, .calc-body, .calc-form, .calc-actions, .crumbs, .cta { display: none !important; } .calc { grid-template-columns: 1fr 1fr; } .calc-out { position: static; } }

.tools-top { margin: 0 0 32px; }

/* Glossary */
.az { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.az a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); text-decoration: none; font: 500 15px var(--mono); }
.az a:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.gloss { padding-bottom: var(--step); }
.gloss-group { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 0 40px; border-top: 1px solid var(--ink); padding-top: 20px; margin-bottom: 40px; scroll-margin-top: 24px; }
.gloss-letter { font-size: 64px; line-height: .9; }
.gloss dl { margin: 0; }
.gloss dl > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 8px 40px; padding: 4px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 18px; scroll-margin-top: 24px; }
.gloss dl > div:target { background: #E7EDF6; outline: 12px solid #E7EDF6; }
.gloss dt { font: 400 26px/1.15 var(--serif); }
.gloss dd { margin: 0; }
.gloss dd p { margin: 0 0 8px; max-width: 68ch; }
.gloss-see { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14.5px; }
.gloss-body { padding-bottom: var(--step); }
@media (max-width: 800px) { .gloss-group { grid-template-columns: 1fr; } .gloss dl > div { grid-template-columns: 1fr; } .gloss-letter { font-size: 44px; margin-bottom: 12px; } }

/* WhatsApp: fixed chat link on every page, palette colours, plain rectangle; icon only on phones */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 150; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 16px; background: var(--ink); color: var(--paper); border: 1px solid var(--paper); text-decoration: none; font: 500 15px/1 var(--sans); box-shadow: 0 8px 24px rgba(9,18,36,.28); }
.wa-float:hover { background: var(--edge); color: var(--paper); }
.wa-float:focus-visible { outline: 2px solid var(--edge); outline-offset: 3px; }
@media (max-width: 800px) { .wa-float { width: 52px; height: 52px; padding: 0; justify-content: center; } .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media print { .wa-float { display: none; } }
/* The page ends below the fixed WhatsApp button, so it never covers the last footer line (Kilij credit, legal links). */
.foot-legal { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }

/* OSKO's CAD system details (assets/detay), white sheet so the plotted colours read as drawn */
.p-detay { margin-top: var(--step); }
.p-detay h2 { margin-bottom: 32px; }
.detay-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.detay { margin: 0; }
.detay a { position: relative; display: block; aspect-ratio: 1; background: #fff; }
.detay img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; }
.detay figcaption { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 1000px) { .detay-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .detay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } .detay img { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); } }
.p-kesit-cad { background: #fff; }
.p-kesit-cad img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: contain; }
.sx-detay { margin: 0 0 10px; }
.sx-detay img { display: block; width: 100%; height: 220px; object-fit: contain; }
.sx-detay figcaption { margin-top: 8px; font-size: 12px; color: var(--alu-text); }
.c-kesit img { display: block; width: 180px; height: 110px; object-fit: contain; background: #fff; }
.lb img[src*=".svg"] { width: 92vw; height: 88vh; padding: 2vh 2vw; box-sizing: border-box; background: #fff; }

/* References: project register with a contact strip of each project's own photos */
.ref-filter { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 48px; }
.ref-filter[hidden] { display: none; }
.ref-filter button { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 0; font: 500 15px/1.25 var(--sans); color: var(--ink-2); cursor: pointer; }
.ref-filter button:hover { color: var(--edge); }
.ref-filter button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.ref-filter button:focus-visible { outline: 2px solid var(--edge); outline-offset: 4px; }
.ref-n { font-weight: 400; color: var(--alu-text); margin-left: 4px; }
.ref-defter { display: grid; gap: 88px; padding-top: 24px; padding-bottom: var(--step); }
.ref-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-areas: "head strip" "ex strip"; grid-template-rows: auto 1fr; column-gap: 48px; align-items: start; }
.ref-row[hidden] { display: none; }
.ref-head { grid-area: head; }
.ref-head h2 { font-size: clamp(32px, 3.2vw, 48px); margin: 0; }
.ref-head h2 a { text-decoration: none; }
.ref-head h2 a:hover { color: var(--edge); }
.ref-sektor { margin: 12px 0 0; font-size: 14px; color: var(--alu-text); }
.ref-ex { grid-area: ex; margin: 20px 0 0; max-width: 42ch; color: var(--ink-2); }
.ref-strip { grid-area: strip; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; height: clamp(240px, 24vw, 340px); }
.ref-strip-2 { grid-template-columns: 2fr 1fr; }
.ref-strip-1 { grid-template-columns: 1fr; }
.ref-strip li, .ref-strip a { display: block; height: 100%; overflow: hidden; background: var(--paper-2); }
.ref-strip img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.ref-strip a:hover img { transform: scale(1.04); }
.idx-plain li { font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .ref-strip img { transition: none; } }
@media (max-width: 800px) {
  .ref-filter { gap: 0 20px; margin-top: 32px; }
  .ref-defter { gap: 56px; }
  .ref-row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "strip" "ex"; row-gap: 16px; }
  .ref-ex { margin-top: 0; }
  .ref-strip, .ref-strip-2, .ref-strip-1 { display: flex; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .ref-strip::-webkit-scrollbar { display: none; }
  .ref-strip li { flex: 0 0 78%; height: 58vw; scroll-snap-align: start; }
  .ref-strip-1 li { flex-basis: 100%; }
}
