:root {
  --black: #0d0b0a;
  --charcoal: #16130f;
  --charcoal-2: #1e1a15;
  --off-white: #ece7dd;
  --muted: #9a9187;
  --gold: #c8a86a;
  --gold-soft: #b7996044;
  --line: #2a251f;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.25rem, 5vw, 6rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  background: var(--black);
  color: var(--off-white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--black); }

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

img { display: block; width: 100%; height: 100%; object-fit: cover; }

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold);
  z-index: 200;
}

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 34px; height: 34px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 199;
  transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease), opacity .3s;
  opacity: 0;
  mix-blend-mode: difference;
}
.cursor-dot.is-hover { width: 64px; height: 64px; background: var(--gold-soft); }
@media (hover: none) { .cursor-dot { display: none; } }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--pad);
  transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(13, 11, 10, 0.82);
  backdrop-filter: blur(14px);
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.nav__mark {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--off-white);
}
.nav__links {
  display: flex;
  gap: 2.25rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav__links a { color: var(--muted); position: relative; transition: color .3s; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width .4s var(--ease);
}
.nav__links a:hover { color: var(--off-white); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: inline-flex; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  width: 26px; height: 1.5px;
  background: var(--off-white);
  transition: transform .4s var(--ease), opacity .3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  font-family: var(--font-serif);
  font-size: 2rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease);
  pointer-events: none;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.mobile-menu a { color: var(--off-white); opacity: .85; }
.mobile-menu__cta { color: var(--gold) !important; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.btn--solid { background: var(--off-white); color: var(--black); }
.btn--solid:hover { background: var(--gold); transform: translateY(-3px); }
.btn--ghost { border: 1px solid var(--line); color: var(--off-white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

.reveal, .reveal-lines {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible, .reveal-lines.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem var(--pad) 4rem;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: -12% 0 0 0;
  z-index: -2;
  height: 120%;
  will-change: transform;
}
.hero__media img { 
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(0.35) brightness(0.62) contrast(1.05); 
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--black) 1%, transparent 60%),
    linear-gradient(to right, rgba(13,11,10,0.78), rgba(13,11,10,0.2) 50%, rgba(13,11,10,0) 80%);
}
.hero__content { max-width: 62rem; }
.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 8vw, 7rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line__inner {
  display: block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease);
}
.hero.is-in .line__inner { transform: translateY(0); }
.hero.is-in .line:nth-child(2) .line__inner { transition-delay: .12s; }
.hero.is-in .line:nth-child(3) .line__inner { transition-delay: .24s; }
.line--accent .line__inner { color: var(--gold); font-style: italic; }

.hero__lede {
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  margin-bottom: 2.5rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  left: var(--pad); bottom: 2.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll-line {
  width: 60px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  animation: scrollpulse 2.4s var(--ease) infinite;
}
@keyframes scrollpulse {
  0%, 100% { transform: scaleX(0.4); transform-origin: left; opacity: .5; }
  50% { transform: scaleX(1); opacity: 1; }
}
.hero__meta {
  position: absolute;
  right: var(--pad); bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 1.4rem 0;
  background: var(--charcoal);
}
.marquee__track {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--muted);
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee__track .dot { color: var(--gold); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section { padding: clamp(5rem, 12vh, 9rem) var(--pad); }
.section__head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
}
.section__index {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.section__kicker {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 500;
}

.about__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.about__statement {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 3.2rem);
  line-height: 1.22;
  font-weight: 400;
  max-width: 44ch;
}
.about__statement em { color: var(--gold); font-style: italic; }
.about__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.about__col { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.about__col h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.about__col p { color: var(--muted); font-size: 0.98rem; }

.project {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.project--reverse .project__media { order: 2; }
.project__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  position: relative;
  will-change: transform;
}
.project__media img {
  transition: transform 1.1s var(--ease);
}
.project__media:hover img { transform: scale(1.06); }
.project__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.project__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 0.6rem;
}
.project__cat { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.08em; margin-bottom: 1.1rem; }
.project__desc { color: var(--muted); max-width: 42ch; }

.services__list { list-style: none; }
.services__item {
  display: grid;
  grid-template-columns: auto 1fr 1.4fr;
  gap: clamp(1rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(1.75rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
  transition: background .5s var(--ease);
}
.services__item:last-child { border-bottom: 1px solid var(--line); }
.services__item:hover { background: var(--charcoal); }
.services__num {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1rem;
}
.services__item h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 500;
}
.services__item p { color: var(--muted); max-width: 46ch; }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.plan {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), border-color .5s, background .5s;
}
.plan:hover { transform: translateY(-8px); border-color: var(--gold-soft); }
.plan--featured {
  background: var(--charcoal-2);
  border-color: var(--gold-soft);
}
.plan__badge {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.plan__name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.plan__price {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.plan__for { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.75rem; }
.plan__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
  flex-grow: 1;
}
.plan__features li {
  color: var(--off-white);
  font-size: 0.95rem;
  padding-left: 1.25rem;
  position: relative;
}
.plan__features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.plan__cta { width: 100%; }

.faq__list { display: flex; flex-direction: column; }
.faq__item {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0;
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 500;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  color: var(--gold);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.6rem;
  transition: transform .4s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  color: var(--muted);
  max-width: 60ch;
  margin-top: 1rem;
  font-size: 1rem;
}

.contact {
  text-align: center;
  background: var(--charcoal);
  border-top: 1px solid var(--line);
}
.contact__inner { max-width: 60rem; margin: 0 auto; }
.contact .section__index { display: inline-block; margin-bottom: 1.5rem; }
.contact__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}
.contact__lede { color: var(--muted); font-size: 1.1rem; max-width: 40ch; margin: 0 auto 2.5rem; }
.contact__mail {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--gold);
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 0.3rem;
  transition: opacity .3s;
}
.contact__mail:hover { opacity: 0.7; }
.contact .hero__actions { justify-content: center; }

.footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding: 3.5rem var(--pad);
  background: var(--black);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.footer__col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col p, .footer__col span { color: var(--muted); }
.footer__col a { color: var(--muted); transition: color .3s; }
.footer__col a:hover { color: var(--gold); }
.footer__copy { margin-top: 0.5rem; font-size: 0.8rem; }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .about__cols { grid-template-columns: 1fr; }
  .project, .project--reverse .project__media { grid-template-columns: 1fr; order: 0; }
  .project__media { order: 0 !important; }
  .services__item { grid-template-columns: auto 1fr; }
  .services__item p { grid-column: 1 / -1; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 30rem; margin: 0 auto; }
  .footer { grid-template-columns: 1fr; }
  .hero__meta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal, .reveal-lines, .hero__title .line__inner { opacity: 1 !important; transform: none !important; }
}
