/* ============================================================
   QUORUM MEDIA°  — global styles
   ============================================================ */

:root {
  --bg: #050505;
  --bg-soft: #0b0b0c;
  --ink: #f4f1ec;
  --ink-soft: #bfb8ad;
  --ink-dim: #6f6a61;
  --line: rgba(255, 245, 230, 0.1);
  --accent: #ff4d6d;
  --accent-2: #ffb347;
  --accent-3: #5dffb1;
  --magenta: #c94b77;
  --plum: #6a1f3f;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: none; border: 0; background: none; color: inherit; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

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

/* ============================================================
   NOISE / GRAIN
   ============================================================ */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.7'/></svg>");
}

/* ============================================================
   CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
}
.cursor-dot {
  position: absolute;
  top: -3px;
  left: -3px;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}
.cursor-ring {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 32px;
  height: 32px;
  border: 1px solid #fff;
  border-radius: 50%;
  transform: translate(0,0);
  transition: transform 0.25s var(--ease), width 0.25s var(--ease), height 0.25s var(--ease), top 0.25s var(--ease), left 0.25s var(--ease), border-color 0.2s;
}
.cursor.hover .cursor-ring {
  width: 72px;
  height: 72px;
  top: -36px;
  left: -36px;
  border-color: var(--accent);
}

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 40px;
  transition: transform 1.1s var(--ease), opacity 0.4s linear 0.7s;
}
.loader.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.loader-count {
  font-size: clamp(80px, 18vw, 220px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 40px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(5,5,5,0.35);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: transform 0.5s var(--ease);
}
.nav.hidden { transform: translateY(-110%); }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.logo-mark {
  display: inline-block;
  color: var(--accent);
  font-size: 14px;
  animation: spin 12s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.nav-links {
  display: flex;
  gap: 48px;
  justify-self: center;
}
.nav-link {
  position: relative;
  padding: 6px 2px;
  font-weight: 500;
  color: var(--ink-soft);
  overflow: hidden;
  height: 22px;
  display: inline-block;
}
.nav-link span {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}
.nav-link::after {
  content: attr(data-hover);
  position: absolute;
  top: 100%;
  left: 0;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover span { transform: translateY(-120%); color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-link.active::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease);
  background: transparent;
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.nav-cta-arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.nav-cta:hover .nav-cta-arrow { transform: translate(3px, -3px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 100px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-grain {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, transparent 30%, rgba(0,0,0,0.5) 90%);
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  z-index: 2;
}
.meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.meta-row span:first-child {
  color: var(--accent);
  font-size: 8px;
}

.hero-title-wrap {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  margin-top: 60px;
}
.hero-title {
  font-size: clamp(80px, 18vw, 280px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}
.hero-title .word {
  display: block;
  overflow: hidden;
}
.hero-title .char {
  display: inline-block;
  transform: translateY(110%);
  animation: charIn 1.1s var(--ease) forwards;
}
.hero-title .star {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  transform: translateY(110%);
  animation: charIn 1.1s var(--ease) forwards;
  margin-left: 0.1em;
}
@keyframes charIn {
  to { transform: translateY(0); }
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 2;
  color: var(--ink-soft);
}
.hero-foot-left, .hero-foot-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-3);
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
  box-shadow: 0 0 12px var(--accent-3);
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}
.arrow-down {
  display: inline-block;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ============================================================
   SECTION MARKER
   ============================================================ */
.section-marker, .intro-marker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.marker-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}

/* ============================================================
   INTRO
   ============================================================ */
.intro {
  padding: 160px 40px 120px;
  max-width: 1600px;
  margin: 0 auto;
}
.intro-text {
  font-size: clamp(28px, 3.6vw, 64px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 1400px;
}
.intro-highlight {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.intro-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-2);
}

.intro-footer {
  margin-top: 120px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.intro-stat { display: flex; flex-direction: column; gap: 8px; }
.stat-value {
  font-size: clamp(40px, 5vw, 84px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-style: italic;
  color: var(--ink);
}
.marquee-track span { display: inline-block; }
.marquee-track span:nth-child(even) { color: var(--accent); font-style: normal; font-family: var(--font-sans); font-size: 0.5em; align-self: center; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  padding: 160px 40px 120px;
  max-width: 1600px;
  margin: 0 auto;
}
.services-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.services-head-left { position: sticky; top: 120px; }
.services-title {
  font-size: clamp(60px, 9vw, 140px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 40px;
}
.services-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 420px;
  margin-bottom: 36px;
}
.services-link {
  display: inline-block;
  position: relative;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding-bottom: 4px;
}
.services-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.services-link:hover::after { transform: scaleX(1.1); }

.services-list {
  display: flex;
  flex-direction: column;
}
.service {
  position: relative;
  display: grid;
  grid-template-columns: 50px 120px 1fr 60px;
  gap: 28px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: padding 0.5s var(--ease);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service-num {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
}
.service-img {
  width: 120px;
  height: 120px;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}
.service-img-inner {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 20%, rgba(0,0,0,0.35) 80%);
  mix-blend-mode: overlay;
}
.service-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.3), transparent 50%);
  mix-blend-mode: screen;
  animation: imgPulse 6s ease-in-out infinite;
}
@keyframes imgPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.service:hover .service-img { transform: scale(1.05) rotate(-1deg); }

