:root {
  --rose: #d9b2af;
  --rose-dark: #b88884;
  --rose-deep: #8a5d59;
  --rose-soft: #f3e1de;
  --rose-mist: #fbf2f0;
  --cream: #f8f3ee;
  --cream-deep: #efe6dd;
  --ink: #1f1a18;
  --ink-soft: #6a605c;
  --ink-faded: #a89e9a;
  --line: #e9ddd9;
  --line-soft: #f0e6e1;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(31, 26, 24, 0.04);
  --shadow: 0 1px 2px rgba(31, 26, 24, 0.04),
    0 12px 32px rgba(31, 26, 24, 0.07);
  --shadow-hover: 0 2px 6px rgba(31, 26, 24, 0.06),
    0 24px 48px rgba(184, 136, 132, 0.18);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: transparent;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--rose-deep);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s;
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 0 0 0.4em;
  color: var(--ink);
}

h1 em,
h2 em,
h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--rose-deep);
}

p {
  margin: 0 0 0.9em;
}

.muted {
  color: var(--ink-soft);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8825rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--rose-deep);
  margin: 0 0 1.2em;
}

.eyebrow.center {
  text-align: center;
}

.error {
  color: #b03a2e;
  background: #fbeae7;
  padding: 0.8em 1.1em;
  border-left: 3px solid #b03a2e;
  border-radius: 4px;
  margin: 1em 0;
  font-size: 0.8375rem;
}

/* ─── Breadcrumbs (progress indicator, sits below the active step) ─ */
.crumbs {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.6rem 1.8rem 2rem;
  font-size: 0.7375rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--ink-faded);
  flex-wrap: wrap;
  border-top: 1px solid var(--line-soft);
}

@media (max-width: 600px) {
  .crumbs {
    padding: 1.2rem 1rem 1.4rem;
    gap: 0.9rem;
    font-size: 0.6575rem;
    letter-spacing: 1.5px;
  }
}

.crumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.crumb .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-faded);
  transition: all 0.3s;
}

.crumb.active {
  color: var(--rose-deep);
}

.crumb.active .dot {
  background: var(--rose-deep);
  box-shadow: 0 0 0 4px var(--rose-soft);
}

.crumb.done {
  color: var(--ink);
}

.crumb.done .dot {
  background: var(--ink);
}

@media (max-width: 640px) {
  .crumbs {
    gap: 0.8rem;
    font-size: 0.5875rem;
    letter-spacing: 1.5px;
  }
}

/* ─── Layout ────────────────────────────────────────────────────── */
main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 4rem 1.8rem 2.5rem;
}

@media (max-width: 600px) {
  main {
    padding: 2.5rem 1.2rem 2rem;
  }
}

.step {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ─── Hero ──────────────────────────────────────────────────────── */
.hero {
  max-width: 980px;
  margin: 0 auto 4rem;
  text-align: center;
}

.hero .eyebrow {
  text-align: center;
}

.hero h1 {
  font-size: clamp(3.25rem, 8vw, 100px);
  line-height: 1;
  letter-spacing: -2px;
  margin: 0 0 1.4rem;
}

.hero-sig {
  font-family: var(--sans);
  font-style: normal;
  font-size: 1.2125rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 auto 3rem;
  max-width: 560px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  text-align: left;
}

.hero-grid h3 {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--rose-deep);
  font-size: 0.8875rem;
  margin-bottom: 0.7em;
}

.hero-grid p {
  font-size: 0.9575rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 600px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

/* ─── Divider ───────────────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0 0 2.5rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--rose) 30%,
    var(--rose) 70%,
    transparent
  );
}

.divider span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1875rem;
  color: var(--rose-deep);
  letter-spacing: 0.5px;
}

/* ─── Type cards ────────────────────────────────────────────────── */
.types-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

/* Dividers inside the types list use the flex gap, not their own margin */
.types-grid .divider {
  margin: 0;
}

.types-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

/* Featured cards (Video, Berlin) — horizontal layout to give them weight */
.type-card.is-featured {
  flex-direction: row;
}

.type-card.is-featured .type-image {
  flex: 0 0 48%;
  aspect-ratio: auto;
  align-self: stretch;
  min-height: 320px;
}

.type-card.is-featured .type-body {
  flex: 1;
  padding: 2.2rem 2.6rem;
  justify-content: center;
}

.type-card.is-featured h2 {
  font-size: 2.0375rem;
}

@media (max-width: 700px) {
  .type-card.is-featured {
    flex-direction: column;
  }
  .type-card.is-featured .type-image {
    flex: none;
    aspect-ratio: 4 / 5;
    min-height: 0;
  }
  .type-card.is-featured .type-body {
    padding: 1.6rem 1.8rem 1.8rem;
  }
  .type-card.is-featured h2 {
    font-size: 1.6875rem;
  }
}

.type-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
}

