@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;1,400&display=swap');

:root{
  --paper:#F5F4F0;
  --heading:#2C263F;
  --ink:#213722;
  --accent:#41644A;
  --line:#41644A;
  --saffron:#F8C662;
  --saffron-deep:#E8B14A;
  --button-text:#2C263F;
  --header-bg:#2C263F;
  --header-text:#FFFFFF
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'DM Sans',sans-serif
}

a{color:inherit}

img{
  display:block;
  max-width:100%;
  filter:none
}

header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:28px clamp(24px,5vw,80px);
  background:var(--header-bg);
  color:var(--header-text);
  border-bottom:1px solid color-mix(in srgb,var(--saffron) 28%,var(--header-bg))
}

.brand{
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  letter-spacing:.16em;
  color:var(--header-text)
}

.brand span{color:var(--header-text)}

nav{
  display:flex;
  gap:clamp(18px,3vw,48px)
}

nav a{
  text-decoration:none;
  font-size:13px;
  color:var(--header-text)
}

nav a:hover{color:var(--saffron)}

.explore:hover{color:var(--accent)}

.intro{
  display:grid;
  grid-template-columns:1fr .9fr;
  gap:7vw;
  align-items:center;
  max-width:1510px;
  margin:auto;
  padding:clamp(48px,7vw,112px) clamp(24px,5vw,80px)
}

.eyebrow{
  text-transform:uppercase;
  letter-spacing:.2em;
  font-size:11px;
  font-weight:600;
  color:var(--accent);
  margin:0 0 22px
}

h1,h2{
  font-family:'Playfair Display',Georgia,serif;
  font-weight:400;
  letter-spacing:-.045em;
  color:var(--heading)
}

h1{
  font-size:clamp(56px,7.5vw,118px);
  line-height:1.04;
  margin:0 0 30px
}

h1 em,h2 em{
  font-weight:400;
  color:var(--accent)
}

.lead{
  font-size:clamp(17px,1.6vw,22px);
  line-height:1.6;
  max-width:500px;
  margin:0 0 34px
}

.explore{
  text-decoration:none;
  border-bottom:1px solid var(--ink);
  padding-bottom:7px;
  font-size:14px;
  font-weight:600
}

.intro figure{margin:0}

.intro figure{background:var(--paper)}

.intro img{
  width:100%;
  aspect-ratio:4/5;
  object-fit:contain;
  background:transparent;
  filter:none
}

.intro figcaption{
  font-size:11px;
  letter-spacing:.15em;
  text-transform:uppercase;
  margin-top:12px;
  color:var(--ink)
}

.works{
  padding:90px clamp(24px,5vw,80px) 120px;
  background:var(--paper)
}

.heading{
  max-width:1350px;
  margin:0 auto 48px
}

.heading h2,.about h2,.contact h2{
  font-size:clamp(48px,6vw,86px);
  line-height:1.1;
  margin:0
}

.heading>p:last-child{
  font-size:16px;
  color:var(--ink)
}

.gallery{
  max-width:1350px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:62px 28px
}

.gallery figure{margin:0}

.gallery img{
  width:100%;
  height:420px;
  object-fit:contain;
  background:transparent;
  filter:none
}

.gallery figcaption{
  padding-top:13px;
  font-size:12px
}

.about{
  padding:120px clamp(24px,12vw,220px);
  display:grid;
  grid-template-columns:1fr 1.3fr;
  column-gap:10vw;
  align-items:start
}

.about .eyebrow{grid-column:1/-1}

.about p:last-child{
  font-size:clamp(18px,2vw,25px);
  line-height:1.6;
  margin:12px 0 0
}

.contact{
  text-align:center;
  background:var(--ink);
  color:var(--paper);
  padding:100px 24px 110px
}

.contact .eyebrow{color:var(--saffron)}

.contact h2{
  margin-bottom:20px;
  color:var(--paper)
}

.contact p:last-child{
  font-size:17px;
  color:var(--paper)
}

.contact a{color:var(--saffron)}

footer{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:28px clamp(24px,5vw,80px);
  font-size:12px;
  color:var(--ink);
  background:var(--paper);
  border-top:1px solid color-mix(in srgb,var(--ink) 16%,var(--paper))
}

@media(max-width:900px){
  .gallery{grid-template-columns:repeat(2,1fr)}
  .gallery img{height:360px}
  .about{padding:90px 6vw;gap:35px}
}

