:root {
  --sage: #a8b7a2;
  --sage-deep: #6f806b;
  --rose: #d8a79f;
  --rose-deep: #b87562;
  --gold: #c79a52;
  --beige: #f3eee6;
  --beige-warm: #e9ded0;
  --taupe: #8b8276;
  --charcoal: #2c2c2a;
  --ink: #24221f;
  --white: #fffaf3;
  --line: rgba(139, 130, 118, 0.32);
  --shadow: 0 24px 70px rgba(56, 45, 34, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(216, 167, 159, 0.2), transparent 28rem),
    linear-gradient(180deg, #fbf7f0 0%, var(--beige) 55%, #efe7da 100%);
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 0.8rem clamp(1rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(139, 130, 118, 0.2);
  background: rgba(251, 247, 240, 0.88);
  backdrop-filter: blur(18px);
}

.site-header.compact {
  position: static;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  width: 126px;
  min-height: 60px;
}

.site-header:not(.compact) .brand-mark {
  width: clamp(178px, 12vw, 230px);
  min-height: 84px;
}

.brand-mark img {
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2.2vw, 2rem);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a,
.nav-cta,
.button,
.contact-links a {
  text-decoration: none;
}

.nav-links a {
  color: rgba(44, 44, 42, 0.78);
}

.nav-links a:hover {
  color: var(--rose-deep);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 0.55rem;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.75rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-cta {
  color: #fff;
  background: var(--charcoal);
}

.button svg,
.contact-links svg,
.icon-button svg,
summary svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
}

.button.primary {
  color: #fff;
  background: var(--charcoal);
  box-shadow: 0 12px 28px rgba(44, 44, 42, 0.18);
}

.button.secondary {
  color: var(--charcoal);
  border-color: rgba(139, 130, 118, 0.36);
  background: rgba(255, 250, 243, 0.74);
}

.button.danger {
  color: #fff;
  background: #8b3d34;
}

.button.full {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.74fr);
  align-items: center;
  min-height: calc(100vh - 86px);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1rem, 6vw, 6rem) 2rem;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--rose-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--charcoal);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.06;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.1rem, 8vw, 7.4rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 4.15rem);
}

h3 {
  font-size: 1.42rem;
}

