/* =====================================================================
   OC Direct Auto Glass "Dressed Harbor": INNER PAGES (service + location), 2026-11-25.
   Loaded after homepage.css + home-wow.css; reuses their tokens and components.
   ===================================================================== */

/* ---------- inner hero ---------- */
.phero { padding-top: clamp(36px, 5vw, 72px); }
.phero .hero-grid { align-items: center; }
.h1-in { font-size: clamp(34px, 4.3vw, 58px); line-height: 1.04; text-wrap: balance; }
.h1-in .ln > span { display: block; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; margin: 0 0 22px; padding: 0; list-style: none; font: 600 13px/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.crumbs li + li::before { content: ""; display: inline-block; width: 18px; height: 10px; margin: 0 10px; vertical-align: 1px;
  background: linear-gradient(90deg, var(--red) 0 33%, var(--yellow) 33% 66%, var(--blue) 66%); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.crumbs a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--red-ink); }
.ph-tab { position: absolute; left: -14px; top: 22px; z-index: 4; display: flex; align-items: center; gap: 9px; padding: 7px 12px 7px 7px; background: var(--white);
  border: 2px solid var(--ink); border-radius: 3px; font: 700 18px/1 var(--display); box-shadow: 4px 4px 0 var(--ink); animation: riseIn 1s var(--ease) .9s both; }
.ph-tab .tab-flag { width: 40px; transform-origin: 50% 0; animation: sway 3.2s ease-in-out infinite alternate; }
@media (max-width: 900px) { .ph-tab { left: 10px; top: 10px; } }

/* ---------- the doc: sticky chart nav + sections ---------- */
.doc { background: var(--white); }
.doc-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.chart-nav { position: sticky; top: calc(var(--bar-h) + 24px); max-height: calc(100vh - var(--bar-h) - 48px); overflow: auto; padding-bottom: 8px; scrollbar-width: thin; }
.chart-nav .mast { position: relative; top: 0; }
.chart-nav .mast li { grid-template-columns: 30px 1fr; padding: 5px 8px; }
.chart-nav .mast-t { color: inherit; text-decoration: none; font: 600 13.5px/1.3 var(--display); }
.chart-nav .mast-t:hover { color: var(--red-ink); }
.chart-nav .mast-flag { width: 30px; }
.doc-body { max-width: 780px; }
.ds { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--bar-h) + 16px); }
.ds:first-child { border-top: 0; padding-top: 0; }
.ds-n { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 700 14px/1 var(--display); letter-spacing: .16em; color: var(--red-ink); }
.ds-flag { width: 30px; height: auto; }
.ds .h2 { margin-bottom: 20px; }
.ds p { font-size: 17.5px; }
.ds-photo { margin: 6px 0 28px; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 12px 12px 0 var(--yellow), 12px 12px 0 2px var(--ink); }
.ds:nth-child(3n+1) .ds-photo { box-shadow: -12px 12px 0 var(--blue); }
.ds:nth-child(3n+2) .ds-photo { box-shadow: 12px -12px 0 var(--red); }
.ds-photo img { width: 100%; height: 100%; object-fit: cover; }

