/* ============================================
   Origin Coaching — Home Page
   Layout: Elevare reference
   Colors: MUJI white/grey palette
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Manrope:wght@400;500;600&display=swap');

/* ---- Reset ---- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:100%; scroll-behavior:smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
}
img, svg { display:block; max-width:100%; }
a { color:inherit; text-decoration:none; }
button { font:inherit; border:none; background:none; cursor:pointer; }
ul, ol { list-style:none; }
h1,h2,h3 { font-family: var(--font-display); font-weight:500; line-height:1.15; }

.skip-link {
  position:absolute; top:-100%; left:1rem; padding:0.5rem 1rem;
  background:#1a1a1a; color:#fff; font-size:0.875rem; z-index:100; border-radius:4px;
}
.skip-link:focus { top:1rem; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(250,250,250,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #eee;
}

.header__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__brand-name {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.header__brand-tag {
  display: block;
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  font-weight: 500;
  margin-top: 1px;
}

.header__nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.header__link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
  transition: color 0.2s;
  position: relative;
}
.header__link:hover { color: #1a1a1a; }
.header__link--active {
  color: #1a1a1a;
}
.header__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1a1a1a;
}

.header__cta {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1a1a1a;
  border: 1.5px solid #1a1a1a;
  padding: 0.5rem 1.5rem;
  transition: all 0.2s;
}
.header__cta:hover {
  background: #1a1a1a;
  color: #fff;
}

.header__menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}
.header__menu span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #1a1a1a;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Individual slide */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.slide--active {
  opacity: 1;
  pointer-events: auto;
}

.slide__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(250,250,250,0.93) 0%,
    rgba(250,250,250,0.78) 35%,
    rgba(250,250,250,0.15) 65%,
    transparent 100%
  );
}

.slide__inner {
  position: relative;
  z-index: 2;
  max-width: 80rem;
  margin: 0 auto;
  padding: 7rem 2.5rem 4rem;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 3rem;
}

/* Japanese calligraphy */
.slide__kanji {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 1.125rem;
  color: #bbb;
  font-family: serif;
  line-height: 1;
}

.slide__seal {
  width: 18px;
  height: 18px;
  border: 1.5px solid #ccc;
  margin-top: 0.5rem;
  opacity: 0.5;
}

/* Slide text content */
.slide__content {
  max-width: 30rem;
}

.slide__label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 1rem;
}

.slide__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.slide__title em {
  font-style: italic;
  color: #666;
}

.slide__line {
  width: 3rem;
  height: 1.5px;
  background: #ccc;
  margin-bottom: 1.5rem;
}

.slide__desc {
  font-size: 0.9375rem;
  color: #888;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.slide__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: #1a1a1a;
  padding: 0.875rem 2rem;
  transition: background 0.2s;
}
.slide__btn:hover { background: #333; }
.slide__btn span {
  font-size: 1rem;
  transition: transform 0.2s;
}
.slide__btn:hover span { transform: translateX(3px); }

/* Slider controls */
.slider__controls {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.slider__dots {
  display: flex;
  gap: 0.5rem;
}

.slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid #aaa;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.slider__dot--active {
  background: #1a1a1a;
  border-color: #1a1a1a;
}
.slider__dot:hover {
  border-color: #1a1a1a;
}

.slider__arrows {
  display: flex;
  gap: 0.5rem;
}

.slider__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  cursor: pointer;
  transition: all 0.2s;
  background: rgba(255,255,255,0.6);
  padding: 0;
}
.slider__arrow:hover {
  border-color: #1a1a1a;
  color: #1a1a1a;
  background: #fff;
}

/* Progress bar */
.slider__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #eee;
  z-index: 10;
}

.slider__progress-bar {
  height: 100%;
  width: 0%;
  background: #1a1a1a;
}

/* ============================================
   PROGRAMS
   ============================================ */
.programs {
  background: #fff;
  border-top: 1px solid #eee;
}

.programs__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 6vw, 5rem) 2.5rem;
}

.programs__label {
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 0.75rem;
}

.programs__title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.programs__icon-divider {
  text-align: center;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
  display: flex;
  justify-content: center;
}

.programs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #eee;
}

