/*
 * Coastal Connectivity Client Hub.
 * Design: a dark field-notice board that extends the live site’s engineer-led, blue-and-teal visual system.
 */
:root {
  --cc-blue: #1e63b3;
  --cc-teal: #1aa1b8;
  --cc-ink: #06131d;
  --cc-panel: #0a1b28;
  --cc-line: rgba(180, 215, 229, 0.17);
  --cc-paper: #f3f8fa;
  --cc-copy: #c7d5dc;
  --cc-muted: #91a8b4;
  --cc-max: 1180px;
  --cc-ease: cubic-bezier(0.23, 1, 0.32, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; background: var(--cc-ink); color: var(--cc-copy); font-family: Arial, Aptos, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #8be0ea; outline-offset: 4px; }
.skip-link { position: fixed; top: 0.5rem; left: 0.5rem; z-index: 20; padding: 0.7rem 1rem; transform: translateY(-140%); background: #fff; color: var(--cc-ink); font-weight: 700; transition: transform 160ms var(--cc-ease); }
.skip-link:focus { transform: translateY(0); }
.hub-shell { width: min(calc(100% - 2.4rem), var(--cc-max)); margin: 0 auto; }
.hub-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--cc-line); background: rgba(6, 19, 29, 0.94); backdrop-filter: blur(14px); }
.hub-header__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hub-brand { display: inline-flex; align-items: center; gap: 0.8rem; min-width: 0; }
.hub-brand__plate { display: inline-flex; align-items: center; width: 111px; min-height: 44px; padding: 0.34rem 0.5rem; background: #fff; border: 1px solid rgba(255, 255, 255, 0.28); }
.hub-brand__plate img { width: 100%; height: auto; display: block; }
.hub-brand__title { color: #fff; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; white-space: nowrap; }
.hub-nav { display: flex; align-items: center; gap: 1rem; color: var(--cc-copy); font-size: 0.77rem; font-weight: 700; }
.hub-nav > a:not(.hub-nav__quote):hover { color: #fff; }
.hub-nav__quote { display: inline-flex; align-items: center; min-height: 38px; padding: 0.55rem 0.75rem; background: linear-gradient(100deg, var(--cc-blue), var(--cc-teal)); color: #fff; }
.hub-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--cc-line); background: radial-gradient(circle at 76% 10%, rgba(26, 161, 184, 0.17), transparent 25%), var(--cc-ink); }
.hub-hero::before { position: absolute; inset: 0; content: ""; pointer-events: none; background-image: linear-gradient(rgba(106, 152, 173, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(106, 152, 173, 0.07) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, black, transparent 85%); }
.hub-hero__layout { position: relative; min-height: 520px; display: grid; align-items: center; grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr); }
.hub-hero__copy { position: relative; z-index: 1; max-width: 700px; padding: 5.5rem 0; }
.hub-eyebrow, .hub-kicker { margin: 0; color: #75d8e6; font-size: 0.69rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.hub-eyebrow__pin { font-size: 1.25rem; line-height: 0; vertical-align: -0.13em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 13ch; margin: 0.95rem 0 1.25rem; color: #fff; font-size: clamp(2.65rem, 6vw, 5.4rem); line-height: 0.93; letter-spacing: -0.065em; }
.hub-hero__lead { max-width: 635px; margin-bottom: 1.7rem; color: var(--cc-copy); font-size: clamp(1rem, 1.7vw, 1.18rem); }
.hub-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hub-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; padding: 0.75rem 1rem; border: 1px solid transparent; font-size: 0.82rem; font-weight: 800; transition: transform 150ms var(--cc-ease), background-color 150ms var(--cc-ease), border-color 150ms var(--cc-ease); }
.hub-button:active, .hub-nav__quote:active, .hub-review-button:active { transform: scale(0.97); }
.hub-button--primary { background: linear-gradient(100deg, var(--cc-blue), var(--cc-teal)); color: #fff; }
.hub-button--primary:hover { background: var(--cc-blue); }
.hub-button--quiet { border-color: rgba(207, 232, 239, 0.38); color: #fff; }
.hub-button--quiet:hover { background: rgba(255, 255, 255, 0.08); border-color: #8be0ea; }
.hub-trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin: 1.55rem 0 0; color: var(--cc-muted); font-size: 0.71rem; }
.hub-trust span::before { content: "✓"; margin-right: 0.42rem; color: #68d4a5; font-weight: 800; }
.signal-field { position: relative; align-self: stretch; min-height: 310px; overflow: hidden; }
.signal-field__mark { position: absolute; right: 2%; bottom: 22%; border: 2px solid rgba(117, 216, 230, 0.75); border-bottom: 0; border-radius: 50% 50% 0 0; }
.signal-field__mark--one { width: 420px; height: 210px; }
.signal-field__mark--two { width: 300px; height: 150px; border-color: rgba(30, 99, 179, 0.95); }
.signal-field__mark--three { width: 180px; height: 90px; }
.signal-field__horizon { position: absolute; right: 2%; bottom: 21%; width: 440px; height: 5px; background: linear-gradient(90deg, var(--cc-blue) 0 58%, var(--cc-teal) 58%); }
.signal-field__node { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #8be0ea; box-shadow: 0 0 0 7px rgba(139, 224, 234, 0.1); }
.signal-field__node--one { top: 27%; right: 37%; }.signal-field__node--two { top: 49%; right: 16%; }.signal-field__node--three { bottom: 13%; right: 59%; }
.hub-section { padding: clamp(3.7rem, 8vw, 7rem) 0; background: #fff; color: #1a303d; }
.hub-section--offers { background: var(--cc-paper); }
.hub-section--updates { background: #0a1b28; color: var(--cc-copy); border-block: 1px solid var(--cc-line); }
.hub-section--social { background: #eaf3f6; }
.hub-section-heading { display: grid; grid-template-columns: minmax(170px, 0.42fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; margin-bottom: 2rem; }
.hub-section-heading--stacked { display: block; margin: 0; }
.hub-section-heading .hub-kicker { padding-top: 0.5rem; }
.hub-section-heading h2 { max-width: 760px; margin-bottom: 0.65rem; color: inherit; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 0.99; letter-spacing: -0.05em; }
.hub-section-heading > div > p { max-width: 580px; margin: 0; color: #5e7480; font-size: 0.93rem; }
.hub-section--updates .hub-section-heading > div > p { color: var(--cc-muted); }
.hub-card-grid { display: grid; gap: 1px; background: #c8d7dd; border: 1px solid #c8d7dd; }
.hub-card-grid--offers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hub-card-grid--resources { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hub-card-grid--single { grid-template-columns: minmax(0, 1fr); }
.hub-empty-card, .hub-offer-card, .hub-resource-card { position: relative; min-height: 270px; padding: 1.5rem; background: #fff; }
.hub-empty-card h3, .hub-offer-card h3, .hub-resource-card h3, .hub-update h3 { margin: 1.7rem 0 0.65rem; color: #122a38; font-size: 1.23rem; line-height: 1.15; letter-spacing: -0.025em; }
.hub-empty-card p, .hub-offer-card p, .hub-resource-card p { color: #59707c; font-size: 0.84rem; }
.hub-card-index { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; min-height: 24px; color: var(--cc-blue); border: 1px solid #bcd2e4; background: #edf5fc; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; }
.hub-offer-card { background: #fff; }
.hub-offer-card::after { position: absolute; top: 0; right: 0; left: 0; height: 4px; content: ""; background: linear-gradient(90deg, var(--cc-blue) 0 64%, var(--cc-teal) 64%); }
.hub-offer-card__label, .hub-resource-card__category, .hub-update__date { margin: 1.25rem 0 0; color: var(--cc-teal); font-size: 0.67rem !important; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.hub-expiry { color: #49616e !important; font-size: 0.74rem !important; font-weight: 700; }
.hub-inline-link { display: inline-flex; gap: 0.32rem; align-items: center; margin-top: 1.15rem; color: var(--cc-blue); font-size: 0.79rem; font-weight: 800; }
.hub-inline-link:hover { color: #0e7f94; }
.hub-two-column, .hub-social-layout { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.hub-update-list { border-top: 1px solid var(--cc-line); }
.hub-update, .hub-empty-card--compact { min-height: auto; padding: 1.35rem 0 1.5rem; border-bottom: 1px solid var(--cc-line); background: transparent; }
.hub-update h3, .hub-empty-card--compact h3 { margin-top: 0.65rem; color: #fff; font-size: 1.5rem; }
.hub-update p, .hub-empty-card--compact p { max-width: 620px; color: var(--cc-muted); }
.hub-empty-card--compact .hub-card-index { border-color: rgba(117, 216, 230, 0.32); background: rgba(26, 161, 184, 0.12); color: #75d8e6; }
.hub-empty-card--compact .hub-inline-link, .hub-update .hub-inline-link { color: #75d8e6; }
.hub-resource-card { min-height: 260px; transition: background-color 160ms var(--cc-ease), transform 160ms var(--cc-ease); }
.hub-resource-card:hover { z-index: 1; background: #f7fbfd; transform: translateY(-3px); }
.hub-review-band { padding: clamp(3.5rem, 7vw, 6rem) 0; background: linear-gradient(100deg, #174f90, #167d9a); color: #fff; }
.hub-review-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
.hub-review-band h2 { max-width: 760px; margin: 0.65rem 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 0.98; letter-spacing: -0.05em; }
.hub-review-band p:not(.hub-kicker) { max-width: 690px; margin-bottom: 0; color: rgba(255, 255, 255, 0.86); }
.hub-review-band .hub-kicker { color: #d1fbff; }
.hub-review-button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.1rem; background: #fff; color: #145176; font-size: 0.88rem; font-weight: 800; white-space: nowrap; transition: transform 150ms var(--cc-ease), background-color 150ms var(--cc-ease); }
.hub-review-button:hover { background: #e8faff; }
.hub-social-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #c6d7df; border: 1px solid #c6d7df; }
.hub-social-links--single { grid-template-columns: minmax(0, 1fr); }
.hub-social-link { min-height: 102px; display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: center; padding: 1rem; background: #fff; transition: background-color 160ms var(--cc-ease); }
.hub-social-link:hover { background: #f8fbfd; }
.hub-social-link__icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #abd1dc; border-radius: 50%; color: var(--cc-teal); font-weight: 800; }
.hub-social-link strong, .hub-social-link small { display: block; }.hub-social-link strong { color: #17303e; font-size: 0.85rem; }.hub-social-link small { margin-top: 0.13rem; color: #65808c; font-size: 0.71rem; }
.hub-social-empty { margin: 0; color: #5e7480; }
.hub-footer { padding: 1.6rem 0; background: #06131d; border-top: 1px solid var(--cc-line); }
.hub-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--cc-muted); font-size: 0.72rem; }.hub-footer p { margin: 0; }.hub-footer strong { color: #fff; }.hub-footer div { display: flex; gap: 1rem; }.hub-footer a:hover { color: #fff; }
@media (max-width: 900px) { .hub-card-grid--resources { grid-template-columns: repeat(2, minmax(0, 1fr)); }.hub-hero__layout { grid-template-columns: minmax(0, 1fr) minmax(200px, 0.55fr); }.signal-field__mark--one { width: 330px; height: 165px; }.signal-field__mark--two { width: 230px; height: 115px; }.signal-field__mark--three { width: 130px; height: 65px; }.signal-field__horizon { width: 340px; }.hub-two-column, .hub-social-layout { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 700px) { .hub-shell { width: min(calc(100% - 1.5rem), var(--cc-max)); }.hub-header__inner { min-height: 64px; }.hub-brand__plate { width: 100px; }.hub-brand__title { display: none; }.hub-nav { gap: 0.6rem; font-size: 0.69rem; }.hub-nav > a:not(.hub-nav__quote) { display: none; }.hub-nav__quote { min-height: 36px; padding: 0.45rem 0.58rem; }.hub-hero__layout { min-height: 0; display: block; }.hub-hero__copy { padding: 4.5rem 0 4rem; }.signal-field { position: absolute; inset: 0; opacity: 0.45; pointer-events: none; }.signal-field__mark { right: -22%; bottom: 16%; }.signal-field__horizon { right: -22%; bottom: 15%; }.signal-field__node--one { top: 17%; right: 24%; }.signal-field__node--two { top: 35%; right: 7%; }.signal-field__node--three { bottom: 8%; right: 45%; }.hub-section-heading { display: block; }.hub-section-heading .hub-kicker { margin-bottom: 0.75rem; }.hub-card-grid--offers, .hub-card-grid--resources { grid-template-columns: 1fr; }.hub-empty-card, .hub-offer-card, .hub-resource-card { min-height: 0; }.hub-review-band__inner { grid-template-columns: 1fr; }.hub-review-button { width: 100%; }.hub-social-links { grid-template-columns: 1fr; }.hub-footer__inner { align-items: flex-start; flex-direction: column; }.hub-footer div { flex-wrap: wrap; } }
@media (prefers-reduced-motion: no-preference) { .hub-hero__copy { animation: hub-reveal 300ms var(--cc-ease) both; } @keyframes hub-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } }
