/* first-visit page only. Warm white, walnut ink, sage. Does not restyle the site chrome. */
.visit-breadcrumbs,
.first-visit {
  --fv-gutter: clamp(20px, 5.2vw, 80px);
  --fv-ink: #2a2319;
  --fv-muted: #5a4e3f;
  --fv-sage: #5c6b56;
  --fv-line: #d8d0c4;
  --fv-linen: #f4efe6;
  --fv-brown: #3c362d;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--fv-gutter);
}

.visit-breadcrumbs {
  align-items: center;
}

.first-visit {
  color: var(--fv-ink);
  padding-bottom: clamp(72px, 10vw, 128px);
}

.first-visit :is(h1, h2, h3) {
  font-family: var(--site-serif, var(--serif));
  font-weight: 500;
  letter-spacing: -0.03em;
}

.first-visit h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.08;
  text-wrap: pretty;
}

.first-visit:lang(zh) h1,
.chinese .first-visit h1 {
  max-width: 12em;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.22;
}

.first-visit h2 {
  margin: 0;
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.18;
}

.first-visit:lang(zh) h2,
.chinese .first-visit h2 {
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.28;
}

.first-visit h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
}

.fv-kicker {
  margin: 0 0 14px;
  color: var(--fv-sage);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chinese .fv-kicker {
  letter-spacing: 0.18em;
}

.fv-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  padding: clamp(18px, 3vw, 36px) 0 clamp(40px, 6vw, 72px);
}

.fv-lead {
  max-width: 38em;
  margin: 18px 0 0;
  color: var(--fv-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.fv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  margin-top: 28px;
}

.first-visit a.button,
.first-visit a.fv-btn,
.first-visit .fv-jump a,
.first-visit .fv-treatments a {
  text-decoration: none;
}

.first-visit .fv-actions a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 18px;
  background: var(--fv-brown);
  border: 1px solid var(--fv-brown);
  border-radius: 6px;
  color: #f7f3ec;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
}

.first-visit .fv-actions a.button:hover {
  background: #2f2a22;
  border-color: #2f2a22;
  color: #f7f3ec;
}

.first-visit .fv-actions a.button:active {
  background: #241f1a;
  border-color: #241f1a;
  color: #f7f3ec;
}

.first-visit a.fv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid #c9bfb2;
  border-radius: 6px;
  color: var(--fv-ink);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
}

.first-visit a.fv-btn:hover {
  background: var(--fv-linen);
  border-color: #8d8274;
  color: var(--fv-ink);
}

.first-visit a.fv-btn:active {
  background: #ebe4d8;
  border-color: #6f6558;
  color: var(--fv-ink);
}

.first-visit .fv-actions a.button:focus-visible,
.first-visit a.fv-btn:focus-visible,
.first-visit .fv-jump a:focus-visible,
.first-visit .fv-treatments a:focus-visible,
.first-visit .fv-inline:focus-visible {
  outline: 2px solid var(--fv-sage);
  outline-offset: 3px;
}

.fv-inline {
  color: var(--fv-ink);
  text-decoration: underline;
  text-decoration-color: #8d8274;
  text-underline-offset: 0.22em;
}

.fv-inline:hover,
.fv-inline:focus-visible {
  text-decoration-color: currentColor;
}

.first-visit .arrow {
  width: 18px;
  height: 18px;
  flex: none;
}

.fv-note,
.fv-hero-figure figcaption,
.fv-care figcaption,
.fv-stores figcaption,
.fv-photo-pending,
.fv-aside,
.fv-meta {
  color: var(--fv-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

.fv-note {
  margin-top: 14px;
}

.fv-hero-figure,
.fv-care figure,
.fv-stores figure {
  margin: 0;
  min-width: 0;
}

.fv-stores figure {
  margin: 0;
}

.fv-hero-figure img,
.fv-care img,
.fv-stores img {
  width: 100%;
  object-fit: cover;
}

.fv-hero-figure img {
  aspect-ratio: 4 / 3;
}

.fv-hero-figure figcaption,
.fv-care figcaption,
.fv-stores figcaption {
  margin-top: 10px;
}

.fv-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--fv-line);
}

.fv-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--fv-line);
  border-radius: 999px;
  background: transparent;
  color: var(--fv-ink);
  font-size: 0.92rem;
  line-height: 1.3;
  text-align: center;
}

.fv-jump a:hover {
  background: var(--fv-linen);
  border-color: #b7aa98;
  color: var(--fv-ink);
}

.fv-jump a:active {
  background: #ebe4d8;
  border-color: #8d8274;
}

.fv-block {
  padding-block: clamp(40px, 6vw, 88px);
  border-top: 1px solid var(--fv-line);
}

.fv-split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
}

.fv-block-copy {
  max-width: 36em;
}

