/*
Theme Name: Artium
Theme URI: https://artium.lk
Author: Artium Studio
Author URI: https://artium.lk
Description: A curated, editorial one-page WordPress theme for Artium (PVT) LTD, an art studio. Built from the original static prototype and made fully WordPress-editable, with custom "Projects" and "Clients" post types so new work and testimonials can be added from the dashboard without touching code.
Version: 1.0.0
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: artium
*/

:root{
  --cream:#F3EDE1;
  --cream-deep:#EAE0CD;
  --ink:#18160F;
  --ink-soft:#403C33;
  --taupe:#948A76;
  --gold:#B08D4F;
  --gold-bright:#D9B872;
  --clay:#A9612F;
  --line: rgba(24,22,15,0.14);
  --maxw: 1240px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth; overflow-x:hidden; width:100%;}
body{
  background:var(--cream);
  color:var(--ink);
  font-family:'Work Sans', sans-serif;
  font-weight:400;
  overflow-x:hidden;
  width:100%;
  position:relative;
  -webkit-font-smoothing:antialiased;
}
/* Defensive: a long unbroken string (an email address, a URL with no
   spaces) in any card/footer value can otherwise force its box wider than
   the viewport on narrow screens, which is enough on its own to create a
   horizontal scrollbar even with overflow-x:hidden elsewhere. */
p, span, a, div, .c-value, .fine, .footer-tagline{
  overflow-wrap:break-word; word-wrap:break-word;
}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
}
a{color:inherit; text-decoration:none;}
img{display:block; width:100%; height:100%; object-fit:cover;}

/* ===== Page-load reveal =====
   CSS-driven so the fade-in happens even if JS is blocked or slow to run —
   main.js additionally adds .artium-loaded on DOMContentLoaded, which this
   rule respects immediately in case that happens before the animation ends. */
body{opacity:0; animation:artium-body-in .7s ease .05s forwards;}
body.artium-loaded{opacity:1;}
@keyframes artium-body-in{ to{ opacity:1; } }

/* ===== Accessibility: skip link ===== */
.skip-link{
  position:absolute; top:-100px; left:12px; z-index:1000;
  background:var(--ink); color:var(--cream); padding:12px 20px;
  font-size:13px; letter-spacing:.06em; text-transform:uppercase; font-weight:600;
  transition:top .25s ease; border-radius:2px;
}
.skip-link:focus{top:12px;}

/* ===== Breadcrumbs (inner pages) ===== */
.breadcrumbs{
  display:flex; flex-wrap:wrap; align-items:center; gap:8px;
  font-size:11.5px; letter-spacing:0.08em; text-transform:uppercase; font-weight:600;
  color:var(--taupe); margin-bottom:26px;
}
.breadcrumbs a{color:var(--taupe); transition:color .25s ease;}
.breadcrumbs a:hover{color:var(--gold);}
.breadcrumbs [aria-current="page"]{color:var(--ink);}
.breadcrumbs .bc-sep{color:var(--line); opacity:.9;}

/* ===== Native WP search form (used on empty search results) ===== */
.search-form{display:flex; gap:0; max-width:420px;}
.search-form label{flex:1; display:flex; margin:0;}
.search-form .search-field{
  width:100%; border:1px solid var(--line); border-right:none; background:transparent;
  padding:14px 16px; font-family:'Work Sans',sans-serif; font-size:15px; color:var(--ink);
}
.search-form .search-field:focus{outline:none; border-color:var(--gold);}
.search-form .search-submit{
  border:1px solid var(--ink); background:var(--ink); color:var(--cream);
  padding:0 22px; font-size:12px; letter-spacing:.1em; text-transform:uppercase; font-weight:600;
  cursor:pointer; transition:background .3s ease, border-color .3s ease;
}
.search-form .search-submit:hover{background:var(--clay); border-color:var(--clay);}

.wrap{max-width:var(--maxw); margin:0 auto; padding:0 40px;}
.eyebrow{
  font-family:'Work Sans',sans-serif;
  letter-spacing:0.28em; text-transform:uppercase;
  font-size:11.5px; color:var(--taupe); font-weight:600;
  display:flex; align-items:center; gap:14px;
}
.eyebrow::before{content:''; width:34px; height:1px; background:var(--gold);}
h1,h2,h3{
  font-family:'Fraunces', serif;
  font-weight:600;
  letter-spacing:-0.01em;
  line-height:1.04;
  text-transform:none;
}
.display-xl{font-size:clamp(50px, 7.2vw, 112px);}
.display-l{font-size:clamp(34px, 4.6vw, 58px);}
.display-m{font-size:clamp(26px, 3.2vw, 38px);}
.serif-quote{
  font-family:'Fraunces', serif;
  font-style:italic;
  font-weight:300;
  line-height:1.18;
}
p{line-height:1.7; color:var(--ink-soft); font-weight:300; font-size:16.5px;}

/* ===== NAV ===== */
#nav{
  position:fixed; top:0; left:0; right:0; z-index:500;
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 40px;
  mix-blend-mode:normal;
  transition:background .5s ease, padding .4s ease, border-color .5s ease;
  border-bottom:1px solid transparent;
  animation:artium-nav-in .8s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes artium-nav-in{
  from{opacity:0; transform:translateY(-18px);}
  to{opacity:1; transform:translateY(0);}
}
#nav.scrolled{
  background:rgba(243,237,225,0.86);
  backdrop-filter:blur(14px);
  padding:14px 40px;
  border-color:var(--line);
}
.logo{
  display:flex; align-items:center; font-family:'Work Sans',sans-serif;
  font-size:18px; font-weight:700; letter-spacing:0.06em; gap:0;
}
.logo .box{
  background:var(--ink); color:var(--cream);
  padding:3px 8px 1px; margin-left:2px;
}
.logo-img{display:flex; align-items:center;}
.logo-img img{width:auto; height:30px; object-fit:contain;}
footer .logo-img img{height:26px;}

/* Two logo colourways: white mark over the dark, un-scrolled hero;
   black mark everywhere else (scrolled nav, inner pages, footer). */
