:root {
  --bg: #f7f4ef;
  --ink: #1c1b19;
  --muted: #5b564c;
  --accent: #c25b39;
  --accent-2: #6b8f71;
  --panel: #fffaf2;
  --stroke: #e3dbcf;
  --shadow: 0 20px 60px rgba(28, 27, 25, 0.12);
}

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

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, #f2e3d3 0%, transparent 45%),
    radial-gradient(circle at 85% 5%, #f5d7c6 0%, transparent 42%),
    linear-gradient(180deg, #fbf8f3 0%, #f7f4ef 60%, #f1ece4 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(247, 244, 239, 0.88);
  border-bottom: 1px solid var(--stroke);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Fraunces", "Georgia", serif;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.brand-logo {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--stroke);
  background: var(--panel);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-toggle-icon {
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  display: inline-block;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-links a {
  padding: 4px 8px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  background: var(--panel);
  color: var(--ink);
}

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: var(--panel);
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
}

.hero h1 {
  margin: 0 0 16px;
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(2.2rem, 3vw, 3rem);
}

.hero p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f1e7dc;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 12px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.button {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button.primary {
  background: var(--ink);
  color: #fffaf2;
  border-color: var(--ink);
}

.button.ghost {
  background: transparent;
  color: var(--ink);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(28, 27, 25, 0.12);
}

.section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section h2 {
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  margin: 0;
}

.section p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: #fffefb;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
}

.card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 12px;
  color: var(--accent-2);
  font-weight: 700;
}

.image-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.quote {
  font-family: "Fraunces", "Georgia", serif;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
  background: #f6efe7;
  border-left: 4px solid var(--accent);
  padding: 18px 20px;
  border-radius: 16px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: center;
}

.media-card {
  background: #fffefb;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  padding: 16px;
  box-shadow: var(--shadow);
}

.carousel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  background: #fffefb;
}

.carousel-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
}

.carousel-slide {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--stroke);
}

.carousel-slide.is-active {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 30px rgba(28, 27, 25, 0.16);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 16, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 50;
  flex-direction: column;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(100%, 1200px);
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.lightbox video {
  max-width: min(100%, 1200px);
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  background: #0f1115;
}

.lightbox-caption {
  margin-bottom: 16px;
  max-width: 760px;
  color: #fffaf2;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
}

.lightbox-trigger {
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: #fffefb;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--stroke);
  text-align: left;
}

th {
  background: #f6efe7;
  font-weight: 700;
}

.site-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up 0.7s ease forwards;
  animation-delay: var(--d, 0s);
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 6px;
  }

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

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
}
