:root {
  --ink: #161412;
  --muted: #6d6259;
  --paper: #f7f3ee;
  --cream: #fffaf4;
  --warm: #d7b98b;
  --gold: #b8944f;
  --clay: #9f6a45;
  --stone: #dfd7ce;
  --charcoal: #23201d;
  --line: rgba(22, 20, 18, 0.14);
  --shadow: 0 24px 70px rgba(31, 25, 20, 0.18);
  --header-h: 118px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.topbar {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 4vw, 46px);
  padding: 10px 22px;
  color: #efe9e0;
  background: #1f1b17;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.topbar a {
  color: var(--warm);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 390px) minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  column-gap: clamp(14px, 2.5vw, 36px);
  min-height: var(--header-h);
  padding: 12px clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(255, 250, 244, 0.94), rgba(232, 222, 211, 0.9)),
    rgba(247, 243, 238, 0.9);
  border-bottom: 1px solid rgba(22, 20, 18, 0.1);
  box-shadow: 0 16px 42px rgba(31, 25, 20, 0.08);
  backdrop-filter: blur(18px);
}

.site-header::after {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: -1px;
  left: clamp(18px, 5vw, 72px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 148, 79, 0.62), transparent);
  content: "";
  pointer-events: none;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  grid-column: 2;
  justify-self: center;
}

.brand img {
  width: clamp(230px, 27vw, 390px);
  max-height: 94px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3c352f;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  perspective: 900px;
}

.nav-left {
  grid-column: 1;
  justify-self: end;
}

.nav-right {
  grid-column: 3;
  justify-self: start;
}

.nav a {
  position: relative;
  min-width: 86px;
  padding: 14px 15px;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(231, 221, 210, 0.78)),
    var(--cream);
  border: 1px solid rgba(22, 20, 18, 0.12);
  border-radius: 3px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.85), 0 10px 22px rgba(31, 25, 20, 0.07);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
}

.nav a::before {
  position: absolute;
  inset: -55% auto auto -30%;
  width: 70%;
  height: 210%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  content: "";
  transform: rotate(24deg) translateX(-130%);
  transition: transform 0.55s ease;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s ease;
}

.nav a:hover {
  color: #1d1712;
  border-color: rgba(184, 148, 79, 0.5);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.9), 0 18px 34px rgba(31, 25, 20, 0.14);
  transform: translateY(-3px) rotateX(4deg);
}

.nav a:hover::before {
  transform: rotate(24deg) translateX(230%);
}

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

.menu-btn {
  display: none;
}

.intro-logo-flight {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.94) 42%, rgba(255, 255, 255, 0.72) 64%, transparent 86%);
  pointer-events: none;
  animation: flightLayer 3.8s ease forwards;
}

.intro-logo-flight img {
  width: min(80vw, 820px);
  max-height: 80vh;
  object-fit: contain;
  filter: drop-shadow(0 34px 80px rgba(10, 8, 6, 0.34));
  transform-origin: center;
  animation: logoFlight 3.8s cubic-bezier(0.16, 0.86, 0.2, 1) forwards;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  overflow: hidden;
  color: white;
  background: #15120f;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  animation: heroFade 18s infinite;
}

.hero-media img:nth-child(2) {
  animation-delay: 6s;
}

.hero-media img:nth-child(3) {
  animation-delay: 12s;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 14, 12, 0.93) 0%, rgba(18, 14, 12, 0.66) 46%, rgba(18, 14, 12, 0.12) 100%),
    radial-gradient(circle at 78% 78%, rgba(215, 185, 139, 0.22), transparent 34%),
    linear-gradient(0deg, rgba(18, 14, 12, 0.35), rgba(18, 14, 12, 0.12));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(850px, calc(100% - 36px));
  min-height: calc(100vh - var(--header-h));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 72px 0 116px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--warm);
}

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

h1 {
  max-width: 830px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 8vw, 98px);
  font-weight: 500;
  line-height: 0.94;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 5vw, 66px);
  font-weight: 500;
  line-height: 1.02;
}

h3 {
  line-height: 1.14;
}

.hero-content > p:not(.eyebrow) {
  max-width: 710px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-proof span,
.hero-proof a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  color: #fff8ee;
  background: rgba(255, 250, 244, 0.1);
  border: 1px solid rgba(215, 185, 139, 0.34);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-proof a {
  color: var(--warm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(16, 12, 10, 0.18);
}

.btn.primary {
  color: #1c1712;
  background: var(--warm);
  border-color: var(--warm);
}

.btn.ghost {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.btn.dark {
  color: var(--ink);
  background: transparent;
}

.hero-card {
  position: absolute;
  right: clamp(18px, 6vw, 78px);
  bottom: 38px;
  z-index: 3;
  color: white;
  background: transparent;
  border: 0;
  border-radius: 14px;
  box-shadow: none;
  backdrop-filter: blur(16px);
}

.logo-card {
  width: min(380px, calc(100% - 36px));
  padding: 0;
  perspective: 1000px;
}

.logo-flip {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.16, 0.86, 0.2, 1), filter 0.3s ease;
}

.logo-card:hover .logo-flip {
  transform: rotateY(180deg) rotateX(4deg);
  filter: drop-shadow(0 34px 54px rgba(215, 185, 139, 0.28));
}

.logo-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 14px;
  background: transparent;
  border: 1px solid rgba(255, 246, 224, 0.34);
  border-radius: 16px;
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.48),
    inset 0 -18px 36px rgba(0, 0, 0, 0.16),
    0 28px 64px rgba(0, 0, 0, 0.26),
    0 0 34px rgba(215, 185, 139, 0.16);
  backface-visibility: hidden;
}

