/* ============================================================
   Harbormark House Standards — Atlantic Harbor Spec Ledger
   Vanilla CSS3. No inline styles. No external resources.
   Palette: Navy #13293D · Sand #F4F1EA · Teal #2A9D8F · Coral #E76F51
   Type: Baskerville (display) · Trebuchet MS (text) · Courier New (spec codes)
   ============================================================ */

/* ---- reset & base ---- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

:root {
  --navy: #13293D;
  --navy-deep: #0E1F30;
  --sand: #F4F1EA;
  --sand-deep: #ECE7DC;
  --teal: #2A9D8F;
  --teal-deep: #1F7A70;
  --coral: #E76F51;
  --ink: #1C2B38;
  --ink-soft: #4A5A68;
  --line: #D9D2C4;
  --display: "Baskerville", "Palatino Linotype", Georgia, serif;
  --text: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --code: "Courier New", "Courier", monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--text);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  font-size: 17px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal-deep);
  text-decoration: none;
  border-bottom: 1px solid rgba(42, 157, 143, 0.35);
}

a:hover,
a:focus {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

h1,
h2,
h3 {
  font-family: var(--display);
  color: var(--navy);
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

ul {
  margin-bottom: 1rem;
  padding-left: 1.3rem;
}

li {
  margin-bottom: 0.35rem;
}

em {
  font-style: italic;
}

.shell {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--sand);
  padding: 0.75rem 1.25rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  color: var(--sand);
  border-bottom-color: var(--coral);
}

/* ---- header ---- */

.harbor-header {
  background: var(--navy);
  color: var(--sand);
  border-bottom: 4px solid var(--teal);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.1rem 0;
}

.brandmark {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--sand);
  border-bottom: none;
}

.brandmark:hover,
.brandmark:focus {
  color: var(--sand);
}

.brandmark-glyph {
  flex: none;
}

.brand-name {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.15;
}

.brand-sub {
  font-family: var(--text);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  color: var(--sand);
  border-bottom: none;
  font-size: 0.95rem;
  padding-bottom: 2px;
}

.primary-nav a:hover,
.primary-nav a:focus,
.primary-nav a[aria-current="page"] {
  color: var(--coral);
  border-bottom: 2px solid var(--coral);
}

/* ---- breadcrumb ---- */

.crumb-nav {
  background: var(--sand-deep);
  border-bottom: 1px solid var(--line);
}

.crumb-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0.6rem 0;
  margin: 0;
  font-size: 0.85rem;
}

.crumb-nav li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.crumb-nav li::before {
  content: "\25B8";
  color: var(--teal);
  font-size: 0.7rem;
}

.crumb-nav li:first-child::before {
  content: "";
}

.crumb-nav a {
  color: var(--navy);
  border-bottom-color: var(--line);
}

.crumb-nav [aria-current="page"] {
  color: var(--ink-soft);
  border: none;
}

/* ---- hero ---- */

.harbor-hero {
  background: linear-gradient(180deg, var(--sand) 0%, var(--sand-deep) 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 4.5rem 0 3rem;
}

.hero-eyebrow {
  font-family: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  max-width: 16ch;
  margin: 0 auto 1.4rem;
}

.hero-title em {
  color: var(--coral);
}

.hero-lede {
  max-width: 62ch;
  margin: 0 auto 1.8rem;
  color: var(--ink-soft);
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.6rem;
  list-style: none;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  max-width: 60ch;
  margin: 0 auto;
}

.hero-credentials li {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--navy);
}

.hero-figure {
  width: min(1120px, 92%);
  margin: 2.5rem auto 0;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(19, 41, 61, 0.12);
}

.hero-figure img {
  width: 100%;
}

.hero-figure figcaption {
  background: var(--navy);
  color: var(--sand);
  font-size: 0.9rem;
  padding: 0.85rem 1.2rem;
  text-align: left;
}

.hero-figure figcaption strong {
  color: var(--teal);
  letter-spacing: 0.08em;
  font-family: var(--code);
  font-weight: 700;
}

/* ---- generic section ---- */

.harbor-section {
  padding: 4rem 0;
}

.harbor-section-alt {
  background: var(--sand-deep);
}

.section-head {
  max-width: 70ch;
  margin-bottom: 2.2rem;
}

.section-head-left {
  margin-inline: 0;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.5rem;
}

.section-intro {
  color: var(--ink-soft);
}

