@font-face {
  font-family: Roslindale;
  src: url('/fonts/RoslindaleDisplayCondensed-Medium.woff2?v=34b8419295cb') format('woff2');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Montreal;
  src: url('/fonts/NeueMontreal-Regular.woff2?v=fe78ea0b55de') format('woff2');
  font-weight: 400;
  font-display: swap;
}

/* Szerokości liter zastępczych odpowiadają krojom nagłówka i tekstu. */
@font-face {
  font-family: 'Roslindale Georgia';
  src: local('Georgia');
  font-weight: 500;
  size-adjust: 81%;
  ascent-override: 117%;
  descent-override: 32%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Roslindale Times';
  src: local('Times New Roman'), local('Noto Serif');
  font-weight: 500;
  size-adjust: 87%;
  ascent-override: 109%;
  descent-override: 30%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Montreal Fallback';
  src: local('Arial'), local('Roboto');
  size-adjust: 95%;
  ascent-override: 103%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  --paper: #f8f5ee;
  --white: #fffdf8;
  --stone: #ece5d9;
  --ink: #29261f;
  --muted: #625b50;
  --line: #cfc5b6;
  --clay: #543821;
  --dark: #322b22;
  --serif: Roslindale,'Roslindale Georgia','Roslindale Times',Georgia,'Times New Roman',serif;
  --sans: Montreal,'Montreal Fallback','Helvetica Neue',Arial,sans-serif;
  --gutter: max(1.15rem,4.6vw);
  --space: clamp(3.1rem,6.5vw,6.3rem);
  --header-row: 5.75rem;
  --header-height: var(--header-row);
}

*,*::before,*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-padding-top: calc(var(--header-height) + .9rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #d8bfa4;
  color: #251f17;
}

body,textarea,input {
  caret-color: var(--clay);
}

:focus-visible {
  outline: 3px solid #895126;
  outline-offset: 4px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,input,textarea,summary {
  font: inherit;
}

button,summary {
  cursor: pointer;
}

button {
  color: inherit;
}

p,figure,h1,h2,h3,ul,ol {
  margin: 0;
}

h1,h2,h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.035;
  letter-spacing: -.03em;
  overflow-wrap: break-word;
}

h1,h2 {
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.3rem,6.2vw,6rem);
}

h2 {
  font-size: clamp(2.7rem,4.35vw,4.7rem);
}

h3 {
  font-size: clamp(1.7rem,2.2vw,2.45rem);
}

h1 em,h2 em {
  font-weight: 500;
  font-style: italic;
  color: var(--clay);
}

p {
  text-wrap: pretty;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  min-width: 0;
}

.wrap,.header-inner {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--space);
}

.ico {
  width: 1.12em;
  height: 1.12em;
  flex: none;
  vertical-align: -.14em;
}

.skip {
  position: fixed;
  left: 1rem;
  top: 0;
  z-index: 99;
  transform: translateY(-150%);
  clip-path: inset(50%);
  padding: .7rem;
  background: var(--white);
}

.skip:focus {
  transform: translateY(.5rem);
  clip-path: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  -webkit-tap-highlight-color: #54382120;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
  pointer-events: none;
  transform-origin: left;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(.9rem,2vw,2.35rem);
  min-height: var(--header-row);
  padding-inline: clamp(1rem,3vw,4.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand-logo {
  width: clamp(125px,11.4vw,171px);
  height: auto;
}

.header-inner .brand {
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
}

.header-inner .brand-logo {
  width: clamp(10.5rem,14.8vw,13.25rem);
}

.desktop-nav {
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.85rem,calc(5vw - 2.5rem),2.6rem);
  font-size: 1.06rem;
  white-space: nowrap;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 3.875rem;
  line-height: 1.25;
}

.nav-mark {
  --mark-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--mark-size);
  background: url('/icons/favicon-128x128.webp') center / var(--mark-size) no-repeat;
  mix-blend-mode: multiply;
  opacity: var(--mark-visible,0);
  pointer-events: none;
}