.logo-img .logo-light{display:none;}
.nav-on-dark-hero:not(.scrolled) .logo-img .logo-dark{display:none;}
.nav-on-dark-hero:not(.scrolled) .logo-img .logo-light{display:block;}
footer .logo-img .logo-light{display:none;}
.navlinks{display:flex; gap:34px; font-size:12.5px; letter-spacing:0.14em; text-transform:uppercase; font-weight:500;}
.navlinks a{position:relative; padding-bottom:4px;}
.navlinks a::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:1px; background:var(--gold);
  transition:width .35s ease;
}
.navlinks a:hover::after{width:100%;}
.nav-cta{
  border:1px solid var(--ink); padding:9px 20px; font-size:11.5px;
  letter-spacing:0.14em; text-transform:uppercase; font-weight:600;
  transition:background .3s ease, color .3s ease;
}
.nav-cta:hover{background:var(--ink); color:var(--cream);}

/* ===== Hamburger button (mobile) ===== */
.navburger{
  display:none; flex-direction:column; justify-content:center; align-items:center;
  gap:5px; width:38px; height:38px; background:none; border:none; cursor:pointer;
  padding:0; position:relative; z-index:610; color:inherit;
}
.navburger span{width:22px; height:1.5px; background:currentColor; transition:transform .3s ease, opacity .3s ease;}
.navburger.active span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
.navburger.active span:nth-child(2){opacity:0;}
.navburger.active span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}

/* ===== Mobile nav drawer ===== */
.mobile-nav-backdrop{
  position:fixed; inset:0; background:rgba(24,22,15,0.55);
  opacity:0; visibility:hidden; transition:opacity .35s ease, visibility .35s ease; z-index:598;
}
.mobile-nav-backdrop.open{opacity:1; visibility:visible;}
.mobile-nav{
  position:fixed; top:0; right:0; height:100%; width:82%; max-width:360px;
  background:var(--ink); color:var(--cream); z-index:599;
  padding:110px 36px 40px; display:flex; flex-direction:column;
  transform:translateX(100%); transition:transform .45s cubic-bezier(.2,.8,.2,1);
  box-shadow:-30px 0 60px -30px rgba(0,0,0,.4);
}
.mobile-nav.open{transform:translateX(0);}
.mobile-nav-close{
  position:absolute; top:22px; right:22px; width:40px; height:40px; background:none; border:none;
  color:var(--cream); font-size:30px; line-height:1; cursor:pointer;
}
.mobile-navlinks{display:flex; flex-direction:column; gap:2px; overflow-y:auto;}
.mobile-navlinks a{
  font-family:'Fraunces',serif; font-size:20px; font-weight:400; padding:14px 0; display:block;
  border-bottom:1px solid rgba(243,237,225,0.14); color:var(--cream);
}
.mobile-nav-cta{
  margin-top:auto; text-align:center; justify-content:center; width:100%;
  border-color:var(--cream) !important;
}

/* Light-on-dark nav for the homepage hero, until the user scrolls past it */
.nav-on-dark-hero:not(.scrolled){color:var(--cream);}
.nav-on-dark-hero:not(.scrolled) .logo .box{background:var(--cream); color:var(--ink);}
.nav-on-dark-hero:not(.scrolled) .navlinks a::after{background:var(--gold-bright);}
.nav-on-dark-hero:not(.scrolled) .nav-cta{border-color:var(--cream);}
.nav-on-dark-hero:not(.scrolled) .nav-cta:hover{background:var(--cream); color:var(--ink);}

/* ===== HERO ===== */
#hero{
  position:relative; min-height:100vh; display:flex; align-items:center;
  padding:150px 40px 90px;
  overflow:hidden;
  color:var(--cream);
}
/* Background slider: one absolutely-positioned photo per slide, cross-fading
   via opacity. With a single photo set in the Customizer there's only ever
   one .hero-slide (already .active), so it simply renders as a static hero
   background — no JS or extra markup needed for that case. Sized with
   inset:0 so it fills #hero identically at every breakpoint. */
.hero-slides{position:absolute; inset:0; z-index:0;}
.hero-slide{
  position:absolute; inset:0;
  background-size:cover; background-position:center; background-repeat:no-repeat;
  opacity:0; transition:opacity 1.6s ease;
}
.hero-slide.active{opacity:1;}
/* Dark gradient for text legibility, now independent of the background-image
   (previously inlined together on #hero) so it reads correctly over every
   slide without being redeclared per-slide. */