/* ---- spec ledger (dl/dt/dd) ---- */

.spec-ledger {
  background: var(--navy);
  color: var(--sand);
  border-radius: 6px;
  padding: 2rem;
}

.spec-ledger dt,
.spec-ledger dd {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(244, 241, 234, 0.18);
}

.spec-ledger dt {
  font-family: var(--code);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--teal);
  text-transform: uppercase;
}

.spec-ledger dd {
  font-family: var(--display);
  font-size: 1.15rem;
}

.spec-ledger dd + dd {
  font-family: var(--text);
  font-size: 0.95rem;
  color: var(--sand-deep);
}

.spec-head dt,
.spec-head dd {
  border-bottom: 2px solid var(--teal);
  font-family: var(--text);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  padding-bottom: 0.8rem;
}

.ledger-footnote {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---- zig-zag showcase rows ---- */

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.showcase-row:nth-child(even) {
  direction: rtl;
}

.showcase-row:nth-child(even) > * {
  direction: ltr;
}

.row-figure {
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(19, 41, 61, 0.10);
  overflow: hidden;
}

.row-figure img {
  width: 100%;
}

.row-figure figcaption {
  background: var(--sand-deep);
  padding: 0.8rem 1.1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
}

.row-kicker {
  font-family: var(--code);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--coral);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.row-checks {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.row-checks li {
  padding-left: 1.8rem;
  position: relative;
  font-size: 0.95rem;
}

.row-checks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.row-meta {
  font-family: var(--code);
  font-size: 0.82rem;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}

/* ---- explorer (tabs + filter) ---- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.filter-chip {
  font-family: var(--text);
  font-size: 0.95rem;
  padding: 0.55rem 1.2rem;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.filter-chip[aria-pressed="true"] {
  background: var(--navy);
  color: var(--sand);
}

.filter-chip:hover,
.filter-chip:focus {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.filter-chip[aria-pressed="true"]:hover,
.filter-chip[aria-pressed="true"]:focus {
  background: var(--teal-deep);
  color: var(--sand);
}

.explorer-status {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
  font-style: italic;
}

.explorer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.6rem;
  list-style: none;
  padding: 0;
}

.field-card {
  background: #FBFAF6;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  box-shadow: 0 10px 22px rgba(19, 41, 61, 0.08);
}

.field-card figure {
  overflow: hidden;
}

.field-card img {
  width: 100%;
  transition: transform 0.3s ease;
}

.field-card:hover img {
  transform: scale(1.03);
}

.field-card-body {
  padding: 1.1rem 1.2rem 1.4rem;
}

.card-meta {
  font-family: var(--code);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--coral);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.field-card h3 {
  font-size: 1.2rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin-top: 0.8rem;
}

.card-tags li {
  font-size: 0.75rem;
  background: var(--sand-deep);
  color: var(--navy);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}

/* ---- configurator / selection ---- */

.atelier-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.option-groups {
  display: grid;
  gap: 1.6rem;
}

.option-group h3 {
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}

.option-hint {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 0.7rem;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.option-pill {
  font-family: var(--text);
  font-size: 0.95rem;
  padding: 0.55rem 1.2rem;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #FBFAF6;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.option-pill[aria-pressed="true"] {
  background: var(--coral);
  border-color: var(--coral);
  color: #FFF;
}

.option-pill:hover,
.option-pill:focus {
  border-color: var(--teal);
}

.summary-panel {
  background: var(--navy);
  color: var(--sand);
  border-radius: 6px;
  padding: 1.8rem;
  position: sticky;
  top: 1.5rem;
}

.summary-kicker {
  font-family: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
}

.summary-panel h3 {
  color: var(--sand);
}

#selection-summary {
  font-size: 1.02rem;
  color: var(--sand-deep);
}

.summary-count {
  font-family: var(--code);
  font-size: 0.82rem;
  color: var(--teal);
  margin-bottom: 1.2rem;
}

.btn-primary {
  font-family: var(--text);
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.6rem;
  background: var(--coral);
  color: #FFF;
  border: 2px solid var(--coral);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.copy-feedback {
  margin-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--teal);
  min-height: 1.2em;
}

/* ---- faq ---- */

.faq-list {
  list-style: none;
  padding: 0;
  max-width: 860px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 0.9rem;
  background: #FBFAF6;
}

.faq-question {
  width: 100%;
  text-align: left;
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--navy);
  background: transparent;
  border: none;
  padding: 1rem 1.2rem;
  cursor: pointer;
}

.faq-question::after {
  content: " +";
  color: var(--coral);
  font-family: var(--text);
}

.faq-question[aria-expanded="true"]::after {
  content: " \2013";
}

.faq-answer {
  padding: 0 1.2rem 1.1rem;
  color: var(--ink-soft);
}

/* ---- pull quote ---- */

.pull-quote-band {
  background: var(--navy-deep);
  color: var(--sand);
  padding: 4rem 0;
  text-align: center;
}

.quote-heading {
  font-family: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.4rem;
}

.pull-quote {
  max-width: 60ch;
  margin: 0 auto;
}

.pull-quote p {
  font-family: var(--display);
  font-size: 1.6rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--sand);
}

