/* ============================================================
   NAOBERRY SIGNATURE — style.css
   Editorial dark theme · Fraunces (display) + Manrope (body)
   ============================================================ */

:root {
  --ink: #100a0d;          /* near-black with a berry undertone */
  --ink-2: #1a1115;        /* raised surfaces */
  --ink-3: #241820;        /* borders / cards */
  --cream: #f3e9dd;        /* main text */
  --cream-dim: #b9a99c;    /* secondary text */
  --gold: #d2a24c;         /* accent 1 */
  --berry: #b13d63;        /* accent 2 — the "berry" in Naoberry */
  --berry-deep: #5e1f38;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(1.25rem, 5vw, 6rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--berry); color: var(--cream); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; color: inherit; cursor: pointer; }
em { font-style: italic; }

/* ============ FILM GRAIN ============ */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

/* ============ CUSTOM CURSOR ============ */
.cursor, .cursor-ring { display: none; }
@media (pointer: fine) {
  .cursor {
    display: block; position: fixed; z-index: 3000;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold);
    pointer-events: none;
    transform: translate(-50%, -50%);
  }
  .cursor-ring {
    display: block; position: fixed; z-index: 2999;
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid rgba(210, 162, 76, 0.45);
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.25s var(--ease), height 0.25s var(--ease),
                border-color 0.25s, background 0.25s;
  }
  .cursor-ring.is-hover {
    width: 56px; height: 56px;
    background: rgba(177, 61, 99, 0.12);
    border-color: var(--berry);
  }
}

/* ============ SIDE LABEL ============ */
.side-label {
  position: fixed; left: 1.1rem; bottom: 8rem;
  z-index: 50;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cream-dim);
  opacity: 0.55;
}
@media (max-width: 1100px) { .side-label { display: none; } }

/* ============ PRELOADER ============ */
.preloader {
  position: fixed; inset: 0; z-index: 5000;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; }