.hero-overlay{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(180deg, rgba(24,22,15,.55) 0%, rgba(24,22,15,.82) 100%);
}
.hero-grid{
  max-width:var(--maxw); margin:0 auto; width:100%;
  display:grid; grid-template-columns:1.1fr 0.9fr; gap:60px; align-items:center;
}
.hero-grid-single{
  grid-template-columns:1fr; max-width:none;
}
.hero-grid-single .hero-copy{margin-right:auto;}
.hero-copy .eyebrow{margin-bottom:26px; color:var(--gold-bright);}
.hero-copy .eyebrow::before{background:var(--gold-bright);}
.hero-copy h1{margin-bottom:22px; color:var(--cream);}
.hero-copy h1 span{color:var(--gold-bright);}
.hero-title-light{font-weight:300; letter-spacing:0.003em;}
.hero-title-light span{font-weight:300;}
.hero-copy p{max-width:420px; margin-bottom:34px; font-size:17.5px; color:rgba(243,237,225,0.8);}
.hero-actions{display:flex; gap:16px; align-items:center; flex-wrap:wrap;}
.btn-primary,
.btn-secondary{
  border-radius:2px;
}
#hero .btn-primary{
  background:var(--cream); color:var(--ink); border-color:var(--cream);
}
#hero .btn-primary:hover{background:var(--gold-bright); border-color:var(--gold-bright); color:var(--ink); transform:translateX(4px);}
#hero .btn-secondary{
  color:var(--cream); border-color:rgba(243,237,225,0.55);
}
#hero .btn-secondary:hover{background:var(--cream); color:var(--ink); border-color:var(--cream);}
.btn-primary,
.btn-secondary{
  border-radius:2px;
}
.btn-primary{
  background:var(--ink); color:var(--cream); padding:15px 32px;
  font-size:12px; letter-spacing:0.16em; text-transform:uppercase; font-weight:600;
  display:inline-flex; align-items:center; gap:10px;
  border:1px solid var(--ink);
  transition:transform .35s cubic-bezier(.2,.8,.2,1), background .3s ease, border-color .3s ease;
}
.btn-primary:hover{transform:translateX(4px); background:var(--clay); border-color:var(--clay);}
.btn-secondary{
  font-size:12px; letter-spacing:0.16em; text-transform:uppercase; font-weight:600;
  padding:14px 28px; border:1px solid var(--ink);
  display:inline-flex; align-items:center;
  transition:background .3s ease, color .3s ease, border-color .3s ease;
}
.btn-secondary:hover{background:var(--ink); color:var(--cream);}
.hero-visual{position:relative;}
.hero-frame{
  position:relative; aspect-ratio:4/5; overflow:hidden;
  box-shadow:0 40px 80px -30px rgba(24,22,15,0.35);
}
.hero-frame img{transform:scale(1.08); transition:transform 1.4s cubic-bezier(.2,.8,.2,1);}
#hero:hover .hero-frame img{transform:scale(1);}
.hero-tag{
  position:absolute; bottom:-26px; left:-30px; background:rgba(24,22,15,0.82);
  border:1px solid rgba(243,237,225,0.18); padding:16px 22px; max-width:230px;
  box-shadow:0 20px 40px -20px rgba(24,22,15,0.5); backdrop-filter:blur(6px);
}
.hero-tag .t1{font-family:'Work Sans',sans-serif; font-weight:600; font-size:14px; letter-spacing:.04em; color:var(--cream);}
.hero-tag .t2{font-size:11.5px; color:rgba(243,237,225,0.65); margin-top:4px;}
.hero-est{
  position:absolute; top:20px; right:-14px; writing-mode:vertical-rl;
  font-size:11px; letter-spacing:0.3em; color:rgba(243,237,225,0.55); text-transform:uppercase;
}
.scroll-cue{
  position:absolute; bottom:34px; left:40px; display:flex; align-items:center; gap:12px;
  font-size:10.5px; letter-spacing:0.24em; text-transform:uppercase; color:rgba(243,237,225,0.6);
}
.scroll-cue .line{width:1px; height:38px; background:rgba(243,237,225,0.35); position:relative; overflow:hidden;}
.scroll-cue .line::after{
  content:''; position:absolute; top:-100%; left:0; width:100%; height:100%; background:var(--cream);
  animation:scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue{ 0%{top:-100%;} 60%{top:100%;} 100%{top:100%;} }

/* ===== reveal on scroll ===== */
.reveal{opacity:0; transform:translateY(36px); transition:opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);}
.reveal.in{opacity:1; transform:translateY(0);}
.reveal-delay-1.in{transition-delay:.12s;}
.reveal-delay-2.in{transition-delay:.24s;}
.reveal-delay-3.in{transition-delay:.36s;}

section{position:relative; padding:120px 40px;}
.section-head{display:flex; justify-content:space-between; align-items:flex-end; gap:40px; margin-bottom:64px; flex-wrap:wrap;}
.section-head h2{max-width:640px;}
.section-head p{max-width:340px; margin:0;}

/* ===== INTRO / ABOUT ARTIUM ===== */
#intro{background:var(--cream); padding-bottom:0;}
.intro-grid{max-width:var(--maxw); margin:0 auto; display:grid; grid-template-columns:0.85fr 1.15fr; gap:70px; align-items:center;}
.intro-imgs{position:relative;}
.intro-img-main{aspect-ratio:3/3.6; overflow:hidden;}
.intro-img-sub{
  position:absolute; bottom:-50px; right:-46px; width:56%; aspect-ratio:4/3;
  overflow:hidden; border:6px solid var(--cream); box-shadow:0 30px 60px -25px rgba(0,0,0,.35);
}
.intro-text .eyebrow{margin-bottom:20px;}
.intro-text h2{margin-bottom:26px;}
.intro-text p{max-width:520px; margin-bottom:16px;}

/* 4 icon+label features under the intro paragraph */
.intro-features{display:grid; grid-template-columns:1fr 1fr; gap:20px 24px; margin-top:32px; max-width:520px;}
.intro-feature{display:flex; align-items:center; gap:12px;}
.intro-feature-icon{width:30px; height:30px; color:var(--gold); flex:none;}
.intro-feature-icon svg{width:100%; height:100%; display:block;}
.intro-feature-label{font-size:13px; letter-spacing:.02em; color:var(--ink-soft); line-height:1.35;}

/* Follow-up paragraph, full width below the two-column grid */
.intro-followup{
  max-width:820px; margin:130px auto 0; text-align:center; font-size:19px;
  font-family:'Fraunces',serif; font-weight:300; font-style:italic; color:var(--ink-soft); line-height:1.6;
}

/* Techniques list, recentred as a standalone block below the follow-up paragraph */
.intro-techniques{margin-top:56px; padding-bottom:90px; text-align:center;}
.intro-techniques-label{justify-content:center; margin-bottom:28px;}
.intro-techniques .intro-list{margin:0 auto; max-width:700px; grid-template-columns:repeat(3,1fr); justify-content:center;}
.intro-list{display:grid; grid-template-columns:1fr 1fr; gap:10px 30px; margin-top:34px; max-width:520px;}
.intro-list div{
  font-size:13.5px; letter-spacing:.04em; padding:12px 0; border-top:1px solid var(--line);
  display:flex; align-items:center; gap:10px;
}
.intro-list div::before{content:''; width:5px; height:5px; background:var(--gold); border-radius:50%; flex:none;}
.intro-techniques .intro-list div{justify-content:center; text-align:left;}

/* Dark 4-column stats band, flush with the bottom of the section and
   breaking out to full viewport width regardless of the section's own
   horizontal padding. Uses margin-only full-bleed (no explicit width:100vw)
   since 100vw counts the scrollbar on some browsers and can cause a few
   pixels of horizontal overflow/scroll — margin: calc(-50vw + 50%) achieves
   the same edge-to-edge look without ever making the box wider than its
   containing block. */
.intro-stats{
  background:var(--ink); color:var(--cream); padding:70px 0;
  margin-left:calc(-50vw + 50%); margin-right:calc(-50vw + 50%);
}
.stats-grid{
  max-width:var(--maxw); margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr);
  gap:40px; text-align:center;
}
.stat-item{border-left:1px solid rgba(243,237,225,0.16); padding-left:24px;}
.stat-item:first-child{border-left:none; padding-left:0;}
.stat-number{
  font-family:'Fraunces',serif; font-weight:600; font-size:clamp(32px,4vw,52px);
  color:var(--gold-bright); margin-bottom:10px; line-height:1;
}
.stat-label{font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:rgba(243,237,225,0.75); line-height:1.4;}

