/* Northern Pearl LLC: warm sunset orange, screen amber, coral and pearl cream with warm charcoal; centred logo with
   the navigation below, saturated orange bands with white text over white content, a narrow document-like column,
   humanist sans, price tables, pill buttons and tags, scattered pearl-dot texture */
@font-face {
  font-family: "Fira Sans";
  src: url("fonts/fira-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("fonts/fira-sans-600.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("fonts/fira-sans-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #c2410c;
  --orange-d: #9a330a;
  --coral: #f08060;
  --amber: #f59e0b;
  --pearl: #f7f1e8;
  --char: #2b2321;
  --white: #ffffff;
  --ink: #2b2321;
  --muted: #6b5c57;
  --rule: #eadfd6;
  --sans: "Fira Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-d); text-underline-offset: 3px; }
a:hover { color: var(--char); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 3.6rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
p { margin: 0 0 1em; }
address { font-style: normal; }
.doc { width: min(780px, 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: 999px;
  background: var(--char); color: var(--white); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* centred logo, navigation below */
.site-header { background: var(--pearl); border-bottom: 1px solid var(--rule); }
.center-head { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 0 16px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.brand img { width: 84px; height: 84px; border-radius: 18px; }
.brand-name { font-weight: 700; font-size: 1.55rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.main-nav a { display: block; padding: 6px 16px; border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; }
.main-nav a:hover { background: #efe3d4; color: var(--ink); }
.main-nav a[aria-current="page"] { background: var(--orange); color: var(--white); }

/* orange bands */
.band { background: var(--orange) url("assets/motif-pearls.svg") 0 0 / 36px 36px; color: var(--white); padding: 52px 0 48px; text-align: center; }
.band h1 { color: var(--white); }
.tag { display: inline-block; margin: 0 0 14px; padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.6); font-weight: 600; font-size: 0.88rem; }
.lede { font-size: 1.15rem; color: #ffe9dc; max-width: 34em; margin-inline: auto; }
.band .btn-row { justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pill { display: inline-block; padding: 9px 22px; border-radius: 999px; border: 2px solid var(--orange); color: var(--orange-d); font-weight: 700; text-decoration: none; }
.pill:hover { background: var(--pearl); }
.pill-solid { background: var(--orange); color: var(--white); }
.pill-solid:hover { background: var(--orange-d); border-color: var(--orange-d); color: var(--white); }
.pill-light { background: var(--white); border-color: var(--white); color: var(--orange-d); }
.pill-light:hover { background: var(--pearl); border-color: var(--pearl); color: var(--orange-d); }
.pill-ghost { border-color: var(--white); color: var(--white); }
.pill-ghost:hover { background: var(--white); color: var(--orange-d); }
.pill-tag { display: inline-block; padding: 3px 14px; border-radius: 999px; background: var(--amber); color: var(--char); font-weight: 700; }

/* narrow document column */
.page-body { padding: 40px 0 64px; display: grid; gap: 44px; }
.hero-art { width: 100%; border-radius: 24px; border: 1px solid var(--rule); margin-top: -70px; background: var(--pearl); }
.cat-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cat-pills a { display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 8px; border-radius: 999px; border: 1px solid var(--rule); background: var(--pearl); color: var(--ink); font-weight: 600; text-decoration: none; }
.cat-pills a:hover { border-color: var(--orange); }
.cat-pills img { width: 36px; height: 36px; }
.ruled { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--char); }
.ruled li { padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--muted); }
.ruled strong { color: var(--ink); }
.note-card { background: var(--pearl); border-radius: 24px; padding: 28px; border: 1px solid var(--rule); }
.note-card p { color: var(--muted); }
.kicker { margin: 0 0 4px; color: var(--orange-d) !important; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* price tables */
.jump { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: block; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--rule); background: var(--pearl); color: var(--ink); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.jump a:hover { border-color: var(--orange); }
.cat { scroll-margin-top: 14px; }
.cat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cat-head img { width: 48px; height: 48px; }
.cat-head h2 { margin: 0; letter-spacing: 0.03em; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th { text-align: left; padding: 8px 0; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-d); border-bottom: 2px solid var(--char); }
.price-table thead th:last-child { text-align: right; }
.price-table tbody th, .price-table tbody td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.price-table tbody th { font-weight: 400; padding-right: 18px; }
.item-name { display: block; font-weight: 700; }
.item-desc { display: block; color: var(--muted); font-size: 0.94rem; }
.price-table .price { text-align: right; white-space: nowrap; }
.price-table td.price { font-weight: 700; color: var(--orange-d); }
.price-table td.price.quote { white-space: normal; min-width: 9.5em; color: var(--ink); line-height: 1.35; }
.price-table td.price.quote a { display: block; margin-top: 4px; white-space: nowrap; font-size: 0.9rem; }
#featured .btn-row { margin-top: 16px; }

/* about */
.story p { color: var(--muted); }
.story p.first { color: var(--ink); font-size: 1.28rem; line-height: 1.55; }
.facts { margin: 0; border-top: 2px solid var(--char); }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.facts dt { color: var(--orange-d); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 3px; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* contact */
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-weight: 700; font-size: 1.75rem; margin-bottom: 8px; }
.hours thead th { text-align: left; padding: 8px 0; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-d); border-bottom: 2px solid var(--char); }
.hours tbody th, .hours tbody td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.hours tbody th { padding-right: 14px; font-weight: 600; }
.hours td { white-space: nowrap; }
.map-frame { display: block; width: 100%; height: 380px; border: 1px solid var(--rule); border-radius: 24px; background: var(--pearl); }
.map-link { margin: 12px 0 0; }

/* footer */
.site-footer { background: var(--char); color: #e3d6cf; padding: 40px 0 24px; }
.site-footer a { color: #ffc89e; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 24px; }
.footer-name { font-weight: 700; font-size: 1.25rem; 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 #4a3c38; font-size: 0.86rem; }

@media (max-width: 700px) {
  .band { padding: 42px 0 38px; }
  .hero-art { margin-top: -40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; }
  .price-table tbody tr { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .price-table tbody th, .price-table tbody td { padding: 0; border: 0; }
  .price-table .price { text-align: left; margin-top: 4px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .main-nav, .main-nav ul { width: 100%; }
  .main-nav ul { display: grid; grid-template-columns: 1fr 1fr; }
  .main-nav a { text-align: center; padding: 6px 8px; }
  .map-frame { height: 300px; }
}
