/* STILL35 — site.css
   Layout idea: a contact sheet in black and white with one wine accent. Black space, frame numbers as metadata,
   wide light display type echoing the horizontal bars of the wordmark. */

/* fonts: variable files, hosted locally */
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --bg: #0A0A0A;          /* black */
  --bg-raised: #151515;
  --paper: #F4F4F1;       /* white */
  --mute: rgba(244, 244, 241, 0.6);
  --faint: rgba(244, 244, 241, 0.36);
  --line: rgba(244, 244, 241, 0.13);
  --wine: #6E1423;        /* brand: surfaces, fills */
  --wine-hi: #A3233A;     /* brand on black: marks, rules, dots */
  --wine-text: #B02A3E;   /* brand for small metadata on black */

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(18px, 3.2vw, 48px);
  --max: 1680px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--paper);
  font-family: var(--f-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 1px solid var(--wine-hi); outline-offset: 4px; }
::selection { background: var(--wine); color: #fff; }

/* film grain: lives only on backgrounds. Layers are injected by site.js:
   one fixed layer behind the page, one inside each section with its own surface.
   Content (photos, plates, text) sits above the grain. */
.grain-layer {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-repeat: repeat; background-size: 256px 256px;
  opacity: var(--grain, .08);
}
.grain-layer--page { position: fixed; }
main, .site-footer { position: relative; z-index: 1; }
.grain-host { position: relative; isolation: isolate; }
.grain-host > :not(.grain-layer) { position: relative; z-index: 1; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* type */
.mono { font-family: var(--f-mono); font-size: 11px; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; }
.mono--brass { color: var(--paper); display: inline-flex; align-items: center; gap: 12px; }
.mono--brass::before { content: ""; width: 20px; height: 1px; background: var(--wine-hi); flex: 0 0 auto; }
.mute { color: var(--mute); }
.display {
  font-family: var(--f-display); font-stretch: 125%; font-weight: 300;
  letter-spacing: -0.015em; line-height: .98; text-wrap: balance; margin: 0;
}
.lead { font-family: var(--f-display); font-stretch: 112%; font-weight: 300; font-size: clamp(24px, 2.7vw, 44px); line-height: 1.22; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
.body-copy { max-width: 60ch; color: var(--mute); margin: 0; }
.body-copy + .body-copy { margin-top: 1em; }

/* ───────── header ───────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  /* always-on glass bar; the blur also smooths away the page grain behind it */
  background: rgba(10, 10, 10, .86);
  -webkit-backdrop-filter: blur(18px) saturate(1.1); backdrop-filter: blur(18px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; gap: 24px; }
/* logo left, links in the true centre of the bar, language + button right */
.site-header .brand { grid-column: 1; justify-self: start; }
.site-header .nav { grid-column: 2; }
.site-header .header-end { grid-column: 3; justify-self: end; }
.brand img { height: 19px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); }
.nav a { position: relative; color: var(--mute); transition: color .3s; }
.nav a:hover, .nav a[aria-current] { color: var(--paper); }
.header-end { display: flex; align-items: center; gap: 22px; }
.lang { display: flex; gap: 8px; color: var(--faint); }
.lang a { transition: color .3s; }
.lang a:hover, .lang [aria-current] { color: var(--paper); }
.btn-line {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px;
  border: 1px solid rgba(244, 244, 241, .35); color: var(--paper);
  transition: background .3s var(--ease), border-color .3s;
}
.btn-line:hover { background: var(--wine); border-color: var(--wine); color: #fff; }
.menu-toggle { display: none; }
.nav__links { display: contents; }
.nav__extra { display: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--paper); color: var(--bg); font-family: var(--f-mono); font-size: 12px; transition: top .2s; }
.skip:focus { top: 12px; }

/* ───────── hero: the 35 mark as a mask over two video loops ───────── */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  display: flex; align-items: center; justify-content: center;
  padding: 96px var(--gutter) 84px;
}
.hero__mark {
  /* the 35 mark: two square glyphs, gap = 330/3335 of a glyph, as in the logo file */
  --g: min(43.6vw, calc(100svh - 200px));
  display: flex; gap: calc(var(--g) * .099); animation: mask-in 1.4s var(--ease) both;
}
.glyph { width: var(--g); aspect-ratio: 1; background: var(--bg-raised); }
.glyph--3 { -webkit-mask: url("../img/mask-3.png") center / contain no-repeat; mask: url("../img/mask-3.png") center / contain no-repeat; }
.glyph--5 { -webkit-mask: url("../img/mask-5.png") center / contain no-repeat; mask: url("../img/mask-5.png") center / contain no-repeat; }
/* the image is ~1.42× the glyph (√2) so its corners never show while it turns; one turn takes 7 minutes */
.glyph { position: relative; overflow: hidden; }
.glyph img { position: absolute; left: 50%; top: 50%; width: 142%; height: 142%; max-width: none; object-fit: cover; transform: translate(-50%, -50%); animation: glyph-turn 420s linear infinite; will-change: transform; }
.glyph--5 img { animation-direction: reverse; }
@keyframes glyph-turn { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .glyph img { animation: none; } }
@keyframes mask-in { from { opacity: 0; } to { opacity: 1; } }


.manifesto__h1 { font-size: clamp(44px, 7vw, 120px); margin-bottom: clamp(36px, 4vw, 64px); max-width: 13ch; }
.manifesto__h1 em { font-style: normal; color: var(--wine-hi); }

/* ───────── generic section ───────── */
.section { padding: clamp(96px, 12vw, 190px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.section-head .mono { grid-column: 1 / span 3; align-self: start; padding-top: .7em; }
.section-head h2 { grid-column: 1 / span 10; font-size: clamp(36px, 5.2vw, 88px); }

/* ───────── manifesto ───────── */
.manifesto__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.manifesto__grid > .mono { grid-column: 1 / span 3; padding-top: .9em; }
.manifesto__text { grid-column: 1 / span 10; }
.manifesto__text .lead { max-width: 24ch; font-size: clamp(30px, 3.9vw, 66px); line-height: 1.12; }
.manifesto__text .lead span { color: var(--faint); }

/* icons and tags */
.ico { display: block; width: 1em; height: 1em; color: var(--paper); flex: 0 0 auto; overflow: visible; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 4px;
  border: 1px solid var(--line); font-family: var(--f-mono); font-size: 10px; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--paper);
}
.tags { display: inline-flex; flex-wrap: wrap; gap: 6px; }

/* social plates */
.feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; aspect-ratio: 4 / 5; align-content: center; background: var(--bg-raised); border: 1px solid var(--line); padding: 10px; }
.feed img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: brightness(.85); transition: filter .6s; }
.feed img:nth-child(5) { outline: 1px solid var(--wine-hi); outline-offset: -1px; filter: none; }
.report { display: flex; flex-direction: column; justify-content: flex-start; gap: clamp(14px, 2vh, 26px); aspect-ratio: 4 / 5; padding: 14px; background: var(--bg-raised); border: 1px solid var(--line); }
a.report { color: inherit; text-decoration: none; transition: border-color .3s; }
a.report:hover { border-color: var(--wine-hi); }
.report .mute { font-size: 10px; }

