/* =============================================================
   PIXELPRESS — STYLES
   You normally never need to touch this file.
   Colors live in the :root block below if you want to rebrand.
   ============================================================= */

:root {
  --ink: #2b3446;         /* dark slate (matches logo tagline) */
  --ink-soft: #626b7a;    /* muted text */
  --paper: #f5f2ec;       /* warm cream background (matches logo) */
  --paper-alt: #eee9df;   /* alternating section bg */
  --line: #ddd7ca;        /* hairlines */
  --accent: #4a90c2;      /* brand blue — links & small highlights */
  --card: #ffffff;

  /* PIXELPRESS brand palette (from the logo) — used to color-cycle
     services, steps, stats, etc. */
  --c1: #e8739e;          /* pink   */
  --c2: #4a90c2;          /* blue   */
  --c3: #54b8a6;          /* teal   */
  --c4: #eab94e;          /* yellow */
  --c5: #a98ac9;          /* purple */
  --brand-gradient: linear-gradient(90deg,
    var(--c1) 0%, var(--c2) 26%, var(--c3) 50%, var(--c4) 74%, var(--c5) 100%);

  --max: 1100px;
  --gap: clamp(1.2rem, 3vw, 2.2rem);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

/* rainbow brand ribbon across the very top */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--brand-gradient);
  z-index: 100;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}

a { color: inherit; text-decoration: none; }

/* ---------------- NAV ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: 0.94rem;
  font-weight: 500;
}
.nav__links a { color: var(--ink-soft); transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  color: var(--ink) !important;
  border: 1px solid var(--ink);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav__cta:hover { background: var(--ink); color: var(--paper) !important; }

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 13vw, 10rem) 0 clamp(3.5rem, 9vw, 6.5rem);
  border-bottom: 1px solid var(--line);
}
/* soft moving color wash — subtle, premium, not "AI gradient" */
.hero__glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle at 28% 26%, rgba(232,115,158,0.28), transparent 60%),
              radial-gradient(circle at 74% 40%, rgba(74,144,194,0.24), transparent 58%),
              radial-gradient(circle at 55% 78%, rgba(234,185,78,0.22), transparent 60%);
  filter: blur(10px);
  border-radius: 50%;
  animation: float 14s ease-in-out infinite;
  pointer-events: none;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-4%, 6%) scale(1.08); }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
}
.hero__title {
  position: relative;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 7.5vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 15ch;
}
/* accent on the last word of the headline (set via JS) */
.hero__title .accentword {
  font-style: italic;
  position: relative;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 52ch;
}
.hero__actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* two-column hero: text + photo collage */
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__media {
  position: relative;
  height: clamp(360px, 42vw, 520px);
}
.hero__frame {
  position: absolute;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper-alt);
  box-shadow: 0 26px 60px -30px rgba(20,19,15,0.6);
  border: 1px solid rgba(255,255,255,0.6);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* staggered, overlapping frames with gentle float */
.hero__frame--1 {
  width: 58%; height: 78%;
  left: 0; top: 8%;
  z-index: 2;
  animation: bob 7s ease-in-out infinite;
}
.hero__frame--2 {
  width: 46%; height: 58%;
  right: 0; top: 0;
  z-index: 3;
  animation: bob 8s ease-in-out infinite 0.6s;
}
.hero__frame--3 {
  width: 44%; height: 42%;
  right: 6%; bottom: 0;
  z-index: 1;
  animation: bob 9s ease-in-out infinite 1.2s;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--accent); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

/* ---------------- SECTIONS ---------------- */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.section--alt { background: var(--paper-alt); }
.section__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section__no {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 600;
}
.section__head--stack { align-items: flex-start; }
.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
}
/* small brand-gradient kicker above every section title */
.section__title::before {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: var(--brand-gradient);
  margin-bottom: 1.1rem;
}
.section__sub {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 46ch;
}
/* small highlighted callout chip */
.pill-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
}

/* ---------------- STATS BAND ---------------- */
.stats {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(2.4rem, 5vw, 3.4rem) 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.stat:nth-child(5n+1) .stat__value { color: var(--c1); }
.stat:nth-child(5n+2) .stat__value { color: var(--c2); }
.stat:nth-child(5n+3) .stat__value { color: var(--c3); }
.stat:nth-child(5n+4) .stat__value { color: var(--c4); }
.stat:nth-child(5n+5) .stat__value { color: var(--c5); }
.stat__value {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1;
}
.stat__label {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 62%, transparent);
}