/* ===== TEXTURE / SIGNATURE QUOTE ===== */
#signature{
  position:relative; min-height:78vh; display:flex; align-items:center; justify-content:center;
  padding:100px 40px; overflow:hidden;
}
.sig-bg{position:absolute; inset:0; z-index:0;}
.sig-bg img{width:100%; height:100%; object-fit:cover; transition:transform 6s ease;}
.sig-bg::after{content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(24,22,15,.42), rgba(24,22,15,.66));}
.sig-content{position:relative; z-index:2; max-width:820px; text-align:center; color:var(--cream);}
.sig-mark{font-family:'Fraunces',serif; font-size:70px; line-height:.4; color:var(--gold-bright); margin-bottom:18px; display:block;}
.sig-content .serif-quote{font-size:clamp(28px,4vw,46px); color:#fff;}
.sig-content .attribution{margin-top:26px; font-size:12px; letter-spacing:.24em; text-transform:uppercase; color:var(--cream); opacity:.75;}
#signature:hover .sig-bg img{transform:scale(1.06);}

/* ===== PROCESS ===== */
#process{background:var(--cream-deep);}
.process-row{
  max-width:var(--maxw); margin:0 auto;
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
  border-top:1px solid var(--line);
}
.p-step{padding:38px 26px 0; border-right:1px solid var(--line); position:relative;}
.p-step:last-child{border-right:none;}
.p-num{font-family:'Work Sans',sans-serif; font-weight:600; font-size:14px; color:var(--gold); letter-spacing:.05em; margin-bottom:70px; display:block;}
.p-step h3{font-size:22px; margin-bottom:12px; text-transform:uppercase; letter-spacing:.03em;}
.p-step p{font-size:14.5px; margin-bottom:34px;}

/* ===== GALLERY / PROJECTS ===== */
#gallery{background:var(--cream);}
#studio-gallery{background:var(--cream-deep);}
.gal-grid{
  max-width:var(--maxw); margin:0 auto;
  display:grid; grid-template-columns:repeat(3,1fr); gap:26px;
}
.gal-item{
  position:relative; overflow:hidden; cursor:pointer;
  aspect-ratio:4/5;
}
.gal-item.tall{aspect-ratio:4/5;}
.gal-item img{transition:transform .8s cubic-bezier(.2,.8,.2,1), filter .6s ease;}
.gal-item:hover img{transform:scale(1.09);}
.gal-overlay{
  position:absolute; inset:0; z-index:2;
  background:linear-gradient(180deg, rgba(24,22,15,0) 45%, rgba(24,22,15,.82) 100%);
  display:flex; flex-direction:column; justify-content:flex-end; padding:26px;
  color:var(--cream);
}
.gal-overlay .g-title{font-family:'Fraunces',serif; font-weight:600; font-size:22px; letter-spacing:0; margin-bottom:6px;}
.gal-overlay .g-meta{
  font-size:12px; opacity:.85; line-height:1.65; letter-spacing:.02em;
}
.view-project{
  display:inline-flex; align-items:center; gap:8px; margin-top:14px;
  font-size:11px; letter-spacing:.14em; text-transform:uppercase; font-weight:600;
  color:var(--cream); opacity:.9; transition:opacity .3s ease, transform .3s ease;
}
.gal-item:hover .view-project, .gal-item:focus-within .view-project{opacity:1; transform:translateX(3px);}
.gal-tag{
  position:absolute; top:18px; left:18px; z-index:2;
  background:rgba(243,237,225,0.92); color:var(--ink);
  font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; font-weight:600;
  padding:7px 12px;
}
.gal-empty{ text-align:center; padding: 60px 0; color: var(--taupe); }

/* ===== EXPLORE THE ART (catalog cards + category tabs) ===== */
#explore-art{background:var(--cream-deep);}
.art-tabs{
  display:flex; flex-wrap:wrap; gap:10px; margin-bottom:46px;
}
.art-tab{
  padding:10px 20px; border:1px solid var(--line); background:transparent; color:var(--ink-soft);
  font-size:12px; letter-spacing:.1em; text-transform:uppercase; font-weight:600; cursor:pointer;
  transition:background .3s ease, color .3s ease, border-color .3s ease;
}
.art-tab:hover{border-color:var(--gold); color:var(--ink);}
.art-tab.is-active{background:var(--ink); border-color:var(--ink); color:var(--cream);}

.art-grid{
  max-width:var(--maxw); margin:0 auto; display:grid;
  grid-template-columns:repeat(3, 1fr); gap:34px;
}
.art-card{
  background:var(--cream); display:flex; flex-direction:column;
  transition:transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease;
}
.art-card:hover{transform:translateY(-6px); box-shadow:0 30px 60px -30px rgba(24,22,15,0.28);}
.art-card-img{aspect-ratio:3/4; overflow:hidden;}
.art-card-img img{width:100%; height:100%; object-fit:cover; transition:transform .8s cubic-bezier(.2,.8,.2,1);}
.art-card:hover .art-card-img img{transform:scale(1.06);}
.art-card-body{padding:24px 24px 28px; display:flex; flex-direction:column; flex:1;}
.art-card-title{font-family:'Fraunces',serif; font-weight:600; font-size:19px; margin-bottom:8px;}
.art-card-meta{font-size:12.5px; color:var(--taupe); letter-spacing:.02em; margin-bottom:18px;}
.art-card-frame{margin-bottom:14px;}
.art-frame-select{
  width:100%; background:transparent; border:1px solid var(--line); color:var(--ink);
  padding:11px 12px; font-family:'Work Sans',sans-serif; font-size:13.5px;
  transition:border-color .3s ease; cursor:pointer;
}
.art-frame-select:focus{outline:none; border-color:var(--gold);}
.art-frame-guide-btn{
  display:inline-block; background:none; border:none; padding:0; cursor:pointer;
  font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; font-weight:600;
  color:var(--gold); text-decoration:underline; text-underline-offset:3px;
  transition:color .25s ease; margin-bottom:18px; text-align:left;
}
.art-frame-guide-btn:hover{color:var(--clay);}
.art-enquire-btn{margin-top:auto; width:100%; text-align:center; justify-content:center; cursor:pointer;}
.art-empty-filtered{text-align:center; padding:40px 0; color:var(--taupe); display:none;}

/* ===== STUDIO GALLERY MASONRY (legacy — kept in case it's reused; the
   front-page section that displayed this was replaced by Explore the Art
   above, but the CPT/admin screen and this CSS are left intact) ===== */
.masonry-grid{
  max-width:var(--maxw); margin:0 auto;
  columns:3 260px; column-gap:24px;
}
.masonry-item{
  display:block; width:100%; border:none; background:none; padding:0; margin:0 0 24px;
  break-inside:avoid; overflow:hidden; cursor:zoom-in; position:relative;
}
.masonry-item img{ width:100%; height:auto; display:block; transition:transform .8s cubic-bezier(.2,.8,.2,1); }
.masonry-item:hover img{ transform:scale(1.06); }

/* ===== LOAD MORE ===== */
.load-more-wrap{ text-align:center; margin-top:52px; }
.btn-loadmore{
  background:transparent; border:1px solid var(--ink); color:var(--ink); border-radius:2px;
  padding:15px 38px; font-size:12px; letter-spacing:.16em; text-transform:uppercase; font-weight:600;
  cursor:pointer; transition:background .35s cubic-bezier(.2,.8,.2,1), color .35s ease, transform .2s ease;
  display:inline-flex; align-items:center; gap:12px; font-family:'Work Sans', sans-serif;
}
.btn-loadmore:hover{ background:var(--ink); color:var(--cream); }
.btn-loadmore:active{ transform:scale(.98); }
.btn-loadmore:disabled{ cursor:default; }
.btn-loadmore .spinner{
  width:13px; height:13px; border:2px solid currentColor; border-right-color:transparent;
  border-radius:50%; display:none; animation:artium-spin .7s linear infinite; flex:none;
}
.btn-loadmore.loading .spinner{ display:inline-block; }
.btn-loadmore.loading .label{ opacity:.65; }
@keyframes artium-spin{ to{ transform:rotate(360deg); } }

/* ===== PROJECT META (single project page — Interior Designer / Size) ===== */
.project-meta{display:flex; gap:36px; flex-wrap:wrap; margin-bottom:22px;}
.project-meta-item{display:flex; flex-direction:column; gap:5px;}
.project-meta-label{font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--taupe);}
.project-meta-value{font-family:'Work Sans',sans-serif; font-weight:600; font-size:16px; color:var(--ink);}