.fv-block-copy > p,
.fv-care .fv-block-copy p {
  margin: 14px 0 0;
  color: var(--fv-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.fv-block-copy > .fv-btn,
.fv-block-copy > .fv-meta {
  margin-top: 16px;
}

.fv-facts,
.fv-steps,
.fv-stores,
.fv-treatments {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fv-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 36px;
  margin-top: 36px;
}

.fv-facts-compact {
  margin-top: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.fv-facts h3 {
  color: var(--fv-ink);
}

.fv-facts p {
  margin: 8px 0 0;
  color: var(--fv-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.fv-steps li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--fv-line);
}

.fv-steps li:first-child {
  padding-top: 0;
}

.fv-step-number {
  color: var(--fv-sage);
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  padding-top: 4px;
}

.fv-steps p {
  margin: 6px 0 0;
  color: var(--fv-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.fv-aside {
  grid-column: 1 / -1;
  margin: 18px 0 0;
  max-width: 46em;
}

.fv-stores {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
  border-top: 1px solid var(--fv-line);
}

.fv-stores li {
  display: grid;
  grid-template-columns: minmax(0, 36rem);
  gap: 20px 40px;
  align-items: start;
  min-width: 0;
  padding: 28px 0;
  border-bottom: 1px solid var(--fv-line);
}

.fv-stores li.has-photo {
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
}

.fv-store-main {
  min-width: 0;
}

.fv-stores img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.fv-stores h3 {
  margin-top: 0;
  font-size: 1.35rem;
}

.fv-stores p {
  margin: 8px 0 0;
  color: var(--fv-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.fv-undecided {
  margin-top: 18px;
}

.fv-undecided p {
  margin: 0 0 12px;
  color: var(--fv-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.fv-store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.fv-care {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.fv-care img {
  aspect-ratio: 4 / 3;
}

.fv-shortcuts {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.fv-shortcuts p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--fv-muted);
  font-size: 0.9rem;
}

.fv-treatments {
  display: grid;
  gap: 8px;
}

.fv-treatments a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto 18px;
  align-items: center;
  gap: 8px clamp(10px, 2vw, 24px);
  box-sizing: border-box;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #c9bfb2;
  border-radius: 8px;
  background: transparent;
  color: var(--fv-ink);
}

.fv-treatments a:hover {
  background: var(--fv-linen);
  border-color: #8d8274;
}

.fv-treatments a:active {
  background: #ebe4d8;
  border-color: #6f6558;
}

.fv-treatment-name {
  font-weight: 500;
}

.fv-duration,
.fv-price {
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.fv-duration {
  color: var(--fv-muted);
}

.fv-questions details {
  border-bottom: 1px solid var(--fv-line);
}

.fv-questions details:first-child {
  border-top: 1px solid var(--fv-line);
}

.fv-questions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 12px 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.fv-questions summary::-webkit-details-marker {
  display: none;
}

.fv-questions summary span {
  font-size: 1.25rem;
  font-weight: 400;
}

.fv-questions [open] summary span {
  transform: rotate(45deg);
}

.fv-questions p {
  margin: 0;
  padding: 0 32px 16px 0;
  color: var(--fv-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.fv-questions p:has(+ .fv-btn) {
  padding-bottom: 4px;
}

.fv-questions .fv-btn {
  margin: 2px 0 16px;
}

.fv-close {
  margin-top: 8px;
  padding: clamp(32px, 5vw, 56px);
  background: var(--fv-linen);
}

.fv-close h2 {
  max-width: 16em;
}

.fv-close p {
  max-width: 38em;
  margin: 14px 0 0;
  color: var(--fv-muted);
}

@media (max-width: 900px) {
  .fv-hero,
  .fv-split,
  .fv-care,
  .fv-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .fv-stores li,
  .fv-stores li.has-photo {
    grid-template-columns: minmax(0, 1fr);
  }

  .fv-hero {
    gap: 22px;
    padding-top: 12px;
  }

  .fv-split,
  .fv-care {
    gap: 16px;
  }

  .fv-facts {
    gap: 22px;
    margin-top: 24px;
  }

  .fv-stores {
    margin-top: 20px;
  }

  .fv-stores li {
    padding: 24px 0;
  }

  .fv-stores figure {
    margin-top: 4px;
  }

  .first-visit h1 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .first-visit {
    padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px));
  }

  .fv-actions,
  .fv-store-links {
    flex-direction: column;
    align-items: stretch;
  }

  .first-visit .fv-actions a.button,
  .first-visit .fv-actions a.fv-btn,
  .fv-store-links .fv-btn {
    width: 100%;
  }

  .fv-close {
    padding: 28px 20px 32px;
  }

  .fv-treatments a {
    grid-template-columns: minmax(0, 1fr) auto 18px;
    font-size: 0.95rem;
  }

  .fv-duration {
    display: none;
  }
}

@media (max-width: 400px) {
  .fv-price {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fv-questions summary span,
  .first-visit .fv-actions a.button,
  .first-visit a.fv-btn,
  .first-visit .fv-jump a,
  .first-visit .fv-treatments a {
    transition: none;
  }
}
