:root {
  --blackberry: #3f2933;
  --blue:       #1f547c;
  --ink:        #141213;
  --paper:      #fbefde;
  --gold:       #f1d49b;
  --display:    'Josefin Sans', sans-serif;
  --body:       'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--blackberry);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

.label {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  font-weight: 400;
  display: block;
}

.rule {
  width: 36px;
  height: 1px;
  background: currentColor;
  margin: 18px 0 28px;
}

/* ── NAV ──────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 64px;
  transition: background 0.4s, border-color 0.4s;
}

nav.scrolled {
  background: rgba(251,239,222,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(63,41,51,0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  display: block;
  height: 22px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 44px;
}

.nav-links a {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--blackberry);
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--blackberry);
  transition: width 0.25s;
}

.nav-links a:hover::after { width: 100%; }

/* ── HERO ─────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--paper);
  padding: 100px 40px 80px;
}

/* Animated logo mark */
.hero-logo-wrap {
  width: min(420px, 58vw);
  margin-bottom: 52px;
}

.hero-logo-svg {
  width: 100%;
  display: block;
  overflow: visible;
}

.logo-path {
  fill: transparent;
  stroke: var(--blackberry);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  will-change: stroke-dashoffset, fill;
}

/* Text block below logo */
.hero-text-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
}

.hero-eyebrow {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--blackberry);
  opacity: 0.4;
  margin-bottom: 20px;
}

.hero-name {
  line-height: 1;
  margin-bottom: 28px;
}

.hero-name-img {
  display: block;
  height: clamp(38px, 5.5vw, 80px);
  width: auto;
}

.hero-divider {
  width: 36px; height: 1px;
  background: var(--blue);
  margin-bottom: 28px;
}

.hero-tagline {
  font-family: var(--display);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--blackberry);
  opacity: 0.6;
  margin-bottom: 40px;
}

.hero-tagline strong { font-weight: 600; opacity: 1; color: var(--blackberry); }

.hero-text-wrap .btn { align-self: center; margin-top: 8px; }

.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  padding: 16px 36px;
  cursor: pointer;
  border: none;
  transition: background 0.3s, color 0.3s;
  align-self: flex-start;
}

.btn-dark { background: var(--blackberry); color: var(--paper); }
.btn-dark:hover { background: var(--blue); }
.btn-outline { background: transparent; color: var(--blackberry); border: 1px solid var(--blackberry); }
.btn-outline:hover { background: var(--blackberry); color: var(--paper); }
.btn-gold { background: var(--gold); color: var(--blackberry); }
.btn-gold:hover { background: var(--paper); }

/* ── MARQUEE — slow-moving strip of project mockups ───── */
.marquee-strip {
  background: var(--blackberry);
  padding: 22px 0;
  overflow: hidden;
  border-bottom: 2px solid var(--gold);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  animation: marquee 60s linear infinite;
  will-change: transform;
}

.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  position: relative;
  height: 160px;
  width: auto;
  flex-shrink: 0;
  overflow: hidden;
}

.marquee-photo {
  height: 100%;
  width: auto;
  display: block;
}

/* Warm-burgundy tint so the different projects feel cohesive; eases
   back on hover to reveal the true colours underneath. */
