/* ═══════════════════════════════════════════════════════════
   WIRESHIP — Premium IT Company Website
   Style: Refined Monochrome Minimalism
   Fonts: Syne (display) + Cormorant Garamond (serif accent) + DM Sans (body)
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --white: #F9F7F3;
  --off-white: #F0EDE6;
  --black: #0A0A0A;
  --dark: #111111;
  --mid: #444444;
  --muted: #888888;
  --border: rgba(0,0,0,0.09);
  --border-dark: rgba(255,255,255,0.07);

  --font-display: 'Syne', sans-serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;

  --section-pad: 120px;
  --nav-h: 80px;
  --radius: 4px;
  --transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── NOISE TEXTURE ─────────────────────────────────────────── */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ── CUSTOM CURSOR ─────────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: transform 0.1s, width 0.3s, height 0.3s;
}
.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.25s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.3s;
  opacity: 0;
  mix-blend-mode: difference;
}
.cursor-follower.active { opacity: 1; }
body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 14px;
  height: 14px;
}

/* ── CONTAINER ─────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn-primary:hover::after { transform: scaleX(1); transform-origin: left; }
.btn-primary:hover { color: var(--black); }

.btn-ghost {
  display: inline-block;
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 0;
  border-bottom: 1px solid var(--black);
  transition: opacity 0.3s;
}
.btn-ghost:hover { opacity: 0.5; }

.btn-nav {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1.5px solid var(--black);
  border-radius: 2px;
  transition: all 0.3s;
}
.btn-nav:hover {
  background: var(--black);
  color: var(--white);
}

/* ── SECTION COMMONS ───────────────────────────────────────── */
.section { padding: var(--section-pad) 0; }

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 64px;
}
.section-title em {
  font-style: italic;
  font-weight: 300;
}

.section-header { max-width: 600px; }

/* ── REVEAL ANIMATIONS ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-work {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-work.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── Stagger delays ───────────────────────────────────────── */
.reveal-card:nth-child(1) { transition-delay: 0.05s; }
.reveal-card:nth-child(2) { transition-delay: 0.12s; }
.reveal-card:nth-child(3) { transition-delay: 0.19s; }
.reveal-card:nth-child(4) { transition-delay: 0.26s; }
.reveal-card:nth-child(5) { transition-delay: 0.33s; }
.reveal-card:nth-child(6) { transition-delay: 0.40s; }

.reveal-work:nth-child(1) { transition-delay: 0.05s; }
.reveal-work:nth-child(2) { transition-delay: 0.12s; }
.reveal-work:nth-child(3) { transition-delay: 0.19s; }
.reveal-work:nth-child(4) { transition-delay: 0.26s; }

/* ══════════════════════════════════════════════════════
   NAV
══════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: background 0.45s, border-bottom 0.45s;
  background: transparent;
}
/* First half of nav on dark hero */
.nav-logo-text,
.nav-link,
.btn-nav {
  transition: color 0.4s, border-color 0.4s, background 0.3s;
}
/* default = dark panel visible */
.nav-logo-text { color: rgba(255,255,255,0.9); }
.nav-link { color: rgba(255,255,255,0.45); }
.nav-link:hover { color: rgba(255,255,255,0.9); }
.nav-link::after { background: rgba(255,255,255,0.7); }
.btn-nav { border-color: rgba(255,255,255,0.35); color: rgba(255,255,255,0.8); }
.btn-nav:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.6); }

.nav.scrolled {
  background: rgba(10,10,10,0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav.scrolled .nav-logo-text { color: var(--white); }
.nav.scrolled .nav-link { color: rgba(255,255,255,0.45); }
.nav.scrolled .nav-link:hover { color: var(--white); }
.nav.scrolled .btn-nav { border-color: rgba(255,255,255,0.35); color: rgba(255,255,255,0.8); }
.nav.scrolled .btn-nav:hover { background: var(--white); color: var(--black); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-img {
  height: 32px;
  width: auto;
  filter: invert(0);
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}
.nav-link {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--black);
  transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav-link:hover { color: var(--black); }
.nav-link:hover::after { width: 100%; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--black);
  transition: all 0.35s;
}
.hamburger.open span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:last-child  { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mobile-link {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 300;
  color: var(--white);
  display: block;
  transition: opacity 0.3s;
}
.mobile-link:hover { opacity: 0.5; }

/* ══════════════════════════════════════════════════════
   HERO — Split Panel Layout
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* LEFT — dark panel */
.hero-left {
  background: #0A0A0A;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 56px 52px;
  position: relative;
  overflow: hidden;
}

/* Subtle grain texture overlay */
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px;
  opacity: 0.045;
  pointer-events: none;
}

/* Large ghosted background letter */
.hero-left::after {
  content: 'W';
  position: absolute;
  bottom: -0.1em;
  right: -0.05em;
  font-family: var(--font-display);
  font-size: clamp(260px, 32vw, 440px);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.08em;
}

.hero-left-inner {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.8); opacity: 0.4; }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 7.5vw, 9rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  display: flex;
  flex-direction: column;
  margin-bottom: 52px;
}

