/* =====================================================================
   OC Direct Auto Glass: "Dressed Harbor" (2026-11-24)
   World: white sailcloth + the logo's black. Voice: Newport Harbor's International Code signal flags
   (red / blue / yellow). Tone: crisp / nautical / sure-footed.
   Type: Familjen Grotesk (display, upright) + Public Sans (body). One easing curve.
   ===================================================================== */

/* hyphen-only face: Familjen's hyphen is wide enough to read as a dash at display sizes; Arial's is not */
@font-face { font-family: 'Hy'; src: local('Arial'), local('Helvetica'), local('Liberation Sans'); unicode-range: U+2D; }

:root {
  --sail: #f7f6f1;
  --sail-2: #eeece4;
  --white: #ffffff;
  --ink: #0e1116;
  --ink-2: #2a3039;
  --mute: #545c68;
  --red: #c8102e;
  --red-ink: #a60d26;
  --blue: #1d3e8f;
  --blue-ink: #1a3780;
  --yellow: #ffc20e;
  --yellow-2: #ffd75c;
  --line: rgba(14, 17, 22, .14);
  --line-soft: rgba(14, 17, 22, .08);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: 'Hy', 'Familjen Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Hy', 'Public Sans', 'Helvetica Neue', Arial, sans-serif;
  --r: 4px;
  --bar-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--sail); color: var(--ink-2);
  font: 400 16.5px/1.7 var(--body); overflow-x: clip;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red-ink); }
a[href^="tel:"], a.web { white-space: nowrap; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, .h1, .h2, .h3 { font-family: var(--display); color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -.018em; }
.nb { white-space: nowrap; }
.wrap { width: min(1240px, 100% - 64px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 12px; }
section[id] { scroll-margin-top: calc(var(--bar-h) + 16px); }

/* reading progress: a signal-yellow hairline */
.progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 60; transform-origin: 0 50%;
  transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--red), var(--yellow) 50%, var(--blue)); pointer-events: none; }

/* ---------- buttons ---------- */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h);
  padding: 0 24px; border-radius: var(--r); font: 600 15.5px/1.2 var(--display); letter-spacing: .01em;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color .25s var(--ease), border-color .25s var(--ease), transform .45s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.btn svg path[d^="M6.6"] { fill: currentColor; stroke: none; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%); transition: transform .5s var(--ease); }
