
:root {
  --bg: #070707;
  --bg-2: #0d0d0d;
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.10);
  --text: #f6f1e8;
  --muted: rgba(246,241,232,0.72);
  --accent: #d3b27a;
  --accent-2: #a48354;
  --shadow: 0 24px 70px rgba(0,0,0,0.42);
  --radius: 26px;
  --radius-sm: 18px;
  --max: 1200px;
  --heading: "Libre Caslon Display", Georgia, serif;
  --body: "Figtree", Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(211,178,122,0.12), transparent 34%),
    linear-gradient(180deg, #050505 0%, #090909 42%, #070707 100%);
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.08' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.8'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.wrap { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; position: relative; z-index: 1; }
.section { padding: 82px 0; }
.section.tight { padding-top: 44px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .18em; font-size: .73rem; color: var(--muted);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
h1, h2, h3 {
  font-family: var(--heading); font-weight: 400; margin: 0; line-height: 1.02; letter-spacing: .02em;
}
h1 { font-size: clamp(3rem, 8vw, 6.9rem); max-width: 10ch; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 12ch; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
p { margin: 0; color: var(--muted); }
.lead { font-size: clamp(1rem, 1.35vw, 1.12rem); line-height: 1.85; max-width: 62ch; }
.small { font-size: .94rem; color: var(--muted); }

/* ---- TOP BAR ---- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5,5,5,.58);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-inner {
  width: min(calc(100% - 24px), var(--max));
  margin: 0 auto;
  min-height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand {
  display: flex; align-items: center; gap: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; font-size: .88rem;
}
nav { display: flex; align-items: center; gap: 26px; }
nav a { position: relative; font-size: .92rem; color: rgba(246,241,232,.9); }
nav a::after {
  content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 1px;
  background: var(--accent); transition: width .25s ease;
}
nav a:hover::after, nav a.active::after { width: 100%; }
nav a.active { color: var(--accent); }
.menu-btn {
  display: none; border: 1px solid rgba(255,255,255,.12); color: var(--text);
  background: var(--surface); border-radius: 999px; padding: 10px 14px; cursor: pointer;
}

/* ---- HERO ---- */
.hero { padding: 0; }
.hero-fullbleed { margin-top: 0; }
.hero-shell.fullbleed {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #0a0a0a;
  box-shadow: none;
  isolation: isolate;
}
.hero-shell.fullbleed::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.74) 20%, rgba(0,0,0,.28) 56%, rgba(0,0,0,.72) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.56));
  z-index: -1;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2; transform: scale(1.03);
  background-position: center; background-size: cover; background-repeat: no-repeat;
  will-change: transform;
}
.hero-content {
  min-height: inherit; display: flex; align-items: center; padding: 40px 0 56px;
}
.hero-copy.compact {
  max-width: 760px;
  position: relative;
  padding: 48px 56px;
  margin: -24px;
  background: radial-gradient(
    ellipse 120% 90% at 35% center,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.42) 30%,
    rgba(0,0,0,0.14) 55%,
    transparent 75%
  );
  border-radius: 4px;
}
.hero-copy .lead { margin-top: 16px; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: var(--text);
  cursor: pointer; transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px) scale(1.02); background: rgba(211,178,122,.14); border-color: rgba(211,178,122,.28); box-shadow: 0 10px 30px rgba(211,178,122,.12); }