/* ---------------- APPROACH (connected step timeline) ---------------- */
.approach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.step:nth-child(5n+1) { --c: var(--c1); }
.step:nth-child(5n+2) { --c: var(--c2); }
.step:nth-child(5n+3) { --c: var(--c3); }
.step:nth-child(5n+4) { --c: var(--c4); }
.step:nth-child(5n+5) { --c: var(--c5); }
.step { position: relative; }
.step__top {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
}
.step__icon {
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--c, var(--accent));
  box-shadow: 0 14px 26px -12px var(--c, var(--accent));
  transition: transform 0.25s ease;
}
.step:hover .step__icon { transform: translateY(-4px) rotate(-4deg); }
.step__icon svg { width: 28px; height: 28px; }
/* dotted connector flowing to the next step */
.step__line {
  flex: 1;
  height: 2px;
  margin-left: 10px;
  background: repeating-linear-gradient(90deg,
    color-mix(in srgb, var(--c, var(--accent)) 55%, transparent) 0 7px,
    transparent 7px 15px);
}
.step:last-child .step__line { display: none; }
.step__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c, var(--accent));
  font-weight: 700;
}
.step__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0.35rem 0 0.5rem;
}
.step__desc { color: var(--ink-soft); font-size: 0.98rem; }
@media (max-width: 760px) {
  .approach { grid-template-columns: 1fr; gap: 2rem; }
  .step__line { display: none; }
}


/* ---------------- SERVICES SLIDING BANNER ---------------- */
.banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px -34px rgba(43,52,70,0.55);
  background: var(--paper-alt);
}
.banner__track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.2, 1);
}
.bslide {
  position: relative;
  flex: 0 0 100%;
  min-height: clamp(360px, 46vw, 480px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.bslide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 6s ease-out;
}
/* slow, smooth ken-burns zoom-out on the visible slide */
.bslide.is-active .bslide__img { transform: scale(1); }
/* legibility scrim */
.bslide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24,26,32,0.82), rgba(24,26,32,0.28) 55%, transparent),
    linear-gradient(to top, rgba(24,26,32,0.65), transparent 55%);
}
/* per-slide brand accent color */
.bslide:nth-child(5n+1) { --c: var(--c1); }
.bslide:nth-child(5n+2) { --c: var(--c2); }
.bslide:nth-child(5n+3) { --c: var(--c3); }
.bslide:nth-child(5n+4) { --c: var(--c4); }
.bslide:nth-child(5n+5) { --c: var(--c5); }
.bslide__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: clamp(1.8rem, 4.5vw, 3.6rem);
  max-width: 42ch;
  text-shadow: 0 2px 26px rgba(0,0,0,0.4);
}
/* each line fades + rises in, staggered, once the slide is active */
.bslide__chip,
.bslide__title,
.bslide__desc {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}
.bslide.is-active .bslide__chip,
.bslide.is-active .bslide__title,
.bslide.is-active .bslide__desc {
  opacity: 1;
  transform: none;
  filter: none;
}
.bslide.is-active .bslide__chip  { transition-delay: 0.12s; }
.bslide.is-active .bslide__title { transition-delay: 0.24s; }
.bslide.is-active .bslide__desc  { transition-delay: 0.38s; }

/* icon badge — brand colored per slide */
.bslide__chip {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  background: var(--c, rgba(255,255,255,0.18));
  box-shadow: 0 12px 26px -10px rgba(0,0,0,0.45);
  margin-bottom: 1.3rem;
}
.bslide__chip svg { width: 25px; height: 25px; }
.bslide__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin-bottom: 1rem;
}
/* animated accent underline under the title */
.bslide__title::after {
  content: "";
  display: block;
  height: 4px;
  width: 0;
  margin-top: 1rem;
  border-radius: 999px;
  background: var(--c, #fff);
  box-shadow: 0 2px 12px -2px var(--c, transparent);
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s;
}
.bslide.is-active .bslide__title::after { width: 72px; }
.bslide__desc {
  font-size: clamp(1.06rem, 1.9vw, 1.34rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.95);
  max-width: 42ch;
}
/* dots */
.banner__dots {
  position: absolute;
  right: clamp(1.2rem, 3vw, 2.4rem);
  bottom: clamp(1.2rem, 3vw, 2.2rem);
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}
.bdot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: width 0.35s ease, background 0.35s ease;
}
.bdot.is-active {
  width: 30px;
  background: #fff;
}

