/* ==========================================================================
   Lio Faridani — contemporaryarts.ca
   Plain modern CSS (no build step). Edit colours/fonts in :root below.
   ========================================================================== */

:root {
  --bg: #0f0e0d;
  --bg-2: #161412;
  --surface: #1c1916;
  --surface-2: #24201c;
  --mat: #ece6dc;
  --line: rgba(243, 238, 230, 0.12);
  --line-strong: rgba(243, 238, 230, 0.24);
  --text: #f3eee6;
  --muted: #a99f92;
  --accent: #ef6a3f;
  --accent-2: #f2b25c;
  --accent-ink: #160d08;
  --grad: linear-gradient(100deg, #ef6a3f 0%, #f2b25c 100%);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --section-pad: clamp(80px, 11vw, 150px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 16px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.h2, .page-title, .hero-title, .cta-title {
  font-family: var(--font-display); font-weight: 350; letter-spacing: -.02em; line-height: 1.04;
  font-variation-settings: "opsz" 144;
}
.h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin-bottom: 28px; }
.page-title { font-size: clamp(3rem, 8vw, 6.5rem); margin-bottom: 24px; }
.h2 em, .page-title em, .hero-title em, .cta-title em, .form-title em {
  font-style: italic; font-weight: 300;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.page-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 640px; }
