@font-face {
  font-family: "Puisi Adinda";
  src: url("assets/fonts/puisi-adinda.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --page: #292A2C;
  --surface: #353739;
  --dark: #202223;
  --ink: #F7F7ED;
  --brand-blue: #3B576C;
  --sage: #96A493;
  --rule: #778475;
  --pale-sage: #D1D3C5;
  --sans: "DM Sans", "Segoe UI", sans-serif;
  --display: "Puisi Adinda", var(--sans);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.55 var(--sans); }
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
button, a { touch-action: manipulation; }
a { color: inherit; text-underline-offset: .24em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--pale-sage); outline-offset: 3px; }
.container { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
h1, h2, h3, h4, h5, h6 {
  font: 400 clamp(24px, 2.5vw, 34px)/1.3 var(--display);
  letter-spacing: normal;
  color: var(--ink);
  font-synthesis: none;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(48px, 5.3vw, 78px); }
h2 { font-size: clamp(35px, 3.9vw, 56px); }
p { max-width: 68ch; }
button { color: inherit; }
.eyebrow, .product-type, .studio-piece span {
  font: 600 12px/1.5 var(--sans);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.button, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  font: 600 15px/1.35 var(--sans);
}
.button {
  padding: 12px 21px;
  color: var(--ink);
  background: var(--brand-blue);
  border: 1px solid var(--sage);
  border-radius: 4px;
  text-decoration: none;
}
.text-link { text-decoration-thickness: 1px; text-underline-offset: .38em; }
.button-row { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 14px; z-index: 80; padding: 8px 14px; background: var(--dark); }
.skip-link:focus { top: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--ink);
  color: var(--brand-blue);
  border-bottom: 1px solid var(--sage);
}
.site-header :focus-visible { outline-color: var(--brand-blue); }
.nav-wrap, .brand, .site-header nav, .search-trigger { display: flex; align-items: center; }
.nav-wrap { min-height: 78px; justify-content: space-between; gap: 18px; }
.brand { text-decoration: none; gap: 9px; flex-shrink: 0; }
.brand-art { display: block; background: var(--ink); }
.brand-art img { width: 58px; height: 58px; object-fit: contain; }
.brand-wordmark {
  display: block; width: 177px; height: 58px; background: var(--brand-blue);
  -webkit-mask: url("assets/header-lettering.png") left center / contain no-repeat;
  mask: url("assets/header-lettering.png") left center / contain no-repeat;
}
.site-header nav { gap: clamp(12px, 2.7vw, 32px); }
.site-header nav a, .search-trigger, .menu-toggle {
  display: inline-flex; align-items: center; min-height: 44px; color: var(--brand-blue);
  background: transparent; border: 0; font: 600 14px/1.4 var(--sans); text-decoration: none;
}
.site-header nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 7px; }
.search-trigger { gap: 7px; padding: 0; }
.search-trigger svg, .shop-search svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.menu-toggle { display: none; }