.type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--rose);
}

.type-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  max-height: 360px;
  background: var(--rose-mist);
}

.type-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.type-card:hover .type-image img {
  transform: scale(1.04);
}

.type-card[data-image-key="naaf"] .type-image {
  background: #010080;
}

.type-card[data-image-key="naaf"] .type-image img {
  object-fit: contain;
  object-position: center;
}

.type-card[data-image-key="naaf"]:hover .type-image img {
  transform: none;
}

/* Portrait photos (e.g. the Sydney storefront) in a landscape card:
   show the full photo in front with object-fit:contain, and fill the
   side gaps with a blurred copy of the same photo so it looks framed
   rather than letterboxed. Reuses --card-image set inline by JS. */
.type-card[data-image-key="sydney"] .type-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-image);
  background-size: cover;
  background-position: center;
  filter: blur(24px) brightness(0.88);
  transform: scale(1.15);
  z-index: 0;
}

.type-card[data-image-key="sydney"] .type-image img {
  position: relative;
  z-index: 1;
  object-fit: contain;
  object-position: center;
}

.type-card[data-image-key="sydney"]:hover .type-image img {
  transform: none;
}

.type-body {
  padding: 1.6rem 1.8rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.type-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.type-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7375rem;
  font-weight: 400;
  color: var(--rose);
  line-height: 1;
}

.type-loc {
  font-size: 0.8175rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #fff;
  padding: 0.55em 1.1em;
  background: #4b2a26;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
  user-select: none;
}

.type-loc:hover {
  background: #2b2422;
  transform: translateY(-1px);
}

.type-loc:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 3px;
}

.type-card.is-featured .type-loc {
  font-size: 0.8875rem;
  padding: 0.6em 1.2em;
}

@media (max-width: 700px) {
  .type-loc {
    font-size: 0.6575rem;
    padding: 0.45em 0.9em;
    letter-spacing: 1.3px;
  }
  .type-card.is-featured .type-loc {
    font-size: 0.7175rem;
    padding: 0.5em 1em;
  }
}

.type-card h2 {
  font-size: 1.7175rem;
  line-height: 1.15;
  margin: 0;
}

.type-card .meta {
  font-size: 0.7975rem;
  color: var(--rose-deep);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  font-weight: 500;
}

.type-desc {
  color: var(--ink-soft);
  font-size: 0.9875rem;
  line-height: 1.55;
  flex: 1;
  margin: 0.4rem 0 1.2rem;
}

.type-card .tag {
  font-family: var(--serif);
  font-size: 1.1175rem;
  color: var(--rose-deep);
  margin: 0.3rem 0 1.2rem;
}

.berlin-card {
  background: var(--rose-soft);
  border-color: var(--rose);
}

.berlin-card .type-num {
  font-size: 1.3375rem;
  color: var(--rose-deep);
}

.berlin-card .type-num {
  font-size: 1.3375rem;
  color: var(--rose-deep);
}

.skeleton-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 460px;
  position: relative;
  overflow: hidden;
}

.skeleton-card.skeleton-feature {
  height: 340px;
}

.skeleton-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(217, 178, 175, 0.2),
    transparent
  );
  animation: shimmer 1.6s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.8575rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 1em 1.8em;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-align: center;
  align-self: flex-start;
}

.btn svg {
  transition: transform 0.25s;
}

.btn.arrow:hover svg {
  transform: translateX(4px);
}

.btn:hover {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  color: var(--cream);
}

.btn.primary {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
}