p + p { margin-top: 1.1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .35s;
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-primary { background: var(--grad); color: var(--accent-ink); box-shadow: 0 10px 30px -12px rgba(239,106,63,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(239,106,63,.85); }
.btn-ghost { background: rgba(243,238,230,.08); color: var(--text); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(243,238,230,.16); }
.btn-outline { border: 1px solid var(--line-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--text); background: var(--text); color: var(--bg); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn-row .icon { width: 1.05em; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; transition: gap .3s var(--ease), border-color .3s; }
.link-arrow:hover { gap: 16px; border-color: var(--accent); }

.tag { display: inline-flex; align-items: center; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.tag-sold { background: rgba(15,14,13,.82); color: #f3eee6; border: 1px solid rgba(243,238,230,.3); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .4s, border-color .4s, height .4s var(--ease), transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
body.is-scrolled { --header-h: 70px; }
.site-header.is-scrolled {
  background: rgba(15,14,13,.78);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { margin-right: auto; position: relative; z-index: 2; }
.brand img { width: auto; height: 46px; filter: invert(1); transition: height .4s var(--ease); }
.is-scrolled .brand img { height: 40px; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  position: relative; display: block; padding: 8px 16px; font-size: .92rem; font-weight: 500; color: rgba(243,238,230,.8);
  transition: color .3s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 1px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }
.main-nav li.nav-mobile-only { display: none; }
.nav-toggle { display: none; position: relative; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-open .nav-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .header-cta { display: none; }
  .main-nav li.nav-mobile-only { display: list-item; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center;
    padding: 100px var(--gutter) 40px; background: rgba(15,14,13,.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a {
    font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem, 10vw, 3.6rem); line-height: 1.25;
    padding: 6px 0; color: var(--text); opacity: 0; transform: translateY(20px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
  }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current="page"] { font-style: italic; color: var(--accent-2); }
  .nav-open .main-nav a { opacity: 1; transform: none; }
  .nav-open .main-nav li:nth-child(2) a { transition-delay: .05s; }
  .nav-open .main-nav li:nth-child(3) a { transition-delay: .1s; }
  .nav-open .main-nav li:nth-child(4) a { transition-delay: .15s; }
  .nav-mobile-extra { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
  .nav-open { overflow: hidden; }
  .site-header.is-hidden { transform: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -2; background: #000; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 9s linear; }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { transform: scale(1.02); }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,14,13,.65) 0%, rgba(15,14,13,.1) 30%, rgba(15,14,13,.25) 55%, rgba(15,14,13,.95) 100%),
    linear-gradient(90deg, rgba(15,14,13,.7) 0%, rgba(15,14,13,0) 65%);
}
.hero-content { padding-top: calc(var(--header-h) + 60px); padding-bottom: 40px; }
.hero-title { font-size: clamp(4.2rem, 13vw, 11.5rem); line-height: .88; margin-bottom: 30px; font-weight: 300; }
.hero-title .line { display: block; }
.hero-title .line:last-child { padding-left: .5em; }
.hero-lead { max-width: 560px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(243,238,230,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 36px; padding-top: 28px; border-top: 1px solid var(--line); margin-top: 20px; }
.hero-caption { font-size: .85rem; color: rgba(243,238,230,.7); letter-spacing: .02em; font-style: italic; font-family: var(--font-display); transition: opacity .5s; }
.hero-caption.is-changing { opacity: 0; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 44px; height: 24px; display: grid; align-items: center; }
.hero-dot span { display: block; height: 2px; background: rgba(243,238,230,.25); position: relative; overflow: hidden; border-radius: 2px; }
.hero-dot span::after { content: ""; position: absolute; inset: 0; background: var(--text); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active span::after { animation: dotfill var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero-dot.is-active span::after { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }
.scroll-cue { position: absolute; right: var(--gutter); top: 50%; width: 26px; height: 44px; border: 1px solid var(--line-strong); border-radius: 20px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--text); animation: cue 2s infinite var(--ease); }
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 1100px) { .scroll-cue { display: block; } }
@media (max-width: 600px) {
  .hero-footer { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-title .line:last-child { padding-left: .3em; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 22px 0; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 36px; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 3vw, 2.4rem); white-space: nowrap; }
.marquee span:nth-of-type(even) { -webkit-text-stroke: 1px rgba(243,238,230,.55); color: transparent; }
.marquee i { font-style: normal; color: var(--accent); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px 60px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head .h2 { margin-bottom: 0; }
.section-intro { max-width: 440px; color: var(--muted); }

/* Statement */
.statement-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.statement-media { position: relative; }
.frame { position: relative; border-radius: var(--radius); }
.frame::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.frame img { position: relative; border-radius: var(--radius); width: 100%; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.badge-circle { position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; display: grid; place-items: center; background: var(--bg); border-radius: 50%; border: 1px solid var(--line); }
.badge-circle svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.badge-circle text { font-size: 14px; letter-spacing: 3.2px; fill: var(--muted); text-transform: uppercase; font-family: var(--font-body); }
.badge-circle span { font-family: var(--font-display); font-size: 2.4rem; font-style: italic; line-height: 1; color: var(--accent-2); }
.badge-circle small { font-size: .9rem; margin-left: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.statement-text > p:not(.eyebrow) { color: var(--muted); }
.quote { margin: 8px 0 30px; padding-left: 26px; border-left: 2px solid; border-image: var(--grad) 1; }
.quote p { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.45; color: var(--text); }
.quote footer { margin-top: 14px; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) {
  .statement-grid { grid-template-columns: 1fr; }
  .statement-media { max-width: 460px; margin-right: 24px; }
  .badge-circle { right: -18px; top: -30px; width: 120px; height: 120px; }
  .badge-circle text { font-size: 16px; }
}

/* Selected works (masonry) */
.works { background: var(--bg-2); }
.works-grid { columns: 4 260px; column-gap: 28px; }
.art-card { break-inside: avoid; margin-bottom: 40px; }
.art-card-media { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 10px; background: var(--surface); }
.art-card-media img { width: 100%; transition: transform 1s var(--ease), filter .6s; }
.art-card-media:hover img { transform: scale(1.05); }
.art-card-zoom { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(15,14,13,.7); backdrop-filter: blur(6px); opacity: 0; transform: translateY(8px); transition: .4s var(--ease); }
.art-card-media:hover .art-card-zoom, .art-card-media:focus-visible .art-card-zoom { opacity: 1; transform: none; }
.art-card-body { padding-top: 16px; }
.art-card-body h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.3; }
.art-card-body p { font-size: .88rem; color: var(--muted); margin-top: 2px; }
.art-card-price { color: var(--accent-2) !important; font-weight: 600; }
@media (max-width: 600px) {
  .works-grid { columns: 2; column-gap: 14px; }
  .art-card { margin-bottom: 28px; }
  .art-card-body { padding-top: 10px; }
  .art-card-body h3 { font-size: 1.05rem; }
  .art-card-body p { font-size: .78rem; }
}

/* Stats */
.stats { border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(36px, 5vw, 60px) 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; margin-bottom: 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: .92rem; display: block; max-width: 200px; }
@media (max-width: 800px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding-left: 20px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Styles */
.styles-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.style-card { position: relative; grid-column: span 2; min-height: 380px; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; padding: 26px; isolation: isolate; }
.style-card:nth-child(1), .style-card:nth-child(2) { grid-column: span 3; min-height: 440px; }
.style-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.style-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,14,13,0) 35%, rgba(15,14,13,.9) 100%); transition: background .5s; }
.style-card:hover img { transform: scale(1.07); }
.style-card-body { display: flex; flex-direction: column; }
.style-card-count { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); font-weight: 600; }
.style-card-title { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 350; line-height: 1.15; margin-top: 6px; }
.style-card-arrow { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(243,238,230,.35); background: rgba(15,14,13,.35); backdrop-filter: blur(6px); transition: background .4s, color .4s, transform .5s var(--ease); }
.style-card:hover .style-card-arrow { background: var(--text); color: var(--bg); transform: rotate(-45deg); }
@media (max-width: 900px) {
  .styles-grid { grid-template-columns: 1fr 1fr; }
  .style-card, .style-card:nth-child(1), .style-card:nth-child(2) { grid-column: span 1; min-height: 300px; }
  .style-card:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 560px) {
  .styles-grid { grid-template-columns: 1fr; }
  .style-card, .style-card:nth-child(1) { grid-column: span 1; min-height: 260px; }
}

/* NFT */
.nft { overflow: hidden; }
.nft::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: 10%; background: radial-gradient(circle, rgba(239,106,63,.18), transparent 65%); pointer-events: none; }
.nft-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.nft-text > p:not(.eyebrow) { color: var(--muted); }
.steps { margin-top: 36px; display: grid; gap: 4px; }
.steps li { display: flex; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps span { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 1.1rem; min-width: 30px; }
.steps strong { display: block; font-weight: 600; }
.steps div { color: var(--muted); font-size: .95rem; }
.steps div strong { color: var(--text); }
.nft-visual { position: relative; height: 560px; }
.nft-card { position: absolute; width: 58%; padding: 12px 12px 0; border-radius: 18px; background: rgba(36,32,28,.75); border: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); animation: float 8s ease-in-out infinite; }
.nft-card img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.nft-card-meta { display: flex; justify-content: space-between; gap: 10px; padding: 14px 4px; font-size: .8rem; }
.nft-card-meta span:last-child { color: var(--accent-2); white-space: nowrap; }
.nft-card-1 { left: 0; top: 40px; transform: rotate(-6deg); z-index: 1; }
.nft-card-2 { right: 0; top: 0; transform: rotate(5deg); animation-delay: -3s; }
.nft-card-3 { left: 24%; bottom: 0; width: 50%; z-index: 2; animation-delay: -5s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@media (max-width: 900px) {
  .nft-grid { grid-template-columns: 1fr; }
  .nft-visual { height: 440px; max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 500px) { .nft-visual { height: 340px; } }

/* About teaser */
.about-teaser { background: var(--bg-2); }
.about-teaser-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-teaser-media { border-radius: var(--radius-lg); overflow: hidden; }
.about-teaser-media img { width: 100%; transition: transform 1.4s var(--ease); }
.about-teaser-media:hover img { transform: scale(1.04); }
.about-teaser-text > p:not(.eyebrow) { color: var(--muted); margin-bottom: 34px; }
@media (max-width: 900px) { .about-teaser-grid { grid-template-columns: 1fr; } }

/* CTA */
.cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(100px, 14vw, 190px); text-align: center; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.1); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(15,14,13,.72), rgba(15,14,13,.94) 75%); }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-inner .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.cta-title { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 900px; margin-bottom: 24px; }
.cta-inner > p:not(.eyebrow) { color: rgba(243,238,230,.8); max-width: 520px; font-size: 1.1rem; }
.cta .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: clamp(60px, 8vw, 100px); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 50px; padding-bottom: 60px; }
.footer-brand img { height: 52px; width: auto; filter: invert(1); margin-bottom: 18px; }
.footer-brand p { color: var(--muted); max-width: 360px; font-size: .95rem; }
.footer-title { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; transition: color .3s; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--accent-2); }
.footer-links .icon { color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 30px; padding-block: 26px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer-bottom a:hover { color: var(--text); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(40px, 5vw, 70px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 900px; height: 600px; left: 50%; top: -200px; transform: translateX(-30%); background: radial-gradient(ellipse, rgba(239,106,63,.16), transparent 65%); pointer-events: none; }

/* ---------- Gallery ---------- */
.gallery-toolbar { position: sticky; top: 0; z-index: 50; padding-block: 16px; background: rgba(15,14,13,.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-block: 1px solid var(--line); transition: top .4s var(--ease); }
.has-header .gallery-toolbar { top: var(--header-h); }
.toolbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .88rem; font-weight: 500; transition: .3s; }
.chip span { font-size: .72rem; color: var(--muted); transition: color .3s; }
.chip:hover { border-color: var(--text); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip.is-active span { color: rgba(15,14,13,.6); }
.toolbar-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.search, .select { position: relative; display: flex; align-items: center; }
.search .icon { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search input, .select select {
  height: 42px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  font: inherit; font-size: .88rem; padding: 0 18px; transition: border-color .3s;
}
.search input { padding-left: 40px; width: 220px; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a99f92' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.search input:focus, .select select:focus { outline: none; border-color: var(--accent-2); }
@media (max-width: 900px) {
  .gallery-toolbar { position: relative; top: auto !important; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; width: calc(100% + var(--gutter) * 2); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; }
  .toolbar-controls { width: 100%; }
  .search { flex: 1 1 100%; }
  .search input { width: 100%; }
  .select { flex: 1; }
  .select select { width: 100%; }
}
.results-count { color: var(--muted); font-size: .88rem; padding: 30px 0 24px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px); padding-bottom: var(--section-pad); }
.g-card { animation: cardIn .6s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }
.g-card-frame {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1;
  background: radial-gradient(ellipse at 50% 35%, #2a2622, #1a1714 75%); border-radius: 6px; overflow: hidden;
  transition: background .5s;
}
.g-card-frame::after { content: ""; position: absolute; left: 20%; right: 20%; top: 0; height: 40%; background: radial-gradient(ellipse at top, rgba(255,240,220,.08), transparent 70%); pointer-events: none; }
.g-card-pic { position: absolute; inset: 11%; display: flex; align-items: center; justify-content: center; }
.g-card-frame img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 2px 0 rgba(255,255,255,.04), 0 22px 40px -12px rgba(0,0,0,.85); transition: transform .8s var(--ease); }
.g-card-frame:hover img { transform: scale(1.05) translateY(-4px); }
.g-card-tag { position: absolute; top: 14px; left: 14px; }
.g-card-body { padding-top: 16px; }
.g-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.g-card-head h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; line-height: 1.3; }
.g-card-head span { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.g-card-meta { color: var(--muted); font-size: .86rem; margin-top: 4px; }
.g-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .85rem; }
.g-card-style { color: var(--muted); }
.g-card-price { font-weight: 600; color: var(--accent-2); white-space: nowrap; }
.g-card-price.is-sold { color: var(--muted); text-decoration: line-through; font-weight: 400; }
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
  .g-card-head { flex-direction: column; gap: 0; }
  .g-card-head h2 { font-size: 1.02rem; }
  .g-card-head span, .g-card-meta { font-size: .76rem; }
  .g-card-style { display: none; }
  .g-card-foot { font-size: .8rem; margin-top: 8px; padding-top: 8px; }
  .g-card-tag { top: 8px; left: 8px; font-size: .6rem; padding: 4px 8px; }
}
.empty-state { text-align: center; padding: 40px 0 var(--section-pad); color: var(--muted); }
.empty-state .btn { margin-top: 20px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10,9,8,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .35s; }
.lightbox.is-open { opacity: 1; }
.lb-stage { width: 100%; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: minmax(0, 1fr); }
.lb-img-wrap { height: 100%; }
.lb-img-wrap { display: flex; align-items: center; justify-content: center; padding: 70px 90px; min-height: 0; }
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 30px 80px -20px rgba(0,0,0,.9); opacity: 0; transform: scale(.98); transition: opacity .4s, transform .5s var(--ease); }
.lb-img.is-loaded { opacity: 1; transform: none; }
.lb-info { background: var(--bg-2); border-left: 1px solid var(--line); padding: 90px 36px 40px; overflow-y: auto; display: flex; flex-direction: column; }
.lb-count { font-size: .78rem; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; margin-bottom: 14px; }
.lb-title { font-family: var(--font-display); font-weight: 350; font-size: 2.1rem; line-height: 1.1; margin-bottom: 26px; }
.lb-meta { display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; font-size: .92rem; padding-block: 22px; border-block: 1px solid var(--line); }
.lb-meta dt { color: var(--muted); }
.lb-meta:empty { display: none; }
.lb-price { font-family: var(--font-display); font-size: 1.7rem; margin: 24px 0; color: var(--accent-2); }
.lb-price:empty { display: none; }
.lb-price .tag { vertical-align: middle; margin-left: 10px; }
.lb-btn { position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(36,32,28,.8); border: 1px solid var(--line); transition: background .3s, color .3s; }
.lb-btn:hover { background: var(--text); color: var(--bg); }
.lb-btn .icon { width: 22px; height: 22px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; translate: 0 -50%; }
.lb-next { right: 378px; top: 50%; translate: 0 -50%; }
.lightbox.is-simple .lb-stage { grid-template-columns: 1fr; }
.lightbox.is-simple .lb-info { display: none; }
.lightbox.is-simple .lb-next { right: 18px; }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next, .lightbox.is-single .lb-count { display: none; }
@media (max-width: 900px) {
  .lb-stage { display: block; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .lb-img-wrap { padding: 76px 16px 16px; height: 62vh; height: 62svh; }
  .lb-info { border-left: 0; border-top: 1px solid var(--line); padding: 24px var(--gutter) 30px; }
  .lb-title { font-size: 1.6rem; margin-bottom: 16px; }
  .lb-next { right: 12px; }
  .lb-prev { left: 12px; }
  .lb-prev, .lb-next { top: calc(38px + 31vh); width: 44px; height: 44px; }
  .lb-close { top: 12px; right: 12px; }
}

/* ---------- About ---------- */
.about-hero { padding: calc(var(--header-h) + clamp(50px, 8vw, 100px)) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.about-hero::before { content: ""; position: absolute; width: 800px; height: 600px; left: -200px; top: -100px; background: radial-gradient(ellipse, rgba(242,178,92,.13), transparent 65%); pointer-events: none; }
.about-hero-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-hero-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0,0,0,.9); }
.about-hero-media img { width: 100%; }
.flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.flags li { padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .82rem; color: rgba(243,238,230,.85); }
@media (max-width: 900px) { .about-hero-grid { grid-template-columns: 1fr; } }

.story-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(30px, 7vw, 110px); }
.story-aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.story-body p { font-size: clamp(1.1rem, 1.5vw, 1.28rem); line-height: 1.75; color: rgba(243,238,230,.82); }
.dropcap::first-letter { float: left; font-family: var(--font-display); font-style: italic; font-size: 5.4em; line-height: .8; margin: .08em .12em 0 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 800px) { .story-grid { grid-template-columns: 1fr; } .story-aside { position: static; } }

.timeline-section { background: var(--bg-2); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 50px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--accent-2), transparent); }
.timeline li { position: relative; padding-top: 44px; }
.timeline li::before { content: ""; position: absolute; top: 4px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--accent); }
.tl-year { font-family: var(--font-display); font-style: italic; font-size: 1.9rem; color: var(--accent-2); display: block; line-height: 1.1; margin-bottom: 10px; }
.timeline h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.timeline p { color: var(--muted); font-size: .94rem; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), var(--accent-2), transparent); }
  .timeline li { padding: 0 0 36px 42px; }
}

