:root {
  --bg: #0b0c0a;
  --bg-alt: #121310;
  --ink: #f4f3ef;
  --ink-dim: #b9b8b0;
  --accent: #a6b26a;
  --accent-dim: #7d8a4d;
  --line: rgba(244,243,239,0.1);
  --radius: 18px;
  --maxw: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Sora', system-ui, sans-serif; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--ink-dim); }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .75rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: .75em;
}
.center { text-align: center; }
.section-sub { max-width: 620px; margin: 0 auto 3rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .7em 1.4em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--accent); color: #14150d; }
.btn-primary:hover { background: #b7c27f; }
.btn-outline { border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); }
.btn-ghost { color: var(--ink-dim); background: none; }
.btn-ghost:hover { color: var(--ink); }
.btn-lg { padding: .9em 1.8em; font-size: 1rem; }
.btn.full { width: 100%; }

.link-arrow { color: var(--accent); font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.stars { color: var(--accent); letter-spacing: 2px; }

/* Contact (shared structure; page CSS themes it) */
.contact { padding: 100px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.contact-list { list-style: none; margin: 2rem 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: .95rem; }
.contact-list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--ink-dim);
  transition: color .18s ease, border-color .18s ease, transform .18s ease;
}
.socials a svg { width: 18px; height: 18px; }
.socials a:hover { color: var(--accent); border-color: var(--accent-dim); transform: translateY(-2px); }

.contact-form {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; gap: 16px;
}
.contact-form h3 { font-size: 1.1rem; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; color: var(--ink-dim); }
.contact-form input, .contact-form select, .contact-form textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: .7em .9em; color: var(--ink); font-family: inherit; font-size: .95rem;
}
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.form-note { font-size: .78rem; opacity: .6; margin: 0; }

@media (max-width: 960px) {
  .contact-inner { grid-template-columns: 1fr; }
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11,12,10,0.75);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 44px; height: 44px; border-radius: 11px;
  object-fit: cover; flex-shrink: 0;
  background: #000;
  border: 1px solid var(--line);
  transition: border-color .2s ease;
}
.brand:hover .brand-mark { border-color: var(--accent-dim, var(--accent)); }
.brand-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: .85rem; line-height: 1.2; letter-spacing: -0.01em; }

.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { text-decoration: none; color: var(--ink-dim); font-size: .92rem; font-weight: 500; transition: color .15s; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }

.side-switch {
  display: flex; align-items: center; gap: 2px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 3px;
  font-size: .78rem; font-weight: 600;
}
.side-switch a {
  padding: .5em 1em; border-radius: 999px; text-decoration: none; color: var(--ink-dim);
  transition: background .15s, color .15s;
}
.side-switch a.active { background: var(--accent); color: #14150d; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 6px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-inner .brand { flex-direction: row; }
.footer-inner p { margin: 0; font-size: .85rem; color: var(--ink-dim); }
.footer-links { display: flex; gap: 20px; font-size: .85rem; }
.footer-links a { text-decoration: none; color: var(--ink-dim); }
.footer-links a:hover { color: var(--accent); }

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,.84,.44,1), transform .7s cubic-bezier(.16,.84,.44,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > * { transition-delay: calc(var(--i, 0) * 90ms); }

.reveal-left { transform: translateX(-36px); }
.reveal-left.in { transform: translateX(0); }
.reveal-right { transform: translateX(36px); }
.reveal-right.in { transform: translateX(0); }
.reveal-scale { transform: scale(.94); }
.reveal-scale.in { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Responsive header */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* Page transition overlay */
.page-transition {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  opacity: 1;
  visibility: visible;
  transform: translateZ(0) scale(1.03);
  pointer-events: none;
  transition: opacity .5s cubic-bezier(.65,0,.35,1), transform .6s cubic-bezier(.65,0,.35,1), visibility 0s linear .5s;
}
.page-transition.leave { opacity: 0; transform: translateZ(0) scale(1); }
.page-transition.enter { opacity: 1; visibility: visible; transform: translateZ(0) scale(1.03); pointer-events: auto; transition: opacity .5s cubic-bezier(.65,0,.35,1), transform .6s cubic-bezier(.65,0,.35,1); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), transparent);
  z-index: 1000; transition: width .1s linear;
}

/* Sticky header state on scroll */
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,0.35); }

/* Nav underline */
.main-nav a { position: relative; }
.main-nav a:not(.side-switch a)::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
  background: var(--accent); transition: right .25s cubic-bezier(.65,0,.35,1);
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.side-switch a::after { display: none; }

/* Image reveal wipe */
.img-reveal { position: relative; overflow: hidden; }
.img-reveal img { transform: scale(1.15); transition: transform 1.1s cubic-bezier(.16,.84,.44,1); }
.img-reveal::after {
  content: ''; position: absolute; inset: 0; background: var(--accent);
  transform-origin: left; transform: scaleX(0); z-index: 2;
}
.img-reveal.in img { transform: scale(1); }
.img-reveal.in::after { animation: wipe-reveal 1s cubic-bezier(.76,0,.24,1) forwards; }
@keyframes wipe-reveal {
  0% { transform: scaleX(0); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  50.001% { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}
.img-hover { overflow: hidden; }
.img-hover img { transition: transform .6s cubic-bezier(.16,.84,.44,1), filter .6s ease; }
.img-hover:hover img { transform: scale(1.06); }

/* Reviews wall (auto-scrolling, shows the full review pool) */
.reviews-wall { padding: 64px 0 56px; overflow: hidden; }
.reviews-wall .wrap { margin-bottom: 8px; }
.reviews-wall h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.reviews-track-outer {
  overflow: hidden; margin-top: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews-track-outer + .reviews-track-outer { margin-top: 16px; }
.reviews-track { display: flex; gap: 16px; width: max-content; padding: 8px 0; animation: reviews-scroll 62s linear infinite; }
.reviews-track.reverse { animation-direction: reverse; animation-duration: 70s; }
.reviews-track-outer:hover .reviews-track { animation-play-state: paused; }
@keyframes reviews-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.review-chip {
  flex: 0 0 auto; width: 280px; padding: 18px 20px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.02);
}
.review-chip .stars { font-size: .78rem; margin-bottom: 8px; display: block; }
.review-chip p {
  font-size: .85rem; color: var(--ink); margin: 0 0 10px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.review-chip cite { font-style: normal; font-weight: 600; font-size: .78rem; color: var(--accent); }
@media (max-width: 620px) { .review-chip { width: 240px; } }

/* Full-bleed section background photo with dark scrim */
.section-bg { position: relative; isolation: isolate; }
.section-bg-img {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
}
.section-bg-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.8);
}
.section-bg-img::after {
  content: ''; position: absolute; inset: 0;
  background: var(--bg-scrim, linear-gradient(180deg, var(--bg) 0%, rgba(11,12,10,0.88) 40%, var(--bg) 100%));
}

@media (prefers-reduced-motion: reduce) {
  .page-transition { display: none; }
  .img-reveal img { transform: none; }
  .img-reveal::after { display: none; }
}
