/* Olympos Web ozelk — the custom-work portfolio in the kinetic look. Loads after k/site.css (the system) and 02k.css
   (the shared sections: fields, chips, buttons, extras, questions, form, footer); this file lays out what is this
   page's own. Every colour is a field token (k/site.css). */

[hidden] { display: none !important; }

/* ---------- 1 · Hero ---------- */
.hero .pin { gap: clamp(20px, 3.4svh, 40px); }
.hero-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); width: min(100%, 1100px); text-align: left; }
.hpr { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; justify-items: start; align-content: start; padding: clamp(16px, 2vw, 24px); border-radius: 18px; background: var(--plate); }
.hpr-name { font-size: 1.15rem; font-variation-settings: "wght" 780, "wdth" 106; }
.hpr-price { font-size: 1.05rem; line-height: 1.2; font-variation-settings: "wght" 560, "wdth" 104; }
.hpr-price b { display: block; font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.8rem); line-height: 1; letter-spacing: -.025em; font-variation-settings: "wght" 860, "wdth" 100; }
.hpr-price.is-text { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); font-weight: 800; font-variation-settings: "wght" 820, "wdth" 100; }
.hpr-main .hpr-price b { color: var(--acc); }
.hpr .btn-in { font-size: 1rem; padding: .85em 1.3em; }

.hpick { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 3vw, 44px); align-items: start; width: min(100%, 1100px); text-align: left; padding: clamp(18px, 2.4vw, 32px); border-radius: 22px; background: var(--plate); }
.hp-left { display: grid; gap: 14px; min-width: 0; }
.picker { border: 0; padding: 0; margin: 0; min-width: 0; }
.picker legend { padding: 0; margin: 0 0 12px; font-size: 1.15rem; font-variation-settings: "wght" 780, "wdth" 108; }
.picker .chips { justify-content: flex-start; }
.picker .chip:not([aria-pressed="true"]) { background: color-mix(in srgb, var(--fg) 14%, var(--bg)); }
.hp-result { min-height: 1.5em; font-size: 1rem; font-variation-settings: "wght" 600, "wdth" 104; color: var(--soft); }
.hrows { display: grid; gap: 8px; }
.hrow { display: grid; gap: 10px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--fg) 8%, var(--bg)); transition: background .35s var(--ease); }
.hrow.is-current { background: color-mix(in srgb, var(--fg) 18%, var(--bg)); }
.hr-main { display: grid; gap: 2px; min-width: 0; }
.hr-b { font-size: 1.3rem; line-height: 1.1; letter-spacing: -.01em; font-weight: 800; font-variation-settings: "wght" 800, "wdth" 106; }
.hr-a { font-size: .98rem; line-height: 1.35; color: var(--soft); overflow-wrap: anywhere; }
.hr-tag { font-size: .9rem; color: var(--soft); }
.hr-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-more { justify-self: start; }
.hp-prev { position: sticky; top: 88px; min-width: 0; }

