/* Harborstone Site Kit — styles for the Bricks build.
   Every class here is also registered as a Bricks global class (empty), so
   the team can move rules into Bricks class settings later if preferred. */

:root {
  --hs-harbor: #0E2A3B;
  --hs-harbor-deep: #081B27;
  --hs-brass: #A97B2F;
  --hs-brass-light: #D9B46A;
  --hs-stone: #F4F1EC;
  --hs-slate: #55636D;
  --hs-ink: #16212A;
  --hs-line: #DDD7CC;
  --hs-white: #FFFFFF;
  --hs-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --hs-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hs-space-section: clamp(3rem, 7vw, 5.5rem);
  --hs-wide: 1200px;
  --hs-narrow: 760px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { background: var(--hs-stone); color: var(--hs-ink); font-family: var(--hs-sans); font-size: 1.06rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body h1, body h2, body h3, body h4 { font-family: var(--hs-serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--hs-harbor); margin: 0; }
body h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
body h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
body h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); }
body a { color: var(--hs-harbor); text-underline-offset: 0.18em; }
body a:hover { color: var(--hs-brass); }
[id] { scroll-margin-top: 96px; }

/* ---------- Layout ---------- */
.brxe-section.hs-section { padding: var(--hs-space-section) clamp(1rem, 4vw, 2rem); }
.hs-section--white { background: var(--hs-white); }
.hs-section--stone { background: var(--hs-stone); }
.hs-section--harbor { background: var(--hs-harbor); color: var(--hs-stone); }
.hs-section--harbor h1, .hs-section--harbor h2, .hs-section--harbor h3 { color: var(--hs-white); }
.hs-section--harbor a:not(.hs-btn) { color: var(--hs-white); }
.brxe-container.hs-container { width: var(--hs-wide); max-width: 100%; gap: 1.25rem; }
.brxe-container.hs-container--narrow { width: var(--hs-narrow); }
.hs-center { text-align: center; align-items: center; }
.hs-center .hs-btn-row { justify-content: center; }
.hs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; width: 100%; margin-top: 1rem; }
.hs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .hs-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hs-grid--3 { grid-template-columns: 1fr; } }
.hs-center .hs-card, .hs-center .hs-grid { text-align: left; }
.hs-container > .brxe-shortcode, .hs-container > .brxe-text, .hs-container > .brxe-div { width: 100%; }
.hs-container > * { max-width: 100%; }
.hs-container > p.brxe-text-basic, .hs-card p.brxe-text-basic, .hs-step p.brxe-text-basic { margin: 0; }
.hs-container--narrow > .brxe-text-basic.hs-lead { max-width: none; }
.hs-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); width: 100%; align-items: start; }
.hs-stack > * + * { margin-top: 1rem; }

