:root {
  --ink: #1f3a5f;
  --muted: #6d7b83;
  --paper: #f7f4ed;
  --wash: #f7f4ed;
  --navy: #1f3a5f;
  --hydrangea: #7fa6c7;
  --sea-glass: #a8c6bd;
  --oyster: #d8cbb8;
  --lobster: #d96459;
  --periwinkle: #7fa6c7;
  --periwinkle-dark: #1f3a5f;
  --lemon: #d8cbb8;
  --crystal: #a8c6bd;
  --sunset: #d96459;
  --rose: #f7f4ed;
  --seagrass: #d8cbb8;
  --cocoa: #1f3a5f;
  --line: #d8cbb8;
  --shadow: 0 20px 55px rgba(31, 58, 95, 0.13);
  --radius: 8px;
  --script: "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive;
  --serif: Didot, Baskerville, Georgia, "Times New Roman", serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--paper);
  background-image: url("assets/coastal-grid-pattern.png");
  background-position: top left;
  background-repeat: repeat;
  background-size: 620px auto;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  display: none;
}

.background-icons {
  display: none;
}

.bg-icon {
  position: absolute;
  width: 116px;
  height: 116px;
  color: var(--periwinkle);
}

.bg-icon path,
.bg-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.bg-icon-1 {
  top: 34px;
  left: 320px;
  color: var(--crystal);
}

.bg-icon-2 {
  top: 38px;
  right: 270px;
  color: var(--lemon);
  transform: rotate(-8deg);
}

.bg-icon-3 {
  top: 170px;
  left: 56px;
  width: 132px;
  color: var(--rose);
}

.bg-icon-4 {
  top: 158px;
  right: 56px;
  color: var(--sunset);
  transform: rotate(7deg);
}

.bg-icon-5 {
  top: 372px;
  left: 318px;
  color: var(--seagrass);
}

.bg-icon-6 {
  top: 392px;
  right: 312px;
  width: 138px;
  color: var(--crystal);
}

.bg-icon-7 {
  bottom: 84px;
  left: 86px;
  color: var(--sunset);
}

.bg-icon-8 {
  bottom: 112px;
  right: 86px;
  width: 142px;
  color: var(--lemon);
}

.bg-icon-9 {
  bottom: 24px;
  left: 44%;
  color: var(--periwinkle-dark);
  transform: rotate(13deg);
}

.bg-icon-10 {
  top: 54px;
  left: 54%;
  color: var(--seagrass);
  transform: rotate(9deg);
}

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

.app {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 20px;
  background: rgba(247, 244, 237, 0.74);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid var(--periwinkle);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--periwinkle-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.08;
}

.brand small {
  margin-top: 4px;
  color: var(--periwinkle-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav {
  display: grid;
  gap: 8px;
  margin-top: 34px;
}

.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.nav a::before {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  background: url("assets/menu-icon.png") center / 22px 22px no-repeat;
}

.nav a.active,
.nav a:hover {
  background: rgba(168, 198, 189, 0.34);
  border-color: rgba(31, 58, 95, 0.16);
  color: var(--ink);
}

.mini-panel,
.panel,
.summary-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 244, 237, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(1px);
}

.mini-panel {
  margin-top: 32px;
  padding: 16px;
  box-shadow: none;
}

.mini-panel strong {
  display: block;
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.1;
}

.mini-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.workspace {
  padding: 28px clamp(20px, 4vw, 48px) 48px;
}

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

h1 {
  margin-bottom: 0;
  color: var(--cocoa);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 8vw, 118px);
  font-weight: 500;
  line-height: 0.86;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(31, 58, 95, 0.18);
  border-radius: var(--radius);
  background: var(--sunset);
  color: white;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(217, 100, 89, 0.22);
}

.secondary-action {
  width: 100%;
  background: var(--periwinkle-dark);
  box-shadow: 0 10px 24px rgba(31, 58, 95, 0.22);
}

.icon {
  font-size: 16px;
}