.preloader__word {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.04em;
}
.preloader__word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) rotate(4deg);
  animation: letter-in 0.7s var(--ease) forwards;
}
.preloader__word span:nth-child(1) { animation-delay: 0.05s; color: var(--gold); }
.preloader__word span:nth-child(2) { animation-delay: 0.1s; }
.preloader__word span:nth-child(3) { animation-delay: 0.15s; }
.preloader__word span:nth-child(4) { animation-delay: 0.2s; }
.preloader__word span:nth-child(5) { animation-delay: 0.25s; }
.preloader__word span:nth-child(6) { animation-delay: 0.3s; }
.preloader__word span:nth-child(7) { animation-delay: 0.35s; }
.preloader__word span:nth-child(8) { animation-delay: 0.4s; }
@keyframes letter-in {
  to { opacity: 1; transform: translateY(0) rotate(0); }
}
.preloader__sub {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--berry);
  opacity: 0;
  animation: fade-in 0.8s 0.7s forwards;
}
@keyframes fade-in { to { opacity: 1; } }

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem var(--pad);
  transition: transform 0.5s var(--ease), background 0.4s, backdrop-filter 0.4s;
}
.header.is-scrolled {
  background: rgba(16, 10, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(243, 233, 221, 0.06);
}
.header.is-hidden { transform: translateY(-110%); }
/* while the mobile menu is open, keep the bar transparent and pinned
   so the logo + close button float cleanly above the overlay */
.header.menu-open {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  transform: none;
}

.header__logo {
  display: flex; align-items: baseline; gap: 0.1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.header__logo-mark {
  display: grid; place-items: center;
  width: 2rem; height: 2rem;
  margin-right: 0.45rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1rem;
  transform: translateY(0.2rem);
}
.header__logo-text em { color: var(--gold); }

.nav { display: flex; gap: 2rem; }
.nav__link {
  position: relative;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: -0.35rem;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover { color: var(--cream); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
}

/* burger */
.burger {
  display: none;
  flex-direction: column; gap: 6px;
  padding: 0.5rem;
  z-index: 1001;
}
.burger span {
  display: block; width: 26px; height: 1.5px;
  background: var(--cream);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.burger.is-open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (max-width: 900px) { .burger { display: flex; } }

/* mobile menu — must stay BELOW the header (z 900) so the burger stays clickable */
.menu {
  position: fixed; inset: 0; z-index: 880;
  background: var(--ink-2);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 6rem var(--pad) 3rem;
  clip-path: circle(0% at calc(100% - 3rem) 2rem);
  transition: clip-path 0.7s var(--ease);
  visibility: hidden;
}
.menu.is-open {
  clip-path: circle(150% at calc(100% - 3rem) 2rem);
  visibility: visible;
}
.menu__nav { display: flex; flex-direction: column; gap: 0.4rem; }
.menu__link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 300;
  transition: color 0.3s, transform 0.3s var(--ease);
}
.menu__link:hover { color: var(--gold); transform: translateX(0.5rem); }
.menu__foot { display: flex; flex-direction: column; gap: 1.5rem; }
.menu__socials { display: flex; gap: 1.5rem; }
.menu__socials a {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream-dim);
}

/* ============ BUTTONS ============ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1rem 2.2rem;
  border: 1px solid var(--gold);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  overflow: hidden;
  transition: color 0.35s, border-color 0.35s;
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, var(--berry), var(--gold));
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); border-color: transparent; }

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn--gold::before { background: var(--cream); }
.btn--ghost { border-color: rgba(243, 233, 221, 0.25); }
.btn--small { padding: 0.65rem 1.5rem; font-size: 0.68rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold);
}
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover span { transform: translateX(0.4rem); }

/* ============ SECTIONS (shared) ============ */
.section { padding: clamp(5rem, 10vw, 9rem) var(--pad); }

.section__head {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.section__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 0.9rem;
}
.section__label {
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.section__label::before {
  content: "";
  display: inline-block;
  width: 2.4rem; height: 1px;
  background: var(--berry);
  margin-right: 1rem;
  vertical-align: middle;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.1rem, 5.5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.section__title em { color: var(--gold); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem var(--pad) 4rem;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -20%; right: -15%;
  width: 60vw; height: 60vw;
  max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(177, 61, 99, 0.22), transparent 65%);
  filter: blur(20px);
  animation: glow-drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-8%, 10%) scale(1.15); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero { padding-top: 7rem; }
}

.hero__overline {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 1.6rem;
}
.hero__overline em {
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0.1em;
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3.2rem, 9.5vw, 7.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: inline-block;
  transform: translateY(115%);
  animation: line-up 1s var(--ease) forwards;
}
.hero__title .line:nth-child(1) > span { animation-delay: 1s; }
.hero__title .line:nth-child(2) > span { animation-delay: 1.12s; }
.hero__title .line:nth-child(3) > span { animation-delay: 1.24s; }
@keyframes line-up { to { transform: translateY(0); } }
.hero__title-em em {
  background: linear-gradient(100deg, var(--gold), var(--berry) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  max-width: 46ch;
  color: var(--cream-dim);
  margin-bottom: 2.4rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.2rem; }
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

.hero__stats {
  display: flex; gap: clamp(1.5rem, 4vw, 3.5rem);
  border-top: 1px solid rgba(243, 233, 221, 0.1);
  padding-top: 1.6rem;
}
.stat__num, .stat__plus {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--cream);
}
.stat__plus { color: var(--gold); }
.stat__label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 0.2rem;
}

/* hero visual */
.hero__visual { position: relative; }
.hero__frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 100vmax 100vmax 12px 12px; /* arch shape — like a studio mirror */
  overflow: hidden;
  border: 1px solid rgba(210, 162, 76, 0.35);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
.hero__frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.hero__frame:hover img { transform: scale(1.04); }
@media (max-width: 900px) {
  /* constrain the whole visual, not just the frame, so the badge
     anchors to the photo instead of floating at the screen edge */
  .hero__visual { max-width: min(420px, 86vw); width: 100%; margin: 0 auto; }
}

/* rotating badge */
.badge {
  position: absolute;
  bottom: -2rem; left: -2.6rem;
  width: 8.5rem; height: 8.5rem;
  display: grid; place-items: center;
  z-index: 3;
}
.badge svg {
  position: absolute; inset: 0;
  animation: spin 18s linear infinite;
}
.badge svg text {
  font-size: 8.1px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  fill: var(--cream);
}
.badge__center {
  display: grid; place-items: center;
  width: 3.4rem; height: 3.4rem;
  border-radius: 50%;
  background: var(--berry);
  color: var(--cream);
  font-size: 1.2rem;
  transition: transform 0.35s var(--ease), background 0.35s;
}
.badge:hover .badge__center { transform: scale(1.15); background: var(--gold); color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .badge { left: auto; right: -0.6rem; bottom: -0.9rem; width: 6.4rem; height: 6.4rem; }
  .badge__center { width: 2.7rem; height: 2.7rem; font-size: 1rem; }
}

/* scroll hint */
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%;
  width: 1px; height: 4rem;
  background: rgba(243, 233, 221, 0.12);
  overflow: hidden;
}
.hero__scroll span {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 40%;
  background: var(--gold);
  animation: scroll-drip 2s var(--ease) infinite;
}
@keyframes scroll-drip {
  from { transform: translateY(-100%); }
  to { transform: translateY(280%); }
}