.btn.primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn.ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.8175rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.back svg {
  transition: transform 0.2s;
}

.back:hover {
  color: var(--rose-deep);
}

.back:hover svg {
  transform: translateX(-3px);
}

/* ─── Picker ────────────────────────────────────────────────────── */
.picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 800px) {
  .picker {
    grid-template-columns: 1fr;
  }
}

.calendar,
.times {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}

.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--serif);
  font-size: 1.4875rem;
  font-style: italic;
  margin-bottom: 1.2rem;
  color: var(--ink);
}

.calendar-nav button {
  background: none;
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1375rem;
  color: var(--ink);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-nav button:hover:not(:disabled) {
  border-color: var(--rose-deep);
  color: var(--rose-deep);
  background: var(--rose-mist);
}

.calendar-nav button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.calendar-weekdays {
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--ink-faded);
  letter-spacing: 1.5px;
  margin-bottom: 0.6rem;
  padding: 0 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.0875rem;
  font-weight: 400;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}

.cal-day.empty {
  visibility: hidden;
}

.cal-day.unavailable {
  color: var(--ink-faded);
  cursor: not-allowed;
  opacity: 0.5;
}

.cal-day.available::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rose);
}

.cal-day.available:hover {
  background: var(--rose-soft);
  color: var(--rose-deep);
}

.cal-day.selected {
  background: var(--rose-deep);
  color: var(--cream);
  font-weight: 500;
}

.cal-day.selected::after {
  background: var(--cream);
}

/* ─── Country / timezone picker ────────────────────────────────── */
.tz-block {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}

.tz-label {
  font-size: 0.7375rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.country-picker {
  position: relative;
}

.cp-button {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  font-family: var(--sans);
  font-size: 0.9875rem;
  padding: 0.7em 0.95em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-align: left;
}

.cp-button:hover {
  border-color: var(--rose);
}

.country-picker[data-open="true"] .cp-button {
  border-color: var(--rose-deep);
  box-shadow: 0 0 0 4px var(--rose-mist);
}

.cp-flag {
  width: 22px;
  height: auto;
  border-radius: 2px;
  display: block;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.cp-label {
  flex: 1;
  font-weight: 400;
}

.cp-offset {
  font-size: 0.8175rem;
  color: var(--ink-soft);
  letter-spacing: 0.5px;
  font-variant-numeric: tabular-nums;
}

.cp-chevron {
  display: flex;
  align-items: center;
  color: var(--ink-soft);
  transition: transform 0.2s;
}

.country-picker[data-open="true"] .cp-chevron {
  transform: rotate(180deg);
}

.cp-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  z-index: 50;
  overflow: hidden;
  display: none;
  flex-direction: column;
  max-height: 360px;
}

.country-picker[data-open="true"] .cp-panel {
  display: flex;
  animation: cpFade 0.18s ease;
}

@keyframes cpFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cp-search {
  font-family: var(--sans);
  font-size: 0.8575rem;
  padding: 0.7em 1em;
  margin: 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: #f7f7f7;
  border-radius: 0;
  color: var(--ink);
}

.cp-search:focus {
  outline: none;
  box-shadow: none;
}

.cp-list {
  list-style: none;
  margin: 0;
  padding: 0.3rem 0;
  overflow-y: auto;
  flex: 1;
}

.cp-list::-webkit-scrollbar {
  width: 6px;
}
.cp-list::-webkit-scrollbar-track {
  background: #f5f5f5;
}
.cp-list::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 3px;
}

.cp-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6em 1em;
  cursor: pointer;
  font-size: 0.9575rem;
  color: var(--ink);
  transition: background 0.12s;
}

.cp-option:hover {
  background: #f5f5f5;
}

.cp-option[aria-selected="true"] {
  background: #ebebeb;
  color: var(--ink);
  font-weight: 500;
}

.cp-option.is-hidden {
  display: none;
}

.cp-name {
  flex: 1;
}

.cp-gmt {
  font-size: 0.8175rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.times h3 {
  font-style: italic;
  font-size: 1.4875rem;
  margin: 0 0 1rem;
}

.times-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.5rem;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}

