/* Lotus Engagement LLC */

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

:root {
  --black:  #0e0e0e;
  --mid:    #555;
  --light:  #aaa;
  --rule:   #ddd;
  --bg:     #fafafa;

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

  --page-x:   80px;
  --max-w:    1280px;
  --header-h: 88px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--black);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Header ─────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  padding: 0 var(--page-x);
  display: flex;
  align-items: center;
  background: rgba(250,250,250,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.header.past-hero { border-color: var(--rule); }

.header__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Logo ────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__img {
  height: 40px;
  width: auto;
  display: block;
  opacity: 0.85;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}

.logo__word {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
}

/* ── Desktop nav ─────────────────────────── */
.header__nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

.header__nav-link {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}

.header__nav-link:hover { color: var(--black); }

/* ── Hamburger — hidden on desktop ──────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile nav overlay ──────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--mid); }

/* ── Hero ────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--header-h) var(--page-x) 64px;
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: flex-end;
}

.hero__eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 32px;
}

.hero__headline {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 7vw, 7rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
}

.hero__headline .reveal-line--italic { font-style: italic; }

.hero__sub {
  font-size: 0.9375rem;
  color: var(--mid);
  max-width: 400px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  margin-bottom: 40px;
}

.hero__aside {
  text-align: right;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
  line-height: 2.4;
  padding-bottom: 8px;
  white-space: nowrap;
}

.hero__aside strong {
  color: var(--black);
  font-weight: 500;
}

.hero__rule {
  max-width: var(--max-w);
  margin: 48px auto 0;
  height: 1px;
  background: var(--rule);
  transform-origin: left;
}

/* ── Button ──────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  background: var(--black);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--bg);
  color: var(--black);
}

/* ── Section Layout ──────────────────────── */
.section {
  padding: 96px var(--page-x);
}

.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
}

.label {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light);
  padding-top: 6px;
}

.section__body p {
  font-size: 0.9375rem;
  color: var(--mid);
  line-height: 1.85;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.section__body p:last-child { margin-bottom: 0; }

p.lede {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 300;
  color: var(--black);
  line-height: 1.35;
  letter-spacing: 0.005em;
  margin-bottom: 24px;
}

/* ── Rules ───────────────────────────────── */
.full-rule {
  width: calc(100% - var(--page-x) * 2);
  max-width: var(--max-w);
  margin: 0 auto;
  height: 1px;
  background: var(--rule);
}

/* ── Services ────────────────────────────── */
.services-list { display: flex; flex-direction: column; }

.service-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  transition: padding-left 0.25s ease;
}

.service-item:first-child { border-top: 1px solid var(--rule); }
.service-item:hover { padding-left: 10px; }

.service-num {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--light);
  flex-shrink: 0;
  width: 28px;
}

.service-name {
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
  color: var(--black);
  transition: color 0.2s;
}

.service-item:hover .service-name { color: var(--mid); }

/* ── Contact ─────────────────────────────── */
.contact-detail {
  margin-top: 32px;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  display: inline-block;
  padding-bottom: 3px;
}

/* ── Footer ──────────────────────────────── */
.footer {
  padding: 32px var(--page-x);
  border-top: 1px solid var(--rule);
  margin-top: 48px;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
}

/* ── Animations ──────────────────────────── */
.reveal-line {
  display: block;
  overflow: hidden;
}

.hero__eyebrow.reveal-line {
  transform: translateY(20px);
  opacity: 0;
}

.hero__headline .reveal-line {
  transform: translateY(110%);
  opacity: 0;
}

.reveal-fade {
  opacity: 0;
  transform: translateY(16px);
}

.reveal-rule { transform: scaleX(0); }

.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal-line.is-visible {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.hero__headline .reveal-line.is-visible {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.reveal-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-rule.is-visible {
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Responsive: tablet ≤900px ───────────── */
@media (max-width: 900px) {
  :root {
    --page-x:   40px;
    --header-h: 72px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero__aside { display: none; }

  .section__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section__label { padding-top: 0; }

  .section { padding: 72px var(--page-x); }
}

/* ── Responsive: mobile ≤640px ───────────── */
@media (max-width: 640px) {
  :root {
    --page-x:   24px;
    --header-h: 64px;
  }

  /* Swap nav for hamburger */
  .header__nav { display: none; }
  .hamburger   { display: flex; }

  /* Tighten logo */
  .logo__img  { height: 32px; }
  .logo__word { font-size: 0.75rem; letter-spacing: 0.15em; }

  /* Hero: push content lower, tighten spacing */
  .hero { padding-bottom: 40px; }
  .hero__eyebrow { margin-bottom: 20px; }
  .hero__headline { margin-bottom: 24px; }
  .hero__sub { margin-bottom: 28px; max-width: 100%; }

  /* Sections */
  .section { padding: 56px var(--page-x); }

  /* Footer: stack vertically */
  .footer__inner { flex-direction: column; gap: 6px; }
}
