/* ============================================================
   ARTO HOUSE LIMITED — Quiet Luxury Design System
   Palette: Onyx | Mocha Mousse | 24k Gold | Warm Sand
   ============================================================ */

:root {
  --onyx:        #0A0A0A;
  --onyx-soft:   #14110F;
  --mocha:       #A38A75;
  --gold:        #C69B3C;
  --gold-soft:   #B8893A;
  --sand:        #D2B48C;
  --sand-soft:   #E8DCC4;
  --bone:        #F5EFE6;
  --line:        rgba(198, 155, 60, 0.18);
  --line-strong: rgba(198, 155, 60, 0.45);
}

/* ---------- Type aliases ---------- */
.font-display { font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif; font-weight: 500; letter-spacing: -0.01em; }
.font-sans    { font-family: 'Manrope', 'Inter', system-ui, sans-serif; font-weight: 300; letter-spacing: 0.005em; }
.font-mark    { font-family: 'Cormorant Garamond', serif; font-weight: 400; letter-spacing: 0.42em; text-transform: uppercase; }

html, body {
  background: var(--onyx);
  color: var(--bone);
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Headings ---------- */
.h-hero {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.6rem, 7vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.h-hero em { font-style: italic; color: var(--gold); font-weight: 400; }

.h-section {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Paper / surfaces ---------- */
.surface-onyx { background: var(--onyx); color: var(--bone); }
.surface-bone { background: var(--bone); color: var(--onyx); }
.surface-mocha { background: var(--mocha); color: var(--onyx); }
.surface-sand { background: var(--sand-soft); color: var(--onyx); }

.divider-gold {
  display: inline-block;
  height: 1px;
  width: 56px;
  background: var(--gold);
  vertical-align: middle;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 10, 0.55);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  max-width: 1480px;
  margin: 0 auto;
}
.nav a {
  color: var(--bone);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.3s ease;
}
.nav a:hover { color: var(--gold); }
.nav a.active { color: var(--gold); }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  letter-spacing: 0.32em;
  color: var(--bone);
  text-decoration: none;
}
.brand .dot { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 0.74rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold);
  color: var(--bone);
  background: transparent;
  transition: all 0.45s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(198,155,60,0.18), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}
.btn:hover { color: var(--onyx); background: var(--gold); box-shadow: 0 0 32px rgba(198,155,60,0.35); }
.btn:hover::before { transform: translateX(100%); }
.btn .arrow { display: inline-block; transition: transform 0.4s ease; }
.btn:hover .arrow { transform: translateX(6px); }

.btn-light { color: var(--onyx); border-color: var(--onyx); }
.btn-light:hover { background: var(--onyx); color: var(--bone); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--onyx);
}
.hero-bg {
  position: absolute; inset: 0;
  background-color: #0a0a0a;
  background-image:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.92) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.25) 50%, rgba(10,10,10,0.4) 100%),
    url('https://images.unsplash.com/photo-1616594039964-ae9021a400a0?auto=format&fit=crop&w=2000&q=70');
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 70% 30%, rgba(198,155,60,0.10), transparent 60%);
  mix-blend-mode: screen;
}
/* page-specific hero photos */
.hero-bg.hero-move {
  background-image:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.92) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.3) 60%),
    url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?auto=format&fit=crop&w=2000&q=70');
}
.hero-bg.hero-haus {
  background-image:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.92) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.3) 60%),
    url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=2000&q=70');
}
.hero-bg.hero-contact {
  background-image:
    linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.95) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.5) 60%),
    url('https://images.unsplash.com/photo-1583847268964-b28dc8f51f92?auto=format&fit=crop&w=2000&q=70');
  background-size: cover;
  background-position: center;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 7rem 2rem 6rem;
  max-width: 1480px;
  margin: 0 auto;
  width: 100%;
}

/* ---------- Split convergence ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-panel {
  padding: 4rem 3rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  background: var(--onyx);
  transition: background 0.6s ease;
  overflow: hidden;
  min-height: 60vh;
}
.split-panel:last-child { border-right: none; }
@media (max-width: 900px) { .split-panel { border-right: none; border-bottom: 1px solid var(--line); } }
.split-panel:hover { background: var(--onyx-soft); }
.split-panel:hover .split-num { color: var(--gold); }
.split-panel:hover .split-cover { transform: scale(1.04); opacity: 0.55; }
.split-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  letter-spacing: 0.5em;
  color: var(--mocha);
  transition: color 0.5s ease;
}
.split-cover {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  transition: transform 1.2s ease, opacity 0.6s ease;
  z-index: 0;
}
.split-cover.move {
  background-image:
    linear-gradient(180deg, rgba(10,10,10,0.55), rgba(10,10,10,0.88)),
    url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?auto=format&fit=crop&w=1400&q=70');
  background-size: cover;
  background-position: center;
}
.split-cover.haus {
  background-image:
    linear-gradient(180deg, rgba(10,10,10,0.55), rgba(10,10,10,0.88)),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1400&q=70');
  background-size: cover;
  background-position: center;
}
.split-content { position: relative; z-index: 1; }

/* ---------- Section blocks ---------- */
.section {
  padding: 7rem 2rem;
  max-width: 1480px;
  margin: 0 auto;
}
.section-narrow { max-width: 980px; }

.prose-luxury {
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.85;
  color: rgba(245,239,230,0.78);
  font-weight: 300;
}
.surface-bone .prose-luxury, .surface-sand .prose-luxury { color: rgba(10,10,10,0.78); }
.prose-luxury p + p { margin-top: 1.6rem; }
.prose-luxury em { color: var(--gold); font-style: italic; }

