:root {
  color-scheme: dark;
  --bg: #070809;
  --bg-soft: #0d1012;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f7efe2;
  --muted: #b8afa1;
  --gold: #d7a64b;
  --gold-soft: #f4dfab;
  --emerald: #3dd6b1;
  --wine: #7c263d;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(215, 166, 75, 0.16), transparent 26rem),
    radial-gradient(circle at 78% 8%, rgba(61, 214, 177, 0.12), transparent 24rem),
    linear-gradient(180deg, #070809 0%, #101214 48%, #070809 100%);
  color: var(--text);
  font-family:
    "Aptos", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 82%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.07), transparent 16%, transparent 78%, rgba(215, 166, 75, 0.06));
  mix-blend-mode: screen;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 0;
  width: 420px;
  height: 420px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(215, 166, 75, 0.16), transparent 62%);
  border-radius: 999px;
  filter: blur(14px);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 200ms ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, 1180px);
  margin: 16px auto 0;
  padding: 12px 14px;
  background: rgba(7, 8, 9, 0.64);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(150%);
}

.brand,
.nav,
.hero-actions,
.signal-row,
.preview-metrics,
.preview-controls,
.tech-marquee div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #17120a;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(215, 166, 75, 0.28);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.nav {
  gap: clamp(10px, 2vw, 22px);
  padding-right: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 760;
}

.nav a {
  position: relative;
  padding: 10px 4px;
}

.nav a::after {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 6px;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

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

.nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  width: min(100% - 40px, 1180px);
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 132px) 0 clamp(48px, 7vw, 92px);
}

.hero::before {
  position: absolute;
  inset: 12% auto auto 44%;
  z-index: -1;
  width: 520px;
  height: 520px;
  content: "";
  background:
    radial-gradient(circle at 42% 42%, rgba(215, 166, 75, 0.22), transparent 34%),
    radial-gradient(circle at 64% 64%, rgba(124, 38, 61, 0.22), transparent 36%);
  filter: blur(28px);
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  padding: 9px 13px;
  color: var(--gold-soft);
  background: rgba(215, 166, 75, 0.09);
  border: 1px solid rgba(215, 166, 75, 0.28);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 850;
}

.availability::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--emerald);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(61, 214, 177, 0.72);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.1vw, 5.35rem);
  font-weight: 700;
  text-wrap: balance;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 4.8vw, 4.8rem);
  font-weight: 700;
  text-wrap: balance;
}

h3 {
  font-size: 1.35rem;
}

.hero-text,
.section-heading p,
.project-content p,
.service-card p,
.timeline-item p,
.contact-card p,
.luxury-preview p {
  color: var(--muted);
}

