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

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #f9f9f8;
  --gray-100: #f0efed;
  --gray-200: #e2e0dd;
  --gray-400: #a09d98;
  --gray-600: #6b6864;
  --gray-800: #2d2c2a;
  --accent: #e8533c;
  --accent-light: #fdf0ee;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-h: 72px;
  --max-w: 1200px;
  --pad: clamp(1.5rem, 5vw, 4rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 var(--pad);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--black);
  text-decoration: none;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--black); }

.nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.875rem !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--accent) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--black);
  transition: all 0.3s;
}

/* ── SECTIONS ── */
section { padding: clamp(5rem, 10vw, 8rem) var(--pad); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + clamp(4rem, 8vw, 7rem));
  padding-bottom: clamp(5rem, 10vw, 8rem);
  padding-left: var(--pad);
  padding-right: var(--pad);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--accent);
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 1.5rem;
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--gray-600);
  font-weight: 300;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--black);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1.5px solid var(--black);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-secondary:hover { color: var(--accent); border-color: var(--accent); }

.hero-visual {
  position: relative;
}

.hero-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--gray-100);
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gray-400);
  font-size: 0.875rem;
}

.hero-img-placeholder svg { opacity: 0.4; }

.hero-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.badge-text { font-size: 0.8rem; font-weight: 500; color: var(--gray-800); }
.badge-text span { display: block; font-size: 0.7rem; font-weight: 400; color: var(--gray-400); margin-top: 1px; }

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.03em;
}
.stat-label { font-size: 0.8rem; color: var(--gray-400); margin-top: 2px; }

/* ── MARQUEE ── */
.marquee-wrap {
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
  padding: 1rem 0;
  background: var(--gray-50);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 20s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.marquee-item::after {
  content: '✦';
  color: var(--accent);
  font-size: 0.6rem;
}

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

/* ── SERVICES ── */
#services { background: var(--gray-50); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--black);
}

.section-desc {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 320px;
  line-height: 1.6;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--gray-200);
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
}

.service-card {
  background: var(--white);
  padding: 2.5rem;
  position: relative;
  transition: background 0.2s;
}

.service-card:hover { background: var(--gray-50); }

.service-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-200);
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg { color: var(--accent); }

h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  font-weight: 300;
}

.service-arrow {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: all 0.2s;
}

.service-card:hover .service-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* ── WORK ── */
#work { background: var(--white); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  margin-top: 0;
}

.work-item {
  border-radius: 12px;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
  cursor: pointer;
}

.work-item:nth-child(1) { grid-column: span 7; aspect-ratio: 16/10; }
.work-item:nth-child(2) { grid-column: span 5; aspect-ratio: 4/5; }
.work-item:nth-child(3) { grid-column: span 4; aspect-ratio: 4/5; }
.work-item:nth-child(4) { grid-column: span 8; aspect-ratio: 16/9; }

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.work-item:hover img { transform: scale(1.04); }

.work-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--gray-400);
  font-size: 0.8rem;
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.work-item:hover .work-overlay { opacity: 1; }

.work-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--white);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  border: 1px solid rgba(255,255,255,0.2);
}

/* ── ABOUT ── */
#about { background: var(--black); color: var(--white); }

#about .section-label { color: var(--accent); }
#about h2 { color: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--gray-800);
}

.about-img img { width: 100%; height: 100%; object-fit: cover; }

.about-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: 0.875rem;
}

.about-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  font-weight: 300;
  margin: 1.5rem 0 2.5rem;
}

.about-body strong { color: var(--white); font-weight: 500; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.about-tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}

/* ── PROCESS ── */
#process { background: var(--gray-50); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  counter-reset: steps;
}

.process-step {
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  position: relative;
}

.step-count {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  font-weight: 300;
}

/* ── CTA ── */
#contact {
  background: var(--white);
  text-align: center;
}

.cta-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.cta-wrap h2 { margin-bottom: 1rem; }

.cta-sub {
  font-size: 1rem;
  color: var(--gray-600);
  font-weight: 300;
  margin-bottom: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

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

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: 0.02em;
}

input, select, textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--black);
  background: var(--white);
}

textarea { resize: vertical; min-height: 120px; }

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--gray-400);
}

button[type="submit"] {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  background: var(--black);
  border: none;
  border-radius: 2rem;
  padding: 0.85rem 2rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

button[type="submit"]:hover { background: var(--accent); transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  background: var(--black);
  padding: 3rem var(--pad);
  color: rgba(255,255,255,0.4);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-logo span { color: var(--accent); }

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--white); }

.footer-copy { font-size: 0.8rem; }

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 1.5rem var(--pad);
    gap: 1.5rem;
  }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { display: none; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .work-item:nth-child(1),
  .work-item:nth-child(2),
  .work-item:nth-child(3),
  .work-item:nth-child(4) {
    grid-column: span 12;
    aspect-ratio: 16/9;
  }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
}

@media (max-width: 500px) {
  .process-steps { grid-template-columns: 1fr; }
  .form-submit { flex-direction: column; align-items: flex-start; }
}