@font-face {
  font-family: "Unbounded";
  src: url("/assets/Unbounded-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #111410;
  --ink: #eeefe7;
  --muted: #a4ab9e;
  --line: #353b31;
  --accent: #dce89e;
  --accent-hover: #edf8b8;
  --on-accent: #1a2412;
  --accent-muted: #40502c;
  --accent-line: #98aa6c;
  --surface: #1c221b;
  --image-surface: #1a1d17;
  --card-surface: #35382d;
  --body-muted: #c2c8b9;
  --outline: #525d47;
  --sans: "Unbounded", Arial, sans-serif;
  --mono: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
}
:root[data-theme="blue"], :root[data-theme="red"], :root[data-theme="gray"] {
  --footer-bg: var(--surface);
  --footer-fg: var(--ink);
  --footer-muted: var(--muted);
  --footer-line: var(--line);
  --footer-hover: var(--accent);
}

:root[data-theme="blue"] {
  --paper: #101722;
  --ink: #eaf1f8;
  --muted: #a8b7ca;
  --line: #35465b;
  --accent: #a8d4ff;
  --accent-hover: #d2e9ff;
  --on-accent: #14283c;
  --surface: #1a2534;
  --image-surface: #151f2d;
  --card-surface: #29384d;
  --body-muted: #c0cddd;
  --outline: #516783;
}

:root[data-theme="red"] {
  --paper: #1b1114;
  --ink: #f7edf0;
  --muted: #c9a9b0;
  --line: #52383f;
  --accent: #ffb3b5;
  --accent-hover: #ffdbdc;
  --on-accent: #401a21;
  --surface: #2b1a20;
  --image-surface: #23151a;
  --card-surface: #462b33;
  --body-muted: #dec2c9;
  --outline: #79545e;
}

:root[data-theme="gray"] {
  --paper: #171717;
  --ink: #eeeeee;
  --muted: #b3b3b3;
  --line: #444444;
  --accent: #d0d0d0;
  --accent-hover: #eeeeee;
  --on-accent: #202020;
  --surface: #232323;
  --image-surface: #1c1c1c;
  --card-surface: #333333;
  --body-muted: #c6c6c6;
  --outline: #767676;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: 0; font-weight: 600; }
h1, h2 { text-wrap: balance; }
.shell { width: min(100% - clamp(32px, 7.2vw, 112px), 1520px); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: 0; left: 0; padding: 10px; background: var(--paper); transform: translateY(-120%); }
.skip:focus { transform: none; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 77px; border-bottom: 1px solid var(--line); }
.masthead a { text-decoration: none; }
.mark { display: flex; gap: 9px; align-items: center; font-weight: 600; font-size: 14px; letter-spacing: 0; }
.mark-icon { display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid var(--ink); }
.mark-icon::after { content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
nav { display: flex; flex-wrap: wrap; gap: 0 clamp(14px, 2.4vw, 38px); font-size: 12px; font-weight: 600; }
nav a { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; }
nav a:last-child span { color: var(--accent); }
.intro { display: grid; grid-template-columns: minmax(0, 1fr); padding-block: clamp(28px, 4.1vw, 62px) clamp(24px, 3.1vw, 46px); }
.intro-label { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; margin-bottom: clamp(22px, 2.8vw, 42px); }
.intro-label p:last-child, .intro-note { color: var(--muted); font: 12px/1.45 var(--mono); }
.kicker { font: 700 12px/1.4 var(--mono); letter-spacing: .095em; text-transform: uppercase; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 5px; }
.intro h1 { font-size: clamp(48px, 10.4vw, 158px); font-weight: 650; line-height: 1.12; letter-spacing: .006em; }
.intro-note { align-self: end; padding-left: 12px; padding-bottom: .12em; text-align: right; }
.hero { --caption-height: 48px; position: relative; }
.hero-track { display: flex; align-items: flex-start; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.hero-track::-webkit-scrollbar { display: none; }
.hero-track:focus-visible { outline-offset: 3px; }
.hero-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.hero-frame { aspect-ratio: 16 / 9; background: #282620; overflow: hidden; }
.hero-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero figcaption { border-bottom: 1px solid var(--line); min-height: var(--caption-height); display: flex; align-items: center; }
.hero figcaption a { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1.3 var(--sans); }
.hero figcaption span { color: var(--accent); font: 18px/1 var(--mono); }
.hero .hero-arrow { position: absolute; top: calc((100% - var(--caption-height)) / 2); transform: translateY(-50%); width: 52px; min-height: 52px; padding: 0; border: 1px solid #ffffff6b; border-radius: 50%; color: #fff; font: 23px/1 var(--sans); background: #1b1b17c9; opacity: 0; pointer-events: none; }
.hero-arrow[hidden] { display: none; }
.hero-prev { left: clamp(10px, 1.8vw, 28px); }
.hero-next { right: clamp(10px, 1.8vw, 28px); }
.hero .hero-arrow:focus-visible { opacity: 1; pointer-events: auto; outline-color: #fff; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .hero:hover .hero-arrow, .hero:focus-within .hero-arrow { opacity: 1; pointer-events: auto; }
  .hero .hero-arrow:hover { background: #171713; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-arrow { transition: opacity 150ms ease; }
}
.section { padding-block: clamp(56px, 7.5vw, 114px); }
.section-title { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.section-title h2, .about h2, .footer h2 { font-size: clamp(30px, 5.7vw, 86px); }
.section-title > a { font-size: 14px; padding-block: 11px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); align-items: start; gap: clamp(14px, 2.4vw, 38px); }
.card summary, .archive summary { list-style: none; cursor: pointer; }
.card summary::-webkit-details-marker, .archive summary::-webkit-details-marker { display: none; }
.card summary:hover, .archive summary:hover { color: var(--accent); }
.card-image { aspect-ratio: 1.38; background: var(--card-surface); overflow: hidden; display: grid; align-items: stretch; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card[open] .card-image { aspect-ratio: auto; }
.card[open] .card-image img { height: auto; }
.card.is-animating, .archive details.is-animating { overflow: clip; }
.card.is-animating .card-image img { height: 100%; }
#work-po-sledam-monstrov .card-image img { object-position: center 62%; }
.card-image span { place-self: end start; padding: 8%; color: var(--paper); font: 750 clamp(22px, 4vw, 50px)/.98 var(--sans); letter-spacing: 0; }
.card summary:hover img { filter: brightness(1.1); }
.card-meta { display: flex; justify-content: space-between; align-items: start; gap: 8px; padding-block: 11px 9px; color: var(--muted); font: 12px/1.35 var(--mono); }
.card-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: clamp(17px, 1.75vw, 27px); font-weight: 600; line-height: 1.3; letter-spacing: 0; overflow-wrap: anywhere; }
.expand-icon { flex-shrink: 0; display: grid; width: 28px; height: 28px; place-items: center; color: var(--accent); border: 1px solid var(--line); border-radius: 50%; font: 18px/1 var(--mono); }
.expand-icon::before { content: "+"; }
details[open] > summary .expand-icon::before { content: "−"; }
.project-panel { margin-top: 13px; padding: 15px 0 7px; border-top: 1px solid var(--line); font-size: 16px; }
.project-panel.has-poster { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); align-items: start; gap: clamp(20px, 3vw, 46px); }
.panel-poster img { width: auto; max-height: 420px; object-fit: contain; }
.project-panel section { max-width: 66ch; margin-top: 14px; }
.project-panel h4 { margin-bottom: 4px; }
.credit-role { color: var(--muted); }
.archive { margin-top: clamp(48px, 6vw, 101px); }
.archive h3 { font-size: clamp(26px, 4vw, 53px); margin-bottom: 22px; }
.archive ul { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.archive summary { border-top: 1px solid var(--line); display: grid; grid-template-columns: 60px 1fr 164px 28px; gap: 14px; align-items: center; min-height: 65px; padding-block: 13px; }
.archive strong { font-size: clamp(16px, 1.7vw, 25px); letter-spacing: 0; line-height: 1.3; overflow-wrap: anywhere; }
.archive summary > span:not(.expand-icon) { color: var(--muted); font: 12px/1.2 var(--mono); }
.archive .project-panel { margin-top: 0; padding-bottom: 24px; padding-inline-start: 74px; }
.archive details, .card { scroll-margin-top: 20px; }
.other-works { padding-top: clamp(28px, 4vw, 60px); border-top: 1px solid var(--line); }
.other-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); margin-top: clamp(32px, 5vw, 70px); }
.other-groups h3 { font-size: clamp(23px, 2.8vw, 43px); overflow-wrap: anywhere; }
.other-credit { margin-top: 9px; color: var(--muted); font-size: 14px; }
.other-groups ul { margin: 20px 0 0; padding: 0; border-bottom: 1px solid var(--line); list-style: none; }
.other-groups li > a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 61px; padding-block: 12px; border-top: 1px solid var(--line); text-decoration: none; }
.other-work-title { font-size: clamp(16px, 2vw, 22px); font-weight: 650; line-height: 1.25; overflow-wrap: anywhere; }
.other-work-title small { display: block; margin-top: 4px; color: var(--muted); font: 12px/1.3 var(--mono); }
.other-platform { flex-shrink: 0; color: var(--muted); white-space: nowrap; font: 12px/1.3 var(--mono); }
.other-platform span { color: var(--accent); }
.about { background: var(--surface); padding-block: clamp(42px, 6.2vw, 96px); }
.about-grid { display: grid; gap: clamp(24px, 8vw, 120px); grid-template-columns: minmax(0,.82fr) minmax(0,1fr); align-items: center; }
.about-photo img { width: 100%; height: auto; }
.about-text h2 { margin-block: 12px 22px; }
.about-text > p + p { margin-top: 12px; }
.about-text > p:not(.kicker) { max-width: 42ch; font-size: clamp(16px, 1.3vw, 20px); }
.button, button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; gap: 14px; border: 1px solid currentColor; border-radius: 0; padding: 8px 16px; color: inherit; background: transparent; text-decoration: none; cursor: pointer; font: 600 14px/1.2 var(--sans); }
.button:hover, button:hover { color: var(--accent); }
.about .button { margin-top: 24px; }
.footer { color: #eeeee6; background: #22251f; padding: clamp(36px, 6vw, 84px) 0 22px; }
.footer a:hover { color: #ffb19b; }
.footer a:focus-visible { outline-color: #ffb19b; }
.footer h2 { margin-top: 10px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 16px 33px; margin-block: 30px clamp(34px, 5vw, 69px); }
.footer-end { flex-wrap: wrap; border-top: 1px solid #626659; padding-top: 17px; display: flex; justify-content: space-between; gap: 14px; color: #d1d2c5; font: 12px/1.4 var(--mono); }
.project { padding-block: 27px clamp(60px, 8vw, 115px); min-height: 55vh; }
.back { display: inline-block; min-height: 44px; font-size: 14px; }
.project-heading { padding-block: clamp(28px, 5vw, 76px) 35px; }
.project h1, .editor h1 { font-size: clamp(40px, 7.45vw, 114px); margin-block: 10px 18px; overflow-wrap: anywhere; }
.project-actions { display: flex; flex-wrap: wrap; gap: 13px 28px; margin-top: 16px; }
.project-art { background: #282820; display: grid; justify-items: center; }
.project-art img { width: 100%; height: auto; max-height: min(72vh, 690px); object-fit: contain; }
.project-text { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 4vw, 60px); padding-top: 34px; }
.project-text h2 { font-size: 25px; margin-bottom: 10px; }
.lines { white-space: pre-line; }
.editor { padding-block: 20px 48px; }
.editor-grid { display: grid; grid-template-columns: minmax(180px,1fr) minmax(0,3fr); align-items: start; gap: 24px; max-width: 950px; }
.editor-grid ul { padding-left: 20px; }
.editor-grid ul a { display: inline-block; padding-block: 5px; }
.editor-grid a[aria-current] { color: var(--accent); }
.editor form { display: grid; gap: 12px; }
.editor form h2 { font-size: 26px; margin-bottom: 4px; overflow-wrap: anywhere; }
.editor label { display: grid; gap: 4px; font-weight: 600; }
.editor input:not([type=checkbox]), .editor textarea, .editor select {
  font: 16px/1.45 var(--sans); background: #1b2119; color: var(--ink); border: 1px solid #56604e; padding: 8px; width: 100%; border-radius: 0;
}
.editor .checkbox { display: flex; align-items: center; gap: 7px; }
.editor button { justify-self: start; }
.editor .manage { display: flex; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 20px; }
.editor .danger, .status { color: var(--accent); }
.status { margin-bottom: 18px; }
@media (max-width: 710px) {
  .masthead { min-height: 56px; flex-wrap: wrap; column-gap: 10px; row-gap: 0; }
  .mark { gap: 5px; font-size: 13px; }
  .mark-icon { width: 12px; height: 12px; }
  nav { width: 100%; font-size: 11px; gap: 0 16px; }
  .intro h1 { font-size: clamp(32px, 10.8vw, 76px); }
  .intro { grid-template-columns: 1fr; }
  .intro-label { align-items: start; }
  .intro-label p:last-child { max-width: 20ch; text-align: right; }
  .intro-note { padding: 15px 0 0; text-align: left; }
  .cards { grid-template-columns: 1fr; gap: 31px; }
  .card-image { aspect-ratio: 1.48; }
  .archive summary { grid-template-columns: 40px 1fr 28px; column-gap: 11px; }
  .archive-category { display: none; }
  .archive .project-panel { padding-inline-start: 51px; }
  .archive .project-panel.has-poster { grid-template-columns: 1fr; }
  .other-groups { grid-template-columns: 1fr; }
  .panel-poster img { max-height: 330px; }
  .about-grid, .project-text, .editor-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; }
  .project-text { padding-top: 19px; }
}
@media (max-width: 375px) {
  .masthead { padding-block: 8px 0; }
  .intro-label p:last-child { max-width: 17ch; }
}

/* Film frames lead the page; their native proportions always remain intact. */
html { scroll-padding-top: var(--header-offset, 106px); }
.masthead { display: block; position: sticky; top: 0; z-index: 20; min-height: 0; background: color-mix(in srgb, var(--paper) 95%, transparent); backdrop-filter: blur(14px); }
.masthead-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mark { display: block; font-weight: 550; font-size: 14px; line-height: 1.5; letter-spacing: 0; }
.mark small { display: block; font-weight: 350; font-size: 10px; color: var(--muted); }
nav { align-items: center; font-weight: 400; }
.nav-contact { margin-left: 12px; padding: 0 20px; background: var(--accent); color: var(--on-accent); border-radius: 30px; }
.nav-contact:hover { color: var(--on-accent); background: var(--accent-hover); }
.hero-label { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; color: var(--muted); font-size: 10px; }
.hero-frame { background: var(--image-surface); }
.hero figcaption a { font-size: 12px; font-weight: 400; max-width: calc(100% - 66px); padding-block: 8px; }
.hero-progress { position: absolute; right: 0; bottom: 14px; font-size: 10px; color: var(--muted); }
.intro { grid-template-columns: minmax(0, 1fr) minmax(170px, 330px); align-items: end; gap: 24px; padding-block: 36px 52px; border-bottom: 1px solid var(--line); }
.intro h1 { font-size: clamp(44px, 6.8vw, 104px); font-weight: 500; line-height: 1.14; }
.intro-copy { padding-bottom: 8px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.intro-copy p:first-child { color: var(--ink); }
.text-link { display: inline-block; margin-top: 16px; font-size: 12px; text-underline-offset: .4em; }
.section-title .kicker { margin-bottom: 15px; color: var(--muted); font-size: 10px; font-weight: 450; letter-spacing: .08em; }
.section-title h2, .about h2, .footer h2 { font-size: clamp(30px, 5.2vw, 80px); font-weight: 500; line-height: 1.17; }
.section-note { max-width: 27ch; color: var(--muted); font-size: 11px; text-align: right; }
.stills-section { padding-bottom: 0; }
.stills-section .section-title { margin-bottom: 55px; }
.stills-grid { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 92px) clamp(24px, 6vw, 92px); align-items: start; }
.still-tile { min-width: 0; }
.still-tile:first-child { grid-column: 1 / -1; width: 85%; }
.still-tile:nth-child(3) { margin-top: 24%; }
.still-tile:nth-child(4) { grid-column: 1 / -1; width: 80%; justify-self: end; }
.still-tile:nth-child(5) { grid-column: 1 / -1; }
.still-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #1a1d17; cursor: zoom-in; }
.still-open img { width: 100%; height: auto; }
.still-expand { position: absolute; bottom: 16px; right: 16px; padding: 9px 12px; color: #f1f2ea; background: #111410cc; font-size: 10px; font-weight: 400; opacity: 0; }
.still-open:hover .still-expand, .still-open:focus-visible .still-expand { opacity: 1; }
.still-tile figcaption { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding-top: 12px; font-size: 11px; font-weight: 350; }
.still-tile figcaption a { text-decoration: none; }
.still-tile figcaption span { color: var(--muted); }
.projects-section { margin-top: clamp(48px, 7vw, 108px); border-top: 1px solid var(--line); }
.projects-section .section-title { margin-bottom: 42px; }
.card-title { font-weight: 500; }
.card-meta { font-size: 10px; font-weight: 350; }
.project-panel { font-size: 16px; line-height: 1.8; }
.project-panel h4 { color: var(--ink); font-size: 12px; font-weight: 600; }
.project-panel p { color: var(--body-muted); }
.credit-role, .project-actions { font-size: 11px; }
.archive h3 { font-weight: 450; }
.archive strong { font-weight: 450; }
.expand-icon { border-color: var(--outline); }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.case-story { min-width: 0; scroll-margin-top: 110px; }
.case-story summary { cursor: pointer; list-style: none; }
.case-story summary::-webkit-details-marker { display: none; }
.case-cover { display: block; margin-bottom: 10px; }
.case-cover img { width: 100%; height: auto; }
.case-story.is-animating { overflow: clip; }
.case-story .card-title { font-size: clamp(22px, 2.5vw, 36px); }
.case-story .project-panel section { margin-top: 24px; }
.cases-section { border-top: 1px solid var(--line); }
.contact-strip { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 45px 0; margin-block: 0 80px; border-block: 1px solid var(--line); }
.contact-strip p { font-size: clamp(19px, 2.5vw, 36px); line-height: 1.5; font-weight: 400; }
.contact-strip .button { border-radius: 30px; font-size: 12px; min-height: 48px; padding-inline: 22px; }
.other-groups h3 { font-weight: 450; }
.other-work-title { font-size: clamp(16px, 1.3vw, 18px); font-weight: 400; line-height: 1.6; }
.other-platform, .other-work-title small { font-size: 10px; }
.about-text > p:not(.kicker) { font-size: clamp(16px, 1.1vw, 18px); line-height: 1.9; }
.about-photo { padding: 5%; }
.about-photo img { filter: saturate(.75); }
.footer { background: var(--footer-bg, var(--accent)); color: var(--footer-fg, var(--on-accent)); padding-top: clamp(48px, 7vw, 104px); }
.footer a:hover { color: var(--footer-hover, #4f642f); }
.footer a:focus-visible { outline-color: var(--footer-fg, var(--on-accent)); }
.footer .kicker { font-size: 10px; font-weight: 450; }
.footer h2 { margin-block: 20px; }
.contact-invitation { font-size: 13px; }
.contact-mail { display: inline-block; margin-top: clamp(25px, 4vw, 60px); font-size: clamp(18px, 4.3vw, 65px); letter-spacing: -.015em; font-weight: 400; text-decoration-thickness: 1px; }
.contact-links { margin-top: 20px; gap: 18px 38px; font-size: 12px; }
.footer-end { color: var(--footer-muted, var(--accent-muted)); border-color: var(--footer-line, var(--accent-line)); font-size: 10px; }
.editor-section-title { font-size: 23px; margin-top: 30px; }
.editor-hint { color: var(--muted); font-size: 12px; font-weight: 350; }
.frame-viewer { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: clamp(16px, 3vw, 44px); border: 0; color: #eeefe7; background: #090c09; }
.frame-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 20px; }
.frame-viewer::backdrop { background: #090c09ee; }
.viewer-open { overflow: hidden; }
.viewer-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 12px; }
.viewer-close { border: 0; padding: 0 8px; font-size: 11px; font-weight: 400; gap: 15px; }
.viewer-close span { font-size: 26px; }
.viewer-figure { min-height: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; }
.viewer-figure img { max-width: 100%; max-height: calc(100dvh - 230px); width: auto; height: auto; object-fit: contain; }
.viewer-figure figcaption { display: flex; justify-content: space-between; gap: 24px; align-self: stretch; font-size: 11px; }
.viewer-position { color: var(--muted); }
.viewer-controls { display: flex; justify-content: center; gap: 12px; }
.viewer-controls button { width: 48px; height: 48px; border-radius: 50%; border-color: #55604b; }
@media (prefers-reduced-motion: no-preference) {
  .still-expand { transition: opacity 180ms ease; }
  .nav-contact { transition: background-color 180ms ease; }
}
@media (hover: none) {
  .still-expand { opacity: 1; font-size: 9px; bottom: 8px; right: 8px; padding: 6px 9px; }
}
@media (max-width: 900px) {
  .masthead-inner { flex-wrap: wrap; gap: 4px 18px; padding-block: 14px 8px; }
  nav { width: auto; font-size: 11px; gap: 0 18px; }
  .nav-contact { margin-left: 0; padding-inline: 15px; min-height: 38px; }
  .intro { grid-template-columns: minmax(0, 1fr) minmax(170px, 230px); }
  .intro h1 { font-size: clamp(40px, 7.2vw, 70px); }
  .intro-copy { font-size: 11px; }
}
@media (max-width: 710px) {
  html { scroll-padding-top: var(--header-offset, 130px); }
  .masthead-inner { display: block; padding-top: 12px; }
  .mark { font-size: 12px; }
  .mark small { font-size: 9px; }
  nav { justify-content: space-between; gap: 0 12px; margin-top: 9px; font-size: 10px; }
  .nav-contact { padding-inline: 12px; }
  .hero-label { font-size: 9px; padding-block: 16px; }
  .hero-label p:last-child { max-width: 20ch; text-align: right; }
  .hero figcaption a { font-size: 10px; }
  .hero-progress { font-size: 9px; }
  .intro { grid-template-columns: 1fr; padding-block: 24px 34px; gap: 20px; }
  .intro h1 { font-size: clamp(34px, 10.8vw, 72px); }
  .intro-copy { font-size: 11px; padding: 0; }
  .intro-copy p { display: block; }
  .intro-copy .text-link { display: block; width: fit-content; margin-top: 12px; }
  .section-title .kicker { font-size: 9px; }
  .section-note { text-align: left; font-size: 10px; }
  .stills-section .section-title { margin-bottom: 28px; }
  .stills-grid { grid-template-columns: 1fr; gap: 32px; }
  .still-tile:first-child, .still-tile:nth-child(4) { width: 100%; }
  .still-tile:nth-child(3) { margin-top: 0; }
  .still-tile figcaption { font-size: 10px; }
  .projects-section { margin-top: 48px; }
  .card-title { font-size: 21px; }
  .card-meta { font-size: 10px; }
  .project-panel { font-size: 16px; }
  .case-grid { grid-template-columns: 1fr; gap: 32px; }
  .case-story { scroll-margin-top: 130px; }
  .contact-strip { align-items: start; flex-direction: column; padding-block: 28px; margin-bottom: 48px; }
  .other-groups { gap: 35px; }
  .other-groups h3 { font-size: 26px; }
  .other-work-title { font-size: 16px; }
  .other-platform { font-size: 9px; }
  .about-photo { padding: 0; max-width: 240px; }
  .about-text > p:not(.kicker) { font-size: 16px; }
  .contact-mail { font-size: clamp(17px, 5.2vw, 28px); }
  .contact-links { font-size: 11px; }
  .contact-invitation { font-size: 11px; }
  .viewer-toolbar { font-size: 10px; }
  .viewer-close { font-size: 10px; }
}
@media (max-width: 375px) {
  nav { font-size: 9px; gap: 0 6px; }
  .nav-contact { padding-inline: 8px; }
}

.project-gallery { margin-block: 20px; }
.project-gallery summary { cursor: pointer; }
.project-gallery > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 10px;
  margin-top: 12px;
}
.project-gallery img { display: block; width: 100%; height: auto; }

.privacy { max-width: 920px; padding-block: clamp(36px, 7vw, 88px); }
.privacy h1 { font-size: clamp(25px, 4.4vw, 52px); line-height: 1.22; overflow-wrap: anywhere; }
.privacy h2 { font-size: clamp(17px, 2.35vw, 26px); line-height: 1.4; }
.privacy section { margin-top: 32px; }
.privacy p { margin-top: 14px; line-height: 1.75; overflow-wrap: anywhere; }

.theme-picker { position: relative; margin-inline-start: -16px; }
.theme-picker summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 15px;
  border: 1px solid var(--line);
  border-radius: 30px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}
.theme-picker summary::-webkit-details-marker { display: none; }
.theme-picker summary:hover, .theme-picker[open] summary { border-color: var(--accent); color: var(--accent); }
.theme-options {
  position: absolute;
  z-index: 1;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  display: grid;
  gap: 4px;
  width: max-content;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 26px #0005;
}
.theme-options button {
  justify-content: flex-start;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  white-space: nowrap;
}
.theme-options button[aria-pressed="true"] { border-color: var(--line); color: var(--accent); }
.theme-options button::before {
  content: "";
  width: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--swatch);
}
[data-theme-choice="green"] { --swatch: #dce89e; }
[data-theme-choice="blue"] { --swatch: #a8d4ff; }
[data-theme-choice="red"] { --swatch: #ffb3b5; }
[data-theme-choice="gray"] { --swatch: #767676; }
@media (max-width: 900px) {
  .theme-picker { margin-inline-start: 0; }
  .theme-picker summary { min-height: 38px; padding-inline: 10px; }
}

.other-work-with-gallery { position: relative; border-top: 1px solid var(--line); }
.other-work-with-gallery .project-gallery { margin: 0; }
.other-work-with-gallery summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 12px 100px 12px 0;
  list-style: none;
}
.other-work-with-gallery summary::-webkit-details-marker { display: none; }
.other-work-with-gallery summary::before {
  content: "";
  flex: 0 0 7px;
  height: 7px;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  transform: rotate(-45deg);
}
.other-work-with-gallery details[open] summary::before { transform: rotate(45deg); }
.other-work-with-gallery .project-gallery > div { margin: 0 0 18px; }
.other-groups .other-work-service {
  position: absolute;
  inset: 0 0 auto auto;
  min-height: 60px;
  border: 0;
}
