/* American Haven Technology LLC: white page, harbour blue accent with ink navy, sage and manila folder tones;
   editorial main column with a narrow side column, pill navigation, compact rows with price badges, 4px radius */
@font-face {
  font-family: "Folio Rounded";
  src: url("fonts/folio-rounded-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Folio Rounded";
  src: url("fonts/folio-rounded-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Folio Rounded";
  src: url("fonts/folio-rounded-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --ink: #1d2e44;
  --harbor: #2b5d7c;
  --harbor-dark: #224b65;
  --sage: #7d9580;
  --manila: #d8c398;
  --manila-pale: #f6f1e4;
  --mist: #f1f4f0;
  --rule: #dde2dc;
  --muted: #53606b;
  --r: 4px;
  --font: "Folio Rounded", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17.5px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--harbor); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--manila); outline-offset: 2px; border-radius: var(--r); }
h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.04rem; font-weight: 600; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: var(--r);
  background: var(--harbor); color: var(--white); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* header: logo left, pill buttons right */
.site-header { border-bottom: 1px solid var(--rule); background: var(--white); }
.head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand img { width: 64px; height: 64px; border-radius: var(--r); }
.brand-name { font-weight: 700; font-size: 1.15rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.main-nav a { display: block; padding: 8px 18px; border: 1.5px solid var(--rule); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.main-nav a:hover { border-color: var(--harbor); color: var(--harbor); }
.main-nav a[aria-current="page"] { background: var(--harbor); border-color: var(--harbor); color: var(--white); }

/* editorial grid */
.section { padding: 52px 0; }
.tint { background: var(--mist) url("assets/motif-ruled.svg") 0 0 / 120px 28px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ed { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.side { border-left: 1px solid var(--rule); padding-left: 28px; }
.side-box { padding: 4px 0; }
.side-box + .side-box { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--rule); }
.side-title { font-size: 1.2rem; margin-bottom: 12px; }
.side-line { margin: 0 0 6px; overflow-wrap: anywhere; }
.sticky { position: sticky; top: 20px; }
.tag { display: inline-block; margin: 0 0 16px; padding: 4px 12px; border-radius: var(--r); background: var(--manila-pale); color: #5d4c26; font-weight: 600; font-size: 0.88rem; }
.kicker { display: block; margin-bottom: 6px; color: var(--sage); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 40em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.btn { display: inline-block; padding: 11px 20px; border-radius: var(--r); background: var(--harbor); color: var(--white); font-weight: 700; text-decoration: none; border: 1.5px solid var(--harbor); }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-line { background: var(--white); color: var(--harbor); }
.btn-line:hover { background: var(--harbor); color: var(--white); }
.text-link { font-weight: 700; }
.hero-art { width: 100%; margin-top: 30px; border-radius: var(--r); }

.mini-hours { margin: 0 0 14px; }
.mini-hours div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 0.94rem; }
.mini-hours dt { font-weight: 600; }
.mini-hours dd { margin: 0; color: var(--muted); white-space: nowrap; }
.desks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.desks a { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 16px; border-radius: var(--r); background: var(--white); border: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.desks a:hover { border-color: var(--harbor); }
.desks img { width: 48px; height: 48px; flex: none; }
.desks strong { display: block; font-size: 1.05rem; }
.desks small { display: block; color: var(--muted); font-size: 0.88rem; line-height: 1.45; margin-top: 2px; }
.spot p { color: var(--muted); }
.ruled { list-style: none; margin: 0 0 10px; padding: 0; border-top: 1px solid var(--ink); }
.ruled li { padding: 13px 0; border-bottom: 1px solid var(--rule); color: var(--muted); }
.ruled strong { color: var(--ink); }

/* compact rows with price badges */
.cat { margin-top: 36px; scroll-margin-top: 16px; }
.cat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.cat-head img { width: 44px; height: 44px; }
.cat-head h2 { margin: 0; font-size: clamp(1.1rem, 2vw, 1.3rem); letter-spacing: 0.06em; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.rows h3 { margin: 0; }
.rows p { margin: 2px 0 0; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.price { text-align: right; }
.badge { display: inline-block; padding: 5px 12px; border-radius: var(--r); background: var(--harbor); color: var(--white); font-weight: 700; font-size: 0.94rem; white-space: nowrap; }
.badge.quote { background: var(--manila); color: var(--ink); white-space: normal; max-width: 13em; text-align: center; line-height: 1.3; }
.price .call { display: block; margin-top: 5px; font-size: 0.86rem; font-weight: 600; white-space: nowrap; }
.index { list-style: none; margin: 0 0 16px; padding: 0; }
.index a { display: block; padding: 8px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 600; }
.index a:hover { color: var(--harbor); }

/* about */
.story p { color: var(--muted); }
.story p.first { color: var(--ink); font-size: 1.2rem; line-height: 1.55; }
.story h2 { margin-top: 34px; }
.facts, .details { margin: 0 0 16px; }
.facts div, .details div { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.facts dt, .details dt { color: var(--sage); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.facts dd, .details dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.details dd { font-weight: 400; }

/* contact */
.hours { width: 100%; max-width: 560px; border-collapse: collapse; margin: 10px 0 36px; }
.hours caption { text-align: left; font-weight: 700; font-size: 1.45rem; margin-bottom: 8px; }
.hours thead th { text-align: left; padding: 8px 0; color: var(--sage); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 2px solid var(--ink); }
.hours tbody th, .hours tbody td { text-align: left; vertical-align: top; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.hours tbody th { font-weight: 600; padding-right: 14px; }
.hours td { white-space: nowrap; }
.hours td.closed { color: var(--muted); }
.hours .note { display: block; white-space: normal; color: var(--muted); font-size: 0.9rem; }
.map-frame { display: block; width: 100%; height: 400px; border: 1px solid var(--rule); border-radius: var(--r); background: var(--mist); }
.map-link { margin: 12px 0 0; }

/* footer */
.site-footer { background: var(--ink); color: #d3dbe3; padding: 40px 0 24px; }
.site-footer a { color: #f0d9a8; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 28px; }
.footer-name { font-weight: 700; font-size: 1.15rem; color: var(--white); margin-bottom: 6px; }
.footer-title { color: var(--white); font-weight: 600; margin-bottom: 8px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { margin: 26px 0 0; padding-top: 14px; border-top: 1px solid rgba(211, 219, 227, 0.25); font-size: 0.88rem; }

@media (max-width: 980px) {
  .head { flex-direction: column; align-items: flex-start; }
  .ed { grid-template-columns: 1fr; gap: 30px; }
  .side { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 24px; }
  .sticky { position: static; }
}
@media (max-width: 700px) {
  .section { padding: 38px 0; }
  .desks, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16.5px; }
  .main-nav ul { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .main-nav { width: 100%; }
  .main-nav a { text-align: center; padding: 8px 10px; }
  .rows li { grid-template-columns: 1fr; }
  .price { text-align: left; }
  .map-frame { height: 320px; }
}
.jump-mobile { display: none; }
@media (max-width: 980px) {
  .index-side { display: none; }
  .jump-mobile { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 8px; padding: 0; }
  .jump-mobile a { display: block; padding: 6px 14px; border: 1.5px solid var(--rule); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
}