.btn-sig { background: var(--yellow); color: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-sig::before { background: var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line::before { background: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink::before { background: var(--red-ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost::before { background: #fff; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn-sig:hover, .btn-line:hover { color: var(--yellow); }
  .btn-ink:hover { color: #fff; }
  .btn-ghost:hover { color: var(--ink); }
  .btn:hover::before { transform: none; }
  .btn:hover svg:last-child:not(:first-child) { transform: translateX(4px); }
}
.btn:focus-visible::before { transform: none; }
.btn-sig:focus-visible, .btn-line:focus-visible { color: var(--yellow); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; padding: 10px 18px; } }

/* ---------- header bar ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: rgba(247, 246, 241, .97); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease); }
.bar.scrolled { box-shadow: 0 10px 30px -18px rgba(14, 17, 22, .45); }
.bar-in { display: flex; align-items: center; gap: 22px; min-height: var(--bar-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 48px; height: auto; }
.brand-name { font: 700 15px/1.08 var(--display); letter-spacing: -.01em; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li > a, .dd-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 11px; font: 600 14.5px/1 var(--display);
  color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 3px; position: relative; }
.nav-list > li > a::after, .dd-btn::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.nav-list > li > a[aria-current="page"]::after { transform: none; }
@media (hover: hover) { .nav-list > li > a:hover::after, .dd-btn:hover::after { transform: none; } }
.dd-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .3s var(--ease); }
.has-dd { position: relative; }
.has-dd.open .dd-btn svg { transform: rotate(180deg); }
.dd { position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; max-height: min(70vh, 520px); overflow-y: auto;
  background: var(--white); border: 1px solid var(--ink); border-radius: var(--r); box-shadow: 6px 6px 0 var(--ink);
  padding: 8px; display: none; z-index: 5; overscroll-behavior: contain; }
.has-dd.open .dd { display: block; }
.dd a { display: block; padding: 9px 12px; font: 500 14.5px/1.35 var(--body); color: var(--ink); text-decoration: none; border-radius: 3px; }
.dd a:hover, .dd a:focus-visible { background: var(--sail-2); color: var(--ink); }
.dd-main a { font-weight: 700; }
.dd-main small { display: block; font: 600 11px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); margin-top: 2px; }
.dd-areas { min-width: 250px; }
.nav-quote { --h: 44px; padding: 0 18px; box-shadow: 3px 3px 0 var(--ink); }
.bar-call { display: none; }
.burger { display: none; }

@media (max-width: 1180px) {
  :root { --bar-h: 66px; }
  .bar { background: var(--sail); }          /* solid: no filter/transform on the bar that holds the menu */
  .bar-in { gap: 10px; flex-wrap: wrap; }
  .brand img { width: 40px; }
  .brand-name { font-size: 13.5px; }
  .bar-call { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 9px 13px; border: 2px solid var(--ink);
    border-radius: var(--r); background: var(--yellow); color: var(--ink); font: 700 14.5px/1 var(--display); text-decoration: none; }
  .bar-call svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
  .burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 11px;
    background: var(--ink); border: 0; border-radius: var(--r); cursor: pointer; flex: none; }
  .burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
  .menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .burger span:nth-child(2) { opacity: 0; }
  .menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* the open menu IS the page: in normal flow after the bar, main + footer hidden */
  .nav { display: none; order: 9; width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 6px 0 28px; }
  .menu-open .nav { display: flex; }
  .menu-open main, .menu-open .foot, .menu-open .flagrule { display: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a, .dd-btn { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 17px; }
  .nav-list > li > a::after, .dd-btn::after { display: none; }
  .dd { position: static; display: none; max-height: none; overflow: visible; box-shadow: none; border: 0; border-left: 3px solid var(--yellow);
    border-radius: 0; margin: 0 0 12px 4px; padding: 2px 0 2px 10px; min-width: 0; background: transparent; }
  .dd a { padding: 10px 8px; font-size: 16px; }
  .nav-quote { margin-top: 20px; --h: 54px; }
}
@media (max-width: 420px) {
  .brand-name { display: none; }
  .bar-call { padding: 9px 11px; font-size: 14px; }
}

/* ---------- shared section furniture ---------- */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.label { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 700 12.5px/1 var(--display);
  letter-spacing: .16em; text-transform: uppercase; color: var(--red-ink); }
.label::before { content: ""; width: 26px; height: 14px; flex: none;
  background: linear-gradient(var(--blue) 0 20%, #fff 20% 40%, var(--red) 40% 60%, #fff 60% 80%, var(--blue) 80%); outline: 1px solid rgba(14, 17, 22, .25); }
.h2 { font-size: clamp(31px, 4.1vw, 52px); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
.h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.18; }
.h4 { font-size: 18px; line-height: 1.3; margin: 1.2em 0 .45em; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head .h2 { margin-bottom: 18px; }
.sec-head-c { margin-inline: auto; text-align: center; }
.sec-lead { font-size: 18px; line-height: 1.68; color: var(--ink-2); max-width: 64ch; }
strong, b { font-weight: 700; color: inherit; } /* inherit, never a fixed colour: a fixed ink made bold text vanish on dark panels (price board, 2026-11-26) */
.lead { color: var(--ink); }

/* arrow link line (the doc's own link sentences) */
.cta-line { margin: .6em 0 1em; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font: 600 15.5px/1.35 var(--display); color: var(--ink);
  text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; transition: border-color .25s var(--ease), color .25s var(--ease); }
.arrow-link svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
@media (hover: hover) { .arrow-link:hover { color: var(--red-ink); border-color: var(--red); } .arrow-link:hover svg { transform: translateX(5px); } }

/* reveal: rise once */
.ro { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.ro.in, .no-io .ro { opacity: 1; transform: none; }

/* =====================================================================
   HERO: the hoist of code flags spelling O-C-D-I-R-E-C-T
   ===================================================================== */
.hero { position: relative; padding: 0 0 clamp(56px, 7vw, 96px); background:
  linear-gradient(180deg, var(--sail) 0, var(--sail) 70%, var(--sail-2) 100%); overflow-x: clip; }
.hoist { --h: 150px; position: relative; height: var(--h); margin-bottom: 0; pointer-events: none; }
.rope { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rope path { fill: none; stroke: var(--ink); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-dasharray: 3 2.2; }
.hf { position: absolute; left: var(--x); top: calc(var(--h) * var(--y)); width: clamp(34px, 4.4vw, 58px); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; }
.hf .toggle { width: 1.5px; height: 9px; background: var(--ink); }
.hf .flag { width: 100%; height: auto; transform-origin: 50% 0; filter: drop-shadow(0 6px 6px rgba(14, 17, 22, .14));
  animation: hoistIn 1s var(--ease) both, sway 4.8s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * 90ms), calc(1s + var(--i) * -.55s); }
.hf b { margin-top: 6px; font: 700 11px/1 var(--display); letter-spacing: .1em; color: var(--mute); opacity: 0; animation: fadeIn .6s var(--ease) both; animation-delay: calc(.6s + var(--i) * 90ms); }
@keyframes hoistIn { from { opacity: 0; transform: translateY(26px) rotate(0); } to { opacity: 1; transform: none; } }
@keyframes sway { from { transform: rotate(-3.2deg) skewX(-2deg); } to { transform: rotate(3.2deg) skewX(2deg); } }
@keyframes fadeIn { to { opacity: 1; } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero-copy { order: 1; padding-top: 6px; }
.hero-photo { order: 2; margin: 0; position: relative; }
.kick { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font: 700 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.kick-flag { width: 28px; height: auto; }
.h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.034em; margin-bottom: 26px; }
.h1 .ln { display: block; overflow: hidden; padding: .04em 0 .06em; margin-bottom: -.04em; }
.h1 .ln > span { display: block; animation: lineUp 1s var(--ease) both; animation-delay: calc(.18s + var(--i) * .1s); }
.h1 .l-brand { font-size: .6em; letter-spacing: -.01em; color: var(--red-ink); margin-bottom: .14em; }
.h1 .l-place > .nb, .h1 .l-place { position: relative; }
.h1 .l-place { display: inline-block !important; padding-right: .12em; background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); }
@keyframes lineUp { from { transform: translateY(104%); } to { transform: none; } }
.lede { font-size: 18.5px; line-height: 1.68; max-width: 58ch; color: var(--ink-2); }
.call-line { font: 600 19px/1.45 var(--display); color: var(--ink); margin-bottom: 26px; }
.call-line a { color: var(--ink); text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.acts { display: flex; flex-wrap: wrap; gap: 14px 16px; }
.rise { animation: riseIn 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hp-frame { display: block; position: relative; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--sail-2);
  box-shadow: 14px 14px 0 var(--yellow), 14px 14px 0 2px var(--ink); aspect-ratio: 1 / 1;
  animation: riseIn 1.1s var(--ease) both; animation-delay: .25s; }
.hp-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: 26px; font: 600 12.5px/1.3 var(--display);
  letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding-right: 16px; }

@media (max-width: 900px) {
  .hoist { --h: 96px; margin-bottom: 10px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: 1; max-width: 560px; }
  .hero-copy { order: 2; padding-top: 4px; }
  .hf b { display: none; }
}

/* =====================================================================
   QUOTE BAND (#quote): checklist + the race-entry card
   ===================================================================== */
.qband { background: var(--sail-2); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.qband-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.qband-side { padding-top: 8px; }
.callplate { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 16px; margin-top: 34px; padding: 18px 22px;
  background: var(--ink); color: #fff; border-radius: var(--r); text-decoration: none; box-shadow: 6px 6px 0 var(--yellow); transition: transform .45s var(--ease); }
.cp-k { font: 700 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow-2); }
.cp-n { font: 700 clamp(22px, 2.4vw, 30px)/1.1 var(--display); letter-spacing: -.01em; color: #fff; white-space: nowrap; }
.cp-flag { width: 44px; height: auto; transform-origin: 0 50%; }
@media (hover: hover) { .callplate:hover { color: #fff; transform: translateY(-2px); } .callplate:hover .cp-flag { animation: sway 1.6s ease-in-out infinite alternate; } }
@media (max-width: 400px) { .callplate { grid-template-columns: 1fr auto; } .cp-k { grid-column: 1 / -1; } }
.checks { display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; font: 500 17px/1.5 var(--body); color: var(--ink); }
.chk { width: 34px; height: 34px; display: grid; place-items: center; background: var(--yellow); border: 2px solid var(--ink); border-radius: 3px; }
.chk svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.qf-card { background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); box-shadow: 10px 10px 0 var(--ink); padding: clamp(22px, 3vw, 34px); position: relative; }
.qf-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.qf-kick { margin: 0; font: 700 23px/1.2 var(--display); color: var(--ink); letter-spacing: -.015em; }
.qf-alt { margin: 0; font: 500 15px/1.4 var(--body); color: var(--mute); }
.qf-alt a { font-weight: 700; color: var(--ink); }
.qf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.fld > span { font: 600 13px/1.2 var(--display); letter-spacing: .04em; color: var(--ink); }
.fld i { font-style: normal; font-weight: 500; color: var(--mute); }
.fld input, .fld select, .fld textarea { width: 100%; font: 500 16px/1.4 var(--body); color: var(--ink); background: var(--sail);
  border: 1.5px solid #767c86; border-radius: 3px; padding: 12px 13px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.fld textarea { resize: vertical; min-height: 92px; }
.fld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%230e1116' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 12px; padding-right: 34px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.qf-cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 18px; align-items: end; }
.fld-cap { margin-bottom: 0; }
.qf-q { font-variant-numeric: tabular-nums; }
.qf-msg { margin: 14px 0 0; font: 500 15px/1.5 var(--body); color: var(--ink); min-height: 0; }
.qf-msg:empty { display: none; }
.qf-msg.err, .qf-msg.error { color: var(--red-ink); }
.qf-msg.ok, .qf-msg.success { color: #14612b; }
.qf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 980px) { .qband-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .qf-row, .qf-cap { grid-template-columns: 1fr; } .qf-card { box-shadow: 6px 6px 0 var(--ink); } .qf-go { width: 100%; } }

/* =====================================================================
   SERVICES: the mast (sticky hoist A-J) + lettered cards
   ===================================================================== */
.svc { background: var(--white); }
.svc-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.mast { position: sticky; top: calc(var(--bar-h) + 28px); display: grid; gap: 4px; padding-left: 26px; }
.mast::before { content: ""; position: absolute; left: 6px; top: -10px; bottom: -10px; width: 3px; background: var(--ink); border-radius: 2px; }
.mast li { position: relative; display: grid; grid-template-columns: 34px 16px 1fr; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 3px;
  font: 600 13.5px/1.25 var(--display); color: var(--mute); transition: color .3s var(--ease), background-color .3s var(--ease), transform .45s var(--ease); }
.mast li::before { content: ""; position: absolute; left: -20px; top: 50%; width: 14px; border-top: 1.5px solid var(--ink); }
.mast-flag { width: 34px; height: auto; transition: transform .45s var(--ease); }
.mast-l { font-weight: 700; color: var(--ink); }
.mast li.on { color: var(--ink); background: var(--sail); transform: translateX(6px); }
.mast li.on .mast-flag { transform: scale(1.12) rotate(-3deg); }
.svc-list { display: grid; gap: 22px; }
.svc-card { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(22px, 3vw, 40px); align-items: start; padding: 26px;
  background: var(--sail); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .3s var(--ease), box-shadow .45s var(--ease); }
.svc-card.on { border-color: var(--ink); box-shadow: 6px 6px 0 var(--yellow); }
.svc-photo { position: relative; margin: 0; border-radius: 3px; overflow: hidden; aspect-ratio: 1 / 1; border: 1.5px solid var(--ink); background: var(--sail-2); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-tab { position: absolute; left: 10px; top: 10px; display: flex; align-items: center; gap: 7px; padding: 5px 9px 5px 5px; background: var(--white);
  border: 1.5px solid var(--ink); border-radius: 3px; font: 700 14px/1 var(--display); color: var(--ink); }
.tab-flag { width: 28px; height: auto; }
.svc-body .h3 { margin: 2px 0 12px; }
.svc-body p { margin-bottom: .8em; }
.svc-ul { display: grid; gap: 12px; margin: 6px 0 14px; }
.svc-ul li { position: relative; padding: 14px 16px 6px 18px; background: var(--white); border-left: 3px solid var(--blue); border-radius: 0 3px 3px 0; }
.svc-ul li > .cta-line { margin-top: 8px; }
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: 1fr; }
  .mast { display: none; }
}
@media (max-width: 760px) {
  .svc-card { grid-template-columns: 1fr; padding: 16px; }
  .svc-photo { aspect-ratio: 16 / 10; }
}

/* =====================================================================
   WHY
   ===================================================================== */
.why { background: var(--sail); }
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.why-side .h2 { margin-bottom: 18px; }
.why-photo { margin: 28px 0 0; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: -12px 12px 0 var(--blue); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.certs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.cert { display: grid; place-items: center; width: calc((100% - 24px) / 3); height: 92px; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 3px; }
.cert img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.why-list { border-top: 3px solid var(--ink); }
.why-item { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.why-item p { margin: 0; font-size: 17px; }
.why-item .lead { display: block; font: 700 21px/1.25 var(--display); margin-bottom: 6px; letter-spacing: -.012em; }
.why-n { font: 700 34px/1 var(--display); color: transparent; -webkit-text-stroke: 1.4px var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why-item { grid-template-columns: 46px 1fr; gap: 12px; } .why-n { font-size: 26px; } .cert { width: calc((100% - 12px) / 2); } }

/* =====================================================================
   MOBILE APPOINTMENTS
   ===================================================================== */
.mob { background: var(--white); border-top: 1px solid var(--line); }
.mob-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.mob-photo { margin: 0; }
.mob-photo img { border: 2px solid var(--ink); border-radius: var(--r); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; box-shadow: 12px -12px 0 var(--red); }
.mob-photo figcaption { margin-top: 18px; font: 600 12.5px/1.4 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.mob-copy .h2 { margin-bottom: 20px; }
.mob-copy p { font-size: 17.5px; }
@media (max-width: 900px) { .mob-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   HOW TO BOOK: numeral pennants hanging from one halyard
   ===================================================================== */
.book { background: var(--sail); }
.halyard { position: relative; }
.route-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; visibility: hidden; }
.route-line.built { visibility: visible; }
.route-line .rl { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 4 3; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); position: relative; }
.step { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.stop { width: 14px; height: 14px; border-radius: 50%; background: var(--sail); border: 3px solid var(--ink); margin-left: 4px; position: relative; z-index: 1; }
.pn { position: relative; display: block; margin: 2px 0 22px 10px; width: 112px; transform-origin: 0 0; }
.pn::before { content: ""; position: absolute; left: 0; top: -4px; width: 2px; height: 8px; background: var(--ink); }
.pennant { width: 112px; height: auto; display: block; filter: drop-shadow(0 6px 5px rgba(14, 17, 22, .16)); }
.pn b { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); font: 700 38px/1 var(--display); color: var(--ink); letter-spacing: -.03em; }
.step.in .pn { animation: sway 5.2s ease-in-out infinite alternate; animation-delay: calc(var(--k) * -1.1s); }
.step p { margin: 0; font-size: 16.5px; }
.step .lead { display: block; font: 700 20px/1.25 var(--display); margin-bottom: 8px; }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 46px; }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; row-gap: 34px; padding-left: 0; }
}

/* =====================================================================
   COSTS (price board) + ITEMIZED RECEIPT
   ===================================================================== */
.cost { background: var(--white); }
.cost-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cost-main .h2 { margin-bottom: 18px; }
.board { margin-top: 30px; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; box-shadow: 10px 10px 0 var(--ink); background: var(--white); }
.board-top { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 18px; background: var(--ink); color: #fff;
  font: 700 12.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.board-flag { width: 30px; height: auto; }
.board-top span { margin-left: 8px; }
.board table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.board th, .board td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.board thead th { font: 700 12.5px/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--yellow); border-bottom: 2px solid var(--ink); }
.board tbody th { font: 600 16.5px/1.35 var(--display); color: var(--ink); }
.board .bp { text-align: right; font: 700 17px/1.35 var(--display); color: var(--ink); white-space: nowrap; }
.board thead .bp { white-space: normal; }
.board tbody tr:last-child th, .board tbody tr:last-child td { border-bottom: 0; }
.board tbody td.bp.long { white-space: normal; font-weight: 600; font-size: 15px; max-width: 26ch; }
@media (hover: hover) { .board tbody tr { transition: background-color .2s var(--ease); } .board tbody tr:hover { background: var(--sail); } }
.receipt { position: sticky; top: calc(var(--bar-h) + 28px); background: var(--sail); border: 1.5px solid var(--ink); border-bottom: 3px dashed var(--ink); padding: 26px 26px 30px; margin-top: 8px; box-shadow: 0 18px 34px -26px rgba(14, 17, 22, .5); }
.rc-top { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 18px; padding-bottom: 12px; border-bottom: 1.5px dashed var(--ink);
  font: 700 11.5px/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.h2-s { font-size: clamp(25px, 2.4vw, 31px); line-height: 1.14; margin-bottom: 14px; }
.receipt p { font-size: 16.5px; }
.rc-lines { margin-top: 16px; border-top: 1.5px dashed var(--ink); padding-top: 12px; display: grid; gap: 8px; }
.rc-lines li { display: flex; align-items: center; gap: 10px; font: 600 13px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.rc-lines i { flex: 1; border-bottom: 1.5px dotted var(--mute); transform: translateY(-3px); }
@media (max-width: 980px) { .cost-grid { grid-template-columns: 1fr; } .receipt { position: relative; top: 0; } }
@media (max-width: 560px) { .board th, .board td { padding: 13px 12px; } .board tbody th { font-size: 15.5px; } .board .bp { font-size: 15.5px; white-space: normal; } .board { box-shadow: 6px 6px 0 var(--ink); } }

/* =====================================================================
   REVIEWS
   ===================================================================== */
.rev { background: var(--sail-2); }
.rev-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.review { display: flex; flex-direction: column; }
.review figcaption { margin-top: auto; }
.review { position: relative; margin: 0; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r); padding: 34px 30px 26px; }
.review:nth-child(2) { background: var(--yellow); }
.rq { position: absolute; right: 18px; top: -10px; font: 700 110px/1 var(--display); color: var(--red); opacity: .9; pointer-events: none; }
.review:nth-child(2) .rq { color: var(--ink); opacity: .18; }
.rv-title { font: 700 21px/1.25 var(--display); color: var(--ink); margin-bottom: 14px; padding-right: 50px; }
.review blockquote { margin: 0; }
.review blockquote p { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.review:nth-child(2) blockquote p { color: var(--ink); }
.rv-name { margin: 8px 0 0; padding-top: 14px; border-top: 1.5px solid var(--ink); font: 700 15px/1.3 var(--display); }
.rv-name a { color: var(--ink); }
@media (max-width: 860px) { .rev-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   AREAS: moorings (numbered buoys) + towns + weather
   ===================================================================== */
.area { background: var(--white); }
.moorings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; counter-reset: m; }
.mooring { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 22px 22px 18px; background: var(--sail); border: 1px solid var(--line); border-radius: var(--r); }
.mooring:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mooring p { margin: 0; font-size: 16.5px; }
.mooring .lead { display: block; font: 700 19px/1.3 var(--display); margin-bottom: 6px; }
.buoy { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 17px/1 var(--display); color: var(--ink);
  background: conic-gradient(var(--red) 0 25%, #fff 25% 50%, var(--red) 50% 75%, #fff 75%); border: 2px solid var(--ink); position: relative; }
.buoy::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); }
.buoy { isolation: isolate; }
.buoy { z-index: 0; }
.buoy::after { z-index: -1; }
.area-foot { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: clamp(36px, 5vw, 56px); }
.area-more p { font-size: 17px; }
.towns { padding: 18px 20px; border-left: 4px solid var(--yellow); background: var(--sail); }
.towns a { color: var(--ink); text-decoration-color: var(--red); }
.wx { border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; background: #fff; min-height: 160px; }
.weatherwidget-io { display: block; }
@media (max-width: 900px) { .moorings, .area-foot { grid-template-columns: 1fr; } }
.area-foot-solo { grid-template-columns: minmax(0, 860px); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { background: var(--sail); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--bar-h) + 28px); }
.faq-index { margin-top: 22px; display: grid; gap: 2px; border-left: 3px solid var(--ink); }
.faq-index a { display: block; padding: 7px 14px; font: 600 14.5px/1.35 var(--display); color: var(--mute); text-decoration: none; }
.faq-index a:hover { color: var(--ink); background: var(--sail-2); }
.faq-group { margin-bottom: 40px; }
.faq-group .h3 { padding-bottom: 12px; margin-bottom: 4px; border-bottom: 3px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { --qcol: minmax(0, 1fr); display: grid; grid-template-columns: var(--qcol) 34px; gap: 16px; align-items: center; padding: 18px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.q { font: 600 17.5px/1.4 var(--display); color: var(--ink); }
.qa-x { position: relative; width: 34px; height: 34px; border: 2px solid var(--ink); border-radius: 50%; transition: transform .45s var(--ease), background-color .25s var(--ease); }
.qa-x::before, .qa-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.qa-x::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa-x { transform: rotate(45deg); background: var(--yellow); }
@media (hover: hover) { .qa summary:hover .q { color: var(--red-ink); } }
.qa .a { display: grid; grid-template-columns: minmax(0, 1fr) 34px; gap: 16px; }
.qa .a p { margin: 0 0 20px; font-size: 16.5px; animation: riseIn .55s var(--ease) both; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-side { position: static; } .faq-index { display: none; } }

/* =====================================================================
   CLOSING BAND (the one inverted band) + map
   ===================================================================== */
.close { background: var(--ink); color: #d9dde3; padding: clamp(72px, 10vw, 120px) 0; position: relative; overflow: hidden; }
.close::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 11px); }
.close-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.close .h2 { color: #fff; margin-bottom: 20px; }
.close p { font-size: 17.5px; color: #d9dde3; }
.close a[href^="tel:"] { color: var(--yellow-2); font-weight: 700; }
.close .hours { font: 600 16px/1.5 var(--display); color: #fff; padding-left: 14px; border-left: 3px solid var(--yellow); }
.close .hours strong { color: var(--yellow-2); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
.close .acts { margin-top: 26px; }
.close .btn-sig { box-shadow: 4px 4px 0 #fff; border-color: var(--yellow); }
.close .btn-ghost a, .close .btn-ghost { color: #fff; }
.map-frame { border: 2px solid #fff; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.2; background: #1b2028; box-shadow: 10px 10px 0 var(--yellow); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
/* map + weather sit together in the closing band (doc order: GBP map, Weather) */
.close-side { display: grid; gap: 18px; }
.wx-dark { border-color: #fff; }
@media (max-width: 900px) { .close-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   FOOTER
   ===================================================================== */
.flagrule { display: grid; grid-template-columns: repeat(8, 1fr); height: 10px; }
.flagrule i:nth-child(4n+1) { background: var(--red); }
.flagrule i:nth-child(4n+2) { background: var(--yellow); }
.flagrule i:nth-child(4n+3) { background: var(--blue); }
.flagrule i:nth-child(4n+4) { background: #fff; }
.foot { background: var(--ink); color: #c9ced6; padding: clamp(56px, 7vw, 88px) 0 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(28px, 4vw, 64px); }
.foot-logo img { width: 92px; }
.foot-tag { margin: 18px 0 18px; font: 700 18px/1.3 var(--display); color: #fff; max-width: 24ch; }
.foot-nap li { display: grid; grid-template-columns: 74px 1fr; gap: 10px; padding: 7px 0; font-size: 15px; line-height: 1.5; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.foot-nap .k { font: 700 11.5px/1.9 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #aab1bc; }
.foot a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.foot a:hover { color: var(--yellow-2); }
.foot-h { font: 700 12.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow-2); margin: 6px 0 18px; }
.foot-areas ul { columns: 2; column-gap: 28px; }
.foot-areas li, .foot-links li { break-inside: avoid; padding: 5px 0; font-size: 15px; }
.foot-areas li a, .foot-links li a { text-decoration: none; }
.foot-areas li a:hover, .foot-links li a:hover { text-decoration: underline; }
.foot-bottom { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0 26px; }
.foot-bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; align-items: center; }
.foot-bottom p { margin: 0; font-size: 14px; color: #aab1bc; }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-bottom a { font-size: 14px; color: #d9dde3; }
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } .wrap { width: calc(100% - 36px); } }

/* =====================================================================
   gates: reduced motion, no-JS
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .ro { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* doc tables (prose(): first row = column heads) */
.dtable-wrap { margin: 8px 0 24px; overflow-x: auto; border: 2px solid var(--ink); border-radius: var(--r); background: var(--white); box-shadow: 8px 8px 0 var(--blue); }
.dtable { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.dtable thead th { background: var(--ink); color: #fff; font: 700 13px/1.3 var(--display); letter-spacing: .08em; text-transform: uppercase; text-align: left; padding: 14px 18px; }
.dtable tbody th, .dtable td { padding: 13px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.dtable tbody th { font-weight: 600; color: var(--ink); }
.dtable td { color: var(--ink-2); }
.dtable tbody tr:nth-child(even) { background: var(--sail); }
@media (max-width: 560px) { .dtable thead th, .dtable tbody th, .dtable td { padding: 11px 12px; } .dtable { font-size: 15px; } }

/* footer with a Blogs column (2026-11-27): Brand | Areas | Quick Links | Blogs */
.foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, .55fr) minmax(0, 1fr); }
.foot-blogs li { padding: 5px 0; font-size: 15px; line-height: 1.4; }
.foot-blogs li a { text-decoration: none; }
.foot-blogs li a:hover { text-decoration: underline; }
.foot-h a { color: inherit; text-decoration: none; }
.foot-h a:hover { text-decoration: underline; }
@media (max-width: 1180px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.25fr) minmax(0, .55fr) minmax(0, .95fr); }
@media (max-width: 1180px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
/* the fixed compass (bottom-right) never covers the legal links */
.foot-bottom-in { padding-right: 84px; }
@media (max-width: 560px) { .foot-bottom-in { padding-right: 0; padding-bottom: 70px; } }
