/* ==========================================================================
   Sample 01 — 온유 필라테스 (감성·미니멀)
   ========================================================================== */

/* ---------- hero ---------- */

.b-hero {
  padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 84px);
  position: relative;
}

.b-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 4.4vw, 64px);
  align-items: center;
}

.b-hero-copy {
  padding-block: 8px;
}

.b-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(33px, 4.7vw, 58px);
  line-height: 1.34;
  letter-spacing: -0.035em;
  margin-top: 24px;
}

.b-hero h1 em {
  font-style: normal;
  color: var(--clay);
}

.b-hero-desc {
  margin-top: 22px;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink-70);
}

.b-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.b-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 30px;
  font-size: 12px;
  color: var(--ink-55);
}

.b-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.b-hero-meta span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--clay);
}

.b-hero-visual {
  position: relative;
  padding-left: 30px;
}

.b-hero-visual .frame {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 5;
  background: var(--sand);
}

.b-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}

.b-hero-vertical {
  position: absolute;
  left: 0;
  top: 0;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--ink-35);
  text-transform: uppercase;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.b-hero-stamp {
  position: absolute;
  right: -14px;
  bottom: 26px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--serif);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ink-70);
  box-shadow: 0 14px 30px -20px rgba(0, 0, 0, 0.4);
}

/* ---------- intro quote ---------- */

.b-intro {
  padding: clamp(56px, 7vw, 96px) 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.b-intro-inner {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.b-intro blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.75;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.b-intro blockquote span {
  display: block;
  margin-top: 14px;
  font-size: 0.72em;
  color: var(--ink-55);
}

.b-intro .b-intro-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-35);
  margin-bottom: 22px;
}

.b-intro .b-intro-label::before,
.b-intro .b-intro-label::after {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

/* ---------- programs ---------- */

.b-programs {
  padding: clamp(64px, 8vw, 112px) 0;
}

.b-programs-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.b-programs-head .s-title {
  margin-top: 16px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.program-card {
  display: flex;
  flex-direction: column;
}

.program-media {
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}

.program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.program-card:hover .program-media img {
  transform: scale(1.04);
}

.program-card h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 22px;
}

.program-card h3 small {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--ink-35);
  margin-top: 7px;
  text-transform: uppercase;
}

.program-card p {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-55);
}

.program-facts {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12px;
  color: var(--ink-55);
}

.program-price {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
}

/* timetable */

.timetable-wrap {
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.timetable-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 22px;
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
}

.timetable-head strong {
  font-size: 13.5px;
  letter-spacing: -0.01em;
}

.timetable-head span {
  font-size: 12px;
  color: var(--ink-55);
}

.timetable {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  text-align: center;
}

.timetable th,
.timetable td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  font-weight: 400;
}

.timetable th:last-child,
.timetable td:last-child {
  border-right: 0;
}

.timetable tr:last-child td {
  border-bottom: 0;
}

.timetable thead th {
  background: var(--paper);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-55);
  text-transform: uppercase;
}

.timetable tbody th {
  font-weight: 600;
  color: var(--ink-70);
  background: var(--paper);
  white-space: nowrap;
}

.timetable td {
  color: var(--ink-55);
}

.timetable td.on {
  color: var(--ink);
  background: color-mix(in srgb, var(--clay-soft) 35%, transparent);
}

/* ---------- space ---------- */

.b-space {
  padding: clamp(64px, 8vw, 112px) 0;
  background: var(--paper-soft);
}

.b-space-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(30px, 4.4vw, 68px);
  align-items: center;
}

.space-photos {
  position: relative;
  padding-bottom: 54px;
  padding-right: 46px;
}

.space-photos .p1 {
  width: 82%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}

.space-photos .p2 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  border: 8px solid var(--paper-soft);
}

.b-space h2 {
  margin-top: 16px;
}

.b-space .s-lead {
  margin-top: 18px;
}

.space-facts {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.space-facts div {
  background: var(--paper-soft);
  padding: 16px 18px;
}

.space-facts dt {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-35);
  text-transform: uppercase;
}

.space-facts dd {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 500;
}

