/* DAG KNUDSEN — stilark
   Bildene først. Rolig typografi, mye luft, lys og mørk modus. */

:root {
  --bg: #FAFAF8;
  --bg-2: #F1F0ED;
  --ph: #E8E7E3;
  --fg: #111112;
  --fg-2: #4A4A4E;
  --muted: #86858A;
  --line: #E4E3DF;
  --inv-bg: #0C0C0D;
  --inv-fg: #F3F2EF;

  --serif: "Instrument Serif", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Geist", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

  --gutter: clamp(18px, 3.2vw, 44px);
  --maxw: 1440px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0B0C; --bg-2: #141416; --ph: #1B1B1E;
    --fg: #F2F1EE; --fg-2: #BDBCB8; --muted: #7F7E84; --line: #232326;
    --inv-bg: #F2F1EE; --inv-fg: #0B0B0C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B0B0C; --bg-2: #141416; --ph: #1B1B1E;
  --fg: #F2F1EE; --fg-2: #BDBCB8; --muted: #7F7E84; --line: #232326;
  --inv-bg: #F2F1EE; --inv-fg: #0B0B0C;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 1rem; line-height: 1.65; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .4s ease, color .4s ease; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 12px; z-index: 300; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.label { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.6; color: var(--fg-2); max-width: 52ch; }
.statement { font-family: var(--serif); font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.15; max-width: 26ch; }
.statement em { font-style: italic; }

/* Bilder toner inn når de er lastet */
.js img.fade:not(.is-loaded) { opacity: 0; }
img.fade { transition: opacity .9s var(--ease), transform 1.2s var(--ease); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; padding-top: env(safe-area-inset-top, 0px); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background-color .4s ease, color .4s ease, box-shadow .4s ease; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-size: .88rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.nav-right { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 2.6vw, 38px); }
.nav ul a { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; position: relative; padding-block: 6px; opacity: .78; transition: opacity .25s; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav ul a:hover, .nav ul a[aria-current="page"] { opacity: 1; }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }

/* Temabryter: en halvfylt sirkel – lys og mørk speilet */
.theme-toggle { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: inherit; font: inherit; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; cursor: pointer; padding: 6px 0; }
.theme-toggle .dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); transition: transform .6s var(--ease); }
.theme-toggle:hover .dot { transform: rotate(180deg); }
.menu-btn { display: none; background: none; border: 0; color: inherit; font: inherit; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; cursor: pointer; padding: 6px 0; }

/* Forsiden: headeren ligger over bildet */
.home .site-header:not(.scrolled):not(.menu-open) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .theme-toggle .txt { display: none; }
  .nav ul { position: fixed; inset: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); background: var(--bg); color: var(--fg); flex-direction: column; gap: 0; padding: 24px var(--gutter); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
  .site-header.menu-open ul { opacity: 1; pointer-events: auto; }
  .site-header.menu-open { background: var(--bg); color: var(--fg); }
  .nav ul a { display: block; font-family: var(--serif); font-size: 2.4rem; letter-spacing: 0; text-transform: none; font-weight: 400; padding-block: 10px; opacity: 1; }
  .nav ul a::after { display: none; }
}

main { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
.home main { padding-top: 0; }

/* ---------- Seksjoner ---------- */
section { padding-block: clamp(72px, 10vw, 160px); }
.tone { background: var(--bg-2); transition: background-color .4s ease; }
.inv { background: var(--inv-bg); color: var(--inv-fg); --fg: var(--inv-fg); --fg-2: color-mix(in srgb, var(--inv-fg) 72%, transparent); --muted: color-mix(in srgb, var(--inv-fg) 55%, transparent); --line: color-mix(in srgb, var(--inv-fg) 16%, transparent); }
.sec-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.sec-top h2 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4.2rem); }
.stack { display: grid; gap: 14px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); align-items: center; }
.split > * { min-width: 0; }
.split.wide-img { grid-template-columns: 1.25fr 1fr; }
@media (max-width: 860px) { .split, .split.wide-img { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 1.1em; max-width: 54ch; }
.prose p { color: var(--fg-2); }
.prose strong { color: var(--fg); font-weight: 500; }
.h-xl { font-size: clamp(2.8rem, 1.6rem + 5vw, 6rem); }
.h-l { font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.8rem); }
.h-m { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }

