/* ============================================================
   JERD DESIGN — styles.css
   Global design system, layout, and component styles
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --white: #ffffff;
  --bg: #fafafa;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --border: #e5e5e5;
  --purple-light: #CC79C9;
  --purple-dark: #340075;
  --gradient: linear-gradient(135deg, #CC79C9, #340075);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', sans-serif;
  --font-logo: 'Montserrat', sans-serif;
  --transition: all 0.3s ease;
  --max-width: 1280px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* ── Layout ────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

section {
  padding: clamp(48px, 8vw, 100px) 0;
}

main {
  padding-top: 80px; /* nav offset */
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.1;
}

p {
  line-height: 1.75;
  color: var(--muted);
}

/* ── Utilities ─────────────────────────────────────────────── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: var(--gradient);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 16px;
  display: block;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-sans);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  min-height: 44px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: var(--gradient);
  color: white;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--text);
  color: var(--text);
}

.btn-outline:hover {
  background: var(--text);
  color: white;
}

.btn-outline-white {
  background: transparent;
  border: 1px solid white;
  color: white;
}

.btn-outline-white:hover {
  background: white;
  color: var(--text);
}

/* cursor follower removed */

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  transition: padding 0.3s ease;
}

.nav--scrolled .nav__inner {
  padding: 12px 0;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__wordmark {
  height: 28px;
  width: auto;
  display: block;
}

.footer__wordmark {
  height: 24px;
  width: auto;
  display: block;
  margin-bottom: 8px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: var(--transition);
  position: relative;
  padding-bottom: 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__links a.active {
  color: var(--text);
}

.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
}

.nav__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Overlay Nav ────────────────────────────────────── */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.nav__overlay.open {
  transform: translateX(0);
}

.nav__overlay-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.nav__overlay-links a {
  font-family: var(--font-serif);
  font-size: clamp(32px, 8vw, 48px);
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
  padding: 8px 24px;
  min-height: 60px;
  display: flex;
  align-items: center;
}

.nav__overlay-links a:hover {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: white;
  padding: clamp(48px, 8vw, 80px) 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: clamp(40px, 6vw, 64px);
}

.footer__logo {
  font-family: var(--font-logo);
  font-size: 24px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer__brand-logo {
  height: 48px;
  width: auto;
  display: block;
  opacity: 0.85;
}

.hero__cta-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero__cta-logo {
  height: 52px;
  width: auto;
  display: block;
}

.footer__nav-label,
.footer__social-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
  display: block;
}

.footer__nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer__nav-links a:hover {
  color: white;
}

.footer__social-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}

.footer__social-icon {
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.footer__social-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.footer__social-icon:hover {
  color: white;
  transform: translateY(-2px);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer__admin-link {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  transition: var(--transition);
  letter-spacing: 0.05em;
}

.footer__admin-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ── Hero (shared) ─────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  width: 600px;
  height: 600px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(204, 121, 201, 0.12), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
}

/* ── HOME — Hero ───────────────────────────────────────────── */
.hero--home {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 80px;
  background: var(--white);
}

.hero--home .hero__content {
  padding: clamp(36px, 6vh, 65px) 0 clamp(48px, 10vw, 120px);
}

/* Hero items: start hidden, CSS transition reveals them via JS class toggle */
.hero-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-item.is-visible {
  opacity: 1;
  transform: none;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(36px, 7vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 28px;
  max-width: 900px;
}

.hero__sub {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  z-index: 1;
}

.hero__scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--purple-light), transparent);
  animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.4; }
}

/* ── HOME — Featured Work ──────────────────────────────────── */
.section--featured-work {
  background: var(--bg);
  padding-bottom: 0;
}

.section--featured-work .section__header {
  padding-bottom: clamp(32px, 5vw, 56px);
}

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(32px, 5vw, 56px);
  flex-wrap: wrap;
  gap: 16px;
}

.section__heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  color: var(--text);
}

.section__link {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  transition: var(--transition);
  white-space: nowrap;
}

.section__link:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ── Project Grid ──────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  cursor: pointer;
  overflow: hidden;
}

