/* Pacific Coast Island LLC: black and white with oil-jug amber as the only colour; solid amber header bar,
   split hero, condensed uppercase headings, two-column grouped parts list, sharp corners and 1px rules */
@font-face {
  font-family: "Anton";
  src: url("fonts/anton.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("fonts/work-sans-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("fonts/work-sans-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #111111;
  --white: #ffffff;
  --amber: #f2a81d;
  --grey: #e4e4e4;
  --muted: #4a4a4a;
  --head: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Work Sans", "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(--black); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--black); text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--black); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.05; color: inherit; }
h1, h2 { font-family: var(--head); font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
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;
  background: var(--black); color: var(--white); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* solid amber bar header */
.site-header { background: var(--amber); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--black); text-decoration: none; min-width: 0; }
.brand img { width: 64px; height: 64px; }
.brand-name { font-family: var(--head); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; 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 var(--black); }
.main-nav a { display: block; padding: 8px 18px; color: var(--black); text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.9rem; }
.main-nav a:hover { background: var(--black); color: var(--amber); }
.main-nav a[aria-current="page"] { background: var(--black); color: var(--white); }
.tread { height: 14px; background: var(--black) url("assets/motif-tread.svg") 0 0 / 28px 14px; }

/* sections */
.section { padding: 56px 0; }
.pt0 { padding-top: 0; }
.dark { background: var(--black); color: var(--white); }
.dark a { color: var(--white); }
.tag { display: inline-block; margin: 0 0 16px; padding: 4px 10px; border: 1px solid var(--black); font-weight: 700; font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.05em; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.btn { display: inline-block; padding: 12px 22px; background: var(--black); color: var(--white); border: 1px solid var(--black); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.92rem; text-decoration: none; }
.btn:hover { background: var(--amber); color: var(--black); border-color: var(--amber); }
.btn-line { background: var(--white); color: var(--black); }
.dark .btn { background: var(--amber); color: var(--black); border-color: var(--amber); }
.dark .btn:hover { background: var(--white); border-color: var(--white); }
.dark .btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }

/* split hero */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.split.two { grid-template-columns: 1.3fr 1fr; align-items: start; }
.hero-art { width: 100%; border: 1px solid var(--black); }
.shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #3a3a3a; }
.shelf li + li { border-left: 1px solid #3a3a3a; }
.shelf a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px 20px; text-decoration: none; }
.shelf a:hover { background: #1f1f1f; }
.shelf .ico { display: block; width: 72px; height: 72px; padding: 8px; background: var(--white); }
.shelf img { width: 56px; height: 56px; }
.shelf strong { font-family: var(--head); font-weight: 400; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; }
.shelf span:last-child { color: #bdbdbd; font-size: 0.92rem; }
.ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--black); }
.ruled li { padding: 13px 0; border-bottom: 1px solid var(--grey); color: var(--muted); }
.ruled strong { color: var(--black); }
.spot { background: var(--amber); padding: 30px; border: 1px solid var(--black); }
.spot-label { margin: 0 0 6px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; }
.spot-price { font-family: var(--head); font-size: 1.7rem; letter-spacing: 0.02em; margin-bottom: 14px; }