.times-list::-webkit-scrollbar {
  width: 6px;
}
.times-list::-webkit-scrollbar-track {
  background: var(--rose-mist);
  border-radius: 3px;
}
.times-list::-webkit-scrollbar-thumb {
  background: var(--rose);
  border-radius: 3px;
}

.time-slot {
  padding: 0.95em 1em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1.0175rem;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.15s;
}

.time-slot:hover {
  border-color: var(--rose-deep);
  color: var(--rose-deep);
  background: var(--rose-mist);
}

.time-slot.selected {
  background: var(--rose-deep);
  color: var(--cream);
  border-color: var(--rose-deep);
}

/* ─── Form ──────────────────────────────────────────────────────── */
form {
  max-width: 680px;
  margin-top: 2rem;
}

/* Honeypot: visually hidden but still in the accessibility tree of bots */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Phone field: country picker on the left, input on the right */
.phone-field {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  margin-top: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-field:focus-within {
  border-color: var(--rose-deep);
  box-shadow: 0 0 0 4px var(--rose-mist);
}

.phone-field .phone-country {
  order: -1; /* visually first, even though input is first in DOM (so label focuses input) */
  position: relative;
}

.phone-field input[name="phone"] {
  flex: 1;
  border: none;
  margin: 0;
  padding: 0.95em 1em;
  background: transparent;
  border-radius: 0;
  font-size: 1.0375rem;
}

.phone-field input[name="phone"]:focus {
  outline: none;
  box-shadow: none;
}

.pc-button {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 100%;
  padding: 0 0.95em;
  border: none;
  border-right: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.9875rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  transition: background 0.15s;
}

.pc-button:hover {
  background: #f5f5f5;
}

.pc-flag {
  width: 22px;
  height: auto;
  border-radius: 2px;
  display: block;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.pc-dial {
  font-weight: 400;
}

.pc-chevron {
  display: flex;
  align-items: center;
  color: var(--ink-soft);
  transition: transform 0.2s;
}

.phone-country[data-open="true"] .pc-chevron {
  transform: rotate(180deg);
}

.pc-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  z-index: 50;
  overflow: hidden;
  display: none;
  flex-direction: column;
  max-height: 320px;
}

.phone-country[data-open="true"] .pc-panel {
  display: flex;
  animation: cpFade 0.18s ease;
}

.pc-search {
  font-family: var(--sans);
  font-size: 0.8575rem;
  padding: 0.7em 1em;
  margin: 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  border-radius: 0;
  color: var(--ink);
}

.pc-search:focus {
  outline: none;
  box-shadow: none;
}

.pc-list {
  list-style: none;
  margin: 0;
  padding: 0.3rem 0;
  overflow-y: auto;
  flex: 1;
}

.pc-list::-webkit-scrollbar {
  width: 6px;
}
.pc-list::-webkit-scrollbar-track {
  background: #f5f5f5;
}
.pc-list::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 3px;
}

.pc-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6em 1em;
  cursor: pointer;
  font-size: 0.9575rem;
  color: var(--ink);
  transition: background 0.12s;
}

.pc-option:hover {
  background: #f5f5f5;
}

.pc-option[aria-selected="true"] {
  background: #ebebeb;
  color: var(--ink);
  font-weight: 500;
}

.pc-option.is-hidden {
  display: none;
}

.pc-name {
  flex: 1;
}

.pc-dial-code {
  font-size: 0.8875rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

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

label {
  display: block;
  color: var(--ink);
  font-weight: 500;
}

/* Field label text — clear, readable, not uppercase */
.lbl {
  display: block;
  font-size: 0.9875rem;
  letter-spacing: 0.2px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 0.45rem;
}

.lbl-hint {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.8875rem;
}

.lbl-req {
  color: var(--rose-deep);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1.0375rem;
  font-weight: 400;
  padding: 0.95em 1em;
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--rose-deep);
  box-shadow: 0 0 0 4px var(--rose-mist);
}

/* Custom validation error state */
input.has-error,
select.has-error,
textarea.has-error {
  border-color: #c8493a;
  background: #fdf5f3;
}

input.has-error:focus,
select.has-error:focus,
textarea.has-error:focus {
  box-shadow: 0 0 0 4px rgba(200, 73, 58, 0.12);
}

