:root {
  --ink: #1a1410;
  --ink-soft: #3a312a;
  --paper: #f6f0e8;
  --paper-2: #efe6d8;
  --gold: #c9a96e;
  --gold-deep: #a07d42;
  --blush: #d4b5a0;
  --white: #fbf8f3;
  --line: rgba(201, 169, 110, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 7vw, 7.2rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 4.4rem); }
h3 { font-size: 1.7rem; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

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

.btn--gold:hover { background: #d8bb82; }

.btn--ghost {
  border: 1px solid rgba(251, 248, 243, 0.45);
  color: var(--white);
}

.btn--ghost:hover { background: rgba(251, 248, 243, 0.1); }

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

.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--gold);
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}

.preloader.is-gone {
  opacity: 0;
  visibility: hidden;
}

.preloader__inner { text-align: center; }

.preloader__mark {
  width: 88px;
  height: 88px;
  animation: pulse 1.6s ease-in-out infinite;
}

.preloader__word {
  margin-top: 16px;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.cursor, .cursor-dot {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  z-index: 999;
  mix-blend-mode: difference;
  display: none;
}

.cursor {
  width: 42px;
  height: 42px;
  border: 1px solid #fff;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  transform: translate(-50%, -50%);
}

@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-dot { display: block; }
  body, a, button { cursor: none; }
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 18px 24px 0;
  transition: padding 0.4s var(--ease);
}

.header.is-scrolled { padding-top: 10px; }

.header__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(26, 20, 16, 0.55);
  backdrop-filter: blur(18px);
  color: var(--white);
  border: 1px solid rgba(201, 169, 110, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
}

.logo span { display: flex; flex-direction: column; line-height: 1.1; }
.logo strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}
.logo small {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a { opacity: 0.78; transition: opacity 0.3s; }
.nav a:hover { opacity: 1; color: var(--gold); }

.header__cta { margin-left: 8px; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--white);
  transition: 0.3s;
}

.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 26px; }

.menu-toggle.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end start;
  color: var(--white);
  overflow: hidden;
}

.hero__media, .hero__media img, .hero__veil {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  transform: scale(1.08);
  animation: kenburns 18s ease-out forwards;
}

.hero__veil {
  background:
    linear-gradient(180deg, rgba(26,20,16,0.25) 0%, rgba(26,20,16,0.55) 55%, rgba(26,20,16,0.88) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(201,169,110,0.18), transparent 50%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 7vw 14vh;
  max-width: 920px;
}

.hero__content h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero__lead {
  max-width: 520px;
  margin: 24px 0 36px;
  color: rgba(251, 248, 243, 0.82);
  font-weight: 300;
  font-size: 1.05rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll {
  position: absolute;
  right: 7vw;
  bottom: 8vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__scroll i {
  width: 1px;
  height: 54px;
  background: linear-gradient(var(--gold), transparent);
  animation: drop 1.6s ease-in-out infinite;
}

.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--gold);
  border-block: 1px solid var(--line);
  padding: 18px 0;
}

.marquee__track {
  display: flex;
  gap: 28px;
  width: max-content;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  animation: slide 28s linear infinite;
}

.essence { padding: 140px 0; }

.essence__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}

.essence__copy p { color: var(--ink-soft); margin-bottom: 18px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.stats strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  color: var(--gold-deep);
}

.stats span { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }

.essence__visual { position: relative; }

.frame {
  border-radius: 180px 180px 24px 24px;
  overflow: hidden;
  height: 620px;
}

.frame img { width: 100%; height: 100%; }

.essence__card {
  position: absolute;
  left: -40px;
  bottom: 40px;
  width: min(280px, 70%);
  padding: 24px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.92rem;
  border: 1px solid var(--gold);
}

.services {
  padding: 40px 0 140px;
  background:
    linear-gradient(180deg, transparent, rgba(212,181,160,0.12) 40%, transparent);
}

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head--row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
}
.section-head__aside { max-width: 340px; color: var(--ink-soft); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service {
  background: var(--white);
  overflow: hidden;
  border: 1px solid rgba(26, 20, 16, 0.06);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.service:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(26, 20, 16, 0.12);
}

.service__img { height: 280px; overflow: hidden; }
.service__img img {
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease);
}
.service:hover .service__img img { transform: scale(1.08); }