/* ============ MARQUEE ============ */
.marquee {
  border-top: 1px solid rgba(243, 233, 221, 0.08);
  border-bottom: 1px solid rgba(243, 233, 221, 0.08);
  padding: 1.1rem 0;
  overflow: hidden;
  background: var(--ink-2);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  color: var(--cream-dim);
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ PLACEHOLDER (missing images) ============ */
figure { position: relative; }
figure .ph { display: none; }
figure.is-empty img { display: none; }
figure.is-empty .ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.6rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(177, 61, 99, 0.35), transparent 55%),
    radial-gradient(circle at 75% 85%, rgba(210, 162, 76, 0.22), transparent 50%),
    var(--ink-3);
}
.ph__mono {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: rgba(243, 233, 221, 0.65);
}
.ph__hint {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243, 233, 221, 0.35);
}

/* ============ ABOUT ============ */
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

.about__photo {
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  transform: rotate(-2deg);
  border: 1px solid rgba(243, 233, 221, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo-tag {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  z-index: 2;
  padding: 0.6rem 1rem;
  background: rgba(16, 10, 13, 0.75);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.about__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.4rem;
}
.about__title em { color: var(--berry); }
.about__text p { color: var(--cream-dim); margin-bottom: 1.2rem; max-width: 56ch; }
.about__text p em { color: var(--cream); }

.about__points {
  list-style: none;
  margin: 1.6rem 0 2rem;
  display: grid; gap: 0.7rem;
}
.about__points li {
  padding-left: 1.6rem;
  position: relative;
  font-size: 0.92rem;
}
.about__points li::before {
  content: "✦";
  position: absolute; left: 0;
  color: var(--gold);
  font-size: 0.75rem;
}

/* ============ SERVICES ============ */
.services { background: var(--ink-2); }
.services .section__title { margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.services__list {
  max-width: 1300px; margin: 0 auto;
  border-top: 1px solid rgba(243, 233, 221, 0.1);
}
.service {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) 0.5rem;
  border-bottom: 1px solid rgba(243, 233, 221, 0.1);
  position: relative;
  transition: padding-left 0.4s var(--ease), background 0.4s;
}
.service::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(var(--berry), var(--gold));
  transform: scaleY(0);
  transition: transform 0.4s var(--ease);
}
.service:hover { padding-left: 1.6rem; background: rgba(177, 61, 99, 0.05); }
.service:hover::before { transform: scaleY(1); }

.service__index {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--cream-dim);
  font-size: 0.9rem;
}
.service__body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  margin-bottom: 0.3rem;
  transition: color 0.3s;
}
.service:hover .service__body h3 { color: var(--gold); }
.service__body p { color: var(--cream-dim); font-size: 0.92rem; max-width: 52ch; }
.service__cta {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  white-space: nowrap;
  transition: color 0.3s;
}
.service__cta span { display: inline-block; transition: transform 0.35s var(--ease); }
.service:hover .service__cta { color: var(--cream); }
.service:hover .service__cta span { transform: translate(3px, -3px); }
@media (max-width: 640px) {
  .service { grid-template-columns: 1fr; gap: 0.5rem; }
  .service__index { display: none; }
}

/* ============ WORK / GALLERY ============ */
.work__headrow {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 1.5rem;
  max-width: 1300px; margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}
.work__filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(243, 233, 221, 0.18);
  border-radius: 100px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: all 0.3s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--cream); }
.chip.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.work__grid {
  max-width: 1300px; margin: 0 auto;
  columns: 3;
  column-gap: 1.2rem;
}
@media (max-width: 1000px) { .work__grid { columns: 2; } }
@media (max-width: 560px) { .work__grid { columns: 1; } }

.work-item {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(243, 233, 221, 0.07);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.work-item.is-in { opacity: 1; transform: translateY(0); }
.work-item.is-filtered-out { display: none; }

.work-item figure { aspect-ratio: var(--ar, 4 / 5); overflow: hidden; }
.work-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.7s;
}
.work-item:hover img { transform: scale(1.06); }