.quote-band { padding-block: clamp(80px, 10vw, 130px); }
.quote-band .quote { max-width: 980px; margin: 0 auto; border: 0; padding: 0; text-align: center; }
.quote-lg p { font-size: clamp(1.6rem, 3.4vw, 2.7rem); line-height: 1.3; }
.quote-lg footer { margin-top: 28px; }

.studio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.studio-item, .moment { display: block; width: 100%; border-radius: 10px; overflow: hidden; background: var(--surface); }
.studio-item img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; transition: transform 1s var(--ease); }
.moments-grid { columns: 5 200px; column-gap: 16px; }
.moment { break-inside: avoid; margin-bottom: 16px; }
.moment img { width: 100%; transition: transform 1s var(--ease); }
.studio-item:hover img, .moment:hover img { transform: scale(1.05); }
@media (max-width: 900px) { .studio-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact ---------- */
.page-hero-contact { padding-bottom: 0; }
.contact { padding-top: clamp(40px, 6vw, 70px); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-line { display: flex; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: color .3s; }
.contact-line:first-child { border-top: 1px solid var(--line); }
.contact-line small { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-line > span:last-child { font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.5rem); overflow-wrap: anywhere; line-height: 1.3; }
.contact-line:hover { color: var(--accent-2); }
.contact-icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); }
.contact-icon .icon { width: 20px; height: 20px; }
.perks { margin-top: 44px; display: grid; gap: 26px; }
.perks li { display: flex; gap: 16px; color: var(--muted); font-size: .95rem; }
.perks .icon { width: 24px; height: 24px; color: var(--accent); margin-top: 3px; }
.perks strong { display: block; color: var(--text); font-weight: 600; }
.perks a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 48px); box-shadow: 0 40px 90px -50px rgba(0,0,0,.9); }
.form-title { font-family: var(--font-display); font-weight: 350; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.15; }
.form-sub { color: var(--muted); margin: 6px 0 30px; font-size: .95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 8px; color: rgba(243,238,230,.9); }
.field label span[aria-hidden] { color: var(--accent); }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg-2);
  border: 1px solid var(--line-strong); border-radius: 10px; padding: 13px 16px; transition: border-color .3s, box-shadow .3s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a99f92' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(242,178,92,.14); }