/* ===== PROJECT GALLERY (single project page) ===== */
.project-gallery{
  columns:3 260px; column-gap:22px;
  max-width:var(--maxw); margin:0 auto 70px;
}
.project-gallery-item{
  display:block; width:100%; border:none; background:none; padding:0; margin:0 0 22px;
  break-inside:avoid; overflow:hidden; cursor:zoom-in;
}
.project-gallery-item img{ width:100%; height:auto; display:block; transition:transform .6s cubic-bezier(.2,.8,.2,1); }
.project-gallery-item:hover img{ transform:scale(1.045); }

/* ===== LIGHTBOX (shared look for studio + project galleries) ===== */
.artium-lightbox{
  position:fixed; inset:0; z-index:999; background:rgba(24,22,15,.94);
  display:none; align-items:center; justify-content:center; padding:30px;
}
.artium-lightbox.open{ display:flex; }
.lb-stage{ max-width:92vw; max-height:88vh; text-align:center; }
.lb-stage img{ max-width:92vw; max-height:80vh; width:auto; height:auto; margin:0 auto; display:block; box-shadow:0 40px 90px -20px rgba(0,0,0,.6); }
.lb-count{ margin-top:16px; color:var(--cream); font-size:11.5px; letter-spacing:.2em; text-transform:uppercase; opacity:.8; }
.lb-close, .lb-prev, .lb-next{
  position:absolute; background:none; border:none; color:var(--cream); cursor:pointer;
  line-height:1; opacity:.85; transition:opacity .25s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover{ opacity:1; }
.lb-close{ top:20px; right:24px; font-size:32px; }
.lb-prev, .lb-next{ top:50%; transform:translateY(-50%); font-size:32px; padding:14px; }
.lb-prev{ left:8px; }
.lb-next{ right:8px; }

/* ===== FOUNDER ===== */
#founder{background:var(--cream-deep);}
.founder-grid{max-width:var(--maxw); margin:0 auto; display:grid; grid-template-columns:0.62fr 1.38fr; gap:80px; align-items:center;}
.founder-photo{aspect-ratio:3/4; overflow:hidden; position:relative;}
.founder-text .eyebrow{margin-bottom:22px;}
.founder-text h2{margin-bottom:28px;}
.founder-text p{font-size:19px; max-width:640px; font-family:'Fraunces',serif; font-weight:300; font-style:italic; color:var(--ink); line-height:1.55; margin-bottom:34px;}
.sign-block{display:flex; align-items:center; gap:20px;}
.sign-name{font-family:'Fraunces',serif; font-style:italic; font-size:30px;}
.sign-role{font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--taupe); border-left:1px solid var(--line); padding-left:20px;}

/* ===== TESTIMONIALS / CLIENTS ===== */
#testimonials{background:var(--ink); color:var(--cream);}
#testimonials .eyebrow{color:var(--gold-bright);}
#testimonials .eyebrow::before{background:var(--gold-bright);}
#testimonials .section-head h2{color:var(--cream);}
#testimonials .section-head p{color:var(--cream);}
.test-track-wrap{overflow:hidden; max-width:var(--maxw); margin:0 auto;}
.test-track{display:flex; align-items:flex-start; gap:28px; width:max-content; animation:scrollLeft 34s linear infinite;}
.test-track:hover{animation-play-state:paused;}
@keyframes scrollLeft{ from{transform:translateX(0);} to{transform:translateX(-50%);} }
.test-card{
  width:400px; flex:none; background:var(--cream);
  border:1px solid rgba(24,22,15,0.06); border-radius:18px; padding:36px 32px;
  color:var(--ink);
}
.test-card .qmark{font-family:'Fraunces',serif; font-size:44px; color:var(--gold); line-height:.4; display:block; margin-bottom:18px;}
/* Clamped to 4 lines by default so every card reads the same height no
   matter how long the underlying testimonial is; .test-readmore below
   reveals the rest only for cards that actually overflow it. */