.arrow { display: inline-flex; align-items: center; gap: 12px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; padding-bottom: 6px; border-bottom: 1px solid currentColor; transition: gap .3s var(--ease); }
.arrow::after { content: "→"; font-size: .95rem; letter-spacing: 0; }
.arrow:hover { gap: 18px; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; background: var(--fg); color: var(--bg); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; transition: opacity .3s; }
.btn:hover { opacity: .82; }
.btn.line { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }

/* ---------- Forside: bildestripe ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; max-height: 1100px; padding: 0; background: #0B0B0C; color: #fff; overflow: hidden; }
.hero-strip { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; }
.hero-col { position: relative; overflow: hidden; }
.hero-col img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 7s linear; }
.hero-col img.on { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 62%, rgba(0,0,0,.55) 100%); }
.hero-meta { position: absolute; inset: auto 0 0 0; z-index: 2; padding-bottom: clamp(24px, 4vw, 48px); }
.hero-meta .wrap { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.hero-title { font-family: var(--serif); font-size: clamp(2.6rem, 1.4rem + 5vw, 6.2rem); line-height: .98; max-width: 12ch; }
.hero-cap { display: grid; gap: 6px; text-align: right; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.hero-cap a { border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 3px; justify-self: end; }
.hero-dots { display: flex; gap: 8px; justify-content: flex-end; }
.hero-dots button { width: 22px; height: 2px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.hero-dots button[aria-current="true"] { background: #fff; }
@media (max-width: 700px) {
  .hero-strip { grid-template-columns: 1fr; }
  .hero-col:not(:nth-child(2)) { display: none; }
  .hero-meta .wrap { flex-direction: column; align-items: start; }
  .hero-cap { text-align: left; } .hero-cap a { justify-self: start; } .hero-dots { justify-content: flex-start; }
}

/* ---------- Utvalgte arbeider ---------- */
.works-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 28px); row-gap: clamp(40px, 5vw, 72px); }
.w-card { display: grid; gap: 16px; grid-column: span 6; }
.w-card.s7 { grid-column: span 7; } .w-card.s5 { grid-column: span 5; } .w-card.s4 { grid-column: span 4; } .w-card.s8 { grid-column: span 8; }
.w-card .ph { overflow: hidden; background: var(--ph); }
.w-card img { width: 100%; object-fit: cover; aspect-ratio: 4/5; transition: transform 1.2s var(--ease); }
.w-card.land img { aspect-ratio: 3/2; }
.w-card:hover img { transform: scale(1.035); }
.w-card .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.w-card h3 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.5rem); }
.w-card .cap span { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; white-space: nowrap; }
.w-card.offset { margin-top: clamp(0px, 8vw, 140px); }
@media (max-width: 760px) { .w-card, .w-card.s7, .w-card.s5, .w-card.s4, .w-card.s8 { grid-column: span 12; } .w-card.offset { margin-top: 0; } }

/* Fullbredde-feature */
.feature { position: relative; min-height: min(92vh, 900px); display: grid; align-items: end; color: #fff; padding: 0; overflow: hidden; background: #0B0B0C; }
.feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.1) 55%, rgba(0,0,0,.15) 100%); }
.feature .wrap { position: relative; z-index: 1; padding-block: clamp(40px, 7vw, 96px); display: grid; gap: 18px; }
.feature h2 { font-size: clamp(3rem, 1.6rem + 6vw, 7.5rem); line-height: .95; }
.feature p { max-width: 46ch; color: rgba(255,255,255,.86); font-size: 1.08rem; }
.feature .label { color: rgba(255,255,255,.72); }
.feature .btn { background: #fff; color: #0B0B0C; justify-self: start; }

/* Horisontal verkrekke */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: clamp(14px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 700px) { .rail { grid-auto-columns: 72%; } }

.press-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 36px; align-items: center; }
.press-row span { font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); color: var(--fg-2); }