.logo-back {
  transform: rotateY(180deg);
}

.logo-face img {
  width: 100%;
  max-height: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.logo-back {
  padding: 0;
}

.logo-back img {
  object-fit: cover;
  object-position: 52% 36%;
}

.trust-strip {
  overflow: hidden;
  color: #ece2d7;
  background: var(--charcoal);
  cursor: grab;
  user-select: none;
}

.strip-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 18px clamp(18px, 5vw, 72px);
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.strip-track::-webkit-scrollbar {
  display: none;
}

.strip-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.strip-track span {
  min-width: max-content;
  font-size: clamp(24px, 5vw, 62px);
  font-family: Georgia, "Times New Roman", serif;
  opacity: 0.86;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.strip-track span:hover {
  color: var(--warm);
  opacity: 1;
}

.section-pad {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.section-pad::before {
  position: absolute;
  top: clamp(28px, 7vw, 96px);
  right: clamp(18px, 8vw, 120px);
  width: clamp(120px, 18vw, 260px);
  height: clamp(90px, 13vw, 190px);
  border: 1px solid rgba(184, 148, 79, 0.18);
  background: linear-gradient(145deg, rgba(255, 250, 244, 0.08), rgba(184, 148, 79, 0.06));
  content: "";
  pointer-events: none;
  transform: rotate(var(--section-tile-rotate, 9deg));
  animation: sectionTileIn 1.8s cubic-bezier(0.16, 0.86, 0.2, 1) both;
}

.section-pad > * {
  position: relative;
  z-index: 1;
}

.intro {
  position: relative;
  overflow: hidden;
  --section-tile-rotate: -7deg;
  background:
    linear-gradient(90deg, rgba(247, 243, 238, 0.96), rgba(237, 228, 218, 0.78)),
    repeating-linear-gradient(90deg, rgba(22, 20, 18, 0.045) 0 1px, transparent 1px 154px),
    repeating-linear-gradient(0deg, rgba(22, 20, 18, 0.035) 0 1px, transparent 1px 124px);
}

.intro::before {
  position: absolute;
  top: 64px;
  right: clamp(18px, 5vw, 72px);
  width: min(34vw, 430px);
  aspect-ratio: 1;
  border: 1px solid rgba(184, 148, 79, 0.26);
  content: "";
  transform: rotate(4deg);
  pointer-events: none;
}

.tile-figures {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.tile-figures span {
  position: absolute;
  display: block;
  border: 1px solid rgba(184, 148, 79, 0.24);
  background: linear-gradient(145deg, rgba(255, 250, 244, 0.12), rgba(184, 148, 79, 0.08));
  opacity: 0;
  animation: figureFloat 2.4s cubic-bezier(0.16, 0.86, 0.2, 1) forwards;
}

.tile-figures span:nth-child(1) {
  top: 18%;
  left: 7%;
  width: 190px;
  height: 120px;
  transform: translateX(-90px) rotate(-12deg);
  --final-rotate: -12deg;
  animation-delay: 0.2s;
}

.tile-figures span:nth-child(2) {
  right: 9%;
  bottom: 14%;
  width: 230px;
  height: 150px;
  transform: translateX(120px) rotate(14deg);
  --final-rotate: 14deg;
  animation-delay: 0.45s;
}

.tile-figures span:nth-child(3) {
  top: 54%;
  left: 44%;
  width: 130px;
  height: 130px;
  transform: translateY(120px) rotate(28deg);
  --final-rotate: 28deg;
  animation-delay: 0.68s;
}

.tile-figures span:nth-child(4) {
  top: 10%;
  right: 36%;
  width: 160px;
  height: 92px;
  transform: translateY(-110px) rotate(-24deg);
  --final-rotate: -24deg;
  animation-delay: 0.92s;
}

.tile-figures span:nth-child(5) {
  right: 17%;
  top: 38%;
  width: 96px;
  height: 180px;
  transform: translateX(90px) rotate(34deg);
  --final-rotate: 34deg;
  animation-delay: 1.08s;
}

.tile-figures span:nth-child(6) {
  left: 21%;
  bottom: 8%;
  width: 210px;
  height: 78px;
  transform: translateY(90px) rotate(-31deg);
  --final-rotate: -31deg;
  animation-delay: 1.22s;
}

.tile-figures span:nth-child(7) {
  right: 2%;
  top: 6%;
  width: 118px;
  height: 118px;
  transform: translateY(-80px) rotate(18deg);
  --final-rotate: 18deg;
  animation-delay: 1.36s;
}

.tile-figures span:nth-child(8) {
  left: 2%;
  top: 58%;
  width: 150px;
  height: 98px;
  transform: translateX(-110px) rotate(22deg);
  --final-rotate: 22deg;
  animation-delay: 1.5s;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.78fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
}

.intro-grid h2 {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(26px, 4vw, 44px);
  background:
    linear-gradient(145deg, rgba(255, 250, 244, 0.92), rgba(226, 216, 204, 0.9)),
    var(--cream);
  border: 1px solid rgba(22, 20, 18, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-grid h2::before,
.intro-grid h2::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.intro-grid h2::before {
  inset: 18px;
  border: 1px solid rgba(184, 148, 79, 0.26);
  border-radius: 4px;
}

.intro-grid h2::after {
  top: 18px;
  right: 18px;
  width: 42%;
  height: 38%;
  background: linear-gradient(135deg, rgba(184, 148, 79, 0.24), transparent);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.intro-copy {
  position: relative;
  display: grid;
  gap: 14px;
  color: var(--muted);
  font-size: 18px;
}

.intro-copy p {
  margin: 0;
  padding: 22px;
  background: rgba(255, 250, 244, 0.78);
  border: 1px solid rgba(22, 20, 18, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(31, 25, 20, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.intro-copy.reveal:not(.visible) p:nth-child(1) {
  transform: translateX(95px);
}

.intro-copy.reveal:not(.visible) p:nth-child(2) {
  transform: translateY(95px);
}

.intro-copy.reveal:not(.visible) p:nth-child(3) {
  transform: translateX(-95px);
}

.intro-copy.reveal.visible p {
  transform: translate(0, 0);
  transition: transform 1.45s cubic-bezier(0.16, 0.86, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.intro-copy p:hover {
  transform: translateX(8px);
  border-color: rgba(184, 148, 79, 0.32);
  box-shadow: 0 18px 46px rgba(31, 25, 20, 0.12);
}

.intro-copy .lead {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.12;
}

.feature-split {
  position: relative;
  --section-tile-rotate: 11deg;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(300px, 0.98fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 0.68), rgba(238, 231, 223, 0.95)),
    repeating-linear-gradient(45deg, rgba(184, 148, 79, 0.06) 0 1px, transparent 1px 18px),
    #eee7df;
}

.feature-split::after,
.services::after,
.projects::before,
.process::after,
.contact::before,
.gallery-hero::before,
.gallery-section::before {
  position: absolute;
  width: clamp(130px, 18vw, 310px);
  height: clamp(96px, 13vw, 220px);
  border: 1px solid rgba(184, 148, 79, 0.18);
  background: linear-gradient(145deg, rgba(255, 250, 244, 0.08), rgba(184, 148, 79, 0.08));
  content: "";
  pointer-events: none;
  animation: sectionTileIn 2.1s cubic-bezier(0.16, 0.86, 0.2, 1) both;
}

.feature-split::after {
  right: 6%;
  bottom: 9%;
  transform: rotate(-16deg);
}

.services {
  --section-tile-rotate: -13deg;
}

.services::after {
  bottom: 7%;
  left: 5%;
  transform: rotate(18deg);
}

.premium {
  --section-tile-rotate: 12deg;
}

.projects::before {
  top: 12%;
  left: 6%;
  transform: rotate(-10deg);
}

.process {
  --section-tile-rotate: 8deg;
}

.process::after {
  right: 7%;
  bottom: 10%;
  transform: rotate(22deg);
}

.contact {
  --section-tile-rotate: -10deg;
}

.contact::before {
  top: 12%;
  left: 8%;
  border-color: rgba(215, 185, 139, 0.2);
  transform: rotate(-18deg);
}

.gallery-hero::before {
  top: 10%;
  right: 8%;
  transform: rotate(16deg);
}

.gallery-section::before {
  top: 6%;
  left: 7%;
  transform: rotate(-14deg);
}

.feature-left {
  display: grid;
  gap: 16px;
}

.feature-image {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-radius: 8px;
  background: #17120e;
  box-shadow:
    0 24px 62px rgba(31, 25, 20, 0.18),
    0 8px 0 rgba(116, 88, 45, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateY(0);
  transition: transform 0.55s cubic-bezier(0.16, 0.86, 0.2, 1), box-shadow 0.55s ease, filter 0.55s ease;
  will-change: transform;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 0.86, 0.2, 1), filter 0.55s ease;
}

.feature-image::before,
.project-card::before {
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  content: "";
  pointer-events: none;
}

.feature-image::after,
.project-card .project-shine {
  pointer-events: none;
}

.feature-image::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.18) 42%, transparent 62%),
    linear-gradient(0deg, rgba(17, 13, 10, 0.32), transparent 38%);
  content: "";
  opacity: 0;
  transform: translateX(-34%);
  transition: opacity 0.45s ease, transform 0.7s ease;
}

.feature-image:hover {
  box-shadow:
    0 34px 86px rgba(31, 25, 20, 0.28),
    0 12px 0 rgba(116, 88, 45, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  transform: perspective(1200px) rotateX(2.4deg) rotateY(-2.8deg) translateY(-8px);
}

.feature-image:hover img {
  filter: saturate(1.06) contrast(1.04);
  transform: scale(1.035);
}

.feature-image:hover::after {
  opacity: 1;
  transform: translateX(30%);
}

.image-gallery-link {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 48px;
  padding: 0 22px;
  color: #1d1711;
  background:
    linear-gradient(145deg, #f8ead4, #c69a4f 58%, #8f692c);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateZ(24px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.image-gallery-link:hover {
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  filter: brightness(1.06);
  transform: translateY(-3px) translateZ(28px);
}

.feature-statement {
  min-height: 230px;
  display: grid;
  place-items: center;
  padding: clamp(22px, 4vw, 34px);
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 250, 244, 0.98), rgba(215, 185, 139, 0.34)),
    var(--cream);
  border: 1px solid rgba(184, 148, 79, 0.42);
  border-radius: 8px;
  box-shadow: 0 20px 58px rgba(184, 148, 79, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.feature-statement p {
  margin: 0;
  color: #211913;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.5vw, 34px);
  line-height: 1.12;
}

.feature-statement.closing-tile {
  min-height: 180px;
}

.feature-statement.closing-tile p {
  font-size: clamp(19px, 2vw, 27px);
}

.feature-copy p {
  color: var(--muted);
  font-size: 18px;
}

.feature-copy {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
  background: rgba(255, 250, 244, 0.78);
  border: 1px solid rgba(22, 20, 18, 0.1);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(31, 25, 20, 0.12);
}

.feature-copy::before {
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: 18px;
  left: 18px;
  border: 1px solid rgba(184, 148, 79, 0.18);
  border-radius: 4px;
  content: "";
  pointer-events: none;
}

.feature-left .reveal,
.feature-copy.reveal {
  transition-duration: 1.65s;
  transition-timing-function: cubic-bezier(0.16, 0.86, 0.2, 1);
}

.feature-copy.visible .lux-copy p {
  animation: standardTileIn 1.15s cubic-bezier(0.16, 0.86, 0.2, 1) both;
}

.feature-copy.visible .lux-copy p:nth-child(2) {
  animation-delay: 0.16s;
}

.feature-copy.visible .standard-panel {
  animation: standardPanelIn 1.2s cubic-bezier(0.16, 0.86, 0.2, 1) 0.28s both;
}

.feature-copy.visible .check-list li {
  animation: standardLineIn 0.82s ease both;
}

.feature-copy.visible .check-list li:nth-child(1) { animation-delay: 0.38s; }
.feature-copy.visible .check-list li:nth-child(2) { animation-delay: 0.46s; }
.feature-copy.visible .check-list li:nth-child(3) { animation-delay: 0.54s; }
.feature-copy.visible .check-list li:nth-child(4) { animation-delay: 0.62s; }
.feature-copy.visible .check-list li:nth-child(5) { animation-delay: 0.7s; }
.feature-copy.visible .check-list li:nth-child(6) { animation-delay: 0.78s; }
.feature-copy.visible .check-list li:nth-child(7) { animation-delay: 0.86s; }

.feature-left .feature-statement.visible {
  animation: statementGlow 1.4s ease both;
}

.feature-copy > * {
  position: relative;
  z-index: 1;
}

.lux-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lux-copy p {
  min-height: 190px;
  margin: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(22, 20, 18, 0.09);
  border-radius: 6px;
  transition: transform 0.28s ease, background 0.28s ease;
}

.lux-copy p:hover {
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-5px);
}

.standard-panel {
  position: relative;
  margin: 28px 0;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 250, 244, 0.84);
  border: 1px solid rgba(184, 148, 79, 0.32);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(31, 25, 20, 0.12);
}

.standard-panel::before {
  position: absolute;
  top: -1px;
  left: 28px;
  width: 110px;
  height: 2px;
  background: var(--gold);
  content: "";
}

.standard-panel h3 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "•";
}

.closing-note {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px !important;
  line-height: 1.25;
}

.section-head {
  width: min(960px, 100%);
  margin-bottom: 38px;
}

.section-head p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.service-stage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(255, 250, 244, 0.96), rgba(239, 231, 221, 0.9)),
    var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card.drift-in {
  filter: blur(8px);
  transition: opacity 1.55s ease, transform 1.55s cubic-bezier(0.16, 0.9, 0.2, 1), filter 1.55s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card.drift-in.from-left {
  transform: translateX(-170px) translateY(44px) rotate(-5deg) scale(0.88);
}

.service-card.drift-in.from-right {
  transform: translateX(170px) translateY(44px) rotate(5deg) scale(0.88);
}

.service-card.drift-in.from-top {
  transform: translateY(-165px) rotate(3deg) scale(0.87);
}

.service-card.drift-in.from-bottom {
  transform: translateY(165px) rotate(-3deg) scale(0.87);
}

.service-card.drift-in.visible {
  transform: translate(0, 0) rotate(0);
  filter: blur(0);
}

.service-card.drift-in.visible:hover {
  transform: translateY(-7px);
}

.service-card::after {
  position: absolute;
  right: -42px;
  bottom: -52px;
  color: rgba(184, 148, 79, 0.09);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 180px;
  line-height: 1;
  content: attr(data-watermark);
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(184, 148, 79, 0.38);
  box-shadow: var(--shadow);
}

.service-number {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  line-height: 1;
}

.service-card h3 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
}

.service-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.service-card li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "–";
}

.premium {
  position: relative;
  min-height: 820px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
  background: #15120f;
}

.premium-bg,
.premium-bg img,
.premium::after {
  position: absolute;
  inset: 0;
}

.premium-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.92) contrast(1.08);
}

.premium::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(15, 12, 10, 0.9), rgba(15, 12, 10, 0.5), rgba(15, 12, 10, 0.3)),
    linear-gradient(0deg, rgba(15, 12, 10, 0.72), rgba(15, 12, 10, 0.18));
}

.premium-content {
  position: relative;
  z-index: 1;
  width: min(1220px, 100%);
  margin: 0 auto;
  text-align: center;
}

.premium-content > p:not(.eyebrow) {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.premium-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

.premium-group {
  position: relative;
  flex: 0 1 calc(25% - 11px);
  min-height: 230px;
  padding: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(14px);
  transition: opacity 1.65s ease, transform 1.65s cubic-bezier(0.16, 0.9, 0.2, 1), filter 1.65s ease, background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.premium-group::before {
  position: absolute;
  inset: -55% auto auto -45%;
  width: 64%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 246, 224, 0.22), rgba(255, 255, 255, 0.36), transparent);
  content: "";
  transform: rotate(24deg) translateX(-145%);
  animation: premiumSweep var(--sweep-duration, 6.8s) ease-in-out var(--sweep-delay, 0s) infinite;
  pointer-events: none;
}

.premium-group::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 35%), rgba(255, 238, 194, 0.26), transparent 34%),
    linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  content: "";
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.premium-group > * {
  position: relative;
  z-index: 1;
}