.hero-text {
  max-width: 620px;
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 850;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.button::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.button:hover::before {
  transform: translateX(120%);
}

.button.primary {
  color: #17120a;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-color: rgba(215, 166, 75, 0.6);
  box-shadow: 0 18px 44px rgba(215, 166, 75, 0.18);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.button:hover {
  border-color: rgba(244, 223, 171, 0.7);
  box-shadow: 0 18px 55px rgba(215, 166, 75, 0.18);
  transform: translateY(-2px);
}

.signal-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.signal-row span {
  padding: 8px 11px;
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 760;
}

.showcase-panel {
  position: relative;
  align-self: center;
  min-height: 570px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    radial-gradient(circle at 30% 12%, rgba(215, 166, 75, 0.16), transparent 32%);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.showcase-panel::before {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.panel-top strong {
  color: var(--gold-soft);
}

.luxury-preview {
  position: relative;
  display: flex;
  min-height: 414px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(7, 8, 9, 0.05), rgba(7, 8, 9, 0.82)),
    radial-gradient(circle at 22% 22%, rgba(215, 166, 75, 0.86) 0 12%, transparent 13%),
    radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.16), transparent 18%),
    linear-gradient(135deg, #21140a, #5f1f31 45%, #0b423f);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  transition:
    background 260ms ease,
    transform 260ms ease;
}

.luxury-preview.is-changing {
  transform: scale(0.985);
}

.preview-kicker {
  margin: 0 0 10px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.luxury-preview h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
}

.luxury-preview p:not(.preview-kicker) {
  max-width: 440px;
  margin: 18px 0 0;
  color: #efe7da;
}

.preview-metrics {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.preview-metrics span {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #f4ecdf;
}

.preview-metrics strong {
  color: var(--gold-soft);
}

.preview-controls {
  gap: 10px;
  margin-top: 16px;
}

.preview-controls button {
  flex: 1;
  min-height: 46px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.preview-controls button:hover,
.preview-controls button.active {
  color: #18110a;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-color: rgba(215, 166, 75, 0.65);
}

.section {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 130px) 0;
}

.section-heading {
  max-width: 820px;
}

.section-heading p:not(.eyebrow) {
  margin: 20px 0 0;
  font-size: 1.08rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.project-card,
.service-card,
.timeline-item,
.contact-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  border-radius: 30px;
  transform-style: preserve-3d;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.project-card:hover {
  border-color: rgba(244, 223, 171, 0.36);
  box-shadow: 0 34px 95px rgba(0, 0, 0, 0.4);
}

.project-art {
  display: grid;
  min-height: 250px;
  place-items: center;
  border-bottom: 1px solid var(--line-soft);
}

.project-art span {
  display: grid;
  width: 128px;
  height: 128px;
  place-items: center;
  color: #17120a;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(215, 166, 75, 0.35);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
  font-weight: 800;
}

.trufas-art {
  background:
    radial-gradient(circle at 28% 28%, rgba(215, 166, 75, 0.5), transparent 18%),
    linear-gradient(135deg, #2a160c, #6a2636 48%, #0b423f);
}

.nailflow-art {
  background:
    radial-gradient(circle at 74% 26%, rgba(244, 223, 171, 0.42), transparent 16%),
    linear-gradient(135deg, #251126, #7c263d 48%, #452009);
}

.project-content {
  padding: 28px;
}

.case-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3rem);
}

.project-content p {
  margin: 18px 0 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.feature-list span {
  padding: 11px 12px;
  color: #eee3d2;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 760;
}

.tech-marquee {
  overflow: hidden;
  margin-top: 28px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

.tech-marquee div {
  width: max-content;
  gap: 10px;
  animation: marquee 24s linear infinite;
}

.tech-marquee span {
  padding: 8px 12px;
  color: var(--gold-soft);
  border: 1px solid rgba(215, 166, 75, 0.2);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 850;
}

.services-section {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  background:
    radial-gradient(circle at 15% 20%, rgba(215, 166, 75, 0.13), transparent 28rem),
    rgba(255, 255, 255, 0.025);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.service-card,
.timeline-item {
  padding: 24px;
  border-radius: 24px;
  transition:
    transform 220ms ease,
    border-color 220ms ease;
}

.service-card:hover,
.timeline-item:hover {
  border-color: rgba(244, 223, 171, 0.34);
  transform: translateY(-6px);
}

.service-card span,
.timeline-item span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #17120a;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-radius: 50%;
  font-weight: 950;
}

.service-card p,
.timeline-item p {
  margin: 14px 0 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.contact-section {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 118px) 0;
}

.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 70px);
  border-radius: 34px;
}

.contact-card::before {
  position: absolute;
  inset: auto -10% -40% 45%;
  width: 520px;
  height: 520px;
  content: "";
  background: radial-gradient(circle, rgba(215, 166, 75, 0.2), transparent 62%);
  filter: blur(12px);
}

.contact-card h2,
.contact-card p,
.contact-card .hero-actions,
.contact-card .eyebrow {
  position: relative;
}

.contact-card h2 {
  max-width: 900px;
}

.contact-card p {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .cursor-glow {
    display: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 24px;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero,
  .project-grid,
  .services-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .showcase-panel {
    min-height: auto;
  }
}

@media (max-width: 660px) {
  .site-header,
  .hero,
  .section,
  .contact-section {
    width: min(100% - 28px, 1180px);
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.3rem);
  }

  .nav {
    gap: 8px 14px;
  }

  .nav a {
    padding: 4px 0;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-actions,
  .preview-controls,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .preview-controls {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .luxury-preview,
  .project-content,
  .contact-card {
    padding: 22px;
  }

  .project-card {
    min-height: auto;
  }

  .project-art {
    min-height: 210px;
  }
}
