:root {
  --bg: #0b0c0e;
  --bg-alt: #131417;
  --panel: #1a1b1f;
  --border: rgba(212, 175, 100, 0.18);
  --text: #ede9e2;
  --text-dim: #a9a49b;
  --gold: #d4af64;
  --gold-bright: #f0cd8a;
  --teal: #2fb6a8;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Jost", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0;
}

a {
  color: inherit;
}

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

.container {
  width: min(1180px, 100% - 3rem);
  margin-inline: auto;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(10, 11, 13, 0.85), transparent);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
  background: rgba(11, 12, 14, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding-block: 0.75rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--text);
}

.brand strong {
  color: var(--gold-bright);
  font-weight: 700;
}

.brand span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: "Jost", sans-serif;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.2rem);
  margin: 0;
  padding: 0;
}

.nav a.nav-link {
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  padding-bottom: 4px;
}

.nav a.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

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

.nav a.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 20%, rgba(47, 182, 168, 0.10), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 100, 0.14), transparent 55%),
    linear-gradient(160deg, #0a0b0d 0%, #14161a 55%, #0a0b0d 100%);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 100, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 100, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, black, transparent 75%);
  z-index: -1;
}

.hero .ember {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: -1;
  animation: drift 16s ease-in-out infinite alternate;
}

.hero .ember.one {
  width: 420px;
  height: 420px;
  background: rgba(212, 175, 100, 0.28);
  top: -8%;
  right: 5%;
}

.hero .ember.two {
  width: 360px;
  height: 360px;
  background: rgba(47, 182, 168, 0.22);
  bottom: -10%;
  left: 0%;
  animation-delay: -6s;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -25px) scale(1.08); }
}

.hero-inner {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 3rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  line-height: 1.03;
  max-width: 16ch;
}

.hero h1 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-bright), var(--teal) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  margin-top: 1.6rem;
  max-width: 46ch;
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--gold-bright), var(--gold));
  color: #201705;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(212, 175, 100, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(212, 175, 100, 0.38);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.hero-meta {
  margin-top: 3.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  border-top: 1px solid var(--border);
  padding-top: 1.6rem;
}

.hero-meta div strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  color: var(--gold-bright);
}

.hero-meta div span {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 380px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -12% -18%;
  background: radial-gradient(closest-side, rgba(212, 175, 100, 0.32), transparent 70%),
    radial-gradient(closest-side, rgba(47, 182, 168, 0.22), transparent 72%);
  background-position: 15% 10%, 85% 90%;
  background-repeat: no-repeat;
  background-size: 70% 70%, 65% 65%;
  filter: blur(30px);
  z-index: -1;
}

.hero-photo-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 6, 7, 0.55), transparent 45%);
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 9 / 13;
}

.hero-visual-tag {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 1;
  background: rgba(11, 12, 14, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--gold-bright);
}

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.scroll-cue .line {
  width: 1px;
  height: 38px;
  background: linear-gradient(var(--gold), transparent);
  animation: pulse-line 1.8s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ---------- Section shared ---------- */
section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}

.section-head {
  max-width: 42rem;
  margin-bottom: 3.5rem;
}

.section-head .eyebrow {
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.section-head p {
  margin-top: 1.1rem;
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ---------- About ---------- */
.about {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-copy p {
  color: var(--text-dim);
  line-height: 1.85;
  font-size: 1.05rem;
  margin: 0 0 1.2rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-copy strong {
  color: var(--gold-bright);
  font-weight: 600;
}

.about-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.about-frame .tag {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  background: rgba(11, 12, 14, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.feature-card {
  padding: 2.2rem 1.7rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(160deg, var(--panel), transparent);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.feature-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 100, 0.12);
  color: var(--gold-bright);
  margin-bottom: 1.3rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* ---------- Gallery ---------- */
.gallery {
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 0.9rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  cursor: zoom-in;
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item::after {
  content: attr(data-caption);
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem 1.1rem 0.9rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--text);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
  transition: transform 0.35s ease;
}

/* Devices with real hover (mouse/trackpad): caption hidden until hover */
@media (hover: hover) {
  .gallery-item::after {
    transform: translateY(100%);
  }

  .gallery-item:hover img {
    transform: scale(1.08);
  }

  .gallery-item:hover::after {
    transform: translateY(0);
  }
}

/* Touch devices have no hover state — show a lighter caption permanently */
@media (hover: none) {
  .gallery-item::after {
    padding: 0.7rem 0.8rem 0.6rem;
    font-size: 0.78rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
  }
}

/* ---------- Process ---------- */
.process {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.process-step {
  position: relative;
  padding-left: 3.4rem;
}

.process-step .num {
  position: absolute;
  left: 0;
  top: -0.3rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.8rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* ---------- CTA / Info ---------- */
.info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.info-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.6rem;
  background: linear-gradient(160deg, var(--panel), transparent);
}

.info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.9rem;
}

.info-card p {
  color: var(--text-dim);
  line-height: 1.75;
  margin: 0 0 1.4rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.contact-list a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  font-size: 0.98rem;
}

.contact-list a:hover {
  color: var(--gold-bright);
}

.contact-list .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-links a {
  text-decoration: none;
}

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

.footer-note {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 7, 0.92);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 1.6rem;
  right: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-dim);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero .ember,
  .scroll-cue .line {
    animation: none;
  }

  .gallery-item img,
  .gallery-item::after,
  .feature-card,
  .btn {
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 5.5rem; }
  .hero-visual { max-width: 300px; margin-inline: auto; margin-top: 0.5rem; }

  .about-grid { grid-template-columns: 1fr; }
  .about-frame { order: -1; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .info { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item.wide { grid-column: span 2; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0.5rem 0;
    background: rgba(11, 12, 14, 0.98);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.25s ease;
  }

  .nav ul.open {
    max-height: 60vh;
    opacity: 1;
  }

  .nav ul li {
    width: 100%;
  }

  .nav a.nav-link {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }

  .nav a.nav-link::after { display: none; }

  .hero-meta { gap: 1.6rem; }

  .scroll-cue { display: none; }
}

@media (max-width: 520px) {
  .hero-visual { max-width: 240px; }

  .features { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-item.wide, .gallery-item.tall { grid-column: span 1; grid-row: span 1; }

  .hero .ember {
    width: 220px;
    height: 220px;
    filter: blur(36px);
  }
}