.premium-group.reveal {
  filter: blur(9px);
}

.premium-group.from-left:not(.visible) {
  transform: translateX(-155px) translateY(46px) rotate(-5deg) scale(0.86);
}

.premium-group.from-right:not(.visible) {
  transform: translateX(155px) translateY(46px) rotate(5deg) scale(0.86);
}

.premium-group.from-top:not(.visible) {
  transform: translateY(-160px) rotate(3deg) scale(0.86);
}

.premium-group.from-bottom:not(.visible) {
  transform: translateY(160px) rotate(-3deg) scale(0.86);
}

.premium-group.visible {
  transform: translate(0, 0) rotate(0) scale(1);
  filter: blur(0);
}

.premium-group:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 238, 194, 0.36);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24), 0 0 34px rgba(215, 185, 139, 0.18);
}

.premium-group:hover::after {
  opacity: 1;
}

.premium-group h3 {
  margin-bottom: 14px;
  color: #fff8ee;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.premium-group ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: left;
}

.premium-group li {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.projects {
  background:
    linear-gradient(180deg, rgba(247, 243, 238, 0.98), rgba(238, 229, 219, 0.92)),
    repeating-linear-gradient(90deg, rgba(22, 20, 18, 0.035) 0 1px, transparent 1px 170px);
}

.projects .section-head,
.process .section-head {
  position: relative;
  display: grid;
  place-items: center;
  width: min(920px, 100%);
  min-height: 280px;
  margin-right: auto;
  margin-left: auto;
  padding: clamp(24px, 4vw, 44px);
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 250, 244, 0.94), rgba(232, 222, 211, 0.82)),
    var(--cream);
  border: 1px solid rgba(22, 20, 18, 0.11);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(31, 25, 20, 0.1);
}