.desktop-nav .nav-mark {
  position: absolute;
  inset-inline: 0;
  top: calc(50% + .73em);
  max-width: 6.5rem;
  margin-inline: auto;
}

.nav-mark::before,.nav-mark::after {
  content: "";
  width: calc((100% - var(--mark-size)) / 2 - .2rem);
  height: 1px;
  background: var(--clay);
  transform: scaleX(var(--mark-visible,0));
  transform-origin: right;
}

.nav-mark::after { transform-origin: left; }

.site-header nav a:is([aria-current],:focus-visible,:active) {
  --mark-visible: 1;
  color: var(--clay);
}

.site-header nav:has(a:focus-visible) a[aria-current]:not(:focus-visible) { --mark-visible: 0; }

@media (hover:hover) {
  .site-header nav a:hover { --mark-visible: 1; color: var(--clay); }
  .site-header nav:has(a:hover) a[aria-current]:not(:hover,:focus-visible) { --mark-visible: 0; }
}

@media (prefers-reduced-motion:no-preference) {
  .nav-mark { transition: opacity 120ms ease-out; }
  .nav-mark::before,.nav-mark::after {
    transition: transform 220ms cubic-bezier(.16,1,.3,1);
    transition-delay: calc(var(--mark-visible,0) * 70ms);
  }
  .header-entry .brand-logo { animation: header-wordmark 620ms cubic-bezier(.3,0,.15,1); }
  .header-entry::after { animation: header-rule 520ms 100ms cubic-bezier(.16,1,.3,1) backwards; }
}

@keyframes header-wordmark {
  from { clip-path: polygon(0 0,30% 0,23% 100%,0 100%); }
  to { clip-path: polygon(0 0,108% 0,100% 100%,0 100%); }
}

@keyframes header-rule {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (forced-colors:active) {
  .site-header nav a[aria-current] { text-decoration: underline; }
}

.footer-grid a,.crumb a {
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
}

.footer-grid a:hover,.crumb a:hover {
  text-decoration: underline;
}

.nav-toggle {
  display: none;
}

.nav-toggle:not([open]) nav {
  display: none;
}

.nav-toggle-icon { display: flex; }
.nav-toggle-icon .ico:last-child,.nav-toggle[open] .nav-toggle-icon .ico:first-child { display: none; }
.nav-toggle[open] .nav-toggle-icon .ico:last-child { display: block; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: var(--clay);
  border: 1px solid var(--clay);
  border-radius: 3px;
  color: #fffaf0;
  padding: .93rem 1.33rem;
  min-height: 46px;
  line-height: 1.1;
  font-size: .94rem;
  white-space: nowrap;
  transition: background .16s ease;
}

.button:hover {
  background: #332419;
}

.header-quote {
  font-size: .88rem;
  min-height: 44px;
  gap: 1.1rem;
}

.button.light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--dark);
}

.button.light:hover {
  background: #e7dbcb;
}

.text-link,.read-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: .85rem;
  line-height: 1.25;
}

.text-link {
  border-bottom: 1px solid currentColor;
  padding: .5rem 0 .3rem;
  font-size: .96rem;
}

.text-link:hover .ico,.service:hover .round-arrow .ico,.project-card:hover .ico,.material-list a:hover .ico {
  transform: translateX(3px);
}

.ico {
  transition: transform .2s ease;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.65rem;
}

.hero {
  --hero-side-blend: linear-gradient(90deg, transparent, #00000008 9%, #0000003d 27%, #000000bf 47%, #000 65%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(112deg,#d6c1a8,#e5d7c6 68%);
}

.hero-image {
  --hero-blend: var(--hero-side-blend);
  --hero-focus: 54% 39%;
  position: absolute;
  inset: 0 0 0 34%;
  z-index: -1;
  -webkit-mask-image: var(--hero-blend);
  mask-image: var(--hero-blend);
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus);
  opacity: 0;
}

.hero-image .hero-detail { --hero-focus: 64% 49%; }
.hero-image .hero-floor { --hero-focus: 55% 80%; }
.hero-image .is-current { opacity: 1; z-index: 2; }
.hero-image .is-previous { opacity: 1; z-index: 1; }

