:root {
  --plum: #251b2d;
  --deep-plum: #1e1525;
  --lilac: #eee6fa;
  --lilac-text: #d9c9e7;
  --soft-plum: #62526b;
  --peach: #ffaf8d;
  --line: #cbbbd7;
  --display: "Barlow Condensed", "Arial Narrow", "Liberation Sans Narrow", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--plum); background: var(--lilac); font: 1rem/1.55 var(--body); }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.container { width: min(100% - 7.5rem, 1280px); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 1rem; left: 1rem; z-index: 2; padding: .75rem 1rem; background: var(--lilac); }

.site-header, .hero, .site-footer { background: var(--plum); color: var(--lilac); }
.header-layout { min-height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; border-bottom: 1px solid #55455f; }
.wordmark { width: max-content; display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: -.04em; }
.wordmark span span { color: var(--peach); }
.navigation { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 3.75rem); }
.navigation a { font-size: .95rem; text-decoration: none; color: var(--lilac-text); }
.navigation a:hover { color: var(--peach); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: .68rem 1.3rem; border: 1px solid transparent; border-radius: 3px; text-decoration: none; font-weight: 700; line-height: 1.2; text-align: center; }
.button-outline { justify-self: end; border-color: #90769d; color: var(--lilac); font-size: .95rem; }
.button-outline:hover { background: #42304c; }
.button-peach { background: var(--peach); color: var(--deep-plum); }
.button-peach:hover { background: #ffd0bb; }
.button-dark { background: var(--plum); color: var(--lilac); }
.button-dark:hover { background: #493550; }
.text-link { text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: .38em; font-weight: 600; }
.text-link:hover { text-decoration-thickness: 2px; }

.hero { padding-block: clamp(2rem, 4vw, 4rem) clamp(3rem, 5vw, 5.25rem); }
.hero-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(1.5rem, 4.5vw, 5.5rem); align-items: center; }
.hero-label { display: flex; gap: .7rem; align-items: center; font-size: .92rem; font-weight: 600; color: var(--lilac-text); }
.hero-label span { display: inline-block; width: 1.7rem; height: 2px; background: var(--peach); transform: rotate(-24deg); }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: .95; letter-spacing: -.025em; }
h1 { font-size: clamp(5rem, 8.9vw, 9rem); margin: .25em 0 .24em; }
h2 { font-size: clamp(3rem, 5.7vw, 6rem); }
.hero-text { font-size: clamp(1.04rem, 1.5vw, 1.22rem); max-width: 33ch; color: var(--lilac-text); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem clamp(1rem, 2vw, 2rem); margin-top: 2rem; }
.hero-actions .text-link { font-size: .94rem; }
.hero-figure { position: relative; overflow: hidden; isolation: isolate; background: #81606e; border-radius: 4px; }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 1.16; object-fit: cover; }
.hero-figure figcaption { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem 1rem .75rem; color: #fff; background: linear-gradient(transparent, #231421b8); font-size: .82rem; font-weight: 600; }

.section-pad { padding-block: clamp(3.5rem, 7vw, 7rem); }
.collection { padding-top: clamp(3rem, 5.4vw, 5.5rem); }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
.section-top p { color: var(--soft-plum); margin-top: .85rem; }
.filters { display: flex; align-items: center; gap: .42rem; flex-wrap: wrap; }
.filters button { min-height: 44px; padding: .43rem 1.05rem; border-radius: 2rem; border: 1px solid #a995b6; background: none; color: var(--plum); font-size: .93rem; font-weight: 600; }
.filters button:hover { border-color: var(--plum); }
.filters button[aria-pressed="true"] { color: var(--lilac); background: var(--plum); border-color: var(--plum); }
.filters button:focus-visible { outline-color: var(--plum); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 1.25rem; }
.work-button { width: 100%; border: 0; padding: 0; color: var(--plum); background: transparent; text-align: left; }
.work-button img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 1.58; border-radius: 3px; background: #d8c5df; }
.work-meta { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .8rem; border-bottom: 1px solid var(--line); padding: .65rem 0 .75rem; }
.work-title { font: 600 clamp(1.5rem, 2.8vw, 2.45rem)/1.02 var(--display); }
.work-material { font-size: .9rem; color: var(--soft-plum); }
.work-plus { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #9d87ac; display: grid; place-items: center; line-height: 1; font-size: 1.3rem; }
.work-button:hover .work-plus { background: var(--plum); color: var(--lilac); border-color: var(--plum); }
.gallery-note { margin-top: 1.25rem; color: var(--soft-plum); font-size: .88rem; }

.atelier { background: #d9c6ec; }
.atelier-layout, .project-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(2rem, 8vw, 8rem); }
.atelier-layout > div p, .project-layout > div p { max-width: 35ch; margin-top: 1.3rem; font-size: 1.1rem; }
.process { padding: 0; margin: 0; list-style: none; counter-reset: step; }
.process li { counter-increment: step; display: grid; grid-template-columns: 2rem 1fr; gap: .7rem; border-top: 1px solid #ae96c1; padding: 1rem 0; }
.process li:last-child { border-bottom: 1px solid #ae96c1; }
.process li::before { content: counter(step, decimal-leading-zero); font-size: .9rem; color: #594368; padding-top: .2rem; }
.process h3 { font: 600 1.7rem/1 var(--display); margin-bottom: .38rem; }

.project { background: var(--peach); }
.project-form { display: grid; gap: .65rem; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; margin-bottom: .5rem; }
.project-form label { font-weight: 700; display: block; }
.project-form label span { font-size: .82rem; font-weight: 400; }
.project-form input, .project-form select, .project-form textarea { display: block; width: 100%; color: var(--plum); background: #ffe3d5; border: 1px solid #936a71; border-radius: 3px; padding: .65rem .75rem; }
.project-form input, .project-form select { min-height: 46px; margin-top: .4rem; }
.project-form select { appearance: none; padding-right: 2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23251b2d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; }
.project-form textarea { resize: vertical; }
.project-form ::placeholder { color: #725760; opacity: 1; }
.form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-top: .45rem; }
.form-actions p { font-size: .9rem; }
.site-footer { padding: 1.6rem 0; }
.footer-layout { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1.25rem; flex-wrap: wrap; }
.footer-layout p, .footer-layout .text-link { font-size: .9rem; color: var(--lilac-text); }

dialog { width: min(95vw, 720px); max-height: 92dvh; padding: 0; border: 0; border-radius: 5px; color: var(--plum); background: var(--lilac); }
dialog::backdrop { background: #1e1525bd; }
body:has(dialog[open]) { overflow: hidden; }
.detail { position: relative; }
.detail img { width: 100%; max-height: 44dvh; object-fit: cover; aspect-ratio: 1.6; }
.detail-copy { padding: 1.5rem clamp(1rem, 4vw, 2.2rem) 2rem; }
.detail-copy h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin: .36rem 0 .8rem; }
.detail-material { color: var(--soft-plum); font-size: .9rem; }
.detail-copy .button { margin-top: 1.25rem; }
.detail-close { position: absolute; top: .85rem; right: .85rem; width: 44px; height: 44px; background: var(--lilac); color: var(--plum); border: 0; border-radius: 50%; font-size: 1.6rem; line-height: 1; }

@media (max-width: 1100px) {
  .container { width: min(100% - 4rem, 1280px); }
  .hero-actions { gap: 1rem; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 2.5rem); }
  .header-layout { grid-template-columns: 1fr 1fr; padding-block: .85rem .55rem; column-gap: .5rem; row-gap: .55rem; }
  .navigation { grid-row: 2; grid-column: 1 / -1; gap: 1.7rem; }
  .navigation a { padding: .35rem 0; }
  .header-cta { min-height: 42px; padding-inline: .8rem; }
  .wordmark { gap: .45rem; font-size: 1.08rem; }
  .wordmark img { width: 30px; height: 30px; }
  .hero-layout, .atelier-layout, .project-layout { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding-block: 2.3rem 2.5rem; }
  .hero-actions { margin-top: 1.5rem; }
  h1 { font-size: clamp(4.5rem, 16vw, 7rem); }
  .hero-figure img { aspect-ratio: 1.15; }
  .section-top { align-items: flex-start; flex-direction: column; gap: 1rem; margin-bottom: 1.4rem; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; gap: 1.3rem; }
  .form-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