.event-banner {
  position: relative;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(216, 203, 184, 0.8);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.event-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.boston-page {
  --ink: #2b2427;
  --muted: #6f5f5b;
  --paper: #f6f2ee;
  --wash: #f6f2ee;
  --navy: #1f4d4f;
  --hydrangea: #1f4d4f;
  --sea-glass: #1f4d4f;
  --oyster: #c4a77f;
  --lobster: #6b2335;
  --periwinkle: #1f4d4f;
  --periwinkle-dark: #2b2427;
  --lemon: #c4a77f;
  --crystal: #1f4d4f;
  --sunset: #6b2335;
  --rose: #f6f2ee;
  --seagrass: #c4a77f;
  --cocoa: #6b2335;
  --line: rgba(107, 35, 53, 0.24);
  --shadow: 0 22px 58px rgba(43, 36, 39, 0.15);
  background-color: #f6f2ee;
  background-image: url("assets/boston-bubbly-background.png");
  background-position: top left;
  background-repeat: repeat;
  background-size: 627px 627px;
}

.boston-page .sidebar,
.boston-page .panel,
.boston-page .summary-panel,
.boston-page .planning-hero {
  background: rgba(246, 242, 238, 0.68);
  border-color: rgba(107, 35, 53, 0.22);
}

.boston-page .brand-mark {
  border-color: #6b2335;
  color: #6b2335;
}

.boston-page .brand small,
.boston-page .panel-label,
.boston-page .text-link {
  color: #6b2335;
}

.boston-page .nav a.active,
.boston-page .nav a:hover {
  background: rgba(107, 35, 53, 0.13);
  border-color: rgba(107, 35, 53, 0.24);
  color: #6b2335;
}

.boston-page .primary-action {
  border-color: rgba(107, 35, 53, 0.24);
  background: #6b2335;
  box-shadow: 0 10px 24px rgba(107, 35, 53, 0.22);
}

.boston-page .secondary-action {
  border-color: rgba(31, 77, 79, 0.26);
  background: #1f4d4f;
  box-shadow: 0 10px 24px rgba(31, 77, 79, 0.22);
}

.boston-banner {
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(107, 35, 53, 0.24);
  border-radius: var(--radius);
  aspect-ratio: 1774 / 887;
  background: #f6f2ee;
  box-shadow: var(--shadow);
}

.boston-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.boston-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.45fr);
  align-items: end;
  gap: 24px;
  min-height: 360px;
  padding: clamp(28px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(107, 35, 53, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(246, 242, 238, 0.96), rgba(196, 167, 127, 0.26)),
    radial-gradient(circle at 84% 16%, rgba(107, 35, 53, 0.2), transparent 30%),
    radial-gradient(circle at 14% 88%, rgba(31, 77, 79, 0.18), transparent 34%);
  box-shadow: var(--shadow);
}

.boston-hero h1 {
  max-width: 780px;
  margin: 8px 0 14px;
  color: #6b2335;
  font-family: var(--script);
  font-size: clamp(60px, 10vw, 132px);
  font-weight: 500;
  line-height: 0.82;
}

.boston-hero p {
  max-width: 640px;
  margin: 0;
  color: #2b2427;
  font-family: "Optima", "Avenir Next", ui-sans-serif, system-ui, sans-serif;
  font-size: 19px;
  line-height: 1.45;
}

.boston-illustration {
  position: relative;
  min-height: 220px;
}

.building {
  position: absolute;
  bottom: 0;
  width: 74px;
  height: 156px;
  border: 3px solid #1f4d4f;
  border-radius: 8px 8px 0 0;
  background: rgba(246, 242, 238, 0.62);
}

