:root {
  --bg: #070708;
  --bg-2: #101012;
  --card: #16151a;
  --text: #f6f1e8;
  --muted: #9d968c;
  --line: rgba(255, 255, 255, 0.08);
  --gold: #e7b089;
  --gold-2: #f3c9a8;
  --wrap: min(1180px, calc(100% - 2.5rem));
  --nav: 76px;
  --font-display: Syne, "Segoe UI", sans-serif;
  --font-body: Outfit, "Segoe UI", sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.8125rem;
  --fs-md: 0.875rem;
  --fs-nav: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lead: 1.125rem;
  --fs-lg: 1.5rem;
  --fs-h3: clamp(1.375rem, 2.2vw, 2rem);
  --fs-h2: clamp(2.25rem, 5vw, 4rem);
  --fs-display: clamp(3.75rem, 9vw, 7.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  font-synthesis: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin: 0;
}

p {
  margin: 0;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: #1a120c;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.045;
  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='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  position: fixed;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.glow-a {
  top: -18vw;
  right: -10vw;
  background: #5a3a28;
}

.glow-b {
  bottom: 10vh;
  left: -18vw;
  background: #2a1c28;
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 40;
  width: var(--wrap);
  margin: 14px auto 0;
  min-height: 62px;
  padding: 0 10px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  background: rgba(12, 12, 14, 0.72);
  backdrop-filter: blur(18px);
  border-radius: 999px;
}

.logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #1a120c;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-sm);
}

.nav-links {
  display: flex;
  gap: 1.6rem;
}

.nav-links a {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
}

.nav-cta {
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: var(--text);
  color: #111;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-nav);
}

.nav-cta:hover {
  background: var(--gold);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--text);
}

.drawer {
  position: sticky;
  top: 90px;
  z-index: 35;
  width: var(--wrap);
  margin: 8px auto 0;
  padding: 1rem 1.2rem;
  border-radius: 22px;
  background: #141416;
  border: 1px solid var(--line);
  display: none;
  flex-direction: column;
}

.drawer:not([hidden]) {
  display: flex;
}

.drawer a {
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.hero {
  position: relative;
  z-index: 1;
  width: var(--wrap);
  margin: 0 auto;
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0 4rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
  padding: 0.35rem 0.8rem 0.35rem 0.55rem;
  border: 1px solid rgba(231, 176, 137, 0.35);
  border-radius: 999px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5fd68a;
  box-shadow: 0 0 0 4px rgba(95, 214, 138, 0.16);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.hero h1 {
  font-size: var(--fs-display);
}

.hero h1 span {
  color: var(--gold);
}

.lead {
  max-width: 38ch;
  margin-top: 1.3rem;
  color: var(--muted);
  font-size: var(--fs-lead);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  font-weight: 600;
  font-style: normal;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a120c;
}

.btn-line {
  border-color: var(--line);
  color: var(--text);
}

.btn-line:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-stats {
  display: flex;
  gap: 1.6rem;
  margin-top: 2.4rem;
}

.hero-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 800;
}

.hero-stats span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
}

.hero-stage {
  position: relative;
  height: 620px;
}

.stage-glow {
  position: absolute;
  inset: 12% 8%;
  background: radial-gradient(circle, rgba(231, 176, 137, 0.28), transparent 68%);
  filter: blur(20px);
}

.shot {
  position: absolute;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.shot-a {
  width: 78%;
  height: 70%;
  left: 4%;
  top: 8%;
  transform: rotate(-8deg);
  z-index: 1;
}

.shot-b {
  width: 62%;
  height: 52%;
  right: 0;
  top: 0;
  transform: rotate(7deg);
  z-index: 2;
}

.shot-c {
  width: 70%;
  height: 48%;
  right: 6%;
  bottom: 0;
  transform: rotate(-3deg);
  z-index: 3;
}

.shot:hover {
  transform: rotate(0deg) translateY(-8px) scale(1.03);
  z-index: 5;
  box-shadow: 0 40px 90px rgba(231, 176, 137, 0.18);
}

.work,
.services,
.about,
.contact {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 2rem;
}

.section-top {
  margin-bottom: 2.2rem;
}

.section-top h2,
.about h2,
.contact h2 {
  font-size: var(--fs-h2);
  max-width: 14ch;
}

.case {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  min-height: 380px;
  isolation: isolate;
}

.case img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.8s ease;
}

.case-hero {
  width: var(--wrap);
  margin: 0 auto 1.2rem;
  min-height: 620px;
}

.case-hero img {
  min-height: 620px;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.case-wide {
  min-height: 460px;
}

.case-wide img {
  min-height: 460px;
}

.case-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7, 7, 8, 0.88) 100%);
}

.case-info {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;
}

.case-info span {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-info h3 {
  margin: 0.45rem 0 0.8rem;
  font-size: var(--fs-h3);
  max-width: 18ch;
}

.case-info em {
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--fs-nav);
  color: var(--gold-2);
  font-weight: 600;
}

.case:hover img {
  transform: scale(1.06);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.svc {
  padding: 1.5rem 1.4rem 1.6rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #17161c, #111114);
  border: 1px solid var(--line);
  min-height: 230px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.svc:hover {
  border-color: rgba(231, 176, 137, 0.4);
  transform: translateY(-4px);
}

.svc span {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: var(--fs-nav);
  font-weight: 700;
}

.svc h3 {
  margin: 1.1rem 0 0.7rem;
  font-size: var(--fs-lg);
}

.svc p {
  color: var(--muted);
  font-size: var(--fs-base);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.about-grid > .reveal p,
.contact-grid > div > p {
  font-size: var(--fs-base);
}

.about-grid > .reveal p + p,
.contact-grid > div > p {
  color: var(--muted);
  margin-top: 1rem;
  max-width: 46ch;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0.4rem 1.4rem;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
}

.facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-base);
}

.facts li:last-child {
  border-bottom: 0;
}

.facts span {
  color: var(--muted);
  font-size: var(--fs-sm);
}

.facts a:hover {
  color: var(--gold);
}

.contact {
  padding-bottom: 5rem;
}

.contact-links {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.8rem;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.contact-links a:hover {
  color: var(--gold);
}

.form {
  display: grid;
  gap: 0.95rem;
  padding: 1.4rem;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
}

.form label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-style: normal;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}

.form option {
  color: #111;
}

.form .btn {
  width: 100%;
  margin-top: 0.4rem;
}

.hint {
  color: var(--muted);
  font-size: var(--fs-sm);
}

.footer {
  width: var(--wrap);
  margin: 0 auto;
  padding: 1.2rem 0 2.2rem;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: var(--fs-sm);
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--text);
  font-family: var(--font-display);
  font-size: var(--fs-nav);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.8s ease forwards;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .case-grid,
  .service-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .burger {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-stage {
    height: 420px;
    order: -1;
  }

  .case-hero,
  .case-hero img {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  :root {
    --wrap: min(1180px, calc(100% - 1.4rem));
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .hero-stage {
    height: 340px;
  }

  .footer {
    flex-direction: column;
    gap: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .shot,
  .case img,
  .btn {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