.hero p:not(.eyebrow),
.section-copy,
.booking-intro > p,
.consent-highlight p,
.section-heading > p:not(.eyebrow) {
  color: rgba(36, 34, 31, 0.72);
  font-size: 1rem;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 1.3rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-panel {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(580px, 72vh);
  padding: clamp(1.2rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(168, 183, 162, 0.22), transparent 54%),
    linear-gradient(180deg, rgba(255, 250, 243, 0.9), rgba(233, 222, 208, 0.58));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(199, 154, 82, 0.28);
  border-radius: 6px;
  pointer-events: none;
}

.hero-panel img {
  position: relative;
  width: min(88%, 560px);
  margin: 0 auto;
  filter: drop-shadow(0 20px 34px rgba(44, 44, 42, 0.16));
}

.hero-note {
  position: absolute;
  right: 1.4rem;
  bottom: 1.2rem;
  left: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--taupe);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 clamp(1rem, 6vw, 6rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-strip span {
  display: grid;
  min-height: 76px;
  place-items: center;
  padding: 1rem;
  color: #fff;
  background: var(--sage-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.section {
  padding: clamp(3.5rem, 7vw, 7rem) clamp(1rem, 6vw, 6rem);
}

.two-column,
.booking-band,
.consent-highlight,
.result-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.section-copy p:first-child,
.booking-intro p,
.consent-highlight p {
  margin-top: 0;
}

.section-copy {
  max-width: 680px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.treatment-card {
  min-height: 260px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.7);
}

.treatment-card h3 {
  margin-top: 1.25rem;
}

.treatment-card p {
  color: rgba(36, 34, 31, 0.68);
}

.price-sheet-note {
  max-width: 760px;
  margin: 1rem auto 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(184, 117, 98, 0.36);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 250, 243, 0.86);
  text-align: center;
  font-weight: 600;
}

.treatment-icon {
  position: relative;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(111, 128, 107, 0.42);
  border-radius: 50%;
  background: rgba(255, 250, 243, 0.72);
}

.treatment-icon::before,
.treatment-icon::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.brow-lines::before {
  width: 45px;
  height: 15px;
  left: 15px;
  top: 31px;
  border-top: 5px double var(--charcoal);
  transform: rotate(-14deg);
}

.brow-shade::before {
  width: 48px;
  height: 18px;
  left: 14px;
  top: 29px;
  background: linear-gradient(130deg, transparent 28%, var(--taupe) 30% 34%, transparent 36% 44%, var(--taupe) 46% 50%, transparent 52%);
  border-top: 3px solid var(--charcoal);
  transform: rotate(-12deg);
}

.powder::before {
  width: 48px;
  height: 18px;
  left: 14px;
  top: 30px;
  border-top: 6px solid var(--rose-deep);
  background: radial-gradient(circle, rgba(184, 117, 98, 0.35) 1px, transparent 2px);
  background-size: 7px 7px;
  transform: rotate(-12deg);
}

.lips::before {
  width: 45px;
  height: 20px;
  left: 16px;
  top: 29px;
  border-top: 4px solid var(--rose-deep);
  border-bottom: 4px solid var(--rose-deep);
  transform: rotate(2deg);
}

.ombre::before {
  width: 46px;
  height: 22px;
  left: 16px;
  top: 28px;
  background: linear-gradient(90deg, rgba(216, 167, 159, 0.35), var(--rose-deep), rgba(216, 167, 159, 0.35));
}

.spot::before {
  width: 12px;
  height: 12px;
  left: 33px;
  top: 33px;
  background: var(--charcoal);
  box-shadow: inset 2px 2px 0 rgba(255, 250, 243, 0.36);
}

.pricing-section {
  background:
    linear-gradient(90deg, rgba(168, 183, 162, 0.16), transparent 34%),
    rgba(255, 250, 243, 0.42);
}

.price-sheet {
  max-width: 980px;
  margin-inline: auto;
}

.price-sheet img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.booking-band {
  background: var(--charcoal);
  color: #fff;
}

.booking-band h2,
.booking-band .eyebrow {
  color: #fff;
}

.booking-band .booking-intro > p {
  color: rgba(255, 250, 243, 0.76);
}

.booking-steps {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.booking-steps li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 250, 243, 0.82);
}

.booking-steps span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--charcoal);
  background: var(--beige);
  font-weight: 700;
}

.booking-form {
  padding: clamp(1rem, 2vw, 1.45rem);
  border: 1px solid rgba(139, 130, 118, 0.35);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.95);
  color: var(--ink);
  box-shadow: var(--shadow);
}

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

.appointment-picker {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(240px, 0.8fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.appointment-calendar-panel,
.appointment-side-panel .form-row:last-child {
  margin-bottom: 0;
}

.appointment-side-panel {
  display: grid;
  gap: 1rem;
}

.top-up-panel {
  border: 1px solid rgba(139, 130, 118, 0.24);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(248, 242, 232, 0.72);
}

.discount-source-row {
  align-items: start;
}

.discount-source-row .form-row {
  margin-bottom: 0;
}

.discount-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: stretch;
}

.discount-control input {
  min-width: 0;
}

.button.compact {
  min-height: 52px;
  padding-inline: 1rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.consent-copy {
  margin: 0 0 1rem;
  color: rgba(36, 34, 31, 0.78);
  line-height: 1.65;
}

.consent-form h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.question-table {
  display: grid;
  gap: 0;
  overflow: visible;
  margin: 0.5rem 0 1rem;
  border: 1px solid rgba(139, 130, 118, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
}

.question-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8rem, 10rem);
  gap: 1rem;
  align-items: center;
  padding: 0.85rem;
  border-bottom: 1px solid rgba(139, 130, 118, 0.18);
}

.question-row:last-child {
  border-bottom: 0;
}

.question-row p {
  margin: 0;
  line-height: 1.5;
}

.question-row input[type="checkbox"] {
  width: 1.55rem;
  min-width: 1.55rem;
  height: 1.55rem;
  accent-color: var(--sage-deep);
  cursor: pointer;
  justify-self: end;
}

.question-row:has(input[type="checkbox"]) {
  cursor: pointer;
}

.checkbox-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.85rem;
  border: 1px solid rgba(139, 130, 118, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.55);
}

.checkbox-choice-row p {
  flex: 1 1 26rem;
  margin: 0;
  line-height: 1.5;
}

