/* =============================================================
   Wallpaper Solutions — styles.css
   Editorial / elegant. Real project photography + warm palette.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f4efe4;   /* warm bone */
  --bg-2:      #ebe3d3;   /* sand */
  --paper:     #fbf8f1;
  --ink:       #17140f;   /* near-black (matches logo background) */
  --ink-soft:  #3a342b;
  --ink-mute:  #7a7161;
  --accent:    #9a7526;   /* deep gold — accents on light backgrounds */
  --accent-d:  #7d5f1e;
  --gold:      #c69a4b;   /* brand gold (matches logo + watermark) */
  --gold-2:    #e2bd77;   /* bright gold highlight (on dark) */
  --sage:      #6f7859;
  --line:      rgba(23, 20, 15, 0.12);
  --line-2:    rgba(23, 20, 15, 0.07);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --wrap: 1180px;
  --gutter: clamp(1.2rem, 4vw, 3rem);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
  line-height: 1.04;
  letter-spacing: -0.015em;
}
em { font-style: italic; color: var(--accent); }

::selection { background: var(--accent); color: var(--paper); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--ink); color: var(--paper);
  z-index: 9999; border-radius: 8px; font-weight: 500;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.kicker { font-family: var(--sans); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.section-num { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =============================================================
   4. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 500; font-size: .95rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  transition: transform .3s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
  will-change: transform;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(198, 154, 75, .7); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); background: var(--paper); }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-ico { transition: transform .3s var(--ease-out); }