.hero-title .reveal-line {
  display: block;
  overflow: hidden;
  animation: lineReveal 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-title .reveal-line:nth-child(1) { animation-delay: 0.15s; }
.hero-title .reveal-line:nth-child(2) { animation-delay: 0.28s; }
.hero-title .reveal-line:nth-child(3) { animation-delay: 0.41s; }
.hero-title .reveal-line:nth-child(4) { animation-delay: 0.54s; }

@keyframes lineReveal {
  from { opacity: 0; transform: translateY(70px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-title .italic {
  font-style: italic;
  font-weight: 300;
}

/* Outline text for last word */
.hero-title .stroke-text {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.9);
}

/* CTA buttons inside dark panel */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.75s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.btn-hero-primary {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: color 0.4s;
}
.btn-hero-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn-hero-primary:hover::after { transform: scaleX(1); transform-origin: left; }
.btn-hero-primary:hover { color: var(--white); }

.btn-hero-ghost {
  display: inline-block;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.btn-hero-ghost:hover { color: var(--white); }

/* Stat bar at bottom of left panel */
.hero-left-footer {
  display: flex;
  gap: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.09);
  position: relative;
  z-index: 2;
  animation: fadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 1s both;
}

.stat-inline {
  display: flex;
  flex-direction: column;
}

.stat-n {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.04em;
}
.stat-u {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  display: inline;
}
.stat-l {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-top: 4px;
}

/* RIGHT — white panel */
.hero-right {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 52px 56px;
  border-left: 1px solid rgba(0,0,0,0.08);
  position: relative;
}

.hero-right-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.hero-services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.hero-svc {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}
.hero-svc:hover { padding-left: 10px; }

.hero-svc span {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
  width: 24px;
  flex-shrink: 0;
}
.hero-svc p {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--black);
  letter-spacing: -0.01em;
}

.hero-right-sub {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.9;
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

/* Scroll indicator */
.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: absolute;
  bottom: 48px;
  right: 56px;
  animation: fadeUp 1s 1.2s both;
}
.hero-scroll-indicator span {
  font-family: var(--font-display);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--black), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.5); opacity: 0.35; }
}

/* Responsive hero */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
  }
  .hero-left {
    padding: calc(var(--nav-h) + 48px) 28px 48px;
    min-height: 65dvh;
  }
  .hero-right {
    border-left: none;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 40px 28px 52px;
    min-height: auto;
  }
  .hero-title {
    font-size: clamp(3.5rem, 14vw, 6rem);
  }
  .hero-scroll-indicator { display: none; }
}

/* ══════════════════════════════════════════════════════
   MARQUEE
══════════════════════════════════════════════════════ */
.marquee-wrap {
  background: var(--black);
  color: var(--white);
  padding: 20px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marqueeRoll 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
}
.marquee-dot {
  color: rgba(255,255,255,0.3) !important;
  font-size: 0.6rem !important;
}
@keyframes marqueeRoll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════ */
.services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--white);
  padding: 48px 40px;
  position: relative;
  transition: background 0.4s;
  cursor: default;
}
.service-card:hover {
  background: var(--black);
}
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-arrow {
  color: var(--white);
}
.service-card:hover .service-icon svg {
  stroke: var(--white);
}

.service-card::before {
  content: attr(data-index);
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--muted);
  transition: color 0.4s;
}
.service-card:hover::before { color: rgba(255,255,255,0.3); }

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
}
.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--black);
  transition: stroke 0.4s;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  transition: color 0.4s;
}
.service-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
  transition: color 0.4s;
}

.service-arrow {
  margin-top: 28px;
  font-size: 1.1rem;
  color: var(--black);
  transition: color 0.4s, transform 0.35s;
}
.service-card:hover .service-arrow {
  transform: translate(4px, -4px);
}

