:root {
  --topbar-h: 64px;
  --bg-image: url("https://loveleroyporter-assets.s3.us-east-2.amazonaws.com/loveleroyporter_background.png");
  --ivory: #fbf7ee;
  --ink: #111111;
  --gold: #b59a5d;
  --gold-rgb: 181, 154, 93;
  --text: rgba(255, 255, 255, 0.93);
  --muted: rgba(255, 255, 255, 0.72);
  --card-border: rgba(var(--gold-rgb), 0.5);
  --btn-bg: rgba(0, 0, 0, 0.35);
  --btn-border: rgba(var(--gold-rgb), 0.7);
  --btn-hover: rgba(0, 0, 0, 0.5);
  --focus: #ffffff;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg-image) center / cover no-repeat;
  line-height: 1.6;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.topbar {
  height: var(--topbar-h);
  background: var(--ivory);
  color: var(--ink);
  display: grid;
  place-items: center;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.6);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.14);
}

.topbar__inner {
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-variant: small-caps;
}

.page {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-y: auto;
}

.portrait {
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
}

.portrait__img {
  display: block;
  width: 100%;
  max-width: 660px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.card {
  width: 100%;
  max-width: 700px;
  background: linear-gradient(
    180deg,
    rgba(28, 26, 23, 0.88) 0%,
    rgba(18, 17, 16, 0.94) 100%
  );
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 26px 26px 24px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
  text-align: center;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 12px;
  border: 1px solid rgba(var(--gold-rgb), 0.2);
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 10px;
  border: 1px solid rgba(var(--gold-rgb), 0.15);
  pointer-events: none;
}

.header {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.3);
  margin-bottom: 18px;
}

h1 {
  font-family: "Snell Roundhand", "Apple Chancery", "Brush Script MT",
    "Lucida Handwriting", cursive;
  font-size: clamp(2.1rem, 4vw, 2.85rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 6px;
  font-weight: 500;
  color: var(--gold);
}

.dates {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
}

.section + .section {
  margin-top: 24px;
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(0.95rem, 1.4vw, 1.02rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-variant: small-caps;
  color: rgba(255, 255, 255, 0.88);
}

.schedule-date {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.address {
  font-style: normal;
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-color: rgba(var(--gold-rgb), 0.5);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: rgba(var(--gold-rgb), 0.9);
}

.map {
  margin: 14px 0 0;
}

.schedule-table {
  margin: 0 auto;
  border-collapse: collapse;
}

.schedule-table th {
  text-align: right;
  padding: 6px 14px 6px 0;
  font-weight: 450;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-variant: small-caps;
  vertical-align: baseline;
  white-space: nowrap;
}

.schedule-table td {
  text-align: left;
  padding: 6px 0 6px 14px;
  color: var(--text);
  font-weight: 400;
  vertical-align: baseline;
}

.btn {
  appearance: none;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-variant: small-caps;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
}

.btn:hover {
  background: var(--btn-hover);
}

.btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.btn-primary {
  background: rgba(0, 0, 0, 0.42);
  border-color: rgba(var(--gold-rgb), 0.85);
}

@media (max-width: 480px) {
  .page {
    padding: 12px;
  }
  .portrait {
    margin-bottom: 16px;
  }
  .portrait__img {
    max-width: 100%;
  }
  .card {
    padding: 24px 16px;
    border-radius: 12px;
  }
  .card::before { inset: 6px; }
  .card::after { inset: 9px; }
  
  h1 {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
    margin-bottom: 8px;
  }
  
  .section + .section {
    margin-top: 20px;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}

@media print {
  body {
    background: #ffffff !important;
    background-image: none !important;
    color: #000000 !important;
    overflow: visible !important;
    display: block;
  }
  .topbar {
    box-shadow: none;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
  }
  .page {
    padding: 0;
    min-height: auto;
    display: block;
  }
  .card {
    max-width: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff !important;
    color: #000000 !important;
    padding: 0;
  }
  .portrait {
    margin-bottom: 20px;
  }
  .portrait__img {
    max-width: 200px;
    box-shadow: none;
    border: 1px solid #eeeeee;
  }
  .card::before,
  .card::after {
    display: none !important;
  }
  h1 {
    color: #000000 !important;
    font-family: ui-serif, Georgia, serif; /* Fallback for script fonts in print */
    font-weight: bold;
  }
  a {
    text-decoration: none;
    color: #000000 !important;
  }
  .map {
    display: none !important;
  }
}