.field-error {
  display: none;
  align-items: center;
  gap: 0.4rem;
  margin: 0.45rem 0 0;
  font-size: 0.8875rem;
  font-weight: 500;
  color: #c8493a;
  line-height: 1.4;
}

.field-error.is-visible {
  display: flex;
  animation: shake 0.32s ease;
}

.field-error::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: #c8493a;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2 1 21h22L12 2zm0 6 7 12H5l7-12zm-1 4v4h2v-4h-2zm0 5v2h2v-2h-2z'/></svg>")
    center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2 1 21h22L12 2zm0 6 7 12H5l7-12zm-1 4v4h2v-4h-2zm0 5v2h2v-2h-2z'/></svg>")
    center/contain no-repeat;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.custom-fields {
  margin-top: 2.4rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.intake-head {
  margin-bottom: 1.6rem;
}

.custom-fields h3 {
  font-family: var(--serif);
  font-size: 1.8375rem;
  font-style: normal;
  font-weight: 500;
  margin: 0 0 0.3rem;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.intake-helper {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.0175rem;
  font-style: italic;
}

.custom-fields label,
.custom-fields .field {
  display: block;
  margin-bottom: 1.4rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
}

/* ─── Fancy select (custom dropdown for intake form) ──────────────── */
.fs {
  position: relative;
}

.fs-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  font-family: var(--sans);
  font-size: 1.0375rem;
  padding: 0.95em 1em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  text-align: left;
  font-weight: 400;
}

.fs-button:hover {
  border-color: var(--rose);
}

.fs[data-open="true"] .fs-button {
  border-color: var(--rose-deep);
  box-shadow: 0 0 0 4px var(--rose-mist);
}

.fs-value {
  flex: 1;
  color: var(--ink);
}

.fs-value.is-empty {
  color: var(--ink-faded);
}

.fs-chevron {
  display: flex;
  align-items: center;
  color: var(--ink-soft);
  transition: transform 0.2s;
}

.fs[data-open="true"] .fs-chevron {
  transform: rotate(180deg);
}

.fs-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  z-index: 50;
  overflow: hidden;
  display: none;
  flex-direction: column;
  max-height: 320px;
}

.fs[data-open="true"] .fs-panel {
  display: flex;
  animation: cpFade 0.18s ease;
}

.fs-search {
  font-family: var(--sans);
  font-size: 0.8875rem;
  padding: 0.75em 1em;
  margin: 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  border-radius: 0;
  color: var(--ink);
}

.fs-search:focus {
  outline: none;
  box-shadow: none;
}

.fs-list {
  list-style: none;
  margin: 0;
  padding: 0.3rem 0;
  overflow-y: auto;
  flex: 1;
}

.fs-list::-webkit-scrollbar {
  width: 6px;
}
.fs-list::-webkit-scrollbar-track {
  background: #f5f5f5;
}
.fs-list::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 3px;
}

.fs-option {
  padding: 0.75em 1em;
  cursor: pointer;
  font-size: 1.0175rem;
  color: var(--ink);
  transition: background 0.12s;
}

.fs-option:hover {
  background: #f5f5f5;
}

.fs-option[aria-selected="true"] {
  background: #ebebeb;
  color: var(--ink);
  font-weight: 500;
}

.fs-option.is-hidden {
  display: none;
}

.consent {
  display: flex;
  gap: 0.8em;
  align-items: flex-start;
  margin: 2rem 0 0.4rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  font-size: 1.0175rem;
  line-height: 1.55;
  font-weight: 400;
}

.consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: none;
}

#submit-btn {
  margin-top: 1.8rem;
}

.consent input {
  width: auto;
  margin: 0.2em 0 0;
  accent-color: var(--rose-deep);
}

/* ─── Done ──────────────────────────────────────────────────────── */
.done-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--rose);
  border-radius: var(--radius);
  padding: 3.2rem 2.5rem 3rem;
  max-width: 540px;
  margin: 2rem auto;
  box-shadow: var(--shadow);
}

.done-card .btn {
  margin: 1.4rem auto 0;
  align-self: center;
}

