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

:root {
  --bg: #FAFAF8;
  --bg-alt: #F3F2EF;
  --text: #1C1C1E;
  --text-secondary: #5F6368;
  --accent: #4285F4;
  --accent-hover: #3367D6;
  --green: #34A853;
  --border: rgba(28, 28, 30, 0.08);
  --header-bg: rgba(250, 250, 248, 0.88);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --max-width: 720px;
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  flex-shrink: 0;
}

.logo:hover {
  color: var(--accent);
}

.site-nav {
  flex: 1;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.site-nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-nav {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

/* ── Sections ── */

.section {
  padding: 140px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-bridge {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-contact {
  padding-bottom: 100px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-tag--green {
  color: var(--green);
}

h1, h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 24px;
}

.section p {
  margin-bottom: 20px;
  color: var(--text);
}

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

.section-intro {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 28px !important;
}

/* ── Hero ── */

.hero {
  padding-top: calc(var(--header-height) + 100px);
  padding-bottom: 120px;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 36px !important;
}

.hero-link {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.hero-link:hover {
  border-color: var(--accent-hover);
}

/* ── Reveal animation ── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ── Contact ── */

.contact-grid {
  margin-top: 48px;
  display: grid;
  gap: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

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

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-actions {
  margin-top: 4px;
}

.form-feedback {
  font-size: 15px;
  min-height: 24px;
  padding: 8px 0;
}

.form-feedback.success {
  color: var(--green);
}

.form-feedback.error {
  color: #c5221f;
}

.contact-info {
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.contact-info-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px !important;
}

.contact-email {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}

.contact-info-note {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ── Footer ── */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 0;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-email {
  display: inline-block;
  font-size: 15px;
  margin-bottom: 24px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ── Responsive ── */

@media (max-width: 768px) {
  body {
    font-size: 17px;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    min-height: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .btn-nav {
    display: none;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .site-nav.open {
    max-height: 300px;
    padding: 20px 24px 28px;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .site-nav a {
    font-size: 16px;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