.service-title {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  transition: color 0.3s var(--ease), transform 0.4s var(--ease);
}
.service:hover .service-title { transform: translateX(6px); }

.service-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  transition: all 0.4s var(--ease);
  justify-self: end;
}
.plus-h, .plus-v {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink);
  transition: transform 0.4s var(--ease);
}
.plus-h { width: 14px; height: 1px; transform: translate(-50%, -50%); }
.plus-v { width: 1px; height: 14px; transform: translate(-50%, -50%); }

.service.open .plus-v { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.service.open .service-toggle { background: var(--ink); }
.service.open .service-toggle .plus-h { background: var(--bg); }

.service-body {
  grid-column: 2 / -1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease);
  padding-top: 0;
}
.service.open .service-body {
  max-height: 400px;
  padding-top: 24px;
}
.service-body p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 720px;
  margin-bottom: 16px;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.service-tags li {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
}

/* accent colors on hover */
.service[data-accent="crimson"]:hover .service-title { color: #ff5479; }
.service[data-accent="ocean"]:hover .service-title { color: #7aa3ff; }
.service[data-accent="forest"]:hover .service-title { color: #8bffa8; }
.service[data-accent="indigo"]:hover .service-title { color: #9aa6ff; }
.service[data-accent="amber"]:hover .service-title { color: #ffb347; }
.service[data-accent="violet"]:hover .service-title { color: #c77dff; }

/* ============================================================
   WORK
   ============================================================ */
.work {
  padding: 160px 40px 120px;
  max-width: 1600px;
  margin: 0 auto;
}
.work-head { margin-bottom: 80px; }
.work-title {
  font-size: clamp(60px, 9vw, 140px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case {
  position: relative;
  padding: 32px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.3s;
}
.case:hover {
  transform: translateY(-6px);
  border-color: var(--c1);
}
.case-visual {
  height: 280px;
  border-radius: 8px;
  background: #000;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.case-blob {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 50%, var(--c1) 0%, var(--c2) 40%, #000 80%);
  filter: blur(30px);
  animation: blobMove 14s ease-in-out infinite;
}
@keyframes blobMove {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(8%, -5%) scale(1.1); }
  66% { transform: translate(-6%, 8%) scale(0.95); }
}

.case-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 16px;
}
.case-title {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  color: var(--ink);
}
.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.case-stats div { display: flex; flex-direction: column; gap: 4px; }
.case-stats strong {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.case-stats span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.work-cta {
  margin-top: 60px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  transition: gap 0.3s var(--ease);
}
.work-cta:hover { gap: 20px; }

/* ============================================================
   PROCESS
   ============================================================ */
.process {
  padding: 160px 40px 120px;
  max-width: 1600px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.process-head { margin-bottom: 80px; }
.process-title {
  font-size: clamp(44px, 6vw, 96px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.step {
  padding: 32px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
  transition: background 0.5s var(--ease), transform 0.5s var(--ease);
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.01));
}
.step:hover {
  background: linear-gradient(180deg, rgba(255,77,109,0.06), transparent);
  transform: translateY(-4px);
}
.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 40px;
}
.step h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 40px;
}
.step-week {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
  padding: 160px 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.quote-mark {
  font-family: var(--font-serif);
  font-size: 240px;
  color: var(--accent);
  line-height: 0.5;
  margin-bottom: 20px;
}
.quote {
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.quote-author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c94b77, #6a1f3f);
  border: 1px solid var(--line);
}
.author-name { font-weight: 600; font-size: 14px; }
.author-title { font-size: 12px; color: var(--ink-dim); letter-spacing: 0.04em; }

/* ============================================================
   TEAM
   ============================================================ */
.team {
  padding: 160px 40px 120px;
  max-width: 1600px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.team-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}
.team-title {
  font-size: clamp(60px, 9vw, 140px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.team-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 460px;
  padding-bottom: 12px;
}

.team-carousel {
  position: relative;
}

.team-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 4px 16px;
  margin: -4px -4px 0;
}
.team-grid::-webkit-scrollbar { display: none; }

.member {
  flex: 0 0 calc((100% - 72px) / 4);
  scroll-snap-align: start;
  position: relative;
  padding: 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: transform 0.5s var(--ease), border-color 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Lead / CEO card gets accent treatment but same footprint as siblings */
.member.member-lead {
  background: linear-gradient(135deg, rgba(255,77,109,0.08), rgba(201,75,119,0.03));
}
.member.member-lead::before {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,77,109,0.45), transparent 40%, transparent 60%, rgba(201,75,119,0.35));
  border-radius: 12px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.team-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 100%;
  background: rgba(20, 20, 22, 0.82);
  border: 1px solid var(--line);
  color: var(--ink);
  z-index: 5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.25s, color 0.25s, opacity 0.25s, transform 0.25s var(--ease);
}
.team-nav:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-50%) scale(1.06);
}
.team-nav:disabled {
  opacity: 0;
  pointer-events: none;
}
.team-nav-prev { left: -20px; }
.team-nav-next { right: -20px; }
.member:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 109, 0.35);
}

.member-photo {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #0f0f10;
  aspect-ratio: 4 / 5;
}
.member-lead .member-photo {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05) brightness(0.92);
  transition: filter 0.7s var(--ease), transform 0.9s var(--ease);
  display: block;
}
.member:hover .member-photo img,
.member-lead:hover .member-photo img {
  filter: grayscale(0%) contrast(1) brightness(1);
  transform: scale(1.04);
}

.member-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
  mix-blend-mode: multiply;
}

