/* =====================================================================
   Image233 Design & Decor
   Signature: camera-viewfinder corner brackets (from the studio logo)
   Type: Fraunces (display) + Jost (sans/utility)
   ===================================================================== */

/* ---------- Theme tokens ---------- */
:root,
[data-theme="dark"] {
  --ink:        #141009;
  --ink-2:      #1b160d;
  --panel:      #211a10;
  --panel-2:    #29200f;
  --line:       #35291680;
  --ivory:      #f4efe2;
  --ivory-dim:  #cfc6b1;
  --muted:      #948a72;
  --gold:       #c6a15b;
  --gold-bright:#e8ce8f;
  --gold-deep:  #a5813c;
  --shadow:     0 30px 80px -30px rgba(0,0,0,.75);
  --bg-grain:   radial-gradient(120% 100% at 80% -10%, #241d10 0%, #141009 55%);
}
[data-theme="light"] {
  --ink:        #f7f2e8;
  --ink-2:      #f1eadc;
  --panel:      #ffffff;
  --panel-2:    #fbf6ec;
  --line:       #cdbf9e55;
  --ivory:      #201a10;
  --ivory-dim:  #4c4433;
  --muted:      #756a51;
  --gold:       #a5813c;
  --gold-bright:#c6a15b;
  --gold-deep:  #7d5f28;
  --shadow:     0 24px 60px -34px rgba(60,45,15,.35);
  --bg-grain:   radial-gradient(120% 100% at 80% -10%, #fffaf0 0%, #f4ecdc 60%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  background-image: var(--bg-grain);
  color: var(--ivory);
  font-family: 'Jost', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .5s ease, color .5s ease;
  overflow-x: hidden;
}

h1,h2,h3,h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: min(1200px, 92vw); margin-inline: auto; }
.eyebrow {
  font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: .34em;
  text-transform: uppercase; color: var(--gold); font-weight: 500;
}

/* ---------- Signature: viewfinder frame ---------- */
.viewfinder { position: relative; }
.viewfinder::before,
.viewfinder::after,
.viewfinder > .vf-tr,
.viewfinder > .vf-br {
  content: ""; position: absolute; width: 34px; height: 34px; pointer-events: none;
  border-color: var(--gold); border-style: solid; opacity: .9;
}
.viewfinder::before { top: 0; left: 0; border-width: 2px 0 0 2px; }
.viewfinder::after  { top: 0; right: 0; border-width: 2px 2px 0 0; }
.viewfinder > .vf-bl{ position:absolute; bottom:0; left:0; width:34px;height:34px;border:solid var(--gold);border-width:0 0 2px 2px; }
.viewfinder > .vf-br{ position:absolute; bottom:0; right:0; width:34px;height:34px;border:solid var(--gold);border-width:0 2px 2px 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(14px); padding: 12px 0; border-bottom-color: var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: min(1200px,92vw); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: url('../img/logo-mark-gold.png') center/78% no-repeat;
}
.brand-mark span { display: none; }
.brand-text b { font-family:'Fraunces',serif; font-weight: 500; font-size: 19px; letter-spacing: .02em; }
.brand-text small { display:block; font-size: 10px; letter-spacing: .32em; color: var(--muted); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 16px; letter-spacing: .04em; font-weight: 500; color: var(--ivory-dim); position: relative; transition: color .3s; }
.nav-links a::after {
  content:""; position:absolute; left:0; bottom:-6px; height:1px; width:0; background: var(--gold);
  transition: width .35s cubic-bezier(.2,.7,.2,1);
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { width: 100%; }

/* When the bar overlays hero media (home + portfolio), keep labels legible in both
   themes: a soft top scrim + light text with a gentle shadow. The solid scrolled
   state is untouched, so it stays theme-correct. */
.nav .wrap { position: relative; z-index: 1; }
.nav-over:not(.scrolled)::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 118px; z-index: 0;
  background: linear-gradient(180deg, rgba(9,6,3,.58) 0%, rgba(9,6,3,.28) 45%, rgba(9,6,3,0) 100%);
  pointer-events: none;
}
.nav-over:not(.scrolled) .nav-links a { color: rgba(246,241,230,.94); text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.nav-over:not(.scrolled) .nav-links a:hover { color: #fff; }
.nav-over:not(.scrolled) .brand-text b { color: #f6f1e6; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.nav-over:not(.scrolled) .brand-text small { color: rgba(246,241,230,.66); }
.nav-over:not(.scrolled) .btn.ghost { color: #f6f1e6; border-color: rgba(246,241,230,.42); }
.nav-over:not(.scrolled) .icon-btn { color: #f6f1e6; border-color: rgba(246,241,230,.42); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 40px; height: 40px; border: 1px solid var(--line); background: transparent;
  border-radius: 50%; color: var(--ivory); cursor: pointer; display: grid; place-items: center;
  transition: border-color .3s, transform .3s, color .3s;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; cursor: pointer;
  font-family:'Jost',sans-serif; font-size: 14px; letter-spacing: .08em; border-radius: 2px;
  border: 1px solid var(--gold); background: var(--gold); color: #17130c; font-weight: 500;
  transition: transform .3s, box-shadow .3s, background .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px var(--gold-deep); }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { background: color-mix(in srgb, var(--gold) 14%, transparent); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 88px); line-height: 1.02; margin: 18px 0 22px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p.lead { font-size: 18px; color: var(--ivory-dim); max-width: 46ch; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-figure { position: relative; aspect-ratio: 4/5; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.02); }
.hero-figure .vf-pad { position: absolute; inset: -14px; }
.hero-badge {
  position: absolute; bottom: 22px; left: -26px; background: var(--panel);
  border: 1px solid var(--line); padding: 16px 20px; box-shadow: var(--shadow);
}
.hero-badge b { font-family:'Fraunces',serif; font-size: 26px; color: var(--gold); display:block; }
.hero-badge small { color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

.hero-stats { display:flex; gap: 42px; margin-top: 46px; border-top: 1px solid var(--line); padding-top: 26px; }
.hero-stats div b { font-family:'Fraunces',serif; font-size: 30px; color: var(--ivory); display:block; }
.hero-stats div span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Section frame ---------- */
.section { padding: 100px 0; }
.section-head { display:flex; align-items:flex-end; justify-content: space-between; gap: 30px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.05; margin: 12px 0 0; max-width: 16ch; }
.section-head p { color: var(--ivory-dim); max-width: 42ch; margin: 0; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service {
  background: var(--ink); padding: 40px 32px; position: relative; overflow: hidden;
  transition: background .4s, transform .4s;
}
.service:hover { background: var(--panel); }
.service .num { font-family:'Fraunces',serif; font-size: 13px; color: var(--gold); letter-spacing: .1em; }
.service h3 { font-size: 25px; margin: 16px 0 12px; }
.service p { color: var(--ivory-dim); font-size: 15px; margin: 0; }
.service .arrow { margin-top: 22px; color: var(--gold); font-size: 20px; transform: translateX(-6px); opacity: 0; transition: .4s; }
.service:hover .arrow { transform: translateX(0); opacity: 1; }

/* ---------- Portfolio / gallery ---------- */
.gallery { columns: 3; column-gap: 18px; }
.gallery figure { break-inside: avoid; margin: 0 0 18px; position: relative; overflow: hidden; cursor: pointer; }
.gallery figure img { width: 100%; transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .6s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 22px 18px 16px;
  background: linear-gradient(to top, rgba(15,11,5,.86), transparent);
  color: #f4efe2; opacity: 0; transform: translateY(10px); transition: .45s;
}
.gallery figure:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery figcaption b { font-family:'Fraunces',serif; font-weight: 500; font-size: 18px; display:block; }
.gallery figcaption span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-bright); }

/* ---------- Process (numbered — real sequence) ---------- */
.process { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.step { padding-top: 26px; border-top: 1px solid var(--line); }
.step .n { font-family:'Fraunces',serif; font-size: 46px; color: var(--gold); line-height: 1; }
.step h3 { font-size: 20px; margin: 16px 0 8px; }
.step p { color: var(--ivory-dim); font-size: 14px; margin: 0; }

/* ---------- Portal CTA band ---------- */
.band {
  position: relative; padding: 82px 0; border-block: 1px solid var(--line);
  background:
    linear-gradient(color-mix(in srgb, var(--ink) 78%, transparent), color-mix(in srgb, var(--ink) 78%, transparent)),
    url('../img/texture.svg') center/cover;
}
.band-inner { display:flex; align-items:center; justify-content:space-between; gap: 40px; flex-wrap: wrap; }
.band h2 { font-size: clamp(28px,4vw,46px); margin: 0; max-width: 20ch; }
.band p { color: var(--ivory-dim); margin: 12px 0 0; max-width: 44ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.field { margin-bottom: 18px; }
.field label { display:block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line);
  color: var(--ivory); font-family:'Jost',sans-serif; font-size: 15px; border-radius: 2px;
  transition: border-color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.contact-info li { list-style: none; padding: 16px 0; border-bottom: 1px solid var(--line); display:flex; gap: 16px; }
.contact-info ul { padding: 0; margin: 0; }
.contact-info small { color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.contact-info b { font-family:'Fraunces',serif; font-weight: 400; font-size: 18px; }

/* ---------- Footer ---------- */
.footer { padding: 60px 0 34px; border-top: 1px solid var(--line); }
.footer-grid { display:flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer small { color: var(--muted); }
.footer-links a { color: var(--ivory-dim); font-size: 14px; margin-left: 22px; }
.footer-links a:hover { color: var(--gold); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{transition-delay:.08s}.reveal[data-d="2"]{transition-delay:.16s}
.reveal[data-d="3"]{transition-delay:.24s}.reveal[data-d="4"]{transition-delay:.32s}

/* viewfinder draw-in on load */
@keyframes drawBracket { from { opacity: 0; transform: scale(.9); } to { opacity: .9; transform: none; } }
.hero-figure .viewfinder::before,
.hero-figure .viewfinder::after,
.hero-figure .viewfinder .vf-bl,
.hero-figure .viewfinder .vf-br { animation: drawBracket .9s .3s both cubic-bezier(.2,.7,.2,1); }

/* ---------- Auth / portal / admin shared shells ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-side { position: relative; overflow: hidden; }
.auth-side img { position: absolute; inset: 0; width:100%; height:100%; object-fit: cover; }
.auth-side .overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(15,11,5,.6), rgba(15,11,5,.2)); display:flex; align-items:flex-end; padding: 54px; }
.auth-side .overlay div h2 { font-size: 40px; margin: 0; color:#f4efe2; }
.auth-side .overlay div p { color:#d8cfbc; max-width: 34ch; }
.auth-form { display:grid; place-items: center; padding: 40px; }
.auth-card { width: min(420px, 92vw); }
.auth-card h1 { font-size: 34px; margin: 8px 0 6px; }
.auth-card .sub { color: var(--ivory-dim); margin-bottom: 30px; }
.auth-card .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ---------- App shell (admin & portal) ---------- */
.app { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.side { background: var(--ink-2); border-right: 1px solid var(--line); padding: 26px 20px; position: sticky; top:0; height:100vh; }
.side .brand { margin-bottom: 34px; }
.side nav a {
  display:flex; align-items:center; gap: 12px; padding: 12px 14px; border-radius: 3px; color: var(--ivory-dim);
  font-size: 15px; margin-bottom: 4px; transition: background .25s, color .25s;
}
.side nav a:hover, .side nav a.active { background: var(--panel); color: var(--gold); }
.main { padding: 30px 40px 60px; }
.topbar { display:flex; align-items:center; justify-content: space-between; margin-bottom: 30px; }
.topbar h1 { font-size: 30px; margin: 0; }
.cards { display:grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 34px; }
.stat { background: var(--panel); border: 1px solid var(--line); padding: 22px; border-top: 2px solid var(--gold); }
.stat b { font-family:'Fraunces',serif; font-size: 34px; display:block; }
.stat small { color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 3px; }
.panel .ph { padding: 20px 24px; border-bottom: 1px solid var(--line); display:flex; align-items:center; justify-content:space-between; }
.panel .pb { padding: 8px 0; }

table.t { width: 100%; border-collapse: collapse; }
table.t th { text-align:left; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 14px 24px; border-bottom: 1px solid var(--line); }
table.t td { padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 15px; }
table.t tr:last-child td { border-bottom: 0; }
table.t tr:hover td { background: color-mix(in srgb, var(--gold) 5%, transparent); }

.badge { display:inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; letter-spacing: .05em; border: 1px solid var(--line); }
.badge.ongoing { color: var(--gold-bright); border-color: var(--gold-deep); }
.badge.completed { color: #8fc69a; border-color:#3f6b47; }
.badge.on_hold, .badge.disabled { color: #cf9c76; border-color:#7a512f; }

.progress { height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; }
.progress span { display:block; height:100%; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright)); }

.flash { padding: 14px 20px; border-radius: 3px; margin-bottom: 22px; border:1px solid; }
.flash.ok { background: color-mix(in srgb, #4b7a52 18%, transparent); border-color:#4b7a52; color:#bfe6c6; }
.flash.err { background: color-mix(in srgb, #a5503a 18%, transparent); border-color:#a5503a; color:#f0c3b3; }

.grid2 { display:grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mediagrid { display:grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 14px; }
.mediagrid .m { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); }
.mediagrid .m img, .mediagrid .m video { width:100%; height:100%; object-fit: cover; }
.mediagrid .m .cap { position:absolute; inset:auto 0 0 0; background: linear-gradient(to top, rgba(0,0,0,.8), transparent); color:#f4efe2; font-size:12px; padding: 18px 10px 8px; }

.timeline .ti { padding: 20px 0 20px 26px; border-left: 2px solid var(--line); position: relative; }
.timeline .ti::before { content:""; position:absolute; left:-7px; top:24px; width:12px;height:12px;border-radius:50%; background: var(--gold); }
.timeline .ti h4 { margin: 0 0 6px; font-family:'Fraunces',serif; font-weight:500; font-size:19px; }
.timeline .ti time { color: var(--muted); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .contact-grid, .band-inner { grid-template-columns: 1fr; }
  .services, .process { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 2; }
  .nav-links { display: none; }
  .app { grid-template-columns: 1fr; }
  .side { position: static; height: auto; display: none; }
  .app.show-side .side { display:block; }
  .cards { grid-template-columns: 1fr 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
@media (max-width: 560px) {
  .services, .process, .gallery, .cards, .grid2 { grid-template-columns: 1fr; columns: 1; }
  .hero { padding-top: 130px; }
  .main { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center;
  background: rgba(8,6,3,.9); backdrop-filter: blur(6px); padding: 24px;
}
.lightbox.open { display: flex; animation: lbIn .35s ease; }
@keyframes lbIn { from { opacity: 0 } to { opacity: 1 } }
.lightbox .lb-close {
  position: absolute; top: 22px; right: 28px; color: var(--gold); font-size: 26px;
  cursor: pointer; width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--gold-deep); border-radius: 50%;
}
.lightbox .lb-body { display: grid; place-items: center; }

/* ===================================================================
   Luxury auth experience — animated gold accents, filigree & twirls
   =================================================================== */
.auth-wrap { position: relative; isolation: isolate; }
.auth-wrap::before {                       /* slow drifting gold wash */
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(58% 48% at 80% 16%, rgba(198,161,91,.12), transparent 60%),
    radial-gradient(52% 42% at 10% 90%, rgba(198,161,91,.09), transparent 62%);
  animation: authWash 13s ease-in-out infinite alternate;
}
@keyframes authWash { from { opacity:.65; transform: translateY(-6px);} to { opacity:1; transform: translateY(6px);} }

/* ---- showcase (image) side ---- */
.auth-side .overlay {
  background: linear-gradient(120deg, rgba(15,11,5,.86), rgba(15,11,5,.30) 58%, rgba(15,11,5,.55));
}
.auth-side .overlay > div { animation: authUp .9s .25s both cubic-bezier(.2,.7,.2,1); position: relative; z-index: 3; }
.auth-side .overlay h2 { position: relative; }
.auth-side .overlay h2::after {            /* gold underline sweeps in */
  content: ""; position: absolute; left: 0; bottom: -14px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-bright), transparent);
  animation: lineGrow 1s 1s forwards cubic-bezier(.2,.7,.2,1);
}
@keyframes lineGrow { to { width: 120px; } }

/* large faint viewfinder frame drawing over the image */
.vframe { position: absolute; inset: 40px; pointer-events: none; z-index: 2; }
.vframe i { position: absolute; width: 62px; height: 62px; border: solid var(--gold); opacity: 0;
  filter: drop-shadow(0 0 10px rgba(198,161,91,.45)); }
.vframe .a { top:0; left:0;  border-width: 2px 0 0 2px; animation: vfIn .8s .5s forwards; }
.vframe .b { top:0; right:0; border-width: 2px 2px 0 0; animation: vfIn .8s .66s forwards; }
.vframe .c { bottom:0; left:0;  border-width: 0 0 2px 2px; animation: vfIn .8s .82s forwards; }
.vframe .d { bottom:0; right:0; border-width: 0 2px 2px 0; animation: vfIn .8s .98s forwards; }
@keyframes vfIn { from { opacity:0; transform: scale(.82);} to { opacity:.85; transform: none;} }

/* floating filigree twirls (SVG) */
.filigree { position: absolute; color: var(--gold); opacity: 0; z-index: 2; pointer-events: none;
  animation: filiIn 1.3s both, floatY 7.5s ease-in-out infinite; }
.filigree svg { display: block; width: 100%; height: 100%; stroke: currentColor; fill: none; }
.filigree.d2 { animation-delay: .25s, .8s; }
.filigree.d3 { animation-delay: .45s, 1.4s; }
@keyframes filiIn { from { opacity:0; transform: scale(.55) rotate(-10deg);} to { opacity:.5; transform: none;} }
@keyframes floatY { 0%,100% { translate: 0 0; } 50% { translate: 0 -13px; } }

/* ---- form side ---- */
.auth-form { position: relative; overflow: hidden; }
.auth-glow { position: absolute; top: 50%; left: 50%; width: 540px; height: 540px; translate: -50% -50%;
  border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(198,161,91,.15), transparent 62%);
  animation: glowPulse 6.5s ease-in-out infinite; }
@keyframes glowPulse { 0%,100% { opacity:.5; transform: scale(.95);} 50% { opacity:1; transform: scale(1.05);} }

.auth-frame { position: relative; z-index: 1; }
.auth-frame > i { position: absolute; width: 30px; height: 30px; border: solid var(--gold); opacity: 0; z-index: 2;
  filter: drop-shadow(0 0 8px rgba(198,161,91,.4)); }
.auth-frame .tl { top:-16px; left:-16px; border-width: 2px 0 0 2px; animation: vfIn .7s .4s forwards; }
.auth-frame .tr { top:-16px; right:-16px; border-width: 2px 2px 0 0; animation: vfIn .7s .55s forwards; }
.auth-frame .bl { bottom:-16px; left:-16px; border-width: 0 0 2px 2px; animation: vfIn .7s .7s forwards; }
.auth-frame .br { bottom:-16px; right:-16px; border-width: 0 2px 2px 0; animation: vfIn .7s .85s forwards; }

.auth-card { position: relative; animation: authUp .85s .15s both cubic-bezier(.2,.7,.2,1); }
.auth-card .brand { animation: authUp .7s .28s both; }

/* centered ornamental twirl above the heading */
.twirl { width: 132px; height: 26px; margin: 4px 0 16px; color: var(--gold); opacity: .95;
  animation: filiIn 1s .32s both; }
.twirl svg { width: 100%; height: 100%; stroke: currentColor; fill: none; }

/* shimmering gold heading */
.shimmer {
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold-bright) 22%, #fff6e2 30%,
             var(--gold-bright) 40%, var(--gold) 62%);
  background-size: 230% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { 0% { background-position: 185% 0; } 100% { background-position: -45% 0; } }

/* staggered field / button entrance */
.auth-card form > * { animation: authUp .6s both; }
.auth-card form > *:nth-child(2) { animation-delay: .38s; }
.auth-card form > *:nth-child(3) { animation-delay: .48s; }
.auth-card form > *:nth-child(4) { animation-delay: .58s; }
.auth-card .field input { transition: border-color .3s, box-shadow .3s, background .3s; }
.auth-card .field input:focus { box-shadow: 0 0 0 3px rgba(198,161,91,.16); }

/* animated gold sheen sweeping across the sign-in button */
.auth-card .btn { position: relative; overflow: hidden; }
.auth-card .btn::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 42%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,246,226,.55), transparent);
  transform: skewX(-18deg); animation: btnSheen 3.6s ease-in-out infinite;
}
@keyframes btnSheen { 0%, 58% { left: -60%; } 100% { left: 135%; } }

@keyframes authUp { from { opacity:0; transform: translateY(16px);} to { opacity:1; transform: none;} }

@media (prefers-reduced-motion: reduce) {
  .auth-wrap::before, .filigree, .auth-glow, .shimmer, .auth-card .btn::after,
  .vframe i, .auth-frame > i, .twirl, .auth-side .overlay h2::after { animation: none !important; }
  .filigree, .vframe i, .auth-frame > i { opacity: .6 !important; transform: none !important; }
  .shimmer { color: var(--gold-bright); background: none; -webkit-text-fill-color: currentColor; }
}

/* ===================================================================
   Hero slideshow — theme-aware, auto-sliding, edge-feathered photos
   =================================================================== */
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.5s ease, transform 7s ease;
  /* feather all four edges so the photo melts into the page background */
  -webkit-mask-image: radial-gradient(128% 116% at 50% 42%, #000 60%, rgba(0,0,0,0) 100%);
          mask-image: radial-gradient(128% 116% at 50% 42%, #000 60%, rgba(0,0,0,0) 100%);
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
/* the old single-image rule no longer applies; keep object-fit for any <img> fallback */
.hero-figure > img { width: 100%; height: 100%; object-fit: cover; }

.hero-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; gap: 8px; justify-content: center; z-index: 3; }
.hero-dots i {
  width: 7px; height: 7px; border-radius: 50%; cursor: pointer;
  background: rgba(246,241,230,.35); transition: all .4s;
}
.hero-dots i.on { background: var(--gold); width: 22px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity .4s ease; transform: none !important; }
}

/* ===================================================================
   Client portal v2 — dashboard, category tiles, milestones, documents
   =================================================================== */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 14px; margin-bottom: 28px; }
.stat-strip .s { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 16px 20px; }
.stat-strip .s b { font-family: 'Fraunces',serif; font-weight: 500; font-size: 28px; display: block; color: var(--ivory); line-height: 1.1; }
.stat-strip .s small { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

/* project cards: latest-update + next-milestone lines */
.pcard-meta { color: var(--muted); font-size: 12.5px; margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.pcard-meta span b { color: var(--ivory-dim); font-weight: 500; }

/* gallery category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 16px; }
.cat-tile { position: relative; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); background: var(--panel); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-tile:hover img { transform: scale(1.07); }
.cat-tile .ov { position: absolute; inset: 0; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(15,11,5,.05) 35%, rgba(15,11,5,.86)); }
.cat-tile .ov b { font-family: 'Fraunces',serif; font-weight: 500; font-size: 21px; color: #fff; line-height: 1.15; }
.cat-tile .ov span { color: var(--gold-bright); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; margin-top: 2px; }
.cat-tile .cnr { position: absolute; top: 10px; right: 10px; background: rgba(15,11,5,.6); color: var(--gold-bright);
  font-size: 11px; letter-spacing: .08em; padding: 4px 9px; border-radius: 20px; }
.cat-panel { display: none; margin-top: 18px; }
.cat-panel.open { display: block; animation: authUp .4s ease; }

/* milestone timeline */
.mstones { margin: 4px 0 0; }
.mstone { position: relative; padding: 0 0 22px 32px; border-left: 2px solid var(--line); margin-left: 7px; }
.mstone:last-child { border-left-color: transparent; padding-bottom: 0; }
.mstone .dot { position: absolute; left: -9px; top: 1px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--panel); border: 2px solid var(--gold-deep); }
.mstone.done .dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(198,161,91,.14); }
.mstone h4 { margin: 0; font-family: 'Fraunces',serif; font-weight: 500; font-size: 17px; color: var(--ivory); }
.mstone.done h4 { color: var(--gold-bright); }
.mstone time { color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.mstone p { color: var(--ivory-dim); margin: 6px 0 0; font-size: 14px; }

/* documents */
.doc-row { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.doc-row:last-child { border-bottom: 0; }
.doc-row .ic { width: 40px; height: 40px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--gold); flex: none; font-size: 17px; }
.doc-row .dn { flex: 1; min-width: 0; }
.doc-row .dn b { display: block; font-weight: 500; color: var(--ivory); font-size: 15px; }
.doc-row .dn small { color: var(--muted); font-size: 12px; }

/* overview facts */
.facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(130px,1fr)); gap: 16px; }
.facts .f small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.facts .f b { font-weight: 500; color: var(--ivory-dim); font-size: 15px; }

/* ---- floating utilities on standalone auth pages (theme toggle + back) ---- */
.auth-utils { position: fixed; top: 18px; right: 20px; z-index: 20; display: flex; gap: 10px; align-items: center; }
.auth-utils .auth-back { color: var(--ivory-dim); font-size: 13px; text-decoration: none;
  background: rgba(15,11,5,.5); border: 1px solid var(--line); padding: 8px 15px; border-radius: 22px; backdrop-filter: blur(5px); transition: color .3s, border-color .3s; }
.auth-utils .auth-back:hover { color: var(--gold); border-color: var(--gold-deep); }
[data-theme="light"] .auth-utils .auth-back { background: rgba(255,255,255,.5); }

/* ---- public footer social icons ---- */
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ivory-dim); font-size: 12px; font-weight: 600; letter-spacing: .02em;
  text-decoration: none; transition: all .3s; }
.social-row a:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); }

/* ---- client avatars ---- */
.avatar { display:inline-grid; place-items:center; border-radius:50%; overflow:hidden; flex:none;
  border:1px solid var(--line); background:var(--panel); vertical-align:middle; }
.avatar img { width:100%; height:100%; object-fit:cover; }
.avatar-i { color:var(--gold); font-family:'Fraunces',serif; font-weight:500; letter-spacing:.02em;
  background:linear-gradient(135deg, rgba(198,161,91,.16), rgba(198,161,91,.05)); }

/* ---- finance summary cards + line tables ---- */
.fin-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:14px; margin-bottom:24px; }
.fin-cards .fc { background:var(--panel); border:1px solid var(--line); border-radius:8px; padding:16px 18px; }
.fin-cards .fc small { color:var(--muted); font-size:11px; letter-spacing:.1em; text-transform:uppercase; display:block; margin-bottom:6px; }
.fin-cards .fc b { font-family:'Fraunces',serif; font-weight:500; font-size:23px; color:var(--ivory); line-height:1.05; }
.fin-cards .fc.good b { color:var(--gold); }
.fin-cards .fc.warn b { color:#d98b6a; }
.fin-tot { display:flex; justify-content:space-between; padding:14px 0 2px; border-top:1px solid var(--line); margin-top:4px; font-family:'Fraunces',serif; font-size:18px; }
.budget-track { height:9px; border-radius:6px; background:var(--line); overflow:hidden; margin:6px 0 2px; }
.budget-track span { display:block; height:100%; background:linear-gradient(90deg,var(--gold-deep),var(--gold)); }
.budget-track span.over { background:linear-gradient(90deg,#b5643f,#d98b6a); }

/* ---- Replay intro button (footer) ---- */
.replay-intro { background: transparent; border: 1px solid var(--line); color: var(--muted);
  font: 500 12.5px/1 'Jost', system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 22px; cursor: pointer; transition: color .3s, border-color .3s, background .3s; }
.replay-intro:hover { color: var(--ink); background: var(--gold); border-color: var(--gold); }
.replay-intro span { color: var(--gold); margin-right: 3px; }
.replay-intro:hover span { color: var(--ink); }

/* ===================================================================
   Store — vertical ticker, product grid, product page, cart drawer
   =================================================================== */
.ticker { position: fixed; left: 0; right: 0; top: 64px; z-index: 55; overflow: hidden; height: 40px;
  border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 90%, #000); backdrop-filter: blur(10px); transition: top .4s; }
.ticker-track { position: absolute; top: 0; left: 0; right: 0; display: flex; flex-direction: column; }
.ticker-item { height: 40px; flex: none; display: flex; align-items: center; justify-content: center; gap: 12px;
  font-family: 'Jost',sans-serif; font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory-dim); }
.ticker-item a { color: var(--gold); }
.ticker-item .dot { color: var(--gold-deep); }

.store-hero { position: relative; padding: 132px 0 40px; overflow: hidden; }
.store-hero .wrap { position: relative; z-index: 1; }
.store-hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.store-hero h1 { font-family: 'Fraunces',serif; font-weight: 400; font-size: clamp(38px,5.5vw,66px); line-height: 1.02; margin: 10px 0 14px; }
.store-hero p { color: var(--ivory-dim); max-width: 46ch; }
.store-hero-figs { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 440px; }
.store-hero-figs a { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); position: relative; background: var(--panel); }
.store-hero-figs a:first-child { grid-row: span 2; }
.store-hero-figs img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.store-hero-figs a:hover img { transform: scale(1.06); }
.store-hero-figs .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; background: linear-gradient(transparent,rgba(15,11,5,.85)); }
.store-hero-figs .cap b { display: block; font-family: 'Fraunces',serif; color: #fff; font-size: 16px; }
.store-hero-figs .cap span { color: var(--gold-bright); font-size: 13px; }

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 26px; }
.pcard-s { display: block; text-decoration: none; }
.pcard-s .im { aspect-ratio: 4/5; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); position: relative; }
.pcard-s .im img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.pcard-s:hover .im img { transform: scale(1.05); }
.pcard-s .im .av { position: absolute; top: 12px; left: 12px; background: rgba(15,11,5,.6); color: var(--gold-bright); font-size: 11px; letter-spacing: .08em; padding: 4px 10px; border-radius: 20px; }
.pcard-s .quick { position: absolute; inset: auto 12px 12px; opacity: 0; transform: translateY(8px); transition: all .35s; }
.pcard-s:hover .quick { opacity: 1; transform: none; }
.pcard-s .meta { padding: 14px 4px 0; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.pcard-s .meta h3 { font-family: 'Fraunces',serif; font-weight: 500; font-size: 19px; margin: 0; color: var(--ivory); }
.pcard-s .meta .cat { color: var(--muted); font-size: 12.5px; }
.pcard-s .price { color: var(--gold); font-family: 'Fraunces',serif; font-size: 18px; white-space: nowrap; }

.pd-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start; }
.pd-main { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); aspect-ratio: 4/5; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumbs button { width: 74px; height: 74px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); padding: 0; cursor: pointer; background: none; }
.pd-thumbs button.on { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(198,161,91,.25); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-family: 'Fraunces',serif; font-weight: 400; font-size: clamp(30px,4vw,46px); margin: 6px 0 8px; }
.pd-price { font-family: 'Fraunces',serif; font-size: 28px; color: var(--gold); margin: 6px 0 18px; }
.pd-specs { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pd-specs .s small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.pd-specs .s b { color: var(--ivory-dim); font-weight: 500; }

.cart-btn { position: relative; }
.cart-count { position: absolute; top: -8px; right: -8px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 10px; display: grid; place-items: center; padding: 0 4px; }
.cart-drawer { position: fixed; inset: 0 0 0 auto; width: min(420px,92vw); background: var(--ink); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1); z-index: 10000; display: flex; flex-direction: column; }
.cart-drawer.open { transform: none; }
.cart-scrim { position: fixed; inset: 0; background: rgba(9,6,3,.55); opacity: 0; visibility: hidden; transition: opacity .4s; z-index: 9999; }
.cart-drawer.open ~ .cart-scrim, .cart-scrim.show { opacity: 1; visibility: visible; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-family: 'Fraunces',serif; font-weight: 500; margin: 0; font-size: 22px; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart-empty { color: var(--muted); text-align: center; padding: 40px 0; }
.cart-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 68px; height: 68px; border-radius: 8px; background: var(--panel) center/cover no-repeat; border: 1px solid var(--line); flex: none; }
.cart-info { flex: 1; min-width: 0; }
.cart-info b { display: block; font-weight: 500; color: var(--ivory); }
.cart-info > span { color: var(--gold); font-size: 14px; }
.cart-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cart-qty button { width: 26px; height: 26px; border: 1px solid var(--line); background: var(--panel); color: var(--ivory); border-radius: 6px; cursor: pointer; }
.cart-qty .cart-x { width: auto; padding: 0 8px; color: var(--muted); border: 0; background: none; margin-left: auto; font-size: 12px; }
.cart-foot { border-top: 1px solid var(--line); padding: 18px 22px; }
.cart-tot { display: flex; justify-content: space-between; font-family: 'Fraunces',serif; font-size: 20px; margin-bottom: 14px; }
.cart-foot .field { margin-bottom: 10px; }
.cart-ok { color: var(--gold-bright); background: rgba(198,161,91,.1); border: 1px solid var(--gold-deep); padding: 12px 14px; border-radius: 8px; }
.cart-err { color: #d98b6a; background: rgba(217,139,106,.1); border: 1px solid #7a4a36; padding: 12px 14px; border-radius: 8px; }
.wa-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: #25D366; color: #06331c; font-weight: 600; border: 0; border-radius: 40px; padding: 13px; cursor: pointer; text-decoration: none; }
.wa-btn:hover { filter: brightness(1.05); }

/* ===================================================================
   Mobile navigation — hamburger + full-screen menu
   =================================================================== */
.nav-toggle { display: none; }
.mobile-menu { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--ink) 97%, #000); opacity: 0; visibility: hidden; transition: opacity .3s; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mm-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.mm-inner a { font-family: 'Fraunces',serif; font-weight: 400; font-size: 30px; color: var(--ivory); text-decoration: none; }
.mm-inner a:hover { color: var(--gold); }
.mm-inner a.btn { font-family: 'Jost',sans-serif; font-size: 15px; margin-top: 14px; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ivory); cursor: pointer; }
  .nav-toggle span { display: block; height: 2px; width: 18px; margin: 0 auto; background: currentColor; transition: transform .3s, opacity .3s; }
  .nav-over:not(.scrolled) .nav-toggle { color: #f6f1e6; border-color: rgba(246,241,230,.42); }
  .nav-toggle.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.on span:nth-child(2) { opacity: 0; }
  .nav-toggle.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-actions .btn.ghost { display: none; }   /* Client Login lives in the mobile menu */
}

@media (max-width: 820px){ .store-hero-grid,.pd-grid{grid-template-columns:1fr} .store-hero-figs{height:300px} }
.mm-close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ivory); font-size: 18px; cursor: pointer; }
.mm-close:hover { color: var(--gold); border-color: var(--gold); }

/* ===================================================================
   Homepage store strip → slide-down "cabinet" preview
   =================================================================== */
.home-strip { position: fixed; left: 0; right: 0; top: 64px; z-index: 55; transition: top .4s; }
.strip-bar { display: flex; align-items: center; height: 40px; overflow: hidden;
  background: color-mix(in srgb, var(--ink) 90%, #000); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.home-strip .ticker { position: relative; top: auto; left: auto; right: auto; z-index: auto;
  flex: 1; height: 40px; border: 0; background: transparent; backdrop-filter: none; }
.strip-toggle { flex: none; height: 40px; padding: 0 20px; background: transparent; border: 0; border-left: 1px solid var(--line);
  color: var(--gold-bright); font: 500 12px/1 'Jost', sans-serif; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .3s, color .3s; }
.strip-toggle:hover { background: color-mix(in srgb, var(--gold) 14%, transparent); color: #fff; }
.strip-toggle .chev { transition: transform .4s cubic-bezier(.2,.7,.2,1); font-size: 10px; }
.home-strip.open .strip-toggle .chev { transform: rotate(180deg); }

.cabinet { max-height: 0; overflow: hidden; background: color-mix(in srgb, var(--ink) 95%, #000);
  border-bottom: 1px solid var(--line); box-shadow: 0 34px 50px -26px rgba(0,0,0,.75);
  transition: max-height .5s cubic-bezier(.2,.7,.2,1); }
.home-strip.open .cabinet { max-height: 340px; }
.cabinet-inner { padding: 20px 0 24px; opacity: 0; transform: translateY(-10px);
  transition: opacity .45s .06s, transform .5s .06s cubic-bezier(.2,.7,.2,1); }
.home-strip.open .cabinet-inner { opacity: 1; transform: none; }
.cab-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.visit-store { padding: 9px 18px; }
.cab-cards { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.cab-track { display: flex; gap: 16px; width: max-content; animation: cabScroll 48s linear infinite; }
.cabinet:hover .cab-track { animation-play-state: paused; }
@keyframes cabScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.cab-card { width: 190px; flex: none; text-decoration: none; }
.cc-im { aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.cc-im img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cab-card:hover .cc-im img { transform: scale(1.06); }
.cc-name { font-family: 'Fraunces', serif; font-weight: 500; color: var(--ivory); font-size: 15px; margin-top: 9px; line-height: 1.2; }
.cc-price { color: var(--gold); font-family: 'Fraunces', serif; font-size: 14px; }

@media (prefers-reduced-motion: reduce) { .cab-track { animation: none; } .cab-cards { overflow-x: auto; } }
@media (max-width: 560px) {
  .strip-toggle { padding: 0 13px; font-size: 11px; letter-spacing: .1em; }
  .cab-card { width: 150px; }
  .home-strip.open .cabinet { max-height: 300px; }
}

.ticker-item { white-space: nowrap; }

.octa-credit { color: var(--muted); }
.octa-credit a { color: var(--gold-deep); }
.octa-credit a:hover { color: var(--gold); }

@media (max-width: 560px) {
  .cab-head { flex-wrap: wrap; gap: 8px; }
  .visit-store { padding: 8px 14px; font-size: 13px; }
  .strip-bar .ticker-item { font-size: 12px; letter-spacing: .06em; }
}