.studio-feature { background: var(--dark); }
.studio-feature__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding-block: clamp(32px, 3.2vw, 48px);
}
.studio-feature__image {
  width: min(100%, 414px);
  justify-self: center;
  padding: clamp(14px, 1.3vw, 20px);
  background: var(--ink);
  border: 1px solid var(--sage);
  border-radius: 38% 38% 14px 14px;
}
.studio-feature__image img { width: 100%; height: auto; }
.studio-feature h1 { width: fit-content; font-size: clamp(45px, 5.1vw, 72px); line-height: 1.23; }
.studio-feature__description { max-width: 38ch; margin: 18px 0 26px; font-size: clamp(16px, 1.35vw, 19px); }
.studio-collections { background: var(--sage); border-block: 1px solid var(--rule); }
.studio-collections :is(h2, a) { color: #000; }
.studio-collections__inner { display: flex; flex-wrap: wrap; gap: 6px 4%; align-items: center; justify-content: space-between; padding-block: 15px; }
.studio-collections h2 { font-size: clamp(29px, 2.5vw, 36px); }
.studio-collections ul { display: flex; flex-wrap: wrap; gap: 0 clamp(16px, 2.8vw, 39px); list-style: none; margin: 0; padding: 0; }
.studio-collections a, .category-filters a {
  font: 400 clamp(24px, 2vw, 28px)/1.35 var(--display);
  font-synthesis: none;
}
.studio-collections a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; border-bottom: 1px solid var(--brand-blue); }
.studio-collections a:focus-visible {
  color: var(--brand-blue);
  background: var(--ink);
  outline-color: var(--brand-blue);
}
.studio-collections li { padding-bottom: 2px; }
.studio-gallery { padding-block: clamp(37px, 4vw, 62px) clamp(44px, 5vw, 76px); }
.studio-gallery__intro { display: flex; justify-content: space-between; align-items: end; gap: 14px 24px; margin-bottom: 23px; }
.studio-gallery__intro p { margin-top: 6px; }
.studio-gallery__works, .product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px clamp(16px, 2vw, 28px); }
.studio-piece, .product-card { display: block; min-width: 0; text-decoration: none; }
.studio-piece > img, .product-photo {
  width: 100%; aspect-ratio: 4 / 4.3; border-radius: 3px; overflow: hidden; background: var(--surface);
}
.studio-piece > img { object-fit: cover; }
.studio-piece:nth-child(1) > img { object-position: 50% 64%; }
.studio-piece:nth-child(3) > img { object-position: 50% 26%; }
.studio-piece > div, .product-meta { padding: 14px 0 4px; }
.studio-piece h3, .product-name { margin-top: 4px; font-size: clamp(27px, 2.4vw, 35px); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
[data-product-id="reindeer-wood-art"] .product-photo img { object-position: 50% 28%; }
[data-product-id="mermaid-wood-art"] .product-photo img, [data-product-id="holiday-ornaments"] .product-photo img { object-fit: contain; }
.page-intro { padding-block: 44px 26px; }
.page-intro p { margin-top: 9px; }
.catalog-section { padding-bottom: 60px; }
.catalog-toolbar, .category-filters, .shop-search, .catalog-results { display: flex; align-items: center; }
.catalog-toolbar { justify-content: space-between; flex-wrap: wrap; gap: 14px 26px; padding-block: 6px 18px; border-bottom: 1px solid var(--rule); }
.category-filters { flex-wrap: wrap; gap: 6px; }
.category-filters a { display: inline-flex; align-items: center; min-height: 44px; padding: 3px 12px; text-decoration: none; border: 1px solid transparent; border-radius: 3px; }
.category-filters a[aria-current="page"] { color: var(--dark); background: var(--sage); }
.shop-search { max-width: 100%; border: 1px solid var(--rule); border-radius: 3px; }
.shop-search input, .shop-search button { min-width: 0; color: var(--ink); background: transparent; border: 0; padding: 10px; }
.shop-search input { width: 160px; }
.shop-search button { display: grid; place-items: center; min-height: 44px; width: 44px; color: var(--ink); background: var(--brand-blue); }
.catalog-results { justify-content: space-between; gap: 15px; padding-block: 18px; font-size: 14px; }
.empty-state { margin-top: 24px; padding: clamp(26px, 5vw, 62px); text-align: center; background: var(--surface); }
.empty-state p { margin: 12px auto 16px; max-width: 52ch; }
.no-script { margin-block: 16px; padding: 16px; border: 1px solid var(--rule); }

.custom-layout, .about-layout { display: grid; align-items: start; grid-template-columns: 0.88fr 1.12fr; gap: clamp(30px, 6vw, 90px); padding-block: clamp(32px, 5vw, 76px); }
.custom-intro > p, .about-copy p { margin-top: 18px; }
.inquiry-piece { display: flex; align-items: center; gap: 15px; margin-top: 24px; }
.inquiry-piece img { width: 76px; height: 76px; object-fit: cover; border-radius: 3px; }
.inquiry-piece span { font-size: 13px; }
.inquiry-piece h2 { margin-top: 3px; font-size: 29px; }
.custom-contact { margin-top: 24px; border-top: 1px solid var(--rule); padding-top: 20px; }
.custom-contact p { margin-bottom: 12px; font-size: 15px; }
.custom-contact a, .dialog-content a { overflow-wrap: anywhere; }
.inquiry-form { padding: clamp(19px, 3vw, 36px); background: var(--surface); border: 1px solid var(--rule); border-radius: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { min-width: 0; margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; }
.form-field label span { font-weight: 400; }
.form-field :is(input, select, textarea), .global-search input {
  display: block; width: 100%; min-width: 0; min-height: 46px; padding: 9px 11px;
  color: var(--ink); background: var(--page); border: 1px solid var(--rule); border-radius: 3px;
}
.form-field textarea { resize: vertical; }
::placeholder { opacity: .85; color: var(--ink); }
.form-help, .fine-print { margin-top: 14px; font-size: 14px; }
.faq { padding-bottom: 50px; }
.faq h2 { margin-bottom: 15px; }
.faq details { max-width: 760px; border-top: 1px solid var(--rule); }
.faq summary { padding: 15px 0; font: 500 clamp(18px, 1.7vw, 22px)/1.4 var(--sans); }
.faq details p { padding-bottom: 17px; }
.about-layout { grid-template-columns: minmax(250px,.8fr) 1.2fr; align-items: center; }
.about-logo { padding: 15px; background: var(--ink); border-radius: 4px; }
.about-logo img { width: 100%; height: auto; }
.about-copy .button { margin-top: 22px; }
.about-note { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--rule); padding-block: 26px 46px; }
.about-note h2 { font-size: clamp(31px, 3vw, 45px); }
.about-note p { max-width: 65ch; margin-top: 8px; }

dialog { width: 820px; max-width: calc(100% - 26px); max-height: 90dvh; padding: 0; border: 1px solid var(--sage); border-radius: 4px; color: var(--ink); background: var(--page); overflow: auto; }
dialog::backdrop { background: rgb(18 19 19 / 76%); }
.dialog-close { position: absolute; right: 9px; top: 9px; display: grid; place-items: center; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: var(--brand-blue); color: var(--ink); font-size: 24px; }
.dialog-content { padding: clamp(48px, 5vw, 65px) clamp(18px, 4vw, 38px) 30px; }
.dialog-content p { margin-top: 14px; }
.dialog-content pre { margin: 20px 0; padding: 16px; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface); font: 15px/1.6 var(--sans); }
.search-dialog { width: 620px; }
.global-search { display: flex; gap: 10px; margin-top: 14px; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; }
.detail-copy { padding: 50px 24px 30px; }
.detail-copy h2 { margin-top: 9px; font-size: clamp(36px, 3.4vw, 53px); }
.detail-copy > p:not(.eyebrow) { margin-top: 15px; }
.detail-copy ul { padding-left: 18px; font-size: 15px; }
.detail-photo { background: var(--dark); display: grid; place-items: center; }
.detail-photo img { width: 100%; max-height: 560px; object-fit: contain; }
#product-note { font-size: 13px; }