.cta { text-align: center; display: grid; justify-items: center; gap: 22px; }
.cta h2 { font-size: clamp(2.8rem, 1.6rem + 5vw, 6.4rem); line-height: 1; }
.cta .mail { font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* ---------- Undersider ---------- */
.page-head { padding-block: clamp(56px, 9vw, 150px) clamp(40px, 5vw, 80px); display: grid; gap: 20px; }
.page-head h1 { font-size: clamp(3.2rem, 1.6rem + 7vw, 8rem); line-height: .95; }
.page-head .lead { margin-top: 6px; }
.crumb { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.crumb a:hover { color: var(--fg); }

/* Arbeider – store rader */
.rows { display: grid; gap: clamp(80px, 11vw, 180px); }
.row { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 6vw, 110px); align-items: center; }
.row:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
.row:nth-child(even) .ph { order: 2; }
.row .ph { overflow: hidden; background: var(--ph); }
.row img { width: 100%; aspect-ratio: 5/4; object-fit: cover; transition: transform 1.2s var(--ease); }
.row:hover img { transform: scale(1.03); }
.row .txt { display: grid; gap: 18px; justify-items: start; }
.row h2 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 5rem); }
.row p { color: var(--fg-2); max-width: 40ch; }
@media (max-width: 760px) { .row, .row:nth-child(even) { grid-template-columns: 1fr; } .row:nth-child(even) .ph { order: 0; } }

/* Gallerier */
.filters { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-bottom: clamp(28px, 3vw, 44px); }
.chip { font: inherit; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .25s; }
.chip:hover { color: var(--fg); }
.chip[aria-pressed="true"] { color: var(--fg); border-bottom-color: var(--fg); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: clamp(6px, 1vw, 14px); }
.grid.big { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.tile { position: relative; overflow: hidden; background: var(--ph); cursor: zoom-in; border: 0; padding: 0; display: block; width: 100%; color: #fff; font: inherit; }
.tile img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 1s var(--ease), opacity .9s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile .t { position: absolute; left: 14px; bottom: 12px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.tile:hover .t, .tile:focus-visible .t { opacity: 1; transform: none; }
.tile[hidden] { display: none !important; }
.masonry { columns: 3 300px; column-gap: clamp(6px, 1vw, 14px); }
.masonry .tile { break-inside: avoid; margin-bottom: clamp(6px, 1vw, 14px); }
.masonry .tile img { aspect-ratio: auto; }
.split > .tile img, .split > .ph img { aspect-ratio: 4/5; }
.split > img, .split > .ph { width: 100%; }

/* Huni Kuin bildeserie */
.essay { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(6px, 1vw, 14px); }
.essay .tile img { width: 100%; height: auto; object-fit: cover; }
.essay .e-8 { grid-column: span 8; } .essay .e-8 img { aspect-ratio: 20/13; }
.essay .e-6 { grid-column: span 6; } .essay .e-6 img { aspect-ratio: 3/2; }
.essay .e-4 { grid-column: span 4; } .essay .e-4 img { aspect-ratio: 3/4; }
.essay .e-3 { grid-column: span 3; } .essay .e-3 img { aspect-ratio: 3/4; }
.essay figure { margin: 0; }
@media (max-width: 720px) { .essay .e-8, .essay .e-6, .essay .e-4 { grid-column: span 12; } .essay .e-3 { grid-column: span 6; } .essay .e-8 img { aspect-ratio: 3/2; } }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 5vw, 72px); }
.facts > div { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); }
.facts b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); line-height: 1.1; }
.facts span { color: var(--fg-2); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* Kjøp kunst */
.shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(40px, 5vw, 64px) clamp(14px, 2vw, 28px); }
.work { display: grid; gap: 14px; align-content: start; }
.work[hidden] { display: none !important; }
.work .ph { background: var(--ph); aspect-ratio: 4/5; overflow: hidden; cursor: zoom-in; border: 0; padding: 0; width: 100%; display: grid; place-items: center; transition: background-color .4s; }
.work .ph img { width: 100%; height: 100%; object-fit: contain; padding: 11%; filter: drop-shadow(0 18px 24px rgba(0,0,0,.18)); transition: transform 1s var(--ease), opacity .9s var(--ease); }
.work .ph:hover img { transform: scale(1.03); }
.work .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.work h3 { font-size: 1.55rem; }
.work .price { font-size: .95rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.work .spec { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: -6px; }
.work .buy { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; justify-self: start; border-bottom: 1px solid currentColor; padding-bottom: 3px; opacity: .8; }
.work .buy:hover { opacity: 1; }

.price-list { display: grid; }
.price-list div { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.price-list span:first-child { color: var(--fg-2); }
.info3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 5vw, 72px); }
.info3 > div { display: grid; gap: 12px; align-content: start; }
.info3 p { color: var(--fg-2); }
@media (max-width: 820px) { .info3 { grid-template-columns: 1fr; } }
.faq { display: grid; max-width: 820px; }
.faq details { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: clamp(1.4rem, 1.2rem + .6vw, 1.8rem); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--fg-2); max-width: 60ch; }