/* ---------- 2 · Portfolio ---------- */
.tiles { grid-auto-flow: dense; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 3.4vw, 52px) clamp(16px, 2.2vw, 32px); }
.tile { display: grid; gap: 14px; align-content: start; min-width: 0; }
.tile-pair { grid-column: span 2; }
.tile-shots { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.tile-pair .tile-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile-shot { position: relative; display: block; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 16px; overflow: hidden; background: var(--plate); }
.tile-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tile-v { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .88rem; line-height: 1; font-variation-settings: "wght" 760, "wdth" 108; }
.tile-body { display: grid; gap: 8px; align-content: start; }
.tile-name { font-size: var(--t-h3); line-height: 1.02; letter-spacing: -.015em; font-weight: 800; font-variation-settings: "wght" 800, "wdth" 104; }
.tile-meta { display: grid; gap: 2px; }
.tile-ind { font-size: 1.05rem; line-height: 1.35; }
.tile-tag { font-size: .92rem; color: var(--soft); }
.tile-two { max-width: 62ch; font-size: 1rem; line-height: 1.5; color: var(--soft); }
.tile-two strong { color: var(--fg); font-variation-settings: "wght" 780, "wdth" 106; }
.tile-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* ---------- 3 · Two approaches ---------- */
.pair { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 3.6vw, 56px); align-items: start; text-align: left; }
.pair-side { display: grid; gap: 20px; min-width: 0; justify-items: start; }
.pair-side .lead { text-align: left; text-wrap: pretty; }
.pair-list { display: grid; gap: 6px; width: 100%; }
.pair-list button { appearance: none; border: 0; cursor: pointer; width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 14px; min-height: 48px; padding: 10px 16px; border-radius: 14px; text-align: left; color: var(--fg); background: color-mix(in srgb, var(--ink) 22%, var(--bg)); transition: background .3s var(--ease), color .3s var(--ease); }
.pair-list button:hover { background: color-mix(in srgb, var(--ink) 38%, var(--bg)); }
.pair-list button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.pl-b { font-size: 1.2rem; font-variation-settings: "wght" 800, "wdth" 106; }
.pl-i { font-size: .95rem; }
.pair-stage { margin: 0; min-width: 0; display: grid; gap: 12px; }
.pair-frame { --split: 50%; position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 18px; overflow: hidden; background: var(--plate); cursor: ew-resize; touch-action: pan-y; user-select: none; }
.pair-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.pair-a { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.pair-line { position: absolute; top: 0; bottom: 0; left: var(--split); width: 4px; margin-left: -2px; background: var(--paper); pointer-events: none; }
.pair-knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ink); }
.pair-knob svg { width: 22px; height: 22px; }
.pair-lab { position: absolute; top: 12px; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .88rem; line-height: 1; font-variation-settings: "wght" 760, "wdth" 108; pointer-events: none; }
.pair-lab-a { left: 12px; }
.pair-lab-b { right: 12px; }
.pair-range input { display: block; width: 100%; height: 32px; margin: 0; accent-color: var(--paper); cursor: pointer; }
.pair-cap { display: grid; gap: 6px; margin-top: 6px; }
.pair-name { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.02; letter-spacing: -.015em; font-weight: 800; font-variation-settings: "wght" 800, "wdth" 104; }
.pair-meta { font-size: 1rem; }
.pair-d { max-width: 64ch; font-size: 1.02rem; line-height: 1.5; text-wrap: pretty; }
.pair-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
/* Full mode, wide screens: the section is pinned one screen tall while the scroll moves the line */
.motion .pair-sec { min-height: 100svh; display: grid; align-content: center; padding-block: clamp(72px, 10svh, 104px) clamp(20px, 3svh, 32px); }
.motion .pair-sec .sec-h { margin-bottom: clamp(14px, 2.4svh, 28px); }
.pair-sec .kt { max-width: none; }
.motion .pair-stage { max-width: calc((100svh - 330px) * 1.6); justify-self: end; width: 100%; }

/* ---------- 4 · Steps ---------- */
.oz-steps { display: grid; gap: clamp(12px, 1.6vw, 20px); }
.ps { display: grid; grid-template-columns: clamp(52px, 8vw, 110px) minmax(0, 1fr) minmax(0, 260px); gap: clamp(14px, 3vw, 44px); align-items: center; padding: clamp(18px, 2.6vw, 34px); border-radius: 18px; background: var(--plate); text-align: left; }
.ps-n { font-size: var(--t-figure); line-height: 1; letter-spacing: -.03em; font-weight: 850; font-variation-settings: "wght" 850, "wdth" 100; color: var(--acc); }
.ps-main { display: grid; gap: 10px; min-width: 0; }
.ps-t { font-size: var(--t-h3); line-height: 1.02; letter-spacing: -.02em; font-weight: 800; font-variation-settings: "wght" 800, "wdth" 100; text-wrap: balance; }
.ps-d { max-width: 58ch; font-size: 1.08rem; line-height: 1.5; text-wrap: pretty; }
.ps-fig { width: 100%; height: auto; color: var(--fg); overflow: visible; }
.ps-fig .acc { stroke: var(--acc); }
.ps-fig .tint { fill: color-mix(in srgb, var(--acc) 22%, transparent); }