.btn:hover .btn-ico { transform: translateX(4px); }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(244, 239, 228, .86);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
  display: flex; align-items: center; gap: 1.4rem; height: 74px;
}
.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand-logo { height: 46px; width: auto; display: block; }
.nav:not(.is-solid) .brand-logo { filter: drop-shadow(0 2px 10px rgba(0,0,0,.5)); }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px;
  background: var(--ink); color: var(--gold-2);
  font-family: var(--serif); font-weight: 500; font-size: 1rem;
  border: 1px solid rgba(226, 189, 119, .35);
}
/* On the transparent hero, make the top bar legible over the photo */
.nav:not(.is-solid) .brand-name,
.nav:not(.is-solid) .nav-links a { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.nav:not(.is-solid) .nav-toggle span { background: #fff; }
.brand-name { font-family: var(--serif); font-size: 1.16rem; letter-spacing: -.01em; transition: color .4s var(--ease-out); }
.nav-links { display: flex; gap: 1.7rem; }
.nav-links a { font-size: .92rem; color: var(--ink-soft); position: relative; padding: .3rem 0; transition: color .4s var(--ease-out); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { padding: .6rem 1.25rem; font-size: .88rem; }
.nav:not(.is-solid) .nav-cta { background: #fff; color: var(--ink); }

.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; gap: 6px; justify-content: center; align-items: center; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: transform .3s var(--ease-out), opacity .3s; }
.nav.is-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav-drawer {
  display: none; flex-direction: column; gap: .3rem;
  padding: 1rem var(--gutter) 1.6rem;
  background: rgba(244, 239, 228, .97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-drawer a { padding: .85rem .2rem; font-size: 1.05rem; border-bottom: 1px solid var(--line-2); }
.nav-drawer .btn { margin-top: .8rem; justify-content: center; }
.nav.is-open .nav-drawer { display: flex; }

/* =============================================================
   6. Hero — full-bleed photo
   ============================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* Hero slideshow */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.6s var(--ease-out); will-change: opacity;
}
.hero-slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-active { animation: heroKenBurns 9s ease-out both; }
}
@keyframes heroKenBurns { from { transform: scale(1.04); } to { transform: scale(1.13); } }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,16,12,.42) 0%, rgba(20,16,12,0) 30%, rgba(20,16,12,.12) 55%, rgba(20,16,12,.82) 100%),
    linear-gradient(90deg, rgba(20,16,12,.55) 0%, rgba(20,16,12,.05) 60%);
}
.hero-content {
  position: relative; z-index: 2;
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto;
  padding-bottom: clamp(3rem, 8vh, 6rem); padding-top: 6rem;
  color: #fff; max-width: 44ch;
}
.hero .kicker { color: #f0c98a; }
.hero-title {
  font-size: clamp(2.9rem, 8.5vw, 6rem); line-height: 0.98; margin: 1rem 0 1.3rem;
  letter-spacing: -0.03em; color: #fff;
}
.hero .hero-title em { color: #f0c98a; }
.hero-sub { font-size: clamp(1.05rem, 2.4vw, 1.28rem); color: rgba(255,255,255,.9); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 2rem; font-size: .86rem; color: rgba(255,255,255,.82); }
.hero-meta li { display: flex; align-items: center; gap: .5rem; }
.hero-meta .dot { width: 8px; height: 8px; border-radius: 50%; background: #f0c98a; box-shadow: 0 0 0 4px rgba(240,201,138,.22); }

/* =============================================================
   7. Marquee
   ============================================================= */
.marquee { border-block: 1px solid var(--line); background: var(--ink); color: var(--paper); overflow: hidden; padding: .9rem 0; }
.marquee-track {
  display: inline-flex; align-items: center; gap: 1.6rem; white-space: nowrap;
  font-family: var(--serif); font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-style: italic;
  animation: marquee 34s linear infinite;
}
.marquee-track .sep { color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   8. About
   ============================================================= */
.about { padding: clamp(4rem, 10vh, 7.5rem) 0; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.about-body h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); margin: .6rem 0 1.3rem; }
.about-body .lead { font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: var(--ink-soft); max-width: 54ch; margin-bottom: 1rem; }
.about-body > p { max-width: 58ch; color: var(--ink-soft); }
.about-points { display: grid; gap: 1.4rem; margin-top: 2.4rem; }
.about-points div { display: flex; flex-direction: column; gap: .25rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.about-points strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.about-points span { color: var(--ink-mute); font-size: .95rem; }

/* =============================================================
   9. Section heads
   ============================================================= */
.section-head { max-width: 48ch; margin-bottom: clamp(2rem, 5vw, 3.4rem); }
.section-head h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); margin: .7rem 0 .8rem; }
.section-intro { color: var(--ink-soft); font-size: 1.08rem; }

/* =============================================================
   10. Services cards
   ============================================================= */
.services { padding: clamp(4rem, 9vh, 7rem) 0; background: var(--bg-2); }
.cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 1.9rem 1.7rem;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s var(--ease-out);
  transform-style: preserve-3d; will-change: transform;
}
.card:hover { box-shadow: 0 26px 50px -26px rgba(33, 29, 23, .32); border-color: transparent; }
.card-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--bg); color: var(--accent); font-size: 1.4rem; margin-bottom: 1.1rem; }
.card h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: .5rem; }
.card p { color: var(--ink-mute); font-size: .96rem; }

/* =============================================================
   11. Our work — gallery
   ============================================================= */
.work { padding: clamp(4rem, 9vh, 7rem) 0; }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; }
.chip {
  font-family: var(--sans); font-size: .86rem; font-weight: 500;
  padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft);
  transition: background .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.gallery { columns: 1; column-gap: 1rem; }
.shot {
  position: relative; break-inside: avoid; margin-bottom: 1rem; border-radius: 14px; overflow: hidden;
  background: var(--bg-2); cursor: zoom-in; box-shadow: 0 1px 0 rgba(33,29,23,.04);
}
.shot img { width: 100%; height: auto; display: block; transition: transform .7s var(--ease-out); }
.shot:hover img { transform: scale(1.045); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1.1rem .9rem;
  font-family: var(--sans); font-size: .9rem; font-weight: 500; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(20,16,12,.78));
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.shot:hover figcaption { opacity: 1; transform: none; }
@media (hover: none) { .shot figcaption { opacity: 1; transform: none; } }
.shot.is-hidden { display: none; }

.work-cta { margin-top: 1.6rem; color: var(--ink-mute); font-size: 1rem; }
.work-cta a { color: var(--accent); font-weight: 500; }
.work-cta a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* =============================================================
   12. Process
   ============================================================= */
