/* Shared refinements preserve IDEA's field, typefaces and brand palette. */
:root { --header-height: 104px; --text-display-tracking: -.035em; }
[id], main > section[id] { scroll-margin-top: calc(var(--header-height) + 16px); }
.site-header .language,
.site-header .menu-toggle { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.main-nav a::after { bottom: 0; }
.language a { opacity: .85; }
.motion-ready .hero-copy { opacity: 1; transform: none; }
.hero-stage { min-height: 0; }
.hero-copy { color: var(--white); text-shadow: none; }
.hero-copy h1 { line-height: .98; }
.hero-cta { color: var(--white); background: var(--blue-deep); border: 0; padding: 12px 18px; }
.hero-idle-cue { display: none; }
/* Keep a single useful screen when video motion is unavailable or disabled. */
html:not(.motion-enabled) .hero-sequence { height: 100svh; min-height: 0; }
html:not(.motion-ready) .hero-canvas,
html:not(.motion-ready) .hero-video,
html:not(.motion-ready) .butterfly-guide { display: none !important; }
html:not(.motion-ready) .logo-track,
html:not(.motion-ready) .butterfly-guide * { animation-play-state: paused !important; }
html:not(.motion-ready) .manifesto .word,
html:not(.motion-ready) .process-list li,
html:not(.motion-ready) .project-card { opacity: 1 !important; }
html:not(.motion-ready) .manifesto-scene,
html:not(.motion-ready) .process-step__copy,
html:not(.motion-ready) .project-card { transform: none !important; }
html:not(.motion-enabled) .logo-track { animation: none !important; transform: none !important; width: 100%; }
html:not(.motion-enabled) .logo-set[aria-hidden="true"] { display: none; }
html:not(.motion-enabled) .logo-set { display: flex; flex-wrap: wrap; justify-content: center; width: 100%; }
html:not(.motion-enabled) .logo-set img { width: clamp(120px, 17vw, 200px); height: 100px; margin: 0 16px; }
html:not(.motion-enabled) .hero-scroll { display: none; }
.project-card__meta,
.works-card__meta { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 14px 12px 22px; }
.project-card__meta h3,
.works-card__meta h3 { margin: 0; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.25; letter-spacing: -.015em; }
.project-card__meta .project-client,
.works-card__meta .project-client { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.project-client:empty { display: none; }
.project-card__media,
.works-card__media { aspect-ratio: 16 / 9; }
.video-format { position: absolute; top: 12px; left: 12px; padding: 3px 7px; background: var(--ink); color: var(--white); font-size: 12px; }
.project-card__media.is-portrait img,
.works-card__media.is-portrait img { object-fit: contain; background: #121619; }
.play-icon { font-family: Arial, sans-serif; font-size: 14px; }
.video-dialog { width: min(1100px, calc(100vw - 32px)); max-height: calc(100svh - 24px); overflow-y: auto; }
.video-dialog__head { align-items: flex-start; gap: 16px; padding: 12px 20px; }
.video-dialog__head h2 { padding-top: 8px; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.video-dialog__close { flex-shrink: 0; min-height: 44px; padding: 8px 4px; }
.video-dialog__player { width: 100%; aspect-ratio: 16 / 9; min-height: 200px; background: #000; }
.video-dialog__player iframe { display: block; width: 100%; height: 100%; min-height: 200px; border: 0; }
.video-dialog.is-portrait { width: min(460px, calc(100vw - 24px)); }
.video-dialog.is-portrait .video-dialog__player { width: min(100%, calc((100svh - 210px) * .5625)); min-width: 200px; min-height: 0; margin-inline: auto; aspect-ratio: 9 / 16; }
.video-dialog__external { display: block; padding: 14px 20px 18px; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
@media (min-width: 981px) {
  .site-header .main-nav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
}
@media (max-width: 980px) {
  :root { --header-height: 96px; }
  .main-nav { visibility: hidden; transition: transform 240ms var(--ease-out), visibility 0s linear 240ms; }
  .main-nav.is-open { visibility: visible; transition-delay: 0s; }
  .hero-copy { width: calc(100% - var(--page) * 2 - 24px); }
  .hero-copy h1 { font-size: clamp(48px, 7vw, 68px); }
  .project-card:last-child { grid-column: auto; }
  .project-card:last-child .project-card__media { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  :root { --header-height: 88px; }
  .hero-copy { top: 25%; }
  .hero-copy h1 { font-size: clamp(44px, 12vw, 64px); }
  .project-grid { grid-template-columns: 1fr; gap: 0; }
  .project-card__meta h3,
  .works-card__meta h3 { font-size: 19px; }
  .project-card__meta .project-client,
  .works-card__meta .project-client { font-size: 13px; }
  .project-card__meta { padding: 14px var(--page) 26px; }
}
@media (max-height: 600px) and (min-width: 641px) {
  .hero-copy { top: 26%; }
  .hero-copy h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .hero-cta:hover i, .hero-cta:active, .brand:active,
  .underlined-link:hover i, .project-card__media:hover img,
  .project-card__media:hover .play-icon, .works-card__media:hover img,
  .works-card__media:hover .play-icon, .filter-button:active,
  .video-dialog__close:active, .service-panel:hover .service-panel__name,
  .service-panel:hover .service-panel__note, .service-panel:hover > i { transform: none; }
  .hero-canvas, .hero-video, .butterfly-guide { display: none !important; }
  .hero-cta:hover, .contact-mail:active, .contact-mail:hover i,
  .underlined-link:active, .works-contact a:active,
  .service-panel:hover .service-visual__frames i { transform: none !important; }
  .main-nav a:hover > span { opacity: 1; transform: none; }
  .main-nav a:hover::before { opacity: 0; }
}

/* Client copy and layouts: readable at phone, tablet and desktop widths. */
:root { --z-header-content: 2; }
::selection { background: var(--blue-deep); color: var(--white); }
html { scrollbar-color: var(--blue) var(--canvas); }
body { text-wrap: pretty; }
main h1, main h2, main h3 { overflow-wrap: break-word; }
.main-nav a:hover > span { opacity: 1; transform: none; }
.main-nav a { min-height: 44px; align-items: center; overflow: visible; }
.language { align-items: center; gap: 8px; }
.language a, .language span { display: grid; place-items: center; min-width: 36px; min-height: 44px; }
.language span::after { bottom: 4px; right: 8px; left: 8px; }
.language a::after { bottom: 4px; }
.site-header .brand { position: relative; z-index: var(--z-header-content); }
.site-header .language { position: relative; z-index: var(--z-header-content); }
.site-header:has(.main-nav.is-open) .brand img { filter: brightness(0) invert(1); }
body.is-menu-open .site-header :focus-visible { outline-color: var(--white); }

.hero-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 34, 58, .55), rgba(9, 34, 58, .3) 52%, rgba(9, 34, 58, .04) 85%);
  pointer-events: none;
}
.hero-copy { top: max(calc(var(--header-height) + 36px), 22%); width: min(850px, calc(100% - var(--page) * 2 - 40px)); }
.hero-copy h1 { max-width: none; margin-bottom: 24px; font-size: clamp(54px, 6.4vw, 92px); line-height: 1; }
.hero-description { max-width: 43ch; margin: 0 0 30px; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; }
.hero-cta { min-height: 50px; }
.hero-scroll { right: var(--page); }

.work-bar { min-height: 104px; gap: 24px; padding-top: 24px; }
.work-bar h2 { color: var(--ink); }
.underlined-link { min-height: 44px; flex-shrink: 0; }
.work-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 32px 8vw; padding-top: 12px; padding-bottom: 46px; }
.work-intro .work-subtitle { width: auto; max-width: 24ch; margin: 0; color: var(--ink); font-family: var(--font-display); font-size: clamp(26px, 3vw, 42px); font-weight: 700; line-height: 1.16; letter-spacing: -.025em; }
.work-intro .work-description { max-width: 51ch; margin: 0; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; }
.project-card, .works-card { min-width: 0; }
.project-card__media { background: var(--ink); }
.project-card .play-icon, .works-card .play-icon { width: 44px; height: 44px; }
.project-card__meta, .works-card__meta { padding: 16px 16px 26px; }
.project-card__meta h3, .works-card__meta h3 { line-height: 1.35; }
.project-card__meta .project-client, .works-card__meta .project-client { font-size: 14px; }

.manifesto { height: auto; min-height: 620px; max-height: none; display: grid; align-items: center; }
.manifesto-scene { max-width: none; }
.manifesto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(230, 245, 251, .95), rgba(230, 245, 251, .76) 48%, rgba(230, 245, 251, .04) 90%); pointer-events: none; }
.manifesto-copy { height: auto; min-width: 0; padding-top: 72px; padding-bottom: 72px; }
.manifesto-copy h2 { max-width: 19ch; font-size: clamp(38px, 4.5vw, 68px); line-height: 1.12; letter-spacing: -.03em; }
.manifesto-line + .manifesto-line { margin-top: .4em; }
.manifesto-copy .word { opacity: .65; }

.services { padding-top: clamp(64px, 6vw, 88px); padding-bottom: clamp(64px, 6vw, 88px); }
.services-head { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; gap: clamp(36px, 6vw, 90px); margin-bottom: 48px; }
.services-head h2 { max-width: 9ch; font-size: clamp(44px, 5.8vw, 84px); line-height: 1.02; }
.services-intro p { max-width: 54ch; margin: 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; }
.services-intro p + p { margin-top: 22px; }
.service-panel { grid-template-columns: minmax(0, 1fr) minmax(280px, 44%); gap: clamp(28px, 4vw, 64px); height: auto; min-height: 350px; }
.service-panel__index { display: none; }
.service-panel__copy { grid-column: auto; grid-row: auto; justify-content: center; padding: 38px 0; gap: 22px; }
.service-panel__name { max-width: none; font-size: clamp(30px, 3.3vw, 48px); line-height: 1.08; }
.service-panel__note { max-width: 53ch; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6; }
.service-panel__visual { min-height: 100%; height: auto; }
.service-panel__visual::before { content: none; }
.service-panel__visual { background: #15375f; }
.service-panel__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform 400ms var(--ease-out); }
.service-types { max-width: 65ch; line-height: 1.8; }

.process { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 7vw, 110px); padding-top: 88px; padding-bottom: 88px; }
.process-title h2 { max-width: 8ch; font-size: clamp(44px, 5.3vw, 76px); line-height: 1.03; }
.process-title p { max-width: 37ch; color: #e1e8f0; line-height: 1.6; }
.process-list li { grid-template-columns: 54px minmax(0, 1fr); gap: 24px; min-height: 220px; padding: 32px 0; opacity: 1; }
.process-list .process-step__index { font-size: 40px; line-height: 1.1; }
.process-step__copy { min-width: 0; transform: none; }
.process-step__copy strong { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -.025em; }
.process-step__copy > span { max-width: 48ch; margin-top: 20px; color: #e1e8f0; font-size: 17px; line-height: 1.6; }
.about { position: relative; isolation: isolate; grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 90px); min-height: 680px; padding-block: 52px; background: #fff; color: var(--ink); }
.about::before { content: ""; position: absolute; z-index: -1; inset: 0; background: url("assets/portrait-paper.webp") center / cover; opacity: .5; pointer-events: none; }
.about-photo { align-self: center; width: min(100%, 420px); border: 0; background: transparent; overflow: visible; mix-blend-mode: multiply; }
.about-photo img { display: block; height: auto; aspect-ratio: 9 / 16; object-fit: contain; filter: grayscale(1) brightness(1.1) contrast(1.08); mask-image: linear-gradient(to right, transparent, #000 9%, #000 89%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 85%, transparent); mask-composite: intersect; }
.about-copy h2 { color: var(--ink); }
.about-copy .about-signature { color: var(--blue-deep); }
.about-copy h2 { max-width: 11ch; font-size: clamp(42px, 5.5vw, 76px); line-height: 1.02; }
.about-copy > p { max-width: 57ch; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.65; }
.about-copy .about-signature { font-size: 15px; }

.partners { padding-top: clamp(60px, 6vw, 88px); padding-bottom: clamp(60px, 6vw, 88px); }
.partners-head { align-items: start; gap: 36px 8vw; margin-bottom: 46px; }
.partners-copy { max-width: 53ch; }
.partners-copy p { max-width: none; margin: 0; font-size: 17px; line-height: 1.6; }
.partners-copy p:first-child { margin-bottom: 12px; color: var(--ink); font-size: 21px; font-weight: 600; }
.logo-marquee { margin-inline: var(--page); }
.logo-track, html:not(.motion-enabled) .logo-track { width: 100%; animation: none; transform: none; }
.logo-set, html:not(.motion-enabled) .logo-set { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; width: 100%; gap: 28px 40px; padding: 36px 0; }
.logo-set[aria-hidden="true"] { display: none; }
.logo-set img, html:not(.motion-enabled) .logo-set img { width: 100%; max-width: 180px; height: 96px; margin: 0 auto; padding: 10px; opacity: .85; }

.contact-lead { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 44px 7vw; align-items: end; }
.contact-heading { min-width: 0; }
.contact-heading h2 { max-width: 12ch; font-size: clamp(42px, 5.2vw, 74px); line-height: 1.04; }
.contact-intro { max-width: 46ch; margin: 26px 0 0; font-size: 18px; line-height: 1.6; }
.contact-actions { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 24px; }
.project-cta, .works-contact .project-cta { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 52px; width: fit-content; max-width: 100%; margin: 0; padding: 14px 22px; border: 0; background: var(--white); color: var(--blue-deep); font-family: var(--font-body); font-size: 17px; font-weight: 700; line-height: 1.35; letter-spacing: 0; transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out); }
.contact-mail, .works-contact .contact-mail { width: 100%; max-width: 100%; align-items: baseline; justify-content: space-between; gap: 16px; padding: 0 0 12px; font-size: clamp(20px, 2vw, 28px); line-height: 1.4; }
.contact-mail span { min-width: 0; overflow-wrap: anywhere; }
.contact-mail i { flex-shrink: 0; }
.contact-details a, .site-footer > a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-details p { color: #d8dee4; }
.contact { min-height: 750px; display: flex; flex-direction: column; justify-content: space-between; background: #071622; }
.contact::before { background-image: url("assets/kyiv-contact.webp"); background-position: center; filter: none; transform: none; }
.contact::after { background: linear-gradient(180deg, rgba(5, 18, 31, .84), rgba(5, 18, 31, .62) 54%, rgba(5, 18, 31, .96) 88%); }
.contact-lead { padding-bottom: 120px; }
.contact-details { margin-top: auto; }
.footer-meta { min-width: 0; text-align: center; }
.footer-meta a { display: inline-flex; min-height: 32px; align-items: center; color: var(--muted); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.works-page .footer-meta { text-align: left; }
.socials { gap: 0; }
.works-contact { min-height: 0; }
.works-contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px 8vw; padding-top: 96px; padding-bottom: 96px; }
.works-contact .contact-phone { min-height: 44px; margin: 0; padding: 0; border: 0; font-size: 18px; letter-spacing: 0; }
.video-dialog__external { min-height: 48px; }
.video-dialog.is-portrait .video-dialog__player { min-width: 0; }
.video-dialog.is-portrait .video-dialog__player iframe { min-height: 0; }

@media (hover: hover) and (pointer: fine) {
  .project-cta:hover, .works-contact .project-cta:hover { color: var(--white); background: var(--blue-deep); }
  .service-panel:hover { background: transparent; color: var(--ink); }
  .service-panel:hover .service-panel__name, .service-panel:hover .service-panel__note { transform: none; opacity: 1; }
  .service-panel:hover .service-panel__visual img { transform: scale(1.04); }
}
@media (max-width: 1100px) {
  .butterfly-guide { display: none; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card:last-child { grid-column: auto; }
  .service-panel { grid-template-columns: minmax(0, 1fr) minmax(220px, 40%); gap: 28px; }
  .service-panel__name { font-size: clamp(30px, 3.5vw, 38px); }
  .process { grid-template-columns: 1fr; gap: 48px; }
  .process-title { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .process-title h2 { max-width: 8ch; }
  .process-title p { margin: 0; }
  .process-progress { display: none; }
  .process-list { margin-top: 0; }
  .process-list li { grid-template-columns: 72px minmax(0, 1fr); min-height: 220px; }
  .process-step__copy strong { font-size: 44px; }
  .about { grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); gap: 32px; }
  .contact-lead, .works-contact__inner { grid-template-columns: 1fr; }
  .contact-actions { max-width: 560px; }
  .contact-heading h2 { max-width: 13ch; }
}
@media (max-width: 980px) {
  .hero-copy { top: max(calc(var(--header-height) + 32px), 21%); }
  .hero-copy h1 { font-size: clamp(48px, 7vw, 68px); }
  .main-nav { overflow-y: auto; padding-top: calc(var(--header-height) + 36px); padding-bottom: 36px; }
  .main-nav a { max-width: 100%; white-space: normal; font-size: clamp(28px, 5.6vw, 44px); }
  .main-nav.is-open { z-index: 1; }
  .services-head { grid-template-columns: 1fr; gap: 30px; }
  .services-head h2 { max-width: 12ch; }
  .services-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .services-intro p + p { margin: 0; }
  .manifesto { min-height: 600px; }
  .manifesto-copy h2 { max-width: 16ch; font-size: clamp(38px, 5.8vw, 56px); }
  .logo-set, html:not(.motion-enabled) .logo-set { gap: 20px; }
}
@media (max-width: 640px) {
  .language { margin-left: 4px; gap: 0; }
  .language a, .language span { min-width: 32px; }
  .hero-copy { top: max(calc(var(--header-height) + 28px), 18%); width: calc(100% - var(--page) * 2 - 14px); }
  .hero-copy h1 { font-size: clamp(40px, 11.6vw, 60px); line-height: 1.03; margin-bottom: 18px; }
  .hero-copy h1 span { white-space: normal; }
  .hero-description { max-width: 32ch; margin-bottom: 24px; font-size: 16px; line-height: 1.5; }
  .hero-media::after { background: linear-gradient(180deg, rgba(9, 34, 58, .36), rgba(9, 34, 58, .42) 57%, transparent 90%); }
  .hero-scroll { right: 10px; top: auto; bottom: 26px; }
  .hero-scroll__track { height: 64px; }
  .work-bar { min-height: 100px; gap: 16px; }
  .work-bar h2 { font-size: clamp(24px, 6.6vw, 32px); }
  .work-intro { grid-template-columns: 1fr; gap: 20px; padding-top: 6px; padding-bottom: 32px; }
  .work-intro .work-subtitle { font-size: 29px; }
  .work-intro .work-description { font-size: 16px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card__meta, .works-card__meta { padding: 16px var(--page) 28px; }
  .manifesto { min-height: 500px; }
  .manifesto-copy { padding-top: 64px; padding-bottom: 64px; }
  .manifesto-copy h2 { max-width: 15ch; font-size: clamp(30px, 8.3vw, 44px); line-height: 1.16; }
  .manifesto-scene { object-position: 66% center; }
  .manifesto::after { background: rgba(230, 245, 251, .84); }
  .services { padding-top: 56px; padding-bottom: 56px; }
  .services-head { gap: 26px; margin-bottom: 38px; }
  .services-head h2 { max-width: 9ch; font-size: clamp(40px, 11vw, 60px); }
  .services-intro { grid-template-columns: 1fr; gap: 20px; }
  .services-intro p { font-size: 16px; }
  .service-panel { grid-template-columns: 1fr; gap: 0; height: auto; min-height: 0; }
  .service-panel__copy { grid-column: 1; grid-row: 1; padding: 28px 0 30px; gap: 18px; }
  .service-panel__name { font-size: clamp(28px, 8.3vw, 42px); line-height: 1.1; }
  .service-panel__note { max-width: none; font-size: 16px; }
  .service-panel__visual { grid-column: 1; grid-row: 2; min-height: 0; height: auto; aspect-ratio: 4 / 3; }
  .service-panel > i { top: auto; right: 16px; bottom: 16px; }
  .process { padding-top: 56px; padding-bottom: 56px; gap: 32px; }
  .process-title { display: block; }
  .process-title h2 { max-width: 9ch; font-size: clamp(38px, 10.2vw, 56px); }
  .process-title p { max-width: none; margin-top: 24px; font-size: 17px; }
  .process-list li { grid-template-columns: 1fr; gap: 18px; min-height: 0; padding: 32px 0; }
  .process-list .process-step__index { font-size: 22px; }
  .process-step__copy strong { font-size: clamp(34px, 10vw, 48px); }
  .process-step__copy > span { margin-top: 18px; font-size: 16px; }
  .about { grid-template-columns: 1fr; gap: 32px; min-height: 0; padding-block: 56px; }
  .about-photo { width: min(80vw, 270px); justify-self: center; margin-top: -20px; }
  .about-copy h2 { font-size: clamp(40px, 11vw, 56px); }
  .about-copy > p { font-size: 16px; }
  .partners-head { display: block; margin-bottom: 32px; }
  .partners-head h2 { font-size: clamp(40px, 11vw, 56px); }
  .partners-copy { margin-top: 26px; }
  .partners-copy p { font-size: 16px; }
  .partners-copy p:first-child { font-size: 20px; }
  .logo-set, html:not(.motion-enabled) .logo-set { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; padding: 28px 0; }
  .logo-set img, html:not(.motion-enabled) .logo-set img { height: 76px; padding: 6px; }
  .contact-lead { gap: 32px; padding-bottom: 42px; }
  .contact-heading h2 { font-size: clamp(38px, 10.5vw, 56px); }
  .contact-intro { margin-top: 22px; font-size: 16px; }
  .contact-actions { width: 100%; gap: 24px; }
  .project-cta, .works-contact .project-cta { font-size: 16px; }
  .contact-mail, .works-contact .contact-mail { font-size: clamp(18px, 5.3vw, 25px); }
  .contact-details { gap: 24px; font-size: 14px; }
  .contact { min-height: 0; padding-top: 56px; }
  .contact::before { background-position: 48% top; background-size: auto 630px; }
  .contact::after { background: linear-gradient(180deg, rgba(5,18,31,.82), rgba(5,18,31,.70) 380px, #071622 640px); }
  .contact-lead { padding-bottom: 64px; }
  .site-footer .footer-meta { text-align: right; }
  .works-page .site-footer .footer-meta { text-align: left; }
  .works-contact__inner { gap: 32px; padding-top: 72px; padding-bottom: 72px; }
  .catalog-head { gap: 12px; }
  .catalog-head h1 { font-size: clamp(38px, 10.8vw, 52px); }
  .catalog-head p { flex-shrink: 0; font-size: 12px; }
  .filter-select-label { flex-wrap: wrap; gap: 8px 16px; padding-top: 12px; padding-bottom: 12px; }
  .filter-select-label select { flex: 1; min-width: 190px; }
  .catalog-category__head { flex-wrap: wrap; }
  .catalog-category__head h2 { font-size: 23px; }
}
@media (max-height: 620px) and (orientation: landscape) {
  .hero-stage { min-height: 550px; }
  html:not(.motion-enabled) .hero-sequence { min-height: 550px; }
  .hero-copy { top: calc(var(--header-height) + 26px); }
  .hero-copy h1 { font-size: clamp(40px, 5.8vw, 62px); margin-bottom: 18px; }
  .hero-description { max-width: 50ch; margin-bottom: 22px; font-size: 16px; }
  .main-nav { align-content: start; gap: 8px; }
}
@media (max-width: 640px) and (max-height: 400px) and (orientation: landscape) {
  .hero-copy { top: calc(var(--header-height) + 16px); }
  .hero-copy h1 { font-size: 32px; margin-bottom: 12px; }
  .hero-copy .mobile-break { display: none; }
  .hero-description { max-width: 52ch; margin-bottom: 16px; font-size: 15px; }
  .hero-cta { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
  .hero-scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-frame { will-change: auto; }
}

/* The supplied complete brand lockup keeps its original proportions. */
:root { --header-height: 128px; }
.site-header { min-height: var(--header-height); padding-block: 12px; }
.site-header .brand img { display: block; width: 138px; height: auto; }
.site-footer > img { width: 180px; height: auto; }
@media (max-width: 980px) {
  :root { --header-height: 116px; }
  .site-header .brand img { width: 122px; }
}
@media (max-width: 640px) {
  :root { --header-height: 104px; }
  .site-header { padding-block: 10px; }
  .site-header .brand img { width: 112px; }
  .site-footer > img { width: 132px; }
  .site-footer:has(> img) > a { grid-column: 2; grid-row: 1; }
  .site-footer:has(> img) .footer-meta { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}
