@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --navy: #14213d;
  --navy-2: #1b2a4a;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --gold: #c9a227;
  --gold-soft: #e6d39a;
  --crimson: #a4262c;
  --crimson-dark: #861d22;
  --green: #2f7d4f;
  --ink: #23201b;
  --muted: #6b6357;
  --line: #e7dcc7;
  --radius: 18px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; font-size: 16px; }
a { color: inherit; }
img, svg { display: block; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* Header */
.top { position: absolute; inset: 0 0 auto; z-index: 2; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font-family: var(--serif); font-size: 24px; letter-spacing: .3px; }
.brand-tag { font-size: 11px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--gold-soft); padding-left: 4px; }
.top nav a { color: rgba(246, 241, 231, .8); text-decoration: none; font-size: 14px; margin-left: 24px; }
.top nav a:hover { color: #fff; }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 600px at 75% 10%, #233a66 0%, var(--navy) 55%, #0d1730 100%); color: var(--cream); overflow: hidden; padding: 120px 0 140px; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5; }
.hero-skyline { position: absolute; right: -40px; bottom: 0; width: min(760px, 75vw); opacity: .16; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-soft); margin: 40px 0 18px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -.5px; margin: 0 0 22px; }
h1 em { font-style: italic; color: var(--gold-soft); }
.lede { font-size: 18px; color: rgba(246, 241, 231, .82); max-width: 520px; margin: 0 0 30px; }
.live { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(246, 241, 231, .75); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); padding: 8px 14px; border-radius: 999px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #5bd18b; box-shadow: 0 0 0 0 rgba(91, 209, 139, .6); animation: pulse 2s infinite; }
.pulse.off { background: #c9a227; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(91, 209, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 209, 139, 0); } }

/* Card */
.card { background: var(--paper); color: var(--ink); border-radius: var(--radius); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45), 0 0 0 1px rgba(201, 162, 39, .18); padding: 30px; }
.card h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0 0 4px; }
.step-label { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; font-weight: 600; font-size: 15px; }
.step-label span { font-family: var(--serif); color: var(--crimson); font-size: 15px; }
.hint { color: var(--muted); font-size: 14px; margin: 0 0 14px; }