.marquee-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(63, 41, 51, 0.4);
  mix-blend-mode: multiply;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.marquee-item:hover::after {
  opacity: 0.3;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── ABOUT ────────────────────────────────── */
#about {
  background: var(--blackberry);
  overflow: hidden;
  padding: 120px 64px;
  border-top: 2px solid var(--gold);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Portrait composition — frame + organic decorative layers ── */
.about-photo-composition {
  position: relative;
  width: 71%;
  margin: 0 auto 0 0;
}

.about-photo-blob {
  position: absolute;
  inset: -7%;
  z-index: 1;
  background: rgba(31,84,124,0.28);
  border-radius: 42% 58% 55% 45% / 45% 40% 60% 55%;
  filter: blur(1px);
  opacity: 0.85;
  animation: aboutBlobMorph 12s ease-in-out infinite;
  transition: inset 0.6s ease, opacity 0.6s ease;
  pointer-events: none;
}

.about-photo-outline {
  position: absolute;
  inset: -3.5%;
  z-index: 2;
  border: 1.5px solid rgba(241,212,155,0.5);
  border-radius: 46% 54% 48% 52% / 55% 45% 55% 45%;
  animation: aboutOutlineMorph 10.5s ease-in-out infinite;
  transition: inset 0.6s ease, border-color 0.6s ease;
  pointer-events: none;
}

.about-photo-frame {
  position: relative;
  z-index: 3;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 44% 56% 52% 48% / 38% 44% 58% 62%;
  overflow: hidden;
  background: rgba(241,212,155,0.08);
  animation: aboutFrameMorph 14s ease-in-out infinite;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-photo-composition:hover .about-photo-blob {
  inset: -10%;
  opacity: 1;
}

.about-photo-composition:hover .about-photo-outline {
  inset: -5.5%;
  border-color: rgba(241,212,155,0.85);
}

@keyframes aboutFrameMorph {
  0%, 100% { border-radius: 44% 56% 52% 48% / 38% 44% 58% 62%; }
  33%      { border-radius: 40% 60% 46% 54% / 42% 38% 62% 58%; }
  66%      { border-radius: 48% 52% 58% 42% / 36% 48% 52% 64%; }
}

@keyframes aboutBlobMorph {
  0%, 100% { border-radius: 42% 58% 55% 45% / 45% 40% 60% 55%; transform: scale(1) rotate(0deg); }
  33%      { border-radius: 55% 45% 48% 52% / 52% 55% 45% 48%; transform: scale(1.02) rotate(1deg); }
  66%      { border-radius: 48% 52% 60% 40% / 40% 50% 50% 60%; transform: scale(0.99) rotate(-1deg); }
}

@keyframes aboutOutlineMorph {
  0%, 100% { border-radius: 46% 54% 48% 52% / 55% 45% 55% 45%; transform: rotate(0deg); }
  33%      { border-radius: 52% 48% 55% 45% / 48% 55% 45% 52%; transform: rotate(1.2deg); }
  66%      { border-radius: 45% 55% 46% 54% / 54% 46% 56% 44%; transform: rotate(-1deg); }
}

@media (prefers-reduced-motion: reduce) {
  .about-photo-frame,
  .about-photo-blob,
  .about-photo-outline {
    animation: none;
  }
}

.about-text-col { max-width: 520px; }

.about-text-col .rule { margin: 10px 0 16px; }

.about-headline {
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 58px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--paper);
  margin-bottom: 26px;
}

.about-headline em { font-style: normal; font-weight: 700; color: var(--gold); }

.about-body {
  font-size: 14px;
  line-height: 1.95;
  color: var(--paper);
  opacity: 0.78;
  margin-bottom: 18px;
}

/* ── Editorial pull quote ─────────────────── */
.about-quote {
  font-family: var(--display);
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 300;
  font-style: normal;
  line-height: 1.4;
  color: var(--paper);
  opacity: 0.9;
  border-left: 2px solid var(--gold);
  padding-left: 22px;
  margin: 32px 0;
}

.about-quote-highlight { color: var(--gold); }

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(241,212,155,0.4);
  transition: border-color 0.2s, opacity 0.2s;
}

.about-cta:hover { border-color: var(--gold); opacity: 0.8; }

.about-cta-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}

.about-cta:hover .about-cta-arrow {
  transform: translateX(4px);
}

/* ── WORK ─────────────────────────────────── */
#work {
  padding: 120px 64px 0;
  background: var(--paper);
}

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}

.work-header-left .label { color: var(--blue); margin-bottom: 14px; }

.work-header-left h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 300;
  color: var(--blackberry);
  line-height: 1.15;
}

.work-header-left h2 em { font-style: normal; font-weight: 700; }

.work-note {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blackberry);
  opacity: 0.4;
}

/* ── WORK GRID — full-bleed immersive panels, stacked directly ─── */
.work-grid {
  display: flex;
  flex-direction: column;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.work-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #1a0f15;
  width: 100%;
  height: 85vh;
}