.pcard {
  text-align: center;
  padding: 2.5rem 1.75rem 2rem;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pcard:last-child { border-right: none; }
.pcard:hover { background: #fafafa; }

.pcard__icon-wrap {
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 1.5rem;
}

.pcard__icon {
  width: 100%;
  height: 100%;
}

.pcard__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.pcard__line {
  width: 2rem;
  height: 1px;
  background: #ddd;
  margin-bottom: 1rem;
}

.pcard__desc {
  font-size: 0.8125rem;
  color: #999;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.pcard__duration {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaa;
}

/* ============================================
   FOUNDER — photo | quote | credentials
   ============================================ */
.founder {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1.3fr;
  min-height: 28rem;
  border-top: 1px solid #eee;
  background: #fafafa;
}

.founder__photo {
  overflow: hidden;
}

.founder__photo-placeholder {
  width: 100%;
  height: 100%;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder__quote {
  padding: clamp(2.5rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
}

.founder__quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.5;
  color: #ddd;
  margin-bottom: 1rem;
}

.founder__quote-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.5rem;
}

.founder__quote-author {
  font-size: 0.875rem;
  color: #aaa;
}
.founder__quote-author em {
  font-style: italic;
  font-family: var(--font-display);
}

.founder__credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.founder__cred {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  text-align: center;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
  background: #fff;
}
.founder__cred:nth-child(2n) { border-right: none; }
.founder__cred:nth-child(n+3) { border-bottom: none; }

.founder__cred-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
}

.founder__cred-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.founder__cred-sub {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
}

/* ============================================
   CTA — enso + text + kanji
   ============================================ */
.cta {
  display: grid;
  grid-template-columns: 1fr 2fr 0.5fr;
  align-items: center;
  min-height: 22rem;
  background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
  border-top: 1px solid #eee;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2.5rem;
  gap: 2rem;
}

.cta__enso {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta__enso-svg {
  width: clamp(8rem, 14vw, 12rem);
  height: auto;
}

.cta__content {
  padding: clamp(2.5rem, 4vw, 4rem) 0;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.cta__title em {
  font-style: italic;
  color: #888;
}

.cta__desc {
  font-size: 0.875rem;
  color: #999;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 28rem;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
  border: 1.5px solid #1a1a1a;
  padding: 0.75rem 1.75rem;
  transition: all 0.2s;
}
.cta__btn:hover {
  background: #1a1a1a;
  color: #fff;
}

.cta__kanji {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 1rem;
  color: #ccc;
  font-family: serif;
  line-height: 1;
}

.cta__seal {
  width: 16px;
  height: 16px;
  border: 1.5px solid #ddd;
  margin-top: 0.5rem;
  opacity: 0.5;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid #eee;
  background: #fafafa;
}

.footer__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.5rem 2.5rem;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer__social {
  display: flex;
  gap: 1rem;
  color: #999;
}
.footer__social a {
  transition: color 0.2s;
}
.footer__social a:hover { color: #1a1a1a; }

.footer__copy {
  font-size: 0.6875rem;
  color: #aaa;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer__legal {
  display: flex;
  gap: 0.75rem;
  font-size: 0.6875rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.footer__legal a:hover { color: #1a1a1a; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .programs__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pcard:nth-child(2) { border-right: none; }
  .pcard:nth-child(2) ~ .pcard:nth-child(4) { border-right: none; }

  .founder {
    grid-template-columns: 1fr;
  }
  .founder__photo { height: 20rem; }
  .founder__credentials {
    grid-template-columns: repeat(4, 1fr);
  }
  .founder__cred { border-bottom: none; }
  .founder__cred:nth-child(2n) { border-right: 1px solid #eee; }
  .founder__cred:last-child { border-right: none; }

  .cta {
    grid-template-columns: 1fr 2fr;
  }
  .cta__kanji { display: none; }
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__menu { display: flex; }

  .slide__kanji { display: none; }
  .slide__title { font-size: 2.25rem; }
  .slider { height: 80vh; }

  .programs__grid { grid-template-columns: 1fr; }
  .pcard { border-right: none; }

  .founder__credentials {
    grid-template-columns: 1fr 1fr;
  }
  .founder__cred { border-right: 1px solid #eee; }
  .founder__cred:nth-child(2n) { border-right: none; }
  .founder__cred:nth-child(n+3) { border-bottom: none; }
  .founder__cred:nth-child(-n+2) { border-bottom: 1px solid #eee; }

  .cta {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cta__enso { order: -1; }
  .cta__desc { margin-inline: auto; }

  .footer__top {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