.building::before {
  content: "";
  position: absolute;
  inset: 22px 16px;
  background:
    linear-gradient(#c4a77f, #c4a77f) 0 0 / 12px 12px,
    linear-gradient(#c4a77f, #c4a77f) 28px 0 / 12px 12px,
    linear-gradient(#c4a77f, #c4a77f) 0 34px / 12px 12px,
    linear-gradient(#c4a77f, #c4a77f) 28px 34px / 12px 12px,
    linear-gradient(#c4a77f, #c4a77f) 0 68px / 12px 12px,
    linear-gradient(#c4a77f, #c4a77f) 28px 68px / 12px 12px;
  background-repeat: no-repeat;
  opacity: 0.72;
}

.building.tall {
  left: 24px;
  height: 206px;
}

.building:not(.tall):not(.short) {
  left: 112px;
}

.building.short {
  right: 28px;
  height: 120px;
}

.glass {
  position: absolute;
  right: 90px;
  bottom: 0;
  width: 64px;
  height: 136px;
  border: 3px solid #6b2335;
  border-top-width: 6px;
  border-radius: 8px 8px 28px 28px;
  transform: rotate(-8deg);
}

.glass::before,
.glass::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lobster);
}

.glass::before {
  bottom: -58px;
  width: 4px;
  height: 58px;
}

.glass::after {
  bottom: -62px;
  width: 46px;
  height: 4px;
  border-radius: 999px;
}

.boston-page .date-card,
.boston-page .intent-card,
.boston-page .month-note,
.boston-page .segmented-control,
.boston-page .survey-date-list label,
.boston-page select,
.boston-page .text-input {
  border-color: rgba(107, 35, 53, 0.22);
  background: rgba(246, 242, 238, 0.68);
}

.boston-page .progress-track,
.boston-page .heat-track,
.boston-page .budget-track {
  background: rgba(31, 77, 79, 0.14);
}

.boston-page .progress-track span,
.boston-page .heat-track span {
  background: #1f4d4f;
}

.boston-page .budget-row:nth-child(1) .budget-track span { background: #c4a77f; }
.boston-page .budget-row:nth-child(2) .budget-track span { background: #1f4d4f; }
.boston-page .budget-row:nth-child(3) .budget-track span { background: #6b2335; }
.boston-page .budget-row:nth-child(4) .budget-track span { background: #2b2427; }

.boston-page input {
  accent-color: #6b2335;
}

.boston-page .survey-panel,
.boston-page .privacy-note,
.boston-page .results-gate,
.boston-page .response-table-panel {
  background: rgba(246, 242, 238, 0.68);
}

.boston-page .survey-panel .panel-heading h2,
.boston-page .panel-heading h2,
.boston-page legend,
.boston-page label,
.boston-page select,
.boston-page .text-input {
  font-family: "Optima", "Avenir Next", ui-sans-serif, system-ui, sans-serif;
}

.boston-page .survey-panel .panel-heading h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 520;
}

.boston-page legend {
  color: #2b2427;
  font-size: 20px;
  font-weight: 560;
  line-height: 1.25;
}

.boston-page label {
  color: #2b2427;
  font-size: 16px;
  line-height: 1.45;
}

.boston-page .question-note {
  color: #6f5f5b;
  font-size: 14px;
  line-height: 1.5;
}

.boston-page select,
.boston-page .text-input {
  font-size: 15px;
}

.banner-date {
  position: absolute;
  left: 50%;
  bottom: clamp(6px, 2.6vw, 30px);
  transform: translateX(-50%);
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(22px, 3.8vw, 56px);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-shadow:
    0 2px 0 rgba(247, 244, 237, 0.95),
    0 0 18px rgba(247, 244, 237, 0.9);
  white-space: nowrap;
}

.banner-action {
  display: flex;
  width: fit-content;
  margin: 0 0 16px auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.planning-workspace {
  display: grid;
  gap: 16px;
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.planning-page {
  --ink: #2b2427;
  --muted: #655b5a;
  --paper: #f6f2ee;
  --wash: #f6f2ee;
  --navy: #2b2427;
  --hydrangea: #1f4d4f;
  --sea-glass: #1f4d4f;
  --oyster: #d0c3b4;
  --lobster: #6b2335;
  --periwinkle: #6b2335;
  --periwinkle-dark: #2b2427;
  --lemon: #d0c3b4;
  --crystal: #1f4d4f;
  --sunset: #6b2335;
  --rose: #f6f2ee;
  --seagrass: #d0c3b4;
  --cocoa: #6b2335;
  --line: rgba(43, 36, 39, 0.16);
  --shadow: 0 22px 58px rgba(43, 36, 39, 0.13);
  background-color: #f6f2ee;
  background-image: url("assets/planning-background.png");
  background-position: top left;
  background-repeat: repeat;
  background-size: 627px 627px;
}

.planning-page .sidebar,
.planning-page .mini-panel,
.planning-page .panel,
.planning-page .summary-panel,
.planning-page .planning-hero {
  border-color: rgba(43, 36, 39, 0.16);
  background: rgba(246, 242, 238, 0.82);
  box-shadow: 0 18px 42px rgba(43, 36, 39, 0.11);
}

.planning-page .sidebar {
  background: rgba(246, 242, 238, 0.84);
}

.planning-page .brand-mark {
  border-color: #6b2335;
  color: #6b2335;
}

.planning-page .brand small,
.planning-page .panel-label,
.planning-page .text-link {
  color: #6b2335;
}

.planning-page .brand-mark,
.planning-page .brand strong,
.planning-page .mini-panel strong {
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
}

.planning-page .nav a {
  color: #2b2427;
}

.planning-page .nav a.active,
.planning-page .nav a:hover {
  background: rgba(107, 35, 53, 0.12);
  border-color: rgba(107, 35, 53, 0.22);
  color: #6b2335;
}

.planning-page .mini-panel strong {
  color: #1f4d4f;
}

.planning-hero {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 244, 237, 0.68);
  box-shadow: var(--shadow);
  backdrop-filter: blur(1px);
}

.planning-hero h1 {
  max-width: 880px;
  margin: 8px 0 16px;
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 620;
  line-height: 0.92;
}

.planning-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--navy);
  font-family: inherit;
  font-size: 18px;
  line-height: 1.45;
}

.planning-workspace .panel-heading h2 {
  font-family: inherit;
  font-weight: 520;
}

.planning-summary,
.planning-grid {
  display: grid;
  gap: 16px;
}

.planning-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.option-card {
  display: grid;
  gap: 12px;
  align-content: start;
}

.option-card h2 {
  margin: 0;
  color: var(--ink);
  font-family: inherit;
  font-size: 28px;
  font-weight: 520;
}

.option-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.maine-option {
  border-color: rgba(217, 100, 89, 0.42);
}

.price-pair,
.cost-list li,
.per-person-grid div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 12px;
  border: 1px solid rgba(31, 58, 95, 0.12);
  border-radius: var(--radius);
  background: rgba(247, 244, 237, 0.62);
}

.price-pair span,
.cost-list span,
.per-person-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.price-pair strong,
.cost-list strong,
.per-person-grid strong {
  color: var(--periwinkle-dark);
  font-family: inherit;
  font-size: 18px;
  font-weight: 640;
  text-align: right;
}

.cost-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.planning-table th:nth-child(3),
.planning-table th:nth-child(4),
.planning-table td:nth-child(3),
.planning-table td:nth-child(4) {
  white-space: nowrap;
}

.planning-table {
  font-size: 15px;
}

.planning-table th,
.planning-table td {
  padding: 14px 13px;
}

.per-person-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.planning-note h2 {
  margin: 6px 0 8px;
  color: var(--lobster);
  font-family: inherit;
  font-size: 26px;
  font-weight: 520;
}

.planning-note ul {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--navy);
  font-family: inherit;
  line-height: 1.45;
}

.planning-note li::marker {
  color: var(--lobster);
}

.planning-page .planning-hero {
  background:
    linear-gradient(135deg, rgba(246, 242, 238, 0.96), rgba(31, 77, 79, 0.12)),
    radial-gradient(circle at 88% 18%, rgba(107, 35, 53, 0.12), transparent 28%);
}

.planning-page .planning-hero h1,
.planning-page .planning-hero p,
.planning-page .option-card h2,
.planning-page .panel-heading h2,
.planning-page .results-table td,
.planning-page .budget-row header {
  color: #2b2427;
}

.planning-page .price-pair,
.planning-page .cost-list li,
.planning-page .month-note,
.planning-page .date-card,
.planning-page .intent-card {
  border-color: rgba(43, 36, 39, 0.14);
  background: rgba(255, 252, 248, 0.58);
}

.planning-page .price-pair strong,
.planning-page .cost-list strong,
.planning-page .month-note,
.planning-page .results-table th {
  color: #6b2335;
}

.planning-page .planning-summary .option-card:nth-child(2),
.planning-page .planning-summary .option-card:nth-child(3) {
  border-color: rgba(31, 77, 79, 0.28);
}

.planning-page .planning-summary .option-card:nth-child(2) .panel-label,
.planning-page .planning-summary .option-card:nth-child(3) .panel-label {
  color: #1f4d4f;
}

.planning-page .planning-summary .option-card:nth-child(2) .price-pair strong,
.planning-page .planning-summary .option-card:nth-child(3) .price-pair strong {
  color: #1f4d4f;
}

.planning-page .maine-option {
  border-color: rgba(107, 35, 53, 0.34);
}

.planning-page .results-table th,
.planning-page .results-table td {
  border-bottom-color: rgba(43, 36, 39, 0.13);
}

.planning-page h1,
.planning-page h2,
.planning-page h3,
.planning-page strong,
.planning-page .brand-mark,
.planning-page .brand strong,
.planning-page .brand small,
.planning-page .panel-label,
.planning-page .nav a,
.planning-page .mini-panel strong,
.planning-page .planning-hero h1,
.planning-page .planning-workspace .panel-heading h2,
.planning-page .option-card h2,
.planning-page .planning-note h2,
.planning-page .price-pair span,
.planning-page .price-pair strong,
.planning-page .cost-list span,
.planning-page .cost-list strong,
.planning-page .per-person-grid span,
.planning-page .per-person-grid strong,
.planning-page .results-table th,
.planning-page .budget-row header {
  font-weight: 400;
}

.summary-panel,
.panel {
  padding: 18px;
}

.panel-label {
  display: block;
  color: var(--cocoa);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-heading {
  margin-bottom: 16px;
}

.panel-heading h2 {
  margin: 6px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
}

.survey-panel .panel-heading h2 {
  color: var(--navy);
  font-family: "Avenir Next", "Optima", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.05;
}

.privacy-note {
  margin-top: 16px;
}

.text-link {
  color: var(--navy);
  font-size: 14px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.question-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.row-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.intent-grid {
  display: grid;
  gap: 10px;
}

.intent-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 244, 237, 0.68);
}

.intent-card:nth-child(1) {
  border-left: 5px solid var(--crystal);
}

.intent-card:nth-child(2) {
  border-left: 5px solid var(--lemon);
}

.intent-card:nth-child(3) {
  border-left: 5px solid var(--rose);
}

.intent-card strong {
  color: var(--periwinkle-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.intent-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  min-width: 0;
}

.progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(168, 198, 189, 0.22);
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--crystal);
}

.guest-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.guest-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(222, 217, 206, 0.72);
  color: var(--muted);
  font-size: 13px;
}

.guest-list strong {
  color: var(--ink);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lemon);
}

.status-dot.done {
  background: var(--crystal);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, 0.85fr);
  gap: 16px;
}