.hero-inner {
  min-height: clamp(468px,40vw,654px);
  display: flex;
  align-items: center;
  padding-top: clamp(2.9rem,4.5vw,5rem);
  padding-bottom: 2.8rem;
}

.hero-copy {
  width: 57%;
  position: relative;
}

.hero-messages { display: grid; }
.hero-message {
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  pointer-events: none;
  user-select: none;
}
.hero-message.is-current { opacity: 1; pointer-events: auto; user-select: auto; }

.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(4.5rem,6.8vw,6rem);
  max-width: 15ch;
  line-height: .99;
  letter-spacing: -.036em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero-title em { color: var(--clay); }
.hero-description {
  font-size: clamp(1.05rem,1.24vw,1.29rem);
  line-height: 1.52;
  max-width: 40ch;
  margin: 1.55rem 0 2.1rem;
}
.hero-description strong { color: var(--clay); }

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 1rem;
  padding-block: .65rem 1.1rem;
}

.hero-location,.hero-film {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .86rem;
}

.hero-location .ico {
  width: 1.15rem;
  height: 1.15rem;
}

.hero-location span {
  color: #544d41;
}

.hero-film {
  background: var(--white);
  border-radius: 2px;
  padding: .55rem .85rem;
  color: #30271e;
}

.hero-film .ico {
  width: .85rem;
}

.hero-media-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
  margin-inline-start: auto;
}

.hero-motion-toggle {
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #a89076;
  border-radius: 2px;
  background: var(--white);
  color: var(--clay);
}

.hero-motion-toggle:not([hidden]) { display: inline-grid; }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .hero-motion-toggle[hidden] { display: inline-grid; visibility: hidden; }
}
.hero-motion-toggle:hover { background: var(--paper); }
.hero-motion-toggle .ico:last-child,
.hero-motion-toggle[aria-pressed="true"] .ico:first-child { display: none; }
.hero-motion-toggle[aria-pressed="true"] .ico:last-child { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .hero-message { transition: opacity 420ms ease; }
  .hero-image.has-rotated .is-current { animation: hero-photo-in .9s ease-in-out; }
  .hero:not(.hero-motion-on) .hero-image .is-current { animation-play-state: paused; }
  .hero-motion-on .hero-quote { animation: hero-quote-wave 21s 2s infinite; transform-origin: left center; }
  .hero-motion-on .hero-quote .ico { animation: hero-arrow-wave 21s 2s infinite; }
  .hero-motion-on .hero-projects { animation: hero-projects-wave 21s 9s infinite; }
  .hero-motion-on .hero-projects .ico { animation: hero-arrow-wave 21s 9s infinite; }
  .hero-motion-on .hero-location { animation: hero-showroom-wave 21s 16s infinite; transform-origin: left center; }
  .hero-motion-on .hero-location .ico { animation: hero-pin-wave 21s 16s infinite; }
}

@keyframes hero-photo-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hero-quote-wave {
  2.5% { transform: scale(1.035); }
  5%, 100% { transform: none; }
}

@keyframes hero-arrow-wave {
  2.5% { transform: translateX(4px) scale(1.12); }
  5%, 100% { transform: none; }
}

@keyframes hero-projects-wave {
  1.6% { transform: translateY(-2px); }
  3.4% { transform: translateY(1px); }
  5%, 100% { transform: none; }
}

@keyframes hero-showroom-wave {
  2.5% { transform: scale(1.035); text-shadow: 0 0 .5px currentColor; }
  5%, 100% { transform: none; text-shadow: none; }
}

@keyframes hero-pin-wave {
  2.5% { transform: scale(1.19); }
  5%, 100% { transform: none; }
}