.checkbox-choice-row label {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}

input[type="checkbox"] {
  accent-color: var(--sage-deep);
}

input[type="checkbox"]:hover,
.check-row:hover,
.checkbox-choice-row label:hover,
.question-row:has(input[type="checkbox"]):hover {
  color: var(--sage-deep);
}

input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(111, 128, 107, 0.34);
  outline-offset: 3px;
}

.is-disabled {
  opacity: 0.46;
}

.is-disabled input,
.is-disabled select,
.is-disabled textarea {
  background: #eeeae4;
  cursor: not-allowed;
}

.practitioner-only-panel {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px dashed rgba(139, 130, 118, 0.46);
  border-radius: 8px;
  background: rgba(168, 183, 162, 0.12);
}

.medical-warning {
  color: #8f4532;
  font-weight: 700;
}

.needs-detail {
  border-color: #b86a52;
  box-shadow: 0 0 0 3px rgba(184, 106, 82, 0.15);
}

.notice-card.warning {
  border-color: rgba(184, 106, 82, 0.45);
  color: #713522;
  background: #fff1ea;
}

.signature-input {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 1.7rem;
  line-height: 1.1;
}

.design-approval-grid .form-row {
  grid-template-rows: minmax(2.6rem, auto) 1fr;
}

.design-approval-grid input {
  min-height: 54px;
}

.address-lookup {
  position: relative;
}