/* ───────── process ───────── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 30px var(--gutter) 10px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: var(--gutter); }
.step:last-child { border-right: 0; }
.step .mono { color: var(--wine-text); }
.step h3 { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: clamp(22px, 2vw, 32px); letter-spacing: -0.01em; margin: 28px 0 16px; line-height: 1.05; }
.step p { margin: 0; color: var(--mute); font-size: 16px; }
.example { margin-top: clamp(56px, 6vw, 90px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: center; }
.example__img { grid-column: 1 / span 6; aspect-ratio: 16 / 10; overflow: hidden; }
.example__img img { width: 100%; height: 100%; object-fit: cover; }
.example__text { grid-column: 8 / span 5; }
.example__text .lead { font-size: clamp(22px, 2.2vw, 36px); }
.chain { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chain span { padding: 8px 12px; border: 1px solid var(--line); }
.chain span:last-child { border-color: var(--wine); background: var(--wine); color: #fff; }

/* ───────── AI lab ───────── */
.lab { background: linear-gradient(180deg, var(--bg) 0%, #050505 100%); }
.lab__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; }
.lab__text { grid-column: 1 / span 6; }
.lab__text h2 { font-size: clamp(36px, 5.2vw, 88px); margin: 0 0 32px; }
.lab__fields { grid-column: 9 / span 4; }
.lab__fields ul { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.lab__fields li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--paper); }
.lab__group { margin-top: clamp(72px, 8vw, 128px); }
.lab__label { margin: 0 0 18px; }
.lab__set { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lab__set figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-raised); }
.lab__set img, .lab__set video { display: block; width: 100%; height: 100%; object-fit: cover; }
.lab__set .lab__big { grid-column: 1 / span 2; grid-row: 1 / span 2; aspect-ratio: auto; }
.lab__set--r .lab__big { grid-column: 3 / span 2; }
@media (max-width: 1100px) {
  .lab__text { grid-column: 1 / span 7; }
  .lab__fields { grid-column: 9 / span 4; }
}
@media (max-width: 760px) {
  .lab__head { grid-template-columns: 1fr; }
  .lab__text, .lab__fields { grid-column: 1 / -1; }
  .lab__fields { margin-top: 24px; }
  .lab__set { grid-template-columns: 1fr 1fr; gap: 8px; }
  .lab__set .lab__big, .lab__set--r .lab__big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 5; }
  .lab__group { margin-top: 56px; }
}

