/* ============================================================
   THE SALON by HOGUGU — ENTER page
   ============================================================ */

:root {
  --bg-light: #f6f6f6;
  --bg-white: #ffffff;
  --bg-beige: #e3d8cc;
  --ink: #1a1a1a;
  --ink-soft: #333333;
  --line: rgba(0, 0, 0, 0.10);
  --btn-bg: #1a1a1a;
  --btn-fg: #ffffff;

  --font-head: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-hand: "Caveat", cursive;

  --pad-x: clamp(28px, 4vw, 64px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

svg {
  display: block;
}

.enter {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =================== TOP AREA =================== */
.enter__brand,
.enter__choices {
  display: flex;
}

.enter__choices h3 {
  font-size: 14px;
}

/* wrap brand + choices side by side on desktop */
@media (min-width:901px) {
  .enter {
    display: grid;
    grid-template-columns: 31.5% 1fr;
    grid-template-rows: 1fr auto;
  }

  .enter__brand {
    grid-column: 1;
    grid-row: 1;
  }

  .enter__choices {
    grid-column: 2;
    grid-row: 1;
  }

  .enter__footer {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  /* Tagline (top) / Logo (vertically centered) / Description (bottom) */
  .enter__brand {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "tagline"
      "logo"
      "desc";
    justify-items: center;
  }

  .enter__tagline {
    grid-area: tagline;
  }

  .enter__logo {
    grid-area: logo;
    align-self: center;
    margin: 0;
  }

  .enter__desc {
    grid-area: desc;
  }
}

/* ---------- Brand panel ---------- */
.enter__brand {
  background: var(--bg-light);
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 44px var(--pad-x) 56px;
  gap: 24px;
}

.enter__tagline {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
}

.enter__logo {
  margin: 8px 0 4px;
}

.enter__logo-img {
  width: clamp(220px, 20vw, 300px);
  height: auto;
}

.enter__desc {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  max-width: 90%;
  text-align: left;
}

.enter__desc br {
  content: "";
}

/* ---------- Choices (right side) ---------- */
.enter__choices {
  flex-direction: row;
}

.choice-card {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  color: var(--ink);
}

.choice-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.4;
  overflow: hidden;
  background: #111;
  border: 1px solid #000;
}

.choice-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .5s ease;
  opacity: 0;
}

.choice-card__media img.is-loaded {
  opacity: 1;
}

.choice-card:hover .choice-card__media img {
  transform: scale(1.045);
}

.choice-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(20px, 2.6vw, 40px) clamp(20px, 3vw, 44px) clamp(24px, 3vw, 40px);
  border: 1px solid #000;
  border-top: none;
}

.choice-card--therapist .choice-card__body {
  background: var(--bg-white);
  border-bottom-left-radius: 64px;
}

.choice-card--customer .choice-card__body {
  background: var(--bg-beige);
}

.choice-card__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(19px, 1.7vw, 27px);
  line-height: 1.45;
}

.choice-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}

.choice-card__cta {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
  margin-bottom: clamp(12px, 3vw, 40px);
  padding: 14px 30px 14px 40px;
  border-radius: 999px;
  background: transparent;
  transition: background-color .3s ease;
}

.choice-card:hover .choice-card__cta {
  background: #ffeb52;
}

.choice-card__cta-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.35;
}

.choice-card__arrow {
  flex: none;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease;
}

.choice-card__arrow img {
  width: 100%;
  height: 100%;
}

.choice-card:hover .choice-card__arrow {
  transform: translateX(4px);
}

/* =================== FOOTER =================== */
.enter__footer {
  background: var(--bg-light);
  border-top: 1px solid #000;
  padding: 20px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-soft);
}

.enter__footer-address {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.enter__footer-pin svg {
  width: 16px;
  height: 16px;
}

.enter__footer-sep {
  width: 1px;
  height: 14px;
  background: var(--line);
  display: inline-block;
}

.enter__footer-address a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.enter__footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.enter__footer-link {
  white-space: nowrap;
  font-weight: 600;
  color: inherit;
}

.enter__footer-link:hover {
  opacity: 0.7;
}

.enter__footer-copy {
  white-space: nowrap;
  font-weight: 600;
}

/* ============================================================
   MOBILE  (<= 900px) — matches ENTER-sp layout
   ============================================================ */
@media (max-width:900px) {

  .enter__brand {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "tagline tagline"
      "logo    desc";
    align-items: start;
    text-align: left;
    column-gap: 18px;
    row-gap: 14px;
    padding: 28px 20px 24px;
  }

  .enter__tagline {
    grid-area: tagline;
    font-size: 13px;
  }

  .enter__logo {
    grid-area: logo;
    align-self: start;
    margin: 4px 0;
    flex: none;
  }

  .enter__logo-img {
    width: clamp(140px, 38vw, 190px);
  }

  .enter__desc {
    grid-area: desc;
    align-self: end;
    font-size: 12.5px;
    max-width: none;
  }

  .enter__choices {
    flex-direction: column;
  }

  .choice-card {
    flex-direction: column;
    align-items: stretch;
  }

  .choice-card__media {
    width: 100%;
    flex: none;
    aspect-ratio: auto;
    height: auto;
  }

  .choice-card__body {
    flex: 1;
    padding: 18px 16px;
    gap: 16px;
    border-top: 1px solid #000;
  }

  .choice-card--therapist .choice-card__body {
    border-bottom-left-radius: 0;
  }

  .choice-card__title {
    font-size: 16px;
    line-height: 1.4;
  }

  .choice-card__list {
    display: none;
  }

  /* hidden on mobile, matches design */
  .choice-card__cta {
    gap: 12px;
    align-self: flex-end;
  }

  .choice-card__cta-text {
    font-size: 15px;
  }

  .choice-card__arrow {
    width: 44px;
    height: 44px;
  }

  .enter__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    padding: 20px 20px 28px;
  }

  .enter__footer-right {
    align-self: center;
    justify-content: center;
  }

  .enter__footer-copy {
    align-self: center;
  }
}

/* Focus visibility */
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

  .choice-card__media img,
  .choice-card__arrow {
    transition: none;
  }
}