@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --paper:#faf6fb; --ink:#24241f; --muted:#554e58; --accent:#79425e; --line:#d9ceda;
  --forest:#253a33; --cream:#f8f1dd; --rose:#f6d9dc;
  --serif:"Instrument Serif",Georgia,serif; --sans:"DM Sans",system-ui,sans-serif;
}
* { box-sizing:border-box; }
[hidden] { display:none!important; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font:1rem/1.55 var(--sans); }
a { color:inherit; }
button { font:inherit; color:inherit; }
button, a { -webkit-tap-highlight-color:transparent; }
button:focus-visible,a:focus-visible { outline:3px solid #b64d35; outline-offset:4px; }
img,video { display:block; max-width:100%; }
figure,p { margin:0; }
h1,h2,h3 { margin:0; font-weight:400; }
h1,h2 { font-family:var(--serif); }
h1 em,h2 em { font-weight:400; }
.wrap { width:min(100% - 96px, 1360px); margin-inline:auto; }
.header { display:flex; justify-content:space-between; align-items:center; min-height:89px; border-bottom:1px solid var(--line); gap:22px; }
nav { display:flex; align-items:center; flex-wrap:wrap; gap:clamp(18px,3.1vw,46px); }
nav a { text-decoration:none; font-size:.9rem; font-weight:600; }
nav a:hover,.footer a:hover,.text-link:hover { color:var(--accent); }
.nav-contact { border:1px solid #93877a; border-radius:25px; padding:9px 19px; }


.overline { display:flex; gap:9px; align-items:center; font-size:.82rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; }
.overline span { display:block; flex:none; height:1px; width:23px; background:currentColor; }
.coral { color:var(--accent); }
.hero h1 { font-size:clamp(4rem,7.1vw,7.6rem); line-height:.88; letter-spacing:-.026em; margin:23px 0 25px; }
.hero h1 em,.section-heading h2 em,.about h2 em { color:var(--accent); }
.intro { max-width:29rem; color:var(--muted); font-size:1.12rem; }
.actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-top:26px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:46px; text-align:center; padding:9px 18px; border:1px solid transparent; border-radius:30px; font-size:.9rem; font-weight:700; text-decoration:none; transition:background .2s,color .2s; }
.dark { color:var(--cream); background:var(--forest); }
.dark:hover { background:#365347; }
.outline { border-color:#85776a; }
.outline:hover { background:var(--ink); color:var(--cream); }


.section { scroll-margin-top:24px; }
.work { padding-block:50px 92px; border-top:1px solid var(--line); }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:33px; }
h2 { font-size:clamp(3.35rem,5.4vw,5.6rem); line-height:.98; letter-spacing:-.023em; }
.section-heading h2,.about h2,.services h2,.contact h2 { margin-top:12px; }
.filters { display:flex; flex-wrap:wrap; gap:7px; padding-bottom:2px; }
.filters button { padding:7px 12px; min-height:38px; border:1px solid var(--line); border-radius:24px; background:transparent; cursor:pointer; white-space:nowrap; font-size:.86rem; font-weight:600; }
.filters button:hover { border-color:var(--forest); }
.filters button[aria-pressed=true] { background:var(--forest); border-color:var(--forest); color:var(--cream); }
.gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:34px 22px; }
.project { min-width:0; }
.project-art { position:relative; display:block; width:100%; aspect-ratio:1.43; overflow:hidden; border:0; border-radius:4px; padding:0; cursor:pointer; background:#dcc4a8; }
.project-art img { width:100%; height:100%; object-fit:cover; transition:transform .38s; }
.project-art:hover img { transform:scale(1.045); }
.project-art.book img { object-position:center 53%; }
.project-art.video img { object-position:center 42%; }
.project-art.labels img { object-position:64% center; }
.play { position:absolute; display:grid; place-items:center; width:43px; height:43px; border-radius:50%; right:13px; bottom:13px; background:var(--paper); color:var(--ink); }
.play::after { content:""; width:0; height:0; margin-left:3px; border-top:6px solid transparent; border-bottom:6px solid transparent; border-left:10px solid currentColor; }
.type-art { display:grid; place-items:center; isolation:isolate; text-align:center; }
.type-title { position:relative; z-index:1; font:clamp(2rem,4.1vw,4.65rem)/.86 var(--serif); letter-spacing:-.02em; }
.type-art::before { position:absolute; content:""; inset:9%; border:1px solid currentColor; opacity:.52; border-radius:49% 49% 0 0 / 40% 40% 0 0; pointer-events:none; }
.poetry { color:#48344d; background:#e3d7ef; }
.illustration { color:#2f493b; background:#dce3c4; }
.edition { color:#553c38; background:#f5d7c6; }
.glyphs { position:absolute; right:10%; bottom:1%; font:italic clamp(4rem,11vw,10rem)/.8 var(--serif); opacity:.16; transform:rotate(-14deg); }
.project-info { padding:13px 0 16px; border-bottom:1px solid var(--line); }
.tag { color:var(--accent); font-size:.82rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.project-info h3 { margin:3px 0 2px; font:clamp(1.55rem,2.35vw,2.35rem)/1.1 var(--serif); }
.project-info h3 button { padding:0; text-align:left; border:none; background:none; cursor:pointer; }
.project-info h3 button:hover { color:var(--accent); }
.project-info > p:last-child { color:var(--muted); }
.services { background:#dcece6; color:#233e36; padding-block:85px 96px; }
.services-grid { display:grid; grid-template-columns:1fr 1.42fr; column-gap:8%; }
.services .overline,.services h2 em { color:#425e53; }
.services-intro > p:not(.overline) { margin-top:20px; max-width:25rem; color:#394e47; }
.inverse { margin-top:23px; border-color:#627b70; }
.inverse:hover { color:var(--forest); background:var(--cream); }
.services-list { border-top:1px solid #99b1a7; }
.services-list article { display:grid; grid-template-columns:minmax(0,.89fr) minmax(0,1.11fr); align-items:start; gap:16px; padding:17px 0; border-bottom:1px solid #99b1a7; }
.services-list h3 { font:clamp(1.6rem,2.55vw,2.5rem)/1.03 var(--serif); }
.services-list p { color:#394e47; }
.about { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:clamp(30px,8vw,110px); padding-block:88px; }
.about figure { overflow:hidden; background:#ddcab4; border-radius:4px; }
.about img { width:100%; height:auto; aspect-ratio:1.43; object-fit:cover; }
.about p:not(.overline) { margin-top:17px; max-width:33rem; color:var(--muted); }
.text-link { display:inline-block; margin-top:18px; font-weight:700; text-underline-offset:4px; }
.contact { background:var(--rose); }
.contact-inner { display:grid; grid-template-columns:1.15fr .85fr; align-items:center; gap:36px; padding-block:65px; }
.contact h2 { max-width:13ch; }
.contact p:not(.overline) { max-width:30rem; }
.contact .outline { border-color:#775449; }
.footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; min-height:95px; font-size:.88rem; }
.footer > span { color:var(--muted); }
.skip { position:absolute; z-index:3; top:8px; left:8px; padding:12px; transform:translateY(-200%); background:var(--paper); }
.skip:focus { transform:none; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
dialog { width:min(760px,calc(100vw - 30px)); max-height:calc(100dvh - 30px); padding:0; border:1px solid var(--line); border-radius:12px; color:var(--ink); background:var(--paper); overscroll-behavior:contain; }
dialog::backdrop { background:#1f221dd6; }
body:has(dialog[open]) { overflow:hidden; }
.dialog-bar { display:flex; justify-content:end; position:sticky; top:0; background:var(--paper); padding:10px 14px 4px; z-index:1; }
.close { padding:7px 14px; border:1px solid var(--line); border-radius:22px; background:transparent; cursor:pointer; }
#project-content { padding:0 clamp(16px,5vw,45px) clamp(22px,5vw,44px); }
#project-content h2 { font-size:clamp(2.8rem,6vw,4.6rem); margin:7px 0 12px; }
#project-content img,#project-content video { width:100%; max-height:65vh; object-fit:contain; background:#e8ddcc; border-radius:4px; margin-top:16px; }
#project-content .button { margin-top:15px; }
.publication-list { list-style:none; padding:0; }
.publication-list li { display:flex; justify-content:space-between; flex-wrap:wrap; gap:3px 14px; border-bottom:1px solid var(--line); padding:9px 0; }
@media(max-width:1070px) {
  .wrap { width:calc(100% - 64px); }
  .section-heading { align-items:start; flex-direction:column; }

}
@media(max-width:780px) {
  .wrap { width:calc(100% - 40px); }
  .header { flex-wrap:wrap; min-height:auto; padding-block:15px; gap:13px; }
  nav { gap:13px 20px; }


  .hero h1 { font-size:clamp(3.95rem,12vw,6rem); margin-top:17px; margin-bottom:17px; }
  .desktop { display:none; }

  .gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:25px 14px; }
  .work,.services,.about { padding-block:48px 54px; }
  .services-grid,.about,.contact-inner { grid-template-columns:1fr; gap:31px; }
  .about figure { order:2; }
  .contact-inner { padding-block:43px; }
}
@media(max-width:460px) {
  .gallery { grid-template-columns:1fr; }
  .brand { font-size:1.5rem; }
  nav { justify-content:space-between; width:100%; gap:9px; }
  nav a { font-size:.84rem; }
  .nav-contact { padding:5px 12px; }
  .hero .actions { gap:8px; }
  .button { padding-inline:13px; }
  .services-list article { grid-template-columns:1fr; gap:5px; }
  .type-title { font-size:3.6rem; }
  .footer { align-items:start; padding-block:18px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; }
}
.project-art.book { background:#d5e2f2; }
.project-art.book img { object-fit:contain; }
.bibliography { margin-top:17px; }
.bibliography summary { cursor:pointer; font-weight:600; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(34rem, 74svh, 54rem);
  color: #fff9ee;
  background: #25332e;
}
.hero-image, .hero-image img, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; }
.hero-image img { object-fit: cover; object-position: center 55%; }
.hero::before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, rgba(15,24,21,.92), rgba(15,24,21,.78) 35%, transparent 80%);
}
.hero-copy { padding-block: clamp(3rem, 6vw, 6rem); }
.hero h1 { max-width: 11ch; }
.hero h1 em { color: #f7cee2; }
.hero .intro { color: #fff9ee; }
.hero .dark { background: #fff4e5; color: #25332e; }
.hero .outline { color: #fff9ee; border-color: currentColor; background: #1c2923aa; }
.hero .button:hover { color: #24241f; background: #ffd1b7; }
@media (max-width: 780px) {
  .hero { min-height: clamp(34rem, 83svh, 46rem); }
  .hero-copy { padding-top: 11rem; padding-bottom: 2.5rem; }
  .hero::before { background: linear-gradient(0deg, #111c17 0%, rgba(17,28,23,.9) 44%, rgba(17,28,23,.55) 72%, transparent); }
  .hero h1 { font-size: clamp(3.3rem, 12vw, 5.5rem); }
}
.project-art.full-art img, .project-art.labels img { object-fit: contain; background: #f7f6f4; }
.project-art.promo-player { object-fit: contain; background: #211e22; }

.brand { display: block; width: 136px; aspect-ratio: 78 / 51; position: relative; overflow: hidden; }
.brand img { position: absolute; max-width: none; width: 246.15%; height: auto; left: -73.08%; top: -57.84%; mix-blend-mode: multiply; }
.footer .brand { width: 106px; }