.wide {
  grid-column: span 2;
}

.segmented-control {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px;
  border: 1px solid rgba(31, 58, 95, 0.18);
  border-radius: var(--radius);
  background: rgba(247, 244, 237, 0.68);
}

.segmented-control button {
  min-width: 62px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.segmented-control .is-selected {
  background: var(--lemon);
  color: white;
  box-shadow: 0 5px 15px rgba(216, 203, 184, 0.3);
}

.month-note {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(31, 58, 95, 0.18);
  border-radius: var(--radius);
  background: rgba(247, 244, 237, 0.68);
  color: var(--periwinkle-dark);
  font-size: 13px;
  font-weight: 850;
}

.date-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.date-card {
  min-height: 112px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 244, 237, 0.68);
}

.date-card h3 {
  margin: 0;
  color: var(--periwinkle-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.heat-track,
.budget-track {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: rgba(168, 198, 189, 0.22);
}

.heat-track span,
.budget-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--crystal);
}

.count-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.budget-bars {
  display: grid;
  gap: 14px;
}

.budget-row {
  display: grid;
  gap: 7px;
}

.budget-row header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.budget-row:nth-child(1) .budget-track span { background: var(--lemon); }
.budget-row:nth-child(2) .budget-track span { background: var(--crystal); }
.budget-row:nth-child(3) .budget-track span { background: var(--sunset); }
.budget-row:nth-child(4) .budget-track span { background: var(--seagrass); }

