/* Sydni McKenzie Fine Art — palette taken from the logo's dusty-blue signature mark. */
:root {
  --paper: #fbfaf8;
  --paper-2: #f3f0eb;
  --ink: #2c2c2e;
  --ink-soft: #5d5d62;
  --line: #e4dfd8;
  --blue: #8fb3c3;
  --blue-deep: #4f7d91;
  --blush: #e9b8a6;
  /* Pops from her newer canvases: watermelon, cobalt, chartreuse, peach, sage over warm cream */
  --pop: #e5577a;
  --cobalt: #2f56b0;
  --lime: #c4d24a;
  --peach: #f6c79e;
  --sage: #b5c3a1;
  --cream: #f6f1e7;
  --charcoal: #34343a;
  --hand: "Caveat", cursive;
  --sold: #9a8f86;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 300 17px/1.7 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 14px; z-index: 100; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.eyebrow { font: 500 .75rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 1.2em; display: block; }
.lede { font-size: 1.2rem; color: var(--ink-soft); }
.center { text-align: center; }
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section.tint { background: var(--paper-2); }

/* Buttons */
.btn { display: inline-block; font: 400 .8rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 17px 30px;
  border: 1px solid var(--ink); color: var(--ink); background: transparent; text-decoration: none; cursor: pointer; transition: .2s; border-radius: var(--radius); }
.btn:hover { background: var(--ink); color: #fff; }
.btn.solid { background: var(--ink); color: #fff; }
.btn.solid:hover { background: var(--cobalt); border-color: var(--cobalt); }
.btn.pop { background: var(--pop); border-color: var(--pop); color: #fff; }
.btn.pop:hover { background: var(--charcoal); border-color: var(--charcoal); }
.btn.small { padding: 11px 18px; font-size: .7rem; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 24px; }
.brand img { width: 230px; }
.site-nav { display: flex; gap: 34px; }
.site-nav a { font: 400 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current] { border-color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span:not(.sr) { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); transition: .25s; }
.nav-toggle span:nth-child(1) { top: 18px; } .nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .header-inner { min-height: 72px; }
  .brand img { width: 180px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
}

/* Home hero */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; min-height: min(calc(100vh - 92px), 900px); }
.hero-art { position: relative; overflow: hidden; background: var(--paper-2); }
/* The painting fills its side without setting the height; the words and buttons decide that, so they're never cut off. */
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 7vh, 110px) clamp(28px, 5vw, 96px); }
/* Size the headline by screen height too, so the buttons stay in view on 13" laptops. */
.hero-copy h1 { font-size: clamp(2.2rem, min(4.4vw, 8vh), 3.8rem); }
.hero-copy h1 em { font-style: italic; color: var(--blue-deep); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.4em; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero-art { aspect-ratio: 4/3; }
}

/* Two paths (art / photography) */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.path { position: relative; display: block; text-decoration: none; color: #fff; overflow: hidden; aspect-ratio: 4/5; background: var(--ink); }
.path img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease, opacity .4s; opacity: .88; }
.path:hover img { transform: scale(1.04); opacity: .75; }
.path-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.path-label h2 { color: #fff; margin: 0 0 .2em; }
.path-label span { font: 400 .75rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
@media (max-width: 700px) { .paths { grid-template-columns: 1fr; } .path { aspect-ratio: 4/3; } }

/* Featured strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.strip a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.strip a:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .strip { grid-template-columns: repeat(2, 1fr); } }

/* Page header */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 4vw, 56px); text-align: center; }
.page-head .lede { max-width: 640px; margin: 0 auto; }

/* Portfolio */
.filters { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 44px; }
.filters button { font: 400 .75rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; background: none; border: 1px solid var(--line);
  padding: 12px 20px; cursor: pointer; color: var(--ink-soft); border-radius: 40px; }
.filters button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); background: #fff; }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 56px 40px; }
.art { margin: 0; }
.art-frame { display: block; background: var(--paper-2); padding: 0; border: 0; width: 100%; cursor: zoom-in; aspect-ratio: 1; overflow: hidden; }
.art-frame img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s; }
.art-frame:hover img { transform: scale(1.03); }
.art figcaption { padding-top: 18px; }
.art h3 { font-size: 1.5rem; margin: 0 0 .15em; }
.art-meta { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.badge { display: inline-block; font: 500 .65rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 6px 10px; border-radius: 30px; margin-top: 10px; }
.badge.available { background: #e3eef2; color: var(--blue-deep); }
.badge.represented { background: #f6e6df; color: #9a5a44; }
.badge.sold { background: var(--paper-2); color: var(--sold); }
.commission { margin-top: clamp(64px, 8vw, 110px); }

/* Photography */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 4vw, 56px); }
.service { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; }
.service img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.service .price { font-family: var(--serif); font-size: 1.3rem; color: var(--blue-deep); font-style: italic; }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .service { grid-template-columns: 1fr; } }