.work-item__meta {
  position: absolute; inset: auto 0 0 0;
  z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 1rem 0.85rem;
  background: linear-gradient(transparent, rgba(16, 10, 13, 0.85));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.work-item:hover .work-item__meta { opacity: 1; transform: translateY(0); }
.work-item__cap { font-family: var(--font-display); font-style: italic; font-size: 0.95rem; }
.work-item__tag {
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(210, 162, 76, 0.4);
  border-radius: 100px;
  padding: 0.25rem 0.7rem;
}
@media (pointer: coarse) {
  .work-item__meta { opacity: 1; transform: none; } /* always show on touch */
}

.work__loadmore {
  max-width: 1300px;
  margin: 2.2rem auto 0;
  text-align: center;
}

.work__more {
  max-width: 1300px; margin: 3rem auto 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem;
}
.work__more p {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--cream-dim);
}
.work__more-links { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ============ CLASSES ============ */
.classes { background: linear-gradient(180deg, var(--ink), var(--berry-deep) 220%); }
.classes__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  max-width: 1300px; margin: 0 auto;
}
@media (max-width: 900px) { .classes__grid { grid-template-columns: 1fr; } }

.classes__text > p { color: var(--cream-dim); max-width: 54ch; margin-top: 1.4rem; }
.classes__outline {
  list-style: none;
  margin: 2rem 0;
  display: grid; gap: 0.85rem;
}
.classes__outline li {
  display: flex; gap: 0.8rem; align-items: baseline;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed rgba(243, 233, 221, 0.12);
  font-size: 0.95rem;
}
.classes__outline li span { color: var(--gold); font-size: 0.75rem; }

.classes__cta { display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; }
.classes__note { font-size: 0.78rem; color: var(--cream-dim); letter-spacing: 0.06em; }