.process { padding: clamp(4rem, 9vh, 7rem) 0; background: var(--ink); color: var(--paper); }
.process .section-num { color: rgba(251,248,241,.6); }
.process h2 { color: var(--paper); }
.process em { color: var(--gold-2); }
.steps { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.step { padding: 1.8rem 1.6rem; border: 1px solid rgba(251,248,241,.14); border-radius: 16px; background: rgba(251,248,241,.03); }
.step-n { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-2); font-family: var(--serif); font-size: 1.1rem; margin-bottom: 1rem; }
.step h3 { color: var(--paper); font-size: 1.25rem; font-weight: 500; margin-bottom: .45rem; }
.step p { color: rgba(251,248,241,.62); font-size: .95rem; }

/* =============================================================
   13. Testimonials
   ============================================================= */
.quotes { padding: clamp(4rem, 9vh, 7rem) 0; }
.quote-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 1.9rem 1.7rem; }
.quote p { font-family: var(--serif); font-size: 1.16rem; line-height: 1.4; margin-bottom: 1.1rem; }
.quote cite { font-style: normal; font-size: .85rem; letter-spacing: .04em; color: var(--ink-mute); text-transform: uppercase; }

/* =============================================================
   14. Contact
   ============================================================= */
.contact { position: relative; padding: clamp(4.5rem, 10vh, 8rem) 0; background: var(--bg-2); overflow: hidden; }
.contact-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 2.6rem; }
.contact-lead h2 { font-size: clamp(2.1rem, 6vw, 3.6rem); margin: .7rem 0 1rem; }
.contact-lead p { color: var(--ink-soft); max-width: 42ch; margin-bottom: 1.8rem; }
.contact-list { display: grid; gap: 0; }
.contact-list li { display: flex; flex-direction: column; gap: .2rem; padding: 1.05rem 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.contact-list a, .contact-list li > span:last-child { font-family: var(--serif); font-size: 1.35rem; transition: color .3s var(--ease-out); }
.contact-list a:hover { color: var(--accent); }

/* =============================================================
   15. Footer
   ============================================================= */
.footer { padding: 3rem 0; background: var(--ink); color: var(--paper); }
.footer-inner { display: grid; gap: 1rem; text-align: center; justify-items: center; }
.footer-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.1rem; }
.footer-brand .brand-mark { background: var(--paper); color: var(--ink); width: 34px; height: 34px; }
.footer-tag { color: rgba(251,248,241,.6); font-size: .92rem; }
.footer-social { display: flex; gap: 1.4rem; }
.footer-social a { font-size: .9rem; color: rgba(251,248,241,.85); }
.footer-social a:hover { color: var(--gold-2); }
.footer-logo { width: clamp(150px, 26vw, 200px); height: auto; }
.footer-copy { color: rgba(251,248,241,.4); font-size: .82rem; }

/* =============================================================
   16. Lightbox
   ============================================================= */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(18,14,10,.94); display: none; place-items: center; }
.lightbox.is-open { display: grid; }
.lb-img { max-width: 92vw; max-height: 82vh; border-radius: 8px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); }
.lb-caption { position: absolute; bottom: max(1.2rem, env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; color: rgba(255,255,255,.85); font-size: .95rem; }
.lb-close, .lb-nav {
  position: absolute; z-index: 2; color: #fff; background: rgba(255,255,255,.1);
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; line-height: 1;
  transition: background .3s var(--ease-out), transform .3s var(--ease-out);
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.22); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.08); }
.lb-next:hover { transform: translateY(-50%) scale(1.08); }

/* =============================================================
   17. Floating WhatsApp
   ============================================================= */
.fab {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 800; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .35s var(--ease-bounce), box-shadow .35s var(--ease-out);
}
.fab:hover { transform: scale(1.08) translateY(-2px); }

/* =============================================================
   18. Splash
   ============================================================= */
.splash { position: fixed; inset: 0; z-index: 9998; display: grid; place-items: center; background: #100d09; animation: splashSafety .01s 4.2s forwards; }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.splash-logo { width: clamp(200px, 44vw, 320px); height: auto; animation: markPulse 1.8s var(--ease-soft) infinite; }
.splash.is-out { opacity: 0; pointer-events: none; transition: opacity .6s var(--ease-out); }
@keyframes markPulse { 0%, 100% { transform: translateY(0) scale(1); opacity: .92; } 50% { transform: translateY(-6px) scale(1.015); opacity: 1; } }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; visibility: hidden; } }

