/* ==========================================================================
   Athsari — Portfolio
   Elegant · dusty rose + cream
   ========================================================================== */

:root {
  --cream:     #FBF7F3;
  --cream-2:   #F5ECE6;
  --blush:     #F1E1DD;
  --rose-soft: #E6CACA;
  --rose:      #C4959A;
  --rose-ink:  #A26E75;   /* italic accents on large type */
  --rose-deep: #84535B;   /* text links, bands */
  --ink:       #2B2224;
  --ink-2:     #4A3F41;
  --muted:     #75686A;
  --line:      #E8DAD3;
  --white:     #FFFDFB;

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans:  'Jost', 'Helvetica Neue', Arial, system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 18px;
  --section: clamp(80px, 11vw, 150px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 300 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--rose-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Type ---------- */
.display, .h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
.display { font-size: clamp(2.9rem, 7.2vw, 5.6rem); line-height: 1.0; }
.h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.05; }
.display em, .h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--rose-ink); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font: 500 .74rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  color: var(--rose-deep);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.center .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }

.prose p { margin: 0 0 1.1em; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }
.prose em { font-family: var(--serif); font-size: 1.15em; color: var(--rose-deep); }
.prose-lg { font-size: 1.12rem; }

.section { padding: var(--section) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-intro { color: var(--muted); font-size: 1.08rem; margin: 18px 0 0; max-width: 560px; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  font: 400 .95rem/1 var(--sans); letter-spacing: .04em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--rose-deep); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--white); transform: translateY(-2px); }
.btn-small { padding: 11px 20px; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 243, .82);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { text-decoration: none; display: flex; align-items: center; }
.brand-name { font: 500 1.65rem/1 var(--serif); letter-spacing: .01em; }
.brand-logo { max-height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.site-nav a:not(.btn) {
  text-decoration: none; font-size: .92rem; letter-spacing: .04em; color: var(--ink-2);
  position: relative; padding: 6px 0;
}
.site-nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--rose-deep);
  transition: right .35s var(--ease);
}
.site-nav a:not(.btn):hover::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a:not(.btn) { padding: 16px 0; font: 500 1.6rem/1 var(--serif); border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 20px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(60px, 8vw, 110px); position: relative; }
.hero::before {
  content: ''; position: absolute; top: -10%; right: -15%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(closest-side, rgba(230, 202, 202, .55), rgba(251, 247, 243, 0));
  pointer-events: none; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font-size: .82rem; letter-spacing: .04em; color: var(--ink-2);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #7BA387; box-shadow: 0 0 0 4px rgba(123, 163, 135, .18); }
.hero .eyebrow { display: flex; }
.hero-text { max-width: 520px; margin: 28px 0 38px; font-size: 1.12rem; color: var(--ink-2); }
.hero-text p { margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-media { position: relative; max-width: 460px; justify-self: end; width: 100%; }
.arch {
  position: relative; z-index: 1; overflow: hidden;
  border-radius: 999px 999px 22px 22px; aspect-ratio: 4 / 5;
  background: var(--blush);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-outline {
  position: absolute; inset: 22px -22px -22px 22px; z-index: 0;
  border: 1px solid var(--rose); border-radius: 999px 999px 22px 22px;
}
.hero-sign {
  position: absolute; z-index: 2; left: -38px; bottom: 34px;
  background: var(--cream); padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line);
  font: italic 500 1.25rem/1 var(--serif); color: var(--rose-deep);
  box-shadow: 0 12px 30px -16px rgba(43, 34, 36, .35);
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { justify-self: center; max-width: 360px; margin-top: 10px; }
  .hero-sign { left: -10px; }
  .arch-outline { inset: 16px -14px -14px 16px; }
}

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--cream-2); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee span { font: italic 400 clamp(1.3rem, 2.6vw, 1.9rem)/1 var(--serif); padding: 22px 26px; white-space: nowrap; color: var(--ink-2); }
.marquee i { font-style: normal; color: var(--rose); font-size: .9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; background: var(--blush); }
.about-media::after {
  content: ''; position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%;
  right: -8%; bottom: -8%; background: var(--rose-soft); z-index: -1;
}
.about-copy .h2 { margin-bottom: 28px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 40px 0 32px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-value { display: block; font: 500 clamp(2.2rem, 4vw, 3rem)/1 var(--serif); color: var(--rose-deep); }
.stat-label { display: block; font-size: .85rem; color: var(--muted); margin-top: 8px; letter-spacing: .02em; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; background: var(--white); color: var(--ink-2); }
@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; }
}
@media (max-width: 460px) { .stats { gap: 10px; } }