/* ---------------- WORK GALLERY (mosaic) ---------------- */
/* clean, evenly-aligned grid — every tile the same size, no gaps */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tile {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--brand-gradient);   /* branded fallback until an image loads */
  box-shadow: 0 14px 34px -24px rgba(43,52,70,0.6);
  cursor: pointer;
}
/* color each tile differently when no image is present */
.tile:nth-child(5n+1) { background: linear-gradient(150deg, var(--c1), #f2a6c0); }
.tile:nth-child(5n+2) { background: linear-gradient(150deg, var(--c2), #8fc0e0); }
.tile:nth-child(5n+3) { background: linear-gradient(150deg, var(--c3), #9ad9cd); }
.tile:nth-child(5n+4) { background: linear-gradient(150deg, var(--c4), #f4d789); }
.tile:nth-child(5n+5) { background: linear-gradient(150deg, var(--c5), #cbb6e0); }
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tile.has-img img { opacity: 1; }
.tile:hover img { transform: scale(1.06); }
/* caption: subtle scrim so text reads on photo or color */
.tile__cap {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.1rem 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(20,20,25,0.55));
}
.tile__cat {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
}
.tile__hook {
  font-size: 0.85rem;
  opacity: 0.9;
  transform: translateY(4px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.tile:hover .tile__hook { opacity: 0.92; transform: none; }

@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .tile__hook { opacity: 0.92; transform: none; } /* always visible on touch */
}

/* ---------------- CLIENT CARDS (monogram logo wall) ---------------- */
/* even grid so the row is always full — no empty cells */
.clients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .clients { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .clients { grid-template-columns: 1fr; } }
.clientcard:nth-child(5n+1) { --c: var(--c1); }
.clientcard:nth-child(5n+2) { --c: var(--c2); }
.clientcard:nth-child(5n+3) { --c: var(--c3); }
.clientcard:nth-child(5n+4) { --c: var(--c4); }
.clientcard:nth-child(5n+5) { --c: var(--c5); }
.clientcard {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
/* soft brand-color wash that fades in on hover */
.clientcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    color-mix(in srgb, var(--c, var(--accent)) 9%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.clientcard > * { position: relative; z-index: 1; }
.clientcard:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--c, var(--accent)) 45%, var(--line));
  box-shadow: 0 22px 42px -26px rgba(43,52,70,0.55);
}
.clientcard:hover::before { opacity: 1; }
.clientcard__mark {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  background: var(--c, var(--accent));
  box-shadow: 0 12px 22px -12px var(--c, var(--accent));
}
/* when a real brand logo is present, show it on a clean white tile */
.clientcard__mark.has-logo {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 20px -14px rgba(43,52,70,0.45);
}
.clientcard__mark.has-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.clientcard__body { display: flex; flex-direction: column; gap: 0.2rem; }
.clientcard__name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
}
.clientcard__tag {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c, var(--accent));
  font-weight: 600;
}

/* ---------------- CLIENTS (marquee) ---------------- */
.marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  white-space: nowrap;
  animation: scroll 32s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s;
}
.client:hover { color: var(--c2); }
/* dots cycle through the brand colors down the track */
.client__dot { font-size: 0.85rem; opacity: 0.85; }
.client__dot:nth-of-type(5n+1) { color: var(--c1); }
.client__dot:nth-of-type(5n+2) { color: var(--c2); }
.client__dot:nth-of-type(5n+3) { color: var(--c3); }
.client__dot:nth-of-type(5n+4) { color: var(--c4); }
.client__dot:nth-of-type(5n+5) { color: var(--c5); }

/* ---------------- TEAM ---------------- */
/* centered flex so 2, 3 or 5 people all look intentional */
.team {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  justify-content: flex-start;
}
.member:nth-child(5n+1) { --c: var(--c1); }
.member:nth-child(5n+2) { --c: var(--c2); }
.member:nth-child(5n+3) { --c: var(--c3); }
.member:nth-child(5n+4) { --c: var(--c4); }
.member:nth-child(5n+5) { --c: var(--c5); }
.member {
  flex: 0 1 200px;
  text-align: center;
}
.member__avatar {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--c, var(--accent)) 12%, #fff);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--c, var(--accent));
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
/* animated colored ring on hover */
.member__avatar::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--c, var(--accent));
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.member:hover .member__avatar {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px -22px rgba(20,19,15,0.55);
}
.member:hover .member__avatar::after { opacity: 1; transform: scale(1); }
.member__avatar img { width: 100%; height: 100%; object-fit: cover; }
.member__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
}
.member__role { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.15rem; }

/* ---------------- CONTACT ---------------- */
.contact { border-top: 1px solid var(--line); }
.contact__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0.8rem 0 1rem;
}
.contact__text { color: var(--ink-soft); max-width: 40ch; }
.contact__details { display: flex; flex-direction: column; gap: 1.3rem; padding-top: 1.5rem; }
.contact__row .label {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 0.25rem;
}
.contact__row .value {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
}
.contact__row a.value { border-bottom: 1px solid var(--line); transition: border-color 0.2s; }
.contact__row a.value:hover { border-color: var(--ink); }
.contact__socials { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.contact__socials a {
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.contact__socials a:hover { color: var(--accent); }

/* ---------------- FOOTER ---------------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  background: var(--paper-alt);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.footer #footerBrand {
  font-family: var(--serif);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.footer__meta { color: var(--ink-soft); }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media {
    height: clamp(300px, 70vw, 420px);
    order: -1;
    margin-bottom: 1rem;
    max-width: 460px;
  }
}
@media (max-width: 720px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .contact__inner { grid-template-columns: 1fr; }
  .member { flex: 1 1 130px; }
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .marquee__track,
  .hero__glow,
  .hero__frame { animation: none; }
  .bslide__img { transition: none; transform: none; }
  .bslide__chip,
  .bslide__title,
  .bslide__desc { transition: none; transform: none; opacity: 1; filter: none; }
  .bslide__title::after { transition: none; width: 72px; }
}