@media(max-width:650px){
  header{
    padding:22px 18px;
    align-items:flex-start;
    gap:20px
  }

  .brand{font-size:12px}

  nav{
    gap:15px;
    flex-wrap:wrap;
    justify-content:flex-end
  }

  nav a{font-size:11px}

  .intro{
    grid-template-columns:1fr;
    padding:58px 22px 70px
  }

  .intro img{
    aspect-ratio:auto;
    max-height:570px
  }

  .works{padding:70px 20px}

  .gallery{
    grid-template-columns:1fr;
    gap:42px
  }

  .gallery img{
    height:auto;
    max-height:560px
  }

  .about{
    display:block;
    padding:80px 24px
  }

  .about p:last-child{margin-top:28px}

  footer{
    padding:24px;
    flex-direction:column
  }
}

.gallery-link{
  max-width:1350px;
  margin:58px auto 0;
  text-align:center
}

.gallery-intro{
  max-width:1510px;
  margin:auto;
  padding:clamp(65px,8vw,125px) clamp(24px,5vw,80px) clamp(55px,7vw,100px)
}

.gallery-intro h1{max-width:900px}

.gallery-intro>p:last-child{
  max-width:620px;
  font-size:clamp(17px,1.6vw,21px);
  line-height:1.6;
  color:var(--ink)
}

.all-works{padding-top:80px}

.all-works .gallery figcaption{
  font-size:15px;
  font-weight:500;
  letter-spacing:.02em
}

nav a[aria-current=page]{
  color:var(--header-text);
  border-bottom:1px solid var(--header-text);
  padding-bottom:5px
}

nav a[aria-current=page]:hover{
  color:var(--saffron);
  border-bottom-color:var(--saffron)
}

footer a{text-decoration:none}

footer a:hover{color:var(--saffron)}

.primary-link{
  display:inline-flex;
  align-items:center;
  gap:24px;
  background:var(--saffron);
  color:var(--button-text);
  text-decoration:none;
  font-size:14px;
  font-weight:600;
  padding:18px 24px;
  transition:background .2s ease
}

.primary-link:hover,.primary-link:focus-visible{
  background:var(--saffron-deep);
  color:var(--button-text)
}

.primary-link span{
  font-size:20px;
  line-height:1
}

@media(max-width:650px){
  .primary-link{
    width:100%;
    justify-content:space-between
  }

  .intro .lead{margin-bottom:26px}
}

.intro{padding-top:clamp(48px,5vw,80px)}

.intro h1{font-size:clamp(58px,6vw,86px)}

.artwork-open{
  display:block;
  cursor:zoom-in;
  background:var(--paper)
}

.artwork-open:focus-visible{
  outline:3px solid var(--accent);
  outline-offset:5px
}

.artwork-viewer:not([open]){display:none}

.artwork-viewer[open]{
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  width:min(96vw,1450px);
  height:94vh;
  max-width:none;
  max-height:none;
  margin:auto;
  padding:18px;
  border:1px solid var(--line);
  background:var(--paper);
  color:var(--ink);
  box-shadow:0 20px 80px #1118
}

.artwork-viewer::backdrop{background:#2C263Fd9}

.viewer-top,.viewer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px
}

.viewer-top{padding:0 2px 16px}

.viewer-top .eyebrow{margin:0 0 4px}

.viewer-top h2{
  font-size:28px;
  margin:0
}

.viewer-actions{
  display:flex;
  gap:8px
}

.artwork-viewer button{
  font:inherit;
  font-size:13px;
  background:transparent;
  color:var(--ink);
  border:1px solid var(--line);
  padding:10px 13px;
  cursor:pointer
}

.artwork-viewer button:hover,
.artwork-viewer button:focus-visible{
  border-color:var(--accent);
  color:var(--accent)
}

.viewer-stage{
  min-height:0;
  overflow:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--header-bg)
}

.viewer-stage img{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  background:transparent;
  filter:none
}

.viewer-stage.zoomed{display:block}

.viewer-stage.zoomed img{
  max-width:none;
  max-height:none;
  width:auto;
  height:auto
}

.viewer-bottom{padding:14px 2px 0}

.viewer-bottom p{
  margin:0;
  font-size:13px;
  color:var(--ink)
}

