:root{
  --bg:#f5efe6;
  --bg2:#eee2d4;
  --paper:#fbf7f1;
  --text:#3d2b24;
  --soft:#786b63;
  --muted:#a09187;
  --accent:#b86f52;
  --accent-soft:#e8c6ae;
  --line:rgba(61,43,36,.13);
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'DM Sans', sans-serif,cursive;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
  font-size:16px;
}
body.locked{overflow:hidden}
a{color:inherit}
button,input,textarea{font:inherit}
::selection{background:var(--accent-soft);color:var(--text)}

/* official logo */
.brand-image{display:block;width:190px;text-decoration:none}
.brand-image img{display:block;width:100%;height:auto;object-fit:contain}
.footer-brand.brand-image{width:165px}

/* navigation */
.navbar{
  height:88px;
  padding:0 5vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:fixed;
  top:0;left:0;right:0;
  z-index:80;
  background:rgba(245,239,230,.93);
  border-bottom:1px solid rgba(61,43,36,.06);
  backdrop-filter:blur(10px);
}
.navbar nav{display:flex;gap:27px;align-items:center}
.navbar nav a{
  text-decoration:none;
  font-family:'DM Sans', sans-serif,cursive;
  font-size:14px;
  color:#75675f;
  position:relative;
}
.navbar nav a::after{
  content:"";
  height:1px;width:0;
  position:absolute;left:0;bottom:-8px;
  background:var(--accent);
  transition:.3s;
}
.navbar nav a:hover::after,.navbar nav a.active::after{width:100%}
.nav-actions{display:flex;align-items:center;gap:10px}
.cart-button,.commission-button{
  height:40px;border-radius:100px;display:flex;align-items:center;gap:8px;
  padding:0 15px;text-decoration:none;cursor:pointer;font-size:13px
}
.cart-button{border:1px solid var(--line);background:transparent;color:var(--text)}
.cart-button b{
  min-width:19px;height:19px;display:grid;place-items:center;border-radius:50px;
  background:var(--accent);color:white;font-size:11px
}
.commission-button{border:1px solid rgba(184,111,82,.45);color:var(--text)}

/* shared */
.eyebrow{
  font-family:'DM Sans', sans-serif,cursive;
  font-size:13px;
  letter-spacing:.04em;
  color:#96847a;
}
.primary-button{
  display:inline-flex;
  padding:13px 22px;
  border-radius:7px;
  background:var(--accent);
  color:#fff;
  text-decoration:none;
  font-size:14px;
  transition:.3s;
}
.primary-button:hover{transform:translateY(-2px)}
.text-button{
  color:#6f5c52;
  text-decoration:none;
  font-size:14px;
  padding-bottom:3px;
  border-bottom:1px solid rgba(184,111,82,.45)
}

h1,h2,h3,.rolling-caption strong,.product-meta h3,.connect-links a,.cart-drawer h2,.checkout-heading h2{
  font-family:'DM Sans', sans-serif,cursive;
}