.address-suggestions {
  position: absolute;
  right: 0;
  left: 0;
  top: calc(100% + 0.35rem);
  z-index: 30;
  overflow: hidden;
  border: 1px solid rgba(139, 130, 118, 0.42);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.address-suggestion {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(139, 130, 118, 0.16);
  padding: 0.85rem 0.95rem;
  color: var(--ink);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.address-suggestion:last-child {
  border-bottom: 0;
}

.address-suggestion:hover,
.address-suggestion.active {
  background: rgba(168, 183, 162, 0.18);
}

.address-suggestion.notice {
  cursor: default;
  color: rgba(36, 34, 31, 0.68);
  background: #fffaf4;
}

.field-help {
  margin: 0.35rem 0 0;
  color: rgba(36, 34, 31, 0.62);
  font-size: 0.82rem;
  line-height: 1.45;
}

.field-help[data-tone="success"] {
  color: var(--sage-deep);
  font-weight: 600;
}

.field-help[data-tone="error"] {
  color: #8f4532;
  font-weight: 600;
}

.secure-image-preview {
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 150px;
  margin-top: 0.7rem;
  border: 1px solid rgba(139, 130, 118, 0.28);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.74);
}

.secure-image-preview.is-empty {
  display: none;
}

.secure-image-preview img {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.booking-calendar {
  overflow: hidden;
  border: 1px solid rgba(139, 130, 118, 0.32);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.78);
}

.booking-calendar-header {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem;
  border-bottom: 1px solid rgba(139, 130, 118, 0.22);
}

.booking-calendar-header strong {
  color: var(--charcoal);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.calendar-nav {
  width: 40px;
  height: 40px;
  border-color: rgba(139, 130, 118, 0.36);
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.74);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays {
  padding: 0.55rem 0.6rem 0;
  color: rgba(36, 34, 31, 0.58);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.calendar-grid {
  gap: 0.25rem;
  padding: 0.55rem;
}

.calendar-blank,
.calendar-day {
  aspect-ratio: 1 / 1;
  min-width: 0;
}

.calendar-day {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  border: 1px solid rgba(111, 128, 107, 0.34);
  border-radius: 6px;
  padding: 0.28rem 0.16rem;
  color: var(--charcoal);
  background: rgba(168, 183, 162, 0.2);
  cursor: pointer;
}

.calendar-day span {
  font-weight: 700;
}

.calendar-day small {
  min-height: 1rem;
  color: rgba(36, 34, 31, 0.58);
  font-size: 0.52rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.calendar-day:hover,
.calendar-day.is-selected {
  border-color: var(--sage-deep);
  background: var(--sage-deep);
  color: #fff;
}

.calendar-day:hover small,
.calendar-day.is-selected small {
  color: rgba(255, 255, 255, 0.78);
}

.calendar-day:disabled {
  border-color: rgba(139, 130, 118, 0.16);
  color: rgba(36, 34, 31, 0.35);
  background: rgba(238, 234, 228, 0.78);
  cursor: not-allowed;
}

.calendar-day:disabled small {
  color: rgba(36, 34, 31, 0.35);
}

label,
legend {
  color: rgba(36, 34, 31, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(139, 130, 118, 0.42);
  border-radius: 6px;
  padding: 0.82rem 0.9rem;
  color: var(--ink);
  background: #fff;
}

select {
  accent-color: var(--sage-deep);
}

select option {
  color: var(--ink);
  background: #fff;
}

select option:hover,
select option:focus,
select option:checked {
  color: #fff;
  background: var(--sage-deep);
}

.shibui-select {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 54px;
}

.shibui-native-select {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}

.shibui-select-button {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 54px;
  justify-content: space-between;
  border: 1px solid rgba(139, 130, 118, 0.42);
  border-radius: 6px;
  padding: 0.82rem 0.9rem;
  color: var(--ink);
  background: #fff;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  box-shadow: none;
}

.shibui-select-button:focus-visible {
  outline: 3px solid rgba(111, 128, 107, 0.3);
  outline-offset: 2px;
}

.shibui-select-button.is-placeholder {
  color: rgba(36, 34, 31, 0.48);
}

.shibui-select-button::after {
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 1rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-0.15rem);
}

.shibui-select-list {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  z-index: 1000;
  display: none;
  width: 100%;
  max-height: 20rem;
  overflow: auto;
  border: 1px solid rgba(139, 130, 118, 0.42);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(44, 44, 42, 0.18);
}

.shibui-select.is-open .shibui-select-list {
  display: block;
}

.shibui-select.is-open {
  z-index: 1001;
}

.shibui-select-group {
  padding: 0.42rem 0.9rem 0.18rem;
  color: var(--ink);
  font-weight: 700;
}

.shibui-select-option {
  display: block;
  width: 100%;
  min-height: auto;
  border: 0;
  border-radius: 0;
  padding: 0.18rem 0.9rem;
  color: var(--ink);
  background: #fff;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  cursor: pointer;
}

.shibui-select-option:hover,
.shibui-select-option:focus,
.shibui-select-option.is-selected {
  color: #fff;
  background: var(--sage-deep);
  outline: none;
}

.shibui-select.is-disabled .shibui-select-button {
  color: rgba(36, 34, 31, 0.58);
  background: #eeeae4;
  cursor: not-allowed;
}

.shibui-date {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 54px;
}

.shibui-native-date {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}

.shibui-date-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(139, 130, 118, 0.42);
  border-radius: 6px;
  padding: 0.82rem 0.9rem;
  color: var(--ink);
  background: #fff;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  box-shadow: none;
}

.shibui-date-button::after {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  margin-left: 1rem;
  background:
    linear-gradient(currentColor, currentColor) 20% 32% / 60% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) 30% 14% / 1.5px 18% no-repeat,
    linear-gradient(currentColor, currentColor) 70% 14% / 1.5px 18% no-repeat;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  content: "";
}

.shibui-date-button:focus-visible {
  outline: 3px solid rgba(111, 128, 107, 0.3);
  outline-offset: 2px;
}

.shibui-date-button.is-placeholder {
  color: rgba(36, 34, 31, 0.48);
}

.shibui-date-calendar {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  z-index: 1000;
  display: none;
  width: 100%;
  min-width: min(19rem, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  overflow: hidden;
  border: 1px solid rgba(139, 130, 118, 0.42);
  border-radius: 8px;
  background: #fffaf3;
  box-shadow: 0 16px 42px rgba(44, 44, 42, 0.18);
}

.shibui-date.is-open .shibui-date-calendar {
  display: block;
}

.shibui-date.is-open {
  z-index: 1001;
}

.form-row:has(.shibui-select.is-open),
.question-row:has(.shibui-select.is-open),
.form-row:has(.shibui-date.is-open),
.question-row:has(.shibui-date.is-open) {
  z-index: 1002;
}

.shibui-date-calendar .calendar-day {
  min-height: 2.5rem;
  aspect-ratio: auto;
  grid-template-rows: 1fr;
}

.shibui-date-calendar .calendar-day.is-today:not(.is-selected) {
  border-color: var(--sage-deep);
}

.shibui-date.is-disabled .shibui-date-button {
  color: rgba(36, 34, 31, 0.58);
  background: #eeeae4;
  cursor: not-allowed;
}

input[readonly],
select:disabled,
input:disabled,
textarea:disabled {
  color: rgba(36, 34, 31, 0.58);
  background: #eeeae4;
}

.has-field-error input,
.has-field-error select,
.has-field-error textarea,
.has-field-error .shibui-select-button,
.has-field-error .shibui-date-button {
  border-color: #9a4936;
  background: #fff7f3;
  box-shadow: 0 0 0 3px rgba(154, 73, 54, 0.14);
}

.has-field-error label,
.has-field-error p,
.form-note[data-tone="error"] {
  color: #8f4532;
}

.form-note[data-tone="success"] {
  color: var(--sage-deep);
}

textarea {
  resize: vertical;
}

fieldset {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  color: rgba(36, 34, 31, 0.78);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.check-row input {
  width: 1.55rem;
  min-width: 1.55rem;
  height: 1.55rem;
  margin-top: 0.05rem;
  accent-color: var(--sage-deep);
  cursor: pointer;
}

.deposit-terms-row {
  align-items: center;
}

.deposit-terms-row input {
  width: 1.15rem;
  min-width: 1.15rem;
  height: 1.15rem;
  margin-top: 0;
}

.field-help-spacer {
  visibility: hidden;
}

.deposit-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 1rem 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.deposit-summary div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  background: var(--beige);
}

.deposit-summary span,
.form-note {
  color: rgba(36, 34, 31, 0.62);
  font-size: 0.78rem;
}

.deposit-summary strong {
  font-size: 1.12rem;
}

.form-note {
  margin: 0.8rem 0 0;
  text-align: center;
}

.form-note:empty {
  display: none;
}

.result-panel {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(168, 183, 162, 0.18);
}

.result-panel h2 span {
  color: var(--rose-deep);
}

.receipt-box {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.88);
}

.receipt-page-section {
  max-width: 960px;
  margin: 0 auto;
}

.receipt-page-box {
  margin-bottom: 1rem;
}

.pdf-panel {
  overflow: hidden;
  min-height: 72vh;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.88);
  box-shadow: var(--shadow);
}

.pdf-panel object {
  display: block;
  width: 100%;
  min-height: 72vh;
  border: 0;
}

.receipt-box dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem 1.5rem;
  margin: 0;
}