/* CTA Card */
.service-card--cta {
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card--cta:hover { background: #111; }

.cta-card-inner {
  text-align: center;
}
.cta-card-inner h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.2;
}
.cta-card-inner h3 em {
  font-style: italic;
}
.cta-card-inner .btn-primary {
  background: var(--white);
  color: var(--black);
}
.cta-card-inner .btn-primary:hover { color: var(--white); }

/* ══════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════ */
.about { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.about-logo-wrap {
  margin-top: 40px;
}
.about-logo {
  width: 120px;
  filter: invert(0);
  opacity: 0.12;
}

.about-lead {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--black);
  margin-bottom: 28px;
  font-style: italic;
}

.about-body {
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 52px;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.pillar-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 8px;
}
.pillar p {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--black);
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════════
   WORK
══════════════════════════════════════════════════════ */
.work { background: var(--white); }

.work-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.work-item {
  display: grid;
  grid-template-columns: 160px 1fr 48px;
  align-items: center;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  cursor: default;
  transition: padding-left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.work-item:hover {
  padding-left: 16px;
}

.work-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.work-num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.work-tags span {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--muted);
}

.work-info h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--black);
}
.work-info p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 480px;
}

.work-arrow {
  font-size: 1.3rem;
  color: var(--black);
  justify-self: end;
  transition: transform 0.3s;
}
.work-item:hover .work-arrow {
  transform: translate(4px, -4px);
}

/* ══════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════ */
.testimonials {
  background: var(--black);
  padding: 100px 0;
}
.testimonials .section-tag { color: rgba(255,255,255,0.35); }

.testimonial-slider {
  position: relative;
  min-height: 160px;
  margin: 40px 0;
}
.testimonial {
  display: none;
  animation: fadeIn 0.6s ease;
}
.testimonial.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  max-width: 800px;
  margin-bottom: 24px;
}
.testimonial cite {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-style: normal;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}
.tc-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tc-btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.tc-dots {
  display: flex;
  gap: 8px;
}
.tc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: background 0.3s, transform 0.3s;
  cursor: none;
}
.tc-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ══════════════════════════════════════════════════════
   CONTACT — Minimal email-only
══════════════════════════════════════════════════════ */
.contact {
  background: #0A0A0A;
  padding: 0;
  min-height: 80vh;
  display: flex;
  align-items: stretch;
}

.contact-inner {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  max-width: none;
  padding: 0;
}

.contact-tag-row {
  padding: 48px 64px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.contact-tag-row .section-tag {
  color: rgba(255,255,255,0.28);
}

.contact-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 100px;
  position: relative;
  overflow: hidden;
}

/* Huge ghosted background text */
.contact-main::before {
  content: 'TALK';
  position: absolute;
  bottom: -0.1em;
  right: -0.02em;
  font-family: var(--font-display);
  font-size: clamp(220px, 28vw, 400px);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.03);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.06em;
  line-height: 1;
}

.contact-heading {
  display: flex;
  flex-direction: column;
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 72px;
  position: relative;
  z-index: 2;
}

.contact-line-top {
  font-size: clamp(3.5rem, 7vw, 8rem);
  color: rgba(255,255,255,0.85);
}
.contact-line-mid {
  font-size: clamp(4rem, 8.5vw, 10rem);
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.6);
}
.contact-line-bot {
  font-size: clamp(3.5rem, 7vw, 8rem);
  color: rgba(255,255,255,0.85);
}

/* Email link block */
.contact-email-block {
  position: relative;
  z-index: 2;
  display: inline-block;
}

.contact-email-link {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: padding-left 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  max-width: 640px;
}
.contact-email-link:hover { padding-left: 16px; }

.contact-email-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  flex-shrink: 0;
  width: 90px;
}

.contact-email-addr {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.01em;
  flex: 1;
  transition: opacity 0.3s;
}
.contact-email-link:hover .contact-email-addr { opacity: 0.7; }

.contact-email-arrow {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.4);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.3s;
  flex-shrink: 0;
}
.contact-email-link:hover .contact-email-arrow {
  transform: translate(6px, -6px);
  color: var(--white);
}

@media (max-width: 768px) {
  .contact-main { padding: 60px 28px 80px; }
  .contact-tag-row { padding: 40px 28px 0; }
  .contact-email-link { flex-wrap: wrap; gap: 12px; }
  .contact-email-label { width: 100%; }
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer {
  background: var(--black);
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo {
  height: 28px;
  width: auto;
  filter: invert(1);
  opacity: 0.8;
}
.footer-brand span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}
.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--white); }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-logo-wrap { display: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: 80px; }
  .container { padding: 0 24px; }
  .nav { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-left-footer { flex-wrap: wrap; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .work-item { grid-template-columns: 1fr auto; gap: 16px; }
  .work-meta { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .about-pillars { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
}