.service__body { padding: 28px 24px 32px; }
.service__body span {
  display: block;
  color: var(--gold-deep);
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  margin-bottom: 8px;
}
.service__body p { color: var(--ink-soft); margin-top: 10px; font-size: 0.95rem; }

.signature {
  padding: 40px 0 140px;
}

.signature__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.signature__media {
  height: 640px;
  overflow: hidden;
  border-radius: 24px 180px 24px 24px;
}

.signature__media img { width: 100%; height: 100%; }

.ritual { list-style: none; margin: 32px 0 36px; }

.ritual li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.ritual strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.ritual span { color: var(--ink-soft); font-size: 0.95rem; }

.gallery { padding: 0 0 140px; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.gallery figure {
  overflow: hidden;
  border-radius: 8px;
}

.gallery img {
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease) , filter 0.8s;
  filter: saturate(0.85);
}

.gallery figure:hover img {
  transform: scale(1.06);
  filter: saturate(1);
}

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

.team { padding: 0 0 120px; }

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.member__photo {
  height: 380px;
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 160px 160px 12px 12px;
}

.member__photo img {
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease);
}

.member:hover img { transform: scale(1.06); }

.member h3 { font-size: 1.5rem; }
.member p { color: var(--gold-deep); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }

.quotes {
  padding: 100px 0;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.quotes .eyebrow { color: var(--gold); }

.quotes__slider { min-height: 220px; position: relative; }

.quote {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: 0.6s var(--ease);
  pointer-events: none;
}

.quote.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
}

.quote p {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.25;
  font-style: italic;
  max-width: 820px;
  margin: 0 auto 24px;
}

.quote cite {
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
}

.quotes__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.quotes__nav button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  position: relative;
}

.quotes__nav button::before {
  content: "";
  position: absolute;
  inset: 18px 16px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.quotes__nav button:first-child::before { transform: rotate(-135deg); }
.quotes__nav button:last-child::before { transform: rotate(45deg); }

.visit { padding: 140px 0; }

.visit__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: stretch;
}

.info-list {
  list-style: none;
  margin: 36px 0;
}

.info-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.info-list strong {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.visit__map {
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.visit__map iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  filter: grayscale(0.4) contrast(1.05);
  border: 0;
}

.cta {
  background: var(--gold);
  color: var(--ink);
  padding: 90px 0;
}

.cta__inner { text-align: center; }
.cta .eyebrow { color: var(--ink-soft); }
.cta h2 { margin: 0 auto 32px; max-width: 760px; }

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.footer p { color: rgba(246, 240, 232, 0.7); margin-top: 16px; max-width: 280px; }

.footer nav, .footer__social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  font-size: 0.78rem;
  color: rgba(246, 240, 232, 0.5);
}

.footer__bottom p { margin: 0; }

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s var(--ease);
}

.whatsapp:hover { transform: scale(1.06); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s var(--ease) forwards;
  animation-play-state: paused;
}

.reveal.is-in { animation-play-state: running; }

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }
.delay-4 { animation-delay: 0.48s; }

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@keyframes kenburns {
  to { transform: scale(1); }
}

@keyframes drop {
  0%, 100% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(0.45); opacity: 0.4; }
}

@keyframes slide {
  to { transform: translateX(-50%); }
}

@keyframes pulse {
  50% { transform: scale(1.06); opacity: 0.75; }
}

@media (max-width: 980px) {
  .header__cta { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav {
    position: fixed;
    inset: 86px 16px auto;
    display: none;
    flex-direction: column;
    gap: 18px;
    padding: 24px;
    background: rgba(26, 20, 16, 0.96);
    border-radius: 18px;
    border: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .essence__grid,
  .signature__inner,
  .visit__grid,
  .footer__grid,
  .services__grid,
  .team__grid {
    grid-template-columns: 1fr;
  }
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
  .frame, .signature__media, .member__photo { height: 420px; }
  .essence__card { left: 16px; }
  .ritual li, .info-list li { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
  .section-head--row { flex-direction: column; align-items: start; }
}

@media (max-width: 640px) {
  .wrap { width: min(1180px, calc(100% - 28px)); }
  .stats { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: auto; }
  .footer__bottom { flex-direction: column; }
  .hero__content { padding: 0 28px 12vh; }
}