.survey-panel form {
  display: grid;
  gap: 14px;
}

.top-survey {
  margin-bottom: 16px;
}

.top-survey form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.top-survey fieldset:first-of-type,
.top-survey fieldset:last-of-type,
.top-survey .secondary-action {
  grid-column: span 2;
}

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

fieldset:last-of-type {
  border-bottom: 0;
}

legend {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.18;
}

label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.35;
}

.survey-date-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.survey-date-list label {
  min-height: 52px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 244, 237, 0.68);
}

.survey-date-list span,
.survey-date-list strong,
.survey-date-list small {
  display: block;
}

.survey-date-list strong {
  color: var(--ink);
  font-size: 13px;
}

.survey-date-list small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

input {
  width: 16px;
  height: 16px;
  accent-color: var(--periwinkle);
}

select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 244, 237, 0.76);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
}

.text-input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 244, 237, 0.76);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
}

.compact-textarea {
  min-height: 78px;
  max-height: 96px;
  padding: 10px 12px;
  line-height: 1.4;
  resize: vertical;
}

.results-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.results-header {
  margin-bottom: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(247, 244, 237, 0.9);
  box-shadow: var(--shadow);
}

.results-header h1 {
  margin-top: 10px;
}

.results-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.results-header p {
  margin: 8px 0 0;
  color: var(--muted);
}