.done-when {
  font-family: var(--serif);
  font-size: 1.3375rem;
  line-height: 1.4;
  margin: 0 0 0.6rem;
  color: var(--ink);
}

.done-when strong {
  font-weight: 500;
}

.done-sub {
  font-size: 0.9875rem;
  margin-bottom: 2rem;
}

.done-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0 0 0.4rem;
  text-align: left;
}

.action-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95em 1.2em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 1.0175rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.action-link:hover {
  border-color: var(--rose-deep);
  background: var(--rose-mist);
  color: var(--rose-deep);
  transform: translateX(2px);
}

.action-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose-deep);
  flex: none;
  transition: background 0.2s;
}

.action-link:hover .action-icon {
  background: var(--rose-deep);
  color: var(--cream);
}

.action-label {
  flex: 1;
}

.action-arrow {
  display: flex;
  align-items: center;
  color: var(--ink-faded);
  transition: transform 0.2s, color 0.2s;
}

.action-link:hover .action-arrow {
  transform: translateX(3px);
  color: var(--rose-deep);
}

/* Destructive cancel action — separates it visually from the others */
.action-link.is-danger .action-icon {
  background: #fbeae7;
  color: #c8493a;
}

.action-link.is-danger:hover {
  border-color: #c8493a;
  background: #fdf5f3;
  color: #c8493a;
}

.action-link.is-danger:hover .action-icon {
  background: #c8493a;
  color: var(--cream);
}

.action-link.is-danger:hover .action-arrow {
  color: #c8493a;
}

/* Cancelled state — same card, different content */
.done-card.is-cancelled {
  border-color: var(--line);
}

.done-card.is-cancelled .check {
  background: #fbeae7;
  color: #c8493a;
}

.done-card.is-cancelled .eyebrow {
  color: #c8493a;
}

/* ─── Confirmation modal ─────────────────────────────────────────── */
dialog.modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 480px;
  width: calc(100vw - 2rem);
  color: var(--ink);
}

dialog.modal::backdrop {
  background: rgba(31, 26, 24, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

dialog.modal[open] {
  animation: modalIn 0.18s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2rem 1.6rem;
  box-shadow: 0 24px 64px rgba(31, 26, 24, 0.25);
}

.modal-card h3 {
  font-size: 1.5375rem;
  font-family: var(--serif);
  font-weight: 500;
  margin: 0 0 0.6rem;
  color: var(--ink);
}

.modal-card p {
  font-size: 0.9375rem;
  line-height: 1.55;
}

.modal-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}

.modal-actions .btn {
  align-self: auto;
}

@media (max-width: 480px) {
  .modal-actions {
    flex-direction: column-reverse;
  }
  .modal-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.btn.danger {
  background: #c8493a;
  border-color: #c8493a;
  color: var(--cream);
}

.btn.danger:hover {
  background: #a83c2f;
  border-color: #a83c2f;
}

.check {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.8rem;
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pop {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.done-card h2 {
  font-size: 2.3875rem;
}

/* ─── Mac-only mailto popover ─────────────────────────────────────── */
.mail-menu {
  position: absolute;
  z-index: 1000;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(31, 26, 24, 0.18);
  padding: 0.4rem;
  min-width: 280px;
  max-width: 320px;
  animation: mailMenuIn 0.16s ease;
}

@keyframes mailMenuIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mail-menu-head {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7em 1em 0.6em;
  margin: 0 0 0.3rem;
  border-bottom: 1px solid var(--line);
}

.mail-menu-label {
  font-size: 0.6375rem;
  color: var(--ink-soft);
  letter-spacing: 0.3px;
}

.mail-menu-email {
  font-size: 0.7775rem;
  color: var(--ink);
  font-weight: 500;
  word-break: break-all;
}

.mail-menu-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.7em 1em;
  font-family: var(--sans);
  font-size: 0.7875rem;
  color: var(--ink);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.12s;
}

.mail-menu-option:hover {
  background: #f5f5f5;
}

.mail-menu-option:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: -2px;
}

.mail-menu-icon {
  font-size: 0.9125rem;
  flex: none;
  width: 24px;
  text-align: center;
}