.studio-facts, .work-stages {
  border-block: 1px solid var(--line);
  background: var(--white);
}
.studio-facts ul, .work-stages ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}
.studio-facts ul { padding-block: clamp(1.2rem, 2vw, 2.2rem); }
.studio-facts li + li { border-inline-start: 1px solid var(--line); }
.studio-facts a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  align-items: center;
  gap: .2rem clamp(.65rem, 1.35vw, 1.6rem);
  min-height: 3.5rem;
}
.studio-facts li:not(:first-child) a { padding-inline-start: clamp(1rem, 2.5vw, 3.6rem); }
.studio-facts li:not(:last-child) a { padding-inline-end: .65rem; }
.studio-facts .ico, .work-stages summary > .ico {
  color: var(--clay);
  stroke-width: 1.25;
}
.studio-facts a, .work-stages summary { -webkit-tap-highlight-color: transparent; }
.studio-facts .ico {
  grid-row: span 2;
  width: clamp(2.15rem, 3vw, 3.4rem);
  height: auto;
}
.fact-value {
  font: 500 clamp(1.75rem, 2.65vw, 3.1rem)/1.06 var(--serif);
  letter-spacing: -.025em;
}
.fact-label { font-size: clamp(.9rem, 1.04vw, 1.15rem); line-height: 1.35; }
.studio-facts a:is(:hover, :focus-visible, :active) .fact-value { color: var(--clay); }

.fact-counter { display: inline-block; position: relative; font-variant-numeric: tabular-nums; }
.fact-counter-motion { position: absolute; inset: 0; pointer-events: none; }
.fact-counter-motion:not(:empty) + .fact-counter-total { opacity: 0; }
.studio-facts [data-fact="layers"] { --fact-delay: 520ms; }

@media (prefers-reduced-motion: no-preference) {
  .facts-playing [data-fact="laurel"] .ico { animation: fact-laurel 840ms ease-in-out; }
  .facts-playing [data-fact="laurel"] .fact-label { animation: fact-label 590ms 490ms ease-in-out; }
  .studio-facts.facts-playing [data-fact="layers"] .icon-accent {
    animation: fact-layer 880ms var(--fact-delay) ease-in-out;
  }
  .facts-playing [data-fact="team"] .ico path:not(.fact-team-member) {
    transform-origin: left center;
    animation: fact-team-make-room 1000ms 1080ms ease-in-out;
  }
  .facts-playing .fact-team-member { animation: fact-team-join 1000ms 1080ms ease-in-out; }
  .facts-playing [data-fact="shield"] .ico { animation: fact-shield 880ms 1780ms ease-in-out; }
}

@keyframes fact-laurel {
  32% { transform: rotate(-7deg); }
  66% { transform: rotate(3deg); }
}

@keyframes fact-label {
  45% { opacity: .7; color: var(--clay); }
}

@keyframes fact-layer {
  40% { transform: translateY(1.8px); }
}

@keyframes fact-team-make-room {
  30%, 68% { transform: scale(.77); }
}

@keyframes fact-team-join {
  0%, 24%, 84%, 100% { opacity: 0; }
  40%, 65% { opacity: 1; }
}

@keyframes fact-shield {
  42% { opacity: .22; transform: scale(.94); }
}
@media (max-width: 49em) {
  .studio-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: .25rem; }
  .studio-facts li { padding-block: .95rem; }
  .studio-facts li:nth-child(odd) { border-inline-start: 0; }
  .studio-facts li:nth-child(odd) a { padding-inline-start: 0; }
  .studio-facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 27em) {
  .studio-facts a { column-gap: .5rem; }
  .studio-facts .ico { grid-row: 1; width: 1.75rem; }
  .fact-value { font-size: 1.55rem; }
  .fact-label { grid-column: 1 / -1; font-size: .87rem; }
}
@media (max-width: 22em) {
  .studio-facts a { column-gap: .32rem; }
  .studio-facts li:nth-child(odd) a { padding-inline-end: .25rem; }
  .studio-facts .ico { width: 1.45rem; }
  .fact-value { font-size: 1.45rem; }
}

