@font-face {
  font-family: "DM Sans"; font-weight: 100 1000; font-style: normal; font-display: swap;
  src: url("../assets/fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans"; font-weight: 100 1000; font-style: normal; font-display: swap;
  src: url("../assets/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/instrument-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/instrument-serif-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  --paper: #faf9f6;
  --ink: #242723;
  --muted: #60635b;
  --rust: #9e442b;
  --line: #d8d8d0;
  --gutter: clamp(1.25rem, 4.85vw, 5.5rem);
  --header-height: 76px;
  --serif: "Instrument Serif", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: var(--header-height); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.54 "DM Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #b75639; outline-offset: 4px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.frame { width: min(calc(100% - var(--gutter) * 2), 1540px); margin-inline: auto; }
.skip, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { z-index: 15; top: 10px; left: 10px; width: auto; height: auto; clip-path: none; background: white; padding: .7rem; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid rgba(40,45,39,.1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-height); gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; white-space: nowrap; }
.brand img { width: 32px; height: auto; filter: brightness(.11); }
.brand > span { font-size: 1.22rem; letter-spacing: -.055em; font-weight: 770; }
.brand-light { font-weight: 420; margin-left: .22em; }
#main-nav { display: flex; align-items: center; gap: clamp(1.3rem, 2.6vw, 3rem); }
#main-nav a { position: relative; font-size: .92rem; font-weight: 530; padding-block: .5rem; }
#main-nav a:not(.nav-contact)::after { position: absolute; content: ""; bottom: .08rem; left: 0; width: 100%; height: 2px; background: var(--rust); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
#main-nav a[aria-current]::after, #main-nav a:not(.nav-contact):hover::after { transform: scaleX(1); }
#main-nav .nav-contact { display: inline-flex; align-items: center; gap: .8rem; padding: .62rem 1.13rem; border: 1px solid var(--ink); }
.nav-contact:hover, .nav-contact[aria-current] { color: white; background: var(--ink); }
.menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; background: #424a44; color: #fff; }
.hero-photo, .hero-shade { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 63%; }
.hero-shade { pointer-events: none; background: linear-gradient(90deg, rgba(17,24,23,.77), rgba(22,28,26,.36) 41%, transparent 76%), linear-gradient(0deg,rgba(17,23,23,.68),transparent 28%); }
.hero-layout { pointer-events: none; position: relative; min-height: clamp(470px, 43vw, 680px); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto; }
.hero-layout a, .hero-layout button { pointer-events: auto; }
.hero-copy { align-self: center; padding-block: 3.1rem 2rem; }
.eyebrow, .hero-meta, .work-meta, .counter { font-family: "DM Sans", Arial, sans-serif; font-size: .76rem; line-height: 1.45; font-weight: 650; letter-spacing: .145em; text-transform: uppercase; }
.eyebrow { margin: 0 0 1.35rem; display: flex; align-items: center; gap: .7rem; color: var(--muted); }
.eyebrow > span { width: 28px; height: 2px; background: var(--rust); }
.eyebrow b { color: #e5a589; font-weight: 500; }
.eyebrow.light { color: #fff; }
.eyebrow.light > span { background: #df9c7e; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 490; }
h1, h2 { letter-spacing: -.062em; line-height: .98; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.038em; }
h1 { font-size: clamp(4.5rem, 7.75vw, 8.5rem); margin: 0; }
h1 em { font-size: 1.1em; }
.hero-cta { display: inline-flex; gap: .7rem; align-items: center; background: var(--paper); color: var(--ink); padding: .84rem 1.22rem; margin-top: clamp(1.45rem,2.4vw,2.5rem); font-size: .92rem; font-weight: 620; transition: background .2s; }
.hero-cta:hover { background: #ecd9cb; }
.hero-strip { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; border-top: 1px solid #ffffff70; min-height: 85px; }
#hero-credit { width: fit-content; display: flex; align-items: center; gap: 1rem; }
.hero-meta { color: #f1eee7; font-size: .72rem; letter-spacing: .11em; }
#hero-name { border-left: 1px solid #ffffff70; padding-left: 1rem; font-size: 1.1rem; font-weight: 530; }
#hero-credit:hover #hero-name { text-decoration: underline; text-underline-offset: .24rem; }
.hero-controls { display: flex; align-items: center; gap: .45rem; }
.counter { display: flex; align-items: center; gap: .58rem; margin-right: .8rem; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.counter-rule { height: 1px; width: 2rem; background: #ffffff9e; }
.hero-controls button { width: 42px; height: 42px; border: 1px solid #ffffff96; border-radius: 50%; display: grid; place-content: center; background: #20262136; color: white; transition: color .2s,background .2s; }
.hero-controls button:hover { color: var(--ink); background: white; }
.section-pad { padding-block: clamp(4rem, 6vw, 7rem); }
.works { position: relative; }
.anchor { position: absolute; top: 0; }
.works .eyebrow, .studio .eyebrow, .contact .eyebrow { margin-bottom: 1.05rem; }
h2 { margin-bottom: 0; font-size: clamp(3.5rem, 5.15vw, 6rem); }
.works-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(1.65rem, 2.8vw, 3rem); }
.filters { display: flex; align-items: center; gap: .25rem; }
.filters a { padding: .53rem 1.13rem; font-size: .91rem; font-weight: 550; border-radius: 99px; transition: background .2s; }
.filters a:hover { background: #e8e7e0; }
.filters a[aria-current] { color: white; background: var(--ink); }
.work-grid { display: grid; grid-template-columns: 1.28fr 1fr; column-gap: clamp(1.25rem, 2.4vw, 3rem); row-gap: clamp(2.2rem, 3.8vw, 4.25rem); }
.work { min-width: 0; }
.work-wide { grid-column: 1/-1; }
.work-link { display: block; height: 100%; }
.work-media { overflow: hidden; background: #d7d8d0; height: clamp(240px, 26vw, 430px); }
.work-wide .work-media { height: clamp(260px, 31vw, 470px); }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.work-link:hover .work-media img { transform: scale(1.024); }
.work-info { padding: 1.05rem 0 .1rem; }
.work-meta { color: var(--muted); font-size: .73rem; letter-spacing: .105em; margin: 0 0 .45rem; }
.work-meta span { color: var(--rust); }
.work-meta span::after { content: "/"; color: #a5a59c; margin-inline: .55rem; font-weight: 400; }
.work h3 { font-size: clamp(1.65rem, 2.3vw, 2.8rem); line-height: 1.15; letter-spacing: -.045em; margin: 0 0 .25rem; }
.role { margin: 0; font-size: .93rem; color: var(--muted); }
.studio { background: #efeee8; }
.studio-intro { padding-right: clamp(2rem, 7vw, 8rem); }
.intro { max-width: 37rem; font-size: 1.1rem; margin-block: 1.65rem; }
.signature { font-weight: 620; }
.signature small { display: block; color: var(--muted); font-size: .9rem; font-weight: 400; }
.studio-detail { max-width: 25rem; height: clamp(105px, 12vw, 185px); margin-top: 1.8rem; background: #595b55 url("../assets/img/ured-detalj.webp") center 45% / cover no-repeat; }
@media (min-width: 1100px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .studio-detail { background-attachment: fixed; background-size: auto 115vh; background-position: left center; }
}
.service-list { align-self: center; padding-left: clamp(1rem, 3vw, 3rem); }
.service-list details { border-top: 1px solid #c6c7bd; }
.service-list details:last-child { border-bottom: 1px solid #c6c7bd; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.service-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.08rem; font-size: clamp(1.06rem, 1.46vw, 1.53rem); line-height: 1.25; letter-spacing: -.025em; }
.service-list summary::after { content: "+"; color: var(--rust); font-size: 1.5rem; font-weight: 350; line-height: 1; }
.service-list details[open] summary::after { content: "−"; }
.service-list details p { color: #54584e; max-width: 40rem; margin: -.1rem 2rem 1.3rem 0; }
.contact, footer { background: var(--ink); color: var(--paper); }
.contact-layout { display: grid; grid-template-columns: 1.18fr 1fr; gap: 2rem; align-items: start; }
.contact-info { padding-top: .5rem; display: flex; flex-direction: column; align-items: start; gap: .5rem; }
.contact-info > a:hover, footer a:hover { text-decoration: underline; text-underline-offset: .3em; }
.contact-info .email { font-size: clamp(1.5rem, 2.25vw, 2.5rem); letter-spacing: -.045em; }
.contact-info .address { color: #d6d6ce; }
.address i { padding-left: .3rem; }
.enquiry { width: 100%; }
.enquiry summary, .form-send { display: inline-flex; align-items: center; gap: .65rem; border: 1px solid #b3b6a9; padding: .68rem 1.1rem; margin-top: .9rem; }
.enquiry summary:hover { background: #3c4239; }
.enquiry form { margin-top: 1rem; max-width: 32rem; }
.enquiry label, .enquiry input, .enquiry textarea { display: block; width: 100%; }
.enquiry label { margin: .8rem 0 .2rem; }
.enquiry input, .enquiry textarea { padding: .5rem .6rem; border: 0; border-radius: 0; }
.enquiry form p { color: #d6d6ce; margin-top: .6rem; font-size: .88rem; }
.form-send { color: var(--ink); background: var(--paper); }
.footer-inner { border-top: 1px solid #ffffff38; display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.3rem; font-size: .86rem; color: #d6d6ce; }
#work-dialog { padding: 0; border: 0; width: min(95vw,1150px); max-width: none; max-height: 92dvh; background: var(--paper); color: var(--ink); overscroll-behavior: contain; }
#work-dialog::backdrop { background: #151a17ca; }
.dialog-bar { position: sticky; top: 0; z-index: 1; padding: .85rem clamp(1rem, 4vw, 3.75rem); display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); background: var(--paper); }
.dialog-bar > span { font-size: .87rem; font-weight: 600; }
.dialog-bar b { color: var(--rust); padding-inline: .4em; }
.dialog-bar button { border: 0; background: transparent; padding: .5rem .1rem .5rem .8rem; }
.dialog-bar i { margin-left: .4rem; }
.detail-body { padding: clamp(2rem, 4vw, 4rem); }
.detail-body h2 { font-size: clamp(2.75rem, 5vw, 5rem); margin-bottom: 1.6rem; }
.detail-body p:not(.eyebrow) { max-width: 44em; }
.credits, figcaption { color: var(--muted); font-size: .92rem; }
.detail-body figure { margin: 2.1rem 0 0; }
.detail-body figure img { width: 100%; height: auto; }
.detail-body figcaption { margin-top: .5rem; }
@media (max-width: 991px) {
  .studio-intro { padding-right: 0; }
  .studio-detail { display: none; }
  .service-list { padding-left: 0; margin-top: 1.5rem; }
}
@media (max-width: 760px) {
  :root { --header-height: 64px; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; font-size: 1.6rem; border: 0; background: transparent; }
  #main-nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: var(--paper); padding: .75rem var(--gutter) 1rem; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px #10161018; }
  #main-nav.open { display: grid; gap: 0; }
  #main-nav a { padding-block: .8rem; border-bottom: 1px solid var(--line); }
  #main-nav a:not(.nav-contact)::after { display: none; }
  #main-nav a[aria-current] { color: var(--rust); }
  #main-nav .nav-contact { border: 0; padding: .8rem 0; }
  .nav-contact:hover, .nav-contact[aria-current] { background: transparent; }
  .brand img { width: 29px; }
  .hero-layout { min-height: clamp(470px, 70svh, 595px); }
  .hero-photo img { object-position: 50% 66%; }
  .hero-shade { background: linear-gradient(90deg, #1a201fcc, #1a201f24 95%), linear-gradient(0deg, #121916b3,transparent 28%); }
  .hero-copy { padding-block: 2rem 1.3rem; }
  h1 { font-size: clamp(3rem, 14.8vw, 5.5rem); }
  h2 { font-size: clamp(2.55rem, 11.7vw, 3.55rem); }
  .hero-strip { min-height: 82px; }
  #hero-credit { display: grid; gap: .15rem; }
  #hero-name { padding: 0; border: 0; font-size: .98rem; }
  .hero-meta { font-size: .69rem; }
  .hero-controls { gap: .32rem; }
  .hero-controls button { width: 40px; height: 40px; }
  .counter { gap: .25rem; margin-right: .23rem; font-size: .71rem; }
  .counter-rule { width: .85rem; }
  .works-head { display: grid; justify-content: start; gap: 1.1rem; }
  .filters { margin-left: -.15rem; }
  .filters a { padding: .5rem .95rem; }
  .work-grid, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .work-wide { grid-column: auto; }
  .work-media, .work-wide .work-media { height: auto; aspect-ratio: 1.5; }
  .contact-info { padding-top: 0; }
  #work-dialog { width: 100%; height: 100dvh; max-height: 100dvh; }
  .detail-body { padding-inline: var(--gutter); }
}
@media (max-width: 370px) {
  .hero-controls .counter { display: none; }
  .eyebrow { letter-spacing: .095em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
