/*
  shared.css — Layers Psychotherapy

  This file contains all the styles for the website.
  Every page (index.html, about.html, services.html, contact.html)
  links to this one file, so any style change made here applies
  to the entire site automatically.
*/

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

:root {
  --slate-900: #0f1923;
  --slate-700: #2c4257;
  --slate-500: #4a6278;
  --slate-300: #8fa4b5;
  --slate-100: #d6e0e8;
  --slate-50:  #f0f4f7;
  --blue:      #5b7e9c;
  --sage:      #7a9b85;
  --sand:      #c9a97a;
  --white:     #ffffff;
  --mist:      #f5f8fa;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;
  --max-w: 1080px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-100);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--slate-900);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-logo em { font-style: italic; color: var(--blue); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-500);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.nav-active { color: var(--slate-900); }

.nav-cta {
  background: var(--slate-900) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px !important;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--slate-700) !important; }
.nav-cta-active { background: var(--slate-700) !important; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--slate-900);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: var(--slate-700); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  color: var(--slate-700);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid var(--slate-300);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover { border-color: var(--slate-700); color: var(--slate-900); }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── HERO ── */
.hero {
  padding-top: 64px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--mist) 0%, #e8eef3 100%);
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-headline em { font-style: italic; color: var(--blue); }

.hero-body {
  font-size: 17px;
  color: var(--slate-500);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 460px;
}

.hero-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(44,66,87,0.1), 0 1px 3px rgba(44,66,87,0.06);
}

.hero-card-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-300);
  margin-bottom: 20px;
}

.hero-card-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--slate-50);
}

.hero-card-item:last-child { border-bottom: none; }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.dot.blue { background: var(--blue); }
.dot.sage { background: var(--sage); }
.dot.sand { background: var(--sand); }

.hero-card-text { font-size: 15px; color: var(--slate-700); }
.hero-card-sub  { font-size: 13px; color: var(--slate-300); margin-top: 2px; }

/* ── PAGE LAYOUT ── */
.page-main {
  padding-top: 64px;
}

.page-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px 100px;
}

.page-header {
  margin-bottom: 64px;
  max-width: 640px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  color: var(--slate-900);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-title em { font-style: italic; color: var(--blue); }

.page-subtitle {
  font-size: 17px;
  color: var(--slate-500);
  line-height: 1.75;
  max-width: 520px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  color: var(--slate-900);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 40px;
}

.body-lg {
  font-size: 17px;
  color: var(--slate-500);
  line-height: 1.75;
}

.body-lg a { color: var(--blue); text-decoration: none; }
.body-lg a:hover { text-decoration: underline; }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}

.about-img-wrap { position: relative; }

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--slate-100) 0%, #c8d6e0 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-300);
  font-size: 14px;
  letter-spacing: 0.05em;
}

.about-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--mist);
  border-radius: 8px;
  border: 1px solid var(--slate-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

.about-img-accent-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--slate-900);
  line-height: 1;
}

.about-img-accent-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--slate-300);
  letter-spacing: 0.05em;
  margin-top: 6px;
}

.pull-quote {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--slate-500);
  border-left: 2px solid var(--blue);
  padding-left: 20px;
  margin: 28px 0;
  line-height: 1.5;
}

.credential-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.credential-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--slate-500);
}

.credential-list li::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--blue);
  flex-shrink: 0;
}

.about-approach {
  border-top: 1px solid var(--slate-100);
  padding-top: 64px;
}

/* ── APPROACH ── */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.approach-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  color: var(--blue);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 12px;
}

.approach-item-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.approach-item-body {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--mist);
  border-radius: 8px;
  padding: 36px 32px;
  border: 1px solid var(--slate-100);
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(44,66,87,0.1);
  transform: translateY(-2px);
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue);
}

.service-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--slate-900);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-body {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.7;
}

.service-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}

.tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--blue);
  background: rgba(91,126,156,0.1);
  padding: 4px 10px;
  border-radius: 100px;
}

.services-footer {
  border-top: 1px solid var(--slate-100);
  padding-top: 40px;
}

/* ── HOW WE WORK (on services page) ── */
.how-we-work {
  background: var(--slate-900);
  border-radius: 12px;
  padding: 60px;
  margin: 60px 0;
}

.how-we-work .section-title { color: var(--white); margin-bottom: 8px; }
.how-we-work .body-lg       { color: var(--slate-300); margin-bottom: 40px; }
.how-we-work .approach-num  { color: var(--blue); opacity: 0.5; }
.how-we-work .approach-item-title { color: var(--white); }
.how-we-work .approach-item-body  { color: var(--slate-300); }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-300);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 16px;
  color: var(--slate-700);
}

.contact-value a { color: var(--blue); text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }

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

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

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

label {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-700);
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--slate-900);
  background: var(--mist);
  border: 1px solid var(--slate-100);
  border-radius: 4px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--blue);
  background: var(--white);
}

input::placeholder, textarea::placeholder { color: var(--slate-300); }
textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 12px;
  color: var(--slate-300);
  line-height: 1.5;
}

.btn-submit {
  align-self: flex-start;
  background: var(--slate-900);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-submit:hover { background: var(--slate-700); transform: translateY(-1px); }

/* ── FOOTER ── */
footer {
  background: var(--mist);
  border-top: 1px solid var(--slate-100);
  padding: 40px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--slate-700);
}

.footer-logo em { font-style: italic; color: var(--blue); }

.footer-note { font-size: 13px; color: var(--slate-300); }

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  .hero-inner, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-card { display: none; }
  .services-grid, .approach-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .page-inner { padding: 60px 24px 80px; }
  .how-we-work { padding: 40px 28px; }
}
