:root {
  --ink: #14120f;
  --charcoal: #1c1b18;
  --paper: #f5f0e7;
  --ivory: #fffaf0;
  --muted: #756f65;
  --line: rgba(20, 18, 15, 0.14);
  --gold: #b99055;
  --teal: #175d5b;
  --rose: #9b5d54;
  --shadow: 0 24px 80px rgba(20, 18, 15, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 50;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--rose));
  box-shadow: 0 0 22px rgba(185, 144, 85, 0.44);
  transform-origin: left;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: var(--ivory);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(245, 240, 231, 0.92);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  min-width: max-content;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  font-size: 12px;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  font-size: 14px;
  font-weight: 600;
}

.main-nav a,
.nav-cta {
  opacity: 0.88;
}

.main-nav a:hover,
.nav-cta:hover {
  opacity: 1;
}

.nav-cta {
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 700;
  min-width: max-content;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--ivory);
  background: #171511;
  padding: 104px clamp(20px, 5vw, 76px) 44px;
}

.hero-image,
.hero-shade,
.hero-grain,
.hero-frame {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("assets/lom-studio-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
  animation: heroImageDrift 5s ease-in-out infinite alternate;
  transform-origin: 58% 48%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 12, 10, 0.92) 0%, rgba(13, 12, 10, 0.7) 34%, rgba(13, 12, 10, 0.18) 72%),
    linear-gradient(0deg, rgba(13, 12, 10, 0.8) 0%, rgba(13, 12, 10, 0) 38%);
}

.hero-grain {
  z-index: 1;
  pointer-events: none;
  opacity: 0.36;
  mix-blend-mode: soft-light;
  background-image:
    linear-gradient(112deg, transparent 0%, rgba(255, 250, 240, 0.12) 38%, transparent 56%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 3px);
  animation: heroSheen 5s ease-in-out infinite;
}

.hero-frame {
  z-index: 1;
  pointer-events: none;
  margin: 86px clamp(18px, 3vw, 46px) 28px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  box-shadow: inset 0 0 0 1px rgba(185, 144, 85, 0.1);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  animation: contentRise 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #d5ad73;
}

.hero .eyebrow::before {
  content: "";
  width: 46px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.96;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 5.25vw, 64px);
  max-width: 580px;
  text-wrap: balance;
  text-shadow: 0 18px 58px rgba(0, 0, 0, 0.46);
}

h2 {
  font-size: clamp(38px, 5vw, 72px);
  max-width: 900px;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(20px, 2vw, 26px);
}

.hero-copy {
  max-width: 560px;
  color: rgba(255, 250, 240, 0.84);
  font-size: clamp(16px, 1.45vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 20px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.36) 42%, transparent 70%);
  transform: translateX(-140%);
  transition: transform 560ms ease;
}

.button:hover::after {
  transform: translateX(140%);
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--ivory), #dcc39b);
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(185, 144, 85, 0.24);
}

.contact .button.primary {
  background: var(--ink);
  color: var(--ivory);
}

.button.ghost {
  border-color: rgba(255, 250, 240, 0.46);
  color: var(--ivory);
  background: rgba(255, 250, 240, 0.05);
  backdrop-filter: blur(14px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  background: linear-gradient(90deg, rgba(185, 144, 85, 0.45), rgba(255, 250, 240, 0.18), rgba(23, 93, 91, 0.34));
  border: 1px solid rgba(255, 250, 240, 0.24);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.22);
}

.hero-stats div {
  min-height: 58px;
  padding: 12px 16px;
  background: rgba(15, 14, 12, 0.64);
  backdrop-filter: blur(10px);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.hero-stats span {
  color: rgba(255, 250, 240, 0.68);
  font-size: 13px;
}

.hero-luxury-panel {
  position: absolute;
  right: clamp(28px, 5vw, 78px);
  bottom: clamp(34px, 6vw, 86px);
  z-index: 2;
  width: min(330px, 28vw);
  padding: 22px;
  border: 1px solid rgba(255, 250, 240, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.16), rgba(255, 250, 240, 0.04)),
    rgba(14, 13, 11, 0.42);
  color: var(--ivory);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(20px);
  animation: panelFloat 5s ease-in-out infinite;
}

.hero-luxury-panel span {
  display: block;
  margin-bottom: 28px;
  color: #d5ad73;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-luxury-panel strong {
  display: block;
  margin-bottom: 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.02;
}