/* ───────── contact ───────── */
.contact { padding-bottom: clamp(60px, 7vw, 100px); }
.contact h2 { font-size: clamp(56px, 11vw, 200px); line-height: .9; }
.contact h2 a { transition: color .4s; }
.contact h2 a:hover { color: #0A0A0A; }
.contact h2 em { font-style: normal; color: #0A0A0A; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 34px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--faint); flex-wrap: wrap; }
.site-footer img { height: 22px; width: auto; opacity: .9; }

/* ───────── surfaces: white and wine ───────── */
.section--light {
  --bg: #F4F4F1; --bg-raised: #E9E8E4; --paper: #0A0A0A;
  --mute: rgba(10, 10, 10, 0.64); --faint: rgba(10, 10, 10, 0.42); --line: rgba(10, 10, 10, 0.14);
  --wine-text: #7A1626; --wine-hi: #7A1626;
  background: var(--bg); color: var(--paper); color-scheme: light;
}
.section--light ::selection { background: var(--wine); color: #fff; }
.section--wine {
  --bg: #6E1423; --paper: #FFFFFF; --mute: rgba(255, 255, 255, 0.74); --faint: rgba(255, 255, 255, 0.6); --line: rgba(255, 255, 255, 0.22);
  --wine-hi: #FFFFFF;
  background: var(--bg); color: var(--paper);
}
.section--wine .mono--brass::before { background: #fff; }
.section--light + .section, .section + .section--light, .section + .section--wine { border-top: 0; }

/* ───────── responsive ───────── */
@media (max-width: 1100px) {
  /* backdrop-filter would make the header the containing block of the fixed menu sheet */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(10, 10, 10, .97); }
  /* mobile menu: the same nav, shown as a full-screen sheet under the header */
  .nav {
    position: fixed; inset: 76px 0 0 0; z-index: 49; display: flex; flex-direction: column; justify-content: space-between; align-items: stretch;
    padding: clamp(28px, 6vh, 56px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
    background: var(--bg); visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility 0s .3s;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transition: opacity .3s var(--ease), visibility 0s; }
  .menu-open, .menu-open body { overflow: hidden; }
  .nav__links { display: flex; flex-direction: column; }
  .nav__links a { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: clamp(34px, 9vw, 64px); letter-spacing: -.01em; text-transform: none; line-height: 1.1; color: var(--paper); padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav__links a:hover { color: var(--wine-text); }
  .nav__extra { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 32px; }
  .nav__extra .lang { display: flex; font-size: 13px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 12px; background: none; border: 1px solid var(--line); color: var(--paper); padding: 10px 14px; cursor: pointer; font: inherit; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
  .menu-toggle__icon { position: relative; width: 16px; height: 9px; }
  .menu-toggle__icon i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
  .menu-toggle__icon i:first-child { top: 0; }
  .menu-toggle__icon i:last-child { top: 8px; }
  .menu-open .menu-toggle__icon i:first-child { top: 4px; transform: rotate(45deg); }
  .menu-open .menu-toggle__icon i:last-child { top: 4px; transform: rotate(-45deg); }
  .header-end .btn-line { display: none; }
      .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .step:nth-child(4) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .section-head, .manifesto__grid, .example,   .section-head > *, .manifesto__grid > *, .example > * { grid-column: 1 / -1 !important; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 26px 0; border-right: 0; border-top: 1px solid var(--line); }
  .header-end .lang { display: none; }
  /* stacked 3 over 5: as wide as the screen allows (16px sides) while both glyphs fit the viewport height;
     the gap under the 77px header always equals the side gap */
  .hero { height: auto; min-height: 0; align-items: flex-start; padding: 77px 0 0; }
  .hero__mark { --g: min(calc(100vw - 32px), calc((100svh - 109px) / 2.099)); flex-direction: column; margin: calc((100vw - var(--g)) / 2) 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* services follow the intro directly: no extra divider above them */
#sluzby { border-top: 0; padding-top: 0; }

/* ───────── services: sticky scroll, one service per screen ─────────
   Stage stays pinned for n screens of scroll (track = n + 1 screens tall).
   Layout: service tabs on top, text block of fixed height, photos below,
   so icon, title and text never move when the service changes. */
.svc { position: relative; }
.svc__track { height: calc((var(--n) + 1) * 100vh); }
.svc__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  padding: 100px 0 32px; overflow: hidden;
}
.svc__grid { display: flex; flex-direction: column; height: 100%; gap: 28px; }
.svc__rail ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--gutter); }
.svc__link { display: grid; grid-template-columns: 20px 1fr; column-gap: 12px; row-gap: 12px; align-items: center; color: var(--faint); transition: color .4s; }
.svc__link .ico { width: 20px; height: 20px; color: currentColor; }
.svc__link-name { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc__link-bar { grid-column: 1 / -1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.svc__link-bar::after { content: ""; position: absolute; inset: 0; background: var(--paper); transform-origin: left; transform: scaleX(0); }
.svc__link.is-on { color: var(--paper); }
.svc__link.is-on .svc__link-bar::after { transform: scaleX(var(--p, 0)); }
.svc__link.is-done .svc__link-bar::after { transform: scaleX(1); opacity: .35; }
.svc__link:hover { color: var(--paper); }

.svc__panels { position: relative; flex: 1; min-height: 0; }
.svc__panel {
  position: absolute; inset: 0; display: grid; grid-template-rows: clamp(230px, 31vh, 300px) minmax(0, 1fr); gap: 24px;
  visibility: hidden; z-index: 0;
}
.svc__panel.is-out { visibility: visible; z-index: 1; }
.svc__panel.is-on { visibility: visible; z-index: 2; }
/* Only two panels are ever visible: the outgoing one (is-out) and the incoming one (is-on).
   Text: old copy fades out, new copy fades in after it, so lines never overlap.
   Media: the incoming block is one opaque layer (gaps included) fading in over the outgoing block,
   so no image from another section shows between the new images and nothing dips to black. */
.svc__panel .svc__text { opacity: 0; transition: opacity .2s ease; }
.svc__panel.is-on .svc__text { opacity: 1; transition: opacity .4s var(--ease) .2s; }
.svc__panel .svc__media { opacity: 0; transition: none; background: var(--bg); }
.svc__panel.is-out .svc__media { opacity: 1; transition: opacity .55s var(--ease); }
.svc__panel.is-on .svc__media { opacity: 1; transition: opacity .55s var(--ease); }
.svc__text {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) minmax(0, 3fr); column-gap: var(--gutter);
  grid-template-areas: "meta . ." "title desc list" "sub desc list"; align-content: start; grid-template-rows: auto auto 1fr;
}
.svc__meta { grid-area: meta; display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.svc__ico { width: 48px; height: 48px; margin-right: 6px; }
.svc__meta .tag { border-color: var(--line); }
.svc__title { grid-area: title; font-size: clamp(32px, 3.3vw, 58px); margin: 0 0 12px; align-self: start; }
.svc__sub { grid-area: sub; color: var(--faint); margin: 0; }
.svc__desc { grid-area: desc; color: var(--mute); margin: 0; font-size: 16px; align-self: start; padding-top: .35em; }
.svc__list { grid-area: list; list-style: none; margin: 0; padding: .55em 0 0; display: grid; gap: 8px; align-self: start; }
.svc__list li { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--paper); display: flex; gap: 12px; }
.svc__list li::before { content: "—"; color: var(--faint); }

.svc__media { height: 100%; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; }
.svc__media > * { height: 100%; aspect-ratio: auto !important; min-height: 0; }
.svc__media figure { margin: 0; position: relative; overflow: hidden; background: var(--bg-raised); }
.svc__media figure img { width: 100%; height: 100%; object-fit: cover; }
.svc__media .feed { padding: 14px; gap: 4px; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); align-content: stretch; }
.svc__media .feed img { height: 100%; aspect-ratio: auto; }
.svc__media .report { padding: 20px; }

@media (max-width: 900px) {
  .svc__track { height: auto; }
  .svc__stage { position: static; height: auto; padding: 0; overflow: visible; }
  .svc__grid { display: block; }
  .svc__rail { display: none; }
  .svc__panels { height: auto; }
  .svc__panel { position: static; visibility: visible; display: block; padding: 72px 0; border-top: 1px solid var(--line); }
  .svc__panel .svc__text, .svc__panel .svc__media { opacity: 1; transition: none; }
  .svc__panel:first-child { border-top: 0; padding-top: 24px; }
  .svc__text { display: block; }
  .svc__title { margin-bottom: 12px; }
  .svc__sub { margin-bottom: 22px; }
  .svc__desc { margin-bottom: 22px; }
  /* mobile: every block sizes from its content's aspect ratio instead of one tall fixed box */
  .svc__media { height: auto; max-height: none; margin-top: 36px; grid-template-columns: 1fr 1fr; gap: 8px; }
  .svc__media > * { height: auto; }
  .svc__media--4 > figure { aspect-ratio: 4 / 3 !important; }
  .svc__media.svc__media--brand { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-flow: row dense; }
  .svc__media--brand > .svc-logo { aspect-ratio: 16 / 10 !important; }
  .svc__media--brand > .svc-logo--wide { aspect-ratio: 32 / 9 !important; }
  .svc__media--brand > .svc-logo--wide .svc-logo__mark--ky { width: 66%; }
  .svc__media--brand .svc-logo__mark--mm { width: 30%; }
  .svc__media--brand .svc-logo__mark--wx { width: 58%; }
  .svc__media--brand .svc-logo__mark--ld { width: 80%; }
  .svc__media--brand .svc-logo__mark--da { width: 72%; }
  .svc__media--brand .svc-logo__mark--pb { width: 62%; }
  .svc__media--brand .svc-logo__mark--ky { width: 82%; }
  .svc__media--brand .svc-logo__mark--st { width: 72%; }
  .svc__media--4.svc__media--web > figure { aspect-ratio: 1 / 1 !important; }
  .svc-browser__bar { height: 22px; padding: 0 9px; gap: 4px; }
  .svc-browser__bar i { width: 5px; height: 5px; }
  .svc-browser__bar span { margin-left: 6px; font-size: 8px; }
  .svc__media--social > * { grid-column: 1 / -1; aspect-ratio: auto !important; }
  .svc__media .feed { padding: 8px; gap: 3px; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: none; }
  .svc__media .feed img { aspect-ratio: 1; height: auto; }
  .svc__media .report { padding: 16px; }
  .svc__ico { width: 44px; height: 44px; }
}

/* AI imagery */
.svc__media--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .svc__media--4 { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
}

/* services media: client logos, real browser frames, video loops */
.svc__media figure video { display: block; width: 100%; height: 100%; object-fit: cover; background: #000; }
.svc-logo { background: var(--pb) !important; display: grid; place-items: center; }
.svc-logo__mark { display: block; color: #F7F7F7; }
.svc-logo__mark svg { display: block; width: 100%; height: auto; }
.svc-logo__mark--wx { width: 46%; }
.svc-logo__mark--wx .wx-sym { color: #ED2024; }
.svc-logo__mark--ld { width: 72%; }
.svc-logo__mark--da { width: 58%; }
.svc-logo__mark--pb { width: 46%; color: #141414; }
.svc-logo__mark--ky { width: 66%; aspect-ratio: 2400 / 389; background: #111111; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.svc-logo__mark--st { width: 56%; }
.svc-logo__mark--mm { width: 30%; color: #F7F7F7; }
/* branding panel: seven client logos in a 4 × 2 wall, the wide Kyrino logotype spans two tiles */
.svc__media--brand { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.svc__media--brand > .svc-logo--wide { grid-column: span 2; }
@media (min-width: 901px) {
  .svc__media--brand .svc-logo__mark--wx { width: 58%; }
  .svc__media--brand .svc-logo__mark--ld { width: 84%; }
  .svc__media--brand .svc-logo__mark--da { width: 70%; }
  .svc__media--brand .svc-logo__mark--pb { width: 58%; }
  .svc__media--brand .svc-logo__mark--ky { width: 56%; }
  .svc__media--brand .svc-logo__mark--mm { width: 30%; }
  .svc__media--brand .svc-logo__mark--st { width: 68%; }
}
.svc-browser { display: flex; flex-direction: column; background: #161616 !important; border: 1px solid var(--line); }
.svc-browser__bar { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.svc-browser__bar i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--faint); }
.svc-browser__bar span { margin-left: 10px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc-browser img { flex: 1 1 auto; min-height: 0; width: 100%; object-fit: cover; object-position: top; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: var(--faint); transition: color .3s; }
.footer-nav a:hover { color: var(--paper); }
.report .mono { font-size: 10px; letter-spacing: .1em; }
.report__big b { display: block; font-weight: 300; font-size: clamp(44px, 5vw, 84px); line-height: .95; letter-spacing: -.01em; }
.report__big .mute { display: block; margin-top: 8px; }
.report__rows { display: grid; gap: 12px; padding-top: clamp(10px, 1.6vh, 20px); border-top: 1px solid var(--line); }
.report__rows div { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 12px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.report__rows i { display: block; height: 10px; background: linear-gradient(90deg, var(--wine-hi) var(--w), rgba(244,244,241,.08) var(--w)); }
.report__rows div:last-child i { background: linear-gradient(90deg, rgba(244,244,241,.55) var(--w), rgba(244,244,241,.08) var(--w)); }
.report__kpi { margin: auto 0 0; display: grid; gap: 0; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.report__kpi div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.report__kpi dd { margin: 0; color: var(--paper); }
.report__rows span:last-child, .report__kpi dd { white-space: nowrap; }
@media (max-width: 760px) {
  .report__rows div { grid-template-columns: 1fr auto; grid-template-areas: 'l v' 'b b'; gap: 6px 8px; }
  .report__rows div span:first-child { grid-area: l; } .report__rows div span:last-child { grid-area: v; } .report__rows i { grid-area: b; }
  .report__big b { font-size: 48px; }
}

.example__lead { margin-top: 18px; }
.nav__extra .btn-line { color: var(--paper); }
.notfound { min-height: 80vh; display: flex; align-items: center; }
.notfound__h { font-size: clamp(44px, 7vw, 120px); margin: 24px 0 40px; }
.notfound__links { display: flex; gap: 12px; flex-wrap: wrap; }

/* ───────── work: list rows with a still thumbnail ───────── */
.work__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.work__row { display: grid; grid-template-columns: clamp(140px, 13vw, 200px) 44px minmax(0, 1fr) auto 28px; grid-template-areas: "thumb n name tags go" "thumb . kind tags go"; column-gap: clamp(16px, 2vw, 32px); row-gap: 10px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); color: var(--paper); transition: border-color .35s var(--ease); }
.work__thumb { grid-area: thumb; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-raised); }
.work__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.work__n { grid-area: n; align-self: end; padding-bottom: .4em; }
.work__name { grid-area: name; align-self: end; font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: clamp(26px, 3vw, 52px); line-height: 1; letter-spacing: -0.015em; transition: color .35s var(--ease); }
.work__kind { grid-area: kind; align-self: start; }
.work__tags { grid-area: tags; justify-content: flex-end; }
.work__go { grid-area: go; justify-self: end; font-size: 18px; color: var(--mute); transition: color .35s var(--ease); }
.work__row:hover .work__go, .work__row:focus-visible .work__go { color: var(--wine-text); }
.work__row:hover .work__name, .work__row:focus-visible .work__name { color: var(--wine-text); }
@media (max-width: 1100px) {
  .work__row { grid-template-columns: 150px 36px minmax(0, 1fr) auto 24px; grid-template-areas: "thumb n name tags go" "thumb . kind tags go"; row-gap: 10px; }
  .work__name { align-self: end; }
  .work__kind { align-self: start; }
}
@media (max-width: 760px) {
  .work__row { grid-template-columns: 112px minmax(0, 1fr) 20px; grid-template-areas: "thumb name go" "thumb kind go" "thumb tags go"; column-gap: 14px; row-gap: 6px; padding: 14px 0; }
  .work__name, .work__kind { align-self: auto; }
  .work__n { display: none; }
  .work__name { font-size: 24px; }
  .work__tags { justify-content: flex-start; }
  .work__tags .tag { font-size: 9px; padding: 4px 6px 3px; }
}

/* ───────── about page: portrait and intro side by side, story below in three columns; nothing sticks or moves ───────── */
.about { padding-top: clamp(140px, 14vw, 220px); }
.about__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: end; }
.about__photo { grid-column: 1 / span 5; margin: 0; aspect-ratio: 1; overflow: hidden; background: var(--bg-raised); }
.about__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about__intro { grid-column: 7 / span 6; }
.about__intro h1 { font-size: clamp(44px, 7vw, 120px); line-height: .98; margin: 22px 0 18px; }
.about__role { margin: 0 0 clamp(28px, 3vw, 44px); }
.about__lead { margin: 0; max-width: 34ch; font-size: clamp(19px, 1.6vw, 26px); line-height: 1.45; color: var(--paper); }
.about__story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); margin-top: clamp(64px, 7vw, 112px); padding-top: 28px; border-top: 1px solid var(--line); }
.about__story .body-copy { margin: 0; max-width: none; }
.about__contact { margin-top: clamp(56px, 6vw, 96px); padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.about__contact a { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; font-size: clamp(22px, 2vw, 32px); color: var(--paper); transition: color .3s; }
.about__contact a:hover { color: var(--wine-text); }
.about-cta__phone { display: inline-block; margin-top: clamp(28px, 3vw, 44px); font-size: clamp(28px, 4.4vw, 72px); color: #fff; transition: color .3s; }
.about-cta__phone:hover { color: #0A0A0A; }
@media (max-width: 1100px) {
  .about__photo { grid-column: 1 / span 6; }
  .about__intro { grid-column: 7 / span 6; }
  .about__story { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .about { padding-top: 110px; }
  .about__photo, .about__intro { grid-column: 1 / -1; }
  .about__intro h1 { margin-top: 18px; }
  .about__story { grid-template-columns: 1fr; gap: 1.2em; margin-top: 40px; }
  .about__contact { flex-direction: column; gap: 6px; }
}
