:root {
  --color-primary: #1c1917;
  --color-on-primary: #ffffff;
  --color-secondary: #44403c;
  --color-accent: #c9a227;
  --color-accent-deep: #a16207;
  --color-background: #0a0908;
  --color-surface: #141210;
  --color-surface-2: #1c1917;
  --color-foreground: #f5f0e8;
  --color-muted: #b8aea0;
  --color-border: rgba(201, 162, 39, 0.22);
  --font-display: "Cinzel", serif;
  --font-body: "Josefin Sans", sans-serif;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.65;
  font-size: 16px;
  min-height: 100dvh;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--color-accent);
  color: #1c1917;
  padding: 8px 14px;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.gold-orb {
  pointer-events: none;
  position: fixed;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  z-index: 0;
  background: radial-gradient(circle, #c9a227 0%, transparent 70%);
}

.gold-orb--one {
  top: -10%;
  right: -8%;
}

.gold-orb--two {
  bottom: 10%;
  left: -12%;
  opacity: 0.1;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 6vw;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(10, 9, 8, 0.86), rgba(10, 9, 8, 0.35) 70%, transparent);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 13px;
}

.nav__mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f3e6b8, #c9a227 45%, #6b4f08);
  box-shadow: 0 0 16px rgba(201, 162, 39, 0.7);
}

.nav__links {
  display: none;
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.nav__links a:hover,
.nav__links a:focus-visible {
  color: var(--color-accent);
}

.nav__phone {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--color-accent);
}

.nav__phone svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.nav__toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-content: center;
  gap: 6px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-foreground);
}

.mobile-menu {
  position: fixed;
  inset: 72px 16px auto;
  z-index: 49;
  display: grid;
  gap: 8px;
  padding: 20px;
  background: rgba(20, 18, 16, 0.96);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  backdrop-filter: blur(16px);
}

.mobile-menu a {
  min-height: 44px;
  display: flex;
  align-items: center;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: end stretch;
  overflow: hidden;
}

#scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, 0.88) 0%, rgba(10, 9, 8, 0.55) 46%, rgba(10, 9, 8, 0.18) 100%),
    linear-gradient(180deg, transparent 55%, rgba(10, 9, 8, 0.92));
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding: 140px 6vw 88px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 18px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.35rem;
}

.hero__lead {
  max-width: 52ch;
  color: var(--color-muted);
  font-size: 1.08rem;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  transition: transform 200ms var(--ease), background 200ms var(--ease), border-color 200ms var(--ease);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn--gold {
  background: linear-gradient(180deg, #e3c76a, #c9a227 45%, #8a6a12);
  color: #1c1917;
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.28);
}

.btn--ghost {
  border-color: var(--color-border);
  color: var(--color-foreground);
  background: rgba(255, 255, 255, 0.03);
}

.btn--full {
  width: 100%;
}

.hero__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.hero__stats dt {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.hero__stats dd {
  font-family: var(--font-display);
  font-size: 1rem;
}

.hero__stats a {
  color: var(--color-accent);
}

.hero__scroll {
  position: absolute;
  right: 6vw;
  bottom: 36px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.hero__scroll i {
  display: block;
  width: 1px;
  height: 42px;
  background: linear-gradient(#c9a227, transparent);
  animation: drip 1.8s var(--ease) infinite;
}

@keyframes drip {
  0% { transform: scaleY(0.3); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--color-border);
  background: #100e0c;
  padding: 16px 0;
}

.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: slide 28s linear infinite;
  font-family: var(--font-display);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--color-accent);
}

@keyframes slide {
  to { transform: translateX(-50%); }
}

.intro,
.services,
.work,
.process,
.proof,
.contact,
.footer {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 12vw));
  margin-inline: auto;
}

.intro {
  display: grid;
  gap: 32px;
  padding: var(--space-6) 0 var(--space-5);
}

.intro__copy p:last-child {
  margin-top: 16px;
  color: var(--color-muted);
  max-width: 58ch;
}

.intro__quote {
  padding: 32px;
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.08), rgba(20, 18, 16, 0.4));
  border-radius: var(--radius);
}

.intro__quote p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.4;
  font-style: italic;
}