/* All children pass clicks through to the card */
.work-card > * { pointer-events: none; }

/* Photo background */
.work-card-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94),
              filter 0.5s ease;
  filter: brightness(0.82) saturate(0.9);
}

.work-card:hover .work-card-photo {
  transform: scale(1.06);
  filter: brightness(0.55) saturate(0.7);
}

/* Permanent subtle gradient so text is always readable */
.work-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(63,41,51,0) 30%,
    rgba(20,12,18,0.7) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* View arrow */
.work-card-view {
  position: absolute;
  top: 32px; right: 40px;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s, transform 0.35s;
  z-index: 3;
}
.work-card:hover .work-card-view { opacity: 1; transform: translateY(0); }

/* Info block */
.work-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 120px 64px 56px;
  background: linear-gradient(transparent, rgba(20,12,18,0.92));
  z-index: 3;
  transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.work-card:hover .work-card-label { transform: translateY(0); }

.work-card-cat {
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.work-card-title {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 300;
  color: var(--paper);
  line-height: 1.15;
}

.work-card-desc {
  font-size: 15px;
  color: var(--paper);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin-top: 10px;
  line-height: 1.65;
  max-width: 560px;
  transition: opacity 0.35s 0.08s, max-height 0.4s;
}
.work-card:hover .work-card-desc { opacity: 0.65; max-height: 64px; }


/* ── GLASS MODAL ─────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 8, 12, 0.55);
  backdrop-filter: blur(12px) saturate(120%);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

/* The glass card — large, centred, internally scrollable */
.modal {
  position: relative;
  width: min(1100px, 100%);
  max-height: 88vh;
  background: rgba(251, 239, 222, 0.05);
  backdrop-filter: blur(60px) saturate(200%);
  border: 1px solid rgba(241, 212, 155, 0.2);
  border-radius: 20px;
  box-shadow:
    0 48px 120px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(251,239,222,0.1),
    inset 0 0 0 0.5px rgba(241,212,155,0.06);
  overflow-y: auto;
  overflow-x: hidden;
  transform: scale(0.96) translateY(28px);
  transition: transform 0.5s cubic-bezier(0.34,1.26,0.64,1),
              opacity 0.4s ease;
  opacity: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(241,212,155,0.35) transparent;
}

.modal-backdrop.open .modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal::-webkit-scrollbar { width: 8px; }
.modal::-webkit-scrollbar-track { background: transparent; }
.modal::-webkit-scrollbar-thumb { background: rgba(241,212,155,0.25); border-radius: 8px; }

/* Close — fixed to the viewport, always visible top-right */
.modal-close {
  position: fixed;
  top: 28px; right: 28px;
  z-index: 950;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(241, 212, 155, 0.12);
  border: 1.5px solid rgba(241, 212, 155, 0.32);
  backdrop-filter: blur(20px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.modal-close:hover {
  background: rgba(241, 212, 155, 0.24);
  border-color: rgba(241, 212, 155, 0.6);
  transform: scale(1.1);
}
.modal-close::before,
.modal-close::after {
  content: '';
  position: absolute;
  width: 16px; height: 1.5px;
  background: var(--gold);
  border-radius: 1px;
}
.modal-close::before { transform: rotate(45deg); }
.modal-close::after  { transform: rotate(-45deg); }

/* ── 1. Featured hero mockup + project name ─── */
.modal-hero {
  position: relative;
  width: 100%;
  background: rgba(14, 8, 12, 0.72);
}

.modal-hero-img {
  display: block;
  width: 100%;
  height: auto;
}

.modal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(20,12,18,0) 45%, rgba(14,8,12,0.85) 100%);
  pointer-events: none;
}

.modal-hero .modal-title {
  position: absolute;
  left: 40px; right: 40px; bottom: 28px;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  color: var(--paper);
  line-height: 1.1;
}

/* ── 2. Project description ───────────────── */
.modal-details {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 56px;
  padding: 56px 48px;
  background: rgba(63, 41, 51, 0.12);
  border-top: 1px solid rgba(241, 212, 155, 0.1);
}

.modal-details-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.modal-details-label {
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  display: block;
  margin-bottom: 12px;
}

.modal-details-text {
  font-size: 15px;
  line-height: 1.85;
  color: var(--paper);
  opacity: 0.7;
  max-width: 560px;
}

.modal-meta {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 2px;
}

.modal-meta-item {
  border-left: 2px solid rgba(31,84,124,0.55);
  padding-left: 16px;
}

.modal-meta-label {
  font-family: var(--display);
  font-size: 8px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.35;
  margin-bottom: 5px;
  display: block;
}

.modal-meta-value {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 300;
  color: var(--paper);
  opacity: 0.75;
  line-height: 1.4;
}

/* ── 3. Remaining mockups — single-column vertical gallery ── */
.modal-mockups {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 48px 48px 56px;
  border-top: 1px solid rgba(241, 212, 155, 0.08);
}

.modal-mockup img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ── BIO ──────────────────────────────────── */

/* ── SERVICES ─────────────────────────────── */
#services {
  background: var(--blackberry);
  padding: 90px 64px 120px;
  position: relative;
  overflow: hidden;
}

