/* The 312 Team: styled to match essex312.com. Brand colors live here. */
/* Montserrat (SIL Open Font License, fonts/OFL.txt), served from this site: no Google Fonts request. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/montserrat-400.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/montserrat-500.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/montserrat-600.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/montserrat-700.woff2") format("woff2"); }
:root {
  --teal: #228689;        /* Essex 312 primary */
  --teal-2: #2e8387;
  --teal-light: #5ba5a8;  /* Essex 312 header */
  --ink: #0d2426;         /* deep teal-black headings */
  --ink-2: #032527;
  --olive: #727256;       /* Essex 312 title labels */
  --text: #333333;
  --muted: #6f7175;
  --bg: #ffffff;
  --bg-alt: #eeeeee;
  --line: #d9d9d9;
  --black: #000000;
  --sans: "Montserrat", "Gotham A", "Gotham B", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.65 var(--sans); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--sans); color: var(--ink); line-height: 1.15; font-weight: 500; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font: 700 .82rem/1 var(--sans); text-transform: uppercase; letter-spacing: .1em; color: #fff; margin: 0 0 1rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1240px, 90%); margin-inline: auto; }
.narrow { width: min(760px, 90%); }
.muted { color: var(--muted); }
.eyebrow { font: 700 .78rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--teal); margin: 0 0 .75rem; }
.eyebrow a { color: inherit; text-decoration: none; }
.lede { font-size: 1.12rem; max-width: 62ch; }