.receipt-box dt {
  color: rgba(36, 34, 31, 0.64);
}

.receipt-box dd {
  margin: 0;
  font-weight: 700;
}

.result-actions,
.consent-actions {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 0.8rem;
}

.icon-button {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid var(--charcoal);
  border-radius: 6px;
  color: #fff;
  background: var(--charcoal);
  cursor: pointer;
}

.consent-highlight {
  background: rgba(255, 250, 243, 0.55);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(180px, 300px) 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem clamp(1rem, 6vw, 6rem);
  color: #fff;
  background: var(--sage-deep);
}

.site-footer img {
  width: 160px;
  filter: brightness(0) invert(1);
}

.site-footer p {
  margin: 0.4rem 0 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 250, 243, 0.34);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-links img.social-logo,
.social-logo {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 1.1rem;
  filter: brightness(0) invert(1);
}

.contact-links img.footer-platform-icon {
  display: inline-block !important;
  width: 1.55rem !important;
  height: 1.55rem !important;
  flex: 0 0 1.55rem !important;
  max-width: none;
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

.contact-links .platform-icon {
  width: 1.28rem;
  height: 1.28rem;
  flex: 0 0 1.28rem;
}

.social-badge {
  display: inline-grid;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 1.75rem;
  place-items: center;
  border: 1px solid rgba(255, 250, 243, 0.76);
  border-radius: 999px;
  color: var(--sage-deep);
  background: #fffaf3;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.instagram-badge {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.7rem;
}

.tiktok-badge {
  font-size: 0.62rem;
}

.consent-main {
  min-height: 100vh;
}

.legal-section {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.75;
}

.privacy-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(168, 183, 162, 0.26), rgba(218, 167, 159, 0.18)),
    var(--beige);
}

.privacy-hero h1 {
  max-width: 12ch;
}