/* Om */
.milestones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 4vw, 56px); }
.milestones li { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.milestones b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 1.6rem + 2vw, 3.6rem); line-height: 1; }
.milestones span { color: var(--fg-2); }
@media (max-width: 760px) { .milestones { grid-template-columns: 1fr 1fr; } }
.press-list { display: grid; }
.press-list div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.press-list b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); }
.press-list span { color: var(--fg-2); }
@media (max-width: 600px) { .press-list div { grid-template-columns: 1fr; gap: 4px; } }
.contact-lines { display: grid; gap: 22px; }
.contact-lines a.big { font-family: var(--serif); font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); line-height: 1.1; word-break: break-word; }
.contact-lines a.big:hover { opacity: .7; }

/* Lysboks */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(8,8,9,.97); display: grid; grid-template-rows: auto 1fr auto; color: #F2F1EE; padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); animation: lbIn .35s ease; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox[hidden] { display: none !important; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 7vw, 110px); position: relative; }
.lb-stage img { max-height: 100%; max-width: 100%; object-fit: contain; min-height: 0; }
.lb-cap { text-align: center; padding: 16px var(--gutter) 24px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: #A9A8A4; min-height: 1.6em; }
.lb-btn { background: none; border: 0; color: #fff; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; font-size: 1.3rem; opacity: .7; }
.lb-btn:hover { opacity: 1; }
.lb-close { font-size: .72rem; letter-spacing: .2em; width: auto; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: clamp(4px, 2vw, 28px); } .lb-next { right: clamp(4px, 2vw, 28px); }

/* Speildemo */
.mirror-demo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.mirror-demo canvas { width: 100%; height: auto; display: block; background: var(--ph); aspect-ratio: 3/4; max-width: 560px; }
.mirror-controls { display: grid; gap: 22px; justify-items: start; }
.mirror-controls label { display: grid; gap: 10px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; width: 100%; max-width: 360px; }
.mirror-controls input[type=range] { width: 100%; accent-color: var(--fg); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px 26px; }
.seg button { font: inherit; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; background: none; border: 0; border-bottom: 1px solid transparent; color: var(--muted); padding: 6px 0; cursor: pointer; }
.seg button[aria-pressed="true"] { color: var(--fg); border-bottom-color: var(--fg); }
@media (max-width: 860px) { .mirror-demo { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--inv-bg); color: var(--inv-fg); padding-block: clamp(64px, 8vw, 120px) 36px; transition: background-color .4s ease, color .4s ease; }
.foot-top { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 88px); }
.foot-top h2 { font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); line-height: 1; max-width: 12ch; }
.foot-top a.mail { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 32px; border-top: 1px solid color-mix(in srgb, var(--inv-fg) 16%, transparent); }
.foot-cols h4 { margin: 0 0 14px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; opacity: .55; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.foot-cols a { opacity: .85; } .foot-cols a:hover { opacity: 1; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .5; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-cols > :first-child { grid-column: 1 / -1; } }
.arrow, .btn { justify-self: start; width: fit-content; }
.hero-title { font-size: clamp(2.4rem, 1.2rem + 4.2vw, 5.4rem); }
