:root {
  --ink: #142033;
  --muted: #4a5568;
  --paper: #f6f3ec;
  --card: #fffdf8;
  --line: #e2d9c8;
  --navy: #0e2744;
  --sea: #1d5c57;
  --brass: #8a6a32;
  --focus: #0b5fff;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--navy);
  color: white;
  padding: 0.75rem 1rem;
  z-index: 2;
}

.skip:focus { top: 1rem; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

header.top {
  background: var(--navy);
  color: white;
}

header.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.mark {
  color: white;
  text-decoration: none;
  font-family: Palatino, Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

.mark span { color: #e6d3a1; }

nav { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.btn-light {
  background: white;
  color: var(--navy);
}

.btn-sea {
  background: var(--sea);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.45);
}

.hero {
  padding: 3.5rem 0 2rem;
}

h1, h2 {
  font-family: Palatino, Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 16ch; }

h2 { font-size: 1.8rem; }

.lede {
  max-width: 38rem;
  font-size: 1.2rem;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  padding-bottom: 2.5rem;
}

article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.25rem;
}

article h2 { font-size: 1.35rem; }

article p { margin: 0; color: var(--muted); }

.panel {
  background: white;
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
}

form {
  display: grid;
  gap: 0.75rem;
  max-width: 32rem;
}

label { font-weight: 600; }

input, textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.8rem;
  border: 1px solid #c9bfae;
  border-radius: 0.6rem;
  font: inherit;
  background: white;
}

textarea { min-height: 8rem; }

select {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.8rem;
  border: 1px solid #c9bfae;
  border-radius: 0.6rem;
  font: inherit;
  background: white;
}

.sheet { padding: 2.5rem 0 3rem; }

.banner {
  background: #fff6e8;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
  margin: 0 0 1.25rem;
  max-width: 40rem;
}

table.queue {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 2rem;
}

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

table.queue a,
.note a,
[data-fill="phone"] a {
  color: var(--sea);
}

[role="status"] {
  margin: 0;
  color: var(--sea);
  font-weight: 600;
}

footer {
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.note {
  color: var(--brass);
  font-weight: 600;
}