.classes__photo {
  aspect-ratio: 4 / 5;
  border-radius: 12px 100vmax 12px 100vmax; /* leaf shape */
  overflow: hidden;
  border: 1px solid rgba(210, 162, 76, 0.25);
  transform: rotate(2deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.classes__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ============ CERTIFIED STUDENTS ============ */
.alumni__headrow {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 1.2rem;
  max-width: 1300px; margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.alumni__blurb { max-width: 42ch; color: var(--cream-dim); font-size: 0.95rem; }

.alumni__grid {
  max-width: 1300px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
@media (max-width: 900px) { .alumni__grid { grid-template-columns: repeat(2, 1fr); } }

/* pinned-photo look: alternating tilt that straightens on hover */
.alum {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(210, 162, 76, 0.25);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.45);
  transition: transform 0.5s var(--ease), border-color 0.5s;
}
.alum:nth-child(odd) { transform: rotate(-1.8deg); }
.alum:nth-child(even) { transform: rotate(1.6deg) translateY(0.8rem); }
.alum:hover { transform: rotate(0) translateY(-4px); border-color: var(--gold); }
.alum img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.alum:hover img { transform: scale(1.05); }

.alum__badge {
  position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.7rem;
  z-index: 2;
  padding: 0.45rem 0.6rem;
  text-align: center;
  background: rgba(16, 10, 13, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 7px;
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alumni__cta {
  max-width: 1300px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  text-align: center;
}

/* ============ SHOP / BEAUTY BAR ============ */
.shop { background: var(--ink-2); }
.shop__headrow {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 1.2rem;
  max-width: 1300px; margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}
.shop__blurb { max-width: 42ch; color: var(--cream-dim); font-size: 0.95rem; }

.shop__grid {
  max-width: 1300px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.2rem;
}
@media (max-width: 560px) { .shop__grid { grid-template-columns: repeat(2, 1fr); } }

.product {
  display: block;
  background: var(--ink-3);
  border: 1px solid rgba(243, 233, 221, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.product:hover {
  transform: translateY(-6px);
  border-color: rgba(210, 162, 76, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}
.product figure { aspect-ratio: 1 / 1; overflow: hidden; }
.product img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product:hover img { transform: scale(1.06); }

.product__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
  padding: 0.75rem 0.95rem;
  border-top: 1px solid rgba(243, 233, 221, 0.06);
}
.product__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--cream-dim);
}
.product__order {
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.product__order span { display: inline-block; transition: transform 0.3s var(--ease); }
.product:hover .product__order span { transform: translate(2px, -2px); }
@media (max-width: 560px) {
  .product__bar { padding: 0.6rem 0.75rem; }
  .product__order { font-size: 0.56rem; }
}

.shop__more { max-width: 1300px; margin: 2.4rem auto 0; }

/* ============ TESTIMONIALS ============ */
.voices { text-align: center; }
.voices .section__head { justify-content: center; }
.voices__slider {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  min-height: 14rem;
}
.voice {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}
.voice.is-active { opacity: 1; transform: none; pointer-events: auto; }
.voice p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.3rem, 3.2vw, 2rem);
  line-height: 1.4;
  margin-bottom: 1.4rem;
}
.voice p::before { content: ""; display: block; font-size: 2rem; color: var(--berry); }
.voice cite {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.voices__dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 2rem; }
.voices__dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(243, 233, 221, 0.2);
  transition: background 0.3s, transform 0.3s;
}
.voices__dots button.is-active { background: var(--gold); transform: scale(1.4); }

/* ============ CONTACT ============ */
.contact { background: var(--ink-2); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  max-width: 1300px; margin: 0 auto;
  align-items: start;
}
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

.contact__info .section__title { margin-bottom: 2.2rem; }
.contact__block { margin-bottom: 1.8rem; }
.contact__key {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.contact__block p { color: var(--cream-dim); }
.contact__block a { transition: color 0.3s; }
.contact__block a:hover { color: var(--gold); }
.contact__socials { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.contact__info > .btn { margin-top: 0.6rem; }

.contact__map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(243, 233, 221, 0.1);
  min-height: 420px;
  height: 100%;
}
.contact__map iframe {
  width: 100%; height: 100%; min-height: 420px;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(0.9);
}

/* ============ FOOTER ============ */
.footer {
  padding: 4rem var(--pad) 1.5rem;
  border-top: 1px solid rgba(243, 233, 221, 0.07);
  overflow: hidden;
}
.footer__top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem;
  margin-bottom: 2rem;
}
.footer__tag { font-family: var(--font-display); font-size: 1.3rem; }
.footer__tag em { color: var(--gold); }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer__links a {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.3s;
}
.footer__links a:hover { color: var(--gold); }

.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(4rem, 18vw, 16rem);
  line-height: 0.8;
  text-align: center;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, rgba(243, 233, 221, 0.14), transparent 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  transform: translateY(0.12em);
}
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(243, 233, 221, 0.07);
  font-size: 0.72rem;
  color: var(--cream-dim);
}

/* ============ FLOATING WHATSAPP ============ */
.wa-float {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  z-index: 800;
  display: grid; place-items: center;
  width: 3.4rem; height: 3.4rem;
  border-radius: 50%;
  background: #23c15e;
  color: #fff;
  box-shadow: 0 10px 30px rgba(35, 193, 94, 0.35);
  animation: wa-pulse 2.6s infinite;
  transition: transform 0.3s var(--ease);
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 1.7rem; height: 1.7rem; }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 30px rgba(35, 193, 94, 0.35), 0 0 0 0 rgba(35, 193, 94, 0.4); }
  70% { box-shadow: 0 10px 30px rgba(35, 193, 94, 0.35), 0 0 0 18px rgba(35, 193, 94, 0); }
  100% { box-shadow: 0 10px 30px rgba(35, 193, 94, 0.35), 0 0 0 0 rgba(35, 193, 94, 0); }
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 1500;
  background: rgba(16, 10, 13, 0.92);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.2rem;
  padding: 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__frame {
  max-width: min(90vw, 560px);
  max-height: 76vh;
}
.lightbox__frame img {
  max-width: 100%; max-height: 64vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease;
}
.lightbox__frame figcaption {
  margin-top: 0.9rem;
  display: flex; align-items: center; justify-content: center; gap: 0.8rem;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--cream-dim);
}
.lightbox__tag {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(210, 162, 76, 0.4);
  border-radius: 100px;
  padding: 0.28rem 0.75rem;
  white-space: nowrap;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid; place-items: center;
  width: 3.1rem; height: 3.1rem;
  border-radius: 50%;
  border: 1px solid rgba(243, 233, 221, 0.25);
  background: rgba(16, 10, 13, 0.55);
  color: var(--cream);
  font-size: 1.15rem;
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.lightbox__nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-50%) scale(1.08);
}
.lightbox__nav--prev { left: clamp(0.6rem, 3vw, 2.5rem); }
.lightbox__nav--next { right: clamp(0.6rem, 3vw, 2.5rem); }
@media (max-width: 640px) {
  .lightbox__nav {
    top: auto; bottom: 4.6rem; transform: none;
    width: 2.7rem; height: 2.7rem;
  }
  .lightbox__nav:hover { transform: scale(1.08); }
}

.lightbox__foot {
  display: flex; align-items: center; gap: 1.6rem;
}
.lightbox__count {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--cream-dim);
  letter-spacing: 0.08em;
}
.lightbox__close {
  position: absolute; top: 1.4rem; right: 1.6rem;
  font-size: 1.4rem;
  color: var(--cream-dim);
  transition: color 0.3s, transform 0.3s;
}
.lightbox__close:hover { color: var(--cream); transform: rotate(90deg); }
.lightbox__ig {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(210, 162, 76, 0.4);
  padding-bottom: 0.2rem;
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .work-item { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
}