.services-watermark {
  position: absolute;
  z-index: 0;
  bottom: -8%;
  right: -5%;
  width: clamp(150px, 18vw, 300px);
  height: auto;
  opacity: 0.04;
  transform: rotate(-6deg);
  pointer-events: none;
  user-select: none;
  mask-image: radial-gradient(circle at 65% 35%, black 35%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 65% 35%, black 35%, transparent 72%);
}

.services-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 56px;
}

.services-header .label { color: var(--gold); margin-bottom: 14px; }

.services-header h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 300;
  color: var(--paper);
  line-height: 1.15;
}

.services-header h2 em { font-style: normal; font-weight: 700; color: var(--gold); }

.services-intro {
  font-size: 14px;
  line-height: 1.8;
  color: var(--paper);
  opacity: 0.55;
  align-self: start;
  margin-top: 72px;
}

.services-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}

.service {
  padding: 40px 0 0;
}

.service::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: rgba(251,239,222,0.22);
  margin-bottom: 28px;
  transition: width 0.4s ease, background-color 0.4s ease;
}

.service:hover::before {
  width: 56px;
  background: var(--gold);
}

.service-num {
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 20px;
  transition: color 0.4s ease, opacity 0.4s ease;
}

.service:hover .service-num {
  color: var(--blue);
  opacity: 1;
}

.service-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 300;
  color: var(--paper);
  margin-bottom: 16px;
  line-height: 1.2;
  transition: transform 0.4s ease;
}

.service:hover .service-title {
  transform: translateY(-4px);
}

.service-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--paper);
  opacity: 0.62;
  transition: opacity 0.4s ease;
}

.service:hover .service-desc {
  opacity: 0.85;
}

/* ── CONTACT ──────────────────────────────── */
#contact {
  background: var(--blue);
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 64px 40px 64px;
  text-align: center;
  overflow-x: hidden;
}

.contact-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

/* eye.svg: bold editorial eye — cream shape, burgundy pupil, gold highlight.
   The iris/pupil sit roughly 71% of the way across the artwork (not centred
   within it), so --eye-shift-x corrects for that offset to keep the iris
   truly centred while the two outer tails bleed off the left and right
   edges. The shift percentage is constant across breakpoints — only the
   width (i.e. how far the tails bleed) changes responsively. */
.contact-eye {
  --eye-shift-x: -21.1%;
  width: clamp(715px, 116vw, 1560px);
  margin-top: 0;
  margin-bottom: -210px;
  transform: translateX(var(--eye-shift-x));
  animation: contactEyeFloat 8s ease-in-out infinite;
}

.contact-eye-shape { fill: var(--paper); }
.contact-eye-pupil { fill: var(--paper); }
.contact-eye-highlight { fill: var(--gold); }