@media (hover: hover) and (pointer: fine) {
  main :is(h1,h2,h3,p,li,summary,label):hover, .text-link:hover, .site-header nav :is(a,button):hover,
  .button:hover, .studio-collections a:hover, .category-filters a:hover {
    color: var(--brand-blue);
    background-color: var(--pale-sage);
  }
  main p:hover a { color: var(--brand-blue); }
  .studio-piece:hover h3, .product-card:hover .product-name { text-decoration: underline; text-decoration-color: var(--sage); text-decoration-thickness: 1px; text-underline-offset: .14em; }
}
@media (max-width: 910px) {
  .container { width: calc(100% - 48px); }
  .studio-collections__inner { gap: 12px 20px; }
  .studio-collections ul { gap: 0 17px; }
}
@media (max-width: 740px) {
  .container { width: calc(100% - 36px); }
  .nav-wrap { min-height: 68px; gap: 8px; }
  .brand { gap: 6px; }
  .brand-art img { width: 48px; height: 48px; }
  .brand-wordmark { width: 150px; height: 50px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 0 8px; color: var(--ink); background: var(--brand-blue); border: 1px solid var(--sage); border-radius: 3px; }
  .site-header nav { display: none; position: absolute; inset: 100% 0 auto; background: var(--ink); border-bottom: 1px solid var(--sage); padding: 12px 18px; gap: 0; }
  .site-header nav.open { display: flex; flex-direction: column; align-items: stretch; }
  .site-header nav a { padding-inline: 8px; }
  .search-trigger { padding: 0 8px; }
  .studio-feature__inner { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 26px; }
  .studio-feature__image { grid-row: 1; width: min(69vw, 310px); padding: 12px; }
  .studio-feature__copy { text-align: center; }
  .studio-feature h1 { margin-inline: auto; font-size: clamp(42px, 9vw, 56px); line-height: 1.24; }
  .studio-feature__description { margin: 12px auto 18px; }
  .studio-feature .button-row { justify-content: center; }
  .studio-collections__inner { display: block; padding-block: 17px; }
  .studio-collections ul { margin-top: 4px; column-gap: 18px; }
  .studio-gallery__intro { flex-wrap: wrap; align-items: start; gap: 4px; }
  .studio-gallery__intro .text-link { min-height: 42px; }
  .studio-gallery__works { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 14px; }
  .studio-piece h3, .product-name { font-size: clamp(27px, 4.5vw, 32px); }
  .studio-piece span, .product-type { font-size: 11px; letter-spacing: .09em; }
  .page-intro { padding-block: 28px 15px; }
  .custom-layout, .about-layout { grid-template-columns: 1fr; gap: 25px; }
  .about-logo { max-width: 290px; width: 100%; margin-inline: auto; }
  .about-note { flex-direction: column; align-items: start; }
  .product-detail { grid-template-columns: 1fr; }
  .detail-photo img { max-height: 33dvh; }
  .detail-copy { padding: 18px; }
  .category-filters { gap: 4px; }
  .category-filters a { padding-inline: 9px; }
  .shop-search { width: 100%; }
  .shop-search input { flex: 1; }
}
@media (max-width: 490px) {
  .studio-gallery__works { grid-template-columns: 1fr; gap: 24px; }
  .studio-piece { display: grid; grid-template-columns: 42% 1fr; gap: 17px; align-items: center; }
  .studio-piece > img { aspect-ratio: 1 / 1.13; }
  .studio-piece h3 { font-size: 30px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
.studio-footer {
  background: #191B1C;
  color: #F7F7ED;
  border-top: 1px solid #96A493;
}
.studio-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px 64px;
  padding-block: clamp(32px, 4vw, 56px);
}
.studio-footer :is(h2, h3) {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  color: #F7F7ED;
}
.studio-footer h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.16;
}
.studio-footer h3 {
  margin-bottom: 6px;
  font-size: 25px;
  line-height: 1.3;
}
.studio-footer__nav {
  display: grid;
  grid-template-columns: auto auto;
  gap: clamp(32px, 6vw, 86px);
}
.studio-footer__links {
  display: grid;
  justify-items: start;
  align-content: start;
}
.studio-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  max-width: 100%;
  padding-inline: 2px;
  color: #F7F7ED;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.4;
}
.studio-footer a.studio-footer__email {
  display: inline-block;
  margin-top: 5px;
  padding-block: 10px;
  font-size: 16px;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: #96A493;
  text-underline-offset: 5px;
}
.studio-footer__base {
  background: #F7F7ED;
  border-top: 1px solid #96A493;
}
.studio-footer__legal {
  min-height: 46px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 20px;
  color: #3B576C;
  font-size: 13px;
  line-height: 1.5;
}
.studio-footer__legal button {
  min-height: 44px;
  padding: 5px 2px;
  background: transparent;
  border: 0;
  font: inherit;
  color: #3B576C;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.studio-footer__legal button:focus-visible { outline-color: #3B576C; }
@media (hover: hover) {
  .studio-footer :is(a, button):hover { color: #3B576C; background: #D1D3C5; }
}
@media (max-width: 760px) {
  .studio-footer__main { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .studio-footer__nav { border-top: 1px solid #96A493; padding-top: 20px; justify-content: start; gap: 48px; }
  .studio-footer__legal { padding-block: 4px; }
}
@media (max-width: 450px) {
  .studio-footer__legal { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 12px 2px; }
}
@media (pointer: coarse) {
  .studio-footer a { min-height: 44px; }
}