@media(max-width:650px){
  .artwork-viewer[open]{
    width:100vw;
    height:100dvh;
    padding:12px;
    border:0
  }

  .viewer-top{align-items:flex-start}

  .viewer-top h2{font-size:22px}

  .viewer-actions{
    flex-wrap:wrap;
    justify-content:flex-end
  }

  .artwork-viewer button{
    padding:9px 10px;
    font-size:12px
  }

  .viewer-bottom{gap:5px}

  .viewer-bottom p{font-size:11px}
}

.artwork-viewer[open]{
  inset:0;
  width:100vw;
  height:100dvh;
  max-width:100vw;
  max-height:100dvh;
  margin:0;
  padding:clamp(10px,1.5vw,22px);
  border:0;
  box-shadow:none
}

.artwork-viewer::backdrop{background:#2C263F}

.viewer-top{padding-bottom:10px}

.viewer-bottom{padding-top:10px}

.viewer-stage{
  overflow:hidden;
  background:var(--header-bg)
}

.artwork-viewer[open]{
  display:block;
  position:fixed;
  padding:0
}

.viewer-stage{
  position:absolute;
  inset:0
}

.viewer-stage img{
  max-height:100%;
  max-width:100%
}

.viewer-top,.viewer-bottom{
  position:absolute;
  left:0;
  right:0;
  z-index:1;
  padding:14px clamp(14px,2vw,36px);
  pointer-events:none
}

.viewer-top{top:0}

.viewer-bottom{bottom:0}

.viewer-top>*,
.viewer-bottom>*{
  pointer-events:auto
}

.viewer-top .eyebrow,
.viewer-top h2,
.viewer-bottom p{
  display:table;
  background:var(--paper);
  padding:3px 8px
}

.artwork-viewer button{background:var(--paper)}

@media(max-width:650px){
  .viewer-stage{
    top:68px;
    bottom:56px
  }

  .viewer-top,.viewer-bottom{
    padding:8px 12px
  }

  .viewer-top h2{font-size:20px}
}

header{gap:24px}

.cart-slot{
  min-width:44px;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:flex-end
}

.cart-slot[hidden]{display:none}

.gallery figure{
  display:flex;
  flex-direction:column
}

.work-meta{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding-top:13px;
  min-height:92px
}

.gallery figcaption,
.all-works .gallery figcaption{
  padding-top:0
}

.print-status{
  margin:0;
  font-size:12px;
  letter-spacing:.04em;
  color:var(--ink)
}

.print-status[hidden]{display:none}

/* Quiet purchase action: real Shopify button styled like a text link. */
.buy-button-mount{
  min-height:30px
}

.shopify-buy-wrapper,
.shopify-buy-product,
.shopify-buy-frame--product{
  width:100%
}

.buy-button-mount .shopify-buy-button,
.buy-button-mount .shopify-buy__btn{
  width:auto !important;
  min-width:0 !important;
  background:transparent !important;
  color:var(--saffron) !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  font-family:'DM Sans',sans-serif !important;
  font-size:13px !important;
  font-weight:600 !important;
  letter-spacing:.03em !important;
  line-height:1.4 !important;
  padding:3px 0 !important;
  margin:0 !important;
  cursor:pointer;
  text-align:left !important;
}

.buy-button-mount .shopify-buy-button:hover,
.buy-button-mount .shopify-buy__btn:hover,
.buy-button-mount .shopify-buy-button:focus-visible,
.buy-button-mount .shopify-buy__btn:focus-visible{
  background:transparent !important;
  color:var(--saffron-deep) !important;
  text-decoration:underline;
  text-underline-offset:4px;
}

.shopify-buy__price{
  font-family:'DM Sans',sans-serif;
  font-size:13px;
  color:var(--ink);
  margin:0 0 8px
}

.shopify-buy-frame--cart{
  max-width:min(420px,100vw)!important;
  background:var(--paper)!important;
  border-left:1px solid var(--line)!important;
  box-shadow:-18px 0 40px #1113!important;
  z-index:40
}

.shopify-buy-frame--cart .shopify-buy__btn{
  background:var(--saffron)!important;
  color:var(--button-text)!important
}

.shopify-buy-cart-is-visible body,
.shopify-buy-modal-is-active{
  background:var(--paper)
}

.shopify-buy-frame--toggle{
  position:static!important;
  transform:none!important
}

#cart-toggle .shopify-buy__btn,
#cart-toggle .shopify-buy-frame--toggle,
#cart-toggle .shopify-buy__toggle{
  background:var(--saffron)!important;
  color:var(--button-text)!important;
  border-radius:0!important;
  min-height:44px;
  min-width:44px;
  padding:8px 12px!important
}