.quote-attribution {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--coral);
}

/* ---- consent card ---- */

.consent-card {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: min(340px, calc(100vw - 3rem));
  background: var(--navy);
  color: var(--sand);
  border-radius: 8px;
  padding: 1.4rem;
  box-shadow: 0 16px 40px rgba(19, 41, 61, 0.28);
  z-index: 50;
}

.consent-card h2 {
  color: var(--sand);
  font-size: 1.2rem;
}

.consent-card p {
  font-size: 0.88rem;
  color: var(--sand-deep);
}

.consent-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
}

.btn-consent {
  font-family: var(--text);
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  cursor: pointer;
}

.btn-consent {
  background: var(--teal);
  color: #FFF;
  border: 2px solid var(--teal);
}

.btn-consent-quiet {
  background: transparent;
  color: var(--sand-deep);
  border: 2px solid var(--sand-deep);
}

.btn-consent:hover,
.btn-consent:focus {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
}

.btn-consent-quiet:hover,
.btn-consent-quiet:focus {
  background: var(--sand-deep);
  color: var(--navy);
}

/* ---- footer ---- */

.harbor-footer {
  background: var(--navy-deep);
  color: var(--sand);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

.footer-blurb {
  font-size: 0.9rem;
  color: var(--sand-deep);
}

.footer-heading {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.9rem;
}

.footer-nav ul,
.footer-visit ul {
  list-style: none;
  padding: 0;
}

.footer-nav li,
.footer-visit li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: var(--sand-deep);
  border-bottom: none;
  font-size: 0.92rem;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--coral);
}

address {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--sand-deep);
  line-height: 1.8;
}

address a {
  color: var(--teal);
  border-bottom-color: rgba(42, 157, 143, 0.5);
}

.footer-colophon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid rgba(244, 241, 234, 0.22);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--sand-deep);
}

/* ---- prose pages (privacy / terms / care guide / about) ---- */

.prose-page {
  padding: 3.5rem 0;
}

.prose-head {
  max-width: 72ch;
  margin-bottom: 2.2rem;
}

.prose-body {
  max-width: 76ch;
}

.prose-body h2 {
  margin-top: 2.6rem;
  margin-bottom: 0.8rem;
}

.prose-body h3 {
  margin-top: 1.8rem;
}

.prose-body p,
.prose-body li {
  color: var(--ink-soft);
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}

.spec-cell {
  background: #FBFAF6;
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  padding: 1.1rem 1.2rem;
}

.spec-cell dt {
  font-family: var(--code);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}

.spec-cell dd {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--navy);
}

.framed-figure {
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(19, 41, 61, 0.10);
  margin: 1.8rem 0;
  overflow: hidden;
}

.framed-figure img {
  width: 100%;
}

.framed-figure figcaption {
  background: var(--sand-deep);
  padding: 0.75rem 1.1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.contact-panel {
  background: #FBFAF6;
  border: 1px solid var(--line);
  border-top: 4px solid var(--coral);
  border-radius: 6px;
  padding: 1.6rem 1.8rem;
}

.contact-panel h2 {
  margin-top: 0;
}

.contact-panel p {
  color: var(--ink-soft);
}

.hours-list {
  list-style: none;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  padding: 0.55rem 0;
  color: var(--ink);
  font-size: 0.95rem;
}

.hours-list li:last-child {
  border-bottom: none;
}

/* ---- responsive ---- */

@media (max-width: 900px) {
  .showcase-row,
  .atelier-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .showcase-row:nth-child(even) {
    direction: ltr;
  }

  .summary-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .harbor-hero {
    padding: 3rem 0 2rem;
  }

  .harbor-section {
    padding: 2.8rem 0;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
