/* ── SHARED STYLES: Cat Chandler-Tressler ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080C14;
  --bg-2: #0D1220;
  --bg-3: #121827;
  --surface: #161D2E;
  --border: rgba(255,255,255,0.08);
  --border-mid: rgba(255,255,255,0.12);
  --text: #F0EFE8;
  --text-mid: #A8A69E;
  --text-faint: #5C5B55;
  --teal: #D4956A;
  --teal-dim: #BF7D55;
  --teal-glow: rgba(212,149,106,0.15);
  --teal-subtle: rgba(212,149,106,0.08);
  --amber: #D4956A;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 1000; opacity: 0.4;
}

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 0.85rem;
  padding: 1.5rem 3rem;
  background: rgba(8,12,20,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
}

.nav-name {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 400;
  text-decoration: none; color: var(--text);
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; justify-content: center; }

.nav-links a {
  font-size: 16px; color: var(--text-mid);
  text-decoration: none; font-weight: 400;
  letter-spacing: 0.03em; transition: color 0.2s;
  position: relative; padding-bottom: 2px;
}

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

.nav-links a.active { color: var(--teal); }

.nav-links a.active::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--teal);
}

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 36px;
  font-family: 'Outfit', sans-serif;
  font-size: 20px; font-weight: 500;
  border-radius: 9px; cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  border: none; letter-spacing: 0.02em;
}

.btn-teal { background: var(--teal); color: #0E0E0C; }
.btn-teal:hover { background: #BF7D55; box-shadow: 0 0 20px var(--teal-glow); }

.btn-ghost { background: transparent; color: var(--text-mid); border: 0.5px solid var(--border-mid); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); color: var(--text); }

.btn-dark { background: var(--text); color: var(--bg); }
.btn-dark:hover { background: #e0dfd8; }

.divider { height: 0.5px; background: var(--border); margin: 0 3rem; }

.section { padding: 5rem 3rem 5rem 6rem; }

.section-header { display: flex; align-items: center; gap: 12px; margin-bottom: 2.5rem; }

.section-line { width: 24px; height: 1px; background: var(--teal); flex-shrink: 0; }

.section-label { font-size: 21px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }

footer {
  padding: 1.5rem 3rem 1.5rem 6rem;
  border-top: 0.5px solid var(--border);
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}

footer p { font-size: 12px; color: var(--text-faint); font-weight: 300; }

.footer-links { display: flex; gap: 1.5rem; list-style: none; }

.footer-links a { font-size: 12px; color: var(--text-faint); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--text-mid); }

.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.7); z-index: 200;
  align-items: center; justify-content: center;
  padding: 1rem; backdrop-filter: blur(4px);
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg-2);
  border: 0.5px solid var(--border-mid);
  border-radius: 16px; padding: 2.5rem;
  width: 100%; max-width: 480px;
  position: relative; animation: modalIn 0.2s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: none; border: none; cursor: pointer;
  color: var(--text-faint); font-size: 18px;
  padding: 4px; transition: color 0.15s; line-height: 1;
}
.modal-close:hover { color: var(--text); }

.modal h3 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 400; margin-bottom: 0.4rem; color: var(--text); }

.modal p.modal-sub { font-size: 16px; color: var(--text-mid); font-weight: 300; margin-bottom: 2rem; line-height: 1.6; }

.form-group { margin-bottom: 1.1rem; }

.form-group label { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 7px; }

.form-group input,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px; font-weight: 300;
  color: var(--text); background: var(--bg-3);
  border: 0.5px solid var(--border-mid);
  border-radius: 8px; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-faint); }

.form-group input:focus,
.form-group textarea:focus { border-color: var(--teal-dim); box-shadow: 0 0 0 3px var(--teal-subtle); }

.form-group textarea { resize: vertical; min-height: 100px; line-height: 1.6; }

.form-submit {
  width: 100%; margin-top: 0.5rem; padding: 13px;
  background: var(--teal); color: var(--bg);
  font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 500;
  border: none; border-radius: 8px; cursor: pointer; transition: all 0.18s;
}
.form-submit:hover { background: #BF7D55; box-shadow: 0 0 20px var(--teal-glow); }

.form-success { display: none; text-align: center; padding: 1.5rem 0; }

.success-icon {
  width: 52px; height: 52px;
  background: var(--teal-subtle);
  border: 1px solid rgba(212,149,106,0.3);
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; color: var(--teal); font-size: 22px;
}

.form-success h4 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 400; color: var(--text); margin-bottom: 0.5rem; }
.form-success p { font-size: 16px; color: var(--text-mid); font-weight: 300; line-height: 1.6; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* page hero banner (inner pages) */
.page-hero {
  padding: 11rem 3rem 2rem 6rem;
  border-bottom: 0.5px solid var(--border);
  opacity: 0; animation: fadeUp 0.6s ease 0.1s forwards;
}

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400; line-height: 1.2;
  letter-spacing: -0.02em; margin-bottom: .5rem;
}

.page-hero h1 em { font-style: italic; color: var(--teal); }

.page-hero p {
  font-size: 18px; line-height: 1.7;
  color: var(--text-mid); font-weight: 300;
  max-width: 680px;
}

.page-hero + .section { padding-top: 2rem; }

@media (max-width: 640px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .divider { margin: 0 1.5rem; }
  .section { padding: 3.5rem 1.5rem; }
  .page-hero { padding: 9rem 1.5rem 3rem; }
footer { padding: 1.25rem 1.5rem; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
}