/* ---------- Services ---------- */
.services { background: var(--cream-2); }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(132, 83, 91, .45); border-color: var(--rose-soft); }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 34px; }
.service-num { font: italic 400 1.4rem/1 var(--serif); color: var(--rose); }
.service-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; color: var(--rose-deep); }
.service-icon .icon { width: 24px; height: 24px; }
.service h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.15; margin-bottom: 12px; }
.service p { margin: 0; color: var(--muted); }
@media (max-width: 720px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -16px 0 44px; }
.filter {
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 20px; font-size: .88rem; letter-spacing: .03em; cursor: pointer; color: var(--ink-2);
  transition: all .25s var(--ease);
}
.filter:hover { border-color: var(--rose); color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 36px) clamp(18px, 2.4vw, 30px); }
.work-card { text-decoration: none; display: block; }
.work-card.is-hidden { display: none; }
.work-img { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--blush); }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work-card:hover .work-img img { transform: scale(1.045); }
.work-arrow {
  position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--cream); display: grid; place-items: center;
  opacity: 0; transform: translateY(6px) scale(.9); transition: all .4s var(--ease);
}
.work-card:hover .work-arrow, .work-card:focus-visible .work-arrow { opacity: 1; transform: none; }
.work-meta { padding: 18px 4px 0; }
.work-cat { font: 500 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--rose-deep); }
.work-meta h3 { font-size: 1.65rem; line-height: 1.15; margin: 10px 0 6px; transition: color .3s; }
.work-card:hover h3 { color: var(--rose-deep); }
.work-meta p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.empty-filter { color: var(--muted); }
@media (max-width: 980px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } .work-arrow { opacity: 1; transform: none; } }