.privacy-version {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.8rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(111, 128, 107, 0.32);
  border-radius: 999px;
  color: var(--sage-deep);
  background: rgba(255, 250, 243, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-detail {
  display: grid;
  gap: 0.45rem;
  background: rgba(255, 250, 243, 0.92);
}

.privacy-detail h2 {
  margin-top: 1.4rem;
  color: var(--taupe);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.privacy-detail a {
  color: var(--sage-deep);
  font-weight: 700;
}

.privacy-detail p {
  margin-top: 0.15rem;
}

.consent-form-section {
  max-width: 1120px;
  margin: 0 auto;
}

.consent-form {
  max-width: 900px;
}

.inline-result {
  display: block;
  margin-top: 1.2rem;
  padding: 1.2rem;
}

.record-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: 1rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(111, 128, 107, 0.36);
  border-radius: 999px;
  color: var(--sage-deep);
  background: rgba(168, 183, 162, 0.16);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notice-card,
.record-card {
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.86);
  box-shadow: var(--shadow);
}

.muted-card {
  background: rgba(255, 250, 243, 0.52);
  box-shadow: none;
}

.practitioner-section {
  max-width: 1320px;
  margin: 0 auto;
}

.dashboard-table-wrap {
  overflow-x: auto;
  margin-bottom: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.82);
}

.portal-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 0.85rem;
  align-items: end;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.84);
  box-shadow: var(--shadow);
}

.portal-tools .form-row {
  margin: 0;
}

.portal-tools .button {
  min-height: 54px;
  white-space: nowrap;
}

.portal-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.78);
}

