:root {
  --bg: #f4f2ec;
  --panel: #f3f1ea;
  --panel-soft: rgba(243, 241, 234, 0.92);
  --panel-strong: #f7f5ef;
  --text: #171717;
  --muted: #666b73;
  --blue: #8ea7ff;
  --blue-strong: #5567f3;
  --line: rgba(85, 103, 243, 0.12);
  --shadow-soft: 0 18px 50px rgba(31, 37, 78, 0.05);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --container: min(1120px, calc(100% - 32px));
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #f7f5ef;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 84% 14%, rgba(142, 167, 255, 0.08), transparent 18%),
    radial-gradient(circle at 18% 22%, rgba(255, 214, 87, 0.12), transparent 20%),
    url("./bg-tile.png") repeat;
  background-size: auto, auto, 560px auto;
}

.corner-flower {
  position: absolute;
  top: -20%;
  right: 0;
  z-index: 0;
  width: clamp(320px, 43vw, 574px);
  aspect-ratio: 1;
  background: url("./assets/flower.png") no-repeat center / contain;
  opacity: 1;
  transform: translate(14%, -14%);
  transform-origin: top right;
  pointer-events: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0 0;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
}

.brand {
  display: grid;
  gap: 4px;
}

.brand__eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-strong);
}

.brand__name {
  font-size: 1rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue-strong);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--blue-strong);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  padding: 22px 0 28px;
  isolation: isolate;
}

.hero__frame {
  position: relative;
  z-index: 1;
  padding: 0;
}

.hero__card {
  position: relative;
  min-height: min(78svh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: end;
  max-width: 960px;
  margin: 0 auto;
  min-height: clamp(360px, 44vw, 520px);
}

.hero__visual,
.hero__content {
  position: relative;
}

.hero__visual {
  min-height: clamp(320px, 38vw, 480px);
}

.hero__photo {
  position: absolute;
  left: clamp(44px, 5vw, 64px);
  bottom: calc(clamp(28px, 4vw, 54px) * -1);
  width: clamp(384px, 43.2vw, 564px);
  pointer-events: none;
  z-index: 0;
}

.hero__photo img {
  width: 100%;
  height: auto;
}

.hero__content {
  max-width: 480px;
  align-self: center;
  z-index: 1;
}

.hero__eyebrow {
  margin: 0 0 28px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-strong);
}

.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(2.9rem, 6vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.hero__lead,
.hero__note {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--muted);
}

.hero__note {
  margin-top: 22px;
}

.section {
  padding: 38px 0;
  overflow-x: clip;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading--compact {
  margin-bottom: 56px;
}

.text-block--wide {
  max-width: 820px;
  margin: 0 auto 42px;
}

.text-block--wide + .section-heading--compact {
  margin-top: 54px;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-heading p,
.text-block p,
.session-item p,
.notice-block p,
.process-step p,
.about-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.session-list {
  display: grid;
  gap: 18px;
}

.session-item {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 18px;
  align-items: start;
  padding: 10px 0;
}

.session-item__dot {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--blue-strong);
}

.session-item h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.session-item p + p,
.text-block p + p,
.about-text p + p {
  margin-top: 14px;
}

.carousel {
  --carousel-bottom-space: 54px;
  position: relative;
  padding: 0 74px var(--carousel-bottom-space);
  overflow: hidden;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: 0;
  padding: 10px 0 18px;
  width: 100%;
}

.carousel__track {
  display: flex;
  width: 100%;
  transition: transform 0.32s ease;
  align-items: flex-start;
  will-change: transform;
}

.carousel__slide {
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
  margin: 0;
}

.request-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.request-card {
  position: relative;
  width: min(100%, 400px);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0 auto;
  padding: 26px 28px 24px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 10px 28px rgba(44, 50, 92, 0.05);
}

.request-card h3 {
  margin: 0 0 16px;
  max-width: 100%;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.request-card ul {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  flex: 0 0 auto;
}

.request-card li {
  position: relative;
  margin: 0 0 6px;
  padding-left: 20px;
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  line-height: 1.24;
}

.request-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
}

.request-card p {
  max-width: 100%;
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.22;
  color: var(--text);
}

.request-card p strong {
  font-weight: 800;
}

.carousel__arrow {
  position: absolute;
  top: calc((100% - var(--carousel-bottom-space)) / 2);
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: rgba(142, 167, 255, 0.9);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.carousel__arrow--prev {
  left: 0;
}

.carousel__arrow--next {
  right: 0;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(85, 103, 243, 0.18);
  cursor: pointer;
}

.carousel__dots button.is-active {
  background: var(--blue-strong);
}

.notice-block,
.text-block,
.process-list,
.about-text {
  max-width: 840px;
  margin: 0 auto;
}

.notice-block,
.text-block {
  text-align: center;
}

.notice-block {
  margin-top: 24px;
}

.notice-block p.notice-block__title,
.text-block p.text-block__lead {
  margin-bottom: 10px;
  color: #000000;
  font-weight: 700;
  font-size: clamp(1rem, 1.55vw, 1.14rem);
  line-height: 1.32;
}

.text-block p.text-block__lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

#booking {
  margin-bottom: 52px;
}

#booking p.text-block__lead {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.text-block strong,
.process-step strong {
  color: #000000;
  font-weight: 700;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 376px;
  margin-top: 33px;
  min-height: 78px;
  padding: 20px 32px;
  border-radius: 999px;
  background: rgba(142, 167, 255, 0.9);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1;
}

#final-booking-cta {
  scroll-margin-top: 42vh;
}

