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

@font-face {
  font-family: "Mirano";
  src: url("mirano/MiranoExtendedFreebie-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Mirano";
  src: url("mirano/MiranoExtendedFreebie-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("Outfit,Plus_Jakarta_Sans/Plus_Jakarta_Sans/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("Outfit,Plus_Jakarta_Sans/Plus_Jakarta_Sans/PlusJakartaSans-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: italic;
}

:root {
  --bg: #0a0a0a;
  --bg-2: #0d0d0d;
  --bg-3: #111111;
  --surface: #151515;
  --surface-soft: rgba(255,255,255,0.04);
  --surface-line: rgba(255,255,255,0.08);
  --text: #f3efe7;
  --text-strong: #ffffff;
  --muted: #a7a19a;
  --subtle: #7d7770;
  --accent: #c8a96a;
  --accent-soft: rgba(200,169,106,0.12);
  --accent-line: rgba(200,169,106,0.32);
  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-display: "Mirano", serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 40px;
  background: transparent;
  transition: background 0.3s ease;
}

#header.scrolled {
  background: #050505;
  border-bottom: 1px solid rgba(243,239,231,0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
}

.logo {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  line-height: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 48px;
}

nav a {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--text-strong);
}

/* ===== HERO ===== */
#hero {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(78%) brightness(0.72);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.35);
}

/* ===== SCROLLING NAME ===== */
.hero-marquee {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 2;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.hero-marquee-inner {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 16s linear infinite;
}

.hero-name-text {
  font-family: var(--font-display);
  font-size: 160px;
  font-weight: 800;
  color: rgba(243,239,231,0.26);
  white-space: nowrap;
  letter-spacing: -4px;
  line-height: 1;
}

.hero-dot {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 800;
  color: rgba(243,239,231,0.55);
  padding: 0 60px;
  line-height: 1;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-location {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 3;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-role {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--text-strong);
  text-align: right;
  line-height: 50px;
  letter-spacing: -1px;
}

.hero-shell {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 32px;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  padding: 0 80px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hero-shell .hero-location {
  position: static;
  left: auto;
  bottom: auto;
}

.hero-shell .hero-role {
  position: static;
  right: auto;
  bottom: auto;
}

/* ===== STACK SECTIONS ===== */
.stack-section {
  position: sticky;
  top: 0;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -20px 60px rgba(0,0,0,0.8);
  overflow: hidden;
}

#about   { z-index: 10; background: var(--bg-2); }
#works   { z-index: 20; }
#services{ z-index: 30; background: #0f0f0f; min-height: 100vh; }
#contact { z-index: 40; background: var(--bg-3); min-height: 100vh; }

/* ===== ABOUT ===== */
#about {
  padding: 160px 0 190px;
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  color: var(--accent);
}

.section-kicker::before {
  content: attr(data-index);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(200,169,106,0.04) inset;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.section-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
}

.section-label::before {
  content: "";
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(200,169,106,0.95), rgba(200,169,106,0));
  margin-right: 12px;
  box-shadow: 0 0 14px rgba(200,169,106,0.18);
}

.about-heading {
  font-family: var(--font-display);
  font-size: 76px;
  font-weight: 800;
  color: var(--text-strong);
  line-height: 0.98;
  letter-spacing: -3px;
  margin-bottom: 58px;
}

.accent { color: var(--accent); }

.about-bio { max-width: 620px; }

.about-bio p {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  line-height: 26px;
  margin-bottom: 18px;
}

/* ===== WORKS ===== */
#works-wrapper {
  position: relative;
  height: 700vh;
}

.works-section {
  position: sticky;
  top: 0;
  min-height: 100vh;
  z-index: 20;
  background: var(--bg);
  padding: 78px 0 46px;
  overflow: hidden;
}

.works-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
}

.works-stage {
  position: relative;
  height: calc(100vh - 170px);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(243,239,231,0.08);
  background: #0a0a0a;
  box-shadow: 0 24px 70px rgba(0,0,0,0.45);
}

.works-media {
  position: absolute;
  inset: 0;
}

.works-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.12) 42%, rgba(10,10,10,0.72) 68%, rgba(10,10,10,0.96) 100%);
  pointer-events: none;
  z-index: 1;
}

.works-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) brightness(0.76);
  transform: scale(1.01);
  transition: opacity 0.55s ease, transform 0.7s ease;
  opacity: 1;
}

.works-media.is-transitioning img {
  opacity: 0;
  transform: scale(1.04);
}

.works-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(46%, 560px);
  height: 100%;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(12px);
  border-left: 1px solid rgba(243,239,231,0.08);
  z-index: 2;
}

.works-kicker {
  margin-bottom: 10px;
}

.works-intro {
  max-width: none;
  margin-bottom: 12px;
  color: rgba(243,239,231,0.62);
  font-size: 15px;
  line-height: 24px;
  white-space: nowrap;
}

.works-panel-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.works-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.works-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  cursor: pointer;
  border-bottom: 1px solid rgba(243,239,231,0.05);
  transition: opacity 0.2s ease;
  opacity: 0.38;
}

.works-item.active,
.works-item:hover {
  opacity: 1;
}

.works-item.active .works-num {
  color: var(--text-strong);
}

.works-num {
  font-size: 9px;
  font-weight: 700;
  color: var(--subtle);
  letter-spacing: 1px;
  min-width: 32px;
}

.works-name {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: var(--text-strong);
}

.works-big-num {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 52px);
  font-weight: 800;
  color: var(--text-strong);
  line-height: 1;
  letter-spacing: -3px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.works-divider {
  width: 100%;
  height: 1px;
  background: var(--surface-line);
  margin: 10px 0;
}