.projects .section-head p:not(.eyebrow),
.process .section-head p:not(.eyebrow) {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.projects .section-head::after,
.process .section-head::after {
  position: absolute;
  top: 18px;
  right: 18px;
  bottom: 18px;
  width: 110px;
  border-top: 1px solid rgba(184, 148, 79, 0.4);
  border-right: 1px solid rgba(184, 148, 79, 0.4);
  content: "";
  pointer-events: none;
}

.project-showcase {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
  margin-bottom: 38px;
  padding: 14px;
  background: rgba(255, 250, 244, 0.56);
  border: 1px solid rgba(22, 20, 18, 0.09);
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.44);
}

.project-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  color: white;
  background: #211c18;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 20px 54px rgba(31, 25, 20, 0.16),
    0 7px 0 rgba(116, 88, 45, 0.18);
  transform: perspective(1100px) rotateX(0deg) rotateY(0deg) translateY(0);
  transition: transform 0.52s cubic-bezier(0.16, 0.86, 0.2, 1), box-shadow 0.52s ease, border-color 0.52s ease;
  will-change: transform;
}

.project-card.large {
  grid-row: span 2;
  min-height: 740px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 0.86, 0.2, 1), filter 0.52s ease;
}

.project-card:hover {
  border-color: rgba(215, 185, 139, 0.44);
  box-shadow:
    0 32px 78px rgba(31, 25, 20, 0.28),
    0 11px 0 rgba(116, 88, 45, 0.24);
  transform: perspective(1100px) rotateX(2deg) rotateY(-2deg) translateY(-7px);
}

