:root {
  --bg: #0d0805;
  --sand: #c98a4e;
  --ink: #f4e6d4;
  --muted: rgba(244, 230, 212, .62);
  --line: rgba(244, 230, 212, .28);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}

.sky {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(ellipse 55% 60% at 48% 42%, #8d5426 0%, #5a3418 38%, #2a180b 70%, #120a05 100%);
  animation: skyIn 2.4s var(--ease) both;
}
@keyframes skyIn { from { opacity: 0; filter: brightness(.3); } }

/* big title */
.title {
  position: absolute; z-index: -2;
  top: -1.2vw; left: 0; right: 0;
  display: flex; justify-content: center; gap: .22em;
  padding: 0 .6vw;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-size: var(--tsize, 17.6vw);
  line-height: .9;
  letter-spacing: -.005em;
  white-space: nowrap;
  pointer-events: none;
  will-change: transform;
}
.title .word { display: flex; flex-shrink: 0; overflow: hidden; padding-top: .04em; }
.title .word span {
  display: inline-block;
  background: linear-gradient(180deg, #b8763c 0%, #8e5527 55%, #6a3d1b 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  opacity: .92;
  transform: translateY(105%);
  animation: rise 1.3s var(--ease) forwards;
  animation-delay: calc(.25s + var(--i, 0) * .06s);
}
@keyframes rise { to { transform: translateY(0); } }

/* svg scene */
.scene {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: -1;
}
.scene .dune { will-change: transform; }

.ring {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.6s .6s var(--ease) forwards;
}
.ring-glow, .ring-bloom, .halo { opacity: 0; transform-origin: 770px 380px; }
.ring-glow  { animation: fadeIn 1.6s 1.6s ease forwards, pulse 5s 3.2s ease-in-out infinite; }
.ring-bloom { animation: fadeBloom 2s 1.8s ease forwards, pulseBloom 5s 3.8s ease-in-out infinite; }
.halo       { animation: fadeIn 3s 1.2s ease forwards, breathe 7s 4s ease-in-out infinite; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeBloom { to { opacity: .55; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .7; } }
@keyframes pulseBloom { 0%,100% { opacity: .55; } 50% { opacity: .8; } }
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.d-far   { animation: duneUp 2s .2s var(--ease) both; }
.d-big   { animation: duneUp 2.2s .35s var(--ease) both; }
.d-front { animation: duneUp 2.2s .5s var(--ease) both; }
@keyframes duneUp { from { transform: translateY(160px); opacity: 0; } }

.trail { stroke-dashoffset: 0; animation: trailFade 2s 2s ease both; }
@keyframes trailFade { from { opacity: 0; } }

/* camel */
.camel-move { animation: fadeIn 1.6s 2s ease both; opacity: 0; }
/* backlit silhouette: thin warm rim from the ring behind it */
.camel {
  fill: #0b0604;
  filter: drop-shadow(0 0 1.2px rgba(255, 160, 70, .55)) drop-shadow(0 0 6px rgba(255, 140, 50, .18));
}
.camel .far { fill: #1c100a; }
.camel .cloth { fill: #26140a; }
.camel .scarf { fill: #140a05; }

/* dust particles + overlays */
.dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 75% at 50% 45%, transparent 55%, rgba(5, 3, 2, .7) 100%),
    linear-gradient(180deg, transparent 70%, rgba(8, 5, 3, .85) 100%);
}
.grain {
  position: absolute; inset: -50%; z-index: 3; pointer-events: none;
  opacity: .09; mix-blend-mode: overlay;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* nav */
.nav {
  position: absolute; z-index: 5;
  top: calc(var(--tsize, 17.6vw) * .9 + .4vw);
  left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 0 2.6vw;
  font-size: clamp(11px, .85vw, 14px);
  font-weight: 400;
}
.nav ul { display: flex; gap: clamp(18px, 3vw, 48px); }
.nav li { opacity: 0; transform: translateY(-8px); animation: navIn .9s var(--ease) forwards; }
.nav li:nth-child(1) { animation-delay: 1.3s; }
.nav li:nth-child(2) { animation-delay: 1.4s; }
.nav li:nth-child(3) { animation-delay: 1.5s; }
@keyframes navIn { to { opacity: 1; transform: none; } }
.nav a { position: relative; color: rgba(244, 230, 212, .88); transition: color .3s; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* hero copy */
.hero-copy {
  position: absolute; z-index: 5;
  left: 50%; bottom: clamp(28px, 6vh, 70px);
  transform: translateX(-50%);
  width: min(560px, calc(100% - 32px));
  text-align: center;
}
.lede {
  font-size: clamp(10px, .8vw, 13px);
  line-height: 1.6;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(244, 230, 212, .85);
}
.lede .w {
  display: inline-block;
  opacity: 0; filter: blur(6px); transform: translateY(6px);
  animation: wordIn .8s var(--ease) forwards;
}
@keyframes wordIn { to { opacity: 1; filter: blur(0); transform: none; } }

.pill {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(20, 12, 6, .25);
  backdrop-filter: blur(6px);
  transition: background .4s, border-color .4s, color .4s, box-shadow .4s;
}
.hero-copy .pill { opacity: 0; animation: fadeIn 1s 3.2s ease forwards; }
.pill:hover {
  background: #f4e6d4; color: #1a0f07; border-color: #f4e6d4;
  box-shadow: 0 0 30px rgba(255, 179, 92, .45);
}

/* ================= SECTIONS ================= */
.section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) clamp(16px, 5vw, 80px);
  background: linear-gradient(180deg, #0d0805, #140b06);
  border-top: 1px solid rgba(244, 230, 212, .06);
}
.sec-head { max-width: 1280px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.section h2 {
  font-family: "Anton", sans-serif; font-weight: 400;
  font-size: clamp(40px, 7vw, 110px);
  line-height: .95; text-transform: uppercase;
  color: var(--sand);
}

.services {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  border-top: 1px solid rgba(244, 230, 212, .12);
  border-left: 1px solid rgba(244, 230, 212, .12);
}
.service {
  position: relative; overflow: hidden;
  padding: 34px 30px 36px;
  border-right: 1px solid rgba(244, 230, 212, .12);
  border-bottom: 1px solid rgba(244, 230, 212, .12);
}
/* warm glow that rises on hover, echoing the ring */
.service::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 100%;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 154, 60, .22), transparent 65%);
  opacity: 0; transform: translateY(30%);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
  pointer-events: none;
}
.service:hover::before { opacity: 1; transform: none; }
.service .num { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.ico {
  display: block; width: 44px; height: 44px; margin: 26px 0 22px;
  fill: none; stroke: var(--sand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .6s var(--ease), stroke .4s;
}
.service:hover .ico { transform: translateY(-4px); stroke: #ffcf8a; }
.service h3 { font-weight: 500; font-size: 22px; margin-bottom: 10px; }
.service p { color: var(--muted); line-height: 1.6; font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li {
  padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track span {
  padding: 0 28px;
  font-family: "Anton", sans-serif; font-size: clamp(36px, 6vw, 84px); text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(201, 138, 78, .7);
  transition: color .3s;
}
.track span:hover { color: var(--sand); }
@keyframes marquee { to { transform: translateX(-50%); } }

.dest { max-width: 1280px; margin: 0 auto; }
.dest li {
  display: grid; grid-template-columns: 60px 1fr auto; align-items: baseline; gap: 16px;
  padding: 26px 0; border-bottom: 1px solid rgba(244, 230, 212, .12);
  transition: padding .5s var(--ease), color .4s;
}
.dest li:hover { padding-left: 16px; color: #ffcf8a; }
.dest span { color: var(--muted); font-size: 13px; }
.dest strong { font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(28px, 4.5vw, 60px); text-transform: uppercase; }
.dest em { font-style: normal; color: var(--muted); font-size: 14px; text-align: right; max-width: 260px; }

.why {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px;
}
.why div { padding: 28px; border: 1px solid rgba(244, 230, 212, .1); border-radius: 18px; }
.why b { display: block; font-family: "Anton", sans-serif; font-weight: 400; font-size: 56px; text-transform: uppercase; color: var(--sand); }
.why span { color: var(--muted); }

.quotes {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px;
}
blockquote {
  padding: 30px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(201, 138, 78, .12), rgba(201, 138, 78, .02));
  border: 1px solid rgba(244, 230, 212, .1);
  font-size: 18px; line-height: 1.6;
}
cite { display: block; margin-top: 18px; font-style: normal; font-size: 13px; color: var(--muted); }

.contact { text-align: center; padding-bottom: 40px; }
.contact-title {
  font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(56px, 12vw, 200px); line-height: .9;
  background: linear-gradient(180deg, #e6a868, #6a3d1b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pill-lg { margin-top: 36px; padding: 14px 34px; font-size: 13px; }
.foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  max-width: 1280px; margin: 120px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(244, 230, 212, .1);
  font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase;
}

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ================= CONTACT MODAL ================= */
button.pill { font: inherit; font-size: 11px; color: inherit; cursor: pointer; }
button.pill-lg { font-size: 13px; }
.modal {
  margin: auto; padding: 0; border: 0; background: transparent; color: var(--ink);
  width: min(640px, calc(100% - 32px)); max-height: calc(100% - 32px);
}
.modal::backdrop { background: rgba(8, 4, 2, .7); backdrop-filter: blur(8px); }
.modal[open] { animation: modalIn .6s var(--ease); }
.modal[open]::backdrop { animation: fadeIn .4s ease both; opacity: 0; }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.modal-box {
  position: relative; overflow: hidden;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid rgba(244, 230, 212, .14); border-radius: 22px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 154, 60, .18), transparent 70%),
    #140b06;
}
/* the ring, peeking from the top of the card */
.modal-box::before {
  content: ""; position: absolute; left: 50%; top: -260px; width: 340px; height: 340px;
  translate: -50% 0; border-radius: 50%;
  border: 2px solid rgba(255, 214, 160, .55);
  box-shadow: 0 0 30px rgba(255, 154, 60, .45), inset 0 0 30px rgba(255, 154, 60, .25);
  pointer-events: none;
}
.modal h3 {
  font-family: "Anton", sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(34px, 6vw, 52px); line-height: 1; color: var(--sand);
}
.modal-sub { margin-top: 8px; color: var(--muted); }
.modal-close {
  position: absolute; top: 14px; right: 16px; width: 36px; height: 36px;
  border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--ink);
  font-size: 22px; line-height: 1; cursor: pointer; transition: background .3s, color .3s;
}
.modal-close:hover { background: var(--ink); color: #140b06; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.fields .full { grid-column: 1 / -1; }
.fields label { display: grid; gap: 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fields input, .fields select, .fields textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid rgba(244, 230, 212, .16); border-radius: 12px;
  background: rgba(0, 0, 0, .25); color: var(--ink);
  font: 400 15px/1.4 "Inter", sans-serif; letter-spacing: 0; text-transform: none;
  transition: border-color .3s, box-shadow .3s;
}
.fields select option { background: #140b06; }
.fields textarea { resize: vertical; }
.fields :is(input, select, textarea):focus {
  outline: none; border-color: rgba(255, 179, 92, .7); box-shadow: 0 0 0 3px rgba(255, 154, 60, .15);
}
.fields .invalid { border-color: #e0704a; }
.form-error { min-height: 1.2em; margin-top: 14px; color: #f0936e; font-size: 13px; }
.send { margin-top: 6px; }
body:has(.modal[open]) { overflow: hidden; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }

/* ================= RESPONSIVE ================= */
@media (max-width: 760px) {
  .nav { top: calc(var(--tsize, 17.6vw) * .9 + 10px); padding: 0 16px; }
  .nav ul { gap: 14px; }
  .nav .nav-right { display: none; }
  .nav-left { width: 100%; justify-content: space-between; }
  .lede { font-size: 10.5px; }
  .dest li { grid-template-columns: 40px 1fr; }
  .dest em { grid-column: 2; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