/* About */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split img { width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font: 400 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 9px; }
.form input, .form select, .form textarea { width: 100%; font: 300 1rem/1.5 var(--sans); padding: 14px 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: var(--radius); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: transparent; }
.form textarea { min-height: 160px; resize: vertical; }
.form .hp { position: absolute; left: -5000px; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }
.notice { padding: 18px 22px; background: #e3eef2; border-left: 3px solid var(--blue-deep); margin-bottom: 28px; }
.notice.error { background: #f8e5e0; border-color: #b4553a; }

/* Gallery view */
.g-hero { position: relative; height: min(72vh, 720px); background: var(--ink); overflow: hidden; }
.g-hero img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.g-hero-copy { position: absolute; inset: auto 0 0 0; padding: 48px 24px; text-align: center; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.5)); }
.g-hero-copy h1 { color: #fff; margin: 0; }
.g-hero-copy p { margin: 6px 0 0; letter-spacing: .2em; text-transform: uppercase; font-size: .75rem; }
.g-bar { position: sticky; top: 92px; z-index: 20; background: rgba(251,250,248,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.g-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.g-bar .tabs { display: flex; gap: 6px; }
.g-bar .tabs button { font: 400 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; background: none; border: 0; padding: 10px 12px; cursor: pointer; color: var(--ink-soft); border-bottom: 1px solid transparent; }
.g-bar .tabs button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
@media (max-width: 960px) { .g-bar { top: 72px; } }
.masonry { columns: 4 260px; column-gap: 12px; padding: 24px 0 80px; }
.tile { break-inside: avoid; margin: 0 0 12px; position: relative; background: var(--paper-2); }
.tile button.open { display: block; padding: 0; border: 0; background: none; width: 100%; cursor: zoom-in; }
.tile img { width: 100%; }
.tile .heart { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9);
  cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.tile:hover .heart, .tile .heart.on, .tile .heart:focus-visible { opacity: 1; }
@media (hover: none) { .tile .heart { opacity: 1; } }
.heart svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.heart.on svg { fill: #c4573e; stroke: #c4573e; }
/* Download arrow sits beside the heart and shows/hides with it. */
.tile .dl { position: absolute; right: 56px; bottom: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.9);
  display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.tile:hover .dl, .tile .dl:focus-visible { opacity: 1; }
@media (hover: none) { .tile .dl { opacity: 1; } }
.dl svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tile .dl:hover { background: #fff; }
@media (max-width: 600px) { .tile .heart, .tile .dl { width: 34px; height: 34px; bottom: 8px; } .tile .heart { right: 8px; } .tile .dl { right: 48px; } }
.empty-favs { text-align: center; padding: 80px 0; color: var(--ink-soft); display: none; }

/* Lightbox */
.lb { position: fixed; inset: 0; background: rgba(18,18,20,.97); z-index: 200; display: none; }
.lb.open { display: block; }
.lb figure { position: absolute; inset: 64px 72px 84px; margin: 0; display: flex; align-items: center; justify-content: center; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-caption { position: absolute; left: 0; right: 0; bottom: 0; min-height: 84px; display: flex; align-items: center; justify-content: center; gap: 22px; color: #ddd; font-size: .9rem; padding: 0 16px; text-align: center; }
.lb-caption strong { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; color: #fff; }
.lb button { background: none; border: 0; color: #fff; cursor: pointer; }
.lb-close { position: absolute; top: 14px; right: 18px; font-size: 34px; line-height: 1; width: 44px; height: 44px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 44px; width: 60px; height: 90px; opacity: .7; }
.lb-prev:hover, .lb-next:hover { opacity: 1; }
.lb-prev { left: 6px; } .lb-next { right: 6px; }
.lb-actions { display: flex; gap: 10px; }
.lb-actions a, .lb-actions button { color: #fff; border: 1px solid rgba(255,255,255,.35); padding: 9px 14px; font: 400 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-radius: 30px; }
.lb-actions .on { background: #c4573e; border-color: #c4573e; }
.lb-count { position: absolute; top: 24px; left: 24px; color: #999; font-size: .8rem; letter-spacing: .15em; }
@media (max-width: 700px) { .lb figure { inset: 56px 8px 120px; } .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } .lb-caption { bottom: 70px; min-height: 0; flex-direction: column; gap: 10px; } }

/* Unlock / modal */
.gate { min-height: 70vh; display: grid; place-items: center; padding: 48px 24px; text-align: center; }
.gate form { max-width: 380px; margin: 0 auto; }
.gate input { width: 100%; padding: 15px; border: 1px solid var(--line); font: inherit; text-align: center; letter-spacing: .1em; margin-bottom: 14px; }
.modal { position: fixed; inset: 0; background: rgba(20,20,22,.6); display: none; place-items: center; z-index: 300; padding: 16px; }
.modal.open { display: grid; }
.modal-card { background: #fff; max-width: 420px; width: 100%; padding: 40px 32px; text-align: center; }
.modal-card input { width: 100%; padding: 14px; border: 1px solid var(--line); font: inherit; margin: 6px 0 16px; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .9rem; color: var(--ink-soft); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-name { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin: 0; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: var(--ink-soft); text-decoration: none; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.copyright { font-size: .78rem; margin-top: 40px; color: #999; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* ---- Client galleries list: built from Sydni's own paintings ---- */
.g-head { position: relative; overflow: hidden; padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 7vw, 96px); text-align: center; isolation: isolate; }
.g-head::before { content: ""; position: absolute; inset: -40px; z-index: -2; background: var(--backdrop) center 40% / cover;
  filter: saturate(1.15) blur(2px); opacity: .55; transform: scale(1.05); animation: drift 40s ease-in-out infinite alternate; }
.g-head::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(251,250,248,.94) 30%, rgba(251,250,248,.55) 70%, rgba(251,250,248,.2)),
              linear-gradient(transparent 70%, var(--paper)); }
@keyframes drift { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.12) translate(-2%, 1.5%); } }
.g-head-inner { position: relative; max-width: 760px; }
.g-head h1 { position: relative; display: inline-block; isolation: isolate; font-size: clamp(2.8rem, 6.5vw, 4.8rem); font-style: italic; font-weight: 400; }
.brush-paint { position: absolute; left: -5%; width: 110%; bottom: -.34em; height: .7em; z-index: -1; overflow: visible; transform: rotate(-1.2deg);
  fill: var(--pop); stroke: var(--pop); opacity: .82; clip-path: inset(0 100% 0 0); animation: swipe 1.1s .35s cubic-bezier(.6,.1,.3,1) forwards; }
@keyframes swipe { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .brush-paint { animation: none; clip-path: none; } }
.g-head .lede { max-width: 560px; margin: 0 auto 2em; }
.note { position: absolute; top: -6px; right: 4%; font: 500 1.6rem/1 "Caveat", cursive; color: var(--blue-deep); transform: rotate(-8deg); }
@media (max-width: 700px) { .note { position: static; display: block; margin-bottom: 8px; } }
.brush { position: absolute; left: -4%; right: -4%; bottom: -.05em; width: 108%; height: .32em; z-index: -1; }
.brush path { fill: none; stroke: var(--tone, var(--pop)); stroke-width: 9; stroke-linecap: round; opacity: .75;
  stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1.4s .4s cubic-bezier(.6,.1,.3,1) forwards; }
.scribble { position: absolute; z-index: -1; fill: none; stroke: #3a3a3c; stroke-width: 1.6; stroke-linecap: round; opacity: .45; }
.scribble path { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.6s .8s ease-out forwards; }
.scribble.s1 { width: 220px; left: 5%; top: 18%; transform: rotate(-10deg); }
.scribble.s2 { width: 130px; right: 7%; bottom: 14%; stroke: var(--blue-deep); }
.scribble.s3 { width: 170px; right: 18%; top: 12%; transform: rotate(6deg); opacity: .3; }
@media (max-width: 700px) { .scribble.s1, .scribble.s3 { display: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.g-search { display: flex; align-items: center; gap: 10px; max-width: 440px; margin: 0 auto; background: rgba(255,255,255,.9);
  border: 1px solid var(--line); border-radius: 40px 46px 38px 44px; padding: 4px 20px; box-shadow: 0 6px 30px rgba(80,60,40,.06); }
.g-search svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-soft); stroke-width: 1.8; flex: none; }
.g-search input { border: 0; background: none; font: 300 1rem var(--sans); padding: 12px 0; width: 100%; outline: none; color: var(--ink); }
.g-search:focus-within { border-color: var(--blue); }

.g-body { padding-bottom: 60px; }
.cat-block { margin-bottom: 88px; }
.cat-block h2 { display: flex; align-items: center; gap: 14px; font-style: italic; font-weight: 400; margin-bottom: 40px; }
.cat-block h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--paint), transparent); opacity: .8; }
.dab { width: 26px; height: 20px; background: var(--paint); border-radius: 58% 42% 63% 37% / 45% 55% 45% 55%; transform: rotate(-14deg); flex: none; }

.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 64px 44px; padding: 10px 14px; }
.g-card { position: relative; text-decoration: none; color: var(--ink); transition: transform .5s cubic-bezier(.3,1.4,.5,1); }
.g-card .cover { position: relative; aspect-ratio: 4/5; isolation: isolate; }
/* The painting swatch peeking out behind each photo */
.g-card .cover::before { content: ""; position: absolute; inset: -14px -12px -12px -14px; z-index: -1; background: var(--swatch) center / 260%;
  border-radius: 46% 54% 41% 59% / 52% 44% 56% 48%; transform: rotate(-4deg); transition: transform .6s, border-radius .8s; filter: saturate(1.2); }
.g-card .cover img, .g-card .cover:not(:has(img)) { width: 100%; height: 100%; object-fit: cover; background: var(--paper-2);
  border-radius: 3px; box-shadow: 0 10px 30px rgba(60,40,30,.12); transition: border-radius .6s, box-shadow .4s; }
.g-card.shape-0 { transform: rotate(-1.6deg); } .g-card.shape-1 { transform: rotate(1.2deg); }
.g-card.shape-2 { transform: rotate(-.6deg); } .g-card.shape-3 { transform: rotate(1.8deg); } .g-card.shape-4 { transform: rotate(-1.1deg); }
.g-card.shape-1 .cover::before { transform: rotate(5deg); border-radius: 60% 40% 55% 45% / 40% 60% 40% 60%; }
.g-card.shape-2 .cover::before { inset: -10px -16px -16px -10px; transform: rotate(-7deg); }
.g-card.shape-3 .cover::before { transform: rotate(3deg); border-radius: 38% 62% 47% 53% / 61% 39% 61% 39%; }
.g-card.shape-4 .cover::before { inset: -16px -10px -10px -16px; transform: rotate(8deg); }
.g-card:hover, .g-card:focus-visible { transform: rotate(0) translateY(-6px); }
.g-card:hover .cover::before { transform: rotate(0) scale(1.04); border-radius: 30% 34% 28% 36%; }
.g-card:hover .cover img { box-shadow: 0 18px 40px rgba(60,40,30,.2); }
.g-card .lock { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.94); border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; }
.g-card h3 { font-size: 1.45rem; margin: 22px 0 2px; }
.g-card p { font-size: .85rem; color: var(--ink-soft); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .g-head::before { animation: none; }
  .brush path, .scribble path { animation: none; stroke-dashoffset: 0; }
  .g-card, .g-card .cover::before { transition: none; }
}

/* ---- Shared painterly pieces (all pages) ---- */
.paint-title { position: relative; display: inline-block; isolation: isolate; }
.paint-title .brush { position: absolute; left: -4%; width: 108%; bottom: -.05em; height: .32em; z-index: -1; }
.hand { font: 500 1.55rem/1.1 var(--hand); color: var(--cobalt); }
.hand.pop { color: var(--pop); }
.deco { position: relative; overflow: hidden; isolation: isolate; }
.deco > .scribble { position: absolute; z-index: -1; fill: none; stroke: var(--charcoal); stroke-width: 1.6; stroke-linecap: round; opacity: .38; pointer-events: none; }
.deco > .scribble path { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 2.8s .5s ease-out forwards; }
.blob { position: absolute; z-index: -1; border-radius: 58% 42% 63% 37% / 45% 55% 45% 55%; filter: blur(26px); opacity: .5; pointer-events: none; }
.torn { display: block; width: 100%; height: 34px; margin-bottom: -1px; }
.torn.flip { transform: scaleY(-1); margin: -1px 0 0; }
.dab-btn { --c: var(--pop); display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 40px; padding: 8px 16px 8px 10px;
  font: 400 .78rem/1 var(--sans); letter-spacing: .06em; color: var(--ink); cursor: pointer; text-decoration: none; transition: .2s; }
.dab-btn::before { content: ""; width: 22px; height: 17px; background: var(--c); border-radius: 58% 42% 63% 37% / 45% 55% 45% 55%; transform: rotate(-12deg); }
.dab-btn:hover, .dab-btn[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.dab-btn[aria-pressed="true"] { background: var(--cream); }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.signoff { font: 500 1.9rem/1 var(--hand); color: var(--pop); transform: rotate(-4deg); display: inline-block; margin-bottom: 4px; }
.socials { display: flex; gap: 10px; margin-top: 6px; }
.social { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: .2s; }
.social:hover { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
@media (prefers-reduced-motion: reduce) { .deco > .scribble path { animation: none; stroke-dashoffset: 0; } }

/* ---- Home ---- */
.hero-art { position: relative; }
.hero-chips { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.9);
  padding: 8px 16px 8px 14px; border-radius: 40px 46px 38px 44px; box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.hero-chips .hand { font-size: 1.2rem; margin-right: 4px; }
.chip { width: 22px; height: 22px; background: var(--c); border-radius: 58% 42% 63% 37% / 45% 55% 45% 55%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.chip:nth-child(odd) { transform: rotate(18deg); }
.hero-copy { position: relative; }
.hero-note { margin-top: 1.6em; transform: rotate(-3deg); display: inline-block; }
.hero > .scribble, .hero-copy > .scribble { position: absolute; }
.hs1 { width: 200px; right: 6%; top: 8%; opacity: .32 !important; }
.ps1 { width: 260px; left: 2%; top: 4%; }
.fs1 { width: 120px; right: 8%; top: 40px; stroke: var(--pop) !important; }
.hero-copy > .scribble { fill: none; stroke: var(--charcoal); stroke-width: 1.6; stroke-linecap: round; opacity: .32; z-index: 0; }
.hero-copy > .scribble path { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 2.8s .5s ease-out forwards; }
.hero-copy > *:not(.scribble) { position: relative; z-index: 1; }
.dab-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.shop-color h2 { margin-bottom: 0; }
.strip { gap: 28px; }
.strip a { position: relative; aspect-ratio: auto; overflow: visible; background: none; text-decoration: none; transition: transform .5s cubic-bezier(.3,1.4,.5,1); }
.strip a img { aspect-ratio: 1; box-shadow: 0 12px 30px rgba(60,40,30,.14); }
/* The paintings hang a little askew; their titles stay straight. */
.strip a.tilt-0 img { transform: rotate(-2deg); } .strip a.tilt-1 { transform: translateY(10px); } .strip a.tilt-1 img { transform: rotate(1.5deg); }
.strip a.tilt-2 img { transform: rotate(-1deg); } .strip a.tilt-3 { transform: translateY(6px); } .strip a.tilt-3 img { transform: rotate(2deg); }
.strip a:hover { transform: translateY(-6px); }
.strip a:hover img { transform: none; }
.strip-cap { display: block; margin-top: 14px; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.path-label h2 { font-style: italic; font-weight: 400; }

/* ---- Portfolio ---- */
.page-head.deco { overflow: visible; }
.phs1 { width: 150px; right: 10%; top: 40px; }
.color-filters { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: -24px 0 52px; }
.color-filters .hand { font-size: 1.35rem; margin-right: 6px; }
.art { transition: transform .5s cubic-bezier(.3,1.4,.5,1); }
.art.tilt-0 { transform: rotate(-.8deg); } .art.tilt-1 { transform: rotate(.6deg); } .art.tilt-2 { transform: rotate(-.3deg); }
.art.tilt-3 { transform: rotate(.9deg); } .art.tilt-4 { transform: rotate(-.6deg); }
.art:hover { transform: rotate(0) translateY(-4px); }
.art-frame { box-shadow: 0 10px 28px rgba(60,40,30,.1); }
.art-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.art-foot .badge { margin: 0; }
.mini-chips { display: flex; gap: 4px; }
.mini-chips i { width: 14px; height: 11px; background: var(--c); border-radius: 58% 42% 63% 37% / 45% 55% 45% 55%; }
.mini-chips i:nth-child(even) { transform: rotate(20deg); }

.commission { margin-top: clamp(72px, 9vw, 130px); border-radius: 46px 60px 40px 54px; background: var(--cream); padding: clamp(48px, 6vw, 80px) clamp(20px, 5vw, 64px); }
.cms1 { width: 190px; right: 6%; top: 34px; stroke: var(--cobalt) !important; }
.designer { display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px 48px; align-items: start; max-width: 1040px; margin: 0 auto; }
.designer-step { grid-column: 1; }
.designer-step .hand { font-size: 1.5rem; margin-bottom: 12px; }
.designer-preview { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 120px; text-align: center; }
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 14px 10px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.swatch input, .size input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span { width: 54px; height: 42px; background: var(--c); border-radius: 58% 42% 63% 37% / 45% 55% 45% 55%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s; }
.swatch:nth-child(3n) span { border-radius: 42% 58% 37% 63% / 55% 45% 55% 45%; transform: rotate(14deg); }
.swatch em { font-style: normal; font-size: .75rem; color: var(--ink-soft); text-align: center; line-height: 1.2; }
.swatch input:checked + span { transform: scale(1.15) rotate(-6deg); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--charcoal); }
.swatch input:focus-visible + span, .size input:focus-visible + .canvas { outline: 2px solid var(--cobalt); outline-offset: 4px; }
.size-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; }
.size { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.size .canvas { width: calc(var(--w) * 1.1px); height: calc(var(--h) * 1.1px); background: #fff; border: 1px solid var(--line); box-shadow: 2px 3px 0 rgba(0,0,0,.05); transition: .2s; }
.size em { font-style: normal; font-size: .75rem; color: var(--ink-soft); }
.size input:checked + .canvas { border-color: var(--charcoal); background: var(--peach); }
.mini-canvas { width: min(100%, 320px); margin: 0 auto 18px; background: var(--cream); border: 10px solid #fff; box-shadow: 0 14px 36px rgba(60,40,30,.16);
  transition: aspect-ratio .3s; filter: saturate(1.1); }
.designer-preview .hand { min-height: 2.4em; font-size: 1.4rem; }
@media (max-width: 860px) { .designer { grid-template-columns: 1fr; } .designer-step, .designer-preview { grid-column: 1; grid-row: auto; position: static; } }

/* See it on a wall: 1 inch = --u px; the room is 160" wide */
.wall { position: fixed; inset: 0; z-index: 260; background: rgba(18,18,20,.88); display: grid; place-items: center; padding: 16px; }
.wall[hidden] { display: none; }
.wall-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #fff; font-size: 36px; cursor: pointer; width: 44px; height: 44px; }
.wall-room { --wall: #f4f1ec; --u: min(5.4px, calc((100vw - 32px) / 160), calc((100vh - 170px) / 118)); position: relative;
  width: calc(var(--u) * 160); height: calc(var(--u) * 118); background: var(--wall); overflow: hidden; transition: background .4s; }
.wall-room::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 0%, rgba(255,255,255,.35), transparent 60%); pointer-events: none; }
.wall-art { position: absolute; left: 50%; bottom: calc(var(--u) * 52); transform: translateX(-50%);
  width: calc(var(--u) * var(--art-w)); height: calc(var(--u) * var(--art-h)); box-shadow: 0 calc(var(--u) * 2) calc(var(--u) * 4) rgba(0,0,0,.25); }
.wall-art img { width: 100%; height: 100%; object-fit: cover; }
.wall-sofa { position: absolute; left: 50%; bottom: calc(var(--u) * 12); transform: translateX(-50%); width: calc(var(--u) * 84); height: auto; }
.wall-floor { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--u) * 13); background: linear-gradient(#cdb89c, #bba383); }
.wall-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; color: #eee; }
.wall-bar .hand { color: #fff; font-size: 1.3rem; }
.wall-title { font-family: var(--serif); font-size: 1.25rem; margin-right: 14px; }
.wall-swatch { width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 2px solid rgba(255,255,255,.7); cursor: pointer; }
.wall-note { font-size: .8rem; color: #aaa; margin-left: 10px; }
/* Tape-measure dimension lines in the wall view */
.dim { position: absolute; color: #4a4a50; font: 500 calc(var(--u) * 3.4) / 1 var(--sans); letter-spacing: .04em; z-index: 2; }
.wall-room.dark .dim:not(.dim-sofa) { color: #f1ece4; }
.dim span { position: absolute; background: var(--wall); padding: 0 calc(var(--u) * 1.2); white-space: nowrap; transition: background .4s; }
.dim-w { left: 50%; transform: translateX(-50%); width: calc(var(--u) * var(--art-w)); bottom: calc(var(--u) * (55 + var(--art-h))); border-top: 1.5px solid currentColor; }
.dim-w::before, .dim-w::after, .dim-sofa::before, .dim-sofa::after { content: ""; position: absolute; top: calc(var(--u) * -1.6); height: calc(var(--u) * 3.2); border-left: 1.5px solid currentColor; }
.dim-w::before, .dim-sofa::before { left: 0; } .dim-w::after, .dim-sofa::after { right: 0; }
.dim-w span { left: 50%; top: 0; transform: translate(-50%, -50%); }
.dim-h { left: calc(50% + var(--u) * (var(--art-w) / 2 + 4)); bottom: calc(var(--u) * 52); height: calc(var(--u) * var(--art-h)); border-left: 1.5px solid currentColor; }
.dim-h::before, .dim-h::after { content: ""; position: absolute; left: calc(var(--u) * -1.6); width: calc(var(--u) * 3.2); border-top: 1.5px solid currentColor; }
.dim-h::before { top: 0; } .dim-h::after { bottom: 0; }
.dim-h span { top: 50%; left: 0; transform: translate(-50%, -50%) rotate(-90deg); }
.dim-sofa { left: 50%; transform: translateX(-50%); width: calc(var(--u) * 84); bottom: calc(var(--u) * 5); border-top: 1.5px solid currentColor; color: #5e5143; }
.dim-sofa span { left: 50%; top: 0; transform: translate(-50%, -50%); background: #c7b192; }

/* ---- Polaroids with painted tape (photography, about, contact) ---- */
.polaroid { position: relative; background: #fff; padding: 12px 12px 14px; box-shadow: 0 14px 34px rgba(60,40,30,.14); transition: transform .5s cubic-bezier(.3,1.4,.5,1); }
.polaroid.big { padding: 16px 16px 58px; }
.polaroid::before { content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 30px; transform: translateX(-50%) rotate(-4deg);
  background: var(--tape, var(--pop)); opacity: .72; border-radius: 3px 8px 4px 9px; mix-blend-mode: multiply; }
.polaroid.tilt-0 { transform: rotate(-2deg); } .polaroid.tilt-1 { transform: rotate(1.8deg); }
.polaroid.tilt-2 { transform: rotate(-1deg); } .polaroid.tilt-3 { transform: rotate(2.4deg); }
.polaroid:hover { transform: rotate(0) scale(1.01); }
.polaroid img { width: 100%; }
.service .polaroid img { aspect-ratio: 4/5; object-fit: cover; }
.polaroid-cap { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-size: 1.6rem; color: var(--charcoal); }
.signature { font-size: 2.2rem; transform: rotate(-4deg); transform-origin: left; display: block; width: max-content; margin: 6px 0 22px; }
.follow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.phs2 { width: 230px; left: 4%; top: 30px; }
.abs1 { width: 140px; right: 6%; top: 50px; stroke: var(--cobalt) !important; }
.abs2 { width: 150px; left: 3%; bottom: 40px; }
.cts1 { width: 170px; left: 46%; top: 20px; }
.sts1 { width: 220px; right: 4%; top: 30px; stroke: var(--pop) !important; }

/* ---- Photography steps with brush numbers ---- */
.steps-wrap { background: var(--cream); }
.steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: left; counter-reset: s; }
.steps li { position: relative; padding-top: 74px; }
.step-num { position: absolute; top: 0; left: 0; width: 74px; height: 60px; display: grid; place-items: center; font: 500 2.4rem/1 var(--hand); color: #fff;
  background: var(--tone); border-radius: 58% 42% 63% 37% / 45% 55% 45% 55%; transform: rotate(-8deg); }
.steps li:nth-child(even) .step-num { border-radius: 42% 58% 37% 63% / 55% 45% 55% 45%; transform: rotate(6deg); }
.steps h3 { font-size: 1.45rem; margin-bottom: .3em; }
.steps p { font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
/* Gallery cards: a torn, offset scrap of a painting behind each photo (overrides the earlier blob) */
.g-card .cover::before { inset: 12px -16px -14px 14px; background: var(--swatch) 30% 40% / 170%; border-radius: 6px 18px 4px 14px;
  transform: rotate(4deg); filter: saturate(1.5) contrast(1.05); }
.g-card.shape-1 .cover::before { inset: -14px 12px 14px -16px; transform: rotate(-5deg); border-radius: 16px 4px 12px 6px; background-position: 70% 30%; }
.g-card.shape-2 .cover::before { inset: 16px 14px -16px -14px; transform: rotate(-3deg); background-position: 50% 70%; }
.g-card.shape-3 .cover::before { inset: -12px -14px 12px 16px; transform: rotate(6deg); border-radius: 4px 14px 18px 6px; background-position: 20% 80%; }
.g-card.shape-4 .cover::before { inset: 14px -12px -16px 12px; transform: rotate(-6deg); background-position: 80% 60%; }
.g-card:hover .cover::before { transform: rotate(0) translate(6px, 6px); border-radius: 6px; }

.footer-contact .btn { align-self: flex-start; }

/* Photography page: a whisper of sage instead of plain paper */
body.page-photography { --paper: #f0f4ee; --cream: #f7f6ef; background: var(--paper); }

/* ---- Gallery "bubbles": organic paint-blob covers (overrides the card styles above) ---- */
.g-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 56px 40px; }
.g-card { text-align: center; }
.g-card .cover { aspect-ratio: 1; }
.g-card .cover img, .g-card .cover:not(:has(img)) { border-radius: 58% 42% 55% 45% / 46% 56% 44% 54%; box-shadow: 0 14px 34px rgba(60,40,30,.16);
  transition: border-radius 1.2s cubic-bezier(.3,1.4,.5,1), box-shadow .4s, transform .6s; }
.g-card.shape-1 .cover img { border-radius: 44% 56% 40% 60% / 58% 42% 58% 42%; }
.g-card.shape-2 .cover img { border-radius: 63% 37% 52% 48% / 41% 59% 41% 59%; }
.g-card.shape-3 .cover img { border-radius: 39% 61% 62% 38% / 53% 47% 53% 47%; }
.g-card.shape-4 .cover img { border-radius: 52% 48% 37% 63% / 62% 38% 62% 38%; }
.g-card:hover .cover img { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; transform: scale(1.03); }
/* paint scrap behind each bubble, peeking out */
.g-card .cover::before { inset: -6% -8% 8% 6%; border-radius: 42% 58% 61% 39% / 55% 41% 59% 45%; background: var(--swatch) center / 220%; opacity: .9; transform: rotate(-8deg); }
.g-card.shape-1 .cover::before { inset: 6% 7% -7% -8%; transform: rotate(10deg); border-radius: 60% 40% 38% 62% / 44% 60% 40% 56%; }
.g-card.shape-2 .cover::before { inset: -8% 6% 6% -6%; transform: rotate(-14deg); }
.g-card.shape-3 .cover::before { inset: 7% -6% -8% 8%; transform: rotate(6deg); border-radius: 37% 63% 50% 50% / 60% 40% 60% 40%; }
.g-card.shape-4 .cover::before { inset: -7% -7% 7% 7%; transform: rotate(16deg); }
.g-card:hover .cover::before { transform: rotate(0) scale(1.06); border-radius: 50%; }
/* charcoal ring scribbled around the bubble on hover */
.g-card .cover::after { content: ""; position: absolute; inset: -5%; border: 1.5px solid var(--charcoal); opacity: 0; z-index: 1; pointer-events: none;
  border-radius: 47% 53% 58% 42% / 52% 46% 54% 48%; transform: rotate(-6deg) scale(.94); transition: opacity .4s, transform .6s; }
.g-card:hover .cover::after { opacity: .45; transform: rotate(4deg) scale(1); }
.g-card .lock { top: 6%; right: 6%; z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.g-card h3 { margin-top: 26px; }
.g-card h3::after { content: ""; display: block; width: 44px; height: 6px; margin: 8px auto 0; background: var(--paint, var(--pop)); border-radius: 6px 2px 8px 3px; opacity: .8; transform: rotate(-3deg); }

/* ---- Client gallery view: painterly header, cream body, soft photo tiles ---- */
body.page-galleries:has(.g-hero2) { background: var(--cream); --paper: var(--cream); }
.g-hero2 { background: var(--paper); padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); }
.g-hero2-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.g-hero2-copy h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); font-style: italic; font-weight: 400; }
.g-meta { font: 500 .78rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin: 18px 0 22px; }
.g-hero2-copy .hand { font-size: 1.7rem; transform: rotate(-2deg); display: inline-block; margin-bottom: 18px; }
.g-help { color: var(--ink-soft); max-width: 460px; }
.g-hero2-photo { position: relative; justify-self: center; width: min(100%, 520px); isolation: isolate; }
.g-hero2-photo::before { content: ""; position: absolute; inset: -18px 22px 26px -22px; z-index: -1; background: var(--pop); opacity: .22;
  border-radius: 46% 54% 41% 59% / 52% 44% 56% 48%; transform: rotate(-6deg); }
.g-hero2-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 58% 42% 55% 45% / 46% 56% 44% 54%; box-shadow: 0 22px 50px rgba(60,40,30,.2); }
.gh-s1 { width: 220px; left: 46%; top: 18px; }
.gh-s2 { width: 120px; right: 4%; top: 30px; stroke: var(--cobalt) !important; }
@media (max-width: 860px) { .g-hero2-inner { grid-template-columns: 1fr; } .g-hero2-photo { order: -1; width: min(80%, 380px); } }
.g-bar2 { background: rgba(246,241,231,.94); border-bottom: 0; top: 92px; }
.g-bar2::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px;
  background: linear-gradient(90deg, var(--pop), var(--peach), var(--lime), var(--sage), var(--cobalt)); opacity: .55;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 6' preserveAspectRatio='none'%3E%3Cpath d='M0 3c120-3 240 3 360 0s240-3 360 0 240 3 360 0 240-3 360 0' stroke='black' stroke-width='3' fill='none'/%3E%3C/svg%3E") center / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 6' preserveAspectRatio='none'%3E%3Cpath d='M0 3c120-3 240 3 360 0s240-3 360 0 240 3 360 0 240-3 360 0' stroke='black' stroke-width='3' fill='none'/%3E%3C/svg%3E") center / 100% 100%; }
.g-bar2 .tabs button[aria-pressed="true"] { border-color: var(--pop); }
.g-masonry2 { column-gap: 16px; padding-top: 32px; }
.g-masonry2 .tile { margin-bottom: 16px; background: transparent; }
.g-masonry2 .tile img { border-radius: 4px; box-shadow: 0 6px 18px rgba(60,40,30,.08); transition: transform .5s cubic-bezier(.3,1.4,.5,1), box-shadow .3s; }
.g-masonry2 .tile:hover img { transform: translateY(-3px) rotate(-.4deg); box-shadow: 0 14px 30px rgba(60,40,30,.16); }
.g-masonry2 .tile:nth-child(3n+2):hover img { transform: translateY(-3px) rotate(.5deg); }
.g-masonry2 .heart.on { background: #fff; box-shadow: 0 0 0 3px rgba(229,87,122,.25); }
.heart.on svg { fill: var(--pop); stroke: var(--pop); }

/* ---- Brick layout: justified rows, every photo keeps its shape, rows fill the width ---- */
.bricks { display: flex; flex-wrap: wrap; gap: 10px; padding: 32px 0 80px; }
.bricks::after { content: ""; flex-grow: 999999; }               /* keeps the last row from stretching */
.bricks .tile { position: relative; margin: 0; flex-grow: calc(var(--ar) * 100); flex-basis: calc(var(--ar) * 260px); background: var(--paper-2); }
.bricks .tile::before { content: ""; display: block; padding-bottom: calc(100% / var(--ar)); }
.bricks .tile .open { position: absolute; inset: 0; }
.bricks .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 3px;
  box-shadow: 0 4px 14px rgba(60,40,30,.08); transition: transform .5s cubic-bezier(.3,1.4,.5,1), box-shadow .3s; }
.bricks .tile:hover img { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(60,40,30,.16); }
.bricks .tile .heart { z-index: 2; }
@media (max-width: 600px) { .bricks .tile { flex-basis: calc(var(--ar) * 150px); } .bricks { gap: 6px; } }

/* ---- Collage layout: mixed sizes packed like a gallery wall, with painting scraps ---- */
.collage { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); grid-auto-rows: 170px; grid-auto-flow: dense; gap: 14px; padding: 36px 0 90px; }
.collage .tile { margin: 0; position: relative; background: transparent; transition: transform .5s cubic-bezier(.3,1.4,.5,1); }
.collage .tile.wide { grid-column: span 2; }
.collage .tile.tall { grid-row: span 2; }
.collage .tile.big  { grid-column: span 2; grid-row: span 2; }
.collage .tile .open { position: absolute; inset: 0; }
.collage .tile img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; box-shadow: 0 6px 18px rgba(60,40,30,.1); }
.collage .tile.big img { border: 8px solid #fff; box-shadow: 0 14px 34px rgba(60,40,30,.16); }
.collage .tile.tilt-1 { transform: rotate(-.7deg); } .collage .tile.tilt-3 { transform: rotate(.8deg); }
.collage .tile:hover { transform: rotate(0) translateY(-4px); z-index: 2; }
.collage .tile .heart { z-index: 2; }
.collage .scrap { background: var(--scrap) center / 260%; border-radius: 46% 54% 41% 59% / 52% 44% 56% 48%; opacity: .9; filter: saturate(1.3); align-self: center; justify-self: center; width: 78%; height: 78%; }
.collage .scrap-1 { border-radius: 60% 40% 38% 62% / 44% 60% 40% 56%; transform: rotate(12deg); background-position: 70% 30%; }
.collage .scrap-2 { border-radius: 8px 22px 6px 18px; transform: rotate(-8deg); width: 62%; background-position: 30% 70%; }
.collage .scrap-3 { border-radius: 50%; width: 58%; height: 58%; background-position: 80% 60%; }
.collage.only-favs .scrap { display: none; }
@media (max-width: 600px) { .collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 8px; } }

/* ---- Single painting page ---- */
.crumbs { margin: 0 0 24px; font-size: .9rem; }
.painting-split { align-items: start; }
.painting-hero { margin: 0; }
.painting-hero .art-frame { aspect-ratio: auto; background: none; box-shadow: 0 18px 44px rgba(60,40,30,.16); }
.painting-hero .art-frame img { object-fit: contain; }
.painting-facts { list-style: none; padding: 0; margin: 20px 0 18px; }
.painting-facts li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; }
.painting-facts strong { font: 500 .72rem/1.9 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); width: 110px; flex: none; }
.painting-colors { display: flex; align-items: center; gap: 8px; margin: 20px 0 6px; flex-wrap: wrap; }
.painting-colors .hand { font-size: 1.3rem; margin-right: 6px; }
.art-link { color: inherit; text-decoration: none; }
.art-link:hover { color: var(--cobalt); }

/* ---- Phone polish ---- */
/* Decorative brushstrokes, scribbles and washes may bleed past the edges; never let them cause sideways scrolling. */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
@media (max-width: 600px) {
  .badge { font-size: .72rem; padding: 7px 11px; }
  .btn.small { font-size: .76rem; padding: 13px 18px; }
  .form label, .g-bar .tabs button { font-size: .78rem; }
  .g-bar .tabs button { padding: 12px 10px; }
  .paint-title .brush { left: 0; width: 100%; }
  .gate input[type="checkbox"], .form input[type="checkbox"] { width: 22px !important; height: 22px; }
  .hero-chips { left: 12px; bottom: 12px; padding: 6px 12px; }
  .hero-chips .hand { font-size: 1.05rem; }
}

/* Paintings keep their playful lean; titles and details stay level and easy to read. */
.art.tilt-0, .art.tilt-1, .art.tilt-2, .art.tilt-3, .art.tilt-4, .art:hover { transform: none; }
.art .art-frame { transition: transform .5s cubic-bezier(.3,1.4,.5,1); }
.art.tilt-0 .art-frame { transform: rotate(-.8deg); } .art.tilt-1 .art-frame { transform: rotate(.6deg); }
.art.tilt-2 .art-frame { transform: rotate(-.4deg); } .art.tilt-3 .art-frame { transform: rotate(.9deg); }
.art.tilt-4 .art-frame { transform: rotate(-.6deg); }
.art:hover .art-frame { transform: rotate(0) translateY(-4px); }
.strip a[class*="tilt-"] .strip-cap { display: block; text-align: center; }
@media (max-width: 760px) { .strip a[class*="tilt-"] { transform: none; } .strip a[class*="tilt-0"] img { transform: rotate(-1.2deg); } .strip a[class*="tilt-1"] img { transform: rotate(1deg); } .strip a[class*="tilt-2"] img { transform: rotate(-.6deg); } .strip a[class*="tilt-3"] img { transform: rotate(1.2deg); } }

.g-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--ink-soft); margin: 4px 0 18px; }

[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
/* Phones: the hero text stacks full width, so the decorative scribble would cross the headline; hide it there. */
@media (max-width: 860px) { .hero-copy > .scribble.hs1 { display: none; } }

/* Phones: center buttons (public pages only; admin keeps its own layout). */
@media (max-width: 760px) {
  body[class*="page-"] .hero-actions { flex-direction: column; align-items: center; }
  body[class*="page-"] .hero-actions .btn { width: min(100%, 320px); text-align: center; }
  body[class*="page-"] main .btn:not(.small):not(.hero-actions .btn) { display: block; width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; text-align: center; }
  body[class*="page-"] .hero-note, body[class*="page-"] .signature { display: block; text-align: center; margin-left: auto; margin-right: auto; }
  body[class*="page-"] .follow { justify-content: center; }
}
@media (max-width: 760px) { body[class*="page-"] main p > .btn.small { display: block; width: fit-content; margin-left: auto; margin-right: auto; } }

/* Photography booking form */
.service .price a { color: var(--blue-deep); text-decoration: none; border-bottom: 1px solid currentColor; }
.service .price a:hover { color: var(--pop); }
.book .form { margin-top: 28px; }
.book-thanks { text-align: center; font-size: 1.1rem; margin-top: 28px; }
.book-thanks .hand { display: block; margin-top: 6px; font-size: 1.5rem; }
#book { scroll-margin-top: 90px; }
.asking { margin: 22px 0 -6px; font-size: 1rem; color: var(--ink-soft); }
.asking strong { color: var(--pop); font-weight: 500; }

/* Breathing room between the Available now paintings and the button. */
.see-all { margin-top: clamp(56px, 7vw, 88px); }