.member-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  border-radius: 100px;
  z-index: 2;
}

.member-info {
  padding: 20px 4px 4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.member-lead .member-info {
  padding: 20px 4px 4px;
}
.member-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 16px;
}
.member-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  letter-spacing: 0;
  text-transform: none;
}
.member-name {
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.member-lead .member-name {
  font-size: clamp(24px, 2.4vw, 36px);
  letter-spacing: -0.02em;
}
.member-role {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.member-lead .member-role {
  font-size: 13px;
  margin-bottom: 16px;
}
.member-bio {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.member-lead .member-bio {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 16px;
}
.member-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.member-tags span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 160px 40px 120px;
  max-width: 1600px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.contact-marker { margin-bottom: 20px; }
.contact-title {
  font-size: clamp(60px, 9vw, 140px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit;
  font-size: 18px;
  padding: 12px 0;
  outline: none;
  transition: border-color 0.3s;
  resize: none;
  cursor: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); }
.field select { appearance: none; }
.field select option { background: var(--bg-soft); color: var(--ink); }

.submit-btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 36px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.4s var(--ease);
}
.submit-btn:hover {
  background: var(--accent);
  color: var(--ink);
  padding-right: 44px;
}
.submit-arrow { transition: transform 0.4s var(--ease); }
.submit-btn:hover .submit-arrow { transform: translateX(6px); }

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.side-block { display: flex; flex-direction: column; gap: 10px; }
.side-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.side-value {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
}
.side-value a { position: relative; }
.side-value a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.side-value a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 80px 40px 40px;
  border-top: 1px solid var(--line);
  background: #000;
  overflow: hidden;
}
.footer-big {
  font-size: clamp(80px, 22vw, 360px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink-dim);
  margin-bottom: 60px;
  white-space: nowrap;
  transform: translateX(0);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}
.back-top {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--ink);
  transition: gap 0.3s var(--ease);
}
.back-top:hover { gap: 16px; }

/* ============================================================
   REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  body { cursor: auto; }
  .cursor { display: none; }
  button, a { cursor: pointer; }
  .nav { grid-template-columns: 1fr auto; padding: 16px 20px; }
  .nav-links { display: none; }
  .hero { padding: 80px 20px 30px; }
  .hero-meta { flex-direction: column; gap: 8px; }
  .intro { padding: 100px 20px 80px; }
  .intro-footer { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .services { padding: 100px 20px 80px; }
  .services-head { grid-template-columns: 1fr; gap: 40px; }
  .services-head-left { position: static; }
  .service { grid-template-columns: 40px 80px 1fr 40px; gap: 16px; }
  .service-img { width: 80px; height: 80px; }
  .work { padding: 100px 20px 80px; }
  .work-grid { grid-template-columns: 1fr; }
  .process { padding: 100px 20px 80px; }
  .process-steps { grid-template-columns: 1fr; }
  .testimonial { padding: 80px 20px; }
  .team { padding: 100px 20px 80px; }
  .team-head { grid-template-columns: 1fr; gap: 40px; margin-bottom: 50px; }
  .team-grid { gap: 16px; }
  .member { flex: 0 0 82%; padding: 16px; }
  .member.member-lead { padding: 16px; }
  .team-nav { display: none; }
  .contact { padding: 100px 20px 80px; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .contact-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
