:root {
  --ink: #102226;
  --teal: #15716f;
  --teal-dark: #0b4544;
  --teal-soft: #d7efed;
  --sand: #f4eee4;
  --cream: #f7f3ec;
  --paper: #fffdf8;
  --accent: #d06a32;
  --text: #243033;
  --muted: #5c6a6e;
  --line: #e0d6c6;
  --shadow: 0 18px 50px rgba(16, 34, 38, 0.1);
  --shadow-lg: 0 28px 70px rgba(16, 34, 38, 0.16);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.apt {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 480px at 90% -10%, rgba(21, 113, 111, 0.12), transparent 55%),
    radial-gradient(900px 420px at -10% 20%, rgba(208, 106, 50, 0.08), transparent 50%),
    var(--cream);
  line-height: 1.65;
  padding-bottom: 4.5rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; padding: 0.5rem 1rem; z-index: 99; }
.wrap { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }
.site-header {
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(224, 214, 198, 0.7);
  position: sticky; top: 0; z-index: 40;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 50px; height: 50px; object-fit: contain; }
.brand strong { display: block; font-size: 0.95rem; }
.brand em { display: block; font-style: normal; color: var(--muted); font-size: 0.8rem; }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 0.45rem 0.9rem; font: inherit;
}
.site-nav { display: flex; align-items: center; gap: 1rem; }
.site-nav ul { display: flex; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.site-nav > ul > li { position: relative; }
.site-nav a { text-decoration: none; color: var(--ink); padding: 0.45rem 0.7rem; border-radius: 999px; display: block; }
.site-nav a:hover { background: var(--sand); }
.site-nav li ul {
  display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 180px;
  box-shadow: var(--shadow); border-radius: 12px; padding: 0.4rem; flex-direction: column;
}
.site-nav li.has-sub:hover > ul, .site-nav li.has-sub:focus-within > ul { display: flex; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.7rem 1.2rem; border-radius: 999px;
  text-decoration: none; font-weight: 650; border: 0; cursor: pointer; font: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(21, 113, 111, 0.28); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { background: transparent; color: var(--teal-dark); border: 1px solid var(--line); }
.page-hero, .hero, .header-image { position: relative; }
.page-hero, .hero { padding: 3.6rem 0 2.4rem; }
.page-hero.tight { padding-top: 2rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.76rem; color: var(--teal); font-weight: 700; }
.hero-headline, .page-hero h1, h1, h2 { font-family: "Source Serif 4", Georgia, serif; font-weight: 600; color: var(--ink); line-height: 1.15; }
.hero-headline, .page-hero h1 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 0.2rem 0 0.6rem; }
.hero-headline h1,
.hero-headline h2,
.hero-headline h3,
.hero-headline p,
.hero-subtext h1,
.hero-subtext h2,
.hero-subtext p {
  font-size: inherit;
  font-weight: inherit;
  font-family: inherit;
  color: inherit;
  line-height: inherit;
  margin: 0;
}
.hero-subtext { font-size: 1rem; color: var(--muted); max-width: 40rem; }
.header-image { min-height: 224px; overflow: hidden; }
.header-image img {
  width: 100%; height: min(392px, 48vw); object-fit: cover;
  animation: ken 18s ease-in-out infinite alternate;
}
@keyframes ken {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.1) translateY(-1.5%); }
}
.header-image-overlay {
  position: absolute; inset: 0; display: flex; align-items: end;
  background: linear-gradient(180deg, rgba(16,34,38,0.05), rgba(16,34,38,0.7));
  color: #fff; padding: 2.8rem 0;
}
.header-image-overlay .hero-headline { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.75rem); }
.header-image-overlay .hero-subtext { color: #f3eee4; font-size: 0.95rem; }
.block { padding: 2.6rem 0; }
.block-header_image { padding: 0; }
.block-cta_band { padding: 0; }
.block-photo_mosaic { padding: 1.4rem 0 2.8rem; }
.prose { max-width: 46rem; }
.prose h2, .wrap > h2, .cta-band h2 { font-family: "Source Serif 4", Georgia, serif; color: var(--ink); }
.prose figure, .in-post { margin: 1.4rem 0; }
.prose img, .in-post img { border-radius: 16px; width: 100%; }
.prose figcaption, .in-post figcaption { color: var(--muted); font-size: 0.88rem; margin-top: 0.4rem; }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem; align-items: center; }
.split img { border-radius: 20px; width: 100%; min-height: 260px; object-fit: cover; box-shadow: var(--shadow); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.15rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card img { border-radius: 14px; width: 100%; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 0.8rem; }
.person img { aspect-ratio: 1; object-fit: cover; }
.role { color: var(--teal); font-weight: 600; margin-top: 0; }
.cta-band {
  background:
    linear-gradient(120deg, rgba(11, 69, 68, 0.92), rgba(21, 113, 111, 0.88)),
    url("/static/tricitiespt/media/ig-joel.jpg") center/cover;
  color: #fff; padding: 4rem 0;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .btn-primary { background: #fff; color: var(--teal-dark); }
.mosaic-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.mosaic-head p { margin: 0.35rem 0 0; color: var(--muted); }
.mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 120px;
  gap: 0.65rem;
}
.mosaic-item {
  margin: 0; overflow: hidden; border-radius: 18px; position: relative;
}
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.mosaic-item:hover img { transform: scale(1.07); }
.mosaic-item:nth-child(1) { grid-column: span 3; grid-row: span 3; }
.mosaic-item:nth-child(2) { grid-column: span 3; grid-row: span 2; }
.mosaic-item:nth-child(3),
.mosaic-item:nth-child(4),
.mosaic-item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
.mosaic-item:nth-child(n+6) { grid-column: span 2; grid-row: span 2; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; list-style: none; padding: 0; margin: 0; }
.blog-card { display: block; text-decoration: none; color: inherit; padding: 0; }
.blog-card img { margin: 0; border-radius: 0; aspect-ratio: 16/10; }
.blog-card .blog-card-body { padding: 1.15rem 1.2rem 1.3rem; }
.blog-card h3 { margin: 0.2rem 0 0.45rem; font-size: 1.35rem; }
.blog-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 0.8fr; }
.blog-card.featured img { aspect-ratio: auto; min-height: 100%; }
.post-list { list-style: none; padding: 0; }
.post-list li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.meta { color: var(--muted); font-size: 0.9rem; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem 1rem; margin-bottom: 0.6rem; }
.site-footer { background: var(--ink); color: #e8e2d6; padding: 3rem 0 6rem; }
.site-footer a { color: #f3eee4; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.plain { list-style: none; padding: 0; }
.plain li { margin: 0 0 1rem; }
.legal { opacity: 0.7; font-size: 0.85rem; }
.sticky-call {
  position: fixed; left: 0; right: 0; bottom: 0; display: none;
  background: var(--teal-dark); z-index: 50;
}
.sticky-call a {
  flex: 1; color: #fff; text-align: center; text-decoration: none;
  padding: 0.85rem 0.4rem; font-weight: 600; font-size: 0.9rem;
}
.sticky-call a + a { border-left: 1px solid rgba(255,255,255,0.2); }
.form-card .btn-row, .wizard-nav { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }
.form-card.highlight { border-color: var(--teal); }
.form-onepage-note { color: var(--muted); }
.one-page-form {
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  padding: 1.3rem 1.3rem 1.1rem; box-shadow: var(--shadow); margin-bottom: 5rem;
}
.one-page-form fieldset { border: 0; margin: 0 0 1.4rem; padding: 0; min-width: 0; }
.one-page-form legend { font-family: "Source Serif 4", Georgia, serif; font-size: 1.35rem; color: var(--ink); margin-bottom: 0.8rem; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 1rem; }
.info-grid .field:has(textarea),
.info-grid .field:has(.check-row) { grid-column: 1 / -1; }
.field { display: block; margin: 0; font-weight: 600; }
.field input, .field textarea, .field select, .stack-form input, .stack-form textarea {
  width: 100%; margin-top: 0.35rem; min-height: 48px; padding: 0.7rem 0.8rem;
  border: 1px solid var(--line); border-radius: 12px; font: inherit; background: #fff;
}
.scale-list { display: grid; gap: 0.85rem; }
.scale-q {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0.95rem 1rem;
}
.scale-q legend { font-size: 1.05rem; margin-bottom: 0.45rem; }
.scale-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(6.4rem, 1fr)); gap: 0.45rem; }
.scale-opt {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem;
  border: 1px solid var(--line); border-radius: 12px; padding: 0.55rem 0.4rem;
  background: #fff; cursor: pointer; text-align: center; min-height: 64px;
}
.scale-opt:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.scale-opt input { position: absolute; opacity: 0; pointer-events: none; }
.scale-num { font-weight: 700; color: var(--teal-dark); }
.scale-lab { font-size: 0.78rem; color: var(--muted); font-weight: 500; line-height: 1.25; }
.section-tag { color: var(--teal); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; margin: 0 0 0.25rem; }
.form-submit-bar {
  position: sticky; bottom: 4.6rem; display: flex; justify-content: flex-end;
  padding-top: 0.6rem; background: linear-gradient(180deg, transparent, var(--paper) 30%);
}
.notice { background: #e8f3f2; border-radius: 12px; padding: 1rem; }
.hours { padding-left: 1.1rem; color: var(--muted); }
.loc-card img { margin: -1.25rem -1.25rem 0.9rem; width: calc(100% + 2.5rem); border-radius: 0; aspect-ratio: 16/10; }
.pager { display: flex; gap: 1rem; align-items: center; margin-top: 1.4rem; }
@media (max-width: 860px) {
  .split, .footer-grid, .info-grid, .blog-grid, .blog-card.featured { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 1rem; border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav li ul { position: static; box-shadow: none; }
  .sticky-call { display: flex; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .mosaic-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .mosaic-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .form-submit-bar { bottom: 4.2rem; }
  .scale-options { grid-template-columns: 1fr; }
  .scale-opt { flex-direction: row; justify-content: flex-start; text-align: left; padding: 0.7rem 0.8rem; }
}