.project-card:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.055);
}

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 13, 10, 0.18), rgba(17, 13, 10, 0.02));
  content: "";
}

.project-card div {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1;
}

.project-card span,
.gallery-cta span {
  color: var(--warm);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card h3 {
  max-width: 620px;
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 500;
}

.gallery-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--charcoal);
  border-radius: 8px;
  color: white;
  box-shadow: var(--shadow);
}

.gallery-cta h3 {
  margin: 8px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 500;
}

.gallery-btn {
  min-width: 230px;
}

.gallery-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: #eee7df;
}

.gallery-hero-copy p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.gallery-hero-image {
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gallery-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-section {
  padding-top: 72px;
}

.gallery-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.gallery-toolbar h2 {
  margin: 0;
}

.gallery {
  columns: 5 210px;
  column-gap: 14px;
}

.gallery.gallery-groups {
  display: grid;
  columns: auto;
  gap: 18px;
}

.gallery-group {
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 250, 244, 0.96), rgba(232, 222, 211, 0.82)),
    var(--cream);
  border: 1px solid rgba(22, 20, 18, 0.12);
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(31, 25, 20, 0.1);
}

.gallery-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(20px, 3vw, 30px);
  cursor: pointer;
  list-style: none;
}

.gallery-group summary::-webkit-details-marker {
  display: none;
}