.project-card__image {
  height: clamp(220px, 25vw, 340px);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.project-card__image-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card__image-bg {
  transform: scale(1.03);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease;
  color: white;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card:hover .project-card__overlay {
  opacity: 0.9;
}

.project-card__info {
  padding: 16px 0 8px;
}

.project-card__name {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.project-card__tag {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ── Project Rows (alternating full-width layout) ──────────── */
.project-rows {
  border-top: 1px solid var(--border);
}

.project-row {
  display: grid;
  grid-template-columns: 60% 40%;
  min-height: clamp(440px, 55vw, 680px);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.project-row--flipped {
  grid-template-columns: 40% 60%;
}

.project-row--flipped .project-row__media {
  order: 2;
}

.project-row--flipped .project-row__info {
  order: 1;
}

.project-row__media {
  overflow: hidden;
  position: relative;
}

.project-row__media-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.project-row:hover .project-row__media-el {
  transform: scale(1.03);
}

.project-row__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px) clamp(32px, 5vw, 72px);
  background: var(--white);
}

.project-row--flipped .project-row__info {
  background: var(--bg);
}

.project-row__number {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  display: block;
}

.project-row__name {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 16px;
}

.project-row__tag {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 24px;
  display: block;
}

.project-row__desc {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 32px;
}

.project-row__btn {
  align-self: flex-start;
}

/* Mobile — stack image on top, info below */
@media (max-width: 768px) {
  .project-row,
  .project-row--flipped {
    grid-template-columns: 1fr;
    grid-template-rows: 260px auto;
    min-height: unset;
  }

  .project-row--flipped .project-row__media,
  .project-row--flipped .project-row__info {
    order: unset;
  }

  .project-row__media {
    position: relative;
    height: 260px;
    overflow: hidden;
  }

  .project-row__info {
    padding: 32px 24px 40px;
    background: var(--white) !important;
  }
}

/* ── HOME — Services Teaser ────────────────────────────────── */
.section--services-teaser {
  background: var(--white);
}

.services-teaser__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 64px);
  margin-top: clamp(32px, 5vw, 56px);
}

.service-teaser__number {
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  margin-bottom: 16px;
}

.service-teaser__name {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.service-teaser__desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

/* ── HOME — Marquee ────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--bg);
}

.marquee-row {
  display: flex;
  overflow: hidden;
}

.marquee-row:first-child {
  margin-bottom: 12px;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 22s linear infinite;
}

.marquee-row:nth-child(2) .marquee-track {
  animation-direction: reverse;
  animation-duration: 30s;
}

.marquee-track span {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--text);
  padding: 0 40px;
  opacity: 0.6;
}

.marquee-track span.highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 1;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── HOME — Studio Section ─────────────────────────────────── */
.section--studio {
  background: var(--white);
}

.studio__grid {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.studio__headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.15;
}

.studio__text {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 460px;
}

.studio__image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.studio__image-placeholder {
  height: 180px;
  border-radius: 2px;
  background: linear-gradient(135deg, #f0e8ff, #e0d0f5);
}

.studio__image-placeholder:nth-child(2) {
  background: linear-gradient(135deg, #e8e0f5, #d8c8ee);
  margin-top: 24px;
}

.studio__image-placeholder:nth-child(3) {
  background: linear-gradient(135deg, #f0e0f5, #e4cce8);
}

.studio__image-placeholder:nth-child(4) {
  background: linear-gradient(135deg, #ece0f5, #dcc8e8);
  margin-top: -24px;
}

/* ── HOME — CTA Banner ─────────────────────────────────────── */
.section--cta-banner {
  padding: clamp(60px, 10vw, 100px) clamp(24px, 5vw, 40px);
  text-align: center;
}

.cta-banner__inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner__headline {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  line-height: 1.1;
}

.cta-banner__sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* ── ABOUT PAGE ────────────────────────────────────────────── */
.hero--page {
  min-height: 60svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: var(--white);
  padding-top: 80px;
}

.hero--page .hero__content {
  padding: clamp(48px, 8vw, 100px) 0;
}

.hero__page-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 20px;
  display: block;
}

.hero__page-headline {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text);
}

.hero__accent-line {
  width: 60px;
  height: 3px;
  background: var(--gradient);
  margin: 28px auto 0;
}

.section--story {
  background: var(--bg);
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.story__headline {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
}

.story__text {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
}

.story__image-placeholder {
  height: clamp(280px, 35vw, 440px);
  background: linear-gradient(135deg, #f0e8f5, #dcc8ee);
  border-radius: 2px;
}

.section--values {
  background: var(--white);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(32px, 5vw, 56px);
}

.value-card {
  border: 1px solid var(--border);
  padding: clamp(24px, 4vw, 40px);
  position: relative;
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--purple-light);
  transform: translateY(-4px);
}

.value-card__number {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
  display: block;
}

.value-card__name {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.value-card__desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}

.section--founder {
  background: var(--bg);
  text-align: center;
}

.founder__avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8d8f5, #cdb0ea);
  margin: 0 auto 28px;
}

.founder__name {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.founder__title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 24px;
  display: block;
}

.founder__bio {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 560px;
  margin: 0 auto;
}

/* ── WORK PAGE ─────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.filter-btn {
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--text);
  color: white;
  border-color: var(--text);
}

.filter-btn.active {
  background: var(--gradient);
  border-color: transparent;
  color: white;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card--hidden {
  display: none;
}

/* ── SERVICES PAGE ─────────────────────────────────────────── */
.services-list {
  margin-top: clamp(32px, 5vw, 56px);
}

.service-item {
  padding: clamp(40px, 6vw, 64px) 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  position: relative;
}

.service-item:first-child {
  border-top: 1px solid var(--border);
}

.service-item__watermark {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 700;
  color: var(--text);
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
}

.service-item__left {
  position: relative;
}

.service-item__number {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  display: block;
}

.service-item__name {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.1;
}

.service-item__desc {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
}

.service-item__right {
  padding-top: 8px;
}

.service-item__deliverables-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 20px;
  display: block;
}

.service-item__deliverables {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-item__deliverable {
  font-size: 15px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}

.service-item__deliverable::before {
  content: '→';
  position: absolute;
  left: 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Services Process ──────────────────────────────────────── */
.section--process {
  background: var(--bg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(32px, 5vw, 56px);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 1px;
  background: var(--gradient);
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.process-step__dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-serif);
  font-size: 16px;
  color: white;
  font-weight: 600;
}

.process-step__name {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.process-step__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ── NEWS PAGE ─────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(32px, 5vw, 56px);
}

.article-card {
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
}

.article-card:hover {
  border-color: var(--purple-light);
  transform: translateY(-4px);
}

.article-card__image {
  height: 180px;
  background: linear-gradient(135deg, #f0e8f5, #e0d0ee);
  position: relative;
  overflow: hidden;
}

.article-card__body {
  padding: clamp(20px, 3vw, 28px);
}

.article-card__date {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}

.article-card__title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
  transition: var(--transition);
}

.article-card:hover .article-card__title {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.article-card__teaser {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.article-card__link {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: var(--transition);
  display: inline-block;
}

.article-card__link:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ── CONNECT PAGE ──────────────────────────────────────────── */
.section--connect {
  background: var(--bg);
}

.connect__grid {
  display: grid;
  grid-template-columns: 60% 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.connect__form-section {}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: white;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text);
  transition: var(--transition);
  min-height: 48px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple-light);
  outline: none;
  box-shadow: 0 0 0 3px rgba(204, 121, 201, 0.1);
}

.form-group textarea {
  height: 160px;
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b6b' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-error {
  font-size: 12px;
  color: #cc0000;
  margin-top: 6px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-success {
  display: none;
  padding: 20px 24px;
  background: rgba(204, 121, 201, 0.08);
  border: 1px solid rgba(204, 121, 201, 0.3);
  text-align: center;
  margin-top: 16px;
}

.form-success.visible {
  display: block;
}

.form-success p {
  font-size: 15px;
  color: var(--text);
}

.connect__info {
  padding-top: 8px;
}

.connect__info-block {
  margin-bottom: 40px;
}

.connect__info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}

.connect__email-link {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
  display: inline-block;
}

.connect__email-link:hover {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.connect__response {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}

.connect__social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.connect__social-link {
  font-size: 15px;
  color: var(--muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.connect__social-link:hover {
  color: var(--text);
}

.connect__social-platform {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  min-width: 80px;
  color: var(--muted);
}

/* ── Responsive: Tablet ────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-teaser__grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .process-steps::before {
    display: none;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Responsive: Mobile ────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links { display: none; }

  .nav__hamburger { display: flex; }

  .footer__top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .footer__nav-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
  }

  .footer__social-icons {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .projects-grid,
  .work__grid {
    grid-template-columns: 1fr;
  }

  .services-teaser__grid {
    grid-template-columns: 1fr;
  }

  .story__grid,
  .studio__grid {
    grid-template-columns: 1fr;
  }

  .studio__image-grid {
    display: none;
  }

  .values__grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    text-align: left;
    padding: 0 0 32px;
    position: relative;
  }

  .process-step::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 56px;
    bottom: 0;
    width: 2px;
    background: var(--gradient);
    z-index: 0;
  }

  .process-step:last-child::before { display: none; }

  .process-step__dot {
    margin: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
  }

  .process-step__content {
    padding-top: 12px;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-item__watermark {
    display: none;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .connect__grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .section__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__scroll {
    display: none;
  }
}

/* ── Responsive: Small Phones ──────────────────────────────── */
@media (max-width: 480px) {
  .btn {
    padding: 14px 28px;
    font-size: 12px;
  }

  .filter-bar {
    gap: 6px;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 11px;
  }
}

/* ── News tablet 2-col ─────────────────────────────────────── */
@media (min-width: 600px) and (max-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Noscript ──────────────────────────────────────────────── */
.noscript-notice {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: Georgia, serif;
  font-size: 20px;
  color: #1a1a1a;
  text-align: center;
  padding: 40px;
}