/* ---------- Pillar grid ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pillar {
  padding: 2.6rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.5s ease;
}
.pillar:hover { background: rgba(198,155,60,0.04); }
.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.4em;
}
.pillar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin: 1rem 0 0.8rem;
  letter-spacing: -0.01em;
}
.pillar-body {
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(245,239,230,0.7);
}
.surface-bone .pillar-body { color: rgba(10,10,10,0.7); }

/* ---------- Horizontal gallery ---------- */
.h-gallery {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 2rem 3rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.h-gallery::-webkit-scrollbar { height: 4px; }
.h-gallery::-webkit-scrollbar-thumb { background: var(--gold); }
.h-gallery::-webkit-scrollbar-track { background: var(--line); }
.gallery-card {
  flex: 0 0 min(78vw, 620px);
  scroll-snap-align: start;
  background: var(--onyx-soft);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.5s ease, border-color 0.5s ease;
}
.gallery-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.gallery-img {
  height: 380px;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.15) contrast(1.05);
  transition: filter 0.5s ease, transform 0.8s ease;
}
.gallery-card:hover .gallery-img { filter: none; transform: scale(1.03); }
.gallery-meta {
  padding: 1.6rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
}
.gallery-meta h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
}
.gallery-meta span { font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--mocha); }

/* gallery photography (Unsplash CDN — free hot-link) */
.bg-plate-1 { background-image: url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?auto=format&fit=crop&w=1400&q=70'); }   /* alpine road */
.bg-plate-2 { background-image: url('https://images.unsplash.com/photo-1502602898657-3e91760cbb34?auto=format&fit=crop&w=1400&q=70'); }   /* paris boulevard */
.bg-plate-3 { background-image: url('https://images.unsplash.com/photo-1486325212027-8081e485255e?auto=format&fit=crop&w=1400&q=70'); }   /* mountain pass */
.bg-plate-4 { background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1400&q=70'); }   /* modern living */
.bg-plate-5 { background-image: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?auto=format&fit=crop&w=1400&q=70'); }    /* elegant interior */
.bg-plate-6 { background-image: url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1400&q=70'); }   /* kitchen */
.bg-plate-7 { background-image: url('https://images.unsplash.com/photo-1583847268964-b28dc8f51f92?auto=format&fit=crop&w=1400&q=70'); }   /* library */
.bg-plate-8 { background-image: url('https://images.unsplash.com/photo-1604578762246-41134e37f9cc?auto=format&fit=crop&w=1400&q=70'); }   /* marble bath */
.bg-plate-9 { background-image: url('https://images.unsplash.com/photo-1487958449943-2429e8be8625?auto=format&fit=crop&w=1400&q=70'); }   /* architecture */
.bg-plate-10 { background-image: url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?auto=format&fit=crop&w=1400&q=70'); }  /* european street */
.bg-plate-11 { background-image: url('https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=1400&q=70'); }    /* truck/highway */
.bg-plate-12 { background-image: url('https://images.unsplash.com/photo-1616594039964-ae9021a400a0?auto=format&fit=crop&w=1400&q=70'); }  /* dark luxury */

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.testi-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2rem 2rem 3rem;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  flex: 0 0 min(86vw, 520px);
  scroll-snap-align: center;
  padding: 2.4rem 2.2rem;
  margin-right: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(20,17,15,0.6);
  position: relative;
}
.testi-card::before {
  content: '“';
  position: absolute;
  top: 0.4rem; left: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.35;
  line-height: 1;
}
.testi-stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.85rem; }
.testi-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--bone);
  margin: 1rem 0 1.6rem;
  font-style: italic;
}
.testi-meta { display: flex; justify-content: space-between; font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mocha); }
.testi-meta strong { color: var(--gold); font-weight: 400; }

.testi-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  max-width: 1480px;
  margin: 0 auto;
}
.testi-arrows { display: flex; gap: 0.6rem; }
.testi-arrow {
  width: 52px; height: 52px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--bone);
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.4s ease;
}
.testi-arrow:hover { background: var(--gold); color: var(--onyx); border-color: var(--gold); }

.rating-block {
  display: flex; align-items: baseline; gap: 1rem;
}
.rating-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--gold);
  font-weight: 300;
}

/* ---------- Trust strip ---------- */
.trust {
  padding: 3rem 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  font-size: 0.74rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--mocha);
}
.trust strong { color: var(--gold); font-weight: 400; }

/* ---------- Form ---------- */
.form-shell {
  max-width: 640px;
  margin: 0 auto;
}
.field { margin-bottom: 2rem; }
.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--mocha);
  margin-bottom: 0.8rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  color: var(--bone);
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  padding: 0.8rem 0;
  font-weight: 300;
  transition: border-color 0.4s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.field select option { background: var(--onyx); color: var(--bone); }

/* ---------- Footer ---------- */
footer {
  background: var(--onyx-soft);
  border-top: 1px solid var(--line);
  padding: 5rem 2rem 2rem;
}
.footer-grid {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h5 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.footer-grid a, .footer-grid p {
  display: block;
  font-size: 0.92rem;
  color: rgba(245,239,230,0.7);
  text-decoration: none;
  margin-bottom: 0.7rem;
  transition: color 0.3s ease;
}
.footer-grid a:hover { color: var(--gold); }

.footer-base {
  max-width: 1480px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mocha);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Stagger inline rule list ---------- */
.list-rule {
  border-top: 1px solid var(--line);
}
.list-rule li {
  list-style: none;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: baseline;
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.list-rule .num { color: var(--gold); font-family: 'Cormorant Garamond', serif; letter-spacing: 0.3em; }
.list-rule .title { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; }
.list-rule .meta { font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mocha); }
@media (max-width: 700px) {
  .list-rule li { grid-template-columns: 50px 1fr; }
  .list-rule .meta { grid-column: 1 / -1; }
}
