/* ============ RESET & BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream: #fffbfc;
  --cream-soft: #fdeef3;
  --ink: #241419;
  --ink-soft: #8a6570;
  --line: rgba(36,20,25,0.12);
  --rust: #e0578a;
  --olive: #f2a8c4;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  cursor: default;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
em { font-style: italic; color: var(--rust); }

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

/* film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* custom cursor dot (desktop only) */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, background .25s ease, opacity .25s ease;
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-dot { opacity: 1; }
}
.cursor-dot.hover {
  width: 46px; height: 46px;
  background: rgba(36,20,25,0.08);
  backdrop-filter: blur(2px);
}

/* ============ LOADER ============ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-word {
  display: flex;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--cream);
  letter-spacing: 0.08em;
}
.loader-word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 5vw;
  mix-blend-mode: difference;
  color: var(--cream);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .35s cubic-bezier(.22,1,.36,1);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  border: 1px solid currentColor;
  padding: 9px 18px;
  border-radius: 100px;
}
.nav-cta::after { display: none; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 501;
}
.nav-hamburger span {
  width: 22px; height: 1px;
  background: currentColor;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-hamburger.open span:first-child { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:last-child { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--cream);
  z-index: 450;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8vw;
  transform: translateY(-100%);
  transition: transform .55s cubic-bezier(.65,0,.35,1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 18px; }
.mobile-link {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 400;
}
.mobile-menu-foot {
  margin-top: 48px;
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 6vw 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}
.blob-1 {
  width: 42vw; height: 42vw;
  top: -12%; left: -10%;
  background: radial-gradient(circle at 30% 30%, #ffc9dd, transparent 70%);
}
.blob-2 {
  width: 38vw; height: 38vw;
  bottom: -14%; right: -8%;
  background: radial-gradient(circle at 60% 60%, #ffe0eb, transparent 70%);
}
.blob-3 {
  width: 46vw; height: 46vw;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, #ffb8d4, transparent 70%);
  opacity: 0.4;
}

.hero-eyebrow {
  position: relative; z-index: 1;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-bottom: 26px;
  font-weight: 500;
}

.hero-title {
  position: relative; z-index: 1;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 8.4vw, 6.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hero-title .line { display: block; }
.reveal-mask { display: block; overflow: hidden; }
.reveal-inner { display: block; will-change: transform; }

.hero-subtitle {
  position: relative; z-index: 1;
  max-width: 560px;
  margin: 32px auto 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.hero-actions {
  position: relative; z-index: 1;
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease;
}
.btn span { position: relative; z-index: 1; }
.btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.btn-dark:hover { box-shadow: 0 10px 30px -8px rgba(36,20,25,0.45); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-lg { padding: 20px 44px; font-size: 0.95rem; }

.hero-stats {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 64px;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-num, .stat-suffix {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--ink);
}
.stat-suffix { margin-left: 1px; }
.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-top: 4px;
}
.stat-divider { width: 1px; height: 34px; background: var(--line); }

.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}
.hero-scroll span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-soft);
}
.hero-scroll-line {
  width: 1px; height: 46px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--ink);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ============ MARQUEE ============ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: var(--cream-soft);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 22px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--ink-soft);
}
.marquee-track .dot { color: var(--rust); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ SECTION SHARED ============ */
section { position: relative; padding: 140px 6vw; }
.section-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rust);
  font-weight: 600;
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.section-lede {
  max-width: 520px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin: 18px auto 0;
  line-height: 1.6;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ============ ABOUT ============ */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8vw;
  align-items: center;
}
.about-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(155deg, #ffe3ec 0%, #ffc2d9 38%, #ef8fb2 70%, #cf5c88 100%);
}
.about-portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.about-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36,20,25,0) 55%, rgba(36,20,25,0.45) 100%);
  pointer-events: none;
}
.about-badge {
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(255,251,252,0.92);
  color: var(--ink);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  line-height: 1.3;
  backdrop-filter: blur(6px);
}
.about-copy .about-text {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 20px;
  max-width: 520px;
}
.about-copy .about-text strong { color: var(--ink); font-weight: 600; }
.about-tags {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.about-tags span {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* ============ CONTENT GRID ============ */
.content-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.content-card {
  background: var(--cream-soft);
  border-radius: 18px;
  padding: 20px;
  transition: transform .45s cubic-bezier(.22,1,.36,1);
}
.content-card:hover { transform: translateY(-8px); }
.content-card-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream-soft);
  margin-bottom: 18px;
}
.card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.content-card:hover .card-media,
.work-tile:hover .card-media { transform: scale(1.05); }
.content-card-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255,251,252,0.9);
  color: var(--ink);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 100px;
  z-index: 1;
}
.content-card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.content-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ============ SELECTED WORK ============ */
.work { background: var(--cream-soft); }
.work-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.work-tile {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream);
}
.work-tile-tag {
  position: absolute;
  left: 12px; bottom: 12px;
  z-index: 1;
  background: rgba(36,20,25,0.55);
  color: var(--cream);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}