.work-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 930px;
  margin: 0 auto 36px;
}

.work-chip {
  width: 286px;
  min-height: 286px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 26px;
  border-radius: 999px;
  background: rgba(142, 167, 255, 0.9);
  color: #fff;
  text-align: center;
}

.work-chip strong {
  font-size: 1.15rem;
  line-height: 1.15;
}

.work-chip span {
  font-size: 0.92rem;
  line-height: 1.45;
}

.process-list {
  display: grid;
  gap: 18px;
}

.process-step {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 18px;
  align-items: start;
  padding: 10px 0;
}

.process-step__index {
  display: inline-flex;
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--blue-strong);
  color: transparent;
  font-size: 0;
}

.section--about {
  padding-bottom: 72px;
}

.dot-divider {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 28px;
}

.dot-divider span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue-strong);
}

.about-text {
  text-align: center;
}

.site-footer {
  padding: 20px 0 34px;
}

.site-footer__inner {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .corner-flower {
    width: clamp(180px, 40vw, 266px);
    transform: translate(12%, -12%);
  }

  .site-header {
    padding-top: 12px;
  }

  .site-header__inner {
    padding: 14px 16px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
  }

  body.menu-open .site-nav {
    display: flex;
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero__card {
    min-height: 68svh;
    padding: 26px 20px;
    border-radius: var(--radius-lg);
  }

  .hero__eyebrow {
    margin-bottom: 28px;
    text-align: center;
  }

  .hero__grid {
    position: relative;
    z-index: 1;
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 520px;
    min-height: 0;
  }

  .hero__visual {
    display: none;
  }

  .hero__content {
    max-width: none;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.6rem);
  }

  .hero__photo {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(72vw, 320px);
    margin: 4px auto -26px;
  }

  .section {
    padding: 28px 0;
  }

  .session-item,
  .process-step {
    grid-template-columns: 16px 1fr;
    gap: 14px;
    padding: 8px 0;
  }

  .session-item__dot {
    margin-top: 0;
  }

  .process-step__index {
    margin-top: 4px;
  }

  .carousel {
    --carousel-bottom-space: 58px;
    padding: 0 0 var(--carousel-bottom-space);
  }

  .request-slide {
    padding: 0;
  }

  .request-card {
    width: min(100%, 400px);
    min-height: 360px;
    padding: 20px 18px 18px;
    border-radius: 24px;
  }

  .request-card h3 {
    margin-bottom: 14px;
    max-width: 220px;
    font-size: clamp(1rem, 5vw, 1.25rem);
  }

  .request-card li {
    padding-left: 18px;
    font-size: clamp(0.9rem, 4vw, 1rem);
    line-height: 1.24;
  }

  .request-card p {
    font-size: clamp(0.95rem, 4.2vw, 1.05rem);
    line-height: 1.22;
  }

  .carousel__arrow {
    top: auto;
    bottom: 0;
    width: 46px;
    height: 46px;
    transform: none;
  }

  .carousel__arrow--prev {
    left: calc(50% - 56px);
  }

  .carousel__arrow--next {
    right: calc(50% - 56px);
  }

  .work-grid {
    gap: 16px;
  }

  .work-chip {
    width: calc(50% - 8px);
    min-height: 0;
    aspect-ratio: 1;
    padding: 16px 14px;
  }

  .work-chip strong {
    font-size: 0.95rem;
  }

  .work-chip span {
    font-size: 0.78rem;
    line-height: 1.32;
  }
}

@media (max-width: 520px) {
  .work-grid {
    gap: 12px;
  }

  .work-chip {
    width: calc(50% - 6px);
    min-height: 0;
    aspect-ratio: 1;
    padding: 14px 12px;
  }

  .work-chip strong {
    font-size: 0.88rem;
  }

  .work-chip span {
    font-size: 0.72rem;
    line-height: 1.28;
  }
}

@media (min-width: 521px) and (max-width: 960px) {
  .work-grid {
    gap: 18px;
    max-width: 660px;
  }

  .work-chip {
    width: min(100%, 312px);
    min-height: 0;
    aspect-ratio: 1;
    padding: 22px 18px;
  }

  .work-chip strong {
    font-size: 1.05rem;
  }

  .work-chip span {
    font-size: 0.86rem;
    line-height: 1.36;
  }
}
