/* =============================================
   SOUNDS TO SCRIBE — Stylesheet
   ============================================= */

/* --- Custom Properties --- */
:root {
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --radius: 4px;
  --transition: 0.25s ease;
  --nav-height: 72px;

  --bg:        #f8fdfb;
  --bg-alt:    #edf9f4;
  --dark:      #213244;
  --dark2:     #162330;
  --accent:    #EE5A27;
  --accent2:   #5FD9B9;
  --text:      #213244;
  --text-mid:  #4a5e6e;
  --text-lite: #8a9aaa;
  --border:    #DCDCDC;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
}

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

a { color: inherit; text-decoration: none; }

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: var(--nav-height);
  background: var(--dark2);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow var(--transition);
}

nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.18); }

nav .logo img {
  height: 42px;
  display: block;
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: nowrap;
}

nav ul li a {
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color var(--transition);
}

nav ul li a:hover { color: #fff; }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  transition: opacity var(--transition) !important;
  white-space: nowrap;
}

.nav-cta:hover { opacity: 0.85; }

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  margin-top: var(--nav-height);
  min-height: calc(100vh - var(--nav-height));
  position: relative;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image picture,
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 95% center;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 30%, transparent 55%);
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 7vw 80px 6vw;
  max-width: 45%;
  margin-left: auto;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent2);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 6vw, 84px);
  font-weight: 500;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 28px;
  text-wrap: pretty;
}

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

.hero-text p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-secondary-light {
  background: transparent;
  color: #fff;
  padding: 16px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1.5px solid rgba(255,255,255,0.7);
  transition: all var(--transition);
  display: inline-block;
}

.btn-secondary-light:hover { background: rgba(255,255,255,0.15); border-color: #fff; }


/* --- Buttons --- */
.btn-primary {
  background: var(--dark);
  color: #fff;
  padding: 16px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition);
  display: inline-block;
}

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

.btn-secondary {
  background: transparent;
  color: var(--dark);
  padding: 16px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1.5px solid var(--dark);
  transition: all var(--transition);
  display: inline-block;
}

.btn-secondary:hover { background: var(--dark); color: #fff; }

/* --- Cover image utility --- */
.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Sections --- */
section {
  padding: 100px 7vw;
  scroll-margin-top: var(--nav-height);
}

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

section.no-pad { padding: 0; }

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
  display: block;
}

h2.section-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 24px;
  text-wrap: pretty;
}

.section-lead {
  font-size: 19px;
  color: var(--text-mid);
  max-width: 640px;
  line-height: 1.7;
}

/* --- About / Intro split --- */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-image {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--bg-alt);
}

.intro-content p {
  color: var(--text-mid);
  margin-bottom: 16px;
  max-width: 500px;
}

.intro-content h2 { margin-bottom: 20px; }

.intro-content .btn-primary { margin-top: 16px; }

/* --- Pillars --- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.pillar {
  padding: 40px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.pillar-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  color: var(--dark);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
}

.pillar h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}

.pillar p { font-size: 15px; color: var(--text-mid); line-height: 1.65; }

/* --- Pull Quote --- */
.pull-quote {
  padding: 80px 10vw;
  text-align: center;
  background: var(--dark);
}

.pull-quote blockquote {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 36px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255,255,255,0.93);
  max-width: 820px;
  margin: 0 auto 24px;
}

.pull-quote cite {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent2);
  font-style: normal;
}

/* --- Sessions / What to Expect --- */
.expect-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.expect-item:nth-child(even) { direction: rtl; }
.expect-item:nth-child(even) > * { direction: ltr; }

.expect-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 7vw;
  background: var(--bg);
}

.expect-item:nth-child(even) .expect-content { background: var(--bg-alt); }

.expect-content h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 16px;
}

.expect-content p { color: var(--text-mid); max-width: 460px; }
.expect-content p + p { margin-top: 12px; }