.work-tile:hover .work-tile-tag { opacity: 1; transform: translateY(0); }

.brand-strip { margin-top: 80px; }
.brand-strip-label {
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.brand-tile {
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink);
}
.brand-tile .card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}
.brand-tile figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  color: var(--cream);
}
.brand-tile figcaption span {
  font-family: var(--serif);
  font-size: 1.05rem;
}
.brand-tile figcaption small {
  font-size: 0.76rem;
  color: rgba(255,251,252,0.6);
}

/* ============ SERVICES ============ */
.services-head { max-width: 620px; margin-bottom: 60px; }
.services-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 60px 1.6fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .4s cubic-bezier(.22,1,.36,1), background .4s ease;
}
.service-row:hover { padding-left: 16px; background: rgba(36,20,25,0.03); }
.service-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--rust);
  font-size: 1.1rem;
}
.service-info h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.service-info p { color: var(--ink-soft); font-size: 0.95rem; max-width: 480px; line-height: 1.6; }
.service-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.service-tags span {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 0.74rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* ============ PROCESS ============ */
.process { background: var(--ink); color: var(--cream); }
.process .section-eyebrow { color: #f2a3c4; }
.process-track {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 14px; left: 0; right: 0;
  height: 1px;
  background: rgba(255,251,252,0.15);
}
.process-step { position: relative; }
.process-index {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: #f2a3c4;
  background: var(--ink);
  padding-right: 14px;
  margin-bottom: 22px;
}
.process-step h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; margin-bottom: 10px; }
.process-step p { color: rgba(255,235,242,0.7); font-size: 0.92rem; line-height: 1.6; }

/* ============ QUOTE ============ */
.quote {
  text-align: center;
  padding: 160px 8vw;
}
.quote-mark {
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--rust);
  line-height: 0.5;
  margin-bottom: 20px;
}
.quote-text {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 400;
  line-height: 1.45;
  max-width: 800px;
  margin: 0 auto;
  color: var(--ink);
}
.quote-attr {
  margin-top: 26px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

/* ============ CONTACT ============ */
.contact {
  text-align: center;
  padding-top: 100px;
  padding-bottom: 140px;
  overflow: hidden;
}
.contact-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.contact-title {
  position: relative; z-index: 1;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.08;
  margin-top: 10px;
}
.contact-lede {
  position: relative; z-index: 1;
  max-width: 480px;
  margin: 26px auto 40px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
}
.contact .btn { position: relative; z-index: 1; }

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--line);
  padding: 32px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-logo { font-family: var(--serif); font-size: 1rem; }
.footer-links a {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, color .3s ease;
}
.footer-links a:hover { color: var(--ink); border-color: var(--ink); }
.footer-copy { font-size: 0.78rem; color: var(--ink-soft); }
.footer-top {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.footer-top:hover { background: var(--ink); color: var(--cream); transform: translateY(-3px); }

/* ============ REVEAL DEFAULTS (JS controls animation) ============ */
.reveal-up, .reveal-scale { will-change: transform, opacity; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .about { grid-template-columns: 1fr; gap: 60px; }
  .content-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 40px 1fr; }
  .service-tags { grid-column: 2 / 3; justify-content: flex-start; margin-top: 14px; }
  .process-track { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
}

@media (max-width: 560px) {
  section { padding: 90px 6vw; }
  .content-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
  .hero { padding-top: 120px; }
  .marquee-track { font-size: 1.1rem; }
  .quote { padding: 100px 6vw; }
}