.test-card p.test-quote{
  color:var(--ink-soft); font-size:15.5px; margin-bottom:12px; min-height:132px;
  display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden;
}
.test-card.is-expanded p.test-quote{ -webkit-line-clamp:unset; overflow:visible; min-height:0; }
.test-readmore{
  display:none; background:none; border:none; padding:0; margin:0 0 22px;
  font-family:'Work Sans',sans-serif; font-size:12.5px; font-weight:600; letter-spacing:.04em;
  color:var(--gold); text-decoration:underline; text-underline-offset:3px; cursor:pointer;
}
.test-readmore:hover{color:var(--clay);}
/* Only shown (via JS, once it detects the text is actually truncated) on
   cards long enough to need it. */
.test-card.has-readmore .test-readmore{display:inline-block;}
.test-name{font-family:'Fraunces',serif; font-style:italic; font-size:19px; margin-bottom:4px; color:var(--ink);}
.test-role{font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--gold); opacity:.9;}

/* Dot pagination — only meaningful once the track becomes a swipeable
   carousel on mobile (see the max-width:640px block below), so it's hidden
   by default and switched on there. */
.test-dots{
  display:none; align-items:center; justify-content:center; gap:10px;
  margin:26px auto 0;
}
.test-dot{
  width:8px; height:8px; padding:0; border-radius:50%; border:none;
  background:rgba(243,237,225,0.3); cursor:pointer;
  transition:background .3s ease, transform .3s ease, width .3s ease, border-radius .3s ease;
}
.test-dot.is-active{ background:var(--gold-bright); transform:scale(1.25); }

/* ===== CONTACT ===== */
#contact{background:var(--cream); padding-bottom:0;}
.contact-inner{
  max-width:var(--maxw); margin:0 auto; text-align:center;
  padding-bottom:90px; border-bottom:1px solid var(--line);
}
#contact .eyebrow{justify-content:center;}
#contact h2{font-size:clamp(46px,7vw,96px); margin:24px 0 30px;}
#contact > .wrap > .contact-inner > p{max-width:520px; margin:0 auto 46px; text-align:center;}
.contact-form{
  max-width:560px; margin:0 auto; text-align:left;
}
.contact-form .form-hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}
.contact-form .form-row{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
.contact-form .form-field{margin-bottom:20px;}
.contact-form label{
  display:block; font-size:10.5px; letter-spacing:.18em; text-transform:uppercase;
  color:var(--taupe); margin-bottom:10px;
}
.contact-form input,
.contact-form textarea{
  width:100%; background:transparent; border:none; border-bottom:1px solid var(--line);
  padding:10px 2px; font-family:'Work Sans',sans-serif; font-size:16px; color:var(--ink);
  transition:border-color .3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus{outline:none; border-bottom-color:var(--gold);}
.contact-form textarea{resize:vertical; min-height:110px;}
.contact-form button{
  display:block; margin:10px auto 0; border:none; cursor:pointer; font-family:'Work Sans',sans-serif;
}
.form-message{
  max-width:560px; margin:0 auto 34px; padding:16px 20px; font-size:14px;
  border:1px solid var(--line);
}
.form-message-success{color:var(--ink); background:var(--cream-deep); border-color:var(--gold);}
.form-message-error{color:var(--ink); background:var(--cream-deep); border-color:var(--clay);}
.contact-methods{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:0; margin-top:10px;
  border-top:1px solid var(--line);
}
.c-method{
  padding:28px 32px; border-right:1px solid var(--line); border-bottom:1px solid var(--line);
  transition:background .3s ease;
}
.c-method:nth-child(3n){border-right:none;}
.c-method:nth-last-child(-n+3){border-bottom:none;}
.c-method:hover{background:var(--cream-deep);}
.c-icon{display:block; width:26px; height:26px; margin:0 0 14px; color:var(--gold);}
.c-icon svg{width:100%; height:100%; display:block;}
.c-method .c-label{font-size:10.5px; letter-spacing:.18em; text-transform:uppercase; color:var(--taupe); margin-bottom:10px;}
.c-method .c-value{font-family:'Work Sans',sans-serif; font-weight:600; font-size:17px; letter-spacing:.01em;}
.c-method .c-value a{color:inherit; transition:color .25s ease;}
.c-method .c-value a:hover{color:var(--clay);}

/* ===== FOOTER (dark band) ===== */
#site-footer{
  background:var(--ink); color:var(--cream);
  margin-left:calc(-50vw + 50%); margin-right:calc(-50vw + 50%);
}
#site-footer .wrap{max-width:var(--maxw); padding-top:56px; padding-bottom:40px;}
/* Brand + 3-column nav grid */
.footer-grid{
  display:grid; grid-template-columns:1.3fr 0.8fr 0.8fr 0.8fr; gap:50px;
  padding-bottom:44px;
}
.footer-brand{max-width:340px;}
.footer-logo-boxed{display:inline-flex; margin-bottom:22px;}
#site-footer .logo-img img{height:58px; width:auto;}
.footer-tagline{font-size:13.5px; line-height:1.7; color:rgba(243,237,225,0.62); max-width:320px;}

.footer-col-title{
  font-size:11px; letter-spacing:.16em; text-transform:uppercase; font-weight:600;
  color:rgba(243,237,225,0.55); margin-bottom:20px;
}
.footer-links-col{display:flex; flex-direction:column; gap:13px;}
.footer-links-col a{
  font-size:14px; color:rgba(243,237,225,0.85); transition:color .25s ease, padding-left .25s ease;
}
.footer-links-col a:hover{color:var(--gold-bright); padding-left:3px;}
.footer-static{font-size:13px; color:rgba(243,237,225,0.5); margin-top:2px;}

.footer-divider{height:1px; background:rgba(243,237,225,0.14); margin:8px 0;}

/* Contact methods (Instagram/Facebook/WhatsApp/Email), restyled for the
   dark footer background — same layout as before, dark-appropriate colors. */
#site-footer .contact-methods{border-top:none; border-bottom:none; margin:0;}
#site-footer .c-method{border-right-color:rgba(243,237,225,0.14); border-bottom-color:rgba(243,237,225,0.14); padding:26px 30px;}
#site-footer .c-method:hover{background:rgba(243,237,225,0.06);}
#site-footer .c-icon{color:var(--gold-bright);}
#site-footer .c-method .c-label{color:rgba(243,237,225,0.55);}
#site-footer .c-method .c-value{color:var(--cream);}
#site-footer .c-method .c-value a:hover{color:var(--gold-bright);}

.footer-instagram{padding:34px 0; text-align:center;}
.footer-instagram .widget{max-width:720px; margin:0 auto;}
.footer-instagram .widget h4{
  font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:rgba(243,237,225,0.6);
  margin-bottom:16px; font-weight:600;
}

.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
  padding-top:30px;
}
#site-footer .fine{font-size:11.5px; color:rgba(243,237,225,0.55); letter-spacing:.04em;}
#site-footer .fine a{color:rgba(243,237,225,0.8); text-decoration:underline; text-underline-offset:2px; transition:color .25s ease;}
#site-footer .fine a:hover{color:var(--cream);}
.footer-legal{display:flex; align-items:center; gap:10px; font-size:11.5px;}
.footer-legal a{color:rgba(243,237,225,0.7); transition:color .25s ease;}
.footer-legal a:hover{color:var(--gold-bright);}
.footer-legal span{color:rgba(243,237,225,0.3);}