.expect-img {
  overflow: hidden;
  background: var(--bg-alt);
}

.expect-item:nth-child(even) .expect-img { filter: brightness(0.97); }

/* --- Inline Quote --- */
.inline-quote {
  border-left: 3px solid var(--dark);
  padding: 20px 28px;
  margin-top: 28px;
  background: var(--bg-alt);
  border-radius: 0 4px 4px 0;
}

.inline-quote p {
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  color: var(--text);
  margin-bottom: 8px;
  max-width: none;
}

.inline-quote cite {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-lite);
  font-style: normal;
}

/* --- Testimonials --- */
.testimonials-carousel {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 24px;
  margin-top: 52px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testimonials-carousel::-webkit-scrollbar { display: none; }

.tcard {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 48px 52px 44px;
  box-sizing: border-box;
}

.tcard-quote {
  font-family: var(--serif);
  font-size: 72px;
  line-height: 0.6;
  color: var(--dark);
  opacity: 0.2;
  margin-bottom: 20px;
  font-weight: 600;
}

.tcard p {
  font-size: 18px;
  color: var(--text-mid);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
  max-width: 720px;
}

.tcard cite {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-lite);
  font-style: normal;
  display: block;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.carousel-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

.carousel-btn:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background var(--transition);
  cursor: pointer;
  border: none;
  padding: 0;
}

.carousel-dot.active { background: var(--dark); }

/* --- FAQ --- */
.faq-list {
  max-width: 760px;
  margin-top: 48px;
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

.faq-question:hover { color: var(--dark); }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--dark);
  position: relative;
  color: var(--dark);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), background var(--transition);
}

.faq-icon::before { width: 12px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 1.5px; height: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--dark);
  color: #fff;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-answer > div {
  overflow: hidden;
  min-height: 0;
}

.faq-answer p {
  color: var(--text-mid);
  line-height: 1.7;
  padding-bottom: 24px;
}

.faq-item.open .faq-answer { grid-template-rows: 1fr; }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 52px;
}

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

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text);
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color var(--transition), transform var(--transition);
  background: var(--bg);
}

.contact-link:hover { border-color: var(--dark); transform: translateY(-2px); }

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: #fff;
}

.contact-link .label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-lite);
}

.contact-link .value {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
}

.location-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
}

.location-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text);
}

.location-card p { color: var(--text-mid); font-size: 15px; line-height: 1.65; }

.location-sign {
  width: 100%;
  border-radius: 4px;
  margin-top: 20px;
  display: block;
}

.map-embed {
  margin-top: 20px;
  height: 200px;
  border-radius: 4px;
  border: 0;
  width: 100%;
  display: block;
}

/* --- Footer --- */
footer {
  background: var(--dark2);
  color: rgba(255,255,255,0.6);
  padding: 48px 7vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

footer img {
  height: 32px;
  opacity: 0.7;
}

footer p { font-size: 13px; }

/* --- Responsive --- */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  nav ul {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    flex-direction: column;
    background: var(--dark2);
    padding: 16px 5vw 24px;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  nav ul.open { display: flex; }

  nav ul li a {
    display: block;
    padding: 12px 0;
    font-size: 14px;
  }

  .nav-cta {
    display: inline-block;
    margin-top: 8px;
  }

  .hero { min-height: 85vw; }

  .hero-image picture,
  .hero-image img { object-position: 30% center; }

  .hero-text {
    padding: 56px 7vw;
    max-width: 100%;
  }

  .intro-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-image { aspect-ratio: 4/5; }

  .pillars {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .expect-item { grid-template-columns: 1fr; }
  .expect-item:nth-child(even) { direction: ltr; }
  .expect-img { height: 52vw; min-height: 240px; }
  .expect-content { padding: 48px 7vw; }

  .tcard { flex: 0 0 100%; padding: 36px 28px 32px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pull-quote { padding: 60px 7vw; }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; }
}
