:root {
  --paper: #f3f2ed;
  --white: #ffffff;
  --ink: #151816;
  --muted: #70746f;
  --line: #cac6bb;
  --gold: #9b7b4d;
  --pine: #12382f;
  --page-x: 24px;
  color: var(--ink);
  background: var(--white);
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
}

html.is-embedded .brief-stage,
html.is-embedded .success-stage {
  min-height: var(--embed-viewport-height, 844px);
}

html.is-embedded,
html.is-embedded body {
  overflow-anchor: none;
}

html.is-embedded .product-body {
  min-height: calc(var(--embed-viewport-height, 844px) * 0.86);
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

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

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ending {
  width: min(100%, 760px);
  margin: 0 auto;
  background: var(--white);
}

.editorial-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 10;
  overflow: hidden;
  color: #ffffff;
  background: #14201d;
}

.editorial-hero__image,
.editorial-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.editorial-hero__image {
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.88) contrast(0.97);
}

.editorial-hero__veil {
  z-index: 1;
  background: linear-gradient(180deg, rgba(12, 20, 18, 0.22) 0%, rgba(12, 20, 18, 0.01) 38%, rgba(12, 20, 18, 0.88) 100%);
  pointer-events: none;
}

.hero-nav {
  position: absolute;
  z-index: 4;
  top: max(22px, env(safe-area-inset-top));
  right: var(--page-x);
  left: var(--page-x);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-nav > img {
  width: min(42vw, 220px);
  height: auto;
}

.editorial-hero__copy {
  position: absolute;
  z-index: 2;
  right: var(--page-x);
  bottom: max(52px, calc(env(safe-area-inset-bottom) + 36px));
  left: var(--page-x);
}

.eyebrow {
  margin: 0 0 16px;
  color: #d9b870;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.editorial-hero h1 {
  max-width: 100%;
  margin: 0;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(27px, 8vw, 46px);
  font-weight: 400;
  line-height: 1.32;
  text-wrap: wrap;
}

.editorial-hero h1 span {
  display: block;
}

.editorial-index {
  padding: 36px var(--page-x) 20px;
  border: 1px solid var(--ink);
  border-top-width: 3px;
  border-radius: 0 0 28px 28px;
  background: var(--paper);
}

.index-section {
  position: relative;
}

.index-section--intro,
.index-section--services {
  margin-bottom: 46px;
}

.index-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.index-kicker span {
  flex: none;
}

.index-kicker i {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.index-section--intro h2 {
  margin: 24px 0 14px;
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(22px, 6.2vw, 40px);
  font-weight: 500;
  line-height: 1.35;
}

.index-body,
.service-intro {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.service-intro {
  padding: 18px 0 4px;
  border-bottom: 1px solid var(--line);
}

.service-list {
  width: 100%;
}

.service-row {
  width: 100%;
  min-height: 94px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 18px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.icon-ring {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.icon-ring img {
  width: 21px;
  height: 21px;
}

.service-row__copy,
.start-row__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.service-row__copy {
  gap: 7px;
}

.service-row strong {
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
}

.service-row small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.entry-arrow {
  position: relative;
  width: 36px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: transparent;
}

.entry-arrow::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(155, 123, 77, 0.58);
  border-radius: inherit;
  animation: entry-ring-pulse 1s ease-out infinite;
}

.entry-arrow i {
  position: relative;
  width: 15px;
  height: 10px;
  animation: entry-arrow-slide 1s ease-in-out infinite;
}

.entry-arrow i::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 13px;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}

.entry-arrow i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.service-row:hover,
.service-row:focus-visible,
.start-row:hover,
.start-row:focus-visible {
  background: rgba(155, 123, 77, 0.06);
  outline: 0;
}

.index-section--start .index-kicker {
  margin-bottom: 30px;
}

.start-row {
  width: 100%;
  min-height: 106px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  border: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.icon-ring--large {
  width: 44px;
}

.icon-ring--large img {
  width: 21px;
  height: 21px;
}

.start-row__copy {
  gap: 8px;
}

.start-row strong {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(16px, 4.4vw, 30px);
  font-weight: 500;
  line-height: 1.35;
}

.start-row small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.entry-arrow--primary {
  width: 40px;
  border-color: var(--pine);
  color: #ffffff;
  background: var(--pine);
}

.entry-arrow--primary::after {
  border-color: rgba(21, 47, 40, 0.48);
}

@keyframes entry-arrow-slide {
  0%, 100% { transform: translateX(-3px); opacity: 0.72; }
  55% { transform: translateX(4px); opacity: 1; }
}

@keyframes entry-ring-pulse {
  0% { transform: scale(0.92); opacity: 0; }
  35% { opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 0; }
}

.advisor-panel {
  padding-top: 20px;
  background: var(--white);
}

.advisor {
  width: 100%;
  min-height: 86svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  padding: 0 var(--page-x) max(18px, env(safe-area-inset-bottom));
  color: var(--ink);
  background: #ededed;
  text-align: left;
}

.advisor__header {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #d5d5d5;
}

.advisor__avatar,
.message-avatar {
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #ffffff;
  background: var(--pine);
}

.advisor__avatar {
  width: 54px;
  height: 54px;
  font-size: 17px;
}

.advisor__header h3,
.advisor__header p {
  margin: 0;
}

.advisor__header h3 {
  font-size: 20px;
  font-weight: 500;
}

.advisor__header p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.advisor__header i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4f8d58;
}

.advisor__dialogue {
  overflow-y: auto;
  padding: 24px 0;
}

.message-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 18px;
}

.message-row--guest {
  justify-content: flex-end;
}

.message-avatar {
  width: 42px;
  height: 42px;
  font-size: 14px;
}

.message-avatar--guest {
  color: var(--ink);
  background: #d9d9d9;
  font-size: 12px;
}

.message {
  position: relative;
  width: fit-content;
  max-width: calc(86% - 53px);
  padding: 11px 14px;
  border-radius: 4px;
  color: var(--ink);
  background: #ffffff;
  font-size: 15px;
  line-height: 1.65;
}

.message--advisor::before,
.message--guest::after {
  content: "";
  position: absolute;
  top: 14px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.message--advisor::before {
  left: -7px;
  border-right: 8px solid #ffffff;
}

.message--guest {
  background: #95ec69;
}

.message--guest::after {
  right: -7px;
  border-left: 8px solid #95ec69;
}

.advisor__composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #d5d5d5;
  background: #f7f7f7;
}

.advisor__composer textarea {
  width: 100%;
  min-height: 44px;
  max-height: 96px;
  resize: none;
  padding: 11px 13px;
  border: 0;
  border-radius: 5px;
  outline: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 15px;
  line-height: 1.45;
}

.advisor__composer textarea:focus {
  box-shadow: inset 0 0 0 1px #c9c9c9;
}

.advisor__composer button {
  width: 64px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  background: #07c160;
  cursor: pointer;
  font-size: 15px;
}

.advisor__action {
  min-height: 52px;
  margin: 10px 0 0;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
  font-size: 17px;
}

.advisor__status {
  min-height: 22px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

/* Product detail views retain the invitation's editorial paper, gold and hairline system. */
.product-stage {
  width: min(100%, 760px);
  margin: 0 auto;
  background: var(--white);
}

.product-view {
  width: 100%;
  background: var(--white);
}

.product-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 11;
  overflow: hidden;
  color: var(--white);
  background: #17201d;
}

.product-hero__image,
.product-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-hero__image {
  object-fit: cover;
  filter: saturate(0.82) contrast(0.98);
}

[data-product="golf"] .product-hero__image {
  object-position: 50% 52%;
}

[data-product="retreat"] .product-hero__image {
  object-position: 50% 60%;
}

[data-product="wellness"] .product-hero__image {
  object-position: 57% 58%;
}

.product-hero__veil {
  z-index: 1;
  background: linear-gradient(180deg, rgba(9, 15, 13, 0.36) 0%, rgba(9, 15, 13, 0.03) 38%, rgba(7, 11, 10, 0.94) 100%);
  pointer-events: none;
}

.product-hero__nav {
  position: absolute;
  z-index: 4;
  top: max(18px, env(safe-area-inset-top));
  right: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
}

.product-logo {
  width: min(42vw, 170px);
  max-height: 56px;
  justify-self: center;
}

.round-control {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  color: var(--white);
  background: rgba(16, 24, 21, 0.52);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.round-control > img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.product-menu-button span {
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.product-menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.product-menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.product-menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.product-menu {
  position: absolute;
  z-index: 3;
  top: max(78px, calc(env(safe-area-inset-top) + 64px));
  right: 18px;
  width: min(62vw, 250px);
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  background: rgba(15, 22, 20, 0.9);
  backdrop-filter: blur(16px);
}

.product-menu button {
  width: 100%;
  min-height: 47px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  color: var(--white);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
}

.product-menu button:last-child {
  border-bottom: 0;
}

.product-hero__copy {
  position: absolute;
  z-index: 2;
  right: var(--page-x);
  bottom: 28px;
  left: var(--page-x);
}

.product-hero__copy > p,
.product-hero__copy > div,
.product-hero__copy h1 {
  margin: 0;
}

.product-hero__copy > p {
  margin-bottom: 14px;
  color: #ddbd78;
  font-size: 11px;
  line-height: 1.4;
}

.product-hero__copy h1 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(30px, 9.1vw, 54px);
  font-weight: 400;
  line-height: 1.32;
}

.product-hero__copy h1 span {
  display: block;
}

.product-hero__copy > div {
  max-width: 34em;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.75;
}

.product-body {
  padding: 34px var(--page-x) 28px;
  border: 1px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: var(--paper);
}

.product-tabs-label {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gold);
  font-size: 13px;
  line-height: 1.4;
}

.product-tabs-label span {
  flex: none;
}

.product-tabs-label i {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.product-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-tabs button {
  min-width: 0;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 4px;
  border: 0;
  border-right: 1px solid var(--line);
  color: #858b86;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
}

.product-tabs button:last-child {
  border-right: 0;
}

.product-tabs button.is-active {
  color: var(--gold);
}

.product-tabs img {
  width: 24px;
  height: 24px;
}

.product-feature-list {
  margin-top: 28px;
  border-top: 1px solid var(--ink);
}

.product-feature {
  min-height: 134px;
  display: grid;
  grid-template-columns: 28px 58px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--line);
}

.feature-number {
  align-self: start;
  padding-top: 33px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
}

.feature-icon {
  width: 58px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid #b99b6d;
  border-radius: 50%;
  color: var(--gold);
}

.feature-icon img {
  width: 23px;
  height: 23px;
}

.product-feature h2,
.product-feature p {
  margin: 0;
}

.product-feature h2 {
  font-size: clamp(18px, 5.1vw, 27px);
  font-weight: 600;
  line-height: 1.4;
}

.product-feature p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.product-cta {
  width: 100%;
  min-height: 112px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding: 18px 4px;
  border: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.feature-icon--cta {
  width: 62px;
}

.product-cta > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-cta strong {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(19px, 5.4vw, 30px);
  font-weight: 500;
  line-height: 1.35;
}

.product-cta small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.product-cta > img {
  width: 23px;
  height: 23px;
}

.wellness-lead {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 18px;
  padding: 34px 0 30px;
  border-bottom: 1px solid var(--line);
}

.wellness-lead .feature-icon {
  width: 62px;
}

.wellness-lead h2,
.wellness-lead p {
  margin: 0;
}

.wellness-lead div > p {
  margin: 3px 0 10px;
  color: var(--gold);
  font-size: 11px;
}

.wellness-lead h2 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(20px, 5.6vw, 31px);
  font-weight: 500;
  line-height: 1.45;
}

.wellness-lead > p {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-trigger {
  width: 100%;
  min-height: 118px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.accordion-heading {
  min-width: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: baseline;
  column-gap: 10px;
}

.accordion-heading small {
  grid-row: 1;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
}

.accordion-heading strong {
  grid-row: 1;
  font-size: clamp(18px, 5vw, 27px);
  font-weight: 600;
  line-height: 1.4;
}

.accordion-heading em {
  grid-column: 2;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.55;
}

.accordion-chevron {
  width: 20px;
  height: 20px;
  transition: transform 180ms ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-panel {
  margin-left: 72px;
  border-top: 1px solid var(--line);
}

.sub-entry {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4px 0 14px;
  border-bottom: 1px solid rgba(202, 198, 187, 0.72);
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.sub-entry:last-child {
  border-bottom: 0;
}

.sub-entry img {
  flex: none;
  width: 19px;
  height: 19px;
  opacity: 0.62;
}

.round-control:focus-visible,
.product-menu button:focus-visible,
.product-tabs button:focus-visible,
.product-cta:focus-visible,
.accordion-trigger:focus-visible {
  outline: 2px solid #d9b870;
  outline-offset: 3px;
}

/* Bespoke brief and receipt continue the same editorial paper system. */
.brief-stage,
.success-stage {
  position: relative;
  width: 100%;
  min-height: 100svh;
  border: 1px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  color: var(--ink);
  background: var(--paper);
}

.brief-header {
  position: relative;
  z-index: 4;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: max(24px, env(safe-area-inset-top)) var(--page-x) 18px;
}

.brief-header > img {
  width: min(44vw, 190px);
  height: auto;
}

.brief-menu-button {
  flex: none;
  width: 48px;
  height: 48px;
  display: grid;
  place-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid #aeb0aa;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.brief-menu-button span {
  width: 19px;
  height: 1.5px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.brief-menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}

.brief-menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.brief-menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

.brief-menu {
  position: absolute;
  z-index: 5;
  top: max(86px, calc(env(safe-area-inset-top) + 68px));
  right: var(--page-x);
  width: min(68vw, 270px);
  padding: 7px 18px;
  border: 1px solid #babbb6;
  border-radius: 4px;
  background: rgba(243, 242, 237, 0.97);
  box-shadow: 0 12px 32px rgba(21, 24, 22, 0.09);
  backdrop-filter: blur(14px);
}

.brief-menu button {
  width: 100%;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
}

.brief-menu button:last-child {
  border-bottom: 0;
}

.brief-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin: 12px var(--page-x) 0;
  padding: 0;
  border: 0;
  color: #505751;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
}

.brief-back img {
  width: 20px;
  height: 20px;
}

.brief-form {
  padding: 34px var(--page-x) max(40px, env(safe-area-inset-bottom));
}

.brief-intro {
  margin-bottom: 56px;
}

.brief-intro__icon {
  width: 72px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}

.brief-intro__icon img {
  width: 28px;
  height: 28px;
}

.brief-intro p,
.brief-intro h1,
.brief-intro > div {
  margin: 0;
}

.brief-intro > p {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 11px;
  line-height: 1.4;
}

.brief-intro h1 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(30px, 8.5vw, 50px);
  font-weight: 500;
  line-height: 1.45;
}

.brief-intro h1 span {
  display: block;
}

.brief-intro > div {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.brief-group {
  min-width: 0;
  margin: 0 0 50px;
  padding: 0;
  border: 0;
}

.brief-group legend {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  padding: 0;
  color: #333936;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.brief-group legend span {
  flex: none;
}

.brief-group legend i {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-grid label {
  position: relative;
  min-width: 0;
}

.choice-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.choice-card {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 8px;
  border: 1px solid #c8c5bb;
  border-radius: 3px;
  color: #6d746f;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.choice-card img {
  width: 21px;
  height: 21px;
}

.choice-card b {
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.choice-grid input:checked + .choice-card {
  border-color: var(--gold);
  color: #82673e;
  background: rgba(155, 123, 77, 0.09);
}

.choice-grid input:focus-visible + .choice-card {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.choice-grid--text .choice-card {
  min-height: 70px;
}

.brief-group.is-invalid .choice-card,
.text-field input[aria-invalid="true"] {
  border-color: #9e554a;
}

.field-error {
  margin: 9px 0 0;
  color: #8e463e;
  font-size: 12px;
  line-height: 1.5;
}

.brief-fields {
  display: grid;
  gap: 9px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.text-field {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.text-field > span {
  color: #333936;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.text-field input,
.text-field textarea {
  width: 100%;
  border: 1px solid #c8c5bb;
  border-radius: 3px;
  outline: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.32);
  font-size: 15px;
  line-height: 1.55;
}

.text-field input {
  min-height: 64px;
  padding: 0 17px;
}

.text-field textarea {
  min-height: 150px;
  resize: vertical;
  padding: 17px;
}

.text-field input::placeholder,
.text-field textarea::placeholder {
  color: #929791;
  opacity: 1;
}

.text-field input:focus,
.text-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(155, 123, 77, 0.08);
}

.brief-consent {
  margin: 24px 0 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.brief-submit {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px;
  border: 0;
  border-radius: 3px;
  color: var(--white);
  background: var(--ink);
  cursor: pointer;
}

.brief-submit strong {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 20px;
  font-weight: 500;
}

.brief-submit img {
  width: 23px;
  height: 23px;
  filter: brightness(0) invert(1);
}

.success-stage {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.success-content {
  align-self: start;
  width: 100%;
  padding: clamp(58px, 11vh, 118px) var(--page-x) max(72px, env(safe-area-inset-bottom));
  text-align: center;
}

.success-content > p,
.success-content h1,
.success-content > div,
.success-qr {
  margin: 0;
}

.success-eyebrow {
  color: var(--gold);
  font-size: 11px;
  line-height: 1.4;
}

.success-content h1 {
  margin-top: 22px;
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(32px, 8.8vw, 52px);
  font-weight: 500;
  line-height: 1.4;
}

.success-body {
  max-width: 460px;
  margin-right: auto !important;
  margin-left: auto !important;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  white-space: pre-line;
}

.success-qr {
  width: clamp(164px, 46vw, 206px);
  margin: 34px auto 0;
}

.success-qr img {
  display: block;
  width: 100%;
  height: auto;
}

.brief-menu-button:focus-visible,
.brief-back:focus-visible,
.brief-menu button:focus-visible,
.brief-submit:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (min-width: 760px) {
  :root {
    --page-x: 48px;
  }

  .editorial-index {
    padding-top: 58px;
    padding-bottom: 40px;
  }

  .index-kicker {
    font-size: 16px;
  }

  .index-section--intro,
  .index-section--services {
    margin-bottom: 74px;
  }

  .index-body,
  .service-intro {
    font-size: 18px;
  }

  .service-row {
    min-height: 132px;
    grid-template-columns: 56px minmax(0, 1fr) 44px;
    gap: 26px;
  }

  .icon-ring {
    width: 56px;
  }

  .icon-ring img {
    width: 26px;
    height: 26px;
  }

  .service-row strong {
    font-size: 26px;
  }

  .service-row small,
  .start-row small {
    font-size: 16px;
  }

  .start-row {
    min-height: 164px;
    grid-template-columns: 86px minmax(0, 1fr) 48px;
    gap: 28px;
  }

  .icon-ring--large {
    width: 86px;
  }

  .entry-arrow {
    width: 44px;
  }

  .entry-arrow--primary {
    width: 48px;
  }

  .icon-ring--large img {
    width: 34px;
    height: 34px;
  }

  .product-hero__nav {
    top: 32px;
    right: 48px;
    left: 48px;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
  }

  .round-control {
    width: 52px;
    height: 52px;
  }

  .product-hero__copy {
    right: 48px;
    bottom: 48px;
    left: 48px;
  }

  .product-hero__copy > p {
    font-size: 14px;
  }

  .product-hero__copy > div,
  .product-tabs-label {
    font-size: 17px;
  }

  .product-body {
    padding-top: 52px;
    padding-bottom: 46px;
  }

  .product-tabs button {
    min-height: 124px;
    font-size: 17px;
  }

  .product-feature {
    min-height: 168px;
    grid-template-columns: 38px 72px minmax(0, 1fr);
    gap: 22px;
  }

  .feature-icon,
  .accordion-trigger .feature-icon {
    width: 72px;
  }

  .feature-number {
    padding-top: 43px;
    font-size: 13px;
  }

  .product-feature p,
  .product-cta small,
  .wellness-lead > p,
  .accordion-heading em {
    font-size: 16px;
  }

  .product-cta {
    min-height: 146px;
    grid-template-columns: 84px minmax(0, 1fr) 30px;
    gap: 28px;
  }

  .feature-icon--cta,
  .wellness-lead .feature-icon {
    width: 84px;
  }

  .wellness-lead {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 26px;
    padding: 52px 0 42px;
  }

  .wellness-lead div > p {
    font-size: 14px;
  }

  .accordion-trigger {
    min-height: 150px;
    grid-template-columns: 72px minmax(0, 1fr) 24px;
    gap: 24px;
  }

  .accordion-panel {
    margin-left: 96px;
  }

  .sub-entry {
    min-height: 82px;
    font-size: 18px;
  }

  .brief-header {
    min-height: 132px;
    padding-right: 48px;
    padding-left: 48px;
  }

  .brief-menu-button {
    width: 56px;
    height: 56px;
  }

  .brief-back {
    margin-left: 48px;
    font-size: 17px;
  }

  .brief-form {
    padding: 52px 48px 64px;
  }

  .brief-intro {
    margin-bottom: 78px;
  }

  .brief-intro__icon {
    width: 88px;
  }

  .brief-intro > p {
    font-size: 14px;
  }

  .brief-intro > div {
    font-size: 17px;
  }

  .brief-group {
    margin-bottom: 68px;
  }

  .brief-group legend,
  .text-field > span {
    font-size: 18px;
  }

  .choice-card {
    min-height: 92px;
  }

  .choice-card b,
  .text-field input,
  .text-field textarea {
    font-size: 18px;
  }

  .text-field input {
    min-height: 76px;
  }

  .brief-submit {
    min-height: 92px;
  }

  .brief-submit strong {
    font-size: 26px;
  }

  .success-content {
    padding-right: 48px;
    padding-left: 48px;
  }

  .success-eyebrow {
    font-size: 14px;
  }

  .success-body {
    font-size: 17px;
  }
}

@media (max-width: 359px) {
  .service-row {
    grid-template-columns: 38px minmax(0, 1fr) 20px;
    gap: 12px;
  }

  .icon-ring {
    width: 38px;
  }

  .start-row {
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    gap: 10px;
  }

  .icon-ring--large {
    width: 42px;
  }

  .start-row strong {
    font-size: 16px;
  }

  .brief-header {
    min-height: 94px;
  }

  .brief-header > img {
    width: 148px;
  }

  .brief-menu-button {
    width: 44px;
    height: 44px;
  }

  .brief-form {
    padding-top: 28px;
  }

  .brief-intro h1 {
    font-size: 29px;
  }

  .choice-card {
    gap: 7px;
    padding-right: 5px;
    padding-left: 5px;
  }

  .choice-card b {
    font-size: 13px;
  }

  .success-content {
    padding-top: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
