:root {
  --navy: #2a4e68;
  --navy-dark: #1d3a50;
  --navy-soft: #e4ecf2;
  --cream: #f7efe5;
  --paper: #fffcf7;
  --ink: #1c2833;
  --muted: #566370;
  --line: #ddd5c4;
  --accent: #9c4221;
  --accent-soft: #f6e4d8;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 42, 38, 0.06), 0 6px 18px rgba(29, 42, 38, 0.06);
  --serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', Palatino, serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-dark); }
:focus-visible { outline: 3px solid #e0a100; outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(100% - 32px, 960px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { background: var(--paper); color: var(--navy); border-bottom: 3px solid var(--navy); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; min-width: 0; }
.brand img { height: 46px; width: auto; flex: none; }
.brand span { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; line-height: 1.1; }
.brand small { display: block; font-family: var(--sans); font-weight: 400; font-size: 0.72rem; opacity: 0.85; letter-spacing: 0.02em; }
.nav { display: flex; gap: 4px; flex: none; }
.nav a { color: var(--navy); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current='page'] { background: var(--navy-soft); color: var(--navy-dark); }

/* Banner */
.banner { background: var(--accent-soft); color: #5a2410; border-bottom: 1px solid #e6c4ad; }
.banner p { margin: 0; padding: 12px 0; font-weight: 600; }

/* Hero */
.hero { padding: 40px 0 24px; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--accent); margin: 0 0 8px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--navy-dark); }
h1 { font-size: clamp(2rem, 6.5vw, 3rem); margin: 0 0 10px; }
.hero-logo { width: 180px; height: auto; margin: 0 auto 18px; }
.hero p.lede { font-size: 1.15rem; color: var(--muted); margin: 0 auto; max-width: 34em; }

/* Quick actions */
.actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 26px 0 8px; }
.action {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 108px; padding: 14px 10px; text-align: center; text-decoration: none; font-weight: 700;
  background: var(--paper); color: var(--navy-dark); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.action svg { width: 30px; height: 30px; stroke: var(--navy); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.action small { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.action:hover { border-color: var(--navy); color: var(--navy-dark); }
.action.primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.action.primary svg { stroke: #fff; }
.action.primary small { color: rgba(255, 255, 255, 0.85); }
.action.primary:hover { background: var(--navy-dark); color: #fff; }

/* Sections */
section.block { padding: 28px 0; }
section.block > .wrap > h2 { font-size: 1.6rem; margin: 0 0 14px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.cards { display: grid; gap: 14px; }
.card h3 { margin: 0 0 6px; font-size: 1.2rem; }
.card p { margin: 0 0 12px; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

address { font-style: normal; margin: 0 0 14px; }

.btn {
  display: inline-block; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  background: var(--navy); color: #fff; border: 2px solid var(--navy); font-family: inherit;
}
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy-soft); color: var(--navy-dark); }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* Updates */
.update { border-left: 4px solid var(--navy); padding: 4px 0 4px 16px; margin: 0 0 18px; }
.update:last-child { margin-bottom: 0; }
.update time { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.update h3 { margin: 2px 0 4px; font-size: 1.15rem; }
.update p { margin: 0; color: var(--ink); }

/* Hours */
table.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.today { background: var(--navy-soft); }
.hours tr.today th::after { content: 'Today'; margin-left: 8px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; background: var(--navy); color: #fff; padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.note { font-size: 0.95rem; color: var(--muted); margin: 14px 0 0; }

/* Install hint */
.install { background: var(--navy-soft); border: 1px solid #c3d3df; border-radius: var(--radius); padding: 16px 18px; }
.install p { margin: 0 0 10px; }
.install p:last-child { margin: 0; }

/* Form */
.form-card { max-width: 640px; margin-inline: auto; }
label { display: block; font-weight: 600; margin: 0 0 4px; }
.field { margin-bottom: 16px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 0.9rem; }
input[type='text'], input[type='tel'], input[type='email'], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; padding: 12px 14px; border: 1.5px solid #b9b19e; border-radius: 10px;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: 3px solid rgba(42, 78, 104, 0.25); }
.row { display: grid; gap: 0 14px; }
.counter { text-align: right; font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.privacy { background: var(--accent-soft); border: 1px solid #e6c4ad; color: #5a2410; padding: 12px 14px; border-radius: 10px; font-size: 0.95rem; margin-bottom: 18px; }
.privacy strong { color: #4a1d0d; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.status[hidden] { display: none; }
.status.error { background: #fbe4e1; color: #7a1c12; border: 1px solid #efb7b0; }
.status.info { background: var(--navy-soft); color: var(--navy-dark); border: 1px solid #c3d3df; }
.offline-note { background: #fff3cd; color: #5d4500; border: 1px solid #e8d28a; border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; font-weight: 600; }
.offline-note[hidden] { display: none; }
.thanks { text-align: center; padding: 8px 0; }
.thanks h2 { margin-top: 0; }
#ts-box { margin: 4px 0 16px; min-height: 65px; }

/* Footer */
.site-footer { margin-top: 36px; background: var(--navy-dark); color: #dbe5ed; padding: 28px 0 36px; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 6px; }

@media (min-width: 640px) {
  .hero-logo { width: 220px; }
  .brand img { height: 52px; }
  .actions { grid-template-columns: repeat(4, 1fr); }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .row.two { grid-template-columns: 1fr 1fr; }
  .site-header .wrap { padding-block: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-header, .actions, .install, .site-footer { display: none; } body { background: #fff; } }