.intro__quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--color-accent);
}

.section-head {
  margin-bottom: 40px;
}

.section-head h2 {
  max-width: 16ch;
}

.services,
.work,
.process,
.proof {
  padding-bottom: var(--space-6);
}

.service-grid,
.work-grid,
.proof-grid,
.process-list {
  display: grid;
  gap: 18px;
}

.tilt-card {
  perspective: 900px;
}

.tilt-card__inner {
  height: 100%;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(20, 18, 16, 0.7));
  transform-style: preserve-3d;
  transition: transform 180ms linear, border-color 200ms var(--ease);
}

.tilt-card:hover .tilt-card__inner {
  border-color: rgba(201, 162, 39, 0.5);
}

.service-num {
  display: block;
  font-family: var(--font-display);
  color: var(--color-accent);
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}

.tilt-card p,
.work-card p,
.process-list p {
  color: var(--color-muted);
  margin: 10px 0 16px;
}

.tilt-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  color: #e8dcc6;
  font-size: 14px;
}

.tilt-card li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 1px;
  background: var(--color-accent);
  margin-right: 8px;
  vertical-align: middle;
}

.work-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.work-card__visual {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}

.work-card__visual--amber { background: radial-gradient(circle at 30% 20%, #5a4314, #1a140c); }
.work-card__visual--slate { background: radial-gradient(circle at 70% 30%, #3a3530, #12100e); }
.work-card__visual--wine { background: radial-gradient(circle at 40% 40%, #4a1f24, #140c0d); }

.work-3d {
  position: absolute;
  inset: 0;
}

.work-card__tag {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(10, 9, 8, 0.55);
}

.work-card__body {
  padding: 22px;
}

.process-list {
  list-style: none;
  counter-reset: none;
}

.process-list li {
  padding: 24px;
  border-top: 1px solid var(--color-border);
}

.process-list span {
  color: var(--color-accent);
  font-family: var(--font-display);
  letter-spacing: 0.16em;
}

.proof figure {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.03);
}

.proof blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.5;
  font-style: italic;
}

.proof figcaption {
  margin-top: 18px;
  display: grid;
  gap: 4px;
  font-size: 14px;
}

.proof figcaption span {
  color: var(--color-muted);
}

.contact {
  display: grid;
  gap: 28px;
  padding: 0 0 var(--space-6);
}

.contact__panel,
.contact__form {
  padding: 32px 28px;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.07), rgba(14, 12, 10, 0.8));
}

.contact__lead {
  margin: 16px 0 28px;
  color: var(--color-muted);
}

.contact__channels {
  display: grid;
  gap: 12px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: rgba(10, 9, 8, 0.45);
}

.channel svg {
  width: 20px;
  height: 20px;
  fill: var(--color-accent);
  flex: 0 0 auto;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: rgba(10, 9, 8, 0.7);
  outline: none;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}

.form-status {
  margin-top: 12px;
  min-height: 1.4em;
  color: var(--color-accent);
  font-size: 14px;
}

.footer {
  display: grid;
  gap: 24px;
  padding: 40px 0 120px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
}

.footer__brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--color-foreground);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer__meta {
  display: grid;
  gap: 8px;
}

.footer__meta a {
  color: var(--color-accent);
}

.float-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #e3c76a, #c9a227);
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.4);
}

.float-wa svg {
  width: 26px;
  height: 26px;
  fill: #1c1917;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track,
  .hero__scroll i {
    animation: none;
  }
  .tilt-card__inner,
  .btn {
    transition: none;
  }
}

@media (min-width: 768px) {
  .nav__links,
  .nav__phone {
    display: flex;
  }
  .nav__toggle {
    display: none;
  }
  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-grid,
  .proof-grid,
  .process-list {
    grid-template-columns: 1fr 1fr;
  }
  .intro {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
  }
}

@media (min-width: 1024px) {
  .contact {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
  }
  .work-grid {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: auto auto;
  }
  .work-card--wide {
    grid-row: span 2;
  }
  .work-card--wide .work-card__visual {
    min-height: 420px;
  }
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .process-list {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer {
    grid-template-columns: 1.4fr 1fr;
    padding-bottom: 48px;
  }
}