.portal-tab {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  padding: 0.62rem 0.9rem;
  color: var(--charcoal);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.portal-tab:hover,
.portal-tab.is-active {
  color: #fff;
  background: var(--sage-deep);
}

.record-select-checkbox {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  accent-color: var(--sage);
}

.dashboard-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.dashboard-table th {
  color: var(--charcoal);
  background: rgba(168, 183, 162, 0.18);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.record-row {
  cursor: pointer;
}

.record-row:hover,
.record-row:focus,
.record-row.is-open {
  background: rgba(168, 183, 162, 0.12);
  outline: none;
}

.muted-inline {
  color: rgba(36, 34, 31, 0.58);
  font-size: 0.82rem;
}

.mini-link {
  border: 0;
  padding: 0;
  color: var(--rose-deep);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.practitioner-record-panel {
  display: grid;
  gap: 1rem;
}

.record-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.86);
}

.record-header p {
  margin: 0.6rem 0 0;
  color: rgba(36, 34, 31, 0.7);
}

.record-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

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

.client-answers-card {
  grid-column: 1 / -1;
}

.client-answer-section {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}

.client-answer-section h4 {
  margin: 0 0 0.8rem;
  color: var(--charcoal);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compact-dl {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) 1fr;
  gap: 0.4rem 1rem;
  margin: 0;
}

.compact-dl dt,
.receipt-box dt {
  color: rgba(36, 34, 31, 0.62);
}

.compact-dl dd {
  margin: 0;
  font-weight: 600;
}

.record-form {
  max-width: none;
  box-shadow: none;
}

.treatment-record-table {
  min-width: 860px;
}

.treatment-document-card {
  box-shadow: none;
}

.treatment-timeline {
  display: grid;
  gap: 1rem;
}

.treatment-timeline-item {
  padding: 1rem;
  border: 1px solid rgba(139, 130, 118, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.treatment-timeline-heading {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.treatment-timeline-heading h4 {
  margin: 0;
  color: var(--charcoal);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
}

.treatment-timeline-heading p {
  margin: 0.3rem 0 0;
  color: rgba(36, 34, 31, 0.66);
}

.treatment-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.treatment-image-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(139, 130, 118, 0.28);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.78);
}

.treatment-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
}

.treatment-image-card figcaption {
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem 0.65rem;
  color: rgba(36, 34, 31, 0.68);
  font-size: 0.78rem;
  line-height: 1.35;
}

.treatment-image-card figcaption strong {
  color: var(--ink);
  font-size: 0.82rem;
}

.treatment-image-card figcaption span {
  overflow-wrap: anywhere;
}

.treatment-summary-dl dd {
  font-weight: 500;
}

.amendment-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.amendment-list li {
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem;
  border-radius: 6px;
  background: var(--beige);
}

.audit-list {
  max-height: 240px;
  overflow: auto;
  padding-left: 1.4rem;
  margin: 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(36, 34, 31, 0.58);
}

.modal-card {
  width: min(100%, 520px);
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border: 1px solid rgba(139, 130, 118, 0.35);
  border-radius: 8px;
  background: var(--beige);
  box-shadow: var(--shadow);
}

.modal-card h3 {
  margin: 0.35rem 0 0.65rem;
  color: var(--charcoal);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  line-height: 1.05;
}

.modal-card p {
  color: rgba(36, 34, 31, 0.72);
}

.archive-record {
  color: var(--ink);
}

.archive-record h1,
.archive-record h2 {
  max-width: none;
  margin-top: 1rem;
  font-size: 1.8rem;
}

button:disabled,
.button[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
}

[hidden] {
  display: none !important;
}

@media print {
  body {
    background: #fff;
  }

  .site-header,
  .dashboard-table-wrap,
  .record-header,
  .record-grid,
  .record-form,
  .audit-list,
  .result-actions,
  .section-heading {
    display: none !important;
  }

  .section,
  .practitioner-section {
    padding: 0;
    margin: 0;
  }

  .record-card {
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .hero,
  .two-column,
  .booking-band,
  .consent-highlight,
  .result-panel,
  .appointment-picker,
  .record-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: 430px;
  }

  .trust-strip,
  .treatment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .appointment-picker {
    min-width: 0;
  }

  .record-header {
    display: grid;
    grid-template-columns: 1fr;
  }

  .record-header-actions {
    justify-content: flex-start;
  }

  .treatment-timeline-heading {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0.65rem 1rem;
  }

  .brand-mark {
    width: 104px;
  }

  .site-header:not(.compact) .brand-mark {
    width: 136px;
    min-height: 70px;
  }

  .nav-cta {
    min-height: 42px;
    padding-inline: 0.8rem;
    font-size: 0.72rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  h1 {
    max-width: 10ch;
    font-size: 3.2rem;
  }

  .hero-actions,
  .result-actions,
  .consent-actions {
    display: grid;
  }

  .hero-panel {
    min-height: 310px;
  }

  .trust-strip,
  .treatment-grid,
  .form-grid,
  .appointment-picker,
  .deposit-summary,
  .portal-tools,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .question-row {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .question-row select,
  .question-row .shibui-select,
  .question-row .shibui-date {
    width: 100%;
  }

  .question-row input[type="checkbox"] {
    justify-self: start;
  }

  .practitioner-record-panel,
  .record-card,
  .record-form,
  .client-answer-section,
  .compact-dl,
  .treatment-timeline,
  .treatment-timeline-item {
    min-width: 0;
    max-width: 100%;
  }

  .treatment-image-grid {
    grid-template-columns: 1fr;
  }

  .record-header-actions .button,
  .record-header-actions .status-pill,
  .result-actions .button {
    width: 100%;
  }

  .compact-dl {
    grid-template-columns: 1fr;
    gap: 0.15rem 0;
  }

  .compact-dl dt,
  .compact-dl dd,
  .record-card p,
  .record-card li {
    overflow-wrap: anywhere;
  }

  .compact-dl dd {
    margin-bottom: 0.55rem;
  }

  .shibui-date-calendar {
    width: min(22rem, calc(100vw - 2rem));
  }

  .site-footer,
  .contact-links {
    justify-content: flex-start;
  }

  .discount-control {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .section {
    padding-inline: 0.8rem;
  }

  .booking-form,
  .record-card,
  .notice-card {
    padding: 0.85rem;
  }

  .booking-calendar-header {
    grid-template-columns: 34px 1fr 34px;
    gap: 0.35rem;
    padding: 0.5rem;
  }

  .booking-calendar-header strong {
    font-size: 0.78rem;
  }

  .calendar-nav {
    width: 34px;
    height: 34px;
  }

  .calendar-weekdays {
    padding-inline: 0.35rem;
    font-size: 0.56rem;
  }

  .calendar-grid {
    gap: 0.18rem;
    padding: 0.35rem;
  }

  .calendar-day {
    min-height: 44px;
    padding: 0.16rem 0.08rem;
  }

  .calendar-day span {
    font-size: 0.82rem;
  }

  .calendar-day small {
    max-width: 100%;
    font-size: 0.42rem;
    overflow-wrap: anywhere;
  }

  input,
  select,
  textarea {
    min-width: 0;
  }
}