.hero-luxury-panel p {
  margin: 0;
  color: rgba(255, 250, 240, 0.7);
  font-size: 13px;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 76px);
}

.intro {
  background: var(--ivory);
}

.intro-grid,
.proof,
.work-band,
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.76fr);
  gap: clamp(36px, 8vw, 96px);
  align-items: start;
}

.intro-grid p,
.work-copy p,
.proof-list p,
.contact-inner p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.42);
}

.interactive-card {
  --mx: 50%;
  --my: 50%;
  transform-style: preserve-3d;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.interactive-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(185, 144, 85, 0.24), transparent 34%);
  transition: opacity 220ms ease;
}

.interactive-card:hover {
  border-color: rgba(185, 144, 85, 0.42);
  box-shadow: 0 24px 60px rgba(20, 18, 15, 0.12);
  transform: translateY(-6px);
}

.interactive-card:hover::before {
  opacity: 1;
}

.service-number {
  display: block;
  margin-bottom: 74px;
  color: var(--rose);
  font-weight: 800;
}

.service-card p,
.timeline-item p {
  color: var(--muted);
}

.work-band {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 76px);
  background: var(--charcoal);
  color: var(--ivory);
  overflow: hidden;
}

.work-copy {
  align-self: center;
}

.work-copy p {
  color: rgba(255, 250, 240, 0.72);
}

.work-panel {
  min-height: 460px;
  border: 1px solid rgba(255, 250, 240, 0.18);
  background: #0f1514;
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 250, 240, 0.14);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.32);
}

.preview-layout {
  padding: clamp(22px, 4vw, 46px);
}

.preview-hero {
  height: 190px;
  margin-bottom: 28px;
  background:
    linear-gradient(120deg, rgba(185, 144, 85, 0.85), rgba(23, 93, 91, 0.7)),
    url("assets/lom-studio-hero.png") center / cover;
}

.preview-lines {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
}

.preview-lines span {
  display: block;
  height: 12px;
  background: rgba(255, 250, 240, 0.22);
}

.preview-lines span:nth-child(1) {
  width: 74%;
}

.preview-lines span:nth-child(2) {
  width: 58%;
}

.preview-lines span:nth-child(3) {
  width: 42%;
}

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

.preview-grid span {
  min-height: 86px;
  background: rgba(255, 250, 240, 0.1);
  border: 1px solid rgba(255, 250, 240, 0.12);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.timeline-item {
  min-height: 280px;
  padding: 30px;
  background: var(--ivory);
  border: 1px solid var(--line);
}

.timeline-item span {
  display: block;
  margin-bottom: 58px;
  color: var(--teal);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}

.proof {
  background: #e8e0d2;
}

.concierge {
  background:
    linear-gradient(135deg, rgba(20, 18, 15, 0.97), rgba(22, 32, 31, 0.96)),
    var(--charcoal);
  color: var(--ivory);
}

.concierge .section-heading {
  align-items: start;
}

.concierge-intro {
  max-width: 430px;
  color: rgba(255, 250, 240, 0.7);
  font-size: 18px;
}

.concierge-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: stretch;
}

.concierge-controls {
  display: grid;
  gap: 16px;
}

.choice-group {
  display: grid;
  grid-template-columns: 120px repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  border: 1px solid rgba(255, 250, 240, 0.14);
  background: rgba(255, 250, 240, 0.12);
}

.choice-group > span,
.choice {
  min-height: 64px;
  border: 0;
  background: rgba(255, 250, 240, 0.06);
  color: rgba(255, 250, 240, 0.76);
  font: inherit;
}

.choice-group > span {
  display: grid;
  place-items: center;
  color: #d5ad73;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.choice {
  cursor: pointer;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.choice:hover,
.choice:focus-visible {
  background: rgba(255, 250, 240, 0.14);
  color: var(--ivory);
}

.choice.is-active {
  background: linear-gradient(135deg, rgba(255, 250, 240, 0.92), rgba(220, 195, 155, 0.92));
  color: var(--ink);
}

.concierge-result {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 250, 240, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.14), rgba(255, 250, 240, 0.04)),
    rgba(255, 250, 240, 0.05);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
}

.result-label {
  color: #d5ad73;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.concierge-result h3 {
  margin: 34px 0 16px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.98;
}

.concierge-result p {
  color: rgba(255, 250, 240, 0.72);
}

.result-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0;
  border: 1px solid rgba(255, 250, 240, 0.14);
  background: rgba(255, 250, 240, 0.12);
}