.gallery-group summary b {
  display: block;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.05;
}

.gallery-group summary em {
  display: block;
  max-width: 760px;
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
}

.gallery-group summary strong {
  min-width: max-content;
  padding: 10px 14px;
  color: #1c1712;
  background: var(--warm);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-group-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 clamp(16px, 3vw, 30px) clamp(18px, 3vw, 30px);
}

.gallery-group:not([open]) .gallery-group-grid {
  display: none;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  overflow: hidden;
  break-inside: avoid;
  color: white;
  background: #211c18;
  border: 0;
  border-radius: 8px;
  cursor: zoom-in;
}

.gallery-groups .gallery-item {
  margin: 0;
}

.gallery-groups .gallery-item img {
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: var(--ratio, 4 / 3);
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(0.86);
}

.gallery-item span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 8px 10px;
  background: rgba(16, 13, 10, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process {
  background:
    linear-gradient(135deg, rgba(239, 231, 221, 0.96), rgba(247, 243, 238, 0.94)),
    repeating-linear-gradient(0deg, rgba(184, 148, 79, 0.055) 0 1px, transparent 1px 118px);
}

.steps::before {
  position: absolute;
  top: 52px;
  right: 6%;
  left: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 148, 79, 0.6), transparent);
  content: "";
  pointer-events: none;
}

.step {
  position: relative;
  padding: 26px;
  min-height: 260px;
  background:
    linear-gradient(145deg, rgba(255, 250, 244, 0.98), rgba(231, 222, 211, 0.9)),
    var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.step::after {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 56px;
  height: 56px;
  border-top: 1px solid rgba(184, 148, 79, 0.42);
  border-right: 1px solid rgba(184, 148, 79, 0.42);
  content: "";
  pointer-events: none;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.step span {
  color: var(--clay);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
}

.step h3 {
  margin: 20px 0 10px;
  font-size: 24px;
}

.step p {
  color: var(--muted);
}

.contact {
  background: var(--charcoal);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(300px, 0.75fr);
  gap: clamp(30px, 6vw, 80px);
  width: min(1180px, 100%);
  margin: 0 auto;
  color: white;
}

.contact-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 18px;
  color: #fff8ee;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(215, 185, 139, 0.28);
  border-radius: 8px;
}

.contact-details a {
  color: var(--warm);
  font-size: 24px;
  font-weight: 900;
}

.contact-details span {
  color: rgba(255, 255, 255, 0.78);
}

form {
  display: grid;
  gap: 16px;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  padding: 14px 15px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

.footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(160px, 0.55fr) minmax(220px, 0.75fr);
  align-items: start;
  gap: clamp(24px, 5vw, 64px);
  padding: 46px clamp(18px, 5vw, 72px);
  background: #f7f3ee;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-brand img {
  width: 230px;
  margin-bottom: 18px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--clay);
  font-weight: 800;
}

.footer-map,
.footer-meta,
.footer-brand {
  display: grid;
  gap: 10px;
}

.footer-map h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
}

.footer-map a,
.footer-meta a {
  width: fit-content;
}

.legal-content {
  max-width: 980px;
}

.legal-content p {
  color: var(--muted);
  font-size: 18px;
}

.legal-content h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
}

.legal-content a {
  color: var(--clay);
  font-weight: 800;
}

.lightbox {
  width: min(1120px, calc(100vw - 28px));
  padding: 0;
  overflow: hidden;
  color: white;
  background: #15120f;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.lightbox::backdrop {
  background: rgba(10, 8, 7, 0.82);
  backdrop-filter: blur(10px);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #0f0c0a;
}

.lightbox p {
  margin: 0;
  padding: 16px 20px;
  color: rgba(255, 255, 255, 0.74);
}

.lightbox p:empty {
  display: none;
}

.lightbox button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  color: white;
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal.from-left:not(.visible) {
  transform: translateX(-135px) scale(0.94);
  filter: blur(8px);
}