/* ---------- Type helpers ---------- */
.hs-eyebrow { font-family: var(--hs-sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hs-brass); margin: 0; }
.hs-section--harbor .hs-eyebrow { color: var(--hs-brass-light); }
.hs-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 46rem; }
.hs-muted { color: var(--hs-slate); }
.hs-section--harbor .hs-muted { color: #C9D2D8; }

/* ---------- Buttons ---------- */
.hs-btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.brxe-button.hs-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--hs-brass); color: var(--hs-harbor-deep); font-weight: 700; font-size: 1rem; padding: 0.85rem 1.5rem; border-radius: 4px; border: 2px solid var(--hs-brass); text-decoration: none; line-height: 1.2; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.brxe-button.hs-btn:hover { background: var(--hs-brass-light); border-color: var(--hs-brass-light); color: var(--hs-harbor-deep); }
.brxe-button.hs-btn--outline { background: transparent; color: var(--hs-harbor); border-color: var(--hs-harbor); }
.brxe-button.hs-btn--outline:hover { background: var(--hs-harbor); color: var(--hs-white); border-color: var(--hs-harbor); }
.hs-section--harbor .brxe-button.hs-btn--outline { color: var(--hs-white); border-color: rgba(255,255,255,.7); }
.hs-section--harbor .brxe-button.hs-btn--outline:hover { background: var(--hs-white); color: var(--hs-harbor); }
.brxe-button.hs-btn--small { padding: 0.6rem 1.1rem; font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hs-hero { position: relative; overflow: hidden; }
.hs-hero::after { content: ""; position: absolute; right: -10%; bottom: -45%; width: 60vw; max-width: 760px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 0 0 60px rgba(255,255,255,0.02), 0 0 0 120px rgba(255,255,255,0.015); pointer-events: none; }
.hs-hero > * { position: relative; z-index: 1; }
.hs-hero-points ul { list-style: none; padding: 0; margin: 0.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; font-size: 0.95rem; }
.hs-hero-points li::before { content: "\2014"; margin-right: 0.5rem; color: var(--hs-brass-light); }

/* ---------- Cards & steps ---------- */
.hs-card { background: var(--hs-white); border: 1px solid var(--hs-line); border-radius: 6px; padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.hs-section--white .hs-card { background: var(--hs-stone); }
.hs-card:hover { border-color: var(--hs-brass); transform: translateY(-2px); box-shadow: 0 10px 30px -18px rgba(14,42,59,.45); }
.hs-card p { margin: 0; }
.hs-card-link { margin-top: auto; font-weight: 600; text-decoration: none; }
.hs-card-link::after { content: " \2192"; }
.hs-step { border-top: 2px solid var(--hs-harbor); padding-top: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; }
.hs-section--harbor .hs-step { border-top-color: var(--hs-brass-light); }
.hs-num { font-family: var(--hs-serif); font-size: 2.25rem; line-height: 1; color: var(--hs-brass); margin: 0; }

/* ---------- Rich text lists ---------- */
.hs-rich ul, .hs-rich ol { padding-left: 1.25rem; margin: 0.5rem 0; }
.hs-rich li { margin-bottom: 0.45rem; }
.hs-rich p { margin: 0 0 0.9rem; }
.hs-check ul, ul.hs-check { list-style: none; padding-left: 0; }
.hs-check li { position: relative; padding-left: 1.75rem; }
.hs-check li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.9rem; height: 0.5rem; border-left: 2px solid var(--hs-brass); border-bottom: 2px solid var(--hs-brass); transform: rotate(-45deg); }

/* ---------- Note / boundary box ---------- */
.hs-note { border-left: 3px solid var(--hs-brass); background: rgba(169,123,47,.07); padding: 1rem 1.25rem; border-radius: 0 4px 4px 0; font-size: 0.95rem; color: var(--hs-slate); }

/* ---------- FAQ ---------- */
.hs-faq details { border-bottom: 1px solid var(--hs-line); padding: 1.1rem 0; }
.hs-faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; color: var(--hs-harbor); }
.hs-faq summary::-webkit-details-marker { display: none; }
.hs-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--hs-brass); }
.hs-faq details[open] summary::after { content: "\2212"; }
.hs-faq details > p { margin: 0.75rem 0 0; color: var(--hs-slate); }

/* ---------- Embeds (GHL booking + forms) ---------- */
.hs-embed { background: var(--hs-white); border: 1px solid var(--hs-line); border-radius: 6px; padding: 0.5rem; width: 100%; }
.hs-embed iframe { display: block; width: 100%; border: 0; min-height: 640px; }
.hs-embed--booking iframe { min-height: 720px; }
.hs-embed-fallback { padding: 2rem; text-align: center; }
.hs-embed-fallback p { margin: 0 0 1rem; }
.hs-embed-fallback .hs-fallback-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.hs-embed-fallback a { display: inline-block; padding: 0.75rem 1.25rem; border-radius: 4px; font-weight: 700; text-decoration: none; border: 2px solid var(--hs-harbor); color: var(--hs-harbor); }
.hs-embed-fallback a.is-primary { background: var(--hs-brass); border-color: var(--hs-brass); color: var(--hs-harbor-deep); }
.hs-admin-note { background: #FFF6E0; border: 1px dashed #C99A2E; color: #5A4310; padding: 0.75rem 1rem; border-radius: 4px; font-size: 0.85rem; margin-bottom: 1rem; text-align: left; }
.hs-booking { width: 100%; }
.hs-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.hs-tabs button { font: inherit; font-weight: 600; padding: 0.6rem 1.1rem; border-radius: 999px; border: 1px solid var(--hs-harbor); background: transparent; color: var(--hs-harbor); cursor: pointer; }
.hs-tabs button[aria-selected="true"] { background: var(--hs-harbor); color: var(--hs-white); }
.hs-tabpanel[hidden] { display: none; }

/* ---------- Header ---------- */
.hs-header { background: var(--hs-white); border-bottom: 1px solid var(--hs-line); padding: 0.9rem clamp(1rem, 4vw, 2rem); }
#brx-header { position: sticky; top: 0; z-index: 50; }
.brxe-container.hs-header-inner { width: var(--hs-wide); max-width: 100%; flex-direction: row; align-items: center; justify-content: space-between; gap: 1.5rem; }
.hs-wordmark a { text-decoration: none; color: var(--hs-harbor); display: inline-block; line-height: 1.1; }
.hs-wordmark strong { display: block; font-family: var(--hs-serif); font-size: 1.35rem; font-weight: 600; }
.hs-wordmark small { display: block; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hs-slate); font-weight: 600; }
.hs-header-right { display: flex; align-items: center; gap: 1.5rem; }
.hs-nav .bricks-nav-menu > li > a { font-weight: 500; color: var(--hs-ink); }
.hs-nav .bricks-nav-menu > li > a:hover { color: var(--hs-brass); }
.hs-nav .sub-menu { background: var(--hs-white); border: 1px solid var(--hs-line); min-width: 15rem; }
.hs-nav .sub-menu a { padding: 0.55rem 1rem; display: block; }
@media (max-width: 991px) { .hs-header .hs-header-cta { display: none; } }

