/* Stronger West Dade — Miami Modern (MiMo) in earth tones.
   Layout: wallpaper-backed pages, cream panels, arch motifs from mid-century Miami architecture. */
:root {
  --cream: #F4EEE3;
  --paper: #FBF8F2;
  --sand: #E3D5BD;
  --sage: #6E7D5D;
  --olive: #3D4633;
  --clay: #A9684A;
  --ink: #2C2A25;
  --muted: #6B665C;
  --line: rgba(61, 70, 51, .18);
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Jost", "Futura", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--sage);
}
@media (max-width: 900px) { body { background-attachment: scroll; background-size: 1400px auto; background-repeat: repeat-y; } }
img { max-width: 100%; display: block; }
a { color: var(--olive); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--clay); outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; color: var(--olive); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0; max-width: 65ch; }
.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font-family: var(--body); font-size: .78rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--clay);
}

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(251, 248, 242, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--olive); }
.brand svg { width: 34px; height: 40px; flex: none; }
.brand-name { font-family: var(--display); font-size: 1.45rem; line-height: 1; font-weight: 600; }
.brand-sub { display: block; white-space: nowrap; font-family: var(--body); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.menu { display: flex; flex-wrap: nowrap; gap: 4px 16px; white-space: nowrap; list-style: none; margin: 0; padding: 0; }
.menu a { text-decoration: none; color: var(--ink); font-size: .86rem; letter-spacing: .04em; padding-block: 6px; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.menu a:hover { color: var(--clay); }
.menu a[aria-current="page"] { color: var(--clay); border-bottom-color: var(--clay); }
.menu .menu-cta a { background: var(--olive); color: var(--paper); padding: 9px 18px; border-radius: 999px; border: 0; }
.menu .menu-cta a:hover, .menu .menu-cta a[aria-current="page"] { background: var(--clay); color: var(--paper); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: .85rem; color: var(--olive); cursor: pointer; }
@media (max-width: 1380px) {
  .menu-toggle { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); }
  .menu.open { display: flex; }
  .menu li { border-top: 1px solid var(--line); }
  .menu a { display: block; padding-block: 14px; font-size: 1rem; }
  .menu .menu-cta { border: 0; padding-top: 14px; }
  .menu .menu-cta a { display: inline-block; }
}

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-family: var(--body); font-size: .9rem; letter-spacing: .06em; padding: 14px 28px; border-radius: 999px; border: 1px solid var(--olive); transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.btn-solid { background: var(--olive); color: var(--paper); }
.btn-solid:hover { background: var(--clay); border-color: var(--clay); }
.btn-ghost { background: transparent; color: var(--olive); }
.btn-ghost:hover { background: var(--olive); color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero (home) */
.hero { padding-block: clamp(56px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero-copy h1 em { font-style: italic; color: var(--clay); }
.hero-copy .lead { font-size: 1.2rem; color: var(--muted); }
.arch {
  aspect-ratio: 3 / 4; max-width: 100%;
  border-radius: 999px 999px 18px 18px;
  background: var(--sage);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
}
.arch::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(251, 248, 242, .8); border-radius: 999px 999px 10px 10px; pointer-events: none; }
.arch-note { position: relative; background: var(--paper); padding: 26px 28px; border-radius: 12px; border: 1px solid var(--line); display: grid; gap: 6px; align-self: center; }
.arch-note strong { font-family: var(--display); font-size: 1.5rem; font-weight: 500; color: var(--olive); line-height: 1.15; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Page header (inner pages) */
.page-head { padding-block: clamp(56px, 8vw, 104px) clamp(36px, 5vw, 60px); text-align: left; }
.page-head .wrap { display: grid; gap: 18px; }
.page-head p.lead { font-size: 1.2rem; color: var(--muted); }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 100px); }
.panel { background: rgba(251, 248, 242, .94); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 760px; }
.section-head p { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split > * { min-width: 0; }
.stack { display: grid; gap: 20px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card p { color: var(--muted); font-size: .98rem; }
.card .arch-icon { width: 46px; height: 54px; border-radius: 999px 999px 6px 6px; background: var(--sand); display: grid; place-items: center; color: var(--olive); }
.card .arch-icon svg { width: 22px; height: 22px; }
a.card { text-decoration: none; color: inherit; transition: transform .25s, border-color .25s; }
a.card:hover { transform: translateY(-3px); border-color: var(--clay); }
.card .more { font-size: .85rem; letter-spacing: .08em; color: var(--clay); text-transform: uppercase; }

/* Values row with arch tops */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { border: 1px solid var(--line); border-radius: 6px; padding: 34px 22px 28px; text-align: center; background: var(--paper); display: grid; gap: 10px; align-content: start; }
.value p { color: var(--muted); font-size: .95rem; margin-inline: auto; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }

/* Breeze-block band — the MiMo screen-block pattern */
.breeze {
  height: 46px;
  background-color: var(--sand);
  background-image:
    radial-gradient(circle at 50% 50%, var(--cream) 0 9px, transparent 10px),
    radial-gradient(circle at 0 0, var(--cream) 0 9px, transparent 10px),
    radial-gradient(circle at 100% 0, var(--cream) 0 9px, transparent 10px),
    radial-gradient(circle at 0 100%, var(--cream) 0 9px, transparent 10px),
    radial-gradient(circle at 100% 100%, var(--cream) 0 9px, transparent 10px);
  background-size: 46px 46px;
  opacity: .9;
}

/* Steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--olive); padding-top: 18px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: "Step " counter(step); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--clay); }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Lists */
.check { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check li { padding-left: 30px; position: relative; }
.check li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 16px; border-radius: 999px 999px 3px 3px; background: var(--sage); }

/* Quote band */
.quote { text-align: center; padding-block: clamp(64px, 9vw, 120px); }
.quote blockquote { margin: 0 auto; max-width: 900px; font-family: var(--display); font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.15; color: var(--olive); font-style: italic; }
.quote cite { display: block; margin-top: 22px; font-style: normal; }

/* Events */
.event { display: grid; grid-template-columns: 120px 1fr auto; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.event:first-child { border-top: 1px solid var(--line); }
.event-when { font-family: var(--display); font-size: 1.15rem; color: var(--clay); line-height: 1.2; }
.event-body { display: grid; gap: 6px; min-width: 0; }
.event-body p { color: var(--muted); font-size: .97rem; }
.tag { display: inline-block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--sand); color: var(--olive); white-space: nowrap; }
@media (max-width: 700px) { .event { grid-template-columns: 1fr; gap: 10px; } .event .tag { justify-self: start; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 4px 24px; }
.faq summary { cursor: pointer; list-style: none; font-family: var(--display); font-size: 1.35rem; color: var(--olive); padding-block: 16px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); color: var(--clay); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* Form */
.form { display: grid; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 44px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); color: var(--ink); width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-status { font-size: .95rem; color: var(--olive); }

/* CTA band */
.cta-band { background: var(--olive); color: var(--paper); border-radius: 28px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--paper); }
.cta-band p { color: rgba(251, 248, 242, .8); margin-top: 12px; }
.cta-band .btn-solid { background: var(--paper); color: var(--olive); border-color: var(--paper); }
.cta-band .btn-solid:hover { background: var(--clay); color: var(--paper); border-color: var(--clay); }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

.note { font-size: .92rem; color: var(--muted); border-left: 2px solid var(--clay); padding-left: 16px; }

/* Footer */
.site-footer { background: var(--olive); color: rgba(251, 248, 242, .82); padding-block: 64px 32px; margin-top: clamp(56px, 8vw, 100px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-family: var(--body); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); margin: 0 0 14px; font-weight: 500; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: rgba(251, 248, 242, .85); text-decoration: none; }
.footer-grid a:hover { color: var(--paper); text-decoration: underline; }
.footer-motto { font-family: var(--display); font-size: 1.7rem; color: var(--paper); line-height: 1.2; margin-top: 14px; font-style: italic; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(251, 248, 242, .18); font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

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

/* One-page layout: sections sit under the sticky header when a tab is clicked */
.page-section { scroll-margin-top: 76px; }
.page-section > .page-head { padding-block: clamp(48px, 6vw, 80px) clamp(28px, 4vw, 44px); }
.menu a.active { color: var(--clay); border-bottom-color: var(--clay); }
.menu .menu-cta a.active { color: var(--paper); background: var(--clay); }

/* Our promise: a clean framed card */
.promise {
  position: relative; justify-self: center; width: 100%; max-width: 440px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: clamp(48px, 5vw, 64px) clamp(28px, 4vw, 52px);
  text-align: center; display: grid; justify-items: center; gap: 22px;
  box-shadow: 0 30px 60px -30px rgba(61, 70, 51, .35), 0 2px 0 rgba(255, 255, 255, .6) inset;
}
.promise::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(169, 104, 74, .45);
  border-radius: 2px; pointer-events: none;
}
.promise .eyebrow { font-size: .82rem; letter-spacing: .3em; }
.promise-rule { width: 48px; height: 1px; background: var(--clay); opacity: .6; }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.promise-list li { font-family: var(--display); font-size: clamp(1.8rem, 2.6vw, 2.35rem); line-height: 1.15; color: var(--olive); }
.promise-list li:nth-child(2) { font-style: italic; color: var(--clay); }
.promise-sign { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); max-width: 26ch; }

/* Membership tiers */
.tier { gap: 14px; }
.tier h3 { font-size: 1.8rem; }
.check.small { gap: 10px; font-size: .95rem; margin-top: 4px; }
.check.small li::before { top: .45em; width: 11px; height: 13px; }
.tier-dues { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--olive) !important; }

.announce { background: var(--olive); text-align: center; font-size: .8rem; letter-spacing: .08em; padding: 9px max(16px, env(safe-area-inset-right, 0px)) 9px max(16px, env(safe-area-inset-left, 0px)); }
.announce a { color: var(--paper); text-decoration: none; }
.announce span { color: var(--sand); margin-left: 6px; }
.announce a:hover span { text-decoration: underline; }
.coords { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
a.more { text-decoration: none; }
a.more:hover { text-decoration: underline; }

/* Language switch */
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { font-size: .8rem; letter-spacing: .08em; text-decoration: none; color: var(--olive); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; white-space: nowrap; transition: border-color .2s, color .2s; }
.lang:hover { border-color: var(--clay); color: var(--clay); }
@media (max-width: 1380px) { .nav-right { gap: 10px; } }
@media (max-width: 420px) { .brand-sub { display: none; } }

.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-opt { font-size: .74rem; letter-spacing: .1em; text-decoration: none; color: var(--olive); padding: 5px 10px; border-radius: 999px; line-height: 1.2; transition: background .2s, color .2s; }
a.lang-opt:hover { color: var(--clay); }
.lang-opt.current { background: var(--olive); color: var(--paper); }
@media (max-width: 420px) {
  .brand { gap: 8px; }
  .brand svg { width: 26px; height: 32px; }
  .brand-name { font-size: 1.1rem; }
  .brand > span { min-width: 0; }
  .nav { gap: 10px; }
  .menu-toggle { padding: 7px 12px; }
  .lang-opt { padding: 5px 8px; }
}

/* Communities */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.area { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 30px 28px; display: grid; gap: 18px; min-width: 0; }
.area-head { display: grid; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--clay); }
.area-head h3 { font-size: 1.7rem; }
.area-count { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.comm-list { list-style: none; margin: 0; padding: 0; display: grid; }
.comm-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 11px; border-bottom: 1px solid var(--line); }
.comm-list li:last-child { border-bottom: 0; }
.comm-name { font-family: var(--display); font-size: 1.3rem; color: var(--olive); line-height: 1.2; }
.comm-type { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.comm-type.is-muni { color: var(--clay); }
.comm-note { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: clamp(28px, 4vw, 44px); display: grid; gap: 14px; position: relative; }
.comm-note::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(169, 104, 74, .35); border-radius: 2px; pointer-events: none; }
.comm-note p { color: var(--muted); }
@media (max-width: 960px) { .area-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .area-grid { grid-template-columns: 1fr; } }
.site-header .wrap { max-width: 1400px; }
/* One tab at a time */
html.tabbed { scroll-behavior: auto; }
.tabbed .page-section:not(.is-active) { display: none; }
.tabbed main > .breeze { display: none; }
.page-section h1:focus { outline: none; }

/* Board */
.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.member { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 14px; display: grid; gap: 18px; min-width: 0; }
.member-photo { position: relative; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; border-radius: 3px; background: var(--sand); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.92); }
.member-photo::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(251, 248, 242, .7); border-radius: 2px; pointer-events: none; }
.member-body { display: grid; gap: 6px; text-align: center; padding: 4px 8px 10px; }
.member-body h3 { font-size: 1.7rem; }
@media (max-width: 900px) { .board-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .board-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; } }

/* Header logo image */
.site-header .nav { padding-block: 12px; }
.brand .brand-logo { display: block; height: 136px; width: auto; max-width: 100%; }
@media (max-width: 720px) { .brand .brand-logo { height: 96px; } }
@media (max-width: 420px) { .brand .brand-logo { height: 76px; } }

/* Solid green page background: light text for sections that sit directly on it */
:is(.hero, .page-head, .quote, .section:not(.panel)) :is(h1, h2, h3, p, li, blockquote, a:not(.btn)):not(:is(.card, .promise, .value, .comm-note, .form) *) { color: var(--paper); }
:is(.hero, .page-head, .quote, .section:not(.panel)) .eyebrow:not(:is(.card, .promise, .value, .comm-note, .form) *) { color: var(--sand); }
:is(.hero, .page-head, .quote, .section:not(.panel)) .btn-ghost:not(:is(.card, .promise, .value, .comm-note, .form) *) { color: var(--paper); border-color: var(--paper); }
:is(.hero, .page-head, .quote, .section:not(.panel)) :is(h1 em, .event-when):not(:is(.card, .promise, .value, .comm-note, .form) *) { color: var(--sand); }