/* =============================================================
   19. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .about-grid { grid-template-columns: 200px 1fr; gap: 3rem; }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .gallery { columns: 2; column-gap: 1.2rem; }
  .shot { margin-bottom: 1.2rem; }
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr auto; text-align: left; justify-items: start; align-items: center; }
  .footer-tag { grid-row: 2; }
  .footer-social { justify-self: end; }
  .footer-copy { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .gallery { columns: 3; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .contact-inner { grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
  .about-body h2 { max-width: 20ch; }
}
@media (max-width: 719px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* =============================================================
   20. Reduced motion — only gate intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 90s; }
  .splash-mark { animation: none; }
}

/* =============================================================
   21. Portfolio grid + project viewer
   ============================================================= */
.pf-filters {
  display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center;
  margin: 1.6rem 0 2.6rem;
}
.pf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(.8rem, 1.6vw, 1.3rem);
}
.pf-card {
  cursor: pointer; opacity: 0; transform: translateY(18px);
  animation: pfIn .6s var(--ease-out) forwards;
}
@keyframes pfIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pf-card { animation: none; opacity: 1; transform: none; } }
.pf-card-media {
  position: relative; overflow: hidden; border-radius: 14px;
  aspect-ratio: 4 / 3; background: var(--bg-2);
  box-shadow: 0 1px 2px rgba(23,20,15,.06);
}
.pf-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .8s var(--ease-out);
}
.pf-card:hover .pf-card-media img,
.pf-card:focus-visible .pf-card-media img { transform: scale(1.06); }
.pf-card:focus-visible { outline: none; }
.pf-card:focus-visible .pf-card-media { outline: 2px solid var(--accent); outline-offset: 3px; }
.pf-badge {
  position: absolute; left: .6rem; bottom: .6rem;
  background: rgba(23,20,15,.72); color: #fff; font-size: .72rem;
  padding: .3rem .6rem; border-radius: 999px; letter-spacing: .01em;
  backdrop-filter: blur(4px);
}
.pf-star {
  position: absolute; top: .6rem; right: .6rem; z-index: 2;
  background: var(--gold); color: var(--ink);
  font-size: .64rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .55rem; border-radius: 999px;
  box-shadow: 0 6px 16px -8px rgba(198,154,75,.9);
}
.pf-card figcaption {
  font-family: var(--sans); font-size: .85rem; color: var(--ink-soft);
  margin-top: .6rem; padding-left: .1rem;
}
.pf-more-wrap { text-align: center; margin-top: 2.6rem; }

/* Project viewer overlay */
.pf-viewer {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(14, 12, 9, .96);
  display: none; flex-direction: column;
  padding: clamp(.7rem, 2vw, 1.4rem);
}
.pf-viewer.is-open { display: flex; }
.pf-viewer-top {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--bg); gap: 1rem; flex: 0 0 auto;
}
.pf-viewer-title { font-family: var(--serif); font-size: clamp(1rem, 2.2vw, 1.25rem); color: var(--gold-2); }
.pf-close {
  color: var(--bg); font-size: 1.3rem; width: 44px; height: 44px;
  border-radius: 999px; display: grid; place-items: center;
  transition: background .25s var(--ease-out);
}
.pf-close:hover { background: rgba(255,255,255,.12); }
.pf-viewer-main {
  flex: 1 1 auto; min-height: 0; position: relative;
  display: flex; align-items: center; justify-content: center;
  margin: .4rem 0;
}
.pf-stage {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
}
.pf-stage img, .pf-stage video {
  max-width: 100%; max-height: 100%; object-fit: contain;
  border-radius: 8px; box-shadow: 0 20px 60px -20px rgba(0,0,0,.7);
}
.pf-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 52px; height: 52px; border-radius: 999px;
  background: rgba(255,255,255,.10); color: #fff; font-size: 1.8rem; line-height: 1;
  display: grid; place-items: center; backdrop-filter: blur(4px);
  transition: background .25s var(--ease-out), transform .25s var(--ease-out);
}
.pf-nav:hover { background: var(--gold); color: var(--ink); }
.pf-prev { left: .3rem; } .pf-next { right: .3rem; }
.pf-thumbs {
  flex: 0 0 auto; display: flex; gap: .5rem; overflow-x: auto;
  padding: .5rem .2rem .2rem; scrollbar-width: thin;
}
.pf-thumb {
  flex: 0 0 auto; width: 78px; height: 58px; border-radius: 7px; overflow: hidden;
  opacity: .45; position: relative; background: #000; cursor: pointer;
  transition: opacity .25s var(--ease-out);
}
.pf-thumb:hover { opacity: .8; }
.pf-thumb.is-active { opacity: 1; outline: 2px solid var(--gold); outline-offset: -2px; }
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pf-vthumb {
  width: 100%; height: 100%; display: grid; place-items: center;
  color: var(--gold-2); font-size: .66rem; letter-spacing: .04em;
  background: linear-gradient(135deg, #2a2620, #17140f);
}
@media (max-width: 719px) {
  .pf-nav { width: 44px; height: 44px; font-size: 1.5rem; }
  .pf-thumb { width: 64px; height: 48px; }
}

/* =============================================================
   22. Quote intent modal
   ============================================================= */
.quote-modal {
  position: fixed; inset: 0; z-index: 1100;
  display: none; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(14, 12, 9, .55); backdrop-filter: blur(6px);
}
.quote-modal.is-open { display: flex; animation: qmFade .3s var(--ease-out); }
@keyframes qmFade { from { opacity: 0; } to { opacity: 1; } }
.quote-card {
  position: relative; width: min(100%, 540px);
  background: var(--paper); border-radius: 20px;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.55);
  border: 1px solid var(--line-2);
  max-height: 92vh; overflow-y: auto;
}
.quote-modal.is-open .quote-card { animation: qmPop .4s var(--ease-out); }
@keyframes qmPop { from { transform: translateY(16px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.quote-close {
  position: absolute; top: .8rem; right: .8rem; width: 40px; height: 40px;
  border-radius: 999px; display: grid; place-items: center; font-size: 1.1rem;
  color: var(--ink-mute); transition: background .25s var(--ease-out), color .25s var(--ease-out);
}
.quote-close:hover { background: var(--bg-2); color: var(--ink); }
.quote-kicker { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.quote-title { font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 1.9rem); margin-top: .4rem; }
.quote-sub { color: var(--ink-mute); font-size: .95rem; margin-top: .5rem; }
.quote-options { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.5rem; }
.quote-opt {
  display: flex; align-items: center; gap: 1rem;
  padding: .95rem 1.1rem; border-radius: 14px;
  border: 1px solid var(--line); background: var(--bg);
  transition: border-color .25s var(--ease-out), background .25s var(--ease-out), transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.quote-opt:hover, .quote-opt:focus-visible {
  border-color: var(--gold); background: var(--paper);
  transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(198,154,75,.6);
  outline: none;
}
.quote-opt-ico { font-size: 1.5rem; flex: 0 0 auto; line-height: 1; }
.quote-opt-txt { display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.quote-opt-txt strong { font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--ink); }
.quote-opt-txt span { font-size: .84rem; color: var(--ink-mute); line-height: 1.35; }
.quote-opt-arrow { font-size: 1.2rem; color: var(--accent); flex: 0 0 auto; transition: transform .25s var(--ease-out); }
.quote-opt:hover .quote-opt-arrow, .quote-opt:focus-visible .quote-opt-arrow { transform: translateX(4px); }
.quote-foot { text-align: center; font-size: .9rem; color: var(--ink-mute); margin-top: 1.4rem; }
.quote-foot a { color: var(--accent); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }

/* Gallery note */
.work-note {
  max-width: 62ch; margin: 0 auto 0.5rem; text-align: center;
  font-size: .92rem; line-height: 1.6; color: var(--ink-mute);
  padding: .9rem 1.2rem; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--paper);
}
.work-note-ico { color: var(--gold); margin-right: .4rem; }