/* ---------- Footer ---------- */
.hs-footer { background: var(--hs-harbor-deep); color: var(--hs-stone); padding: var(--hs-space-section) clamp(1rem, 4vw, 2rem) 2rem; }
.hs-footer a { color: var(--hs-white); text-decoration: none; }
.hs-footer a:hover { color: var(--hs-brass-light); }
.hs-footer h3 { font-family: var(--hs-sans); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hs-brass-light); margin-bottom: 0.75rem; }
.hs-footer .hs-footer-brand strong { font-family: var(--hs-serif); font-size: 1.5rem; color: var(--hs-white); display: block; margin-bottom: 0.5rem; }
.hs-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2rem; width: 100%; }
@media (max-width: 900px) { .hs-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hs-footer-grid { grid-template-columns: 1fr; } }
.hs-footer ul { list-style: none; padding: 0; margin: 0; }
.hs-footer li { margin-bottom: 0.4rem; }
.hs-fine { font-size: 0.8rem; opacity: 0.75; border-top: 1px solid rgba(255,255,255,.13); padding-top: 1.25rem; margin-top: 2.5rem; width: 100%; }
.hs-contact-list, .hs-socials { list-style: none; padding: 0; margin: 0; }
.hs-socials { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.hs-socials a { font-weight: 600; }

/* ---------- Mobile call / text / book bar ---------- */
.hs-mobile-bar { display: none; }
@media (max-width: 781px) {
  .hs-mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--hs-harbor); border-top: 1px solid rgba(255,255,255,.15); }
  .hs-mobile-bar a { color: #fff; text-align: center; padding: 0.85rem 0.25rem; font-weight: 600; font-size: 0.92rem; text-decoration: none; }
  .hs-mobile-bar a + a { border-left: 1px solid rgba(255,255,255,.15); }
  .hs-mobile-bar a.is-primary { background: var(--hs-brass); color: var(--hs-harbor-deep); }
  body { padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hs-card, .hs-card:hover { transition: none; transform: none; } }

/* ---------- Logo + headshot ---------- */
.hs-logo, .hs-logo img { display: block; height: 56px; width: auto; max-width: 100%; }
.hs-logo a { display: block; }
.hs-footer-logo, .hs-footer-logo img { display: block; height: 54px; width: auto; max-width: 100%; margin-bottom: 0.75rem; }
@media (max-width: 480px) { .hs-logo, .hs-logo img { height: 38px; } }
.hs-headshot, .hs-headshot img { display: block; width: 100%; max-width: 440px; height: auto; border-radius: 6px; }
.hs-headshot img, img.hs-headshot { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; box-shadow: 0 24px 50px -30px rgba(14,42,59,.55); }
.hs-stack > .hs-headshot + .hs-card { margin-top: 1.5rem; }
.hs-stack > .hs-card { margin-top: 1.75rem; }
