/* Root + basic reset ------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  color: #2b2b2b;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.4;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #666;
  outline-offset: 3px;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Navigation ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  font-family: "Cormorant Garamond", "Canela", Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  color: #2b2b2b;
  transition: opacity 0.2s ease;
}

.site-logo:hover {
  opacity: 0.7;
}

.site-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.site-nav a {
  color: #2b2b2b;
  position: relative;
  padding-bottom: 4px;
  transition: opacity 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: #2b2b2b;
  transition: width 0.3s ease;
}

.site-nav a:hover {
  opacity: 0.7;
}

.site-nav a:hover::after {
  width: 100%;
}

.site-nav a.active {
  opacity: 1;
}

.site-nav a.active::after {
  width: 100%;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 1px;
  background: #2b2b2b;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Layout helpers ---------------------------------------------------------- */
.section {
  padding: 96px 1.75rem;
}

.section-inner {
  max-width: 680px;
  margin: 0 auto;
}

/* Typography Scale - Desktop */

/* H1 — Site Title */
.site-title {
  font-family: "Cormorant Garamond", "Canela", Georgia, serif;
  font-weight: 400;
  font-size: 45px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: #2b2b2b;
}

.site-subtitle {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  margin: 0 0 28px;
  color: #2b2b2b;
}

.intro-text {
  margin-top: 32px;
}

.intro-text p {
  margin: 0 0 24px;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

/* H2 — Section Headers */
.section-title {
  font-family: "Cormorant Garamond", "Canela", Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 28px;
  color: #2b2b2b;
}

.subsection-title {
  font-family: "Cormorant Garamond", "Canela", Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.3;
  margin: 32px 0 20px;
  color: #2b2b2b;
}

/* Body Text */
.section-body {
  max-width: 680px;
}

.section-body p {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  margin: 0 0 26px;
  max-width: 680px;
}

.section-body p:last-child {
  margin-bottom: 0;
}

/* Lists */
.practice-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}

.practice-list li {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.4;
  margin: 0 0 12px;
  padding-left: 1.5em;
  position: relative;
}

.practice-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2b2b2b;
}

/* Small Text (Disclaimer / Footer) */
.disclaimer {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.75;
  max-width: 680px;
}

.disclaimer p {
  margin: 0 0 20px;
}

.disclaimer p:last-child {
  margin-bottom: 0;
}

.divider {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.75rem;
  color: #999;
  text-align: left;
  letter-spacing: 0.25em;
}

/* Buttons */
.button {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  font-size: 15px;
  padding: 12px 20px;
  border: 1px solid #666;
  background: transparent;
  color: #2b2b2b;
  display: inline-block;
  cursor: pointer;
  transition: background-color 200ms ease;
  margin-top: 8px;
}

.button:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.button:active {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  max-width: 680px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #2b2b2b;
}

.form-field input,
.form-field textarea {
  border-radius: 0;
  border: 1px solid #999;
  padding: 12px 16px;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  background: #ffffff;
  color: #2b2b2b;
  line-height: 1.4;
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid #666;
  outline-offset: 3px;
}

.field-error {
  min-height: 1.1rem;
  font-size: 13px;
  color: #b04831;
  font-weight: 300;
}

.form-status {
  min-height: 1.2rem;
  font-size: 14px;
  color: #666;
  margin-top: 8px;
  font-weight: 300;
}

.form-status.is-error {
  color: #b04831;
}

.form-status.is-success {
  color: #3f5f3d;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 1.75rem 40px;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.4;
  color: #666;
  opacity: 0.75;
}

/* Hero Section */
.hero-section {
  padding-top: 140px;
  padding-bottom: 120px;
}

/* Animations -------------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-inner {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.disclaimer-section {
  padding-bottom: 80px;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .header-inner {
    padding: 1rem 1.25rem;
    flex-wrap: wrap;
  }

  .site-logo {
    font-size: 18px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .site-nav.is-open {
    max-height: 400px;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .site-nav a {
    display: block;
    padding: 0.5rem 0;
  }

  .section {
    padding: 64px 1.25rem;
  }

  .hero-section {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .site-title {
    font-size: 34px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-body p,
  .intro-text p,
  .site-subtitle {
    font-size: 16px;
  }

  .section-inner {
    max-width: 100%;
  }

  .divider {
    padding: 0 1.25rem;
  }
}

@media (max-width: 560px) {
  .header-inner {
    padding: 1rem;
  }

  .site-logo {
    font-size: 16px;
  }

  .section {
    padding: 64px 1rem;
  }

  .divider {
    padding: 0 1rem;
  }

  .site-title {
    font-size: 32px;
  }

  .section-body p,
  .intro-text p,
  .site-subtitle {
    font-size: 16px;
  }
}
