/* Pacific Coast Insight LLC: lab neutrals (white, steel grey, graphite) with one bold Pacific-teal accent;
   saturated teal hero and section bands with white text over white content areas; split hero; high-contrast
   display serif headings over a light sans; solid teal header bar; compact rows with price badges; sharp
   corners and 1px rules; graph-paper motif on the bands */
@font-face {
  font-family: "Gloock";
  src: url("fonts/gloock-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-300.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-500.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #00757f;
  --teal-dk: #005a62;
  --teal-pale: #e3f3f4;
  --graphite: #13272b;
  --steel: #55666a;
  --rule: #cfd8da;
  --white: #ffffff;
  --display: "Gloock", "Didot", "Bodoni MT", Georgia, serif;
  --sans: "Poppins", "Segoe UI", Arial, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--graphite); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dk); text-underline-offset: 3px; }
a:hover { color: var(--graphite); }
:focus-visible { outline: 2px solid var(--graphite); outline-offset: 3px; }
.band :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
strong { font-weight: 500; }
p { margin: 0 0 1em; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--graphite); color: var(--white); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* solid coloured header bar */
.site-header { background: var(--teal-dk); color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .25); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--white); text-decoration: none; }
.brand img { width: 64px; height: auto; }
.brand-name { font-family: var(--display); font-size: 1.45rem; line-height: 1.1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.main-nav li + li { border-left: 1px solid rgba(255, 255, 255, .3); }
.main-nav a { display: block; padding: 6px 16px; color: var(--white); text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav a:hover { background: rgba(255, 255, 255, .12); }
.main-nav a[aria-current="page"] { background: var(--white); color: var(--teal-dk); }

/* bands and plain content areas */
.band { background: var(--teal) url("assets/motif-graph.svg") repeat; background-size: 48px 48px; color: var(--white); padding: 64px 0; }
.band h2, .band h1 { color: var(--white); }
.plain { padding: 64px 0; }
.plain + .plain { border-top: 1px solid var(--rule); padding-top: 52px; }
.kicker { font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1em; color: #cdeef0; }
.kicker.dark { color: var(--teal-dk); }
.lede { font-size: 1.15rem; max-width: 34em; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero { padding: 70px 0 64px; }
.hero-art { width: 100%; }
.intro { padding: 54px 0 50px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.btn { display: inline-block; padding: 12px 20px; font-weight: 500; text-decoration: none; border: 1px solid transparent; }
.btn.light { background: var(--white); color: var(--teal-dk); }
.btn.light:hover { background: var(--graphite); color: var(--white); }
.btn.outline { color: var(--white); border-color: var(--white); }
.btn.outline:hover { background: var(--white); color: var(--teal-dk); }
.btn.solid { background: var(--teal); color: var(--white); }
.btn.solid:hover { background: var(--graphite); color: var(--white); }
.btn.ghost { color: var(--teal-dk); border-color: var(--teal); }
.btn.ghost:hover { background: var(--teal-pale); }

.cat-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); }
.cat-row li + li { border-left: 1px solid var(--rule); }
.cat-row a { display: grid; gap: 10px; padding: 26px; height: 100%; color: var(--graphite); text-decoration: none; }
.cat-row a:hover { background: var(--teal-pale); }
.cat-row img { width: 58px; }
.cn { font-family: var(--display); font-size: 1.4rem; line-height: 1.15; }
.cc { font-size: .9rem; color: var(--steel); }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.ticks li { padding: 14px 0 14px 30px; border-top: 1px solid rgba(255, 255, 255, .35); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 23px; width: 14px; height: 14px; border: 1px solid var(--white); background: rgba(255, 255, 255, .25); }
.spot { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; border: 1px solid var(--graphite); padding: 30px; }
.spot p { margin: 0; }
.spot h2 { margin-bottom: .25em; }

/* compact rows with price badges */
.badge { margin: 0; display: inline-block; padding: 4px 12px; background: var(--teal); color: var(--white); font-weight: 500; white-space: nowrap; font-size: 1rem; }
.badge.big { font-size: 1.4rem; padding: 6px 16px; }
.badge.quote { background: var(--white); color: var(--teal-dk); border: 1px solid var(--teal); white-space: normal; font-size: .88rem; }
.jump { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; border: 1px solid rgba(255, 255, 255, .5); width: fit-content; max-width: 100%; }
.jump li + li { border-left: 1px solid rgba(255, 255, 255, .5); }
.jump a { display: block; padding: 7px 14px; color: var(--white); text-decoration: none; font-size: .9rem; font-weight: 500; }
.jump a:hover { background: rgba(255, 255, 255, .15); }
.cat { scroll-margin-top: 12px; }
.plain.cat { padding: 48px 0; }
.cat-head { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--graphite); }
.cat-head img { width: 52px; }
.cat-head h2 { margin: 0; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.row h3 { font-family: var(--sans); font-weight: 500; font-size: 1.02rem; margin: 0 0 .1em; }
.row .txt p { margin: 0; color: var(--steel); font-size: .95rem; }
.rows.on-band { margin-top: 10px; }
.rows.on-band .row { border-bottom-color: rgba(255, 255, 255, .35); }
.rows.on-band .txt p { color: #e3f3f4; }
.rows.on-band .badge { background: var(--white); color: var(--teal-dk); }

/* about */
.split-about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.story .first { font-family: var(--display); font-size: 1.55rem; line-height: 1.35; }
.facts { margin: 0; border-top: 1px solid var(--graphite); }
.facts div { display: grid; grid-template-columns: 10em 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 500; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dk); }
.facts dd { margin: 0; }
address { font-style: normal; }

/* contact */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.hours { width: 100%; border-collapse: collapse; border-top: 1px solid var(--graphite); }
.hours caption { text-align: left; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5em; }
.hours th, .hours td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--rule); }
.hours thead th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dk); font-weight: 500; }
.hours tbody th { font-weight: 500; }
.map-frame { width: 100%; height: 380px; border: 1px solid var(--rule); background: var(--teal-pale); display: block; }
.map-link { margin: 14px 0 0; font-weight: 500; }

/* footer */
.site-footer { background: var(--graphite); color: #c9d5d7; padding: 44px 0 26px; }
.site-footer a { color: var(--white); }
.foot { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.footer-name { font-family: var(--display); font-size: 1.45rem; color: var(--white); margin-bottom: .3em; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { border-bottom: 1px solid #2d4246; }
.footer-list a { display: block; padding: 6px 0; }
.footer-bottom { margin: 26px 0 0; padding-top: 14px; border-top: 1px solid #2d4246; font-size: .85rem; }

@media (max-width: 900px) {
  .split, .split-about, .two-up { grid-template-columns: 1fr; gap: 34px; }
  .cat-row { grid-template-columns: 1fr; }
  .cat-row li + li { border-left: 0; border-top: 1px solid var(--rule); }
  .cat-row a { grid-template-columns: 52px 1fr; padding: 18px; }
  .cat-row img { width: 52px; grid-row: span 2; }
  .ticks.two { grid-template-columns: 1fr; }
  .spot { grid-template-columns: 1fr; justify-items: start; gap: 16px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .band, .plain { padding: 46px 0; }
  .bar { justify-content: center; }
  .brand img { width: 56px; }
  .brand-name { font-size: 1.25rem; }
  .main-nav ul { justify-content: center; }
  .main-nav a { padding: 6px 9px; font-size: .86rem; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .row .badge { justify-self: start; }
  .jump { width: auto; border: 0; gap: 6px; }
  .jump li + li { border-left: 0; }
  .jump a { border: 1px solid rgba(255, 255, 255, .5); }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