/* ---------- Testimonials ---------- */
.testimonials { background: linear-gradient(180deg, var(--cream) 0%, var(--blush) 100%); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote {
  margin: 0; background: var(--white); border-radius: var(--radius); padding: 34px 30px 30px;
  border: 1px solid var(--line); display: flex; flex-direction: column; position: relative;
}
.quote-mark { font: 400 5rem/0.6 var(--serif); color: var(--rose); height: 34px; display: block; }
.quote blockquote { margin: 0 0 28px; font: italic 400 1.3rem/1.5 var(--serif); color: var(--ink); flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote figcaption img, .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar { display: grid; place-items: center; background: var(--blush); color: var(--rose-deep); font: 500 1.3rem/1 var(--serif); }
.quote strong { display: block; font-weight: 500; font-size: .95rem; }
.quote small { display: block; color: var(--muted); font-size: .84rem; }
@media (max-width: 980px) { .quote-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }

/* ---------- CV band ---------- */
.cv-band {
  background: radial-gradient(120% 140% at 0% 0%, #9C6970 0%, var(--rose-deep) 45%, #6E434A 100%);
  color: var(--cream); padding: clamp(70px, 9vw, 120px) 0;
}
.cv-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.cv-band .h2 { color: var(--cream); }
.cv-band .h2 em { color: var(--rose-soft); }
.cv-side p { margin: 0 0 26px; opacity: .88; font-size: 1.05rem; }
@media (max-width: 820px) { .cv-inner { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); }
.contact-info .h2 { margin-bottom: 24px; }
.contact-list { list-style: none; padding: 0; margin: 34px 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list .icon { width: 20px; height: 20px; color: var(--rose-deep); }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.contact-list a:hover { border-color: var(--rose-deep); }
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center;
  transition: all .3s var(--ease); background: var(--white);
}
.social-row a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.social-row .icon { width: 20px; height: 20px; }

.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(26px, 4vw, 48px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.field { display: block; margin-bottom: 26px; }
.field span { display: block; font: 500 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 8px 0 12px; font: 300 1.05rem/1.5 var(--sans); color: var(--ink); border-radius: 0;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--rose-deep); }
.contact-form .btn { margin-top: 6px; }
.contact-form .btn[disabled] { opacity: .6; cursor: wait; }
.form-status { margin: 18px 0 0; font-size: .95rem; min-height: 1.5em; }
.form-status.is-ok { color: #3E6B4B; }
.form-status.is-error { color: #A23E36; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 30px; background: var(--cream-2); }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-name { font: 500 clamp(2rem, 4vw, 2.8rem)/1 var(--serif); margin: 0 0 8px; }
.footer-role { margin: 0; color: var(--muted); }
.footer-right { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.to-top { text-decoration: none; font-size: .9rem; color: var(--ink-2); }
.to-top:hover { color: var(--rose-deep); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: .84rem; color: var(--muted); }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  background: #2E7D5B; color: #fff; text-decoration: none;
  padding: 13px 18px 13px 15px; border-radius: 999px; font-size: .9rem; letter-spacing: .03em;
  box-shadow: 0 14px 30px -12px rgba(30, 80, 58, .6);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float .icon { width: 22px; height: 22px; }

/* ---------- Project page ---------- */
.preview-bar { background: #FFF2D6; text-align: center; padding: 10px 16px; font-size: .9rem; }
.project-hero { padding: clamp(30px, 6vw, 70px) 0 clamp(36px, 5vw, 56px); }
.back-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--muted); font-size: .9rem; margin-bottom: 36px; }
.back-link:hover { color: var(--rose-deep); }
.project-hero .eyebrow { display: flex; }
.project-hero .display { max-width: 900px; }
.project-summary { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink-2); max-width: 680px; margin: 24px 0 0; }
.project-facts { display: flex; flex-wrap: wrap; gap: 18px 56px; margin: 44px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.project-facts dt { font: 500 .7rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.project-facts dd { margin: 0; font: 500 1.25rem/1.3 var(--serif); }
.project-cover { margin: 0; }
.project-cover img { width: 100%; border-radius: 22px; max-height: 82vh; object-fit: cover; background: var(--blush); }
.project-body { padding-top: clamp(50px, 7vw, 90px); }
.project-body .prose { max-width: 720px; margin: 0 auto; }
.gallery { padding-top: clamp(50px, 7vw, 90px); display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.gallery-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--blush); cursor: zoom-in; }
.gallery-item:first-child { grid-column: 1 / -1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-cap {
  position: absolute; left: 14px; bottom: 14px; right: 14px; width: fit-content;
  background: rgba(251, 247, 243, .92); padding: 7px 14px; border-radius: 999px; font-size: .82rem;
}
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }

.project-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: clamp(60px, 8vw, 100px); padding-bottom: clamp(60px, 8vw, 100px); }
.pn { text-decoration: none; padding: 26px 0; border-top: 1px solid var(--ink); display: block; }
.pn small { display: flex; align-items: center; gap: 8px; font: 500 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.pn span { font: 500 clamp(1.4rem, 3vw, 2.1rem)/1.15 var(--serif); transition: color .3s; }
.pn:hover span { color: var(--rose-deep); }
.pn.next { text-align: right; grid-column: 2; }
.pn.next small { justify-content: flex-end; }
@media (max-width: 560px) { .project-nav { grid-template-columns: 1fr; } .pn.next { grid-column: 1; } }

.notfound { min-height: 50vh; }
.notfound .h2 { margin-bottom: 12px; }
.notfound .btn { margin-top: 30px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(32, 25, 27, .94);
  display: flex; align-items: center; justify-content: center; padding: 60px 70px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 8px; }
.lightbox figcaption { color: var(--cream); margin-top: 14px; font-size: .92rem; text-align: center; }
.lightbox button {
  position: absolute; background: rgba(251, 247, 243, .1); border: 0; color: var(--cream);
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  transition: background .2s;
}
.lightbox button:hover { background: rgba(251, 247, 243, .22); }
.lightbox .icon { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox { padding: 70px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
.lightbox button[hidden] { display: none; }
