:root {
  --ink: #111722;
  --muted: #687281;
  --crimson: #9d111d;
  --canvas: #f7f7f5;
  --paper: #ffffff;
  --line: rgba(0, 0, 0, 0.1);
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

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

button {
  color: inherit;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  color: #000;
  font-size: clamp(52px, 10vw, 112px);
  line-height: 0.92;
  font-weight: 920;
}

h2 {
  margin-bottom: 14px;
  color: #000;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -0.01em;
  font-weight: 900;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.22;
  font-weight: 780;
}

p {
  margin-bottom: 14px;
  color: var(--muted);
}

small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

::selection {
  background: var(--crimson);
  color: #fff;
}

[hidden] {
  display: none !important;
}

/* Header */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  overflow: visible;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(247, 247, 245, 0.88);
  backdrop-filter: blur(22px) saturate(160%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-logo {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.brand-logo picture,
.brand-logo img {
  width: 100%;
  height: 100%;
}

.brand-logo picture {
  display: block;
}

.brand-logo img {
  object-fit: contain;
  padding: 4px;
}

.brand-cta {
  flex: 0 0 auto;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: 10px 15px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 820;
  line-height: 1;
  white-space: nowrap;
}

.header-actions {
  position: relative;
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  min-width: 0;
}

.header-social {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 34px;
  border: 0;
  background: transparent;
}

.header-social img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.shop-menu {
  position: relative;
  flex: 0 0 auto;
}

.shop-menu summary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: 10px 15px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 820;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
}

.shop-menu summary::-webkit-details-marker {
  display: none;
}

.shop-menu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.shop-menu[open] summary::after {
  transform: translateY(1px) rotate(225deg);
}

body:has(.shop-menu[open]) .shop-menu summary {
  border-color: rgba(0, 0, 0, 0.2);
  background: #f5f5f3;
}

.shop-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 40;
  width: min(260px, calc(100vw - 24px));
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.14);
}

.shop-menu-panel a {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-radius: 14px;
  padding: 10px 12px;
  color: #111;
  font-size: 14px;
  font-weight: 760;
}

.shop-menu-panel a:hover,
.shop-menu-panel a:focus-visible {
  background: #f2f2f0;
  outline: 0;
}

.shop-cameo img {
  width: 88px;
  height: auto;
}

@media (max-width: 720px) {
  .topbar {
    padding: 9px 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .brand-cta {
    min-height: 34px;
    padding: 9px 10px;
    font-size: 12px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-social {
    width: 26px;
    height: 32px;
  }

  .header-social img {
    width: 23px;
    height: 23px;
  }

  .shop-menu summary {
    min-height: 34px;
    padding: 9px 10px;
    font-size: 12px;
  }

  .shop-menu summary::after {
    width: 5px;
    height: 5px;
    margin-left: 6px;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-cta {
    padding-inline: 9px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-social {
    width: 24px;
  }

  .header-social img {
    width: 22px;
    height: 22px;
  }

  .shop-menu summary {
    padding-inline: 9px;
  }

  .shop-menu-panel {
    right: -2px;
  }
}

/* Layout */

main {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 12px 0 34px;
  display: grid;
  gap: 16px;
}

.consult-page main {
  padding-top: 28px;
}

.content-grid {
  display: grid;
}

.content-grid.intake-only {
  width: min(640px, 100%);
  margin: 0 auto;
}

.panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}

.intake-panel {
  padding: clamp(22px, 4vw, 34px);
  color: #000;
}

.intake-panel .eyebrow {
  display: none;
}

.intake-panel p,
.intake-panel small {
  color: var(--muted);
}

.intake-panel .btn.primary {
  margin-top: 4px;
  background: #000;
  color: #fff;
}

.service-panel {
  width: min(900px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 44px);
  background: #fff;
}

.service-intro {
  max-width: 720px;
}

.service-panel h2 {
  max-width: 680px;
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.98;
}

.service-intro p,
.service-note {
  color: #555f6d;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.48;
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(22px, 4vw, 34px) 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.service-step {
  min-width: 0;
  padding: 18px;
  background: #fff;
}

.service-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 820;
}

.service-step h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.service-step p {
  margin-bottom: 0;
  color: #687281;
  font-size: 15px;
  line-height: 1.45;
}

.service-note {
  max-width: 780px;
  margin-bottom: 0;
}

@media (max-width: 520px) {
  main {
    padding-top: 12px;
  }
}

@media (max-width: 820px) {
  .service-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .service-steps {
    grid-template-columns: 1fr;
  }

  .service-step {
    padding: 17px;
  }
}

/* Eyebrow (consult page hero only; hidden on the intake panel) */

.eyebrow {
  margin: 0 0 14px;
  color: #b88b34;
  font-size: 13px;
  font-weight: 840;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Form fields */

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

@media (max-width: 520px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

#intakeForm,
#consultForm {
  display: grid;
  gap: 14px;
}

.cf-turnstile {
  min-height: 0;
}

.field {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 82px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 14px 16px 13px;
  background: #f1f1ef;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.field:focus-within {
  border-color: rgba(0, 0, 0, 0.48);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.field span {
  color: #111;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.field small {
  color: rgba(0, 0, 0, 0.52);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field input,
.field textarea {
  min-height: 24px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #000;
  box-shadow: none;
  outline: 0;
}

.field textarea {
  min-height: 86px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(0, 0, 0, 0.34);
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Buttons */

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 860;
  line-height: 1.2;
  -webkit-tap-highlight-color: transparent;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.btn:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.18);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(1px);
}

.btn.full {
  width: 100%;
}

.btn.primary {
  background: #000;
  color: #fff;
}

.btn.primary:hover {
  background: #222;
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(12px);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.13);
}

/* Form status + receipt */

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.form-status[data-tone="success"] {
  color: #1f7a4c;
}

.receipt {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  background: #f7f7f7;
}

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

.consult-receipt {
  text-align: left;
}

.consult-receipt h2 {
  margin-bottom: 12px;
}

.booking-slot,
.consult-receipt .refund-note {
  border-radius: 14px;
  padding: 12px 14px;
  background: #f1f1ef;
}

.booking-slot {
  margin: 14px 0;
  font-size: 17px;
  font-weight: 720;
}

.refund-note {
  margin-top: 14px;
  color: #4f5865;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.45;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 18px;
}

@media (max-width: 640px) {
  .payment-options {
    grid-template-columns: 1fr;
  }
}

.payment-card {
  display: grid;
  align-content: center;
  gap: 10px;
  min-height: 136px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 18px;
  padding: 18px;
  background: var(--canvas);
  color: #4f5865;
  font-size: 13px;
  font-weight: 780;
  text-align: center;
}

.payment-card img {
  width: min(144px, 100%);
  height: auto;
  margin: 0 auto;
}

.payment-card.placeholder {
  cursor: default;
}

/* Video-call booking page */

.consult-hero {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 7vw, 84px) 0 18px;
  text-align: center;
}

.consult-hero h1 {
  margin-bottom: 18px;
}

.consult-hero p {
  max-width: 560px;
  margin: 0 auto;
  color: #5f6672;
  font-size: clamp(18px, 2vw, 23px);
}

.consult-hero .refund-note {
  max-width: 560px;
  margin: 14px auto 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 780;
}

/* Footer */

.site-footer {
  width: min(1120px, calc(100% - 28px));
  margin: 8px auto 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-credit {
  width: 184px;
  opacity: 0.72;
  filter: saturate(0.84);
}

.footer-credit img {
  width: 100%;
  height: auto;
}