.results-gate {
  max-width: 560px;
}

.results-gate form {
  display: grid;
  gap: 14px;
}

.results-gate label {
  display: grid;
}

.table-wrap {
  overflow-x: auto;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.results-table th,
.results-table td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.results-table th {
  color: var(--navy);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  max-width: min(360px, calc(100vw - 44px));
  padding: 12px 14px;
  border: 1px solid rgba(247, 244, 237, 0.25);
  border-radius: var(--radius);
  background: var(--periwinkle-dark);
  color: white;
  font-size: 14px;
  font-weight: 750;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .bg-icon {
    opacity: 0.42;
  }

  .app {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    padding: 18px 20px;
  }

  .nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 18px;
  }

  .mini-panel {
    display: none;
  }

  .hero-grid,
  .dashboard-grid,
  .planning-summary,
  .planning-grid,
  .boston-hero {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 760px) {
  .background-icons {
    display: none;
  }

  .workspace {
    padding: 20px 14px 34px;
  }

  .row-heading {
    align-items: stretch;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(42px, 14vw, 64px);
  }

  .primary-action {
    width: 100%;
  }

  .banner-action {
    width: 100%;
    margin-bottom: 16px;
  }

  .nav {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .dashboard-grid,
  .date-options,
  .planning-summary,
  .planning-grid,
  .per-person-grid,
  .boston-hero {
    grid-template-columns: 1fr;
  }

  .boston-hero {
    min-height: auto;
  }

  .boston-illustration {
    min-height: 180px;
  }

  .top-survey form {
    grid-template-columns: 1fr;
  }

  .top-survey fieldset:first-of-type,
  .top-survey fieldset:last-of-type,
  .top-survey .secondary-action {
    grid-column: span 1;
  }

  .wide {
    grid-column: span 1;
  }

  .segmented-control {
    width: 100%;
  }
}
