:root {
  --bg: #f5f1eb;
  --bg-alt: #efe8df;
  --surface: rgba(255, 255, 255, 0.65);
  --surface-strong: rgba(255, 255, 255, 0.82);
  --border: rgba(72, 58, 45, 0.12);
  --text: #201a16;
  --muted: #6e6259;
  --accent: #8f7a66;
  --accent-deep: #5d4e42;
  --shadow: 0 20px 60px rgba(53, 40, 31, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.75), transparent 30%),
    linear-gradient(180deg, #f7f3ee 0%, #efe7de 100%);
  min-height: 100vh;
}

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

.site-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.ambient-one {
  width: 420px;
  height: 420px;
  background: rgba(201, 184, 165, 0.55);
  top: -120px;
  right: -80px;
}

.ambient-two {
  width: 360px;
  height: 360px;
  background: rgba(214, 203, 192, 0.55);
  bottom: 40px;
  left: -80px;
}

.topbar,
main,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: inline-flex;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  color: var(--text);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 24px 80px;
}

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 40px 0 20px;
}

.eyebrow,
.section-label,
.card-kicker,
.meta-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--muted);
}

.hero h1,
.section-heading h2,
.intro-grid h2,
.cta-panel h2,
.login-card h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(4rem, 10vw, 7.2rem);
}

.hero h1 span {
  color: var(--accent);
  font-style: italic;
}

.hero-text {
  max-width: 620px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 34px 0 30px;
}

.meta-block {
  min-width: 220px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.meta-block strong {
  display: block;
  margin-top: 8px;
  font-weight: 500;
  font-size: 1rem;
}

.hero-actions,
.login-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff;
  box-shadow: 0 16px 30px rgba(93, 78, 66, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.62);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(14px);
}

.btn-full {
  width: 100%;
}

.hero-card,
.panel,
.detail-card,
.cta-panel,
.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  min-height: 520px;
  display: flex;
  align-items: stretch;
}

.hero-card-inner {
  width: 100%;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.18)),
    linear-gradient(145deg, rgba(143,122,102,0.28), rgba(255,255,255,0.08));
  border-radius: inherit;
}

.hero-card h2 {
  margin: 12px 0;
  font-size: 3.4rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.hero-card p:last-child {
  max-width: 320px;
  color: rgba(32, 26, 22, 0.82);
  line-height: 1.7;
}

.section {
  margin-top: 36px;
}

.intro-grid,
.details-grid {
  display: grid;
  gap: 24px;
}

.intro-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.details-grid {
  grid-template-columns: repeat(3, 1fr);
}

.panel,
.detail-card,
.cta-panel {
  padding: 30px;
}

.panel h2 {
  margin: 10px 0 18px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.panel p,
.detail-card p,
.cta-panel p,
.timeline-content p,
.login-copy,
.login-note p {
  color: var(--muted);
  line-height: 1.8;
}

.panel-soft {
  background: var(--surface-strong);
}

.feature-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 2;
}

.detail-card h3,
.timeline-content h3 {
  margin: 10px 0 10px;
  font-size: 1.25rem;
  font-weight: 600;
}

.section-heading h2,
.cta-panel h2 {
  margin: 10px 0 0;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.timeline {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.time {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-deep);
  padding-top: 3px;
}

.cta-panel {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 34px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-shell-login .topbar {
  padding-bottom: 18px;
}

.login-main {
  min-height: calc(100vh - 110px);
  display: grid;
  place-items: center;
  padding: 20px 24px 60px;
}

.login-card {
  width: min(100%, 620px);
  padding: 42px;
  text-align: center;
}

.login-card h1 {
  margin: 14px 0 16px;
  font-size: clamp(2.8rem, 8vw, 4.8rem);
}

.login-copy {
  margin: 0 auto 28px;
  max-width: 500px;
}

.login-note {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s ease forwards;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.24s;
}

.delay-3 {
  animation-delay: 0.36s;
}

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

@media (max-width: 980px) {
  .hero,
  .intro-grid,
  .details-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .hero-card {
    min-height: 360px;
  }

  .cta-panel {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .topbar {
    gap: 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .topnav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .panel,
  .detail-card,
  .cta-panel,
  .login-card,
  .hero-card-inner {
    padding: 24px;
  }

  .footer {
    flex-direction: column;
    gap: 10px;
  }
}