/* ---------- 5 · Price ---------- */
.oz-one { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin-inline: auto; }
.oz-one .bl { grid-template-rows: none; }
.oz-more-price { display: grid; gap: 10px; justify-items: center; text-align: center; margin: clamp(40px, 6svh, 72px) auto 0; max-width: 62ch; }
.oz-more-price h3, .oz-extras-h h3 { font-size: var(--t-h3); line-height: 1.05; letter-spacing: -.015em; font-weight: 800; font-variation-settings: "wght" 800, "wdth" 104; text-wrap: balance; }
.oz-more-price p { font-size: 1.1rem; line-height: 1.55; color: var(--soft); text-wrap: pretty; }
.oz-extras { margin-top: clamp(48px, 8svh, 96px); }
.oz-extras-h { display: grid; gap: 12px; justify-items: center; text-align: center; margin-bottom: clamp(24px, 4svh, 40px); }
.ex h4 { grid-area: t; font-size: clamp(1.35rem, 1rem + 1.1vw, 2rem); line-height: 1.05; letter-spacing: -.015em; font-weight: 800; font-variation-settings: "wght" 800, "wdth" 104; }

/* ---------- 6 · Comparison ---------- */
.cmp { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0 8px; text-align: left; }
.cmp thead th { padding: 0 20px 6px; font-size: var(--t-h3); line-height: 1.05; letter-spacing: -.015em; font-weight: 800; font-variation-settings: "wght" 800, "wdth" 104; vertical-align: bottom; }
.cmp tr.k th { padding: 18px 4px 2px; font-size: 1rem; font-variation-settings: "wght" 780, "wdth" 110; }
.cmp td { padding: 18px 20px; vertical-align: top; background: color-mix(in srgb, #fff 16%, var(--bg)); font-size: 1.05rem; line-height: 1.5; overflow-wrap: break-word; }
.cmp td:first-child { border-radius: 16px 0 0 16px; }
.cmp td:last-child { border-radius: 0 16px 16px 0; }
.cmp td a { text-underline-offset: .2em; }
.cmp-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: clamp(28px, 5svh, 52px); }

/* ---------- 7, 8 · Questions, form ---------- */
.form-sec .sec-h .lead + .lead { margin-top: -6px; }

/* ---------- Narrow screens ---------- */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-prices { grid-template-columns: minmax(0, 1fr); }
  .hpick { grid-template-columns: minmax(0, 1fr); }
  .hp-prev { display: none; }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .pair-stage { order: -1; }
  .ps { grid-template-columns: minmax(0, 1fr) minmax(0, 200px); grid-template-areas: "n fig" "main main"; }
  .ps-n { grid-area: n; font-size: clamp(2.6rem, 12vw, 4rem); }
  .ps-fig { grid-area: fig; max-width: 200px; }
  .ps-main { grid-area: main; }
}
@media (max-width: 760px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile-pair { grid-column: auto; }
  .tile-pair .tile-shots { grid-template-columns: minmax(0, 1fr); }
  .cmp { border-spacing: 0 6px; }
  .cmp thead th { padding: 0 12px 4px; font-size: 1.25rem; }
  .cmp td { padding: 14px 12px; font-size: 1rem; }
  .cmp-acts .btn { width: 100%; text-align: center; }
  .cmp-acts .btn-in { width: 100%; justify-content: center; }
}
@media (prefers-contrast: more) {
  .hp-result, .hr-a, .hr-tag, .tile-tag, .tile-two, .oz-more-price p { color: inherit; }
}

/* small buttons on the cobalt field: darkened, not lightened, so paper text keeps 4.5:1 in the calm palettes */
.pair-sec .btn-s { background: color-mix(in srgb, var(--ink) 24%, var(--bg)); }
.pair-sec .btn-s:hover { background: color-mix(in srgb, var(--ink) 40%, var(--bg)); }