.result-meta div {
  padding: 14px;
  background: rgba(13, 12, 10, 0.38);
}

.result-meta strong,
.result-meta span {
  display: block;
}

.result-meta strong {
  margin-bottom: 5px;
  color: var(--ivory);
  font-size: 15px;
}

.result-meta span {
  color: rgba(255, 250, 240, 0.6);
  font-size: 12px;
}

.result-updated {
  animation: resultPulse 420ms ease;
}

.proof-list {
  display: grid;
  gap: 22px;
  border-left: 1px solid rgba(20, 18, 15, 0.24);
  padding-left: clamp(24px, 4vw, 54px);
}

.contact {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 76px);
  background: var(--ivory);
}

.contact-inner {
  padding: clamp(32px, 6vw, 70px);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 70px rgba(20, 18, 15, 0.1);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-note {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.form-error {
  min-height: 20px;
  margin: -4px 0 0;
  color: #8f2f24;
  font-size: 13px;
  font-weight: 800;
}

.form-success {
  min-height: 20px;
  margin: -4px 0 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.form-error:empty,
.form-success:empty {
  display: none;
}

input.is-invalid {
  border-color: #8f2f24;
  box-shadow: 0 0 0 3px rgba(143, 47, 36, 0.14);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(20, 18, 15, 0.18);
  background: var(--ivory);
  color: var(--ink);
  font: inherit;
  padding: 15px 16px;
  outline: none;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 144, 85, 0.18);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 76px);
  color: rgba(255, 250, 240, 0.72);
  background: var(--ink);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.footer-links a {
  color: rgba(255, 250, 240, 0.72);
}

.footer-links a:hover {
  color: var(--ivory);
}

.legal-page {
  min-height: 100vh;
  padding: clamp(28px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(20, 18, 15, 0.96), rgba(22, 32, 31, 0.94)),
    var(--charcoal);
  color: var(--ivory);
}

.legal-back {
  display: inline-flex;
  margin-bottom: clamp(42px, 7vw, 90px);
  border-bottom: 1px solid rgba(255, 250, 240, 0.48);
  color: var(--ivory);
  font-weight: 800;
}

.legal-content {
  width: min(820px, 100%);
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid rgba(255, 250, 240, 0.16);
  background: rgba(255, 250, 240, 0.06);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.legal-content h1 {
  max-width: 760px;
  margin-bottom: 10px;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.2;
}

.legal-content p {
  color: rgba(255, 250, 240, 0.74);
}

.legal-updated {
  margin-bottom: 34px;
  color: rgba(255, 250, 240, 0.54);
  font-size: 14px;
}

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

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

@keyframes heroImageDrift {
  0% {
    filter: saturate(0.95) contrast(1);
    transform: scale(1.01) translate3d(0, 0, 0);
  }

  100% {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.055) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes heroSheen {
  0% {
    background-position: -140vw 0, 0 0;
    opacity: 0.22;
  }

  45% {
    opacity: 0.42;
  }

  100% {
    background-position: 120vw 0, 0 12px;
    opacity: 0.24;
  }
}

@keyframes contentRise {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panelFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes resultPulse {
  0% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-4px) scale(1.01);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .hero-grain,
  .hero-content,
  .hero-luxury-panel,
  .reveal {
    animation: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 96px;
  }

  .hero-luxury-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 620px);
    margin-top: 18px;
  }

  .hero-stats,
  .service-grid,
  .timeline,
  .concierge-grid,
  .intro-grid,
  .proof,
  .work-band,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .service-card,
  .timeline-item {
    min-height: 230px;
  }

  .service-number,
  .timeline-item span {
    margin-bottom: 36px;
  }

  .work-panel {
    min-height: 360px;
  }

  .choice-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 14px 18px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    font-size: 13px;
  }

  .hero {
    padding: 92px 18px 42px;
  }

  .hero-frame {
    margin: 74px 12px 18px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 52px);
  }

  .hero .eyebrow::before {
    width: 28px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(13, 12, 10, 0.92), rgba(13, 12, 10, 0.58)),
      linear-gradient(0deg, rgba(13, 12, 10, 0.82), rgba(13, 12, 10, 0.1));
  }

  .hero-stats div {
    min-height: 76px;
  }

  .hero-luxury-panel {
    display: none;
  }

  .button {
    width: 100%;
  }

  .section,
  .work-band,
  .contact {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-heading {
    display: block;
  }

  .service-card,
  .timeline-item {
    padding: 24px;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: start;
  }
}