@media(max-width:900px){
  .work-meta{min-height:84px}
}

@media(max-width:650px){
  header{flex-wrap:wrap}

  .cart-slot{margin-left:auto}

  .shopify-buy-frame--cart{
    max-width:100vw!important
  }
}

.shopify-buy__cart-item__price {
  float: none !important;
  display: block !important;
  margin-bottom: 8px !important;
}

/* Piece 06 (Taos Tangled) and any horizontal registry tag: 14×11 sheet, never stretch. */
.gallery figure.work-landscape .artwork-open,
.gallery figure[data-orientation="horizontal"] .artwork-open,
.gallery figure[data-orientation="landscape"] .artwork-open {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 14 / 11;
  background: var(--paper);
}

.gallery figure.work-landscape img,
.gallery figure[data-orientation="horizontal"] img,
.gallery figure[data-orientation="landscape"] img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.viewer-stage.viewer-landscape img,
.viewer-stage img.viewer-landscape {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 900px) {
  .gallery figure.work-landscape img {
    height: 100%;
  }
}

@media (max-width: 650px) {
  .gallery figure.work-landscape img {
    height: 100%;
    max-height: none;
  }
}

/* iframe:false cart drawer — paper / ink / accent */
.shopify-buy-cart-wrapper,
.shopify-buy__cart-wrapper,
.shopify-buy-frame--cart {
  background: var(--paper) !important;
  color: var(--ink) !important;
  border-left: 1px solid var(--line) !important;
  box-shadow: -18px 0 40px #1113 !important;
  max-width: min(420px, 100vw) !important;
  z-index: 40;
}

.shopify-buy__cart,
.shopify-buy-cart {
  background: var(--paper) !important;
  color: var(--ink) !important;
  font-family: 'DM Sans', sans-serif !important;
}

.shopify-buy__btn--cart,
.shopify-buy__cart .shopify-buy__btn {
  background: var(--saffron) !important;
  color: var(--button-text) !important;
  border-radius: 0 !important;
  font-family: 'DM Sans', sans-serif !important;
}

.shopify-buy__btn--cart:hover,
.shopify-buy__cart .shopify-buy__btn:hover {
  background: var(--saffron-deep) !important;
  color: var(--button-text) !important;
}

/* iframe:false: keep Shopify screen-reader labels from leaking into the gallery. */
.visuallyhidden,
.shopify-buy--visually-hidden,
.shopify-buy__visuallyhidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

footer a {
  color: var(--ink);
}

#cart-toggle .shopify-buy__btn:hover,
#cart-toggle .shopify-buy-frame--toggle:hover,
#cart-toggle .shopify-buy__toggle:hover {
  background: var(--saffron-deep) !important;
  color: var(--button-text) !important;
}

#cart-toggle svg,
#cart-toggle path {
  fill: var(--button-text);
}

/* Artwork tiles keep unfiltered pixels and white matted master borders.
   Linen lives on figure/stage chrome only — never on the <img> pixels. */
.intro figure,
.gallery .artwork-open,
.gallery figure.work-landscape .artwork-open,
.gallery figure[data-orientation="horizontal"] .artwork-open,
.gallery figure[data-orientation="landscape"] .artwork-open {
  background: var(--paper);
}

.gallery figcaption,
.intro figcaption,
.print-status,
.all-works .gallery figcaption {
  color: var(--ink);
}

/* Align portrait artwork metadata with the visible artwork, not the full grid column. */
@media (min-width: 901px) {
  .gallery figure:not(.work-landscape):not([data-orientation="horizontal"]):not([data-orientation="landscape"]) .work-meta {
    width: 317px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 651px) and (max-width: 900px) {
  .gallery figure:not(.work-landscape):not([data-orientation="horizontal"]):not([data-orientation="landscape"]) .work-meta {
    width: 272px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

.intro img,
.gallery img,
.artwork-open img,
.viewer-stage img,
.intro img:hover,
.gallery a:hover img,
.gallery a:focus-visible img,
.artwork-open:hover img,
.artwork-open:focus-visible img,
.viewer-stage img:hover {
  background: transparent;
  filter: none;
  -webkit-filter: none;
}