.studio-call {
  --call-size: clamp(3.15rem, 4.4vw, 3.65rem);
  --call-edge: clamp(.9rem, 1.8vw, 1.8rem);
  position: fixed;
  z-index: 8;
  right: max(var(--call-edge), env(safe-area-inset-right));
  bottom: max(var(--call-edge), env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: var(--call-size);
  height: var(--call-size);
  border-radius: 50%;
  background: var(--clay);
  color: #fffaf0;
  box-shadow: 0 3px 12px #30201133;
}
.studio-call::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid #c7a88a80;
  border-radius: inherit;
  pointer-events: none;
}
.studio-call > .ico { width: 44%; height: 44%; stroke-width: 1.65; }
.studio-call:focus-visible { outline: 3px solid var(--white); outline-offset: 1px; box-shadow: 0 0 0 6px var(--clay); }
.studio-call-label {
  position: absolute;
  right: 100%;
  bottom: 0;
  width: max-content;
  max-width: calc(100vw - var(--call-size) - 2 * var(--call-edge) - 1rem);
  padding: .58rem 1rem .58rem .95rem;
  border-radius: 3px;
  margin-right: .6rem;
  background: var(--white);
  color: var(--clay);
  box-shadow: 0 3px 14px #30201126;
  visibility: hidden;
  opacity: 0;
  transform: translateX(.35rem);
}
.studio-call-label::after {
  content: '';
  position: absolute;
  left: 100%;
  bottom: calc(var(--call-size) / 2 - .35rem);
  border: .35rem solid transparent;
  border-left-color: var(--white);
}
.studio-call-label::before { content: ''; position: absolute; inset: 0 -.6rem 0 100%; }
.studio-call-label strong { display: block; font: 500 clamp(1.1rem, 1.3vw, 1.3rem)/1.08 var(--serif); }
.studio-call-label span { display: block; margin-top: .23rem; font-size: .82rem; line-height: 1.2; color: var(--muted); }
.studio-call:is(.has-hint,:focus-visible):not(.is-quiet) .studio-call-label { visibility: visible; opacity: 1; transform: none; }
@media (hover:hover) {
  .studio-call:hover { background: #412b1b; }
  .studio-call:hover:not(.is-quiet) .studio-call-label { visibility: visible; opacity: 1; transform: none; }
}
body:has(.nav-toggle[open], dialog[open], form:focus-within, iframe:focus) .studio-call,
.studio-call.is-obstructing:not(:focus-visible) { display: none; }
@media (prefers-reduced-motion:no-preference) {
  .studio-call-label { transition: opacity .18s, transform .22s ease-out, visibility .18s; }
  .studio-call.has-hint > .ico { animation: studio-call-ring .64s ease-in-out; }
}
@keyframes studio-call-ring {
  0%, 100% { transform: rotate(0); }
  27% { transform: rotate(-12deg); }
  55% { transform: rotate(7deg); }
  80% { transform: rotate(-3deg); }
}

@media(max-width:68.125em) {
  :root { --header-row: 4.75rem; }
  .header-inner {
    gap: 1.1rem;
  }
  .desktop-nav {
    gap: .8rem;
    font-size: 1rem;
  }
  .header-quote {
    font-size: .8rem;
    padding: .7rem;
    gap: .5rem;
  }
  .hero-title {
    font-size: clamp(3.8rem,7.3vw,5rem);
  }
}

@media(max-width:65em), (pointer:coarse) and (max-width:1024px) and (max-height:540px) {
  .desktop-nav {
    display: none;
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .nav-toggle summary {
    display: flex;
    align-items: center;
    gap: .45rem;
    list-style: none;
    min-height: 44px;
    padding: .6rem;
  }
  .nav-toggle summary::-webkit-details-marker {
    display: none;
  }
  .nav-toggle nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-block: 1px solid var(--line);
    padding: .45rem var(--gutter) 1rem;
    box-shadow: 0 9px 16px #33251918;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 1.5rem;
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-toggle nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    min-height: max(44px,3rem);
    padding: .65rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle .nav-mark { --mark-size: 1rem; flex: 0 0 2.75rem; }
  .header-quote {
    font-size: .85rem;
    padding: .7rem .9rem;
  }
  .hero-location span {
    display: none;
  }
}

@media(max-width:43.75em) {
  :root { --header-row: 4.375rem; }
  .header-inner {
    gap: .4rem;
  }
  .brand-logo {
    width: 116px;
  }
  .header-inner .brand-logo { width: clamp(7.25rem,34vw,10rem); }
  .nav-toggle summary {
    font-size: 1rem;
    padding: .55rem .2rem;
  }
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero-image {
    --hero-blend: linear-gradient(180deg,transparent,#000 26%,#000 85%,transparent);
    --hero-focus: 50% 30%;
    position: relative;
    inset: auto;
    order: 2;
    height: clamp(230px,53vw,335px);
    z-index: 0;
  }
  .hero-inner {
    order: 1;
    min-height: auto;
    padding-block: 2.65rem 1.85rem;
  }
  .hero-copy {
    width: 100%;
  }
  .hero-title {
    font-size: clamp(3.6rem,10.5vw,4.9rem);
    max-width: 17ch;
  }
  .hero-description {
    font-size: 1.04rem;
    max-width: 43ch;
    line-height: 1.46;
    margin: 1rem 0 1.3rem;
  }
  .hero-bottom {
    order: 3;
    min-height: 42px;
    padding-block: .47rem;
    gap: .35rem .65rem;
    flex-wrap: wrap;
  }
  .hero-media-actions { gap: .25rem; }
  .hero-film {
    padding: .2rem .1rem;
    background: transparent;
  }
  .hero-location,.hero-film {
    font-size: .8rem;
  }
  .actions {
    gap: 1.2rem;
  }
  .button {
    font-size: .9rem;
    gap: .9rem;
  }
  .header-quote {
    min-height: 44px;
    padding: .6rem .67rem;
    gap: .5rem;
  }
}

@media(max-width:30em) {
  .hero-location span {
    display: none;
  }
  .header-inner {
    padding-inline: 1rem;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    transition: none!important;
    scroll-behavior: auto!important;
  }
}

@media(max-width:43.75em) {
  .nav-toggle summary,.header-quote,.hero-film,.hero-location {
    min-height: 44px;
  }
}

@media(max-width:32em) {
  .nav-toggle nav { grid-template-columns: minmax(0,1fr); }
}

@media(max-width:25em) {
  .header-quote .quote-word { display: none; }
}

@media(max-width:23.75em) {
  .header-inner {
    padding-inline: .85rem;
  }
  .brand-logo {
    width: 101px;
  }
  .header-quote {
    padding: .6rem .75rem;
  }
  .hero-title {
    font-size: clamp(3rem,13vw,3.45rem);
  }
  .hero .actions {
    gap: .85rem;
  }
  .hero .button {
    padding: .8rem .9rem;
  }
}

@media(max-width:19em) {
  :root {
    --gutter: max(12px,4.5vw);
    --header-row: 6.2rem;
  }
  body {
    overflow-wrap: anywhere;
  }
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: .15rem .5rem;
    padding: .25rem var(--gutter);
  }
  .header-quote {
    grid-column: 1/-1;
    margin-bottom: .2rem;
  }
  .hero-title {
    font-size: clamp(1.95rem,14.5vw,3rem);
  }
  .hero-bottom {
    flex-wrap: wrap;
  }
  .button,.text-link {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (pointer:coarse) {
  .nav-toggle summary,.header-quote,.text-link {
    min-height: 44px;
  }
}

@media screen and (orientation:landscape) and (min-width:540px) and (max-width:1024px) and (max-height:540px) {
  :root { --header-row: 3.5rem; }
  .header-inner .brand-logo { width: 9rem; }
  .hero {
    display: block;
  }
  .hero-image {
    --hero-blend: var(--hero-side-blend);
    --hero-focus: 55% 18%;
    position: absolute;
    inset: 0 0 0 39%;
    height: auto;
    z-index: -1;
  }
  .hero-inner {
    min-height: clamp(14.5rem,calc(100svh - 6.4rem),22rem);
    padding-block: .9rem;
  }
  .hero-copy {
    width: 59%;
  }
  .hero-title {
    font-size: clamp(2.25rem,5.8vw,3.25rem);
  }
  .hero-description {
    max-width: 40ch;
    font-size: .96rem;
    line-height: 1.36;
    margin: .65rem 0 .9rem;
  }
  .hero .actions {
    gap: 1rem;
  }
  .hero .button {
    padding: .65rem .9rem;
  }
  .hero-bottom {
    min-height: 44px;
    padding-block: .1rem;
  }
  .hero-film {
    padding: .35rem .7rem;
    background: var(--white);
  }
}

@media screen and (min-width:96em) {
  :root {
    font-size: clamp(100%,calc(.58rem + .44vw),162.5%);
  }
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .header-inner .brand {
    justify-self: start;
  }
  .brand-logo {
    width: 10.7rem;
  }
  .header-quote {
    justify-self: end;
  }
  .hero-inner {
    min-height: clamp(25rem,min(40vw,65svh),55rem);
  }
  .hero-bottom {
    min-height: 3.8rem;
  }
  .hero-image {
    --hero-focus: 54% 10%;
  }
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(1.45rem,2.8vw,2.65rem);
}

.section-head>p {
  max-width: 35ch;
  line-height: 1.45;
  color: var(--muted);
}

.section-head>.text-link {
  flex: none;
  margin-bottom: .17rem;
}

.project-card>figure {
  overflow: hidden;
  background: var(--stone);
}

.project-card>figure {
  aspect-ratio: 1.22;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card>div {
  display: flex;
  gap: .7rem;
  align-items: center;
  justify-content: space-between;
  margin-top: .9rem;
}

.project-card h3 {
  font-size: clamp(1.42rem,1.95vw,2.2rem);
}

.project-card .ico {
  width: 1rem;
}

@media(max-width:43.75em) {
  .section-head {
    display: block;
  }
  .section-head>p,.section-head>.text-link {
    margin-top: .65rem;
  }
  .project-card>figure {
    aspect-ratio: 1.12;
  }
  .project-card>div {
    align-items: flex-start;
  }
}
.edition-grid {
  --edition-gap: clamp(1rem,2.65vw,3rem);
  --edition-pair-gap: clamp(.5rem,1.15vw,1.25rem);
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr));
  gap: var(--edition-gap);
  align-items: start;
}
@media (width > 64em) {
  .edition-grid:has(> :nth-child(3) > .edition-pair) {
    /* Each large square is as tall as the two small squares and the gap between them. */
    grid-template-columns: repeat(2,minmax(0,1fr))
      calc((100% - 2 * var(--edition-gap) - 2 * var(--edition-pair-gap)) / 5);
  }
}
.project-card { min-width: 0; display: block; }
.project-card>div {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: baseline;
  gap: .32rem .6rem;
}
.project-card h3 { line-height: 1.1; }
.project-card p {
  grid-column: 1/-1;
  margin-top: .35rem;
  max-width: 56ch;
  color: var(--muted);
  font: 400 1.13rem/1.52 var(--reading);
}
.edition-grid .project-card>figure { aspect-ratio: 1; }
.edition-grid .project-card>.edition-pair {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: var(--edition-pair-gap);
  aspect-ratio: auto;
  background: transparent;
}
.edition-pair img { height: auto; aspect-ratio: 1; }
.edition-pair img:last-child { object-position: center 74%; }
.edition-grid .project-card>div { border-top: 1px solid var(--line); padding-top: .6rem; }
.edition-grid .project-card h3 { font-size: clamp(1.55rem,2.1vw,2.35rem); }
@media (max-width:64em) {
  .edition-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.4rem; }
  .edition-grid .project-card:first-child { grid-column:1/-1; }
  .edition-grid .project-card:first-child>figure { aspect-ratio:1.55; }
  .edition-grid .project-card>figure,.edition-grid .project-card>.edition-pair { aspect-ratio:1.28; }
  .edition-grid .project-card>.edition-pair {
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-template-rows:minmax(0,1fr);
  }
  .edition-pair img { height:100%; min-height:0; aspect-ratio:auto; }
}
@media(max-width:43.75em) {
  .edition-grid { grid-template-columns:minmax(0,1fr); }
  .edition-grid .project-card:first-child>figure { aspect-ratio:1.28; }
}
