/* =========================================================
   Negative Split Running: main stylesheet
   Editorial guest-guide aesthetic, burnt orange accent
   ========================================================= */

:root {
  --cream: #f2eadf;
  --cream-deep: #e8dfd1;
  --paper: #fbf6ee;
  --ink: #2b2622;
  --ink-soft: #5a524a;
  --accent: #c2410c;        /* burnt orange */
  --accent-soft: #ea7c47;
  --green: #4a6b4f;
  --green-soft: #5a7a5f;
  --rule: #d8cdb9;
  --shadow: 0 1px 2px rgba(43,38,34,.06), 0 8px 24px rgba(43,38,34,.06);
  --radius: 14px;
}

/* ----- Reset & base ----- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Lora', serif;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 .8rem;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.1;
  color: var(--accent);
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  line-height: 1.2;
  margin-top: .4rem;
}

section > h2::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: var(--accent);
  margin-top: .7rem;
  margin-bottom: 0.2rem;
  border-radius: 2px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0;
}

p { margin: 0 0 1rem; }

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
a:hover { border-bottom-color: var(--accent); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: .6rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin-right: .7rem;
  border-radius: 1px;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}

/* ----- Layout ----- */
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 4rem 0 2rem;
  scroll-margin-top: 100px;
}

section:first-of-type { padding-top: 2rem; }

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 234, 223, .82);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  padding: .85rem 1.25rem .35rem;
}

.brand {
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--accent);
  border: 0;
}

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

.lang-switch {
  display: flex;
  gap: .25rem;
  font-size: .8rem;
}

.lang-switch a {
  color: var(--ink-soft);
  padding: .15rem .4rem;
  border: 0;
}

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

.lang-switch a.active {
  color: var(--accent);
  font-weight: 600;
}

.section-nav {
  max-width: 760px;
  margin: 0 auto;
  padding: .25rem 1.25rem .65rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.section-nav::-webkit-scrollbar { display: none; }

.section-nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.section-nav a {
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 500;
  border: 0;
  padding-bottom: 2px;
}

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

/* ----- Hero ----- */
.hero {
  padding-top: 3rem;
}

.meta-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .6rem;
  margin: 1.5rem 0;
}

.meta-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: .7rem .85rem;
}

.meta-card .label {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: .15rem;
}

.meta-card .value {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.4rem 0 1.2rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--paper);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  padding: .7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: transform .12s ease, background .15s, box-shadow .15s, border-color .15s;
  box-shadow: 0 2px 6px rgba(194, 65, 12, 0.22);
}

.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  border-bottom-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(194, 65, 12, 0.32);
}

.btn.outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: none;
}

.btn.outline:hover {
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
  border-bottom-color: var(--accent);
}

.note {
  background: var(--paper);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  padding: .9rem 1.1rem;
  font-size: .95rem;
  color: var(--ink-soft);
  margin: 1.4rem 0;
}

.note strong { color: var(--ink); }

.illus {
  margin: 2rem 0 .5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.illus svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ----- About layout (text + sidebar illustration) ----- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 2rem;
  align-items: start;
}

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

.about-illus {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky;
  top: 120px;
}

.about-illus svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 720px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .about-illus {
    position: static;
    max-width: 280px;
    margin: 0 auto;
  }
}

/* ----- Cards ----- */
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.2rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: .5rem;
  color: var(--accent);
}

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

.card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.card-row .card { margin-bottom: 0; }

@media (max-width: 600px) {
  .card-row { grid-template-columns: 1fr; }
}

/* ----- Details / accordion ----- */
details {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: .2rem 1.3rem;
  margin-bottom: .8rem;
  box-shadow: var(--shadow);
}

details summary {
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  transition: color .15s;
}

details summary:hover { color: var(--accent); }

details summary::-webkit-details-marker { display: none; }

details summary::after {
  content: '+';
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform .2s;
  margin-left: 1rem;
}

details[open] summary::after {
  content: '×';
  transform: rotate(0deg);
}

details > *:not(summary) {
  padding-bottom: 1.1rem;
}

details p:last-child { margin-bottom: 0; }

/* ----- Place listings (for coaching offerings) ----- */
.place {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  padding: 1.2rem 0;
  align-items: start;
}

.place + .place { border-top: 1px solid var(--rule); }

.place-body h4 {
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 0 .35rem;
  color: var(--accent);
}

.place-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .96rem;
}

.place-body p + p { margin-top: .5rem; }

.place-actions {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  align-items: flex-end;
}

.place-actions .btn {
  font-size: .82rem;
  padding: .45rem .9rem;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .place {
    grid-template-columns: 1fr;
  }
  .place-actions {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.group-label {
  font-family: 'Lora', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 1.2rem 0 .2rem;
}

.group-label:first-child { margin-top: 0; }

/* ----- Field (label + value with copy button) ----- */
.field {
  background: var(--cream-deep);
  border-radius: 8px;
  padding: .7rem .9rem;
  margin: .6rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.field .label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-soft);
  font-weight: 600;
}

.field .value {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  color: var(--ink);
  font-weight: 500;
}

.copy-btn {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: .8rem;
  padding: .3rem .65rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s;
}

.copy-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.copy-btn.copied {
  color: var(--green);
  border-color: var(--green);
}

/* ----- Testimonial ----- */
.quote {
  background: var(--paper);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
  font-family: 'Lora', serif;
}

.quote p {
  font-style: italic;
  color: var(--ink);
  font-size: 1.05rem;
  margin: 0 0 .6rem;
  line-height: 1.5;
}

.quote cite {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-style: normal;
  font-size: .85rem;
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: .04em;
}

/* ----- Testimonials carousel ----- */
.testimonials-carousel { position: relative; }

.testimonials-track .quote {
  display: none;
  margin-bottom: 0;
}

.testimonials-track .quote.active { display: block; }

.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.1rem;
}

.carousel-controls[hidden] { display: none; }

.carousel-btn {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: .82rem;
  font-weight: 500;
  padding: .4rem .9rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s;
}

.carousel-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.carousel-dots {
  display: flex;
  gap: .45rem;
  align-items: center;
}

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

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.carousel-dot:hover { background: var(--ink-soft); }

@media (max-width: 480px) {
  .carousel-btn { font-size: .78rem; padding: .35rem .75rem; }
}

/* ----- Section divider illustration ----- */
.divider {
  margin: 2.5rem 0 1rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem 1.25rem 2rem;
  margin-top: 4rem;
  text-align: center;
  font-size: .9rem;
}

.site-footer p { margin: 0 0 .8rem; }

.site-footer a {
  color: var(--accent-soft);
  border-bottom-color: transparent;
}

.site-footer a:hover { border-bottom-color: var(--accent-soft); }

.back-to-top {
  display: inline-block;
  margin-top: 1rem;
  font-size: .85rem;
}

/* ----- Utility ----- */
.text-center { text-align: center; }
.small { font-size: .9rem; color: var(--ink-soft); }