/* cards (h3 groups) */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 10px; }
.card { position: relative; padding: 24px 22px 18px; background: var(--sail); border: 1.5px solid var(--ink); border-radius: var(--r); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card-flag { position: absolute; right: 16px; top: -14px; }
.card-flag svg { width: 40px; height: auto; transform-origin: 50% 0; }
.card .h3 { font-size: 20px; margin: 0 48px 10px 0; }
.card p { font-size: 16.5px; }
@media (hover: hover) { .card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--yellow); } .card:hover .card-flag svg { animation: sway 1.6s ease-in-out infinite alternate; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* vertical steps on a halyard */
.vsteps { position: relative; display: grid; gap: 26px; margin-top: 18px; padding-left: 0; }
.vsteps::before { content: ""; position: absolute; left: 31px; top: 18px; bottom: 18px; border-left: 2px dashed var(--ink); }
.vstep { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.vstep .pn { position: relative; width: 64px; display: grid; place-items: center; }
.vstep .pn img { width: 52px; height: auto; transform-origin: 0 50%; }
.vstep .pn b { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font: 700 15px/1 var(--display); color: var(--ink); }
.vstep .h3 { font-size: 21px; margin: 6px 0 8px; }
.vstep.in .pn img { animation: sway 4.6s ease-in-out infinite alternate; animation-delay: calc(var(--k) * -1.1s); }

/* price plate (the board without a table) */
.plate { background: var(--ink); color: #e8ebef; border: 2px solid var(--ink); border-radius: var(--r); padding: 26px 28px 10px; box-shadow: 10px 10px 0 var(--yellow); position: relative; }
.plate-top { display: flex; align-items: center; gap: 10px; margin: -6px 0 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .14);
  font: 700 12.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.plate-top .board-flag { width: 30px; height: auto; }
.plate p { color: #e8ebef; font-size: 17.5px; }
.plate a[href^="tel:"] { color: var(--yellow-2); font-weight: 700; }
.cost .plate { margin-top: 8px; }

/* receipt-style ticket inside the doc */
.ticket { background: var(--sail); border: 1.5px solid var(--ink); border-bottom: 3px dashed var(--ink); padding: 22px 24px 26px; box-shadow: 0 18px 34px -26px rgba(14, 17, 22, .5); }

/* signal callout */
.signal { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 22px 24px 8px; background: var(--sail); border-left: 5px solid var(--red); border-radius: 0 var(--r) var(--r) 0; }
.signal-flag svg { width: 52px; height: auto; transform-origin: 50% 0; animation: sway 3.4s ease-in-out infinite alternate; }
.signal-lg { padding: 30px 30px 14px; border: 2px solid var(--ink); border-left-width: 8px; box-shadow: 10px 10px 0 var(--blue); }
.note { padding: 14px 18px; border-left: 4px solid var(--yellow); background: var(--sail-2); font-weight: 600; }
.zips { font: 700 15px/1.6 var(--display); letter-spacing: .06em; padding: 14px 18px; border: 1.5px dashed var(--ink); border-radius: var(--r); }

/* FAQ inside the doc */
.faq-list { border-top: 3px solid var(--ink); }
.qa summary .q { margin: 0; font: 600 17.5px/1.4 var(--display); letter-spacing: 0; }
.qa .a > div p { margin: 0 0 14px; font-size: 16.5px; animation: riseIn .55s var(--ease) both; }
.qa .a > div p:last-child { margin-bottom: 20px; }

/* closing band without a side column */
.close-solo .close-grid { grid-template-columns: minmax(0, 760px); justify-content: center; text-align: left; }

/* =====================================================================
   LOCATION PAGE (text-only)
   ===================================================================== */
.plate-chart { position: relative; margin: 0; aspect-ratio: 1 / 1; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden;
  background: radial-gradient(circle at 50% 46%, #f3f6f8 0, #dde6ee 62%, #c9d6e3 100%); box-shadow: 14px 14px 0 var(--yellow), 14px 14px 0 2px var(--ink);
  animation: riseIn 1.1s var(--ease) .25s both; order: 2; }
.pc-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.pc-rings circle { fill: none; stroke: rgba(29, 62, 143, .22); stroke-width: 1.2; stroke-dasharray: 3 5; }
.pc-rings text { font: 700 18px var(--display); fill: var(--ink); text-anchor: middle; }
.pc-rose { transform-origin: 200px 200px; animation: roseTurn 26s linear infinite; }
.pc-rose path { fill: rgba(14, 17, 22, .16); }
.pc-rose path.n { fill: var(--red); }
.pc-rose circle { fill: var(--yellow); stroke: var(--ink); stroke-width: 2; }
@keyframes roseTurn { 0% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } 100% { transform: rotate(-8deg); } }
.pc-buoy { position: absolute; left: 18%; top: 22%; animation: bob 3.6s ease-in-out infinite; }
.plate-chart figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px 20px; background: var(--ink); color: #fff; display: grid; gap: 8px; }
.pc-city { font: 700 clamp(28px, 3.4vw, 44px)/1 var(--display); letter-spacing: -.03em; }
.pc-pos { font: 600 13px/1 var(--display); letter-spacing: .16em; color: var(--yellow-2); }
.pc-hoist { display: flex; gap: 8px; margin-top: 6px; }
.pc-flag { width: 26px; height: auto; transform-origin: 50% 0; animation: sway 2.4s ease-in-out infinite alternate; }
.pc-flag:nth-child(2n) { animation-delay: -1.1s; }
@media (max-width: 900px) { .plate-chart { order: 1; max-width: 520px; width: 100%; aspect-ratio: 4 / 3; } }

/* services as lettered flag cards (no photos) */
.svc-card-t { grid-template-columns: 116px minmax(0, 1fr); }
.svc-big { display: grid; justify-items: center; gap: 10px; padding: 18px 10px; background: var(--white); border: 1.5px solid var(--ink); border-radius: 3px; }
.big-flag { width: 72px; height: auto; transform-origin: 50% 0; }
.svc-card.on .big-flag { animation: sway 2.2s ease-in-out infinite alternate; filter: url(#cloth); }
.svc-big b { font: 700 30px/1 var(--display); color: var(--ink); }
@media (max-width: 760px) { .svc-card-t { grid-template-columns: 1fr; } .svc-big { grid-auto-flow: column; justify-content: start; align-items: center; padding: 10px 14px; } .big-flag { width: 46px; } .svc-big b { font-size: 22px; } }

/* routes: freeway-shield numbers */
.routes { background: var(--sail-2); }
.route-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.route-card { display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: start; padding: 26px 24px 20px; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.route-card p { margin: 0; font-size: 16.5px; }
.route-card .lead { display: block; font: 700 20px/1.25 var(--display); margin-bottom: 8px; }
.rsign { width: 54px; height: 60px; display: grid; place-items: center; padding-top: 8px; font: 700 22px/1 var(--display); color: #fff; background: var(--blue);
  clip-path: polygon(0 12%, 18% 0, 50% 8%, 82% 0, 100% 12%, 100% 55%, 50% 100%, 0 55%); box-shadow: inset 0 0 0 3px #fff; }
@media (hover: hover) { .route-card:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--blue); } }
@media (max-width: 860px) { .route-cards { grid-template-columns: 1fr; } }

.mob-t { background: var(--white); }
.mob-t .mob-grid { align-items: start; }
.mob-t .signal p { font-size: 17px; }
.rev-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .rev-2 { grid-template-columns: 1fr; } }
.plain .narrow { max-width: 820px; }
.close strong, .close b { color: #fff; }
/* below 1000px the chart nav would squeeze the copy: the page reads straight down (the H2s are all still there) */
@media (max-width: 1000px) { .doc-grid { grid-template-columns: 1fr; } .chart-nav { display: none; } .doc-body { max-width: none; } }
@media (max-width: 560px) { .plate { padding: 22px 18px 6px; box-shadow: 6px 6px 0 var(--yellow); } .signal { grid-template-columns: 1fr; gap: 10px; } .signal-lg { padding: 22px 18px 8px; box-shadow: 6px 6px 0 var(--blue); } .route-card { grid-template-columns: 1fr; } .vstep { grid-template-columns: 52px 1fr; gap: 14px; } .vsteps::before { left: 25px; } .vstep .pn, .vstep .pn img { width: 46px; } }
.why-item .why-h { font-size: clamp(19px, 1.7vw, 22px); margin: 2px 0 6px; }
.why-item > div > p { margin: 0 0 8px; }

/* =====================================================================
   DOC PAGES (About, Contact, Insurance, Privacy, Terms): flag hero, fact sheet, legal reading layout
   ===================================================================== */
.dhero .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
.dflag { order: 2; position: relative; margin: 0; justify-self: center; width: min(300px, 80%); aspect-ratio: 1 / 1.05; }
.dflag-pole { position: absolute; left: 8%; top: 0; bottom: 0; width: 6px; border-radius: 3px; background: var(--ink); }
.dflag-pole::before { content: ""; position: absolute; left: 50%; top: -12px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); }
.dflag .dflag-svg { position: absolute; left: calc(8% + 6px); top: 10%; width: 78%; height: auto; transform-origin: 0 50%; animation: sway 3.4s ease-in-out infinite alternate; filter: drop-shadow(10px 12px 0 rgba(14, 17, 22, .14)); }
.dflag b { position: absolute; right: 0; bottom: 0; font: 700 clamp(80px, 11vw, 150px)/.8 var(--display); color: transparent; -webkit-text-stroke: 2px var(--ink); letter-spacing: -.04em; }
@media (max-width: 900px) { .dhero .hero-grid { grid-template-columns: 1fr; } .dflag { display: none; } }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; margin: 8px 0 24px; }
.fact { border: 2px solid var(--ink); border-radius: var(--r); padding: 16px 18px; background: var(--white); box-shadow: 6px 6px 0 var(--yellow); }
.fact dt { font: 700 12px/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--red-ink); margin-bottom: 6px; }
.fact dd { margin: 0; font: 600 18px/1.4 var(--display); color: var(--ink); overflow-wrap: anywhere; }
/* house rule: the street address is published in the footer only (copy stays in the markup) */
.addr-hidden { display: none !important; }
p.signal { grid-template-columns: 56px 1fr; align-items: center; padding: 18px 22px; font-size: 19px; }

.pg-legal .doc-body { max-width: 760px; }
.pg-legal .ds .h3 { margin: 22px 0 8px; font-size: clamp(19px, 1.7vw, 22px); }
.pg-legal .ds ul.ticks { margin-bottom: 18px; }

/* doc lists: a small red pennant marker (prose() renders every doc bullet list as ul.ticks) */
ul.ticks { list-style: none; padding: 0; margin: 4px 0 22px; display: grid; gap: 10px; }
ul.ticks li { position: relative; padding-left: 30px; }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: .52em; width: 16px; height: 11px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }
ul.ticks li::after { content: ""; position: absolute; left: 0; top: .3em; width: 2px; height: 1.05em; background: var(--ink); }

/* BLOG: post hero title size, more-posts list, index cards */
.h1-blog { font-size: clamp(34px, 4.4vw, 58px); }
.more-posts { margin-top: 48px; padding-top: 28px; border-top: 3px solid var(--ink); }
.more-posts ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.more-posts a { font: 600 18px/1.35 var(--display); color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 4px; }
.bhero .wrap { position: relative; z-index: 1; padding-bottom: clamp(60px, 8vw, 110px); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: clamp(20px, 3vw, 34px); }
.post-card { border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); overflow: hidden; box-shadow: 8px 8px 0 var(--yellow); display: grid; align-content: start; }
.post-ph { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 2px solid var(--ink); }
.post-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-ph img { transform: scale(1.04); }
.post-card .h3 { margin: 20px 22px 8px; font-size: 21px; }
.post-card .h3 a { color: var(--ink); text-decoration: none; }
.post-card .h3 a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.post-card p { margin: 0 22px 22px; font-size: 16px; }

/* HTML sitemap */
.smap { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: clamp(22px, 3vw, 40px); align-items: start; }
.smap-g { border-top: 3px solid var(--ink); padding-top: 18px; }
.smap-g .h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 12px; }
.smap-flag { width: 34px; height: auto; flex: none; }
.smap-g ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.smap-g a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 4px; font-size: 16.5px; }

