:root {
  --bg: #f3ede3;
  --bg-deep: #e1d0b5;
  --surface: rgba(255, 248, 239, 0.74);
  --surface-strong: #fff8f0;
  --text: #27170f;
  --muted: #6d5444;
  --line: rgba(84, 51, 27, 0.12);
  --accent: #8a4b27;
  --accent-deep: #5b2814;
  --highlight: #c98c5b;
  --shadow: 0 24px 60px rgba(61, 30, 13, 0.12);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(201, 140, 91, 0.24), transparent 28%),
    radial-gradient(circle at right 20%, rgba(108, 62, 39, 0.12), transparent 24%),
    linear-gradient(180deg, #f7f1e7 0%, #f0e5d4 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 78%);
  pointer-events: none;
  opacity: 0.35;
}

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 20px auto;
}

.topbar,
.stats,
.info-card,
.timeline-item,
.cta,
.footer,
.hero-panel,
.contact-card {
  backdrop-filter: blur(16px);
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 249, 241, 0.72);
  box-shadow: 0 14px 40px rgba(61, 30, 13, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  color: #fff8f0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.8rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a,
.contact-link {
  color: var(--text);
  text-decoration: none;
}

.nav a:hover,
.contact-link:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform 200ms ease, opacity 200ms ease;
}

.section {
  padding: 52px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 34px;
  min-height: calc(100vh - 160px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.96;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
  max-width: 12ch;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.lead {
  max-width: 58ch;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  color: #fff8f0;
  box-shadow: 0 18px 35px rgba(91, 40, 20, 0.24);
}

.button-secondary {
  border: 1px solid rgba(91, 40, 20, 0.18);
  background: rgba(255, 248, 240, 0.66);
  color: var(--text);
}

.hero-card {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-lg);
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 245, 231, 0.8), rgba(210, 177, 147, 0.25)),
    linear-gradient(135deg, #5d3320, #a7683b 42%, #e0b58e 100%);
  box-shadow: var(--shadow);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-card::before {
  width: 240px;
  height: 240px;
  right: -60px;
  top: -30px;
  background: rgba(255, 232, 210, 0.22);
}

.hero-card::after {
  width: 180px;
  height: 180px;
  left: -40px;
  bottom: 24px;
  background: rgba(53, 24, 12, 0.16);
}

.hero-panel {
  position: relative;
  z-index: 1;
  width: min(320px, 100%);
  padding: 22px;
  border: 1px solid rgba(255, 248, 240, 0.28);
  border-radius: 24px;
  background: rgba(44, 20, 10, 0.3);
  color: #fff4e9;
}

.panel-label {
  color: rgba(255, 244, 233, 0.74);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

.panel-list {
  margin: 14px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.panel-list li {
  line-height: 1.5;
}

.hero-swatch-grid {
  position: absolute;
  right: 26px;
  bottom: 26px;
  display: grid;
  grid-template-columns: repeat(2, 120px);
  gap: 14px;
}

.swatch {
  display: block;
  aspect-ratio: 1;
  border-radius: 26px;
  border: 1px solid rgba(255, 248, 240, 0.28);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.16);
}

.swatch-1 {
  background: linear-gradient(140deg, #3f2419, #7a4a32);
}

.swatch-2 {
  background: linear-gradient(140deg, #a4613f, #d8a078);
}

.swatch-3 {
  background: linear-gradient(140deg, #845330, #bc8356);
}

.swatch-4 {
  background: linear-gradient(140deg, #d6b08d, #f1dec9);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 249, 241, 0.72);
}

.stats strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.about-grid h2 {
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  max-width: 18ch;
  line-height: 1.05;
}

.section-heading {
  margin-bottom: 28px;
}

#team .section-heading h2 {
  max-width: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.info-card,
.timeline-item,
.cta,
.footer {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.info-card {
  padding: 28px;
  border-radius: var(--radius-md);
}

.partner-logo {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(84, 51, 27, 0.08);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  border-radius: var(--radius-md);
  height: 100%;
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(201, 140, 91, 0.24), rgba(91, 40, 20, 0.14));
  color: var(--accent-deep);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.cta {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius-lg);
}

.contact-card {
  align-self: center;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 249, 241, 0.92), rgba(234, 221, 208, 0.72));
  border: 1px solid rgba(91, 40, 20, 0.12);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  align-items: stretch;
}

.contact-actions .button {
  flex: 1 1 280px;
  min-height: 60px;
  padding: 0 24px;
  font-size: 0.96rem;
  border-radius: 999px;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 10px 0 36px;
  padding: 18px 22px;
  border-radius: 999px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js .reveal.is-visible,
  .button,
  .menu-toggle span {
    transition: none;
    transform: none;
  }
}

@media (max-width: 960px) {
  .hero,
  .about-grid,
  .cta,
  .stats,
  .card-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

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

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

  .hero-swatch-grid {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    left: 24px;
    right: 24px;
  }

  .footer {
    border-radius: 28px;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .topbar {
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 8px;
  }

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

  .topbar.is-open .menu-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .topbar.is-open .menu-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  h1 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

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

  .hero-swatch-grid {
    bottom: 18px;
    gap: 10px;
  }

  .swatch {
    border-radius: 18px;
  }
}