/* ---------- teacher ---------- */

.b-teacher {
  padding: clamp(64px, 8vw, 112px) 0;
}

.b-teacher-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(30px, 4.4vw, 68px);
  align-items: center;
}

.teacher-photo {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
  width: 100%;
}

.teacher-copy h2 {
  margin-top: 16px;
}

.teacher-sign {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink-55);
}

.teacher-sign strong {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin-right: 6px;
}

.teacher-quote {
  margin-top: 22px;
  padding-left: 18px;
  border-left: 1px solid var(--clay);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-70);
}

.credentials {
  margin-top: 24px;
  display: grid;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-55);
}

.credentials li {
  display: flex;
  gap: 12px;
}

.credentials li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clay);
  margin-top: 9px;
  flex: none;
  opacity: 0.7;
}

/* ---------- reserve ---------- */

.b-reserve {
  padding: clamp(64px, 8vw, 112px) 0;
  background: var(--paper-soft);
  border-top: 1px solid var(--line-soft);
}

.b-reserve-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.reserve-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(24px, 3vw, 38px);
}

.reserve-card .form-grid {
  gap: 16px 18px;
}

.reserve-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.reserve-head strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.reserve-head span {
  font-size: 12px;
  color: var(--ink-55);
}

.reserve-side h3 {
  margin-top: 14px;
}

.reserve-price {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
}

.reserve-price strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.reserve-price em {
  font-style: normal;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-55);
}

.reserve-price > span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-55);
}

.reserve-channels {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.reserve-channels a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 13px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.reserve-channels a:hover {
  border-color: var(--ink);
  transform: translateX(3px);
}

.reserve-channels a .left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reserve-channels svg {
  width: 15px;
  height: 15px;
  color: var(--clay);
}

.reserve-channels .arrow {
  font-size: 12px;
  color: var(--ink-35);
}

.reserve-note {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-55);
}

/* ---------- visit ---------- */

.b-visit {
  padding: clamp(64px, 8vw, 112px) 0;
}

.b-visit-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.b-visit .map-card {
  min-height: 420px;
}

.visit-copy h2 {
  margin-top: 16px;
}

.visit-copy .address {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-70);
}

.hours {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}

.hours .k {
  color: var(--ink-55);
}

.hours .v {
  font-weight: 500;
}

.hours .v.off {
  color: var(--ink-35);
  font-weight: 400;
}

.visit-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- mobile sticky ---------- */

.b-sticky {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 248, 242, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  gap: 8px;
}

.b-sticky .btn {
  flex: 1;
  padding: 14px 10px;
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .b-reserve-inner,
  .b-visit-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .b-visit .map-card {
    min-height: 320px;
  }
}

@media (max-width: 900px) {
  .b-hero-inner,
  .b-space-inner,
  .b-teacher-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .b-hero-visual {
    padding-left: 0;
    padding-top: 10px;
  }

  .b-hero-visual .frame {
    aspect-ratio: 16 / 10;
  }

  .b-hero-vertical {
    display: none;
  }

  .b-hero-stamp {
    right: 16px;
    bottom: 16px;
    width: 78px;
    height: 78px;
    font-size: 10px;
  }

  .space-photos {
    max-width: 520px;
  }

  .b-teacher-inner {
    gap: 26px;
  }

  .teacher-photo {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 720px) {
  .b-programs,
  .b-space,
  .b-teacher,
  .b-reserve,
  .b-visit {
    padding: 56px 0;
  }

  .program-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .program-media {
    aspect-ratio: 16 / 10;
  }

  .timetable {
    font-size: 11px;
  }

  .timetable th,
  .timetable td {
    padding: 10px 4px;
  }

  .space-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .space-photos {
    padding-bottom: 40px;
    padding-right: 30px;
  }

  .b-sticky {
    display: flex;
  }

  body {
    padding-bottom: 68px;
  }

  .b-visit .map-card {
    min-height: 280px;
  }

  .sample-ribbon .wrap {
    font-size: 11px;
  }

  .sample-ribbon strong {
    font-size: 9.5px;
  }
}