.reveal.from-right:not(.visible) {
  transform: translateX(135px) scale(0.94);
  filter: blur(8px);
}

.reveal.from-bottom:not(.visible) {
  transform: translateY(135px) scale(0.94);
  filter: blur(8px);
}

.reveal.from-left.visible,
.reveal.from-right.visible,
.reveal.from-bottom.visible {
  transform: translate(0, 0) scale(1);
  filter: blur(0);
}

.reveal.drift-in.from-left:not(.visible) {
  transform: translateX(-58px) rotate(-1.5deg);
}

.reveal.drift-in.from-right:not(.visible) {
  transform: translateX(58px) rotate(1.5deg);
}

.reveal.drift-in.from-top:not(.visible) {
  transform: translateY(-54px);
}

.reveal.drift-in.from-bottom:not(.visible) {
  transform: translateY(54px);
}

.reveal.drift-in.visible {
  transform: translate(0, 0) rotate(0);
}

@keyframes heroFade {
  0%,
  100% {
    opacity: 0;
  }
  6%,
  33% {
    opacity: 1;
  }
  43% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes premiumSweep {
  0%,
  42% {
    transform: rotate(24deg) translateX(-145%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  64% {
    transform: rotate(24deg) translateX(285%);
    opacity: 0;
  }
  100% {
    transform: rotate(24deg) translateX(285%);
    opacity: 0;
  }
}

@keyframes figureFloat {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(var(--final-rotate, 0deg));
  }
}

@keyframes sectionTileIn {
  0% {
    opacity: 0;
    transform: translateY(70px) rotate(calc(var(--section-tile-rotate, 9deg) - 10deg)) scale(0.88);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(var(--section-tile-rotate, 9deg)) scale(1);
  }
}

@keyframes standardTileIn {
  0% {
    opacity: 0;
    transform: translateY(55px) scale(0.92);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes standardPanelIn {
  0% {
    opacity: 0;
    transform: translateX(70px) scale(0.94);
    filter: blur(9px);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes standardLineIn {
  0% {
    opacity: 0;
    transform: translateX(34px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes statementGlow {
  0% {
    box-shadow: 0 20px 58px rgba(184, 148, 79, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  }
  45% {
    box-shadow: 0 28px 72px rgba(184, 148, 79, 0.32), 0 0 44px rgba(215, 185, 139, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  }
  100% {
    box-shadow: 0 20px 58px rgba(184, 148, 79, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  }
}

@keyframes flightLayer {
  0%,
  74% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes logoFlight {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  58% {
    transform: translate3d(0, 0, 0) scale(0.84);
    opacity: 1;
  }
  100% {
    transform: translate3d(0, calc(-50vh + 92px), 0) scale(0.36);
    opacity: 0;
  }
}

@media (max-width: 1320px) {
  .site-header {
    grid-template-columns: minmax(0, 0.82fr) minmax(150px, 240px) minmax(0, 0.82fr);
    column-gap: clamp(8px, 1.3vw, 18px);
    padding-right: clamp(18px, 3vw, 42px);
    padding-left: clamp(18px, 3vw, 42px);
  }

  .brand img {
    width: clamp(160px, 19vw, 240px);
    max-height: 82px;
  }

  .nav {
    gap: 6px;
  }

  .nav a {
    min-width: 0;
    padding: 13px clamp(12px, 1.4vw, 18px);
  }

  .hero-content {
    width: min(620px, calc(100% - 54px));
    min-height: 720px;
    padding-top: 58px;
    padding-bottom: 360px;
  }

  .hero-card {
    right: clamp(22px, 5vw, 58px);
    bottom: 54px;
  }

  .logo-card {
    width: min(300px, 34vw);
  }

  .service-stage,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-group {
    flex-basis: calc(50% - 8px);
  }

  .project-showcase,
  .intro-grid,
  .feature-split,
  .contact-panel,
  .gallery-hero {
    grid-template-columns: 1fr;
  }

  .lux-copy {
    grid-template-columns: 1fr;
  }

  .lux-copy p,
  .lux-copy p:first-child {
    min-height: auto;
  }

  .premium-content > h2 {
    display: inline-block;
    max-width: min(100%, 720px);
    padding: 14px 20px 17px;
    margin-right: auto;
    margin-left: auto;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(215, 185, 139, 0.24);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(0, 0.82fr) minmax(150px, 240px) minmax(0, 0.82fr);
    column-gap: clamp(8px, 1.3vw, 18px);
    padding-right: clamp(18px, 3vw, 42px);
    padding-left: clamp(18px, 3vw, 42px);
  }

  .brand img {
    width: clamp(160px, 19vw, 240px);
    max-height: 82px;
  }

  .nav {
    gap: 6px;
  }

  .nav a {
    min-width: 0;
    padding: 13px clamp(12px, 1.4vw, 18px);
  }

  .hero-content {
    width: min(620px, calc(100% - 54px));
    min-height: 720px;
    padding-top: 58px;
    padding-bottom: 360px;
  }

  .hero-card {
    right: clamp(22px, 5vw, 58px);
    bottom: 54px;
  }

  .logo-card {
    width: min(300px, 34vw);
  }

  .project-card.large {
    min-height: 560px;
  }

  .feature-image,
  .gallery-hero-image {
    min-height: 500px;
  }
}

@media (max-width: 840px) {
  :root {
    --header-h: 94px;
  }

  .topbar {
    justify-content: center;
    overflow: hidden;
    text-align: center;
  }

  .topbar span,
  .topbar a {
    display: none;
  }

  .topbar span:nth-child(2) {
    display: inline-flex;
  }

  .brand img {
    width: clamp(184px, 58vw, 290px);
    max-height: 74px;
  }

  .intro-logo-flight img {
    width: min(82vw, 520px);
  }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + 37px);
    right: 12px;
    left: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: rgba(247, 243, 238, 0.97);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav a {
    min-width: 0;
    text-align: left;
  }

  .nav-left,
  .nav-right {
    grid-column: auto;
    justify-self: stretch;
  }

  body.menu-open .nav {
    display: flex;
  }

  body.menu-open .nav-left {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  body.menu-open .nav-right {
    top: calc(var(--header-h) + 167px);
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .menu-btn {
    grid-column: 3;
    justify-self: end;
    display: grid;
    gap: 6px;
    width: 42px;
    height: 42px;
    place-content: center;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 4px;
  }

  .menu-btn span {
    width: 20px;
    height: 2px;
    background: var(--ink);
  }

  .hero-content {
    justify-items: center;
    width: min(100% - 36px, 620px);
    margin-right: auto;
    margin-left: auto;
    min-height: 780px;
    padding-top: 74px;
    padding-bottom: 220px;
    text-align: center;
  }

  .hero-content > p:not(.eyebrow) {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-proof {
    justify-content: center;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 4;
    width: min(245px, 58vw);
    margin: -150px auto 34px;
  }

  .hero-card::before {
    position: absolute;
    inset: -24px;
    z-index: -1;
    background:
      radial-gradient(circle at 48% 42%, rgba(255, 250, 244, 0.92), rgba(232, 215, 191, 0.54) 46%, rgba(215, 185, 139, 0.2) 66%, transparent 78%);
    border-radius: 26px;
    filter: blur(18px);
    content: "";
    pointer-events: none;
  }

  .logo-card .logo-flip,
  .logo-card:hover .logo-flip {
    transform: none;
    filter: none;
  }

  .logo-back {
    display: none;
  }

  .hero {
    min-height: 860px;
  }

  .service-stage,
  .steps,
  .check-list {
    grid-template-columns: 1fr;
  }

  .intro-grid h2 {
    min-height: 320px;
  }

  .steps::before {
    display: none;
  }

  .premium-group {
    flex-basis: 100%;
  }

  .premium {
    min-height: auto;
    padding-top: 86px;
    padding-bottom: 86px;
    background: #15120f;
  }

  .premium-bg img {
    object-position: 50% 50%;
    filter: brightness(0.58) saturate(0.94) contrast(1.08);
  }

  .premium::after {
    background:
      linear-gradient(180deg, rgba(15, 12, 10, 0.28), rgba(15, 12, 10, 0.52) 58%, rgba(15, 12, 10, 0.82)),
      linear-gradient(90deg, rgba(15, 12, 10, 0.18), rgba(15, 12, 10, 0.32));
  }

  .premium-content {
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .premium-content > h2 {
    display: inline-block;
    max-width: min(100%, 520px);
    padding: 14px 18px 16px;
    margin-right: auto;
    margin-left: auto;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(215, 185, 139, 0.24);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  }

  .premium-content > .eyebrow,
  .premium-content > p:not(.eyebrow) {
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.78);
  }

  .project-card,
  .project-card.large {
    min-height: 430px;
  }

  .gallery-toolbar,
  .gallery-cta,
  .footer {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .gallery-btn {
    width: 100%;
  }

  .gallery-cta {
    display: grid;
    gap: 22px;
    padding: 28px;
    text-align: center;
  }

  .gallery-cta div {
    display: grid;
    gap: 8px;
    justify-items: center;
  }

  .gallery-cta h3 {
    max-width: 10ch;
    margin: 0;
    font-size: clamp(30px, 10vw, 42px);
    line-height: 0.98;
  }

  .gallery-cta span {
    display: block;
    max-width: 16ch;
    line-height: 1.55;
  }

  .gallery-cta .gallery-btn {
    justify-self: stretch;
    min-width: 0;
    min-height: 64px;
    padding-right: 18px;
    padding-left: 18px;
    white-space: normal;
  }

  .footer-brand {
    justify-items: center;
    text-align: center;
  }

  .footer-brand img {
    margin-right: auto;
    margin-left: auto;
  }

  .gallery-group summary {
    align-items: start;
    flex-direction: column;
  }

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

  @keyframes logoFlight {
    0% {
      transform: translate3d(0, 0, 0) scale(1);
      opacity: 0;
    }
    12% {
      opacity: 1;
    }
    58% {
      transform: translate3d(0, 0, 0) scale(0.86);
      opacity: 1;
    }
    100% {
      transform: translate3d(0, calc(-50vh + 76px), 0) scale(0.4);
      opacity: 0;
    }
  }
}

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