/* responsive */
@media (max-width:980px){
  .hero-grid,.intro-grid,.founder-grid{grid-template-columns:1fr; gap:50px;}
  .hero-visual{order:-1;}
  .gal-grid{grid-template-columns:repeat(2,1fr);}
  .process-row{grid-template-columns:repeat(2,1fr);}
  .p-step{border-bottom:1px solid var(--line); padding-bottom:34px;}
  .navlinks{display:none;}
  .nav-cta{display:none;}
  .navburger{display:flex;}
  .intro-img-sub{width:62%; right:-16px; bottom:-36px;}
  .masonry-grid{columns:2 200px; column-gap:18px;}
  .project-gallery{columns:2 200px; column-gap:18px;}
  .intro-features{grid-template-columns:1fr;}
  .stats-grid{grid-template-columns:repeat(2,1fr); row-gap:36px; column-gap:24px;}
  .stat-item{border-left:1px solid rgba(243,237,225,0.16); padding-left:20px;}
  .stat-item:nth-child(odd){border-left:none; padding-left:0;}
  .stat-item:nth-child(n+3){border-top:1px solid rgba(243,237,225,0.16); padding-top:24px;}
  .intro-techniques .intro-list{grid-template-columns:1fr 1fr;}
  .footer-grid{grid-template-columns:1fr 1fr; row-gap:40px;}
  .footer-brand{grid-column:1 / -1; max-width:none;}
  .art-grid{grid-template-columns:repeat(2,1fr); gap:24px;}
}
@media (max-width:640px){
  .wrap, section{padding-left:22px; padding-right:22px;}
  section{padding-top:64px; padding-bottom:64px;}
  #nav{padding:18px 22px;}
  #hero{padding-top:130px;}
  .hero-visual{display:none;}
  .hero-est{display:none;}
  .hero-actions{width:100%;}
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary{flex:1 1 auto; justify-content:center; text-align:center;}
  /* Pull the two negative-offset decorative overlaps (the small overlapping
     photo, the floating hero tag) fully inside their padded container on
     narrow phones — belt-and-braces against horizontal overflow. */
  .intro-img-sub{right:0; bottom:-24px; width:58%;}
  .hero-tag{left:0;}
  .gal-grid{grid-template-columns:1fr;}

  /* ===== STATS: tighter 2x2 grid on phones — smaller gaps between the
     four numbers and the cross-shaped divider lines pulled in to match ===== */
  .intro-stats{padding:44px 0;}
  .stats-grid{row-gap:22px; column-gap:14px;}
  .stat-item{padding-left:14px;}
  .stat-item:nth-child(n+3){padding-top:16px;}
  .stat-number{margin-bottom:6px;}
  .section-head{margin-bottom:44px;}
  /* Several sections pair an eyebrow label directly above a heading with
     no margin between them (only a few special-cased sections like the
     hero define their own gap) — on mobile's narrower, single-column
     layout that reads as the two touching. Give every eyebrow a
     consistent gap below it; sections with their own value (hero,
     intro-text, founder-text) are more specific and keep overriding it. */
  .eyebrow{margin-bottom:16px;}
  /* .section-head's flex `gap` normally separates the heading block from
     the paragraph beside it, but that relies on gap applying across a
     flex-wrap — inconsistent enough on older mobile browsers that it's
     worth a belt-and-braces explicit margin here too. */
  .section-head p{margin-top:22px;}
  .art-grid{grid-template-columns:1fr; gap:28px;}
  .art-tabs{gap:8px; overflow-x:auto; flex-wrap:nowrap; padding-bottom:4px; -webkit-overflow-scrolling:touch;}
  .art-tab{flex:none;}
  .intro-followup{text-align:left; margin-top:70px; font-size:17px;}
  .contact-form .form-row{grid-template-columns:1fr;}

  /* ===== FOOTER: everything stacks, centered and roomier on mobile ===== */
  #site-footer .wrap{padding-top:48px; padding-bottom:36px;}
  .footer-grid{grid-template-columns:1fr; gap:42px; padding-bottom:40px;}
  .footer-brand{grid-column:auto; max-width:none; text-align:center;}
  .footer-logo-boxed{display:inline-flex; justify-content:center;}
  #site-footer .logo-img img{height:46px;}
  .footer-tagline{max-width:340px; margin:0 auto;}
  .footer-links-col{text-align:center; gap:15px;}
  .footer-col-title{
    position:relative; padding-bottom:12px; margin-bottom:6px; display:inline-block;
  }
  .footer-col-title::after{
    content:''; position:absolute; bottom:0; left:50%; transform:translateX(-50%);
    width:26px; height:1px; background:var(--gold);
  }
  #site-footer .contact-methods{grid-template-columns:repeat(2, 1fr);}
  #site-footer .c-method{
    text-align:center; padding:20px 10px;
    border-right:1px solid rgba(243,237,225,0.14); border-bottom:1px solid rgba(243,237,225,0.14);
  }
  #site-footer .c-method:nth-child(2n){border-right:none;}
  #site-footer .c-method:nth-last-child(-n+2){border-bottom:none;}
  #site-footer .c-icon{margin:0 auto 12px;}
  .footer-bottom{flex-direction:column; align-items:center; gap:14px; text-align:center;}

  /* ===== PROCESS: single column, evenly aligned ===== */
  .process-row{grid-template-columns:1fr;}
  .p-step{
    border-right:none; border-bottom:1px solid var(--line);
    padding:30px 0 30px;
  }
  .p-step:last-child{border-bottom:none;}
  .p-num{margin-bottom:18px;}
  .p-step p{margin-bottom:0;}

  /* ===== TESTIMONIALS: swipeable carousel with a peek of the next card
     and dot pagination underneath, matching the mobile app design.
     The section's own left/right padding is zeroed here so the track can
     span the full viewport width and scroll edge-to-edge; the heading
     above it keeps its inset because that comes from .wrap's own padding,
     not the section's. The 22px inset for the cards themselves is then
     applied directly on .test-track so the first/last card still line up
     with the heading above. ===== */
  #testimonials{ padding-left:0; padding-right:0; }
  .test-track-wrap{
    overflow-x:auto; overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
    scroll-padding-left:22px;
    scrollbar-width:none; -ms-overflow-style:none;
  }
  .test-track-wrap::-webkit-scrollbar{ display:none; }
  .test-track{
    animation:none !important;
    width:max-content;
    gap:14px;
    padding:0 22px 6px;
  }
  .test-card{
    width:82vw;
    max-width:360px;
    padding:30px 26px;
    scroll-snap-align:start;
    scroll-snap-stop:always;
    box-shadow:0 20px 44px -16px rgba(0,0,0,0.45);
  }
  .test-card .qmark{font-size:36px; margin-bottom:14px;}
  .test-card p.test-quote{min-height:0; font-size:15px; line-height:1.6; margin-bottom:10px;}
  .test-readmore{margin-bottom:18px;}
  .test-name{font-size:17px;}
  /* the track is duplicated for the desktop marquee loop — only show the first pass on mobile */
  .test-pass-2{display:none;}

  .test-dots{ display:flex; margin-top:22px; gap:8px; }
  .test-dot{ width:7px; height:7px; }
  .test-dot.is-active{ width:20px; border-radius:4px; transform:none; }

  /* ===== GALLERY / PROJECT GALLERY: 2-col masonry stays legible on mobile ===== */
  .masonry-grid{columns:2 130px; column-gap:12px;}
  .masonry-item{margin-bottom:12px;}
  .project-gallery{columns:2 130px; column-gap:12px;}
  .project-gallery-item{margin-bottom:12px;}
  .load-more-wrap{margin-top:36px;}
  .btn-loadmore{padding:14px 28px; width:100%; max-width:320px; justify-content:center;}

  /* ===== LIGHTBOX: tighter chrome on small screens ===== */
  .lb-close{top:10px; right:12px; font-size:28px;}
  .lb-prev, .lb-next{font-size:26px; padding:10px;}
  .lb-prev{left:0;}
  .lb-next{right:0;}
  .lb-stage img{max-height:72vh;}
}