/* two-column grouped list */
.jump { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; border-left: 1px solid var(--black); border-top: 1px solid var(--black); }
.jump li { border-right: 1px solid var(--black); border-bottom: 1px solid var(--black); }
.jump a { display: block; padding: 8px 14px; font-weight: 700; text-decoration: none; text-transform: uppercase; font-size: 0.84rem; letter-spacing: 0.05em; }
.jump a:hover { background: var(--amber); }
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 48px; align-items: start; }
.group { scroll-margin-top: 16px; }
.group-head { display: flex; align-items: center; gap: 14px; padding-bottom: 10px; border-bottom: 3px solid var(--black); }
.group-head img { width: 48px; height: 48px; }
.group-head h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 13px 0; border-bottom: 1px solid var(--grey); }
.line { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.line h3 { margin: 0; }
.price { flex: none; font-weight: 700; white-space: nowrap; padding: 1px 8px; background: var(--amber); }
.price.quote { white-space: normal; max-width: 12em; text-align: right; background: var(--black); color: var(--white); padding: 4px 8px; font-size: 0.88rem; line-height: 1.35; }
.price.quote a { display: block; color: var(--amber); font-size: 0.85rem; white-space: nowrap; }
.list p { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }
.offers { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #3a3a3a; }
.offers li { padding: 22px 24px 22px 0; border-bottom: 1px solid #3a3a3a; }
.offers li:nth-child(even) { padding-left: 24px; border-left: 1px solid #3a3a3a; }
.offers h3 { font-size: 1.15rem; color: var(--amber); }
.offers p { color: #d4d4d4; margin-bottom: 8px; }
.offers .spot-price { color: var(--white); margin: 0; font-size: 1.5rem; }

/* about */
.story p { color: var(--muted); }
.story p.first { color: var(--black); font-size: 1.2rem; }
.facts-box { border: 1px solid var(--black); padding: 26px; }
.facts, .details { margin: 0 0 18px; }
.facts div, .details div { padding: 10px 0; border-bottom: 1px solid var(--grey); }
.facts dt, .details dt { font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.facts dd, .details dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.facts dd { font-weight: 700; }
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #3a3a3a; }
.why li { padding: 24px 24px 24px 0; color: #d4d4d4; }
.why li + li { padding-left: 24px; border-left: 1px solid #3a3a3a; }
.why strong { display: block; margin-bottom: 8px; font-family: var(--head); font-weight: 400; font-size: 1.5rem; text-transform: uppercase; color: var(--amber); line-height: 1.1; }

/* contact */
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--head); font-size: 2rem; text-transform: uppercase; margin-bottom: 10px; }
.hours thead th { text-align: left; padding: 8px 0; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; border-bottom: 3px solid var(--black); }
.hours tbody th, .hours tbody td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--grey); }
.hours tbody th { 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: 420px; border: 1px solid var(--black); background: var(--grey); }
.map-link { margin: 12px 0 0; }

/* footer */
.site-footer { background: var(--black); color: #cfcfcf; padding: 40px 0 24px; }
.site-footer a { color: var(--amber); }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 28px; }
.footer-name { font-family: var(--head); font-size: 1.5rem; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.footer-title { color: var(--white); font-weight: 700; 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 #3a3a3a; font-size: 0.88rem; }

@media (max-width: 1000px) {
  .bar { flex-direction: column; align-items: flex-start; }
  .split, .split.two { grid-template-columns: 1fr; gap: 30px; }
  .shelf { grid-template-columns: 1fr 1fr; }
  .shelf li:nth-child(3) { border-left: 0; }
  .shelf li:nth-child(n+3) { border-top: 1px solid #3a3a3a; }
}
@media (max-width: 760px) {
  .section { padding: 40px 0; }
  .section.pt0 { padding-top: 0; }
  .groups, .offers, .why, .footer-grid { grid-template-columns: 1fr; }
  .offers li, .offers li:nth-child(even) { padding: 18px 0; border-left: 0; }
  .why li, .why li + li { padding: 20px 0; border-left: 0; }
  .why li + li { border-top: 1px solid #3a3a3a; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .main-nav { width: 100%; }
  .main-nav ul { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--black); }
  .main-nav li + li { border-left: 0; }
  .main-nav li:nth-child(even) { border-left: 1px solid var(--black); }
  .main-nav li:nth-child(n+3) { border-top: 1px solid var(--black); }
  .main-nav a { text-align: center; padding: 10px 6px; }
  .shelf { grid-template-columns: 1fr; }
  .shelf li + li { border-left: 0; border-top: 1px solid #3a3a3a; }
  .line { flex-direction: column; gap: 6px; }
  .price.quote { text-align: left; }
  .map-frame { height: 320px; }
}