.field.has-error input, .field.has-error textarea { border-color: #ff7b6b; }
.field-error { color: #ff8f80; font-size: .82rem; margin-top: 6px; min-height: 0; }
.field-error:empty { display: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 14px; font-size: .9rem; text-align: center; color: var(--muted); }
.form-status.is-error { color: #ff8f80; }
.form-alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 24px; font-size: .92rem; }
.form-alert.is-error { background: rgba(255,123,107,.1); border: 1px solid rgba(255,123,107,.4); }
.form-alert a { text-decoration: underline; }
[data-submit][disabled] { opacity: .7; pointer-events: none; }
[data-submit].is-loading .icon { animation: spin 1s linear infinite; }
.form-success { text-align: center; padding: 30px 0; }
.form-success p { color: var(--muted); margin: 10px 0 28px; }
.success-icon { width: 76px; height: 76px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: var(--accent-ink); }
.success-icon .icon { width: 34px; height: 34px; stroke-width: 2.2; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .form-card { order: -1; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Simple pages (thank-you / 404) ---------- */
.simple-page { min-height: 80vh; display: grid; place-items: center; padding: calc(var(--header-h) + 60px) 0 80px; text-align: center; }
.simple-inner { display: flex; flex-direction: column; align-items: center; }
.simple-inner .page-lead { margin-inline: auto; }
.simple-inner .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 1.2s; }
.js .hero .reveal:nth-child(2) { transition-delay: .12s; }
.js .hero .reveal:nth-child(3) { transition-delay: .24s; }
.js .hero .reveal:nth-child(4) { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-slide img { transform: none !important; }
}
