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

:root {
  --black: #080808;
  --off-black: #0e0e0e;
  --white: #F0EDE5;
  --yellow: #f0e6d1;
  --red: #FF2200;
  --gray: #1c1c1c;
  --muted: #555;
}

html {
  scroll-behavior: smooth;
  font-size: 130%;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  overflow-x: hidden;
}

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

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

nav.scrolled {
  background: rgba(8,8,8,0.96);
  padding: 14px 48px;
  border-bottom: 1px solid #1a1a1a;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

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

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

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

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover { opacity: 1; color: var(--yellow); }

.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black) !important;
  background: var(--yellow);
  padding: 9px 22px;
  text-decoration: none;
  opacity: 1 !important;
  transition: background 0.2s !important;
}

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

/* ── HERO ──────────────────────────────────────────────── */
#hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  filter: brightness(0.78) contrast(1.05);
  transform: scale(1.02);
  transition: transform 8s ease;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.85) 0%, rgba(8,8,8,0.2) 40%, transparent 70%);
}

.hero-bg.loaded { transform: scale(1); }

.hero-eyebrow {
  position: relative;
  z-index: 2;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.6s 0.1s ease forwards;
}

.hero-slogan {
  position: relative;
  z-index: 2;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(22px, 3.2vw, 52px);
  line-height: 1.25;
  color: var(--white);
  max-width: 820px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s ease forwards;
  margin-bottom: 8px;
}

.hero-footer {
  position: relative;
  z-index: 2;
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.45s ease forwards;
}

.hero-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: rgba(240,237,229,0.6);
  max-width: 420px;
  line-height: 1.5;
}

.hero-actions { display: flex; gap: 16px; flex-shrink: 0; }

.btn-primary {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 40px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

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

.btn-ghost {
  display: inline-block;
  border: 2px solid rgba(240,237,229,0.3);
  color: var(--white);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 36px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: var(--white); }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.6s 0.8s ease forwards;
}

.hero-scroll span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240,237,229,0.35);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(240,237,229,0.35), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ── TICKER ────────────────────────────────────────────── */
.ticker-wrap {
  background: var(--yellow);
  overflow: hidden;
  padding: 13px 0;
  border-top: 3px solid #0a0a0a;
  border-bottom: 3px solid #0a0a0a;
}

.ticker-inner {
  display: flex;
  animation: ticker 28s linear infinite;
  width: max-content;
}

.ticker-item {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--black);
  letter-spacing: 0.1em;
  padding: 0 48px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-sep {
  font-size: 1.1rem;
  line-height: 1;
  align-self: center;
  flex-shrink: 0;
  margin-right: 48px;
  color: rgba(8,8,8,0.4);
}

/* ── SERVICES ──────────────────────────────────────────── */
#services {
  padding: 120px 48px;
}

.section-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 900;
  font-size: clamp(52px, 8vw, 110px);
  line-height: 0.88;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 80px;
}

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

.service-card {
  background: var(--off-black);
  border: 1px solid #1e1e1e;
  padding: 40px 32px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: default;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover { background: #121212; }
.service-card:hover::after { transform: scaleX(1); }

.service-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--yellow);
  opacity: 0.5;
  margin-bottom: 28px;
}

.service-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: block;
}

.service-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 14px;
  color: var(--white);
}

.service-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--muted);
}

.service-card.coming-soon {
  border-style: dashed;
  border-color: #282828;
  background: transparent;
  opacity: 0.5;
}

.service-card.coming-soon .service-name { color: #444; }

/* ── PORTFOLIO ─────────────────────────────────────────── */
#portfolio {
  padding: 0 48px 120px;
}

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

.portfolio-header .section-title { margin-bottom: 0; }

.portfolio-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px solid var(--yellow);
  padding-bottom: 2px;
  flex-shrink: 0;
  margin-bottom: 8px;
  transition: color 0.2s, border-color 0.2s;
}

.portfolio-link:hover { color: var(--red); border-color: var(--red); }

.portfolio-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 4px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #111;
}

.portfolio-item:first-child { grid-row: span 2; }

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) grayscale(20%);
  transition: filter 0.5s, transform 0.5s;
  display: block;
}

.portfolio-item:hover img {
  filter: brightness(0.9) grayscale(0%);
  transform: scale(1.04);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.portfolio-tag {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px dashed #2a2a2a;
}

.portfolio-placeholder-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #333;
}

/* ── ABOUT ─────────────────────────────────────────────── */
#about {
  background: var(--white);
  color: var(--black);
  padding: 120px 48px;
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 80px;
  align-items: center;
}

#about .section-eyebrow { color: var(--red); }
#about .section-title { color: var(--black); margin-bottom: 32px; }

.about-body {
  font-size: 1rem;
  line-height: 1.85;
  color: #3a3a3a;
}

.about-body p + p { margin-top: 20px; }

.about-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 2px solid #e0ddd5;
  padding-top: 40px;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}

.stat-num span { color: var(--red); }

.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  margin-top: 6px;
}

.about-visual {
  position: relative;
}

.about-img-frame {
  width: 100%;
  aspect-ratio: 3/4;
  background: #1a1a1a;
  overflow: hidden;
  position: relative;
}

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

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--yellow);
  color: var(--black);
  padding: 24px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

/* ── CONTACT ───────────────────────────────────────────── */
#contact {
  padding: 140px 48px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.contact-watermark {
  position: absolute;
  font-family: 'Bebas Neue', sans-serif;
  font-size: min(26vw, 320px);
  font-weight: 900;
  text-transform: uppercase;
  color: #0e0e0e;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  letter-spacing: -0.02em;
}

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

.contact-inner .section-title { margin-bottom: 12px; }

.contact-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 56px;
}

.contact-email {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4.5vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 4px solid var(--yellow);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.02em;
}

.contact-email:hover { color: var(--red); border-color: var(--red); }


.contact-or {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 48px 0;
}

.contact-or span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #333;
}

.contact-or::before,
.contact-or::after {
  content: '';
  width: 80px;
  height: 1px;
  background: #222;
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.social-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.social-link:hover { color: var(--white); }

/* ── FOOTER ────────────────────────────────────────────── */
footer {
  background: #040404;
  border-top: 1px solid #161616;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.06em;
}

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

.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.footer-copy {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #333;
}

/* ── ANIMATIONS ────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes scrollLine {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  30%       { opacity: 1; }
  70%       { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 18px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .nav-links { gap: 20px; }

  #hero { padding: 0 24px 48px; }
  .hero-footer { flex-direction: column; align-items: flex-start; }

  .services-grid { grid-template-columns: 1fr; }
  #services, #portfolio, #contact { padding-left: 24px; padding-right: 24px; }

  .portfolio-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .portfolio-item:first-child { grid-row: span 1; min-height: 280px; }
  .portfolio-item { min-height: 200px; }

  #about { grid-template-columns: 1fr; padding: 80px 24px; }
  .about-visual { display: none; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }

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

@media (max-width: 600px) {
  .nav-links li:not(:last-child) { display: none; }
  .hero-headline { font-size: 72px; }
  .about-stats { grid-template-columns: 1fr; gap: 24px; }
}

/* ── SCROLLBAR ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--yellow); }
