@font-face {
  font-family: "Source Serif 4";
  src: url("assets/fonts/source-serif-4-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
:root{--nav-height:84px;--section-gap:clamp(100px,9.6vw,160px);--ink:#322016;--muted:#685d56;--line:#e7e1dc;--red:#b53b28;--gutter:clamp(20px,5vw,84px);--serif:"Source Serif 4",Georgia,"Times New Roman",serif;--sans:"Inter","Helvetica Neue",Arial,sans-serif}
:root{--subheading-size:clamp(1.125rem,calc(1.035rem + .28vw),1.3125rem)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:calc(var(--nav-height) + 20px)}body{margin:0;background:#fff;color:var(--ink);font:400 16px/1.5 var(--sans);-webkit-font-smoothing:antialiased}
h1,h2,h3,p,ol,ul{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button{border:0;background:none}img{display:block;max-width:100%}button:focus-visible,a:focus-visible,summary:focus-visible,.gallery-row:focus-visible{outline:3px solid #146b80;outline-offset:4px}.wrap,.header-inner,.hero-inner{width:min(100%,1670px);margin-inline:auto;padding-inline:var(--gutter)}
.skip{position:fixed;left:12px;top:-80px;background:var(--ink);color:#fff;padding:12px 18px;z-index:10}.skip:focus{top:10px}.header{position:sticky;top:0;background:#fff;z-index:5;box-shadow:0 1px 0 var(--line)}.header-inner{height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:inline-flex;align-items:center;flex-shrink:0}.brand img{width:158px;height:auto}.nav,.header-actions{display:flex;align-items:center}.nav{margin-left:auto;gap:clamp(18px,2.4vw,43px)}.nav a,.nav button{font-size:14px;font-weight:550;white-space:nowrap;padding:10px 0}.nav a:hover,.nav button:hover,footer a:hover,footer button:hover{text-decoration:underline;text-underline-offset:4px}.header-actions{gap:10px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 24px;border:1px solid transparent;border-radius:100px;font-weight:630;font-size:15px;line-height:1.25;transition:background .18s,color .18s,border-color .18s}.primary{background:var(--red);color:#fff}.primary:hover{background:#913020}.ivory{background:#fff3df;color:#332418}.ivory:hover{background:#fff}.outline{background:white;border-color:#b8aca4}.outline:hover{border-color:var(--ink);background:#fbf8f4}
/* Inset the continuous hero photograph inside a single fine frame. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(calc(100% - 2 * var(--gutter)), 1500px);
  margin: clamp(16px, 1.8vw, 28px) auto 0;
  border: 1px solid #d5cec7;
  border-radius: 12px;
  background: #785342;
  color: white;
}
.hero-photo{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center 58%}.hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(44,22,12,.81) 0%,rgba(55,28,14,.69) 27%,rgba(47,25,16,.45) 44%,rgba(45,24,14,.09) 59%,transparent 72%)}.hero-inner{min-height:clamp(474px,37vw,650px);display:flex;align-items:center;padding-block:50px}.hero-copy{width:min(50%,680px)}h1,h2,h3{font-family:var(--serif);font-weight:600}.hero h1{font-size:clamp(2.5rem,calc(1.875rem + 2.3vw),4.25rem);line-height:1.05;letter-spacing:-.025em;color:#fff9ef}.hero h1 em{font-style:normal}.hero .button{min-width:145px}
.project,.catalog-card{padding:0;text-align:left;min-width:0}.catalog-card img{width:100%;height:auto;aspect-ratio:1.63;object-fit:cover;border-radius:7px}.catalog-card small{display:block;color:var(--muted);font-size:14px}.catalog-card:hover b{text-decoration:underline;text-underline-offset:4px}
.section{padding-block:0;margin-top:var(--section-gap)}h2{font-size:clamp(1.875rem,calc(1.6rem + 1.3vw),2.75rem);line-height:1.13;letter-spacing:-.022em}
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 36px);
  margin: clamp(36px, 4vw, 64px) 0 0;
  padding: 0;
}
.step-icon {
  display: block;
  width: 64px;
  height: auto;
  margin-bottom: 22px;
  color: #70402f;
}
.steps h3 {
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font: 650 clamp(1.0625rem, 1.3vw, 1.25rem)/1.3 var(--sans);
  letter-spacing: -.015em;
}
.steps p { margin-top: 11px; color: var(--muted); line-height: 1.55; }
.how > .button { margin-top: clamp(26px, 2.65vw, 42px); }
@media (min-width: 701px) and (max-width: 1039px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
}
@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; gap: 0; margin-top: 30px; }
  .steps li + li { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
  .step-icon { width: 49px; margin-bottom: 12px; }
  .steps h3 { border: 0; padding: 0; }
  .steps p { margin-top: 7px; max-width: 55ch; }
}

.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:clamp(30px,3vw,48px)}.catalog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.catalog-card img{aspect-ratio:1.46}.catalog-card b{display:block;font:600 clamp(1.1875rem,calc(1.05rem + .55vw),1.5625rem)/1.2 var(--serif);letter-spacing:-.025em;margin:14px 0 5px}.catalog-card small{font-size:16px}
.faq{margin-bottom:var(--section-gap);display:grid;grid-template-columns:.72fr 1fr;gap:clamp(30px,8vw,128px);align-items:start}.faq-intro .button{margin-top:24px}.faq-list details{border-top:1px solid var(--line)}.faq-list details:last-child{border-bottom:1px solid var(--line)}summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 0;list-style:none;cursor:pointer;font-size:clamp(1rem,calc(.95rem + .16vw),1.125rem);font-weight:550;line-height:1.45}summary::-webkit-details-marker{display:none}summary:after{content:"+";font-size:24px;line-height:1;font-weight:400;color:var(--red)}details[open] summary:after{content:"−"}.faq-list p{color:var(--muted);padding:0 32px 20px 0}
footer{border-top:1px solid var(--line);background:white}.footer-inner{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:22px;padding-block:56px}.footer-inner p,.footer-inner a:not(.brand),.footer-inner button,.copyright{font-size:14px;color:var(--muted)}.footer-inner p{margin-top:7px}.footer-inner h3{font-size:15px;margin:3px 0 10px}.footer-inner a:not(.brand),.footer-inner button{display:block;text-align:left;padding:3px 0}.copyright{padding-bottom:25px}
dialog{position:fixed;border:0;border-radius:14px;max-width:min(680px,calc(100% - 28px));width:100%;max-height:88dvh;overflow:auto;padding:clamp(28px,4vw,45px);color:var(--ink);background:white;box-shadow:0 20px 80px #21130938}dialog::backdrop{background:#24170fb8}body.modal-open{overflow:hidden}.dialog-close{position:absolute;right:12px;top:10px;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:#fff;font-size:25px;line-height:1;z-index:1}dialog h2{font-size:clamp(1.625rem,calc(1.45rem + .9vw),2.125rem);padding-right:24px}dialog p{color:var(--muted);margin-top:14px}dialog .button{margin-top:19px}.dialog-image{width:100%;max-height:290px;object-fit:cover;border-radius:6px;margin:0 0 21px}.dialog-links{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.dialog-status{font-size:13px;text-transform:none;color:var(--muted);margin:0 0 7px}.catalog-options{list-style:none;padding:0;margin-top:20px}.catalog-options li{border-top:1px solid var(--line);padding:10px 0}.list-action{padding:4px 0;text-align:left;color:var(--red);font-weight:630}.quote-form{display:grid;grid-template-columns:1fr 1fr;gap:13px 15px;margin-top:19px}.quote-form label{font-size:14px;font-weight:600}.quote-form label.wide,.quote-form .wide{grid-column:1/-1}.quote-form input,.quote-form select,.quote-form textarea{display:block;margin-top:5px;width:100%;padding:10px 12px;border:1px solid #ada29c;border-radius:5px;background:white;color:var(--ink);font-size:16px}.quote-form textarea{resize:vertical;min-height:84px}.quote-form .button{margin:1px 0 0;justify-self:start}.quote-note{font-size:14px}.message{color:var(--red);margin:3px 0 0}
@media(min-width:1750px){.hero-inner{min-height:690px}}
@media(max-width:960px){.nav{gap:18px}:root{--nav-height:72px}.header-inner{height:var(--nav-height)}.brand img{width:140px}.footer-inner{grid-template-columns:1.25fr 1fr 1fr 1fr}}
@media(max-width:740px){.header-inner{height:65px;gap:10px}.header .button{min-height:38px;padding:8px 16px;font-size:14px}.brand img{width:129px}.hero-inner{min-height:490px;align-items:flex-end;padding-bottom:32px;padding-top:36px}.hero-copy{width:100%;max-width:510px}.hero h1 br:nth-of-type(2){display:none}.hero h1 em:before{content:" "}.hero .button{min-width:138px}.hero-photo{object-position:76% center}.hero:before{background:linear-gradient(0deg,rgba(40,20,11,.89) 0%,rgba(45,22,10,.68) 28%,rgba(46,23,10,.28) 55%,transparent 82%)}.section-head{margin-bottom:26px}.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.catalog-card small{font-size:14px}.faq{grid-template-columns:1fr;gap:26px}.faq-intro{display:flex;align-items:center;justify-content:space-between;gap:16px}.faq-intro .button{flex-shrink:0;margin:0}.faq-intro h2 br{display:none}.footer-inner{grid-template-columns:1fr 1fr;gap:22px 14px;padding-block:27px}}
@media(max-width:510px){.hero-inner{min-height:478px}.hero-photo{object-position:76% center}.hero-copy{max-width:350px}.catalog-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:12px}.catalog-card{flex:0 0 78%;scroll-snap-align:start}.catalog-card img{aspect-ratio:1.55}.catalog .outline{min-height:40px;padding:8px 15px;font-size:14px}.section-head{gap:10px}.faq-intro{align-items:flex-start}.faq-intro h2{max-width:7em}.faq-intro .button{min-height:39px;font-size:14px;padding:9px 15px}.quote-form{grid-template-columns:1fr}.footer-inner>.footer-brand{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media(max-width:740px){
  .hero {
    width: calc(100% - 28px);
    margin-top: 14px;
    border-radius: 10px;
    background: #492b1c;
  }
  .hero h1 { text-wrap: balance; }
  .hero h1 br:first-of-type { display: none; }
  .hero-photo{height:71%;object-position:100% 55%}
  .hero:before{background:linear-gradient(0deg,#452819 2%,rgba(69,40,25,.98) 25%,rgba(65,36,21,.87) 40%,rgba(65,36,21,.42) 53%,transparent 75%)}
}
@media(max-width:370px){.faq-intro{display:block}.faq-intro h2{max-width:none}.faq-intro .button{margin-top:14px}.header-inner{gap:5px}.header-actions{gap:4px}.brand img{width:116px}}

.review-widget {
  --review-green:#306851;
  display:grid;
  grid-template-columns:minmax(180px,.55fr) minmax(0,2fr);
  column-gap:clamp(24px,3.5vw,56px);
  align-items:start;
  margin-top:clamp(26px,3vw,44px);
  padding-block:clamp(22px,2vw,32px);
  border-block:1px solid var(--line);
}
.review-summary {align-self:center}
.review-preview,.review-count,.review-card small {font-size:.875rem;color:var(--muted)}
.review-preview {font-weight:600}
.review-score {margin:8px 0;font-size:2.25rem;line-height:1.05;font-weight:650;letter-spacing:-.04em}
.review-score span {font-size:1.125rem;color:var(--muted);font-weight:400;letter-spacing:0}
.review-count {margin-top:8px}
.review-stars {display:flex;gap:3px;width:max-content}
.review-stars i {
  width:1.125rem;
  height:1.125rem;
  display:grid;
  place-items:center;
  background:var(--review-green);
}
.review-stars i::before {
  content:"";
  background:white;
  width:77%;
  height:77%;
  clip-path:polygon(50% 0,61% 34%,98% 35%,68% 57%,80% 94%,50% 72%,20% 94%,32% 57%,2% 35%,39% 34%);
}
.review-stars.four-stars i:last-child {background:#b8bdb9}
.review-stars.average-stars i {width:1.5rem;height:1.5rem}
.review-stars.average-stars i:last-child {background:linear-gradient(90deg,var(--review-green) 67%,#b8bdb9 67%)}
.review-carousel {min-width:0}
.review-track {
  --review-gap:14px;
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - var(--review-gap)) / 2);
  gap:var(--review-gap);
  margin:0;
  padding:0;
  list-style:none;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  overscroll-behavior-x:contain;
}
.review-track:focus-visible {outline:2px solid var(--red);outline-offset:2px}
.review-track.enhanced {scrollbar-width:none}
.review-track.enhanced::-webkit-scrollbar {display:none}
.review-card {
  display:flex;
  flex-direction:column;
  align-items:start;
  min-width:0;
  padding:clamp(16px,1.5vw,24px);
  background:#faf9f7;
  border:1px solid var(--line);
  border-radius:7px;
  scroll-snap-align:start;
}
.review-card h3 {margin:12px 0 6px;font-size:1.0625rem;line-height:1.3;letter-spacing:-.015em}
.review-card p {font-size:1rem;line-height:1.5}
.review-card small {margin-top:auto;padding-top:15px}
.carousel-controls {display:flex;gap:6px;justify-content:flex-end;margin-top:8px}
.carousel-controls[hidden] {display:none}
.carousel-controls button {
  display:grid;
  width:44px;
  height:44px;
  place-items:center;
  border:1px solid var(--line);
  border-radius:50%;
}
.carousel-controls button:enabled:hover {background:#f6f2ef;border-color:#9f948b}
.carousel-controls button:disabled {opacity:.42;cursor:default}
.carousel-controls button::before {
  content:"";
  width:8px;
  height:8px;
  border:solid currentColor;
  border-width:1.5px 1.5px 0 0;
  transform:rotate(45deg) translate(-1px,1px);
}
.carousel-controls button:first-child::before {transform:rotate(-135deg) translate(-1px,1px)}
@media(max-width:850px) {
  .review-widget {grid-template-columns:1fr;row-gap:20px}
  .review-summary {display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center}
  .review-preview,.review-count {grid-column:1/-1}
  .review-score {margin:6px 0 0;font-size:2rem}
  .review-summary .review-stars {margin-top:6px}
  .review-count {margin-top:4px}
}
@media(max-width:620px) {
  .review-track {grid-auto-columns:94%}
}

.service-table {
  width:100%;
  border-collapse:collapse;
  margin-top:clamp(32px,3.2vw,52px);
  text-align:left;
  line-height:1.53;
}
.service-table thead th {
  padding:0 22px 14px 0;
  color:var(--muted);
  font-size:14px;
  font-weight:600;
}
.service-table tbody tr {border-top:1px solid var(--line)}
.service-table tbody tr:last-child {border-bottom:1px solid var(--line)}
.service-table tbody th,.service-table tbody td {
  padding:clamp(23px,2.3vw,36px) clamp(25px,4vw,65px) clamp(23px,2.3vw,36px) 0;
  vertical-align:top;
}
.service-table tbody th {width:26%;font-weight:650;letter-spacing:-.025em;font-size:var(--subheading-size)}
.service-table tbody td {width:37%;color:var(--muted)}
.service-table tbody td:last-child {padding-right:0}
@media(max-width:740px) {
  :root {--nav-height:99px;--section-gap:78px}
  .header-inner {display:grid;height:auto;min-height:var(--nav-height);grid-template-columns:1fr auto;align-items:center;gap:0 10px;padding-top:8px}
  .header-inner .brand {grid-area:1 / 1}
  .header-actions {grid-area:1 / 2;justify-self:end}
  .header-inner nav {grid-area:2 / 1 / 3 / 3;display:flex;align-items:stretch;justify-content:space-between;gap:8px;width:100%;margin:0}
  .nav a,.nav button {display:inline-flex;align-items:center;min-height:39px;padding:5px 0;font-size:14px}
  .service-table,.service-table tbody,.service-table tbody tr,.service-table tbody th,.service-table tbody td {display:block;width:100%}
  .service-table thead {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .service-table tbody tr {padding-block:23px}
  .service-table tbody th {padding:0 0 14px}
  .service-table tbody td {padding:0}
  .service-table tbody td+td {margin-top:13px}
  .service-table td:before {content:attr(data-label);display:block;font-size:14px;font-weight:600;color:var(--ink);margin-bottom:3px}
}
@media(max-width:370px) {
  .nav a,.nav button {font-size:13px}
}

.hero .button {margin-top:clamp(23px,2.7vw,38px)}
.work {padding-top:clamp(48px,5.4vw,86px)}
.gallery-head {
  margin-bottom:clamp(22px,2.5vw,38px);
}
.gallery-head h2 {
  max-width:40ch;
  font-size:clamp(1.4375rem,calc(1.25rem + .85vw),2.125rem);
  line-height:1.22;
  letter-spacing:-.025em;
  text-wrap:balance;
}
/* The belt moves independently of the scroll area, including during a swipe. */
.gallery-rows {
  container-type:inline-size;
  --gallery-gap:16px;
  --card-width:calc((100cqw - 48px) / 3.18);
  display:grid;
  gap:var(--gallery-gap);
}
.gallery-rows[data-layout="double"] {--card-width:calc((100cqw - 54px) / 4.22);--gallery-gap:14px}
.gallery-row {
  min-width:0;
  overflow-x:auto;
  overflow-y:hidden;
  overflow-anchor:none;
  overscroll-behavior-x:contain;
  scrollbar-width:none;
}
.gallery-row::-webkit-scrollbar {display:none}
.gallery-belt,.gallery-group {display:flex;width:max-content}
.gallery-group {flex:none;gap:var(--gallery-gap);padding-right:var(--gallery-gap)}
.gallery-group .project {flex:0 0 var(--card-width);width:var(--card-width)}
.gallery-belt.is-moving {animation:gallery-roll var(--period) linear infinite}
@keyframes gallery-roll {
  from {transform:translate3d(0,0,0)}
  to {transform:translate3d(-25%,0,0)}
}
.project {
  overflow:hidden;
  border-radius:7px;
  background:#eeebe6;
}
.project img {width:100%;height:auto;aspect-ratio:5 / 4;object-fit:cover}
.project:focus-visible {outline-offset:-4px;outline-color:#176d83}
dialog .gallery-photo {width:100%;height:auto;max-height:47dvh;object-fit:contain}
@media(max-width:960px) {
  .gallery-rows {--card-width:calc((100cqw - 30px) / 2.6)}
  .gallery-rows[data-layout="double"] {--card-width:calc((100cqw - 36px) / 3.25)}
}
@media(max-width:740px) {
  .work {padding-top:46px}
  .gallery-head {margin-bottom:20px}
  .gallery-rows {--card-width:78cqw;--gallery-gap:10px}
  .gallery-rows[data-layout="double"] {--card-width:calc((100cqw - 22px) / 2.14);--gallery-gap:10px}
}
@media(max-width:510px) {
  .gallery-rows {--card-width:85cqw}
  .gallery-rows[data-layout="double"] {--card-width:calc((100cqw - 10px) / 1.62);--gallery-gap:8px}
}

.resources-menu {position:relative;align-self:center}
.resources-menu > summary {
  display:flex;
  align-items:center;
  gap:6px;
  padding:10px 0;
  font:550 14px/1.5 var(--sans);
}
.resources-menu > summary:after {
  content:'';
  display:block;
  width:6px;
  height:6px;
  border:solid currentColor;
  border-width:0 1px 1px 0;
  transform:translateY(-2px) rotate(45deg);
}
.resources-menu[open] > summary:after {transform:translateY(1px) rotate(225deg)}
.resource-links {
  position:absolute;
  right:0;
  top:100%;
  min-width:215px;
  padding:6px;
  border:1px solid var(--line);
  border-radius:8px;
  background:white;
  box-shadow:0 6px 24px #32201612;
}
.nav .resource-links a {display:block;padding:10px 12px;border-radius:4px}
.nav .resource-links a:hover,.nav .resource-links a:focus-visible {background:#f8f4f0}
.copyright {display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.powered-by {display:inline-flex;align-items:center;gap:7px;min-height:32px;white-space:nowrap;font:400 14px/1.5 "Helvetica Neue",Arial,sans-serif}
.powered-by img {width:116px;height:auto}
footer .powered-by:hover {text-decoration:none}
.powered-by:hover span {text-decoration:underline;text-underline-offset:3px}
@media(max-width:740px) {
  .resources-menu > summary {min-height:39px;padding:5px 0}
}
@media(max-width:370px) {
  .resources-menu > summary {font-size:13px}
}

/* Square studio images keep the approved framing across the homepage and catalog. */
.catalog-intro { margin-bottom: clamp(26px, 2.6vw, 40px); }
.catalog-intro p {
  max-width: 54ch;
  margin-top: .65rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  text-wrap: pretty;
}
.catalog-intro .button { margin-top: 1.1rem; }
.studio-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 1.7vw, 28px);
  padding: 0;
  list-style: none;
}
.studio-card { display: block; min-width: 0; }
.studio-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 7px;
  background: #eae6e0;
}
.studio-card :is(h2, h3) {
  margin: .8rem 0 .3rem;
  font: 600 clamp(1.0625rem, 1.25vw, 1.3125rem)/1.22 var(--serif);
  letter-spacing: -.025em;
}
.studio-card p, .catalog-heading p { color: var(--muted); font-size: 1rem; line-height: 1.48; }
a.studio-card:is(:hover, :focus-visible) :is(h2, h3) {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: .16em;
}
.catalog-content { padding-top: clamp(24px, 3vw, 46px); padding-bottom: clamp(66px, 7vw, 112px); }
.catalog-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: .55em; margin-bottom: clamp(25px, 3vw, 45px); color: var(--muted); font-size: .875rem; }
.catalog-crumb a:hover, .catalog-crumb a:focus-visible { color: var(--red); text-decoration: underline; }
.catalog-heading { margin-bottom: clamp(28px, 4vw, 54px); }
.catalog-heading h1 { margin: 0 0 .65rem; font: 600 clamp(2.15rem, 4vw, 4rem)/1.1 var(--serif); letter-spacing: -.025em; }
.catalog-heading p { max-width: 62ch; font-size: clamp(1rem, 1.15vw, 1.16rem); }
.sample-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1130px; }
@media (min-width: 621px) and (max-width: 1100px) {
  .studio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 30px; }
}
@media (max-width: 620px) {
  .studio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 14px; }
  .studio-card :is(h2, h3) { margin-top: .65rem; }
  .catalog-content { padding-bottom: 58px; }
}
@media (max-width: 359px) {
  .studio-grid { grid-template-columns: 1fr; }
}

/* Four whole categories on desktop; smaller screens show part of the next card. */
.catalog .catalog-track {
  --track-gap: clamp(16px, 1.7vw, 28px);
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-template-rows: auto;
  grid-auto-columns: calc((100% - 3 * var(--track-gap)) / 4);
  gap: var(--track-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding-block: 4px;
}
.catalog-track > a { scroll-snap-align: start; }
.catalog-track:focus-visible,
.catalog-track > a:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.catalog-track.enhanced { scrollbar-width: none; }
.catalog-track.enhanced::-webkit-scrollbar { display: none; }

@media (max-width: 800px) {
  .catalog .catalog-track { grid-auto-columns: 41%; }
}
@media (max-width: 510px) {
  .catalog .catalog-track { grid-auto-columns: 77%; }
}

/* Category photos keep the square crop of the original studio files. */
:is(.catalog-track, .catalog-index) .studio-card img {
  object-fit: cover;
  background: transparent;
}

html:has(.catalog-index) { scroll-padding-top: calc(var(--nav-height) + 12px); }

/* Match the two print samples to the exposure of the other studio covers. */
.print-sample-cover { filter: brightness(1.017); }

/* Only the two rows of photos and captions share the available screen height. */
@media (min-width: 741px) {
  .catalog-index.wrap {
    --column-gap: clamp(18px, 2vw, 34px);
    --cover-size: clamp(150px, calc((100svh - var(--nav-height)) / 2 - clamp(104px, calc(166px - 7svh), 124px)), 460px);
    width: min(calc(100% - 2 * var(--gutter)), calc(3 * var(--cover-size) + 2 * var(--column-gap)));
    padding-inline: 0;
  }
  .catalog-index .studio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.5svh, 30px) var(--column-gap);
  }
  .catalog-index .studio-card h2 { margin: .55rem 0 .2rem; font-size: clamp(1.0625rem, 1.2vw, 1.25rem); }
  .catalog-index .studio-card p { line-height: 1.4; }
}