@keyframes contactEyeFloat {
  0%, 100% { transform: translateX(var(--eye-shift-x)) translateY(0); }
  50%      { transform: translateX(var(--eye-shift-x)) translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-eye { animation: none; }
}

#contact h2 {
  font-family: 'Jost', var(--display);
  font-size: clamp(28px, 4.2vw, 54px);
  font-weight: 300;
  color: var(--paper);
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: 16px;
}

.contact-name-svg {
  width: min(160px, 32vw);
  display: block;
  opacity: 0.75;
}

.contact-name-svg path { fill: var(--gold); }

.contact-rule {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 16px;
}

#contact .contact-sub {
  font-family: 'Jost', var(--display);
  font-size: clamp(11px, 1.3vw, 14px);
  font-weight: 300;
  color: var(--paper);
  letter-spacing: 0.1em;
  opacity: 0.55;
  font-style: italic;
  margin-bottom: 0;
}

.contact-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}


.contact-btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--gold);
  padding: 16px 44px;
  transition: background 0.3s;
  margin-top: 8px;
}

.contact-btn:hover { background: var(--paper); }

.contact-email {
  display: block;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--paper);
  opacity: 0.3;
  transition: opacity 0.2s;
}

.contact-email:hover { opacity: 0.7; }

/* ── FOOTER ───────────────────────────────── */
footer {
  background: var(--ink);
  padding: 44px 64px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--paper);
  opacity: 0.45;
}

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

.footer-link {
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.28;
  transition: opacity 0.2s;
}

.footer-link:hover { opacity: 0.7; }

.footer-copy {
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--paper);
  opacity: 0.18;
}

.footer-credits {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--paper);
  opacity: 0.22;
}

/* ── ANIMATIONS ───────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.32s; }
.fade-up.d4 { transition-delay: 0.44s; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 960px) {
  nav { padding: 24px 32px; }

  #hero { padding: 100px 20px 80px; }
  .hero-logo-wrap { width: 80vw; }

  .marquee-item { height: 120px; }

  #about { padding: 80px 32px; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-photo-composition { max-width: 260px; margin: 0 auto; }
  .contact-name-svg { width: min(280px, 80vw); }

  #work { padding: 80px 32px 0; }
  .work-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .work-card-label { padding: 80px 32px 28px; }

  #services { padding: 80px 32px; }
  .services-header { grid-template-columns: 1fr; gap: 24px; }
  .services-list { grid-template-columns: 1fr; }
  .service { padding: 32px 0 0; }

  #contact { padding: 60px 24px 48px; }
  .contact-eye { width: clamp(455px, 116vw, 975px); margin-bottom: -130px; }
  #contact h2 { font-size: clamp(44px, 13vw, 80px); }

  footer { gap: 20px; padding: 40px 32px; text-align: center; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-right { flex-wrap: wrap; justify-content: center; gap: 20px; }

  /* Modal responsive */
  .modal-backdrop { padding: 24px 16px; }
  .modal { max-height: 90vh; }
  .modal-hero .modal-title { left: 28px; right: 28px; bottom: 22px; font-size: clamp(24px, 5vw, 36px); }
  .modal-details { grid-template-columns: 1fr; gap: 32px; padding: 40px 32px; }
  .modal-mockups { padding: 32px 32px 40px; gap: 22px; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }

  .marquee-strip { padding: 14px 0; }
  .marquee-track { gap: 6px; }
  .marquee-item { height: 84px; }

  /* Work panels: shorter viewport-height on small screens */
  .work-card { height: 70vh; }
  .work-card-label { padding: 56px 20px 20px; }
  .work-card-view { top: 18px; right: 18px; }

  .modal-backdrop { padding: 0; }
  .modal { max-height: 100vh; border-radius: 0; width: 100%; }
  .modal-close { top: 16px; right: 16px; }
  .modal-hero .modal-title { left: 20px; right: 20px; bottom: 18px; }
  .modal-details { padding: 32px 20px; gap: 24px; }
  .modal-meta { gap: 18px; }
  .modal-mockups { padding: 24px 20px 32px; gap: 20px; }

  .contact-eye { width: clamp(325px, 116vw, 585px); margin-bottom: -80px; }
}
