:root {
  --ink:#202a22;
  --paper:#f6f4eb;
  --chalk:#fffdf5;
  --muted:#546052;
  --line:#c5c9b8;
  --accent:#bccb8b;
  --display-pad:max(5vw,calc((100vw - 1380px) / 2));
  color-scheme:light;
}
html { scroll-behavior:auto; }
body { background:var(--paper); color:var(--ink); }
:is(a,button,input,textarea,select,summary):focus-visible { outline:3px solid #68882e; outline-offset:4px; }
.skip-link { position:fixed; inset:5px 12px auto auto; z-index:30; padding:12px 17px; background:var(--ink); color:white; transform:translateY(-160%); }
.skip-link:focus { transform:none; }
.studio-bar {
  position:sticky; inset-block-start:0; z-index:9; min-height:69px;
  display:flex; justify-content:space-between; align-items:center; gap:22px;
  padding-inline:var(--display-pad); background:var(--paper); border-bottom:1px solid var(--line);
}
.studio-logo { display:flex; align-items:center; gap:16px; }
.studio-logo b { font-family:var(--studio-font),sans-serif; font-weight:800; font-size:37px; line-height:.88; letter-spacing:-.04em; }
.studio-logo b span { color:#73874a; }
.studio-logo>span { border-inline-start:1px solid var(--line); padding-inline-start:15px; font-weight:600; font-size:13px; line-height:1.16; }
.studio-nav { display:flex; align-items:stretch; gap:clamp(15px,2.6vw,44px); }
.studio-nav a { display:grid; place-items:center; position:relative; min-height:68px; font-size:16px; font-weight:650; }
.studio-nav a[aria-current]::after { content:""; position:absolute; inset:auto 0 12px; height:2px; background:#728647; }
.studio-nav a:hover,.text-link:hover,.next-room:hover { text-decoration:underline; text-underline-offset:4px; }
.station { position:relative; scroll-margin-top:69px; padding:clamp(56px,6.8vw,105px) var(--display-pad); }
.station:focus { outline:none; }
.station:focus-visible :is(h1,h2) { outline:2px solid currentColor; outline-offset:4px; width:fit-content; }
.station h1,.station h2 { font-weight:740; letter-spacing:-.015em; line-height:1.03; text-wrap:balance; }
.station h1 { font-size:clamp(47px,5.6vw,88px); }
.station h2 { font-size:clamp(37px,4.2vw,62px); }
.station h1 em,.station h2 em { font:inherit; }
.room-sign { display:flex; gap:10px; align-items:center; color:var(--muted); font-size:15px; font-weight:700; margin-bottom:17px; }
.room-sign::before { content:""; width:26px; height:2px; background:currentColor; }
.purpose { margin-top:17px; max-width:38ch; font-size:clamp(18px,1.4vw,22px); line-height:1.5; text-wrap:pretty; color:var(--muted); }
.entrance { display:grid; grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); align-items:center; gap:clamp(28px,4vw,76px); padding-block:clamp(66px,7.2vw,117px); }
.entrance .station-copy { max-width:570px; }
.entrance h1 em { display:block; color:#607545; }
.entrance-actions { display:flex; align-items:center; flex-wrap:wrap; gap:14px 28px; margin-top:28px; }
.solid-link,.text-link,.next-room,.project-gallery-open,.showroom-open { display:inline-flex; justify-content:center; align-items:center; gap:10px; min-height:46px; font-size:17px; font-weight:700; }
.solid-link { border:1px solid var(--ink); padding:9px 24px; border-radius:5px; background:var(--ink); color:var(--chalk); }
.solid-link:hover { background:#384d36; }
.text-link { border-bottom:1px solid var(--ink); }
.product-showcase {
  position:relative; margin:0; padding:clamp(18px,2.8vw,46px) clamp(16px,2.6vw,40px) 0;
  background:#394838; color:#f7f5df; border-radius:10px;
}
.catalog-snapshot {
  container-type:inline-size;
  overflow:hidden;
  border:1px solid #d4ccaa;
  border-radius:4px;
  background:#f6efdf;
  color:#3a3425;
}
.snapshot-heading { display:flex; align-items:baseline; gap:10px; padding:9px 4%; border-bottom:1px solid #cfc4aa; }
.snapshot-heading strong { font-size:clamp(25px,4.7cqw,36px); line-height:1.05; }
.snapshot-heading span,.snapshot-details>span,.snapshot-details small { font-size:clamp(14px,2.4cqw,18px); }
.snapshot-product {
  display:grid;
  grid-template-columns:minmax(0,1fr) min(52%,var(--ceramic-print-width));
  align-items:stretch;
}
.snapshot-product img {
  display:block;
  width:100%;
  height:clamp(150px,45cqw,340px);
  max-height:calc(var(--ceramic-print-width) * 1.333);
  object-fit:cover;
  object-position:center 56%;
}
.snapshot-details { display:flex; flex-direction:column; align-items:start; justify-content:center; padding:5% 10%; }
.snapshot-details>strong { font-size:clamp(32px,7.6cqw,65px); line-height:1.05; margin:5px 0 9px; }
.snapshot-details p { font-size:clamp(16px,3.1cqw,24px); line-height:1.3; }
.snapshot-details small { margin-top:13px; border-top:1px solid #c9bea2; padding-top:7px; color:#5c5545; }
.product-showcase figcaption { display:flex; justify-content:space-between; align-items:center; gap:8px; min-height:61px; font-weight:600; font-size:16px; }
.caption-separator { padding-inline:4px; color:#c5cfb3; }
.featured-open { display:inline-flex; align-items:center; gap:7px; min-height:44px; background:none; border:0; padding:0; font-weight:650; color:#edf2cf; }
.featured-open::after { content:""; position:absolute; inset:0; border-radius:10px; }
.featured-open:hover { text-decoration:underline; }
.product-showcase:has(.featured-open:focus-visible) { outline:3px solid #6b883e; outline-offset:4px; }
.station:not(.entrance) .station-copy { width:100%; min-width:0; }
.section-intro { align-self:start; }
#showroom { background:#e8ebdf; border-block:1px solid var(--line); }
#showroom .station-copy { width:100%; display:grid; grid-template-columns:minmax(205px,.55fr) minmax(0,1.45fr); gap:12px clamp(24px,4.5vw,72px); }
#showroom .section-intro :is(h2,em) { display:block; }
#showroom .showroom-open,.projects-station .project-gallery-open {
  width:fit-content; background:transparent; border:1px solid #82917b; color:var(--ink);
  border-radius:4px; margin:19px 0 0; padding:7px 16px; min-height:44px; font-weight:650;
}
#showroom .showroom-open:hover,.projects-station .project-gallery-open:hover { background:#d8dfcc; }
#showroom .exhibit-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-self:center; gap:clamp(8px,1vw,18px); margin:0; }
#showroom .exhibit-card { display:flex; flex-direction:column; gap:0; padding:0; border:1px solid #bec6af; border-radius:6px; overflow:hidden; background:#faf9f0; color:var(--ink); text-align:start; }
#showroom .exhibit-card:focus-visible { outline:3px solid #526a36; outline-offset:3px; }
#showroom .exhibit-card:hover { background:#fffef7; border-color:#6e845f; }
#showroom .exhibit-thumb { width:100%; border-radius:0; aspect-ratio:1.6; }
#showroom [data-thumb=app],#showroom [data-thumb=tool] { background-size:88% auto; background-color:#d5deca; background-position:center; }
#showroom .exhibit-copy { width:100%; padding:13px 12px 15px; color:var(--ink); gap:4px; }
#showroom .exhibit-copy small { font-size:14px; color:var(--muted); }
#showroom .exhibit-copy b { font-size:clamp(18px,1.45vw,24px); }
#showroom .next-room { grid-column:2; justify-self:end; }
.next-room { color:inherit; font-size:15px; text-decoration:underline; text-underline-offset:4px; }
.projects-station .station-copy,.final-station .station-copy { display:grid; grid-template-columns:minmax(240px,.68fr) minmax(0,1.32fr); gap:12px clamp(35px,7vw,120px); align-items:start; }
.projects-station h2,.final-station h2 { font-size:clamp(38px,4.25vw,63px); }
.projects-station .project-list { border-color:var(--line); margin:0; }
.projects-station .project-list a { display:grid; grid-template-columns:74px minmax(0,1fr) auto 20px; color:var(--ink); border-color:var(--line); gap:clamp(9px,1.2vw,18px); min-height:76px; }
.projects-station .project-list a:hover,.projects-station .project-list a:focus-visible { background:#e6eadb; }
.projects-station .project-list a strong { font-weight:720; font-size:clamp(21px,2vw,30px); letter-spacing:-.015em; color:var(--ink); text-shadow:none; }
.projects-station .project-list a span { color:var(--muted); }
.projects-station .project-list a::after {
  content:""; width:15px; height:15px; justify-self:center;
  background:var(--muted); mask:url("assets/icons/arrow-left.svg") center / contain no-repeat;
}
.project-gallery-open .gallery-arrow, .featured-open .catalog-arrow {
  display:inline-block; width:16px; height:16px; flex:none;
  background:currentColor; mask:url("assets/icons/arrow-left.svg") center / contain no-repeat;
}
.work-thumb { width:74px; height:48px; object-fit:cover; border-radius:3px; border:1px solid #9b9f884d; }
.project-exits { grid-column:2; }
.final-station { background:#223025; color:var(--chalk); }
.final-station .room-sign { color:#c4d296; }
.final-station .purpose,.contact-note { color:#dcdfd2; }
.studio-form { display:grid; gap:13px; min-width:0; }
.studio-form label:not(.field-trap) { display:grid; gap:6px; font-size:16px; font-weight:600; }
.contact-fields { display:grid; gap:12px; grid-template-columns:1fr 1fr; }
.studio-form input:not([type=hidden]):not([tabindex]),.studio-form textarea {
  min-width:0; width:100%; min-height:46px; border:1px solid #849781; border-radius:4px; padding:9px 11px;
  background:#19241c; color:var(--chalk); font-size:17px; color-scheme:dark;
}
.studio-form textarea { min-height:90px; resize:vertical; }
.contact-note { margin:0; font-size:14px; line-height:1.5; }
.contact-note a,.social-contact { text-decoration:underline; text-underline-offset:3px; }
.studio-form .solid-link { width:fit-content; background:#e4edbf; color:#263623; border:0; }
.studio-form .solid-link:hover { background:#f1f4d7; }
.studio-form .solid-link:disabled { opacity:.65; }
#mail-status:empty { display:none; }
#mail-status[data-state=error] { color:#ffd9c8; }
.studio-footer { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; padding:17px var(--display-pad); border-top:1px solid #62745e; background:#17221a; color:#e8e9dd; }
.studio-footer nav { display:flex; gap:22px; }
.studio-footer a { display:inline-flex; gap:.25em; align-items:center; min-height:44px; text-decoration:underline; text-underline-offset:4px; }
.studio-footer .footer-brand { font-size:23px; font-weight:800; letter-spacing:-.035em; text-decoration:none; }
.contact-process { max-width:40ch; margin-top:18px; padding-block:5px; border-block:1px solid #687b65; }
.contact-process summary { cursor:pointer; padding-block:10px; font-weight:700; }
.contact-process p { margin:0 0 12px; color:#e2e7db; line-height:1.6; }
.studio-profile { display:inline-flex; align-items:center; gap:8px; min-height:44px; margin-top:6px; text-decoration:underline; text-underline-offset:4px; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media (min-width:681px) and (max-width:980px) {
  #showroom .station-copy { grid-template-columns:1fr; }
  #showroom .section-intro :is(h2,em) { display:inline; }
  #showroom .next-room { grid-column:1; }
  .entrance { gap:26px; padding-inline:4vw; }
  .product-showcase figcaption { font-size:14px; }
}
.projects-station .project-list a:has(small) { grid-template-areas:"thumb name type arrow" "thumb purpose type arrow"; row-gap:0; align-items:center; }
.project-list a:has(small) .work-thumb { grid-area:thumb; }
.project-list a:has(small) strong { grid-area:name; align-self:end; }
.project-list a:has(small) span { grid-area:purpose; align-self:start; }
.project-list a:has(small) small { grid-area:type; color:var(--muted); font-size:14px; }
.project-list a:has(small)::after { grid-area:arrow; }