.btn.primary { background: linear-gradient(180deg, #e3c48b 0%, #b89256 100%); color: #111; border-color: transparent; font-weight: 700; }
.btn.primary:hover { background: linear-gradient(180deg, #efcf97 0%, #c29b5f 100%); }

/* ---- PANELS & CARDS ---- */
.panel {
  border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel.pad { padding: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--border); background: rgba(255,255,255,.03); border-radius: var(--radius-sm); padding: 24px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(211,178,122,.25); background: rgba(255,255,255,.05); box-shadow: 0 16px 32px rgba(0,0,0,.20); }
.kicker { color: var(--accent); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; }
.card p { margin-top: 12px; }
.card .meta { margin-top: 16px; color: rgba(246,241,232,.82); font-size: .94rem; }

/* ---- SERVICE BULLETS ---- */
.service-bullets {
  margin: 16px 0 0;
  padding: 0 0 0 18px;
  list-style: none;
  display: grid;
  gap: 10px;
}
.service-bullets li {
  position: relative;
  padding-left: 18px;
  color: rgba(246,241,232,.82);
  font-size: .92rem;
  line-height: 1.5;
}
.service-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.7;
}

.section-head { display: grid; gap: 14px; margin-bottom: 26px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: start; }
.rule { height: 1px; width: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); margin: 26px 0; }

/* ---- PORTFOLIO CAROUSEL ---- */
.portfolio-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 72px 0;
  background: rgba(255,255,255,.02);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
}
.carousel-wrapper {
  position: relative;
  width: 100%;
}
.carousel-viewport {
  width: 100%;
  overflow: hidden;
  cursor: grab;
}
.carousel-viewport:active { cursor: grabbing; }

.carousel-track {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 16px;
  width: max-content;
  will-change: transform;
}

.carousel-track-row {
  display: flex;
  gap: 14px;
}

.carousel-tile {
  position: relative;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  transition: transform 1.5s cubic-bezier(0.25, 0.1, 0.25, 1),
              box-shadow 1.5s ease,
              border-color 1.5s ease;
  cursor: pointer;
  animation: tileFloat 8s ease-in-out infinite;
}

/* each tile gets a slightly different float delay for organic feel */
.carousel-tile:nth-child(odd)  { animation-delay: 0s; }
.carousel-tile:nth-child(even) { animation-delay: -4s; }
.carousel-tile:nth-child(5n)   { animation-delay: -2s; }
.carousel-tile:nth-child(7n)   { animation-delay: -6s; }

@keyframes tileFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-2px) rotate(0.08deg); }
  75%      { transform: translateY(2px) rotate(-0.08deg); }
}

.carousel-tile:hover {
  transform: translateY(-3px) scale(1.012) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.45), 0 0 20px rgba(211,178,122,.06);
  border-color: rgba(211,178,122,.25);
  z-index: 2;
  animation-play-state: paused;
}

.carousel-tile img {
  display: block;
  height: auto;
  width: auto;
  max-height: 494px;
  min-height: 234px;
}

/* ---- CAROUSEL ARROWS ---- */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(5,5,5,.70);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
  opacity: 0;
  pointer-events: none;
}
.carousel-wrapper:hover .carousel-arrow {
  opacity: 1;
  pointer-events: all;
}
.carousel-arrow:hover {
  background: rgba(211,178,122,.16);
  border-color: rgba(211,178,122,.30);
}
.carousel-arrow.left  { left: 12px; }
.carousel-arrow.right { right: 12px; }

/* ---- LIGHTBOX ---- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 80px rgba(0,0,0,.60);
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.40);
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, border-color .25s ease;
}
.lightbox-close:hover { background: rgba(211,178,122,.14); border-color: rgba(211,178,122,.28); }

/* ---- VIDEO ---- */
.video-section {
  padding: 72px 0;
}
.video-container {
  width: 80vw;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
}
.video-container video {
  width: 100%;
  display: block;
  background: #000;
}

/* ---- FORM ---- */
.form {
  display: grid; gap: 14px;
}
.field {
  display: grid; gap: 8px;
}
.field label { font-size: .9rem; color: rgba(246,241,232,.82); }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid rgba(255,255,255,.10); background: rgba(255,255,255,.04); color: var(--text);
  border-radius: 16px; padding: 14px 16px; outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: rgba(211,178,122,.4); box-shadow: 0 0 0 3px rgba(211,178,122,.12); }
.inquiry-success {
  border: 1px solid rgba(211,178,122,.22);
  background: linear-gradient(180deg, rgba(211,178,122,.14), rgba(255,255,255,.04));
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 22px;
  margin-top: 18px;
}
.inquiry-success strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.inquiry-success p { margin: 0; color: rgba(246,241,232,.82); }
.form button:disabled { opacity: .7; cursor: wait; }

/* ---- FOOTER ---- */
.footer { padding: 26px 0 40px; color: rgba(246,241,232,.72); }
.footer-inner {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--accent); }

/* ---- REVEAL ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 980px) {
  nav { display: none; }
  .menu-btn { display: inline-flex; }
  .split, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-shell { min-height: auto; }
  .hero-content { padding: 26px; }
  .carousel-tile img { max-height: 280px; min-height: 140px; }
}
@media (max-width: 720px) {
  h1 { max-width: 100%; }
  .section { padding: 64px 0; }
  .hero { padding-top: 14px; }
  .topbar-inner { min-height: 66px; }
  .brand { font-size: .8rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .carousel-tile img { max-height: 220px; min-height: 120px; }
}