.works-copy {
  max-width: 400px;
}

.works-big-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.9vw, 44px);
  font-weight: 800;
  color: var(--text-strong);
  line-height: 0.98;
  letter-spacing: -1.8px;
  margin-bottom: 10px;
}

.works-desc {
  color: var(--muted);
  font-size: 12px;
  line-height: 20px;
}

.works-viewmore {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.works-viewmore span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-strong);
  letter-spacing: 0.5px;
}

.works-arrow {
  font-size: 16px;
  color: var(--text-strong);
  transition: transform 0.3s ease;
}

.works-viewmore:hover .works-arrow {
  transform: translateX(6px);
}

/* ===== SERVICES ===== */
.services-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 80px 60px 80px;
}

.services-bg-text {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: rgba(243,239,231,0.12);
  line-height: 1;
  letter-spacing: -4px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  margin-bottom: 32px;
  opacity: 0.95;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.svc-card {
  background: var(--surface-soft);
  border: 1px solid var(--surface-line);
  border-radius: 16px;
  padding: 22px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.svc-card:hover {
  border-color: var(--accent-line);
  background: rgba(200,169,106,0.05);
}

.svc-icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.svc-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.svc-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 24px;
}

/* ===== CONTACT ===== */
#contact {
  padding: 120px 0;
  margin-top: 200px;
  background: var(--bg);
}

.contact-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 44px;
  align-items: start;
}

.contact-footer {
  max-width: 100%;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.9vw, 44px);
  font-weight: 800;
  color: var(--text-strong);
  line-height: 0.98;
  letter-spacing: -1.8px;
  margin-bottom: 16px;
  max-width: 700px;
}

.contact-heading span {
  color: var(--accent);
}

.contact-text {
  max-width: 580px;
  color: var(--muted);
  font-size: 15px;
  line-height: 26px;
  margin-bottom: 22px;
}

.contact-location {
  margin-bottom: 28px;
  color: var(--subtle);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-bottom: 28px;
}

.contact-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(243,239,231,0.18);
  padding-bottom: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-links a:hover {
  color: var(--accent);
  border-color: rgba(200,169,106,0.65);
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 14px;
  background: linear-gradient(90deg, #d8c08f, #c8a96a);
  color: #121212;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(200,169,106,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.contact-cta span {
  font-size: 15px;
  font-weight: 700;
}

.contact-cta i {
  font-size: 22px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(243,239,231,0.08);
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--subtle);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(243,239,231,0.08);
  border-radius: 14px;
  background: rgba(10,10,10,0.9);
  color: var(--text-strong);
  padding: 14px 15px;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(243,239,231,0.34);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(200,169,106,0.55);
  box-shadow: 0 0 0 3px rgba(200,169,106,0.12);
}

.contact-submit {
  grid-column: 1 / -1;
  border: 0;
  border-radius: 14px;
  min-height: 54px;
  background: linear-gradient(90deg, #d8c08f, #c8a96a);
  color: #121212;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.contact-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(200,169,106,0.18);
  filter: brightness(1.03);
}

@media (max-width: 1024px) {
  #header {
    padding: 20px 28px;
  }

  .nav-container {
    padding: 0;
  }

  .hero-shell {
    padding: 0 28px;
    bottom: 24px;
  }

  #about {
    padding: 140px 28px 160px;
  }

  .about-container,
  .works-shell,
  .contact-shell {
    padding: 0;
  }

  .works-section {
    padding: 100px 28px 60px;
  }

  .works-stage {
    height: auto;
    min-height: calc(100vh - 120px);
  }

  .works-panel {
    width: min(50%, 440px);
    padding: 22px 20px;
  }

  .services-container {
    padding: 70px 28px 60px;
  }

  #contact {
    padding: 100px 28px;
    margin-top: 140px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  #header {
    padding: 16px 24px;
  }

  .hero-shell {
    padding: 0 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .section-kicker {
    gap: 10px;
    margin-bottom: 36px;
  }

  .about-container,
  .works-shell,
  .contact-shell {
    padding: 0;
  }

  .section-kicker::before {
    width: 30px;
    height: 30px;
  }

  .section-label::before {
    width: 28px;
    margin-right: 10px;
  }

  .section-label {
    font-size: 10px;
  }

  .works-intro {
    max-width: none;
    margin-bottom: 20px;
    white-space: normal;
  }

  .works-section {
    padding: 80px 24px 84px;
  }

  #works-wrapper {
    height: auto;
  }

  .works-stage {
    min-height: auto;
    height: auto;
  }

  .works-media {
    position: relative;
    height: 44vh;
  }

  .works-media img {
    transform: none;
  }

  .works-panel {
    position: relative;
    width: 100%;
    height: auto;
    border-left: 0;
    border-top: 1px solid rgba(243,239,231,0.08);
    background: rgba(10,10,10,0.94);
  }

  .works-panel-top {
    flex-direction: column;
  }

  .works-copy {
    max-width: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    margin-bottom: 18px;
  }

  .contact-form {
    padding: 20px;
    grid-template-columns: 1fr;
  }

  .contact-field-full,
  .contact-submit {
    grid-column: auto;
  }

  .contact-heading {
    letter-spacing: -1.8px;
  }

  .contact-text {
    margin-bottom: 22px;
  }

  .contact-location {
    margin-bottom: 22px;
  }

  .contact-cta {
    padding: 0 18px;
  }

  .contact-cta span {
    font-size: 15px;
  }
}