/* placeholders */
.ph { background: #fff3b0; color: #6b5500; padding: 0 .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.draft-banner { background: #fff3b0; color: #5c4a00; text-align: center; font-size: .85rem; padding: .5rem 1rem; }
.draft-banner .ph { background: #ffe066; }

/* buttons: square, uppercase, bold, like essex312.com */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; background: var(--teal); color: #fff; border: 2px solid var(--teal); padding: .75em 2em; border-radius: 0; font: 700 .9rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.btn:hover { background: #fff; color: var(--teal); }
.btn-sm { padding: .6em 1.3em; font-size: .78rem; }
.btn-lg { padding: .95em 2.2em; font-size: .92rem; }
.btn-outline { background: #fff; color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--teal); border-color: #fff; }
.link-arrow { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; color: var(--teal); white-space: nowrap; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--teal-light); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; }
.mark { width: 42px; height: 42px; flex: none; }
.mark .m1 { fill: #fff; }
.mark .m2 { fill: var(--teal); transition: fill .2s; }
.brand:hover .mark .m2 { fill: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.25rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.brand-text small { font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; opacity: .9; margin-top: 3px; }
.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav > a:not(.btn) { color: #fff; text-decoration: none; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; padding: 15px; }
.site-nav > a:not(.btn):hover, .site-nav > a[aria-current] { color: var(--ink); }
.site-nav .btn { margin-left: .75rem; background: var(--ink); border-color: var(--ink); }
.site-nav .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.site-nav .btn-ghost { display: none; }
.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 3px; background: #fff; margin: 7px 0; transition: transform .2s; }

/* hero: dark photo + overlay like essex312.com */
.hero { position: relative; background: #000 center / cover no-repeat; color: #fff; padding: clamp(3.5rem, 8vw, 7rem) 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.35) 100%); }
.hero > .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: #fff; text-shadow: 1px 1px 1px #000; }
.hero .eyebrow { color: #9fd3d5; }
.hero .lede { color: #e8eeee; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1rem; }
.hero-direct { color: #cfd8d8; font-size: .95rem; }
.hero-direct a { color: #fff; font-weight: 600; }
.hero-card { background: #fff; color: var(--text); padding: 1.75rem; border-top: 6px solid var(--teal); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.hero-card h2 { font-size: 1.3rem; margin: 1rem 0; }
.hero-card-top { display: flex; align-items: center; gap: .9rem; }
.hero-card-top strong { display: block; color: var(--ink); }
.hero-card-top span { font-size: .78rem; color: var(--olive); text-transform: uppercase; letter-spacing: .06em; }

/* avatars */
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; background: var(--bg-alt); }
.avatar-lg { width: 72px; height: 72px; }
.avatar-xl { width: 220px; height: 260px; border-radius: 0; }
.avatar-ph { display: grid; place-items: center; background: var(--teal); color: #fff; font-weight: 700; font-size: 1.1rem; }

/* stats: teal numbers with dividers, like essex312.com */
.stats-band { background: #fff; padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: .5rem 1.5rem; border-left: 2px solid var(--muted); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font: 700 clamp(1.9rem, 3.5vw, 2.9rem)/1.15 var(--sans); color: var(--teal); }
.stat span { font-size: .82rem; color: var(--text); }

/* sections */
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2.25rem; }
.section-head h2 { margin: 0; }
.page-head { padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; background: var(--ink); color: #dfe8e8; }
.page-head h1 { color: #fff; }
.page-head .eyebrow { color: #9fd3d5; }
.page-head .lede { color: #dfe8e8; }
.page-head .lede a, .page-head .muted a { color: #9fd3d5; }
.page-head .muted { color: #b8c6c6; }
.page-head + .section { padding-top: 3rem; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-top: 2rem; }
.service { background: #fff; padding: 0 2rem 2rem; text-align: center; border: 1px solid var(--line); }
.service-icon { display: grid; place-items: center; width: 96px; height: 96px; margin: -48px auto 1.25rem; background: var(--teal); border-radius: 50%; }
.service-icon .mark { width: 46px; height: 46px; }
.service-icon .mark .m2 { fill: #fff; opacity: .55; }
.service h3 { font-size: 1.3rem; font-weight: 700; text-transform: uppercase; color: var(--teal); letter-spacing: .03em; }
.service p { font-size: .95rem; }

/* cards */
.grid { display: grid; gap: 2rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; display: flex; flex-direction: column; height: 100%; }
.section:not(.section-alt) .card { border: 1px solid var(--line); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: #dcdcdc; display: block; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.06); }
.photo-panel { width: 100%; height: 100%; background-repeat: no-repeat; background-color: #dcdcdc; }
.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; font-size: .95rem; }
.card-body h3 { font-size: 1.15rem; margin-bottom: .4rem; color: var(--teal); font-weight: 700; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a:hover { text-decoration: underline; }
.card-body > .link-arrow, .card-actions { margin-top: auto; }
.card-actions { display: flex; align-items: center; gap: 1.25rem; padding-top: .5rem; }
.kicker { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--olive); margin: 0 0 .35rem; }
.facts { display: flex; gap: 1.25rem; font-weight: 700; color: var(--ink); font-size: 1.05rem; margin: 0 0 .3rem; }
.facts span + span { padding-left: 1.25rem; border-left: 2px solid var(--line); }
.blurb { margin-top: .25rem; }
.agent { font-size: .8rem; color: var(--olive); text-transform: uppercase; letter-spacing: .06em; }
.photo-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; text-align: center; padding: 1rem; background: linear-gradient(135deg, #0d2426, #228689); }
.photo-ph .mark { width: 42px; height: 42px; opacity: .55; }
.photo-ph .mark path, .photo-ph .mark rect { fill: #fff; }
.photo-ph small { font-size: .72rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .12em; }
.photo-ph span { font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.85); text-transform: uppercase; letter-spacing: .14em; }
.tag { position: absolute; top: 0; left: 0; background: var(--teal); color: #fff; font: 700 .7rem/1 var(--sans); text-transform: uppercase; letter-spacing: .1em; padding: .6rem .8rem; }
.tag-coming-soon { background: var(--olive); }
.tag-under-contract { background: var(--ink); }
.tag-sold { background: #000; }
.tag .ph { background: #ffe066; color: #5c4a00; }
.sold-note { font-size: .88rem; font-weight: 600; color: var(--ink); margin: .25rem 0 1rem; }
.post .eyebrow { margin-bottom: .5rem; color: var(--olive); }

/* team */
.lead-feature { display: grid; grid-template-columns: auto 1fr; gap: 2.5rem; align-items: start; padding: 2.5rem; background: #fff; margin-bottom: 3rem; border-left: 6px solid var(--teal); }
.section:not(.section-alt) .lead-feature { border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lead-feature h2, .lead-feature h3 { font-size: 1.6rem; color: var(--ink-2); margin-bottom: .3rem; }
.lead-feature p { max-width: 68ch; }
.members { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 4rem; }
.member { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.member .avatar { width: 150px; height: 180px; border-radius: 0; }
.member .title, .mini-member .title, .lead-feature .eyebrow { display: block; font-size: .78rem; font-weight: 600; color: var(--olive); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .15rem; }
.member h3 { font-size: 1.45rem; font-weight: 400; color: var(--ink-2); margin-bottom: .2rem; }
.member-contact { font-size: .92rem; margin-bottom: .75rem; color: var(--text); }
.member-contact a { color: var(--teal); text-decoration: none; }
.member .bio { font-size: .93rem; }
.edu { font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .6rem; }
.mini-members { margin-top: 0; }
.mini-member { display: block; text-align: center; text-decoration: none; color: var(--ink); background: #fff; padding: 1.5rem 1rem; border: 1px solid var(--line); transition: border-color .2s; }
.mini-member:hover { border-color: var(--teal); }
.mini-member .avatar { width: 120px; height: 120px; margin: 0 auto 1rem; }
.mini-member strong { display: block; font-size: 1.15rem; font-weight: 500; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--teal); color: #e8f4f4; padding: 3.25rem 0; }
.cta-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 1.75rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-band p { margin: 0; }
.cta-band .avatar { border: 3px solid #fff; }

/* forms */
.lead-form { display: grid; gap: .9rem; }
.lead-form label { display: grid; gap: .35rem; font-size: .75rem; font-weight: 600; color: var(--text); text-transform: uppercase; letter-spacing: .05em; }
.lead-form input, .lead-form select, .lead-form textarea { font: 400 .95rem/1.4 var(--sans); color: var(--text); width: 100%; padding: .7rem .8rem; border: 1px solid #333; border-radius: 0; background: #fff; transition: border-color .15s, box-shadow .15s; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(34,134,137,.2); }
.lead-form .invalid { border-color: #c2410c; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.route { border: 0; padding: 0; margin: 0; display: grid; gap: .35rem; }
.route legend { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .35rem; }
.lead-form .radio { display: flex; align-items: center; gap: .5rem; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: .92rem; }
.lead-form .radio input { width: auto; accent-color: var(--teal); }
.hp { position: absolute !important; left: -9999px; }
.form-status { margin: 0; font-size: .95rem; min-height: 1px; }
.form-status.ok { color: #15803d; font-weight: 600; }
.form-status.err { color: #c2410c; }
.fine { font-size: .78rem; color: var(--muted); margin: 0; }
.lead-form.sent > :not(.form-status) { display: none; }
.lead-form.sent .form-status { padding: 1.25rem; background: #e8f4f4; color: var(--ink); }

.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: start; }
.contact-card { padding: 2rem; border: 1px solid var(--line); border-top: 6px solid var(--teal); }
.contact-aside { padding: 2rem; background: var(--bg-alt); }
.contact-aside .avatar { margin-bottom: 1.25rem; width: 160px; height: 190px; }
.contact-aside h2 { font-size: 1.6rem; margin-bottom: .2rem; }
.contact-aside .eyebrow { color: var(--olive); }
.contact-list { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .9rem; }
.contact-list span { display: block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--olive); }

/* insights */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chip { font: 700 .78rem/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; padding: .7rem 1.1rem; border: 2px solid #fff; background: transparent; color: #fff; cursor: pointer; }
.chip.is-on, .chip:hover { background: #fff; color: var(--ink); }
.prose { font-size: 1.05rem; padding: 3rem 0 4rem; }
.prose h2 { font-size: 1.55rem; margin-top: 2rem; color: var(--ink-2); }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose li::marker { color: var(--teal); }
.prose blockquote { margin: 1.5rem 0; padding: .5rem 1.25rem; border-left: 4px solid var(--teal); font-size: 1.2rem; color: var(--ink); }
.prose figure { margin: 2rem 0; }
.post-cta { margin-top: 3rem; padding: 1.75rem; background: var(--bg-alt); border-left: 6px solid var(--teal); }
.post-cta strong { font-size: 1.2rem; color: var(--ink); }
.post-cta p { margin: .3rem 0 1rem; }
.post-page .page-head { padding-bottom: 2.5rem; }

/* footer: teal like essex312.com */
.site-footer { background: var(--teal); color: #fff; padding: 3.5rem 0 2rem; font-size: .9rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.brand-footer { margin-bottom: 1rem; }
.brand-footer .mark .m2 { fill: var(--ink); }
.site-footer .muted { color: rgba(255,255,255,.8); }
.site-footer .btn { background: transparent; border-color: #fff; color: #fff; }
.site-footer .btn:hover { background: #fff; color: var(--teal); }
.site-footer .ph { background: rgba(255,224,102,.25); color: #fff3b0; }
.legal { border-top: 1px solid rgba(255,255,255,.5); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .78rem; color: rgba(255,255,255,.85); }
.legal p { margin: 0 0 .4rem; }

/* responsive */
@media (max-width: 1080px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr; gap: 4rem; max-width: 560px; margin: 0 auto; }
  .members { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 86px; left: 0; right: 0; background: var(--teal); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 5% 1.5rem; display: none; }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.btn) { padding: 1rem 0; font-size: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.25); }
  .site-nav .btn { margin: 1rem 0 0; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-5px) rotate(-45deg); }
}
@media (max-width: 680px) {
  .grid-3, .grid-4, .footer-grid, .field-row { grid-template-columns: 1fr; }
  .mini-members { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .mini-member .avatar { width: 88px; height: 88px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.5rem; }
  .stat:nth-child(3) { border-left: 0; }
  .section-head { flex-direction: column; align-items: start; }
  .lead-feature { grid-template-columns: 1fr; padding: 1.5rem; }
  .avatar-xl { width: 180px; height: 210px; }
  .member { grid-template-columns: 110px minmax(0, 1fr); gap: 1rem; }
  .member-body { overflow-wrap: anywhere; }
  .member .avatar { width: 110px; height: 135px; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero-card { padding: 1.25rem; }
  .brand-text strong { font-size: 1.05rem; }
}

/* Connected through Mitir */
.connected { background: var(--ink); color: #fff; }
.connected .muted { color: rgba(255,255,255,.75); max-width: 60ch; }
.connected h2 { color: #fff; }
.connected-head { display: flex; gap: 1.5rem; align-items: center; margin-bottom: 2rem; }
.company { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border: 2px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; transition: border-color .2s, background .2s; }
.company:hover { border-color: #5ba5a8; background: rgba(91,165,168,.08); }
.company h3 { color: #fff; margin: 0; }
.company p { color: rgba(255,255,255,.78); margin: 0; font-size: .95rem; }
.company-role { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 700; color: #5ba5a8; }
.company-facts { list-style: none; padding: 0; margin: .25rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.company-facts li { font-size: .78rem; font-weight: 600; padding: .2rem .5rem; background: rgba(255,255,255,.1); }
.company .link-arrow { margin-top: auto; color: #5ba5a8; }
@media (max-width: 680px) { .connected-head { flex-direction: column; align-items: flex-start; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.takeaways { border-left: 4px solid var(--teal); background: #f3f8f8; padding: 1.25rem 1.5rem; margin: 0 0 2rem; }
.takeaways ul { margin: .5rem 0 1rem; padding-left: 1.2rem; }
.takeaways li { margin: .35rem 0; line-height: 1.5; }

/* ---------- graphics pass (2026-11-18) ---------- */
/* eyebrow accent line */
.section-head .eyebrow::before, .page-head .eyebrow::before, .connected .eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: currentColor; vertical-align: middle; margin-right: .6rem; }

/* cards lift on hover */
.card, .video-card, .mini-member, .company, .service { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .2s, background .2s; }
.card:hover, .mini-member:hover, .service:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(13,36,38,.14); }

/* branded cover graphics for posts without a photo */
.cover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .35rem; padding: 1.4rem 1.6rem; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, #2e9a9d 0%, transparent 60%), linear-gradient(135deg, var(--teal) 0%, #13585a 55%, var(--ink) 100%); }
.cover::after { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(120deg, #000 0%, transparent 70%); -webkit-mask-image: linear-gradient(120deg, #000 0%, transparent 70%); }
.cover > * { position: relative; z-index: 1; }
.cover-label { font: 700 .7rem/1.2 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: #bfe6e7; }
.cover-figure strong { font: 700 clamp(3rem, 6vw, 4.4rem)/1 var(--sans); letter-spacing: -.02em; text-shadow: 0 6px 24px rgba(0,0,0,.25); transition: transform .5s; }
.card:hover .cover-figure strong { transform: scale(1.05); }
.cover-sub { font-size: .8rem; color: rgba(255,255,255,.8); }
.cover-mark .mark { width: 44px; height: 44px; }
.cover-mark .mark .m2 { fill: #5ba5a8; }
.cover-title { font: 600 1.15rem/1.3 var(--sans); max-width: 22ch; }
.cover .skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34%; z-index: 0; fill: rgba(0,0,0,.22); }

/* skyline silhouettes on dark bands */
.cta-band, .connected { position: relative; overflow: hidden; }
.cta-band > .skyline, .connected > .skyline { position: absolute; left: 0; bottom: 0; width: 100%; height: 90px; fill: rgba(255,255,255,.07); pointer-events: none; }
.connected > .skyline { height: 140px; fill: rgba(91,165,168,.1); }
.cta-band > .wrap, .connected > .wrap { position: relative; }

/* stats */
.stat strong { font-variant-numeric: tabular-nums; }
.stat strong::after { content: ""; display: block; width: 36px; height: 3px; background: var(--teal-light); margin: .55rem auto .45rem; }

/* scroll reveal (only when JS runs; respects reduced motion) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* hero: slow zoom on the photo */
.hero { overflow: hidden; }
.hero-zoom { position: absolute; inset: 0; background: inherit; background-size: cover; background-position: center; animation: heroZoom 24s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before { z-index: 1; }
.hero > .wrap { z-index: 2; }

/* videos */
.videos-band { background: linear-gradient(180deg, var(--ink) 0%, #0b3436 100%); color: #fff; }
.videos-band h2 { color: #fff; }
.videos-band .eyebrow, .videos-band .link-arrow { color: #7cc4c6; }
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.video-card h3 { font-size: 1rem; font-weight: 600; margin: .9rem 0 .2rem; line-height: 1.35; }
.videos-band .video-card h3 { color: #fff; }
.videos-band .video-card .muted { color: rgba(255,255,255,.65); }
.video-card .muted { font-size: .82rem; margin: 0; }
.video-media { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; background: #0d2426; border-radius: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.28); }
.video-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.video-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%); }
.video-card:hover .video-media img { transform: scale(1.05); }
.video-card:hover { transform: translateY(-4px); }
.video-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .3s, background .3s; }
.video-play::before { content: ""; position: absolute; left: 26px; top: 21px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent var(--teal); }
.video-card:hover .video-play { transform: scale(1.1); background: #fff; }
.video-badge { position: absolute; z-index: 2; left: .7rem; bottom: .7rem; display: inline-flex; align-items: center; gap: .35rem; font: 700 .7rem/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: #fff; }
.video-badge svg, .btn-icon svg { width: 16px; height: 16px; }
.btn-icon { display: inline-flex; }
.video-ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: .9rem; padding: 1.5rem 1.25rem; font-size: 1.05rem; line-height: 1.35; color: #fff; font-weight: 600; background: linear-gradient(160deg, var(--teal) 0%, #13585a 60%, var(--ink) 100%); }
.video-ph .mark { width: 40px; height: 40px; }
.video-ph .mark .m2 { fill: #5ba5a8; }
.follow { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.page-head .follow { margin-top: 1rem; }
.videos-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.videos-band .btn-outline:hover { background: #fff; color: var(--teal); }

/* pop-up player */
.player { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; }
.player::backdrop { background: rgba(3,20,21,.85); backdrop-filter: blur(4px); }
.player-box { position: relative; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.player-frame { width: min(400px, 92vw); height: min(82vh, 760px); background: #000; border-radius: 12px; overflow: hidden; }
.player-frame iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.player-close { position: absolute; top: -.25rem; right: -3rem; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.player-open { color: #fff; }
@media (max-width: 1080px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .player-close { right: .5rem; top: .5rem; z-index: 2; } }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .hero-zoom { animation: none; }
  .card:hover, .video-card:hover, .mini-member:hover, .service:hover { transform: none; }
}

/* Home page team spotlights (featured: true in team.json) */
.spotlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin: 2rem 0 1.5rem; }
.spotlight { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 1.5rem; align-items: start; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); padding: 1.75rem; }
.spotlight .spotlight-photo { width: 170px; height: 210px; border-radius: 0; }
.spotlight .title { display: block; font-size: .78rem; font-weight: 600; color: var(--olive); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 .15rem; }
.spotlight h3 { font-size: 1.5rem; font-weight: 500; color: var(--ink-2); margin-bottom: .6rem; }
.spotlight p { font-size: .95rem; }
.chips { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { font: 600 .72rem/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); background: #e6f1f1; border-left: 3px solid var(--teal); padding: .5rem .65rem; }
.spotlight-contact { font-weight: 600; font-size: .95rem; margin: -.2rem 0 .9rem; }
.spotlight-contact a { color: var(--teal); text-decoration: none; }
.spotlight-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.mini-rest { grid-template-columns: repeat(auto-fit, minmax(200px, 260px)); justify-content: center; }
@media (max-width: 1000px) { .spotlights { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .spotlight { grid-template-columns: 1fr; padding: 1.25rem; }
  .spotlight .spotlight-photo { width: 120px; height: 150px; }
  .mini-rest { grid-template-columns: 1fr 1fr; }
}

/* polish 12/03: anchors clear the sticky header; outline Email button; long note links wrap on phones */
section[id] { scroll-margin-top: 96px; }
.spotlight-actions .btn-ghost { background: transparent; color: var(--teal); }
.spotlight-actions .btn-ghost:hover { background: var(--teal); color: #fff; }
.takeaways .link-arrow { white-space: normal; }

/* taps 12/04: bigger tap area for arrow links on phones (about 44px tall), same look */
@media (max-width: 600px) {
  .link-arrow { display: inline-block; padding: .7rem 0; margin: -.7rem 0; }
}