/* hero */
.hero{
  min-height:100vh;
  padding:132px 5vw 72px;
  display:grid;
  grid-template-columns:42% 58%;
  gap:3vw;
  align-items:center;
  background:linear-gradient(110deg,#f6f0e7 0 44%,#eadbc9 44% 100%);
}
.hero-copy{max-width:620px}
.hero h1{
  margin-top:22px;
  font-size:clamp(66px,7vw,112px);
  font-weight:600;
  line-height:.8;
  letter-spacing:-2px;
}
.hero h1 em{color:var(--accent);font-weight:600}
.hero-lead{max-width:480px;margin-top:30px;color:#786b64;line-height:1.7;font-size:16px}
.hero-actions{display:flex;align-items:center;gap:24px;margin-top:33px}
.hero-note{
  margin-top:62px;display:flex;align-items:center;gap:12px;color:#99877c;
  font-size:13px
}
.hero-note span{width:28px;height:1px;background:var(--accent)}

/* rolling wall */
.rolling-wall-wrap{
  height:640px;position:relative;display:flex;align-items:center;justify-content:center;perspective:1200px
}
.rolling-wall{width:430px;height:430px;position:relative;transform-style:preserve-3d}
.rolling-track{
  width:100%;height:100%;position:relative;transform-style:preserve-3d;
  animation:rollingWall 28s linear infinite
}
.rolling-card{
  width:230px;height:320px;position:absolute;left:100px;top:55px;border:10px solid #f8f3ec;
  background:white;box-shadow:0 25px 55px rgba(64,42,30,.18);overflow:hidden
}
.rolling-card img{width:100%;height:100%;object-fit:cover}
.card-1{transform:rotateY(0deg) translateZ(350px)}
.card-2{transform:rotateY(72deg) translateZ(350px)}
.card-3{transform:rotateY(144deg) translateZ(350px)}
.card-4{transform:rotateY(216deg) translateZ(350px)}
.card-5{transform:rotateY(288deg) translateZ(350px)}
@keyframes rollingWall{from{transform:rotateX(-3deg) rotateY(0)}to{transform:rotateX(-3deg) rotateY(360deg)}}
.rolling-wall-wrap:hover .rolling-track{animation-play-state:paused}
.rolling-caption{
  position:absolute;left:10%;right:10%;bottom:26px;padding-top:13px;border-top:1px solid var(--line);
  display:flex;justify-content:space-between;align-items:flex-end
}
.rolling-caption>div{display:flex;flex-direction:column;gap:2px}
.rolling-caption small,.rolling-caption>span{font-size:12px;color:#9c8a7f}
.rolling-caption strong{font-size:22px;font-weight:500}

/* about */
.about-section{
  display:grid;
  grid-template-columns:42% 58%;
  background:#f4ece2;
  align-items:stretch;
}
.about-copy{
  padding:125px 6vw 90px;
  display:flex;flex-direction:column;justify-content:center
}
.about-copy h2{
  margin-top:10px;
  font-size:clamp(62px,6.4vw,98px);
  line-height:.82;
  font-weight:600;
}
.about-copy h2 em{color:var(--accent);font-weight:600}
.about-copy p{color:#776a62;font-size:16px;line-height:1.65;margin-top:18px}
.about-copy .about-lead{color:#4f3b32;font-size:23px;line-height:1.35;margin-top:28px}
.about-copy .text-button{display:inline-block;align-self:flex-start;margin-top:28px}
.about-wall{position:relative;min-height:710px;overflow:hidden}
.about-wall img{width:100%;height:100%;object-fit:cover}
.wall-note{
  position:absolute;right:42px;bottom:42px;background:rgba(249,244,237,.92);
  padding:22px 27px;border:1px solid rgba(61,43,36,.08);width:280px
}
.wall-note small{color:#9b877b;font-size:12px}
.wall-note strong{display:block;font-family:'DM Sans', sans-serif,cursive;font-size:28px;margin-top:5px;font-weight:500}

.what-we-do{
  grid-column:1/-1;
  padding:90px 6vw 115px;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:.65fr 1.35fr;
  gap:8vw;
}
.what-we-do-title h3{
  margin-top:10px;
  font-size:clamp(50px,5.2vw,78px);
  line-height:.85;
  font-weight:600;
}
.what-we-do-title h3 em{color:var(--accent);font-weight:600}
.service-list article{
  min-height:75px;
  display:grid;
  grid-template-columns:52px 1fr;
  gap:20px;
  align-items:center;
  border-top:1px solid var(--line);
}
.service-list article:last-child{border-bottom:1px solid var(--line)}
.service-list span{color:#a28d80;font-size:13px}
.service-list p{font-size:18px;color:#5f4c43}

/* past work */
.past-work-section{
  padding:125px 6vw 145px;
  background:#efe3d5;
}
.past-work-header{
  display:grid;
  grid-template-columns:1fr .5fr;
  gap:70px;
  align-items:end;
  margin-bottom:70px;
}
.past-work-header h2{
  margin-top:10px;
  font-size:clamp(58px,6.4vw,94px);
  line-height:.83;
  font-weight:600;
}
.past-work-header h2 em{color:var(--accent);font-weight:600}
.past-work-header>p{max-width:430px;color:#7f7067;font-size:16px;line-height:1.65}
.project-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:22px;
}
.project-card{
  position:relative;
  overflow:hidden;
  min-height:330px;
  border:1px solid rgba(61,43,36,.08);
}
.project-photo{grid-column:span 7}
.project-photo.wide-project{grid-column:span 8}
.project-photo img{width:100%;height:100%;object-fit:cover;display:block}
.project-overlay{
  position:absolute;left:0;right:0;bottom:0;
  padding:24px;
  color:#fff;
  background:linear-gradient(transparent,rgba(54,37,29,.72));
}
.project-overlay small,.project-plain small{font-size:12px;color:inherit;opacity:.75}
.project-overlay h3,.project-plain h3{font-size:34px;line-height:.9;margin-top:6px;font-weight:600}
.project-plain{
  grid-column:span 5;
  padding:34px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.project-plain p{font-size:15px;line-height:1.55;margin-top:12px;max-width:360px}
.warm-card{background:#e3c9b6}
.clay-card{background:#c9896f;color:#fff8f4}
.hilton-card{background:#d8b699;grid-column:span 4}
.status-pill{
  align-self:flex-start;
  margin-top:18px;
  padding:7px 12px;
  border-radius:100px;
  background:rgba(255,255,255,.45);
  font-size:12px;
}

/* works */
.works-section{padding:130px 6vw 150px;background:#faf6f0}
.works-header{display:grid;grid-template-columns:1fr .45fr;gap:70px;align-items:end;margin-bottom:70px}
.works-header h2{
  margin-top:9px;
  font-size:clamp(58px,6vw,92px);
  line-height:.84;
  font-weight:600;
}
.works-header h2 em{color:var(--accent);font-weight:600}
.works-header>p{color:#81736b;line-height:1.65;font-size:16px;max-width:390px}
.works-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:72px 28px}
.product-image{
  width:100%;height:430px;border:none;background:#eee2d5;cursor:pointer;overflow:hidden;display:grid;place-items:center
}
.product-image img{width:100%;height:100%;object-fit:contain;background:#eee2d5;transition:.35s}
.product-image:hover img{transform:scale(1.025)}
.placeholder-art{color:#a18f83;font-size:16px}
.product-meta{margin-top:14px}
.product-meta small{font-size:12px;color:#9e8c80}
.product-meta h3{margin-top:4px;font-size:31px;line-height:.9;font-weight:600}
.product-meta p{margin-top:5px;color:#877971;font-size:14px}
.buy-row{margin-top:15px;padding-top:13px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px}
.buy-row strong{font-size:17px;font-weight:500}
.buy-row button{
  border:1px solid rgba(184,111,82,.25);background:#f0ded0;color:#5e473c;
  border-radius:6px;padding:10px 14px;font-size:13px;cursor:pointer
}
.buy-row button:hover:not(:disabled){background:var(--accent);color:white}
.buy-row button:disabled{opacity:.5;cursor:not-allowed}

/* connect */
.connect-section{padding:110px 6vw;display:grid;grid-template-columns:1fr 1fr;gap:9vw;background:#eadccd}
.connect-copy h2{
  max-width:690px;margin-top:9px;font-size:clamp(58px,6vw,92px);font-weight:600;line-height:.83
}
.connect-copy h2 em{color:var(--accent);font-weight:600}
.connect-copy>p{margin-top:20px;color:#78685f;max-width:480px;line-height:1.65;font-size:16px}
.contact-details{display:flex;gap:30px;flex-wrap:wrap;margin-top:32px}
.contact-details a{
  text-decoration:none;
  display:flex;
  flex-direction:column;
  gap:2px;
  color:#59443a
}
.contact-details small{font-size:12px;color:#9a8174}
.contact-details strong{font-size:18px;font-weight:400}
.connect-links a{
  min-height:75px;border-top:1px solid rgba(61,43,36,.12);display:flex;
  align-items:center;justify-content:space-between;text-decoration:none;color:#564037;
  font-family:'DM Sans', sans-serif,cursive;font-size:30px
}
.connect-links a:last-child{border-bottom:1px solid rgba(61,43,36,.12)}
.connect-links b{color:var(--accent);font-weight:400}

footer{
  min-height:135px;
  padding:35px 5vw;
  background:#f5eee6;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:30px;
  align-items:center;
  color:#8a796f;
}
footer p{text-align:center;font-size:14px}
.footer-legal{display:flex;flex-direction:column;align-items:flex-end;gap:3px;font-size:13px}

/* overlay & cart */
.overlay{position:fixed;inset:0;background:rgba(42,30,24,.35);opacity:0;pointer-events:none;z-index:100;transition:.25s}
.overlay.open{opacity:1;pointer-events:auto}
.cart-drawer{
  position:fixed;top:0;right:0;bottom:0;width:min(460px,100%);z-index:110;background:#fbf7f1;
  transform:translateX(100%);transition:.35s;box-shadow:-30px 0 70px rgba(45,31,25,.14);display:flex;flex-direction:column
}
.cart-drawer.open{transform:translateX(0)}
.cart-drawer>header{padding:27px;display:flex;justify-content:space-between;border-bottom:1px solid var(--line)}
.cart-drawer header small{color:#a08c80;font-size:13px}
.cart-drawer header h2{font-size:38px;font-weight:600}
.cart-drawer header button,#closeArtModal,#closeCheckout{
  width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:transparent;cursor:pointer;font-size:18px
}
.cart-items{flex:1;overflow:auto;padding:5px 27px}
.cart-item{padding:20px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:65px 1fr auto;gap:15px}
.cart-item img{width:65px;height:78px;object-fit:cover}
.cart-item h3{font-family:'DM Sans', sans-serif,cursive;font-size:25px;font-weight:600;line-height:.9}
.cart-item p{color:#8b796f;font-size:13px;margin-top:5px}
.cart-item strong{display:block;margin-top:8px;font-size:14px}
.remove{border:none;background:none;cursor:pointer;font-size:17px;color:#a17664}
.empty-cart{flex:1;display:none;align-items:center;justify-content:center;flex-direction:column;gap:15px}
.empty-cart.show{display:flex}
.empty-cart button{border:1px solid var(--line);background:transparent;padding:10px 15px;cursor:pointer}
.cart-footer{padding:23px 27px;border-top:1px solid var(--line);background:#fbf7f1}
.cart-footer>div{display:flex;justify-content:space-between;align-items:center}
.cart-footer strong{font-size:29px;font-weight:500}
.cart-footer>button{width:100%;margin-top:18px;border:none;background:var(--accent);color:white;padding:13px;border-radius:6px;cursor:pointer}

/* art modal */
.art-modal{
  position:fixed;inset:0;z-index:130;background:rgba(62,43,34,.78);display:none;
  align-items:center;justify-content:center;flex-direction:column;padding:30px
}
.art-modal.open{display:flex}
.art-modal img{max-width:min(760px,90vw);max-height:80vh;object-fit:contain;background:white;box-shadow:0 30px 70px rgba(0,0,0,.25)}
.art-modal p{color:white;margin-top:15px;font-family:'DM Sans', sans-serif,cursive;font-size:28px}
#closeArtModal{position:absolute;top:25px;right:25px;color:white;border-color:rgba(255,255,255,.25)}

/* checkout */
.checkout-modal{position:fixed;inset:0;z-index:125;background:rgba(61,43,36,.45);display:none;align-items:center;justify-content:center;padding:20px}
.checkout-modal.open{display:flex}
.checkout-card{position:relative;width:min(920px,100%);max-height:90vh;overflow:auto;background:#fbf7f1;border-radius:12px;padding:38px}
#closeCheckout{position:absolute;top:18px;right:18px}
.checkout-heading small{color:#9a877b;font-size:13px}
.checkout-heading h2{margin-top:2px;font-size:42px;font-weight:600}
.checkout-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;margin-top:28px}
#checkoutForm{display:flex;flex-direction:column;gap:14px}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#checkoutForm label{display:flex;flex-direction:column;gap:5px;color:#8a766b;font-size:13px}
#checkoutForm input,#checkoutForm textarea{font-family:'DM Sans', sans-serif,cursive;border:1px solid var(--line);background:#fffdfa;padding:11px;outline:none;color:#4a362d}
#checkoutForm textarea{min-height:80px;resize:vertical}
.pay-button{border:none;background:var(--accent);color:white;padding:13px;cursor:pointer;border-radius:5px}
.checkout-summary{padding-left:30px;border-left:1px solid var(--line)}
.checkout-summary>small{color:#9a877b;font-size:13px}
.checkout-line{padding:14px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px}
.checkout-line strong{font-family:'DM Sans', sans-serif,cursive;font-size:23px;font-weight:600}
.checkout-line span{font-size:13px;color:#806e64}
.checkout-total{display:flex;justify-content:space-between;margin-top:18px;align-items:center}
.checkout-total strong{font-size:30px;font-weight:500}

.toast{
  position:fixed;left:50%;bottom:30px;transform:translate(-50%,20px);z-index:150;
  opacity:0;pointer-events:none;background:#4b362e;color:white;padding:10px 16px;
  border-radius:100px;font-size:13px;transition:.25s
}
.toast.show{opacity:1;transform:translate(-50%,0)}

@media(max-width:1100px){
  .navbar nav{gap:16px}
  .hero{grid-template-columns:1fr;padding-top:120px}
  .rolling-wall-wrap{margin-top:20px;height:570px}
  .about-section{grid-template-columns:1fr}
  .about-wall{min-height:600px}
  .what-we-do{grid-template-columns:1fr;gap:45px}
  .project-photo,.project-plain,.project-photo.wide-project,.hilton-card{grid-column:span 6}
  .works-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:780px){
  .navbar{height:74px;padding:0 20px}
  .brand-image{width:145px}
  .navbar nav{display:none}
  .commission-button{display:none}
  .hero{padding:105px 20px 60px;background:#f5efe6}
  .hero h1{font-size:58px;letter-spacing:-1px}
  .hero-actions{flex-direction:column;align-items:flex-start;gap:15px}
  .rolling-wall-wrap{height:470px;transform:scale(.82)}
  .about-copy{padding:90px 20px 70px}
  .about-wall{min-height:480px}
  .wall-note{right:15px;bottom:15px}
  .what-we-do{padding:75px 20px 90px}
  .past-work-section,.works-section{padding:90px 20px 110px}
  .past-work-header,.works-header{grid-template-columns:1fr;gap:24px}
  .project-grid{display:block}
  .project-card{margin-bottom:18px}
  .works-grid{grid-template-columns:1fr}
  .product-image{height:430px}
  .connect-section{padding:90px 20px;grid-template-columns:1fr}
  footer{padding:35px 20px;grid-template-columns:1fr;align-items:flex-start}
  footer p{text-align:left}
  .footer-legal{align-items:flex-start}
  .footer-brand.brand-image{width:145px}
  .checkout-card{padding:30px 18px}
  .checkout-layout{grid-template-columns:1fr}
  .checkout-summary{border-left:0;border-top:1px solid var(--line);padding-left:0;padding-top:25px}
}

@media(max-width:500px){
  .hero h1{font-size:51px}
  .rolling-wall-wrap{transform:scale(.68);margin:-30px -45px 0}
  .about-copy h2,.past-work-header h2,.works-header h2,.connect-copy h2{font-size:53px}
  .field-row{grid-template-columns:1fr}
}

/* past work: text-led cards so named projects are not paired with unverified imagery */
.project-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:20px;
}
.project-card{
  position:relative;
  overflow:hidden;
  min-height:300px;
  border:1px solid rgba(61,43,36,.08);
}
.project-card.project-plain{
  grid-column:span 4;
  padding:34px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.project-card.wide-project{grid-column:span 8}
.project-tone-1{background:#dbc5b2}
.project-tone-2{background:#e5d3c1}
.project-tone-3{background:#c98f78;color:#fff8f4}
.project-tone-4{background:#d9bea4}
.hilton-card{background:#b97960;color:#fff8f4;grid-column:span 4}
.project-plain small{font-size:13px;opacity:.72}
.project-plain h3{font-family:'DM Sans', sans-serif,cursive;font-size:38px;line-height:.86;margin-top:8px;font-weight:600;max-width:360px}
.project-plain p{font-size:15px;line-height:1.5;margin-top:14px;max-width:340px}
.project-number{
  position:absolute;
  top:20px;
  right:24px;
  font-family:'DM Sans', sans-serif,cursive;
  font-size:42px;
  opacity:.16;
}
.status-pill{
  align-self:flex-start;
  margin-top:18px;
  padding:7px 12px;
  border-radius:100px;
  background:rgba(255,255,255,.4);
  font-size:12px;
}
@media(max-width:1100px){
  .project-card.project-plain,.project-card.wide-project,.hilton-card{grid-column:span 6}
}
@media(max-width:780px){
  .project-grid{display:block}
  .project-card{margin-bottom:18px}
}


/* ======================================================
   TYPOGRAPHY — RESTORED TO EARLIER VERSION
====================================================== */

body,
button,
input,
textarea,
select{
  font-family:'DM Sans',sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero h1,
.artist-copy h2,
.works-header h2,
.connect-copy h2,
.wall-note strong,
.product-meta h3,
.cart-drawer header h2,
.checkout-heading h2,
.checkout-line strong,
.checkout-total strong{
  font-family:'Playfair Display',serif;
}

.brand-image img{
  font-family:initial;
}


/* production backend integration */
.loading-artworks{
  grid-column:1 / -1;
  min-height:220px;
  display:flex;
  align-items:center;
  color:var(--soft);
  font-size:14px;
}

/* lock the earlier typography: DM Sans UI/body + Playfair display headings */
body, button, input, textarea, select{font-family:'DM Sans',sans-serif;}
h1,h2,h3,h4,h5,h6,
.hero h1,.about-copy h2,.what-we-do-title h3,.past-work-header h2,.project-card h3,
.works-header h2,.product-meta h3,.connect-copy h2,.connect-links a,
.wall-note strong,.cart-drawer h2,.checkout-heading h2,.checkout-line strong,.checkout-total strong{
  font-family:'Playfair Display',serif;
}

/* ======================================================
   V3 CONTENT CMS + ORDER TRACKING
====================================================== */

.track-order-button{
  height:40px;
  border-radius:100px;
  display:flex;
  align-items:center;
  padding:0 15px;
  border:1px solid rgba(184,111,82,.45);
  background:transparent;
  color:var(--text);
  cursor:pointer;
  font-size:13px;
}

.button-link{
  background:transparent;
  border-left:0;
  border-right:0;
  border-top:0;
  cursor:pointer;
}

.hero-note b{font-weight:400}

/* two-sided rotating artworks */
.rolling-card{
  transform-style:preserve-3d;
  overflow:visible;
  border:0;
  background:transparent;
  box-shadow:none;
}
.card-face{
  position:absolute;
  inset:0;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  border:10px solid #f8f3ec;
  background:#fff;
  box-shadow:0 25px 55px rgba(64,42,30,.18);
  overflow:hidden;
}
.card-face.card-back{transform:rotateY(180deg)}
.card-face img{width:100%;height:100%;object-fit:cover;display:block}

/* standalone what-we-do page */
.what-we-do-section{
  padding:110px 6vw 125px;
  background:#f4ece2;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:.65fr 1.35fr;
  gap:8vw;
}
.what-we-do-section .what-we-do-title h3{
  margin-top:10px;
  font-size:clamp(50px,5.2vw,78px);
  line-height:.85;
  font-weight:600;
}
.what-we-do-section .what-we-do-title h3 em{color:var(--accent);font-weight:600}

.service-list[data-layout="list"] article{
  min-height:82px;
  display:grid;
  grid-template-columns:52px 1fr;
  gap:20px;
  align-items:center;
  border-top:1px solid var(--line);
}
.service-list[data-layout="list"] article:last-child{border-bottom:1px solid var(--line)}
.service-list article span{color:#a28d80;font-size:13px}
.service-list article p{font-size:18px;color:#5f4c43;margin:0}
.service-list article small{display:block;color:#8c7b72;font-size:13px;line-height:1.5;margin-top:6px}

.service-list[data-layout="cards"]{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.service-list[data-layout="cards"] article{
  min-height:180px;
  padding:25px;
  background:#ead8c6;
  border:1px solid var(--line);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:12px;
}
.service-list[data-layout="cards"] article p{font-size:22px;line-height:1.05}

.service-list[data-layout="compact"]{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 28px;
}
.service-list[data-layout="compact"] article{
  padding:18px 0;
  display:grid;
  grid-template-columns:42px 1fr;
  gap:12px;
  border-top:1px solid var(--line);
}

/* public tracking */
.connect-track{
  width:100%;
  min-height:75px;
  padding:0;
  border:0;
  border-top:1px solid rgba(61,43,36,.12);
  border-bottom:1px solid rgba(61,43,36,.12);
  background:transparent;
  color:#564037;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:30px;
  cursor:pointer;
}
.connect-track b{color:var(--accent);font-weight:400}

.track-modal,.success-modal{
  position:fixed;
  inset:0;
  z-index:145;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(61,43,36,.48);
}
.track-modal.open,.success-modal.open{display:flex}
.track-card,.success-card{
  position:relative;
  width:min(600px,100%);
  max-height:90vh;
  overflow:auto;
  background:#fbf7f1;
  padding:38px;
  border-radius:12px;
}
.track-card h2,.success-card h2{
  margin:8px 0 12px;
  font-family:'Playfair Display',serif;
  font-size:46px;
  line-height:.98;
  font-weight:500;
}
.track-help,.success-card>p{color:#7c6d65;line-height:1.6;font-size:14px}
.modal-x{
  position:absolute;
  top:17px;
  right:17px;
  width:38px;
  height:38px;
  padding:0;
  border-radius:50%;
  border:1px solid var(--line);
  background:transparent;
  color:var(--text);
  font-size:20px;
  cursor:pointer;
}
#trackOrderForm{display:flex;flex-direction:column;gap:14px;margin-top:25px}
#trackOrderForm label{display:flex;flex-direction:column;gap:6px;color:#8a766b;font-size:12px}
#trackOrderForm input{height:46px;border:1px solid var(--line);background:#fffdfa;padding:0 12px;color:var(--text)}
#trackOrderForm button,#successTrackButton{border:0;background:var(--accent);color:#fff;padding:13px 18px;cursor:pointer}
.track-result{margin-top:22px}
.track-summary{padding:22px;background:#efe2d4;border:1px solid var(--line)}
.track-summary small{font-size:11px;color:#8c7a70}
.track-summary h3{font-family:'Playfair Display',serif;font-size:36px;margin:6px 0 15px;font-weight:500}
.track-summary p{margin:6px 0;color:#68564d}
.track-error{color:#9d493d}
.success-card strong{display:block;margin:22px 0;padding:15px;background:#efe2d4;word-break:break-all;font-size:18px}

@media(max-width:1100px){
  .what-we-do-section{grid-template-columns:1fr;gap:45px}
}
@media(max-width:780px){
  .track-order-button{display:none}
  .what-we-do-section{padding:75px 20px 90px}
  .service-list[data-layout="cards"],.service-list[data-layout="compact"]{grid-template-columns:1fr}
  .track-card,.success-card{padding:30px 20px}
  .track-card h2,.success-card h2{font-size:38px}
}


/* V4 fully managed image transforms */
.brand-image{overflow:visible}
.brand-image img{transform-origin:center center}
.card-face{overflow:hidden}
.card-face img,.about-wall img,.product-image img,.project-managed-image img{transform-origin:center center}
.product-image{overflow:hidden}
.product-image:hover img{filter:brightness(.98)}
.project-card.has-image{padding:0;overflow:hidden;display:flex;flex-direction:column}
.project-managed-image{height:260px;overflow:hidden;background:#eee2d5}
.project-managed-image img{width:100%;height:100%;display:block}
.project-card.has-image .project-copy{padding:28px;position:relative;flex:1}
.project-card.has-image.wide-project .project-managed-image{height:330px}
.cart-thumb{width:65px;height:78px;overflow:hidden;background:#eee2d5}
.cart-thumb img{width:100%;height:100%;display:block;transform-origin:center}


/* V6 operations, manual payments & policies */
.footer-policy-button{border:0;background:transparent;color:#8a796f;padding:0;text-decoration:underline;text-underline-offset:4px;cursor:pointer;font-size:8px;text-transform:uppercase;letter-spacing:.7px}
.payment-methods{border:0;padding:0;margin:6px 0 2px;display:grid;gap:10px}.payment-methods legend{font-size:8px;text-transform:uppercase;letter-spacing:.8px;color:#8a766b;margin-bottom:7px}.payment-choice{display:flex!important;flex-direction:row!important;align-items:center;gap:12px;border:1px solid var(--line);background:#fffdfa;padding:13px;cursor:pointer}.payment-choice input{width:auto;height:auto}.payment-choice span{display:flex;flex-direction:column;gap:3px;text-transform:none;letter-spacing:0}.payment-choice strong{font-size:13px;color:var(--text)}.payment-choice small{font-size:9px;color:#8a766b}.payment-instructions{margin:0 0 18px}.instruction-card{background:#efe2d4;border:1px solid var(--line);padding:18px}.instruction-card>strong{margin:0 0 10px!important;padding:0!important;background:transparent!important;font-size:16px!important}.instruction-card p{margin:5px 0;color:#5f4c43}.instruction-card small{display:block;margin-top:10px;color:#786b63;line-height:1.5}
.policy-modal{position:fixed;inset:0;z-index:160;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(61,43,36,.52)}.policy-modal.open{display:flex}.policy-card{position:relative;width:min(820px,100%);max-height:90vh;overflow:auto;background:#fbf7f1;padding:42px;border-radius:12px}.policy-card h2{font-family:'Playfair Display',serif;font-size:48px;font-weight:500;margin:8px 0 12px}.policy-intro{color:#786b63;line-height:1.6;margin-bottom:25px}.policy-item{border-top:1px solid var(--line)}.policy-item:last-child{border-bottom:1px solid var(--line)}.policy-item summary{list-style:none;cursor:pointer;padding:20px 0;font-family:'Playfair Display',serif;font-size:24px;display:flex;justify-content:space-between}.policy-item summary::-webkit-details-marker{display:none}.policy-item summary:after{content:'+';color:var(--accent);font-family:'DM Sans',sans-serif}.policy-item[open] summary:after{content:'–'}.policy-copy{padding:0 0 24px;color:#66554c;font-size:13px;line-height:1.8;max-width:690px}.track-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.track-actions a{display:inline-flex;padding:10px 13px;background:var(--accent);color:white;text-decoration:none;font-size:10px}.track-note{padding:12px;background:#fbf7f1;border-left:2px solid var(--accent)}
@media(max-width:720px){.policy-card{padding:32px 20px}.policy-card h2{font-size:38px}.policy-item summary{font-size:20px}}


/* ======================================================
   V8 — MOBILE POLISH
   Desktop layout intentionally unchanged.
====================================================== */

.mobile-menu-toggle,
.mobile-menu-panel,
.mobile-menu-backdrop{
  display:none;
}

body.mobile-menu-open{overflow:hidden}

@media (max-width:780px){

  /* consistent anchor landing below fixed header */
  section[id]{scroll-margin-top:84px}

  /* HEADER */
  .navbar{
    height:calc(72px + env(safe-area-inset-top));
    padding:env(safe-area-inset-top) 18px 0;
    gap:10px;
  }

  .brand-image{
    width:132px;
    flex:0 0 auto;
    min-width:0;
  }

  .nav-actions{
    margin-left:auto;
    gap:8px;
    flex:0 0 auto;
  }

  .navbar nav,
  .track-order-button{
    display:none;
  }

  .cart-button{
    min-width:48px;
    height:42px;
    padding:0 10px;
    justify-content:center;
    gap:0;
  }

  .cart-label{display:none}

  .cart-button b{
    min-width:22px;
    height:22px;
    font-size:11px;
  }

  .mobile-menu-toggle{
    width:44px;
    height:44px;
    padding:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    border:1px solid var(--line);
    border-radius:50%;
    background:rgba(251,247,241,.82);
    cursor:pointer;
    position:relative;
    z-index:85;
  }

  .mobile-menu-toggle span{
    display:block;
    width:17px;
    height:1.5px;
    border-radius:10px;
    background:var(--text);
    transition:transform .25s ease, opacity .2s ease;
    transform-origin:center;
  }

  .mobile-menu-toggle.open span:nth-child(1){
    transform:translateY(6.5px) rotate(45deg);
  }
  .mobile-menu-toggle.open span:nth-child(2){opacity:0}
  .mobile-menu-toggle.open span:nth-child(3){
    transform:translateY(-6.5px) rotate(-45deg);
  }

  .mobile-menu-backdrop{
    display:block;
    position:fixed;
    inset:0;
    z-index:76;
    background:rgba(61,43,36,.22);
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease;
  }

  .mobile-menu-backdrop.open{
    opacity:1;
    pointer-events:auto;
  }

  .mobile-menu-panel{
    display:block;
    position:fixed;
    top:calc(72px + env(safe-area-inset-top));
    left:0;
    right:0;
    z-index:79;
    max-height:calc(100dvh - 72px - env(safe-area-inset-top));
    overflow:auto;
    padding:22px 20px calc(28px + env(safe-area-inset-bottom));
    background:rgba(251,247,241,.985);
    border-bottom:1px solid var(--line);
    box-shadow:0 30px 60px rgba(61,43,36,.12);
    transform:translateY(-12px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .22s ease, transform .25s ease, visibility .25s;
  }

  .mobile-menu-panel.open{
    transform:translateY(0);
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  .mobile-nav{
    display:flex;
    flex-direction:column;
  }

  .mobile-nav a,
  .mobile-track-link{
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0;
    border:0;
    border-bottom:1px solid var(--line);
    background:transparent;
    text-decoration:none;
    color:var(--text);
    font-family:'Playfair Display',serif;
    font-size:27px;
    line-height:1;
    text-align:left;
    cursor:pointer;
  }

  .mobile-track-link{
    width:100%;
    color:var(--accent);
  }

  .mobile-track-link span{
    font-family:'DM Sans',sans-serif;
    font-size:18px;
  }

  .mobile-menu-note{
    padding-top:18px;
    color:#9b897f;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.13em;
  }

  /* GLOBAL MOBILE ALIGNMENT */
  .hero,
  .about-copy,
  .what-we-do-section,
  .past-work-section,
  .works-section,
  .connect-section{
    min-width:0;
  }

  .hero-copy,
  .about-copy,
  .what-we-do-title,
  .past-work-header>div,
  .works-header>div,
  .connect-copy{
    min-width:0;
  }

  /* HERO — same desktop concept, better fit */
  .hero{
    grid-template-columns:1fr;
    gap:24px;
    min-height:auto;
    padding:
      calc(104px + env(safe-area-inset-top))
      20px
      58px;
    background:#f5efe6;
  }

  .hero-copy{
    width:100%;
    max-width:620px;
    margin:0 auto;
  }

  .hero .eyebrow{
    font-size:11px;
  }

  .hero h1{
    margin-top:17px;
    font-size:clamp(48px,14vw,61px);
    line-height:.88;
    letter-spacing:-1.25px;
  }

  .hero-lead{
    max-width:540px;
    margin-top:22px;
    font-size:15px;
    line-height:1.65;
  }

  .hero-actions{
    flex-direction:row;
    align-items:center;
    flex-wrap:wrap;
    gap:12px 18px;
    margin-top:25px;
  }

  .primary-button,
  .text-button{
    min-height:44px;
    display:inline-flex;
    align-items:center;
  }

  .hero-note{
    margin-top:34px;
    font-size:12px;
  }

  .rolling-wall-wrap{
    width:100%;
    max-width:520px;
    height:430px;
    margin:-8px auto -15px;
    transform:scale(.76);
    transform-origin:center center;
  }

  .rolling-caption{
    left:5%;
    right:5%;
    bottom:18px;
  }

  .rolling-caption strong{
    max-width:260px;
    font-size:19px;
    line-height:1.05;
  }

  /* ABOUT */
  .about-copy{
    padding:78px 20px 54px;
  }

  .about-copy h2{
    font-size:clamp(47px,13vw,56px);
    line-height:.9;
  }

  .about-copy .about-lead{
    margin-top:22px;
    font-size:20px;
    line-height:1.35;
  }

  .about-copy p{
    font-size:15px;
    line-height:1.65;
  }

  .about-wall{
    min-height:460px;
  }

  .wall-note{
    right:14px;
    bottom:14px;
    width:min(280px,calc(100% - 28px));
    padding:18px 20px;
  }

  .wall-note strong{
    font-size:24px;
    line-height:1.05;
  }

  /* WHAT WE DO */
  .what-we-do-section{
    grid-template-columns:1fr;
    gap:34px;
    padding:76px 20px 86px;
  }

  .what-we-do-title h3{
    font-size:clamp(46px,13vw,55px);
    line-height:.9;
  }

  .service-list article{
    min-height:68px;
    grid-template-columns:40px minmax(0,1fr);
    gap:12px;
    padding:13px 0;
  }

  .service-list p{
    font-size:16px;
    line-height:1.3;
  }

  /* PAST WORK */
  .past-work-section{
    padding:82px 20px 96px;
  }

  .past-work-header{
    grid-template-columns:1fr;
    gap:20px;
    margin-bottom:42px;
  }

  .past-work-header h2{
    font-size:clamp(47px,13vw,56px);
    line-height:.9;
  }

  .past-work-header>p{
    font-size:15px;
  }

  .project-grid{
    display:block;
  }

  .project-card,
  .project-card.project-plain,
  .project-card.wide-project,
  .hilton-card{
    width:100%;
    min-height:255px;
    margin:0 0 16px;
  }

  .project-card.project-plain{
    padding:28px 24px;
  }

  .project-plain h3,
  .project-card h3{
    font-size:32px;
    line-height:.92;
  }

  .project-card.has-image .project-copy{
    padding:23px 21px;
  }

  .project-managed-image,
  .project-card.has-image.wide-project .project-managed-image{
    height:245px;
  }

  /* ARTWORKS */
  .works-section{
    padding:84px 20px 100px;
  }

  .works-header{
    grid-template-columns:1fr;
    gap:20px;
    margin-bottom:43px;
  }

  .works-header h2{
    font-size:clamp(47px,13vw,56px);
    line-height:.9;
  }

  .works-header>p{
    font-size:15px;
  }

  .works-grid{
    grid-template-columns:1fr;
    gap:48px;
  }

  .product{
    width:100%;
    min-width:0;
  }

  .product-image{
    height:min(430px,105vw);
    min-height:330px;
  }

  .product-meta{
    margin-top:13px;
  }

  .product-meta h3{
    font-size:30px;
    line-height:.95;
  }

  .buy-row{
    align-items:center;
  }

  .buy-row button{
    min-height:44px;
    padding:10px 16px;
  }

  /* CONNECT */
  .connect-section{
    grid-template-columns:1fr;
    gap:52px;
    padding:82px 20px 92px;
  }

  .connect-copy h2{
    font-size:clamp(47px,13vw,56px);
    line-height:.9;
  }

  .connect-copy>p{
    font-size:15px;
  }

  .contact-details{
    gap:20px 28px;
  }

  .contact-details strong{
    font-size:16px;
  }

  .connect-links a,
  .connect-track{
    min-height:64px;
    font-size:24px;
  }

  /* FOOTER */
  footer{
    min-height:0;
    padding:
      36px
      20px
      calc(36px + env(safe-area-inset-bottom));
    grid-template-columns:1fr;
    gap:18px;
    justify-items:center;
    text-align:center;
  }

  footer p{
    text-align:center;
    font-size:12px;
  }

  .footer-brand.brand-image{
    width:138px;
  }

  .footer-legal{
    align-items:center;
    gap:6px;
    text-align:center;
    font-size:11px;
  }

  /* CART */
  .cart-drawer{
    width:100%;
    max-width:none;
  }

  .cart-drawer>header{
    padding:
      calc(20px + env(safe-area-inset-top))
      20px
      18px;
  }

  .cart-drawer header h2{
    font-size:34px;
  }

  .cart-items{
    padding:5px 20px;
  }

  .cart-item{
    grid-template-columns:58px minmax(0,1fr) auto;
    gap:12px;
  }

  .cart-thumb,
  .cart-item img{
    width:58px;
    height:70px;
  }

  .cart-item h3{
    font-size:22px;
  }

  .cart-footer{
    padding:
      18px
      20px
      calc(18px + env(safe-area-inset-bottom));
  }

  .cart-footer>button{
    min-height:48px;
  }

  /* CHECKOUT */
  .checkout-modal{
    padding:0;
    align-items:flex-start;
    background:#fbf7f1;
  }

  .checkout-card{
    width:100%;
    min-height:100dvh;
    max-height:100dvh;
    border-radius:0;
    padding:
      calc(74px + env(safe-area-inset-top))
      20px
      calc(30px + env(safe-area-inset-bottom));
  }

  #closeCheckout{
    top:calc(18px + env(safe-area-inset-top));
    right:18px;
  }

  .checkout-heading h2{
    font-size:37px;
    line-height:1;
  }

  .checkout-layout{
    grid-template-columns:1fr;
    gap:30px;
    margin-top:24px;
  }

  .field-row{
    grid-template-columns:1fr;
  }

  #checkoutForm input,
  #checkoutForm textarea{
    min-height:48px;
    font-size:16px; /* prevents iOS auto-zoom */
  }

  .pay-button{
    min-height:50px;
  }

  .checkout-summary{
    border-left:0;
    border-top:1px solid var(--line);
    padding:24px 0 0;
  }

  /* TRACKING + SUCCESS */
  .track-modal,
  .success-modal,
  .policy-modal{
    padding:0;
    align-items:flex-start;
  }

  .track-card,
  .success-card,
  .policy-card{
    width:100%;
    min-height:100dvh;
    max-height:100dvh;
    border-radius:0;
    padding:
      calc(72px + env(safe-area-inset-top))
      20px
      calc(28px + env(safe-area-inset-bottom));
  }

  .track-card h2,
  .success-card h2,
  .policy-card h2{
    font-size:37px;
  }

  .modal-x{
    top:calc(18px + env(safe-area-inset-top));
    right:18px;
    width:42px;
    height:42px;
  }

  #trackOrderForm input{
    min-height:48px;
    font-size:16px;
  }

  #trackOrderForm button,
  #successTrackButton{
    min-height:48px;
  }

  .policy-item summary{
    min-height:58px;
    align-items:center;
    font-size:20px;
    line-height:1.15;
  }

  /* ARTWORK VIEW */
  .art-modal{
    padding:
      calc(68px + env(safe-area-inset-top))
      16px
      calc(24px + env(safe-area-inset-bottom));
  }

  .art-modal img{
    max-width:100%;
    max-height:72dvh;
  }

  .art-modal p{
    font-size:23px;
    text-align:center;
  }

  #closeArtModal{
    top:calc(16px + env(safe-area-inset-top));
    right:16px;
    width:42px;
    height:42px;
  }

  .toast{
    bottom:calc(18px + env(safe-area-inset-bottom));
    max-width:calc(100vw - 32px);
    text-align:center;
  }
}

@media (max-width:430px){
  .hero h1,
  .about-copy h2,
  .what-we-do-title h3,
  .past-work-header h2,
  .works-header h2,
  .connect-copy h2{
    font-size:48px;
  }

  .rolling-wall-wrap{
    height:410px;
    transform:scale(.70);
    margin:-15px auto -35px;
  }

  .mobile-nav a,
  .mobile-track-link{
    font-size:25px;
  }

  .product-image{
    min-height:0;
    height:104vw;
    max-height:405px;
  }
}

@media (max-width:365px){
  .navbar{
    padding-left:14px;
    padding-right:14px;
  }

  .brand-image{width:122px}

  .hero,
  .about-copy,
  .what-we-do-section,
  .past-work-section,
  .works-section,
  .connect-section{
    padding-left:16px;
    padding-right:16px;
  }

  .hero h1,
  .about-copy h2,
  .what-we-do-title h3,
  .past-work-header h2,
  .works-header h2,
  .connect-copy h2{
    font-size:44px;
  }
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .rolling-track{animation:none}
  *,
  *::before,
  *::after{
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
  }
}

/* V9: text font editor applies specific font-family inline; existing typography stays the default. */

/* ==========================================================
   V9 — Gallery option B: landscape centre + side previews
   Keeps all five artwork slots and their individual front/back controls.
   ========================================================== */
.gallery-carousel.rolling-wall-wrap {
  position:relative;
  width:100%;
  min-width:0;
  height:clamp(440px,46vw,610px);
  margin:0;
  transform:none;
  perspective:none;
  overflow:hidden;
  display:block;
}
.gallery-carousel .rolling-wall {
  position:relative;
  width:100%;
  height:calc(100% - 110px);
  margin:0 auto;
  transform:none;
  transform-style:flat;
}
.gallery-carousel .gallery-track {
  position:relative;
  width:100%;
  height:100%;
  animation:none;
  transform:none;
  transform-style:flat;
}
.gallery-carousel .gallery-card {
  position:absolute;
  width:min(68%,520px);
  height:auto;
  aspect-ratio:1.55/1;
  top:51%;
  left:50%;
  margin:0;
  overflow:visible;
  border:0;
  background:transparent;
  transform:translate(-50%,-50%);
  transform-style:preserve-3d;
  transition:transform .58s cubic-bezier(.2,.7,.22,1),opacity .45s ease,filter .45s ease;
  opacity:0;
  z-index:0;
  pointer-events:none;
  will-change:transform;
}
.gallery-carousel .gallery-card[data-position="0"] {
  transform:translate(-50%,-50%);
  opacity:1;
  filter:none;
  z-index:4;
  pointer-events:auto;
}
.gallery-carousel .gallery-card[data-position="-1"] {
  transform:translate(-50%,-50%) translateX(-80%) scale(.73);
  opacity:.78;
  filter:brightness(.92);
  z-index:2;
}
.gallery-carousel .gallery-card[data-position="1"] {
  transform:translate(-50%,-50%) translateX(80%) scale(.73);
  opacity:.78;
  filter:brightness(.92);
  z-index:2;
}
.gallery-carousel .gallery-card[data-position="-2"] {
  transform:translate(-50%,-50%) translateX(-103%) scale(.55);
  z-index:1;
}
.gallery-carousel .gallery-card[data-position="2"] {
  transform:translate(-50%,-50%) translateX(103%) scale(.55);
  z-index:1;
}
.gallery-carousel .gallery-card .card-face {
  position:absolute;
  inset:0;
  padding:0;
  border:8px solid #f8f3ec;
  background:#e8ddd0;
  box-shadow:0 23px 42px rgba(64,42,30,.19);
  overflow:hidden;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  transition:transform .5s ease;
}
.gallery-carousel .gallery-card .card-front {transform:rotateY(0deg)}
.gallery-carousel .gallery-card .card-back {transform:rotateY(180deg)}
.gallery-carousel .gallery-card.flipped .card-front {transform:rotateY(-180deg)}
.gallery-carousel .gallery-card.flipped .card-back {transform:rotateY(0deg)}
.gallery-carousel .gallery-card img {
  width:100%;
  height:100%;
  display:block;
}
.gallery-carousel .rolling-caption {
  position:absolute;
  left:6%;
  right:6%;
  bottom:61px;
  margin:0;
  padding:12px 0 0;
  border-top:1px solid var(--line);
  z-index:5;
}
.gallery-carousel .rolling-caption strong {font-size:20px}
.gallery-controls {
  position:absolute;
  bottom:5px;
  left:6%;
  right:6%;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  z-index:5;
}
.gallery-controls button {
  color:var(--text);
  background:rgba(251,247,241,.88);
  border:1px solid var(--line);
  cursor:pointer;
}
.gallery-arrow {
  width:40px;
  height:40px;
  border-radius:50%;
  font-size:19px;
}
.gallery-dots {display:flex;align-items:center;gap:8px;margin:0 auto 0 6px}
.gallery-dots button {
  display:block;
  padding:0;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#c8b4a5;
  border:0;
}
.gallery-dots button[aria-current="true"] {background:var(--accent);width:20px;border-radius:8px}
.gallery-flip-toggle {
  margin-left:auto;
  min-height:40px;
  border-radius:20px;
  padding:0 15px;
  font-size:12px;
}
.gallery-controls button:focus-visible {outline:2px solid var(--accent);outline-offset:3px}

/* ==========================================================
   V9 — Founder note option 2: artwork + editable message
   ========================================================== */
body.founder-note-locked {overflow:hidden}
.founder-entry[hidden] {display:none!important}
.founder-entry {
  position:fixed;
  inset:0;
  z-index:250;
  background:rgba(29,23,20,.65);
  display:grid;
  place-items:center;
  padding:24px;
  overscroll-behavior:contain;
}
.founder-entry-card {
  position:relative;
  width:min(880px,100%);
  max-height:calc(100dvh - 48px);
  display:grid;
  grid-template-columns:48% 52%;
  min-height:480px;
  background:var(--paper);
  box-shadow:0 30px 100px rgba(20,12,8,.24);
  border-radius:14px;
  overflow:hidden;
}
.founder-entry-visual {
  background:#e8ddd0;
  min-height:430px;
  overflow:hidden;
}
.founder-entry-visual img {display:block;width:100%;height:100%;object-fit:cover}
.founder-entry-copy {
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding:58px 52px 44px;
  overflow-y:auto;
}
.founder-entry-copy .eyebrow {font-size:11px;letter-spacing:.16em}
.founder-entry-copy h2 {
  margin:14px 0 21px;
  font-family:'Playfair Display',Georgia,serif;
  font-size:clamp(32px,3.1vw,46px);
  font-weight:500;
  line-height:1.08;
}
.founder-entry-message {
  font-size:14px;
  line-height:1.85;
  white-space:pre-line;
  overflow-wrap:anywhere;
  color:var(--soft);
}
.founder-entry-signature {
  margin-top:22px;
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:22px;
  color:var(--text);
}
.founder-entry-continue {
  margin-top:28px;
  padding:14px 22px;
  border-radius:6px;
  background:var(--text);
  color:#fff;
  border:0;
  cursor:pointer;
  min-height:44px;
}
.founder-entry-close {
  position:absolute;
  top:16px;
  right:16px;
  z-index:3;
  background:rgba(251,247,241,.9);
  color:var(--text);
  border:1px solid var(--line);
  width:42px;
  height:42px;
  border-radius:50%;
  font-size:27px;
  line-height:1;
  cursor:pointer;
}
.founder-entry button:focus-visible {outline:2px solid var(--accent);outline-offset:3px}

@media(max-width:1100px){
  .gallery-carousel.rolling-wall-wrap {height:520px;margin:10px auto 0;transform:none}
}
@media(max-width:780px){
  .gallery-carousel.rolling-wall-wrap {
    width:100%;
    max-width:620px;
    height:clamp(330px,92vw,480px);
    margin:0 auto;
    transform:none;
  }
  .gallery-carousel .rolling-wall {height:calc(100% - 104px)}
  .gallery-carousel .gallery-card {width:73%;aspect-ratio:1.45/1}
  .gallery-carousel .gallery-card .card-face {border-width:6px}
  .gallery-carousel .gallery-card[data-position="-1"] {
    transform:translate(-50%,-50%) translateX(-78%) scale(.76)
  }
  .gallery-carousel .gallery-card[data-position="1"] {
    transform:translate(-50%,-50%) translateX(78%) scale(.76)
  }
  .gallery-carousel .rolling-caption {bottom:60px;left:3%;right:3%;padding-top:10px}
  .gallery-carousel .rolling-caption strong {font-size:17px}
  .gallery-controls {left:3%;right:3%;bottom:0;gap:7px}
  .gallery-dots {gap:5px;margin-left:4px}
  .gallery-flip-toggle {padding:0 10px;font-size:11px}

  .founder-entry {padding:12px}
  .founder-entry-card {
    width:min(500px,100%);
    max-height:calc(100dvh - 24px);
    min-height:0;
    grid-template-columns:1fr;
    grid-template-rows:clamp(170px,36dvh,270px) minmax(0,1fr);
    overflow-y:auto;
  }
  .founder-entry-visual {min-height:0}
  .founder-entry-copy {padding:29px 26px 32px;overflow:visible}
  .founder-entry-copy h2 {font-size:34px;margin-bottom:16px}
  .founder-entry-message {font-size:14px;line-height:1.7}
  .founder-entry-continue {width:100%;margin-top:23px}
}
@media(max-width:380px){
  .gallery-carousel .rolling-caption strong {font-size:15px}
  .gallery-controls .gallery-arrow {width:36px;height:36px}
  .gallery-controls .gallery-flip-toggle {font-size:10px;padding:0 8px;min-height:36px}
  .gallery-dots button {width:7px;height:7px}
}
@media(prefers-reduced-motion:reduce){
  .gallery-carousel .gallery-card,
  .gallery-carousel .gallery-card .card-face {transition:none}
}

/* ========================================================
   STUDIO M V10 — premium responsive refinement
   ======================================================== */
:root{--luxe-ink:#2c241e;--luxe-paper:#f8f4ed;--luxe-line:rgba(63,45,34,.15)}
html{scroll-padding-top:calc(84px + env(safe-area-inset-top))}
body{overflow-x:clip}
.navbar nav a,.mobile-nav a {text-transform:none}
.navbar nav a::after{transition:width .32s cubic-bezier(.2,.7,.2,1)}
.mobile-nav a.active{color:var(--accent)}
.cart-button[hidden]{display:none!important}
.works-header,.past-work-header{align-items:start;grid-template-columns:minmax(0,1fr) minmax(230px,.42fr)}
.past-work-header>p,.works-header>p{text-align:left;margin:0;justify-self:start;align-self:start}
.works-header h2,.works-header h2 em,.works-header .eyebrow,.product-meta h3,.product-meta p{text-transform:none!important}
.works-header h2{line-height:.96}
.about-inline-logo{display:inline-block;width:95px;height:34px;object-fit:contain;vertical-align:middle;margin:0 5px 1px 0}
/* three editable luxury hero treatments */
.hero[data-hero-style="atelier"]{background:radial-gradient(ellipse at 92% 38%,#e6d9ca 0%,transparent 48%),#f5f0e7}
.hero[data-hero-style="atelier"] .gallery-carousel{background:radial-gradient(ellipse at center,rgba(201,177,147,.32),transparent 66%);border-radius:2px}
.hero[data-hero-style="atelier"] .gallery-card[data-position="0"] .card-face{box-shadow:0 36px 60px rgba(57,43,32,.23)}
.hero[data-hero-style="salon"]{background:#29251f;color:#f6ede2}
.hero[data-hero-style="salon"] .hero-lead,.hero[data-hero-style="salon"] .hero-note,.hero[data-hero-style="salon"] .rolling-caption small,.hero[data-hero-style="salon"] .rolling-caption>span{color:#cfc1b2}
.hero[data-hero-style="salon"] .gallery-carousel .rolling-caption{border-color:rgba(255,255,255,.24)}
.hero[data-hero-style="salon"] .gallery-carousel .rolling-caption strong{color:#f7efe7}
.hero[data-hero-style="salon"] .gallery-controls button{background:#413a33;color:#f7efe7;border-color:#665b50}
.hero[data-hero-style="salon"] .hero h1 em{color:#dbb18e}
.hero[data-hero-style="editorial"]{background:#fbfaf6}
.hero[data-hero-style="editorial"] .hero h1{font-size:clamp(66px,7.2vw,128px);line-height:.86;letter-spacing:-.045em}
.hero[data-hero-style="editorial"] .gallery-carousel{background:linear-gradient(145deg,#f7f6f2,#dfd5c9)}
.hero[data-hero-style="editorial"] .gallery-card .card-face{border-color:#fffdfa}
/* Gallery: elevated neutral framing, gentle transition, without extra decoration/claims */
.gallery-carousel .gallery-card{transition:transform .8s cubic-bezier(.2,.75,.22,1),opacity .65s ease,filter .65s ease}
.gallery-carousel .gallery-card .card-face{border:11px solid #fff9f1;box-shadow:0 15px 50px rgba(39,29,22,.13)}
.gallery-carousel .gallery-card[data-position="0"]{filter:saturate(.99);z-index:5}
.gallery-carousel .gallery-card[data-position="-1"],.gallery-carousel .gallery-card[data-position="1"]{opacity:.65;filter:brightness(.97) saturate(.82)}
.gallery-carousel .gallery-card[data-position="-1"] .card-face,.gallery-carousel .gallery-card[data-position="1"] .card-face{box-shadow:0 12px 22px rgba(48,37,30,.10)}
.gallery-carousel .gallery-card img{background:#eee6dc}
/* Product image is always auto-fitted fully within the frame; original can be viewed in details */
.product-image{position:relative;background:#eee9e2;display:grid;place-items:center;overflow:hidden}
.product-image img{width:100%;height:100%;object-fit:contain!important;object-position:center!important;transform:none!important;box-sizing:border-box;padding:8px;background:transparent}
.artwork-status-mark{position:absolute;top:14px;left:14px;background:#f4e9dc;color:#41332b;padding:8px 13px;letter-spacing:.13em;font-size:10px;font-family:'DM Sans',sans-serif;z-index:2}
.artwork-status-mark.sold-mark{background:#2b2723;color:#fff8ee}
.artwork-image-counter{position:absolute;right:12px;bottom:12px;background:rgba(255,251,245,.92);color:#4f463b;padding:5px 9px;font-size:10px;z-index:2}
.art-option-label{text-transform:none;display:flex;flex-direction:column;gap:7px;margin-top:16px;font-size:12px;color:#776e64}
.art-variant-select{border:1px solid var(--luxe-line);background:#fdfaf6;color:#3d2b24;min-height:44px;padding:0 10px;width:100%;font-size:13px}
.buy-row button.dynamic-place-order{min-height:44px;background:var(--luxe-ink);color:#f8f4ed;padding:0 18px;white-space:nowrap}
.art-modal{overflow:auto;flex-direction:column}
.art-modal-main{max-width:min(800px,90vw);max-height:67dvh;display:flex;justify-content:center;align-items:center}
.art-modal-main img{max-width:100%;max-height:67dvh;object-fit:contain}
.art-modal-thumbnails{display:flex;justify-content:center;flex-wrap:wrap;gap:9px;margin-top:10px;padding-bottom:18px}
.art-modal-thumbnails button{width:58px;height:60px;padding:3px;border:1px solid #bcb1a6;background:#f9f5ed;cursor:pointer}
.art-modal-thumbnails button[aria-current="true"]{border:2px solid var(--accent)}
.art-modal-thumbnails img{width:100%;height:100%;object-fit:contain}
/* right-hand floating quick links, not duplicated in the footer */
.floating-contact{position:fixed;z-index:72;right:18px;top:53%;transform:translateY(-50%);display:flex;flex-direction:column;gap:8px}
.floating-contact a{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:#faf4eb;color:#43332b;border:1px solid rgba(85,64,50,.2);box-shadow:0 5px 20px rgba(46,33,24,.08);text-decoration:none;font-family:'DM Sans',sans-serif;font-weight:600;font-size:16px;transition:transform .2s,background .2s}
.floating-contact a:hover{transform:translateX(-4px);background:#e8dbc8}
.floating-contact a:nth-child(2){font-size:12px;letter-spacing:-.08em}
/* proper founder alignment and scroll without cutting off the note */
.founder-entry-card{max-height:min(740px,calc(100dvh - 38px));grid-template-columns:46% 54%}
.founder-entry-copy{align-items:flex-start;justify-content:center;min-height:0;padding:clamp(28px,4vw,58px);text-align:left;overflow-y:auto}
.founder-entry-visual img{transform-origin:center;max-width:none}
@media(max-width:920px){
 .hero{column-gap:16px}
 .gallery-carousel .gallery-card .card-face{border-width:7px}
 .works-header,.past-work-header{grid-template-columns:1fr;gap:16px}
 .works-header>p,.past-work-header>p{max-width:620px}
}
@media(max-width:780px){
 .hero[data-hero-style="editorial"] .hero h1{font-size:clamp(46px,12vw,66px)}
 .navbar{min-width:0}
 .gallery-carousel.rolling-wall-wrap{width:100%;max-width:100%;min-height:330px}
 .gallery-carousel .gallery-card{width:min(77%,430px);aspect-ratio:1.5/1}
 .gallery-carousel .gallery-card .card-face{border-width:5px}
 .gallery-carousel .gallery-card[data-position="-1"]{transform:translate(-50%,-50%) translateX(-82%) scale(.72)}
 .gallery-carousel .gallery-card[data-position="1"]{transform:translate(-50%,-50%) translateX(82%) scale(.72)}
 .past-work-header>p,.works-header>p{text-align:left;margin:0;max-width:100%}
 .works-grid{grid-template-columns:1fr;gap:30px}
 .product-image{height:min(110vw,430px);min-height:280px}
 .product-meta h3{line-height:1.05;overflow-wrap:anywhere}
 .founder-entry{padding:10px}
 .founder-entry-card{width:min(520px,100%);height:auto;min-height:0;max-height:calc(100dvh - 20px);display:flex;flex-direction:column;overflow-y:auto}
 .founder-entry-visual{height:clamp(150px,30dvh,250px);flex:0 0 auto}
 .founder-entry-copy{padding:24px 24px calc(24px + env(safe-area-inset-bottom));overflow:visible}
 .founder-entry-copy h2{margin:8px 0 12px;font-size:clamp(28px,7vw,37px)}
 .founder-entry-message{font-size:14px;line-height:1.6}
 .founder-entry-continue{margin-top:19px;width:100%}
 .floating-contact{right:9px;top:auto;bottom:calc(12px + env(safe-area-inset-bottom));transform:none;gap:6px}
 .floating-contact a{width:39px;height:39px}
 .art-modal{padding-top:calc(76px + env(safe-area-inset-top))}
 .art-modal-main{max-height:61dvh}
 .art-modal-main img{max-height:61dvh}
}
@media(max-width:390px){
 .hero{padding-left:16px;padding-right:16px}
 .gallery-carousel .rolling-caption strong{font-size:14px}
 .founder-entry-visual{height:160px}
 .founder-entry-copy{padding:20px 18px calc(22px + env(safe-area-inset-bottom))}
 .founder-entry-copy h2{font-size:29px}
 .founder-entry-message{font-size:13px}
 .floating-contact a{width:36px;height:36px}
}

/* Links previously in the Connect details now appear as floating shortcuts. */
.contact-details{display:none!important}

/* V11 — preserve author-entered capitalization. Text is never mutated. */
.works-header h2 #worksTitleMain,
.works-header h2 #worksTitleEmphasis,
.product-meta h3[data-artwork-title] {
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
}
/* JS applies the explicit optional case/font with inline !important.
   Everything else inherits existing desktop/mobile typography. */


/* ================================================================
   V12 — Option 5: centred art gallery + editorial text underneath.
   Artwork slots, CMS image alignment, controls, fonts and flip preserved.
   ================================================================ */

/* This is deliberately temporary: users can still track existing orders
   through the stored endpoint and the existing modal remains in the DOM. */
[data-open-track][hidden],
[data-open-track] { display:none!important; }

/* Floating contacts are icons only: Instagram / WhatsApp / Email */
.floating-contact{z-index:72}
.floating-contact a{width:46px;height:46px;min-width:44px;min-height:44px}
.floating-contact a:nth-child(2){font-size:initial;letter-spacing:normal}
.floating-contact a svg{display:block;width:21px;height:21px;flex:none}
.floating-contact a:focus-visible{outline:2px solid #634634;outline-offset:3px}

.hero[data-hero-style="carousel"]{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:0;
  min-height:min(920px,100svh);
  padding:calc(112px + env(safe-area-inset-top)) 4vw 64px;
  background:radial-gradient(ellipse at 50% 38%,#fbf8f2 10%,#f3ebe2 85%);
  color:var(--text);
}
.hero[data-hero-style="carousel"] .gallery-carousel.rolling-wall-wrap{
  order:1;
  width:min(1180px,100%);
  max-width:none;
  height:clamp(355px,37vw,540px);
  min-height:0;
  margin:0 auto;
  flex:none;
  background:none;
  overflow:hidden;
}
.hero[data-hero-style="carousel"] .gallery-carousel .rolling-wall{
  height:calc(100% - 98px);
}
.hero[data-hero-style="carousel"] .gallery-carousel .gallery-card{
  width:min(52%,590px);
  aspect-ratio:1.57/1;
  top:50%;
  border:none;
}
.hero[data-hero-style="carousel"] .gallery-carousel .gallery-card[data-position="0"]{
  z-index:5;
  opacity:1;
  filter:none;
}
.hero[data-hero-style="carousel"] .gallery-carousel .gallery-card[data-position="-1"]{
  transform:translate(-50%,-50%) translateX(-73%) scale(.77);
  opacity:.83;
  filter:saturate(.92);
}
.hero[data-hero-style="carousel"] .gallery-carousel .gallery-card[data-position="1"]{
  transform:translate(-50%,-50%) translateX(73%) scale(.77);
  opacity:.83;
  filter:saturate(.92);
}
.hero[data-hero-style="carousel"] .gallery-carousel .gallery-card[data-position="-2"],
.hero[data-hero-style="carousel"] .gallery-carousel .gallery-card[data-position="2"]{
  opacity:0;
}
.hero[data-hero-style="carousel"] .gallery-carousel .card-face{
  border:8px solid #fffaf4;
  box-shadow:0 18px 45px rgba(54,42,34,.18);
}
.hero[data-hero-style="carousel"] .gallery-carousel .gallery-card[data-position="0"] .card-face{
  border:9px solid #fffaf4;
  box-shadow:0 18px 46px rgba(47,35,26,.25);
}
.hero[data-hero-style="carousel"] .gallery-carousel .rolling-caption{
  bottom:54px;
  left:15%;
  right:15%;
  padding-top:10px;
  gap:18px;
  align-items:center;
  text-align:left;
}
.hero[data-hero-style="carousel"] .gallery-carousel .rolling-caption strong{
  font-family:'Playfair Display',serif;
  font-weight:500;
  font-size:17px;
}
.hero[data-hero-style="carousel"] .gallery-carousel .rolling-caption small,
.hero[data-hero-style="carousel"] .gallery-carousel .rolling-caption>span{
  font-size:11px;
}
.hero[data-hero-style="carousel"] .gallery-controls{
  left:15%;right:15%;bottom:0;
  gap:12px;
}
.hero[data-hero-style="carousel"] .gallery-controls button{
  min-width:40px;min-height:40px;
}
.hero[data-hero-style="carousel"] .hero-copy{
  order:2;
  max-width:860px;
  width:100%;
  margin:12px auto 0;
  text-align:center;
}
.hero[data-hero-style="carousel"] .hero-copy .eyebrow{
  display:block;
  font-size:10px;
  line-height:1.4;
  letter-spacing:.2em;
}
.hero[data-hero-style="carousel"] h1{
  margin-top:11px;
  font-size:clamp(36px,4vw,65px);
  line-height:1.09;
  letter-spacing:-.025em;
  font-weight:500;
}
.hero[data-hero-style="carousel"] h1 br{display:none}
.hero[data-hero-style="carousel"] h1 em{
  color:inherit;
  font-weight:500;
  font-style:italic;
}
.hero[data-hero-style="carousel"] .hero-lead{
  margin:14px auto 0;
  max-width:620px;
  font-size:14px;
  line-height:1.6;
}
.hero[data-hero-style="carousel"] .hero-actions{
  justify-content:center;
  flex-direction:row;
  align-items:center;
  margin-top:19px;
}
.hero[data-hero-style="carousel"] .primary-button{
  background:transparent;
  color:var(--text);
  border:1px solid rgba(61,43,36,.6);
  border-radius:2px;
  min-height:44px;
  font-size:12px;
  letter-spacing:.025em;
  justify-content:center;
}
.hero[data-hero-style="carousel"] .primary-button:hover{
  background:#e8d8c8;
}
.hero[data-hero-style="carousel"] .hero-note{
  margin:17px auto 0;
  justify-content:center;
  font-size:11px;
}
.hero[data-hero-style="carousel"] .hero-note span{display:none}

@media (max-width:900px) {
  .hero[data-hero-style="carousel"]{
    min-height:auto;
    padding:calc(95px + env(safe-area-inset-top)) 22px 56px;
  }
  .hero[data-hero-style="carousel"] .gallery-carousel.rolling-wall-wrap{
    height:clamp(320px,58vw,500px);
    max-width:850px;
    transform:none;
  }
  .hero[data-hero-style="carousel"] .gallery-carousel .gallery-card{
    width:64%;
  }
}
@media (max-width:780px) {
  .hero[data-hero-style="carousel"]{
    display:flex;
    padding:calc(91px + env(safe-area-inset-top)) 16px 44px;
  }
  .hero[data-hero-style="carousel"] .gallery-carousel.rolling-wall-wrap{
    width:100%;
    height:clamp(268px,72vw,390px);
    min-height:0;
    margin:0 auto;
    transform:none;
  }
  .hero[data-hero-style="carousel"] .gallery-carousel .rolling-wall{
    height:calc(100% - 82px);
  }
  .hero[data-hero-style="carousel"] .gallery-carousel .gallery-card{
    width:76%;
    max-width:440px;
    aspect-ratio:1.4/1;
    top:49%;
  }
  .hero[data-hero-style="carousel"] .gallery-carousel .gallery-card[data-position="-1"]{
    transform:translate(-50%,-50%) translateX(-77%) scale(.74);
  }
  .hero[data-hero-style="carousel"] .gallery-carousel .gallery-card[data-position="1"]{
    transform:translate(-50%,-50%) translateX(77%) scale(.74);
  }
  .hero[data-hero-style="carousel"] .gallery-carousel .card-face,
  .hero[data-hero-style="carousel"] .gallery-carousel .gallery-card[data-position="0"] .card-face{
    border-width:5px;
  }
  .hero[data-hero-style="carousel"] .gallery-carousel .rolling-caption{
    bottom:46px;left:4%;right:4%;padding-top:7px;
  }
  .hero[data-hero-style="carousel"] .gallery-carousel .rolling-caption strong{font-size:13px;line-height:1.15}
  .hero[data-hero-style="carousel"] .gallery-carousel .rolling-caption small,
  .hero[data-hero-style="carousel"] .gallery-carousel .rolling-caption>span{font-size:9px}
  .hero[data-hero-style="carousel"] .gallery-controls{
    left:4%;right:4%;bottom:0;gap:7px;
  }
  .hero[data-hero-style="carousel"] .gallery-controls button{
    min-width:40px;min-height:40px;
  }
  .hero[data-hero-style="carousel"] .gallery-flip-toggle{font-size:10px;padding:0 9px}
  .hero[data-hero-style="carousel"] .gallery-dots{margin-left:4px;gap:5px}
  .hero[data-hero-style="carousel"] .hero-copy{margin-top:14px;max-width:570px}
  .hero[data-hero-style="carousel"] .hero-copy .eyebrow{font-size:10px}
  .hero[data-hero-style="carousel"] h1{
    margin-top:9px;
    font-size:clamp(31px,8vw,44px);
    line-height:1.1;
  }
  .hero[data-hero-style="carousel"] .hero-lead{
    font-size:13px;
    line-height:1.6;
    margin-top:11px;
  }
  .hero[data-hero-style="carousel"] .hero-actions{margin-top:16px;gap:0}
  .hero[data-hero-style="carousel"] .hero-note{margin-top:13px;font-size:10px}
  .floating-contact{right:10px;top:auto;bottom:calc(14px + env(safe-area-inset-bottom));transform:none;gap:7px}
  .floating-contact a{width:44px;height:44px;min-width:44px;min-height:44px}
  .floating-contact a svg{width:20px;height:20px}
}
@media (max-width:380px) {
  .hero[data-hero-style="carousel"] .gallery-carousel.rolling-wall-wrap{
    height:clamp(254px,72vw,300px);
  }
  .hero[data-hero-style="carousel"] .gallery-controls{gap:4px}
  .hero[data-hero-style="carousel"] .gallery-controls .gallery-flip-toggle{
    min-width:70px;max-width:88px;padding:0 6px;font-size:9px
  }
  .hero[data-hero-style="carousel"] h1{font-size:30px}
}
/* Dot indicators are decorative navigation markers, not full-size round buttons. */
.hero[data-hero-style="carousel"] .gallery-controls .gallery-dots button {
  min-width:8px;
  min-height:8px;
  width:8px;
  height:8px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#c8b4a5;
}
.hero[data-hero-style="carousel"] .gallery-controls .gallery-dots button[aria-current="true"] {
  min-width:20px;
  width:20px;
  background:var(--accent);
  border-radius:8px;
}
@media(max-width:380px){
  .hero[data-hero-style="carousel"] .gallery-controls .gallery-dots{gap:5px}
  .hero[data-hero-style="carousel"] .gallery-controls .gallery-dots button{min-width:7px;width:7px;min-height:7px;height:7px}
  .hero[data-hero-style="carousel"] .gallery-controls .gallery-dots button[aria-current="true"]{min-width:17px;width:17px}
}

@media (prefers-reduced-motion:reduce) {
  .hero[data-hero-style="carousel"] .gallery-carousel .gallery-card{
    transition:none;
  }
}


/* =====================================================================
   V13 PREVIEW — Option 4 Gallery Slider
   Only applies when hero style = museum. V12 and older choices are intact.
   ===================================================================== */
.hero[data-hero-style="museum"]{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:0;
  position:relative;
  isolation:isolate;
  min-height:min(900px,100svh);
  padding:calc(106px + env(safe-area-inset-top)) 5vw 85px;
  overflow:hidden;
  color:#f7ede1;
  background:
    radial-gradient(ellipse 48% 55% at 50% 25%,rgba(216,177,132,.18),transparent 88%),
    radial-gradient(ellipse 38% 48% at 14% 32%,rgba(188,141,100,.12),transparent 85%),
    radial-gradient(ellipse 38% 48% at 86% 32%,rgba(188,141,100,.12),transparent 85%),
    linear-gradient(180deg,#281e19 0%,#4c382c 64%,#362820 100%);
}
.hero[data-hero-style="museum"]:before{
  content:"";z-index:-1;position:absolute;inset:0;
  background:repeating-linear-gradient(91deg,transparent 0 34px,rgba(255,242,216,.014) 35px 36px);
  opacity:.4;pointer-events:none;
}
.hero[data-hero-style="museum"]:after{
  content:"";z-index:-1;position:absolute;bottom:0;left:0;right:0;height:70px;
  border-top:1px solid rgba(255,235,210,.13);
  background:linear-gradient(180deg,rgba(29,18,14,.35),rgba(21,14,12,.55));pointer-events:none;
}
.hero[data-hero-style="museum"] .gallery-carousel.rolling-wall-wrap{
  order:1;
  position:relative;
  width:min(1120px,100%);
  height:clamp(350px,35vw,470px);
  min-height:0;max-width:none;
  flex:none;
  overflow:hidden;
  margin:0 auto;
  transform:none;
  background:transparent;
}
.hero[data-hero-style="museum"] .gallery-carousel .rolling-wall{
  position:relative;width:100%;height:calc(100% - 61px);transform:none;
}
.hero[data-hero-style="museum"] .gallery-carousel .gallery-track{animation:none;transform:none;}
.hero[data-hero-style="museum"] .gallery-carousel .gallery-card{
  width:clamp(235px,26vw,310px);
  height:auto;
  aspect-ratio:.82/1;
  left:50%;top:50%;
  background:transparent;opacity:0;
  transition:transform .7s cubic-bezier(.19,.73,.25,1),opacity .5s ease,filter .5s ease;
}
.hero[data-hero-style="museum"] .gallery-carousel .gallery-card[data-position="0"]{
  transform:translate(-50%,-50%);
  z-index:5;opacity:1;filter:none;
}
.hero[data-hero-style="museum"] .gallery-carousel .gallery-card[data-position="-1"]{
  transform:translate(-50%,-50%) translateX(-132%) scale(.79);
  z-index:3;opacity:.91;filter:brightness(.9);
}
.hero[data-hero-style="museum"] .gallery-carousel .gallery-card[data-position="1"]{
  transform:translate(-50%,-50%) translateX(132%) scale(.79);
  z-index:3;opacity:.91;filter:brightness(.9);
}
.hero[data-hero-style="museum"] .gallery-carousel .gallery-card[data-position="-2"],
.hero[data-hero-style="museum"] .gallery-carousel .gallery-card[data-position="2"]{opacity:0;}
.hero[data-hero-style="museum"] .gallery-carousel .gallery-card .card-face{
  border:8px solid #32231c;
  outline:1px solid rgba(223,182,130,.65);
  outline-offset:1px;
  background:#e5d6bc;
  box-shadow:0 2px 2px rgba(0,0,0,.7),0 20px 30px rgba(8,4,3,.55),0 0 38px rgba(230,180,127,.1),inset 0 0 0 1px rgba(230,188,130,.5);
}
.hero[data-hero-style="museum"] .gallery-carousel .gallery-card img{object-fit:cover}
.hero[data-hero-style="museum"] .gallery-carousel .rolling-caption{
  left:0;right:0;bottom:10px;
  gap:13px;border:0;padding:0;
  justify-content:center;
  text-align:center;
}
.hero[data-hero-style="museum"] .gallery-carousel .rolling-caption div{
  align-items:center;justify-content:center;
}
.hero[data-hero-style="museum"] .gallery-carousel .rolling-caption small{
  font-size:10px;color:#c8aa89;letter-spacing:.14em;
}
.hero[data-hero-style="museum"] .gallery-carousel .rolling-caption strong{
  font-family:'Cormorant Garamond',serif;font-weight:400;
  font-size:15px;color:#efe0cf;
}
.hero[data-hero-style="museum"] .gallery-carousel .rolling-caption>span{
  color:#c4ad91;font-size:10px;
}
.hero[data-hero-style="museum"] .gallery-controls{
  position:absolute;left:6%;right:6%;bottom:53px;
  display:flex;align-items:center;justify-content:center;
  gap:13px;z-index:6;
}
.hero[data-hero-style="museum"] .gallery-controls .gallery-arrow{
  position:absolute;top:-178px;
  width:44px;height:44px;
  border:1px solid rgba(241,223,203,.47);
  background:rgba(21,15,11,.56);
  color:#f7ede1;border-radius:50%;
  font-size:20px;backdrop-filter:blur(5px);
}
.hero[data-hero-style="museum"] .gallery-controls #galleryPrevious{left:0;}
.hero[data-hero-style="museum"] .gallery-controls #galleryNext{right:0;}
.hero[data-hero-style="museum"] .gallery-controls .gallery-dots{
  margin:0;gap:10px;align-items:center;
}
.hero[data-hero-style="museum"] .gallery-controls .gallery-dots button{
  width:7px;min-width:7px;height:7px;min-height:7px;
  padding:0;border:1px solid rgba(250,240,220,.5);border-radius:100%;
  background:transparent;
}
.hero[data-hero-style="museum"] .gallery-controls .gallery-dots button[aria-current="true"]{
  width:8px;min-width:8px;height:8px;min-height:8px;
  background:#edd1aa;border-color:#edd1aa;
}
.hero[data-hero-style="museum"] .gallery-controls .gallery-flip-toggle{
  margin:0 0 0 10px;
  min-height:35px;border:1px solid rgba(250,233,214,.28);
  background:rgba(40,28,22,.64);color:#efe3d5;
  padding:0 14px;font-size:11px;letter-spacing:.03em;
}
.hero[data-hero-style="museum"] .hero-copy{
  order:2;
  display:flex;flex-direction:column;align-items:center;
  width:100%;max-width:800px;
  margin:5px auto 0;
  text-align:center;
}
.hero[data-hero-style="museum"] .hero-copy .eyebrow{
  font-size:10px;line-height:1.5;
  color:#dbbfa4;
  letter-spacing:.31em;
}
.hero[data-hero-style="museum"] h1{
  font-family:'Cormorant Garamond','Playfair Display',serif;
  margin-top:3px;
  font-size:clamp(48px,5.2vw,78px);
  font-weight:400;
  line-height:.95;
  letter-spacing:-.028em;
}
.hero[data-hero-style="museum"] h1 br{display:none}
.hero[data-hero-style="museum"] h1 em{
  font-family:inherit;font-weight:400;font-style:italic;color:inherit;
}
.hero[data-hero-style="museum"] .hero-lead{
  max-width:610px;
  margin:14px auto 0;
  font-size:14px;line-height:1.6;color:#e9d8c5;
}
.hero[data-hero-style="museum"] .hero-actions{
  margin-top:22px;
  display:flex;align-items:center;justify-content:center;
  flex-direction:row;flex-wrap:wrap;gap:10px;
}
.hero[data-hero-style="museum"] .primary-button{
  background:#f4e9da;color:#2d231d;
  padding:12px 23px;min-height:44px;
  font-size:12px;font-weight:600;
  border-radius:3px;
}
.hero[data-hero-style="museum"] .museum-secondary-button{
  display:inline-flex;align-items:center;justify-content:center;
  padding:11px 22px;min-height:44px;
  border:1px solid rgba(241,226,209,.6);
  color:#f1e5d7;text-decoration:none;
  border-radius:3px;font-size:12px;
}
.hero:not([data-hero-style="museum"]) .museum-secondary-button{display:none}
.hero[data-hero-style="museum"] .hero-note{display:none}
.hero[data-hero-style="museum"] .floating-contact {color:#3d2b24}
.hero-style-museum{background:linear-gradient(140deg,#261d18,#62493b)}
.hero-style-museum .thumb-art-left,.hero-style-museum .thumb-art-right{
  background:#b48b63;box-shadow:0 0 0 2px #231710;position:absolute;width:19%;height:67%;top:16%;left:9%;
}
.hero-style-museum .thumb-art-right{left:auto;right:9%;background:#9d6945}
.hero-style-museum img{position:relative;margin:auto;max-width:43%;height:85%;object-fit:cover;border:3px solid #3b271b}

@media (max-width:900px){
  .hero[data-hero-style="museum"]{min-height:auto;padding:calc(99px + env(safe-area-inset-top)) 18px 65px}
  .hero[data-hero-style="museum"] .gallery-carousel.rolling-wall-wrap{
    width:100%;height:clamp(335px,53vw,450px);
  }
  .hero[data-hero-style="museum"] .gallery-carousel .gallery-card{width:clamp(210px,31vw,285px)}
}
@media (max-width:780px){
  .hero[data-hero-style="museum"]{
    padding:calc(85px + env(safe-area-inset-top)) 0 47px;
    min-height:calc(680px + env(safe-area-inset-top));
  }
  .hero[data-hero-style="museum"] .gallery-carousel.rolling-wall-wrap{
    width:100%;height:clamp(315px,89vw,390px);
    margin:0;overflow:hidden;transform:none;
  }
  .hero[data-hero-style="museum"] .gallery-carousel .rolling-wall{height:calc(100% - 60px)}
  .hero[data-hero-style="museum"] .gallery-carousel .gallery-card{
    width:clamp(176px,57vw,250px);
    top:51%;aspect-ratio:.78/1;
  }
  .hero[data-hero-style="museum"] .gallery-carousel .gallery-card[data-position="-1"]{
    transform:translate(-50%,-50%) translateX(-82%) scale(.79);
  }
  .hero[data-hero-style="museum"] .gallery-carousel .gallery-card[data-position="1"]{
    transform:translate(-50%,-50%) translateX(82%) scale(.79);
  }
  .hero[data-hero-style="museum"] .gallery-carousel .gallery-card .card-face{border-width:5px}
  .hero[data-hero-style="museum"] .gallery-controls{
    left:17px;right:17px;bottom:51px;
  }
  .hero[data-hero-style="museum"] .gallery-controls .gallery-arrow{
    top:-118px;width:40px;height:40px;
  }
  .hero[data-hero-style="museum"] .gallery-carousel .rolling-caption{bottom:11px}
  .hero[data-hero-style="museum"] .gallery-carousel .rolling-caption strong{font-size:12px}
  .hero[data-hero-style="museum"] .gallery-carousel .rolling-caption small,
  .hero[data-hero-style="museum"] .gallery-carousel .rolling-caption>span{font-size:9px}
  .hero[data-hero-style="museum"] .hero-copy{
    max-width:550px;padding:0 22px;margin:12px auto 0;
  }
  .hero[data-hero-style="museum"] h1{font-size:clamp(42px,10.5vw,56px);line-height:.97}
  .hero[data-hero-style="museum"] .hero-lead{max-width:430px;font-size:13px;margin-top:13px}
  .hero[data-hero-style="museum"] .hero-actions{margin-top:22px;gap:9px}
  .hero[data-hero-style="museum"] .primary-button,
  .hero[data-hero-style="museum"] .museum-secondary-button{min-height:45px}
  .hero[data-hero-style="museum"] .gallery-controls .gallery-flip-toggle{
    font-size:10px;min-height:34px;padding:0 9px;margin-left:2px;
  }
}
@media (max-width:395px){
  .hero[data-hero-style="museum"] .gallery-carousel.rolling-wall-wrap{height:322px}
  .hero[data-hero-style="museum"] .gallery-carousel .gallery-card{width:58vw}
  .hero[data-hero-style="museum"] .gallery-controls .gallery-arrow{top:-111px}
  .hero[data-hero-style="museum"] .gallery-carousel .rolling-caption strong{font-size:11px}
  .hero[data-hero-style="museum"] h1{font-size:42px}
}
@media (prefers-reduced-motion:reduce){
  .hero[data-hero-style="museum"] .gallery-carousel .gallery-card{transition:none!important}
}


/* ==========================================================
   StudioM V14 — Original rotating-photo hero restored.
   Only applies to data-hero-style="original"; all other
   sections, CMS, and alternative hero themes are preserved.
   ========================================================== */
.hero[data-hero-style="original"] {
  display:grid;
  grid-template-columns:minmax(0, .90fr) minmax(0, 1.1fr);
  align-items:center;
  gap:3.5vw;
  min-height:min(850px, 100svh);
  padding:calc(112px + env(safe-area-inset-top)) 6vw 66px;
  overflow:hidden;
  color:#392c25;
  background:linear-gradient(110deg,#f7f2ea 0%,#f7f2ea 43%,#e7d8c6 100%);
}
.hero[data-hero-style="original"] .hero-copy {
  order:0;
  display:block;
  max-width:530px;
  min-width:0;
  margin:0;
  text-align:left;
}
.hero[data-hero-style="original"] .hero-copy .eyebrow {
  color:#917565;
  font-size:11px;
  letter-spacing:.17em;
  text-transform:none;
}
.hero[data-hero-style="original"] h1 {
  margin:23px 0 0;
  font-family:'Cormorant Garamond','Playfair Display',Georgia,serif;
  font-weight:500;
  font-size:clamp(61px,6vw,101px);
  line-height:.85;
  letter-spacing:-.026em;
}
.hero[data-hero-style="original"] h1 em {
  display:inline;
  font-family:inherit;
  font-weight:400;
  font-style:italic;
  color:#a96e52;
}
.hero[data-hero-style="original"] .hero-lead {
  max-width:430px;
  margin:29px 0 0;
  color:#75665e;
  font-size:15px;
  line-height:1.7;
}
.hero[data-hero-style="original"] .hero-actions {
  margin:30px 0 0;
  display:flex;
  flex-direction:row;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:12px;
}
.hero[data-hero-style="original"] .primary-button {
  min-height:45px;
  padding:13px 24px;
  background:#3d3028;
  color:#fff8f0;
  border-radius:2px;
}
.hero[data-hero-style="original"] .museum-secondary-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:45px;
  padding:12px 23px;
  border:1px solid rgba(61,48,40,.36);
  border-radius:2px;
  text-decoration:none;
  font-size:13px;
  color:#3d3028;
}
.hero[data-hero-style="original"] .hero-note {
  display:flex;
  margin-top:42px;
  color:#937a69;
}
.hero[data-hero-style="original"] .gallery-carousel.rolling-wall-wrap {
  position:relative;
  order:1;
  flex:none;
  width:100%;
  height:min(625px,65vh);
  min-height:490px;
  max-width:none;
  overflow:visible;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  transform:none;
  border:0;
  background:none;
  perspective:1100px;
}
.hero[data-hero-style="original"] .gallery-carousel .rolling-wall {
  position:relative;
  width:380px;
  height:420px;
  margin:0 auto;
  overflow:visible;
  transform:none;
  transform-style:preserve-3d;
}
.hero[data-hero-style="original"] .gallery-carousel .gallery-track {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  transform-style:preserve-3d;
  animation:studiomPhotoRotation 32s linear infinite;
  will-change:transform;
}
@keyframes studiomPhotoRotation {
  0% {transform:rotateX(-3deg) rotateY(0deg)}
  100% {transform:rotateX(-3deg) rotateY(360deg)}
}
.hero[data-hero-style="original"] .gallery-carousel:hover .gallery-track,
.hero[data-hero-style="original"] .gallery-carousel:focus-within .gallery-track {
  animation-play-state:paused;
}
.hero[data-hero-style="original"] .gallery-carousel .gallery-card {
  position:absolute;
  left:50%;
  top:50%;
  width:220px;
  height:310px;
  aspect-ratio:auto;
  margin:-155px 0 0 -110px;
  overflow:visible;
  border:0;
  background:transparent;
  opacity:1;
  filter:none;
  z-index:auto;
  pointer-events:none;
  transition:none;
  transform-style:preserve-3d;
}
.hero[data-hero-style="original"] .gallery-carousel .gallery-card:nth-child(1) {transform:rotateY(0deg) translateZ(305px)}
.hero[data-hero-style="original"] .gallery-carousel .gallery-card:nth-child(2) {transform:rotateY(72deg) translateZ(305px)}
.hero[data-hero-style="original"] .gallery-carousel .gallery-card:nth-child(3) {transform:rotateY(144deg) translateZ(305px)}
.hero[data-hero-style="original"] .gallery-carousel .gallery-card:nth-child(4) {transform:rotateY(216deg) translateZ(305px)}
.hero[data-hero-style="original"] .gallery-carousel .gallery-card:nth-child(5) {transform:rotateY(288deg) translateZ(305px)}
.hero[data-hero-style="original"] .gallery-carousel .gallery-card .card-face {
  position:absolute;
  inset:0;
  padding:0;
  background:#fbf8f2;
  border:8px solid #f9f5ed;
  box-shadow:0 19px 45px rgba(52,34,24,.20);
  outline:none;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  transform:rotateY(0deg);
}
.hero[data-hero-style="original"] .gallery-carousel .gallery-card .card-back {transform:rotateY(180deg)}
.hero[data-hero-style="original"] .gallery-carousel .gallery-card img {
  width:100%;height:100%;object-fit:cover;
}
.hero[data-hero-style="original"] .gallery-carousel .rolling-caption {
  position:absolute;
  bottom:10px;
  left:10%;
  right:10%;
  padding-top:13px;
  border-top:1px solid rgba(123,99,79,.22);
  justify-content:space-between;
  text-align:left;
  z-index:2;
}
.hero[data-hero-style="original"] .gallery-carousel .rolling-caption div {align-items:flex-start;text-align:left}
.hero[data-hero-style="original"] .gallery-carousel .rolling-caption small {color:#947e6c;font-size:11px}
.hero[data-hero-style="original"] .gallery-carousel .rolling-caption strong {color:#483629;font-family:'Cormorant Garamond',serif;font-size:22px;font-weight:500}
.hero[data-hero-style="original"] .gallery-carousel .rolling-caption>span {color:#947e6c}
.hero[data-hero-style="original"] .gallery-carousel .gallery-controls {display:none}
.hero[data-hero-style="original"] .floating-contact {color:#3d2b24}
@media(max-width:1100px){
  .hero[data-hero-style="original"]{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);column-gap:15px;padding-left:4vw;padding-right:4vw}
  .hero[data-hero-style="original"] .gallery-carousel .rolling-wall{transform:scale(.78)}
}
@media(max-width:780px){
  .hero[data-hero-style="original"]{
    display:flex;
    flex-direction:column;
    gap:5px;
    min-height:auto;
    padding:calc(95px + env(safe-area-inset-top)) 18px 64px;
    background:linear-gradient(180deg,#f7f2ea 0%,#e9ddce 100%);
  }
  .hero[data-hero-style="original"] .gallery-carousel.rolling-wall-wrap{
    order:0;
    align-self:stretch;
    width:100%;
    height:375px;
    min-height:375px;
    margin:0 auto;
    overflow:visible;
    perspective:950px;
  }
  .hero[data-hero-style="original"] .gallery-carousel .rolling-wall{
    flex:none;
    width:320px;
    height:340px;
    transform:scale(.64);
  }
  .hero[data-hero-style="original"] .gallery-carousel .gallery-card {
    width:205px;
    height:277px;
    margin:-139px 0 0 -103px;
  }
  .hero[data-hero-style="original"] .gallery-carousel .gallery-card:nth-child(1) {transform:rotateY(0deg) translateZ(240px)}
  .hero[data-hero-style="original"] .gallery-carousel .gallery-card:nth-child(2) {transform:rotateY(72deg) translateZ(240px)}
  .hero[data-hero-style="original"] .gallery-carousel .gallery-card:nth-child(3) {transform:rotateY(144deg) translateZ(240px)}
  .hero[data-hero-style="original"] .gallery-carousel .gallery-card:nth-child(4) {transform:rotateY(216deg) translateZ(240px)}
  .hero[data-hero-style="original"] .gallery-carousel .gallery-card:nth-child(5) {transform:rotateY(288deg) translateZ(240px)}
  .hero[data-hero-style="original"] .gallery-carousel .rolling-caption{
    left:6%;right:6%;bottom:6px;
  }
  .hero[data-hero-style="original"] .gallery-carousel .rolling-caption strong{font-size:17px}
  .hero[data-hero-style="original"] .hero-copy{
    order:1;
    width:100%;
    max-width:590px;
    margin:10px auto 0;
    padding:0 5px;
    text-align:left;
    align-self:stretch;
  }
  .hero[data-hero-style="original"] h1{
    font-size:clamp(48px,11vw,68px);
    line-height:.9;
    letter-spacing:-.023em;
    margin-top:17px;
  }
  .hero[data-hero-style="original"] .hero-lead{margin-top:20px;font-size:15px}
  .hero[data-hero-style="original"] .hero-actions{margin-top:23px;gap:10px}
  .hero[data-hero-style="original"] .hero-note{margin-top:24px}
}
@media(max-width:400px){
  .hero[data-hero-style="original"] .gallery-carousel.rolling-wall-wrap {height:335px;min-height:335px}
  .hero[data-hero-style="original"] .gallery-carousel .rolling-wall{transform:scale(.56)}
  .hero[data-hero-style="original"] h1{font-size:45px}
  .hero[data-hero-style="original"] .hero-actions{gap:9px}
}
@media(prefers-reduced-motion:reduce){
  .hero[data-hero-style="original"] .gallery-carousel .gallery-track{animation:none;transform:rotateX(-3deg) rotateY(0deg)}
}