/* ===== WP admin bar / editor niceties ===== */
.admin-bar #nav{ top:32px; }
@media screen and (max-width: 782px){ .admin-bar #nav{ top:46px; } }

/* =====================================================================
 * Extra motion & micro-interactions
 * These layer on top of the existing reveal-on-scroll system: a cursor
 * spotlight + gentle parallax tilt on the hero image, a soft float on the
 * hero tag, a magnetic pull on primary buttons/logo, and a smoother nav
 * underline. Everything here already inherits the sitewide
 * prefers-reduced-motion override near the top of this file, so motion is
 * automatically stripped down for anyone who's asked for it.
 * ===================================================================== */

/* Cursor-follow spotlight glow behind the hero copy/image, set via
   --sx/--sy custom properties from main.js on pointermove. */
#hero::before{
  content:''; position:absolute; inset:0; pointer-events:none; z-index:1;
  background:radial-gradient(560px circle at var(--sx,50%) var(--sy,20%), rgba(217,184,114,0.16), transparent 62%);
  opacity:0; transition:opacity .5s ease;
}
#hero:hover::before{opacity:1;}
.hero-grid{position:relative; z-index:2;}

/* Gentle parallax tilt on the hero portrait, driven by main.js */
.hero-frame{transition:transform .4s cubic-bezier(.2,.8,.2,1);}
.hero-visual{will-change:transform;}

/* Soft floating motion on the hero tag card */
.hero-tag{animation:artium-float 6s ease-in-out infinite;}
@keyframes artium-float{
  0%, 100%{transform:translateY(0);}
  50%{transform:translateY(-9px);}
}

/* Logo + magnetic buttons: transform is applied inline by main.js while the
   pointer is nearby, then springs back with this transition on release. */
.logo-img{transition:transform .3s cubic-bezier(.2,.8,.2,1);}
.nav-cta,
.btn-primary,
.btn-secondary{
  transition:transform .3s cubic-bezier(.2,.8,.2,1), background .3s ease, color .3s ease, border-color .3s ease;
}

/* Subtle continuous shimmer on the primary CTA border to draw the eye,
   paused automatically under prefers-reduced-motion via the global rule. */
.contact-form .btn-primary{position:relative; overflow:hidden;}
.contact-form .btn-primary::after{
  content:''; position:absolute; top:0; left:-60%; width:40%; height:100%;
  background:linear-gradient(115deg, transparent, rgba(243,237,225,0.22), transparent);
  transform:skewX(-20deg);
  animation:artium-shimmer 3.2s ease-in-out infinite;
}
@keyframes artium-shimmer{
  0%{left:-60%;}
  40%, 100%{left:130%;}
}

/* Image tiles: slightly livelier hover than a flat scale — a touch of
   lift + shadow so the grid feels tactile. */
.gal-item{transition:transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s ease;}
.gal-item:hover{transform:translateY(-6px); box-shadow:0 30px 60px -28px rgba(24,22,15,0.35);}

@media (max-width: 900px){
  /* Parallax/shimmer/float are desktop flourishes; keep touch devices calm. */
  .hero-tag{animation:none;}
  #hero::before{display:none;}
  .gal-item:hover{transform:none; box-shadow:none;}
}