/* Calendar */
.cal { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-title { font-family: var(--serif); font-size: 18px; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 16px; color: var(--ink); }
.cal-nav button:hover:not(:disabled) { border-color: var(--gold); }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: 12px; color: var(--muted); padding: 4px 0; letter-spacing: .5px; }
.cal-day { position: relative; aspect-ratio: 1 / .86; border: 0; background: transparent; border-radius: 10px; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; transition: background .15s, color .15s; }
.cal-day:hover:not(:disabled) { background: #f3ead8; }
.cal-day:disabled { color: #c8bfae; cursor: default; }
.cal-day.today { font-weight: 700; }
.cal-day.sel, .cal-day.sel:hover:not(:disabled) { background: var(--navy); color: #fff; }
.cal-day .dot { position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; }
.cal-day .dot.sold { background: #c7a9a3; }
.cal-day .dot.open { background: var(--green); }
.cal-day.sel .dot.sold { background: rgba(255, 255, 255, .45); }
.cal-legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); margin-top: 10px; flex-wrap: wrap; }
.cal-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 34px; margin: 14px 0 22px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #f3ead8; border: 1px solid var(--line); border-radius: 999px; padding: 5px 8px 5px 12px; font-size: 14px; }
.chip button { border: 0; background: transparent; cursor: pointer; font-size: 16px; line-height: 1; color: var(--muted); padding: 0 2px; }
.chip button:hover { color: var(--crimson); }
.chips .empty { color: var(--muted); font-size: 14px; align-self: center; }

/* Form */
.field { display: flex; gap: 10px; }
input[type=email] { flex: 1; min-width: 0; font: inherit; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
input[type=email]:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.btn { font: inherit; font-weight: 600; border: 0; border-radius: 999px; padding: 14px 24px; background: var(--crimson); color: #fff; cursor: pointer; white-space: nowrap; transition: background .15s, transform .05s; text-decoration: none; display: inline-block; }
.btn:hover { background: var(--crimson-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--crimson); color: var(--crimson); }
.fine { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.error { color: var(--crimson); font-size: 14px; margin: 10px 0 0; min-height: 1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.done { text-align: center; padding: 30px 10px; }
.done .icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #f3ead8; color: var(--crimson); font-size: 28px; }
.done h2 { font-size: 28px; margin-bottom: 8px; }
.done p { color: var(--muted); margin: 0 auto 6px; max-width: 360px; }

.banner { background: #e9f4ec; border: 1px solid #bfe0c9; color: #1f5537; padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 15px; }
.banner a { font-weight: 600; }

/* Sections */
section { padding: 96px 0; }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; margin: 0 0 14px; }
.section-lede { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 0 48px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step .num { font-family: var(--serif); font-size: 40px; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 0 0 8px; }
.step p { color: var(--muted); margin: 0; }

.faq { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-child { padding-top: 0; }
summary { cursor: pointer; list-style: none; font-family: var(--serif); font-size: 19px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--gold); font-size: 24px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 10px 0 0; }

footer { padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer p { margin: 0; max-width: 640px; }

/* Simple pages (manage, 404) */
.page { min-height: 100vh; background: radial-gradient(1000px 500px at 80% 0%, #233a66 0%, var(--navy) 60%, #0d1730 100%); padding: 110px 0 60px; }
.page .card { max-width: 520px; margin: 0 auto; }
.page .top { position: absolute; }

@media (max-width: 900px) {
  .hero { padding: 96px 0 80px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .eyebrow { margin-top: 20px; }
  .steps { grid-template-columns: 1fr; }
  .faq .wrap { grid-template-columns: 1fr; gap: 24px; }
  .top nav { display: none; }
  section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .card { padding: 22px 18px; }
  .field { flex-direction: column; }
  .brand-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

/* Long-form text (privacy) */
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 28px 0 8px; }
.prose p, .prose li { color: #3d382f; }
.prose ul { padding-left: 20px; }
.page .card.prose { max-width: 720px; padding: 40px; }

/* Photos */
.visit { padding-bottom: 0; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.photo { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; height: 380px; object-fit: cover; }
.photo figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px; flex-wrap: wrap; }
.photo figcaption strong { font-family: var(--serif); font-weight: 500; font-size: 19px; }
.photo figcaption span { font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .photos { grid-template-columns: 1fr; } .photo img { height: 260px; } }

/* Guided tours (affiliate) */
.tours { margin-top: 28px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: center; background: var(--navy); color: var(--cream); border-radius: var(--radius); padding: 30px 34px; }
.tours h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0 0 8px; }
.tours p { margin: 0; color: rgba(246, 241, 231, .78); }
.tours-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.tours-cta .fine { color: rgba(246, 241, 231, .55); margin: 0; font-size: 12px; }
@media (max-width: 900px) { .tours { grid-template-columns: 1fr; padding: 24px; } .tours-cta { align-items: flex-start; } }

/* Free-alert emphasis */
.bell { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.badge { display: inline-flex; align-items: center; gap: 10px; margin: 40px 0 20px; padding: 7px 16px 7px 12px; border-radius: 999px; border: 1px solid rgba(201, 162, 39, .55); background: rgba(201, 162, 39, .12); color: var(--gold-soft); font-size: 14px; font-weight: 600; letter-spacing: .3px; }
.badge .bell { color: var(--gold); animation: ring 4s ease-in-out infinite; transform-origin: 50% 10%; }
.badge i { width: 4px; height: 4px; border-radius: 50%; background: rgba(230, 211, 154, .5); }
.badge-sub { font-weight: 400; color: rgba(246, 241, 231, .7); }
@keyframes ring { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(14deg); } 88% { transform: rotate(-12deg); } 92% { transform: rotate(8deg); } 96% { transform: rotate(-4deg); } }
.perks { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--cream); font-size: 15px; }
.perks li { display: flex; align-items: center; gap: 8px; }
.perks .tick { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(91, 209, 139, .18); color: #7fe0a6; font-size: 12px; font-weight: 700; }

.card { position: relative; overflow: hidden; }
.ribbon { position: absolute; top: 0; right: 0; width: 120px; height: 120px; overflow: hidden; pointer-events: none; }
.ribbon span { position: absolute; top: 24px; right: -38px; width: 160px; transform: rotate(45deg); text-align: center; background: linear-gradient(90deg, #b8901c, var(--gold), #b8901c); color: #1b1606; font-weight: 800; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; padding: 6px 0; box-shadow: 0 4px 10px rgba(0, 0, 0, .15); }
.card-head { display: flex; align-items: center; gap: 14px; margin: 0 70px 22px 0; }
.card-head h2 { font-size: 22px; margin: 0; line-height: 1.2; }
.card-head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.bell-ring { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #fbeaea; color: var(--crimson); box-shadow: 0 0 0 6px #fdf4f3; }
.bell-ring .bell { width: 24px; height: 24px; animation: ring 4s ease-in-out infinite; transform-origin: 50% 10%; }
.btn-icon { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
@media (max-width: 900px) { .badge { margin-top: 20px; } }
@media (max-width: 480px) { .badge-sub, .badge i { display: none; } .card-head { margin-right: 56px; } }
@media (prefers-reduced-motion: reduce) { .bell { animation: none !important; } }
.tours-cta .btn { min-width: 220px; text-align: center; }
.btn-light { background: transparent; color: var(--cream); border: 1px solid rgba(246, 241, 231, .4); }
.btn-light:hover { background: rgba(255, 255, 255, .08); }

/* Photo in the hero */
.hero { padding-bottom: 130px; background:
  linear-gradient(180deg, #0d1730 0%, rgba(13, 23, 48, .9) 55%, rgba(13, 23, 48, .35) 80%, rgba(13, 23, 48, .6) 100%),
  linear-gradient(90deg, rgba(13, 23, 48, 0) 45%, #0d1730 80%),
  url('/photos/parliament.webp') 0 calc(100% + 200px) / max(1150px, 80vw) auto no-repeat, #0d1730; }
.crown-chip { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 24px; padding: 6px 18px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(201, 162, 39, .35); }
.crown-chip img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.crown-chip strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 16px; color: var(--cream); }
.crown-chip span { font-size: 13px; color: rgba(246, 241, 231, .65); }
@media (max-width: 900px) {
  .hero { background:
    linear-gradient(180deg, rgba(13, 23, 48, .8) 0%, rgba(20, 33, 61, .93) 45%, rgba(13, 23, 48, .98) 100%),
    url('/photos/parliament.webp') 50% 0 / auto 420px no-repeat, var(--navy); }
}
.cal-day.closed { color: #b9ae9b; text-decoration: line-through; text-decoration-color: rgba(185, 174, 155, .7); }
.cal-legend s { color: #b9ae9b; }

/* Feedback form */
.fb textarea, .fb input:not([type=radio]):not([type=checkbox]) { width: 100%; box-sizing: border-box; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); margin: 0 0 10px; resize: vertical; }
.fb textarea:focus, .fb input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.fb-choice { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.fb-choice label { flex: 1; min-width: 140px; display: flex; gap: 8px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.fb-choice label:has(input:checked) { border-color: var(--crimson); box-shadow: 0 0 0 1px var(--crimson); }
.fb-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 2px 0 18px; }
.fb .step-label em { font-style: normal; color: var(--muted); font-weight: 400; }

/* Guide pages (generated by site/tools/guides.mjs) */
.top nav a[href="/#signup"] { color: var(--gold-soft); }
.page .card.guide { max-width: 760px; padding: 44px; }
.guide h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 42px); line-height: 1.12; margin: 0 0 14px; color: var(--navy); }
.guide-lede { font-size: 18px; }
.guide h2 { font-size: 24px; margin-top: 34px; }
.guide ol { padding-left: 22px; }
.guide li { margin-bottom: 8px; }
.guide-photo { width: 100%; height: 280px; object-fit: cover; border-radius: 14px; margin: 8px 0 4px; }
.guide .credit { font-size: 12px; color: var(--muted); margin: 0 0 18px; }
.guide-cta { display: flex; gap: 16px; align-items: flex-start; background: #fbf4e6; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin: 22px 0; }
.guide-cta > .bell { width: 28px; height: 28px; color: var(--crimson); margin-top: 10px; }
.guide-cta p { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.guide-cta .btn { white-space: normal; }
.prices { width: 100%; border-collapse: collapse; font-size: 15px; margin: 6px 0 8px; }
.prices th, .prices td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.prices th { font-weight: 600; background: #f6efe1; }
.prices td + td, .prices th + th { text-align: right; white-space: nowrap; }
.guide-langs { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.guide-foot { max-width: 760px; margin: 22px auto 0; font-size: 13px; color: rgba(246, 241, 231, .6); }
.guide-foot a { color: rgba(246, 241, 231, .8); }
@media (max-width: 480px) { .page .card.guide { padding: 26px 18px; } .guide-cta { flex-direction: column; } .prices { font-size: 13px; } }
