* { box-sizing: border-box; }
:root { --ease-out: cubic-bezier(.22, 1, .36, 1); --motion-fast: 180ms; --motion-panel: 280ms; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
a, button, input, textarea { touch-action: manipulation; -webkit-tap-highlight-color: #90a7ff40; }
a, button { color: inherit; }
a { text-decoration: none; }
button { cursor: pointer; }
p, h1, h2, h3, figure { margin: 0; }
p { line-height: 1.6; }
h1, h2, h3 { text-wrap: balance; }
p, h1, h2, h3, a, button { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
section, [id] { scroll-margin-top: 28px; }
[hidden] { display: none !important; }
.wrap { max-width: 1408px; margin-inline: auto; padding-inline: max(clamp(22px, 4vw, 64px), env(safe-area-inset-left)) max(clamp(22px, 4vw, 64px), env(safe-area-inset-right)); }
.skip { position: fixed; top: 12px; left: 16px; z-index: 10; padding: 14px 20px; background: var(--ink); color: var(--paper); border-radius: 8px; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.eyebrow { font-size: 0.75rem; line-height: 1.5; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.header { height: 76px; display: flex; align-items: center; gap: 22px; }
.header { min-height: 76px; height: auto; padding-block: 12px; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; }
.brand-mark { display: block; width: 29px; height: 31px; background: linear-gradient(var(--logo-top), var(--logo-bottom)); mask: url('/assets/logo-source.png') 44% 50% / 155% no-repeat; -webkit-mask: url('/assets/logo-source.png') 44% 50% / 155% no-repeat; }
.desktop-nav { display: flex; flex-wrap: wrap; gap: 27px; margin-left: auto; }
.desktop-nav a, .mobile-nav a { min-height: 44px; display: flex; align-items: center; font-size: 0.875rem; }
.desktop-nav a:hover, .text-link:hover, .mobile-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 52px; padding: 14px 23px; border: 1px solid #0000000d; border-radius: 10px; background: var(--button-bg); color: var(--button-ink); box-shadow: inset 0 1px 0 #ffffff20, 0 2px 3px #0000000c; font-size: 0.9375rem; font-weight: 600; line-height: 1.4; text-align: center; }
.button span { font-size: 1.3125rem; line-height: 1; }
.button:hover { background: var(--button-hover); }
.button:active { transform: translateY(1px); box-shadow: inset 0 1px 2px #00000020; }
.button.small { min-height: 44px; padding: 10px 17px; font-size: 0.875rem; gap: 18px; }
.header-cta { flex-shrink: 0; white-space: nowrap; }
.theme-toggle, .menu-toggle { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 10px; padding: 0; }
.theme-toggle:hover, .menu-toggle:hover { background: var(--surface); }
.sun-icon, .menu-toggle { display: none; }
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] .moon-icon { display: none; }
.mobile-nav { padding-block: 8px 20px; border-bottom: 1px solid var(--rule); }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 60px; padding-block: 62px 84px; }
.hero > * { min-width: 0; }
.hero .eyebrow { color: var(--blue); }
.hero h1 { font-size: clamp(3.125rem, 5.35vw, 4.875rem); line-height: 1.04; letter-spacing: -.055em; margin: 24px 0; }
.hero h1 > span { color: var(--blue); }
.hero-description { color: var(--muted); font-size: 1.125rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: 0.875rem; font-weight: 600; border: 0; background: transparent; padding: 0; }
.text-link span { font-size: 1.25rem; }
.film-poster { position: relative; isolation: isolate; overflow: hidden; width: 100%; aspect-ratio: 16 / 9; display: flex; flex-direction: column; justify-content: end; padding: 24px; border: 0; border-radius: 16px; background: #171d2b; color: #fff; text-align: left; }
.film-thumbnail { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: -2; }
.film-poster::before { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, #080b11e6); z-index: -1; pointer-events: none; }
.film-poster > .play { position: absolute; inset: 50% auto auto 50%; margin: -28px 0 0 -28px; width: 56px; height: 56px; background: #111827dd; color: #fff; border: 1px solid #ffffff80; }
.film-poster:hover { background: #0c1320; }
.poster-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.75rem; letter-spacing: .6px; }
.poster-top > span:last-child { color: #c0ccff; }
.poster-title { display: block; font-size: clamp(2.25rem, 4.2vw, 3.625rem); line-height: 1.05; letter-spacing: -.045em; font-weight: 600; padding-block: 44px; }
.blue-dot { color: #92a6ff; }
.poster-bottom { display: flex; align-items: center; gap: 14px; font-size: 0.875rem; line-height: 1.5; }
.play { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: #ffffff15; padding-left: 2px; }
.poster-arrow { margin-left: auto; font-size: 1.625rem; }
.section { padding-block: 64px; }
.section h2 { font-size: clamp(2rem, 3.1vw, 2.75rem); line-height: 1.13; letter-spacing: -.04em; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 38px; }
.section-heading > div { max-width: 640px; }
.section-heading > div, .hero-copy, .contact-copy, .process-intro { min-width: 0; max-width: 100%; }
.section-heading h2 { margin-top: 13px; }
.section-heading > p { flex: 0 1 335px; color: var(--muted); font-size: 1rem; }
.services { border-top: 1px solid var(--rule); }
.service-row { display: grid; grid-template-columns: 38px 1fr 1.2fr; gap: 25px; align-items: center; padding-block: 27px; border-bottom: 1px solid var(--rule); }
.mini-number { color: var(--blue); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.service-row h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.2; letter-spacing: -.6px; }
.service-row p { color: var(--muted); font-size: 1rem; }
.work { background: var(--surface-alt); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.work-grid > * { min-width: 0; }
.project-art { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface); border-radius: 14px; }
.project-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.art-label { position: absolute; bottom: 16px; left: 16px; color: #fff; background: #131b2d; font-size: 0.75rem; padding: 7px 11px; border-radius: 6px; }
.work-grid figcaption { padding-top: 17px; }
.work-grid figcaption strong { font-size: 1.0625rem; font-weight: 600; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.team-grid article { display: grid; grid-template-columns: .85fr 1fr; align-items: center; gap: 24px; min-width: 0; }
.founder-portrait { overflow: hidden; border-radius: 12px; background: var(--surface); }
.founder-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.viesturs-portrait img { transform: scale(1.35); transform-origin: center 65%; }
.founder-copy { min-width: 0; }
.founder-copy .eyebrow { font-size: 0.75rem; letter-spacing: .7px; }
.founder-copy h3 { font-size: 1.8125rem; letter-spacing: -.7px; margin: 11px 0 15px; }
.founder-copy > p:last-child { font-size: 1rem; color: var(--muted); }
.process { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; border-top: 1px solid var(--rule); }
.process-intro h2 { margin: 17px 0 22px; font-size: clamp(2.25rem, 4.1vw, 3.625rem); }
.process-intro > p:last-child { font-size: 1rem; color: var(--muted); }
.process-list { list-style: none; margin: 0; padding: 0; counter-reset: steps; }
.process-list li { counter-increment: steps; border-bottom: 1px solid var(--rule); position: relative; padding: 22px 0 25px 47px; }
.process-list li:first-child { padding-top: 0; }
.process-list li::before { content: '0' counter(steps); color: var(--blue); font-size: 0.75rem; position: absolute; left: 0; top: 27px; }
.process-list li:first-child::before { top: 5px; }
.process-list h3 { font-size: 1.3125rem; font-weight: 600; letter-spacing: -.4px; line-height: 1.25; margin-bottom: 8px; }
.process-list p { font-size: 1rem; color: var(--muted); }
.scroll-intro { align-self: start; }
@media (min-width: 761px) { .scroll-intro[data-sticky] { position: sticky; top: 32px; } }
.contact { background: var(--accent-fill); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; }
.contact-copy { padding-top: 0; }
.contact-copy .eyebrow { color: #e2e8ff; }
.contact-copy h2 { font-size: clamp(2.75rem, 6.1vw, 5.5rem); line-height: 1.05; letter-spacing: -.045em; margin: 22px 0; }
.contact-copy > p:not(.eyebrow) { font-size: 1.25rem; max-width: 410px; color: #edf0ff; }
.contact-copy .button { margin-top: 24px; }
.button.light { background: #fff; color: #203bbc; border-color: #fff; }
.button.light:hover { background: #edf1ff; }
.contact-copy :focus-visible { outline-color: #fff; }
.contact-emails { margin-top: 24px; font-size: 0.875rem; }
.contact-emails p { color: #edf0ff; }
.contact-emails a { display: block; width: fit-content; min-height: 44px; padding-block: 10px; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.founder-emails { display: flex; flex-wrap: wrap; gap: 0 20px; }
#project-form { background: var(--card); color: var(--ink); border-radius: 20px; padding: 32px; box-shadow: 0 12px 36px #10217819; min-width: 0; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { min-width: 0; margin-bottom: 23px; }
.field label { display: block; font-size: 0.875rem; font-weight: 600; line-height: 1.5; margin-bottom: 9px; }
.field label span { font-size: 0.75rem; font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { display: block; width: 100%; min-width: 0; min-height: 50px; border: 1px solid transparent; border-radius: 9px; padding: 13px 14px; background: var(--field); color: var(--ink); font-size: 1rem; line-height: 1.5; }
.field input:hover, .field textarea:hover, .field select:hover { background: var(--field-hover); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field textarea { min-height: 150px; resize: vertical; }
.project-details { margin: -7px 0 18px; }
.project-details summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding-block: 8px; border-radius: 4px; color: var(--blue); font-size: 0.875rem; font-weight: 600; line-height: 1.5; list-style: none; cursor: pointer; touch-action: manipulation; }
.project-details summary::-webkit-details-marker { display: none; }
.project-details summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.optional-label { color: var(--muted); font-weight: 400; }
.details-icon { width: 16px; height: 16px; flex: 0 0 16px; position: relative; }
.details-icon::before, .details-icon::after { content: ''; position: absolute; background: currentColor; border-radius: 1px; }
.details-icon::before { top: 7px; left: 2px; width: 12px; height: 2px; }
.details-icon::after { left: 7px; top: 2px; width: 2px; height: 12px; }
.details-icon::after { transition: transform var(--motion-fast) var(--ease-out); }
.project-details[open] .details-icon::after { transform: scaleY(0); }
.project-details-fields { padding-top: 16px; }
.details-help { font-size: 0.8125rem; color: var(--muted); margin-bottom: 16px; }
.support-options { min-width: 0; border: 0; padding: 0; margin: 0 0 23px; }
.support-options legend { padding: 0; font-size: 0.875rem; font-weight: 600; line-height: 1.5; margin-bottom: 6px; }
.support-options .details-help { margin-bottom: 8px; }
.support-options label { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 9px 12px; margin-top: 6px; background: var(--field); border-radius: 9px; font-size: 0.875rem; line-height: 1.5; cursor: pointer; }
.support-options label:hover { background: var(--field-hover); }
.support-options input { width: 18px; height: 18px; margin: 0; flex: 0 0 18px; accent-color: var(--button-bg); }
.project-details-fields > .field:last-child { margin-bottom: 8px; }
.budget-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; }
.budget-heading output { display: inline-block; color: var(--blue); background: var(--field); padding: 7px 11px; border-radius: 9px; font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.budget-control { position: relative; --budget-progress: 0; margin-top: 6px; }
.budget-rail { position: absolute; top: 19px; left: 12px; right: 12px; height: 6px; border-radius: 6px; background: var(--rule); pointer-events: none; }
.budget-fill { display: block; height: 100%; border-radius: inherit; background: var(--blue); transform-origin: left center; transform: scaleX(var(--budget-progress)); transition: transform var(--motion-panel) var(--ease-out); }
.budget-ticks { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; }
.budget-ticks i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
.field .budget-slider { position: relative; appearance: none; -webkit-appearance: none; height: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; accent-color: var(--button-bg); }
.field .budget-slider:hover { background: transparent; }
.budget-slider::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: transparent; }
.budget-slider::-moz-range-track { height: 6px; border-radius: 6px; background: transparent; }
.budget-slider::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border: 3px solid var(--card); border-radius: 50%; background: var(--button-bg); box-shadow: 0 1px 4px #0003; }
.budget-slider::-moz-range-thumb { width: 18px; height: 18px; border: 3px solid var(--card); border-radius: 50%; background: var(--button-bg); box-shadow: 0 1px 4px #0003; }
.budget-limits { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.budget-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; }
.budget-footer p { font-size: 0.75rem; color: var(--muted); }
.budget-reset { min-height: 44px; border: 0; padding: 8px 0; background: transparent; color: var(--blue); font-size: 0.8125rem; text-decoration: underline; text-underline-offset: 3px; }
.budget-reset:hover { text-decoration-thickness: 2px; }
.field input[type="hidden"] { display: none; }
.submit-button { width: 100%; justify-content: space-between; }
.form-notice { font-size: 0.75rem; color: var(--muted); margin-top: 14px; text-align: center; }
.field-error { font-size: 0.875rem; color: var(--error); margin-top: 8px; }
.field-error:empty, .form-status:empty { display: none; }
.field [aria-invalid="true"] { border-color: var(--error); }
.form-status { margin-top: 18px; padding: 14px; background: var(--field); border-radius: 9px; font-size: 0.875rem; }
.form-status[data-state="error"] { border-left: 3px solid var(--error); }
.form-status[data-state="success"] { border-left: 3px solid var(--blue); }
.button:disabled { cursor: wait; opacity: .7; transform: none; }
.submit-spinner { display: none !important; width: 18px; height: 18px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; }
[data-sending="true"] .submit-spinner { display: inline-block !important; animation: sending-spin 800ms linear infinite; }
[data-sending="true"] .submit-arrow { display: none; }
.draft-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; color: var(--muted); font-size: .75rem; margin-top: 8px; }
.draft-tools button { border: 0; background: transparent; color: var(--blue); min-height: 44px; padding: 8px; text-decoration: underline; text-underline-offset: 4px; }
.founder-portrait { position: relative; }
.media-loading::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 15%, var(--card) 50%, transparent 85%); opacity: .4; transform: translateX(-100%); animation: media-shimmer 1.4s ease-in-out 3; pointer-events: none; }
.media-loading img, .media-error img { opacity: 0; }
.media-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; padding: 20px; color: var(--muted); font-size: .875rem; text-align: center; }
.media-fallback button { background: var(--card); border: 1px solid var(--rule); border-radius: 8px; color: var(--blue); padding: 10px 16px; min-height: 44px; }
@keyframes media-shimmer { to { transform: translateX(100%); } }
.budget-basis-label { margin-top: 12px; }
@keyframes sending-spin { to { transform: rotate(360deg); } }
.enquiry-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.standalone { padding-block: clamp(64px, 12vh, 140px); max-width: 850px; }
.standalone h1 { font-size: clamp(2.625rem, 6vw, 4.75rem); line-height: 1.1; margin-block: 24px; }
.standalone p { color: var(--muted); font-size: 1.125rem; margin-bottom: 28px; }
.footer { min-height: 110px; display: flex; gap: 26px; align-items: center; padding-bottom: env(safe-area-inset-bottom); }
.footer p { font-size: 0.75rem; color: var(--muted); }
.footer .text-link { margin-left: auto; }
dialog { width: min(540px, calc(100% - 36px)); max-height: calc(100dvh - 48px); overscroll-behavior: contain; border: 1px solid var(--rule); border-radius: 18px; padding: 44px 36px 36px; background: var(--card); color: var(--ink); box-shadow: 0 20px 80px #0004; }
dialog::backdrop { background: #0b102899; }
dialog h2 { margin: 19px 0; font-size: 2.25rem; line-height: 1.1; letter-spacing: -1.2px; }
dialog p:not(.eyebrow) { margin-top: 12px; color: var(--muted); font-size: 1rem; }
dialog .button { margin-top: 25px; }
.film-dialog { width: min(1120px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 52px 0 0; border: 0; border-radius: 0; background: transparent; color: #f4f5f7; color-scheme: dark; box-shadow: none; }
.film-dialog::backdrop { background: #05070ddd; }
.film-stage { overflow: hidden; border-radius: 12px; background: #000; }
.film-dialog .dialog-close { position: absolute; top: 0; right: 0; display: grid; place-items: center; color: #e5eaf3; background: #ffffff0d; border-radius: 50%; }
.film-dialog .dialog-close:hover { background: #ffffff14; }
.film-dialog :focus-visible { outline: 2px solid #a7baff; outline-offset: -4px; }
.film-dialog video { display: block; width: 100%; max-height: calc(100dvh - 120px); aspect-ratio: 16 / 9; object-fit: contain; background: #000; border-radius: 0; }
.video-feedback { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; padding: 0 20px; }
.video-feedback:has(.video-status:empty):has(.video-retry[hidden]) { display: none; }
.film-dialog .video-status { margin: 0; padding-block: 12px; color: #c1c9d6; font-size: .875rem; }
.video-status:empty { display: none; }
.video-retry { min-height: 44px; padding: 8px 12px; border: 0; border-radius: 6px; background: #ffffff12; color: #f4f5f7; margin-block: 6px; }
.video-retry:hover { background: #ffffff22; }
html:has(dialog[open]) { overflow: hidden; }
html { scrollbar-gutter: stable; }
img, video, .founder-portrait, .film-poster { -webkit-touch-callout: none; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.dialog-close { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; background: transparent; border: 0; font-size: 1.75rem; border-radius: 9px; }
.dialog-close:hover { background: var(--surface); }
.button, .theme-toggle svg, .menu-toggle, .film-poster .play { transition: transform var(--motion-fast) var(--ease-out); }
.button > span, .text-link > span, .poster-arrow { display: inline-block; transition: transform var(--motion-panel) var(--ease-out); }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ''; position: absolute; inset: auto 0 6px; height: 2px; background: var(--blue); transform-origin: left center; transform: scaleX(0); transition: transform var(--motion-panel) var(--ease-out); }
.desktop-nav a:hover { text-decoration: none; }
.desktop-nav a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
.field:focus-within > label, .budget-field:focus-within .budget-heading label { color: var(--blue); }
.support-options label:has(input:checked) { box-shadow: inset 0 0 0 1px var(--blue); background: var(--field-hover); }
dialog[open], .mobile-nav:not([hidden]) { animation: panel-enter var(--motion-panel) var(--ease-out); }
dialog[open]::backdrop { animation: backdrop-enter var(--motion-panel) var(--ease-out); }
@keyframes panel-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes backdrop-enter { from { opacity: 0; } to { opacity: 1; } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button:hover { transform: translateY(-2px); }
  .button:active { transform: translateY(1px) scale(.985); }
  .button:hover > span, .film-poster:hover .poster-arrow { transform: translate(2px, -2px); }
  .text-link:hover > span { transform: translateY(2px); }
  .film-poster:hover .play { transform: scale(1.08); }
  .theme-toggle:hover svg { transform: rotate(-12deg); }
}
@media (max-width: 1100px) {
  .header { gap: 16px; } .desktop-nav { gap: 18px; }
  .hero { gap: 35px; } .hero-description { font-size: 1.0625rem; }
  .film-poster { padding: 20px; }
  .team-grid article { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .founder-portrait img { aspect-ratio: 1.2 / 1; object-position: center 30%; }
  .process, .contact-grid { gap: 45px; }
  #project-form { padding: 26px; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 760px) {
  .header { min-height: 68px; height: auto; gap: 10px; }
  .desktop-nav { display: none; } .header-cta { margin-left: auto; } .menu-toggle { display: grid; font-size: 1.375rem; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-block: 38px 56px; }
  .hero h1 { font-size: clamp(2.875rem, 9.8vw, 4.25rem); margin-block: 20px; }
  .hero-actions { margin-top: 25px; gap: 23px; }
  .film-poster { padding: 16px; }
  .poster-title { font-size: clamp(2.375rem, 7.5vw, 3.5rem); padding-block: 32px; }
  .section { padding-block: 56px; }
  .section h2 { font-size: 2.0625rem; }
  .section-heading { flex-direction: column; align-items: start; gap: 18px; margin-bottom: 28px; }
  .section-heading > p { flex: initial; }
  .service-row { grid-template-columns: 26px 1fr; gap: 12px 17px; padding-block: 22px; }
  .service-row h3 { font-size: 1.375rem; } .service-row p { grid-column: 2; }
  .work-grid { grid-template-columns: 1fr; gap: 28px; }
  .team-grid { gap: 26px; } .founder-copy h3 { font-size: 1.6875rem; }
  .founder-portrait img { aspect-ratio: 4 / 5; }
  .process, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-copy { padding-top: 0; } .contact-copy h2 { font-size: 2.8125rem; }
  .contact-copy > p:not(.eyebrow) { font-size: 1.125rem; }
  .field-pair { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer { flex-wrap: wrap; gap: 12px 24px; padding-block: 22px max(24px, env(safe-area-inset-bottom)); }
  .footer p { order: 3; width: 100%; }
}
@media (max-width: 500px) {
  .header { gap: 7px; } .button.small { padding: 10px 12px; gap: 10px; font-size: 0.8125rem; }
  .hero-description { font-size: 1rem; } .hero .eyebrow { font-size: 0.75rem; letter-spacing: .8px; }
  .team-grid { grid-template-columns: 1fr; gap: 32px; }
  .team-grid article { grid-template-columns: 1fr; gap: 20px; }
  .founder-portrait img { aspect-ratio: 1.2 / 1; object-position: center 30%; }
  .founder-copy .eyebrow { font-size: 0.75rem; } .founder-copy > p:last-child { font-size: 1rem; }
  #project-form { padding: 23px; border-radius: 15px; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
  dialog { padding: 44px 24px 28px; }
  .film-dialog { padding: 52px 0 0; width: calc(100% - 20px); }
  .film-stage { border-radius: 8px; }
}
@media (max-width: 370px) {
  .header { gap: 4px; } .header .button.small { padding-inline: 10px; gap: 7px; font-size: 0.75rem; }
  .hero-actions { gap: 14px; } .hero-actions .button { padding-inline: 17px; gap: 18px; }
  .hero-actions .text-link { font-size: 0.8125rem; gap: 10px; }
  .team-grid article { grid-template-columns: 1fr; }
  .founder-portrait img { aspect-ratio: 1 / 1; }
}
@media (min-width: 761px) and (max-width: 1100px), (max-width: 500px) {
  .viesturs-portrait img { transform: scale(1.6); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
