@font-face {
  font-family: "DM Sans";
  src: url("./dm-sans.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 100 1000;
}
:root {
  color-scheme: light;
  --paper: #f6f5ef;
  --ink: #1d1e24;
  --accent: #3833b7;
  --rule: #c8c7bf;
  --edge: clamp(20px, 5vw, 86px);
  font: 400 100%/1.5 "DM Sans", "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.page { margin-inline: auto; width: min(100%, 1720px); padding-inline: var(--edge); }
.skip { position: absolute; left: var(--edge); top: -5rem; z-index: 5; background: var(--ink); color: white; padding: 10px 16px; }
.skip:focus { top: 8px; }
.site-header, footer { display: flex; align-items: center; justify-content: space-between; gap: 1.1rem; }
.site-header { min-height: 80px; border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; align-items: baseline; font-weight: 850; font-size: 38px; line-height: 1; letter-spacing: -.072em; }
.wordmark .suffix { font-weight: 460; color: var(--accent); }
.nav { display: flex; align-items: center; gap: clamp(25px,4.5vw,70px); font-size: 15px; font-weight: 600; }
.nav-project { text-decoration-line: underline; text-underline-offset: .32em; text-decoration-color: transparent; }
.nav-project:hover { text-decoration-color: currentColor; }
.languages { display: flex; gap: 1px; align-items: center; }
.languages a { display: grid; place-items: center; width: 35px; min-height: 38px; color: #636462; position: relative; font-size: 13px; }
.languages a[aria-current] { color: var(--ink); }
.languages a[aria-current]::after { content: ""; height: 2px; width: 16px; background: var(--accent); position: absolute; bottom: 5px; }
.languages a:hover { color: var(--accent); }
.hero { display: grid; grid-template-columns: minmax(0,1.43fr) minmax(0,.85fr); align-items: center; gap: 22px; padding: clamp(34px,4.2vw,70px) 0; }
.hero-copy { min-width: 0; }
.studio { margin: 0 0 18px; font-size: clamp(15px,1.3vw,20px); font-weight: 540; color: #48494d; }
h1 { font-size: clamp(54px,7.8vw,132px); font-weight: 575; line-height: .94; letter-spacing: -.045em; margin: 0; }
h1 span { display: block; }
.full-stop { color: var(--accent); }
.sculpture { display: block; width: min(100%,clamp(210px,22vw,355px)); height: auto; justify-self: center; }
.projects { border-top: 1px solid var(--rule); padding: 21px 0 clamp(32px,4.5vw,70px); }
h2 { font-size: clamp(23px,2.4vw,36px); letter-spacing: -.035em; line-height: 1.2; font-weight: 570; margin: 0 0 20px; }
.project { overflow: hidden; display: grid; grid-template-columns: 46% 54%; background: #59242e; color: #fff2dc; border-radius: 6px; min-height: clamp(270px,30vw,470px); }
.project-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(25px,3.65vw,63px); }
.project h3 { margin: 0 0 15px; font-size: clamp(38px,4.85vw,83px); line-height: .94; font-weight: 530; letter-spacing: -.042em; }
.project-copy p { max-width: 30ch; margin: 0; font-size: clamp(15px,1.25vw,20px); line-height: 1.43; color: #f6dfce; }
.project-action { display: inline-flex; justify-content: center; align-items: center; margin-top: clamp(20px,2.3vw,32px); padding: 9px 18px; border: 1px solid #f0cfc0; border-radius: 50px; font-size: 14px; font-weight: 600; transition: background .18s, color .18s; }
.project figure { margin: 0; position: relative; min-height: 100%; overflow: hidden; }
.project figure img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transition: transform .5s ease; }
@media(hover:hover) { .project:hover .project-action { background: #fff2dc; color: #59242e; } .project:hover img { transform: scale(1.025); } }
footer { border-top: 1px solid var(--rule); padding-block: 18px 22px; font-size: 14px; color: #515155; }
footer p { margin: 0; }
.footer-home { font-weight: 650; letter-spacing: -.045em; color: var(--ink); }
.error { min-height: min(76vh,780px); display: flex; justify-content: center; flex-direction: column; align-items: flex-start; gap: 20px; }
.error h1 { max-width: 13ch; }
.error .studio { margin: 0; }
.error p[lang] { margin: 0; }
.error .back { font-size: 16px; font-weight: 600; text-underline-offset: 4px; text-decoration: underline; }
@media(max-width:740px) {
  .site-header { min-height: 66px; }
  .wordmark { font-size: 32px; }
  .hero { grid-template-columns: minmax(0,1.4fr) minmax(0,.6fr); gap: 6px; padding-block: 40px; }
  h1 { font-size: clamp(45px,8.4vw,63px); }
  .studio { margin-bottom: 14px; }
  .sculpture { width: min(100%,155px); }
  .project { grid-template-columns: 48% 52%; }
  .project-copy { padding: 25px; }
}
@media(max-width:500px) {
  .nav { gap: 16px; }
  .hero { grid-template-columns: minmax(0,1fr) minmax(70px,26%); padding-block: 38px 36px; }
  h1 { font-size: clamp(38px,8.9vw,47px); }
  .projects { padding-top: 16px; }
  h2 { margin-bottom: 14px; }
  .project { grid-template-columns: 1fr; }
  .project figure { grid-row: 1; min-height: 0; aspect-ratio: 1.82; }
  .project-copy { padding: 23px 24px 25px; }
  .project h3 { font-size: 36px; line-height: 1.04; margin-bottom: 10px; }
  .project h3 br { display: none; }
  .project-action { margin-top: 17px; }
}
@media(max-width:359px) { :root{ --edge:16px; } .nav { gap:6px; } .hero { grid-template-columns: minmax(0,1fr) 68px; } h1 { font-size: 36px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after {transition:none!important;scroll-behavior:auto!important;} }
