/* ═══════════════════════════════════════════════
   V3 — SANDSTONE LUXURY
   Warm Beige · Brass · Deep Brown
   "This place takes itself seriously"
   ═══════════════════════════════════════════════ */

:root {
  --sand:        #D9CBAD;
  --sand-light:  #E8DECE;
  --sand-pale:   #F2EDE4;
  --brass:       #A68B4B;
  --brass-light: #C4A86A;
  --brass-dark:  #7A6535;
  --brown:       #2E2418;
  --brown-mid:   #5A4A38;
  --brown-soft:  #8A7A68;
  --cream:       #F7F3EC;
  --white:       #FCFAF6;

  --ff-display: 'Libre Baskerville', Georgia, serif;
  --ff-body:    'Karla', -apple-system, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--ff-body); color: var(--brown); background: var(--cream); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* ── HERO ── */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--sand);
  color: var(--brown);
  position: relative;
  overflow: hidden;
}

/* Fine linen texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 100px;
  pointer-events: none;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  position: relative;
  z-index: 5;
  animation: fadeIn 0.8s var(--ease) 0.1s both;
}

.nav__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brown);
}

.nav__divider {
  width: 1px;
  height: 16px;
  background: var(--brown);
  opacity: 0.2;
}

.nav__sub {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown-mid);
  font-weight: 400;
}

.nav__cta {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  transition: color 0.3s;
}

.nav__cta:hover { color: var(--brass-dark); }

/* Large monogram */
.hero__mono {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--ff-display);
  font-size: clamp(14rem, 45vw, 28rem);
  font-weight: 700;
  color: var(--sand-light);
  opacity: 0.5;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

/* Center content */
.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.hero__rule {
  width: 60px;
  height: 1px;
  background: var(--brass);
  margin: 1.25rem 0;
  animation: scaleIn 0.8s var(--ease) 0.4s both;
}

.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 7vw, 3.5rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--brown);
  animation: fadeUp 0.9s var(--ease) 0.5s both;
}

.hero__title em {
  font-style: italic;
  color: var(--brass);
}

.hero__sub {
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--brown-mid);
  font-weight: 300;
  letter-spacing: 0.03em;
  animation: fadeUp 0.9s var(--ease) 0.7s both;
}

/* Scroll indicator */
.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  position: relative;
  z-index: 2;
  animation: fadeIn 0.8s var(--ease) 1s both;
}

.hero__scroll-text {
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brown-soft);
  font-weight: 400;
}

.hero__scroll-line {
  width: 1px;
  height: 32px;
  background: var(--brass);
  opacity: 0.4;
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--brown);
  animation: scrollDown 2s var(--ease) infinite;
}


/* ── ABOUT ── */

.about {
  padding: 4rem 1.25rem;
  background: var(--cream);
}

.about__top {
  margin-bottom: 3rem;
}

.about__label {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1rem;
  font-weight: 500;
}

.about__title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--brown);
  margin-bottom: 1.25rem;
}

.about__title em {
  font-style: italic;
  color: var(--brass);
}

.about__desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--brown-mid);
  font-weight: 300;
  max-width: 50ch;
}

/* Space entries */
.about__spaces {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.aspace {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(46, 36, 24, 0.08);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.aspace:first-child {
  border-top: 1px solid rgba(46, 36, 24, 0.08);
}

.aspace.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.aspace__line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.aspace__dash {
  width: 16px;
  height: 1px;
  background: var(--brass);
}

.aspace__tag {
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown-soft);
  font-weight: 400;
}

.aspace__name {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0.3rem;
  transition: color 0.3s var(--ease);
}

.aspace:hover .aspace__name {
  color: var(--brass);
}

.aspace__detail {
  font-size: 0.75rem;
  color: var(--brown-mid);
  font-weight: 300;
  letter-spacing: 0.02em;
}


/* ── ANIMATIONS ── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes scrollDown {
  0%   { top: -100%; }
  100% { top: 100%; }
}


/* ── DESKTOP ── */

@media (min-width: 768px) {
  .nav { padding: 2rem 3rem; }
  .hero__content { padding: 0 3rem; }

  .about {
    padding: 6rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .about__top { margin-bottom: 0; }

  .about__spaces {
    padding-top: 2rem;
  }
}