/* quote band side without hero bullets: the hours plate under the call button */
.qb-hours { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: center; margin-top: 22px; padding: 18px 20px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); box-shadow: 6px 6px 0 var(--blue); }
.qb-hours-flag svg { width: 52px; height: auto; display: block; transform-origin: 0 50%; animation: sway 3.4s ease-in-out infinite alternate; }
.qb-hours p { margin: 0; display: grid; gap: 4px; }
.qb-hours strong { font: 700 19px/1.3 var(--display); color: var(--ink); }

/* =====================================================================
   SITEMAP "Harbor Index" (2026-11-27): chart legend hero, flag tiles, night chart with buoys, photo posts, boards
   ===================================================================== */
.smhero .smhero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(28px, 5vw, 80px); align-items: end; padding-bottom: clamp(70px, 9vw, 120px); }
.smhero .h1 { font-size: clamp(60px, 10vw, 150px); letter-spacing: -.045em; line-height: .9; }
.smhero-n { margin: 18px 0 0; font: 500 19px/1.4 var(--body); color: var(--ink-2); }
.smhero-n b { font: 700 1.6em/1 var(--display); color: var(--red-ink); margin-right: 4px; }
.smhero-n a.web { color: var(--ink); white-space: nowrap; }
.legend { border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); padding: 18px 20px 10px; box-shadow: 10px 10px 0 var(--yellow); }
.legend ol { list-style: none; padding: 0; margin: 10px 0 0; }
.legend li + li { border-top: 1px solid var(--line); }
.legend a { display: grid; grid-template-columns: 38px 1fr auto; gap: 14px; align-items: center; padding: 10px 2px; color: var(--ink); text-decoration: none; font: 600 17px/1.3 var(--display); }
.legend a:hover span { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.lg-flag { width: 38px; height: auto; display: block; }
.legend b { font: 700 15px/1 var(--display); color: var(--ink); background: var(--sail); border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 10px; font-variant-numeric: tabular-nums; }

.sm-sec { scroll-margin-top: calc(var(--bar-h) + 10px); }
.sm-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: clamp(22px, 3vw, 36px); padding-bottom: 14px; border-bottom: 3px solid var(--ink); }
.sm-n { font: 700 15px/1 var(--display); letter-spacing: .14em; color: var(--red-ink); }
.sm-head .h2 { margin: 0; }
.sm-c { margin-left: auto; font: 600 14px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }

.sm-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 14px; }
.sm-tile { position: relative; display: grid; grid-template-columns: 56px 1fr 22px; gap: 14px; align-items: center; min-height: 86px; padding: 14px 16px; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); color: var(--ink); text-decoration: none; font: 600 17px/1.3 var(--display); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease); }
.sm-tile:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); background: var(--sail); }
.sm-tile-f { position: relative; display: block; }
.sm-tile-f svg { width: 56px; height: auto; display: block; transform-origin: 0 50%; transition: transform .5s var(--ease); }
.sm-tile:hover .sm-tile-f svg { transform: skewY(-4deg) scaleX(.96); }
.sm-tile-f b { position: absolute; right: -6px; bottom: -10px; font: 700 13px/1 var(--display); background: var(--ink); color: #fff; border-radius: 3px; padding: 3px 5px; }
.sm-tile > svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.sm-tile:hover > svg { transform: translateX(4px); }

.sm-chart { position: relative; overflow: hidden; background: radial-gradient(ellipse at 85% 0%, #1b2d55 0%, rgba(14, 17, 22, 0) 60%), var(--ink); color: #e8ebef; isolation: isolate; }
.sm-grid { position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 64px 64px; }
.sm-rose { position: absolute; right: clamp(-110px, -6vw, -40px); bottom: clamp(-130px, -8vw, -60px); width: clamp(160px, 22vw, 300px); color: #fff; z-index: -1; opacity: .55; animation: roseTurn 60s linear infinite; }
@keyframes roseTurn { to { transform: rotate(360deg); } }
.sm-chart .sm-head { border-color: rgba(255, 255, 255, .85); }
.sm-chart .h2 { color: #fff; }
.sm-chart .sm-n { color: var(--yellow); }
.sm-chart .sm-c { color: #c9ced6; }
.sm-buoys { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 6px 20px; counter-reset: b; }
.sm-buoys a { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 10px 6px; border-bottom: 1px dashed rgba(255, 255, 255, .18); color: #fff; text-decoration: none; font: 600 18px/1.3 var(--display); transition: background .3s var(--ease); border-radius: 3px; }
.sm-buoys a:hover { background: rgba(255, 194, 14, .1); }
.sm-buoys small { display: block; font: 600 11px/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-top: 3px; }
.sm-buoy { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 var(--display); color: var(--ink); background: #fff; border: 4px solid var(--red); box-shadow: 0 0 0 2px #fff, 0 4px 10px rgba(0, 0, 0, .35); font-variant-numeric: tabular-nums; animation: bob 3.2s ease-in-out infinite alternate; }
.sm-buoys li:nth-child(odd) .sm-buoy { animation-delay: -1.4s; }
.sm-buoys li:nth-child(4n+2) .sm-buoy, .sm-buoys li:nth-child(4n+3) .sm-buoy { border-color: var(--yellow); }
@keyframes bob { from { transform: translateY(-2px) rotate(-6deg); } to { transform: translateY(2px) rotate(6deg); } }

.sm-posts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: clamp(16px, 2.4vw, 26px); }
.sm-post { display: grid; grid-template-rows: auto 1fr; height: 100%; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 6px 6px 0 var(--yellow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.sm-post:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--yellow); }
.sm-post-ph { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 2px solid var(--ink); }
.sm-post-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sm-post:hover .sm-post-ph img { transform: scale(1.05); }
.sm-post-t { display: block; padding: 16px 18px 18px; font: 600 18px/1.35 var(--display); }
.sm-post-all { background: var(--ink); color: #fff; box-shadow: 6px 6px 0 var(--red); align-content: center; justify-items: start; padding: 22px 6px; grid-template-rows: auto auto; }
.sm-post-all .sm-post-t { font-size: 30px; letter-spacing: -.02em; }
.sm-post-all-f { padding: 0 18px; }
@media (min-width: 1100px) {
  .sm-posts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm-posts > li:first-child { grid-row: span 2; }
  .sm-post-all { align-content: end; padding: 28px 8px; }
}
.sm-post-all-f svg { width: 64px; height: auto; display: block; transform-origin: 0 50%; animation: sway 3.4s ease-in-out infinite alternate; }

.sm-boards-sec { background: var(--sail-2); }
.sm-boards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); align-items: start; }
.sm-board { border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); padding: clamp(20px, 2.6vw, 30px); box-shadow: 10px 10px 0 var(--blue); }
.sm-board .sm-head { margin-bottom: 8px; align-items: center; }
.sm-board .h2 { font-size: clamp(26px, 2.6vw, 34px); }
.sm-board-f { width: 44px; height: auto; margin-left: auto; transform-origin: 0 50%; animation: sway 3.4s ease-in-out infinite alternate; }
.sm-board ul { list-style: none; padding: 0; margin: 0; }
.sm-board li + li { border-top: 1px solid var(--line); }
.sm-board a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 2px; color: var(--ink); text-decoration: none; font: 600 18px/1.3 var(--display); }
.sm-board a svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.sm-board a:hover span { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.sm-board a:hover svg { transform: translateX(4px); }

@media (max-width: 900px) {
  .smhero .smhero-grid { grid-template-columns: 1fr; align-items: start; }
  .sm-boards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .sm-head { flex-wrap: wrap; gap: 8px 14px; } .sm-c { margin-left: 0; width: 100%; } }
@media (prefers-reduced-motion: reduce) { .sm-rose, .sm-buoy, .sm-board-f, .sm-post-all-f svg, .qb-hours-flag svg { animation: none; } }

/* quote band with a photo side (pages without hero bullets): the photo stretches to the form's height */
.qband-media .qband-grid { align-items: stretch; }
.qband-media .qband-side { display: flex; flex-direction: column; gap: 18px; padding-top: 0; }
.qb-photo { position: relative; flex: 1 1 auto; min-height: 260px; margin: 0; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--sail); box-shadow: 10px 10px 0 var(--yellow); }
.qb-photo picture, .qb-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qb-photo img { transition: transform 1.2s var(--ease); }
.qb-photo:hover img { transform: scale(1.04); }
.qb-photo-tab { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; padding: 7px 8px; background: var(--white); border: 2px solid var(--ink); border-radius: 3px; z-index: 1; }
.qb-photo-tab svg { width: 30px; height: auto; display: block; }
.qband-media .callplate { margin-top: 0; }
.qband-media .qb-hours { margin-top: 0; }
@media (max-width: 980px) { .qb-photo { flex: none; aspect-ratio: 16 / 10; min-height: 0; } }
.nw { white-space: nowrap; }
/* phones: the form comes first, the photo + call + hours after it */
@media (max-width: 980px) { .qband-media .qband-form { order: -1; } }
