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

:root {
  --primary: #0a0a0a;
  --accent:  #8080ff;
  --border:  0.5px solid rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: var(--primary);
  overflow-x: hidden;
}

.grid-bg {
  background-color: #fff;
  background-image:
    linear-gradient(rgba(0,0,0,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.028) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── NAV ──────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background-color: rgba(255,255,255,0.95);
  background-image:
    linear-gradient(rgba(0,0,0,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.028) 1px, transparent 1px);
  background-size: 40px 40px;
  border-bottom: var(--border);
  backdrop-filter: blur(12px);
}

.nav-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 0.38; }

.nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover { opacity: 0.68; }

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  padding: 64px 60px;
  border-top: var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
}

.footer-nav { display: flex; gap: 32px; list-style: none; }

.footer-nav a {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--primary); }

.footer-socials { display: flex; gap: 10px; }

.s-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}
.s-icon:hover { opacity: 0.55; }
.s-icon svg { width: 15px; height: 15px; }

.footer-legal { font-size: 12px; color: #bbb; display: flex; gap: 14px; align-items: center; }
.footer-legal a { color: #bbb; text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--primary); }
.footer-legal span { opacity: 0.35; }

/* ── COMMON COMPONENTS ────────────────────────────────────── */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #999;
  font-weight: 500;
  margin-bottom: 14px;
}

.section-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 48px;
}

.btn-black {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 11px 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-black:hover { opacity: 0.7; }

.btn-white {
  display: inline-block;
  background: #fff;
  color: #0a0a0a;
  padding: 11px 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
  width: fit-content;
}
.btn-white:hover { opacity: 0.8; }

/* ── PAGE HERO ────────────────────────────────────────────── */
.page-hero {
  padding: 120px 60px 100px;
  border-bottom: var(--border);
  padding-top: 160px;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 68px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.04;
  max-width: 700px;
}

.page-hero p {
  font-size: 18px;
  color: #444;
  max-width: 480px;
  margin-top: 24px;
  line-height: 1.65;
}

/* ── PAGE SECTION ─────────────────────────────────────────── */
.page-section {
  padding: 100px 60px;
  border-top: var(--border);
}

/* ── PROSE ────────────────────────────────────────────────── */
.prose {
  max-width: 680px;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.prose p + p { margin-top: 20px; }

.prose h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--primary);
}

/* ── FORM ─────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: #555;
}

.form-input,
.form-textarea {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  outline: none;
  border-radius: 0;
  color: var(--primary);
}

.form-input:focus,
.form-textarea:focus {
  border-color: #0a0a0a;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ── VALUES GRID ──────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(0,0,0,0.08);
  margin: 0;
}

.value-item {
  padding: 1.2rem 1.3rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.value-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.value-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.value-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #666;
  margin: 0;
}

/* ── HAMBURGER (always defined, hidden on desktop) ──────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--primary);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 66px;
  left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: var(--border);
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 0;
  z-index: 999;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu ul { list-style: none; display: flex; flex-direction: column; }
.nav-mobile-menu ul li a {
  display: block;
  font-size: 16px;
  font-weight: 400;
  color: var(--primary);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: var(--border);
  transition: opacity 0.2s;
}
.nav-mobile-menu ul li a:hover { opacity: 0.5; }
.nav-mobile-menu .nav-mobile-cta {
  display: block;
  margin-top: 20px;
  text-align: center;
  background: var(--primary);
  color: #fff;
  padding: 13px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-mobile-cta:hover { opacity: 0.7; }

/* ── MOBILE MEDIA QUERY ─────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  footer { padding: 48px 24px; gap: 20px; }
  .footer-nav { flex-wrap: wrap; justify-content: center; gap: 12px 20px; }
  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }
  .footer-legal span { display: none; }

  .page-hero { padding: 110px 24px 56px; }
  .page-hero h1 { font-size: 38px; letter-spacing: -1px; line-height: 1.1; }
  .page-hero p { font-size: 15px; margin-top: 16px; }

  .page-section { padding: 56px 24px; }

  .values-grid { grid-template-columns: 1fr; }
  .value-item { padding: 1.6rem 1.4rem; }
}
