/* Open City Advocates — the look of the Squarespace site at www.opencityadvocates.org,
   measured page by page on 2026-10-22 at 1280px and 390px.
   Fonts: Cormorant Garamond (headings, nav, list dates), Nunito Sans (body, buttons,
   footer, form fields), Fjalla One (news post titles). All self-hosted (OFL). */

@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:300 700;font-display:swap;src:url('../fonts/cormorant-garamond.woff2') format('woff2');}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:300 700;font-display:swap;src:url('../fonts/cormorant-garamond-italic.woff2') format('woff2');}
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/nunito-sans-400.woff2') format('woff2');}
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/nunito-sans-600.woff2') format('woff2');}
@font-face{font-family:'Nunito Sans';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/nunito-sans-700.woff2') format('woff2');}
@font-face{font-family:'Fjalla One';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/fjalla-one-400.woff2') format('woff2');}

:root {
  /* The Squarespace palette, as site.css defines it */
  --brown: #4f4540;    /* "black": hsl(21,10%,28%) — text, footer, header text */
  --grey: #7c746d;     /* "lightAccent" hsl(28,6%,47%), darkened a step to reach 4.5:1 on white */
  --orange: #c5521f;   /* "darkAccent": hsl(18,72%,45%) — links, solid buttons */
  --yellow: #fdb51c;   /* "accent": hsl(41,98%,55%) — footer links on brown; too light for text on white */
  --rule: #d3d3d3;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --display: "Fjalla One", "Arial Narrow", sans-serif;
  --gutter: 2.6vw;     /* 33px at 1280 */
  --col: 11px;         /* the gap between the two halves of Squarespace's fluid grid */
  /* Squarespace heading sizes: (size value - 1) * 1.2vw + 1rem, with the phone sizes as floors */
  --h1: max(39.5px, calc(2.6112vw + 17px));
  --h2: max(25.5px, calc(1.0588vw + 17px));
  --h3: max(18.2px, calc(.24vw + 17px));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: .06em;
  color: var(--brown);
  background: #fff;
}
img { max-width: 100%; }
a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--brown); }
p { margin: 17px 0; }
ul, ol { margin: 17px 0; padding-left: 40px; }
li { margin: 8.5px 0; }
hr { border: 0; height: 1px; background: var(--brown); margin: 8.5px 0; }
blockquote { margin: 17px 0; padding: 0 0 0 1.4em; border-left: 2px solid var(--rule); }
blockquote p { margin: 0 0 17px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; letter-spacing: .01em; color: var(--brown); }
h1 { font-size: var(--h1); line-height: 1.187; margin: 0 0 34px; }
h2 { font-size: var(--h2); line-height: 1.254; margin: 34px 0; }
h3 { font-size: var(--h3); line-height: 1.29; margin: 34px 0 17px; }
h4 { font-size: 1rem; margin: 34px 0 17px; }
iframe { max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header: logo left, uppercase Cormorant nav right, 73px tall */
.site-header { background: #fff; position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 17px var(--gutter); min-height: 73px; }
.brand { display: block; line-height: 0; }
.brand img { width: 202px; height: 40px; display: block; }
.nav-list { display: flex; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-list a, .nav-parent {
  display: inline-block; font-family: var(--serif); font-size: 16px; font-weight: 600; line-height: 1.1;
  text-transform: uppercase; letter-spacing: .06em; color: var(--brown); text-decoration: none; padding: 1.6px 0;
  background: none; border: 0; cursor: pointer; -webkit-appearance: none; appearance: none; margin: 0;
}
.nav-list a:hover, .nav-parent:hover, .nav-list a.active, .nav-parent.active { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; color: var(--brown); }
.has-children { position: relative; }
.submenu { position: absolute; right: 0; top: 100%; width: max-content; min-width: 320px; max-width: min(560px, calc(100vw - 2 * var(--gutter))); background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.12); list-style: none; margin: 6px 0 0; padding: 14px 20px; display: none; z-index: 60; text-align: left; }
.has-children:hover .submenu, .has-children.open .submenu { display: block; }
.submenu li { margin: 0; }
.submenu a { display: block; padding: 6px 0; white-space: normal; line-height: 1.3; }
.burger { display: none; width: 47px; height: 37px; padding: 1px 6px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 7px; }
.burger span { display: block; height: 1.5px; background: var(--brown); }

/* Homepage */
.hero { position: relative; min-height: 40.7vw; display: flex; align-items: center; padding: 6vw var(--gutter); background: var(--brown) center/cover no-repeat; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); } /* as Squarespace did, so the mission reads over the photo */
.hero-inner { position: relative; }
.hero h1 { color: #fff; margin: 0 0 34px; }
.hero-mission { font-family: var(--serif); font-size: var(--h2); line-height: 1.254; letter-spacing: .01em; color: #fff; margin: 0; }
.home-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--col); align-items: start; padding: 42px var(--gutter) 72px; }
.home-prose h2 { font-size: var(--h1); line-height: 1.187; margin: 0 0 17px; }
.home-prose h2:not(:first-child) { margin-top: 48px; }
.home-prose p { margin: 0 0 17px; }
.home-prose > :last-child { margin-bottom: 0; }
.home-video { aspect-ratio: 16 / 9; background: #000; }
.home-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.home-band { display: grid; grid-template-columns: repeat(3, 1fr); }
.band-link { display: block; line-height: 0; }
.band-link img { width: 100%; height: auto; aspect-ratio: 2.21 / 1; object-fit: cover; display: block; }
.vision { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--col); align-items: start; padding: 42px var(--gutter) 64px; }
.vision h2 { font-size: var(--h1); line-height: 1.187; margin: 0 0 17px; }
.vision p { margin: 0; }
.vision img { width: 100%; height: auto; display: block; }
.btn-outline { display: inline-block; min-width: 371px; text-align: center; font-family: var(--sans); font-size: 12px; line-height: 1; letter-spacing: .1em; text-transform: uppercase; color: var(--brown); text-decoration: none; border: 2px solid var(--brown); padding: 38px 40px; margin-top: 80px; }
.btn-outline:hover { background: var(--brown); color: #fff; }

/* Solid button (bios, forms) */
.btn-solid { display: inline-block; font-family: var(--sans); font-size: 15px; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--orange); text-decoration: none; padding: 22px 36px; border: 0; cursor: pointer; }
.btn-solid:hover { background: #a8441a; color: #fff; }

/* Footer: brown, two columns, yellow links */
.site-footer { background: var(--brown); color: #fff; padding: 31px var(--gutter) 37px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--col); }
.footer-col p { margin: 0; }
.footer-note { margin-bottom: 96px !important; }
.footer-address { margin-bottom: 17px !important; }
.footer-contact a { color: var(--yellow); }
.footer-contact a:hover { color: #fff; }
.footer-social { list-style: none; display: flex; gap: 12px; margin: 97px 0 0; padding: 0; }
.footer-social li { margin: 0; }
.footer-social a { color: #fff; display: block; width: 20px; height: 20px; line-height: 0; }
.footer-social a:hover { color: var(--yellow); }
.footer-social svg { width: 20px; height: 20px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 17px; }
.footer-links a { color: var(--yellow); font-size: 1.36em; line-height: 1.6; }
.footer-links a:hover { color: #fff; }

/* Pages with a wide left heading column and the text on the right (Defense Guide, Mission & Values) */
.aside-page { display: grid; grid-template-columns: 22.9% 1fr; column-gap: 2.8%; align-items: start; padding: 85px var(--gutter) 64px; }
.aside-page > h1 { margin: 0; }
.aside-body > :first-child { margin-top: 0; }
.aside-page.auto > h2 { font-size: var(--h1); line-height: 1.187; margin: 0 0 90px; }
.aside-page.auto > p { margin: 0 0 90px; }

/* Centered 910px column (Join Us, postings) */
.narrow { max-width: 910px; margin: 0 auto; padding: 42px var(--gutter) 64px; }
.narrow h2 { font-size: var(--h1); line-height: 1.187; font-weight: 700; text-align: center; color: var(--orange); margin: 0 0 34px; }
.narrow h2:not(:first-child) { margin-top: 34px; }
.narrow ul.positions, .narrow > ul { list-style: none; padding: 64px; margin: 0; text-align: center; }
.narrow > ul li { margin: 0; }
.narrow > ul li a { display: inline-block; font-family: var(--serif); font-size: var(--h1); line-height: 1.3; color: #000; text-decoration: none; padding: 17px 0; }
.narrow > ul li a:hover { text-decoration: underline; }
.posting { padding-top: 85px; }
.posting h2 { color: var(--orange); }
.posting h3 { font-size: var(--h2); line-height: 1.254; font-weight: 700; text-align: center; color: var(--orange); margin: 34px 0; }
.posting ul { list-style: disc; padding: 0 0 0 40px; margin: 17px 0; text-align: left; }
.posting ul li { margin: 8.5px 0; }
.posting ul li a { display: inline; font: inherit; color: var(--orange); text-decoration: underline; padding: 0; }

/* The report page: heading, then the cover beside the text */
.report { padding: 85px var(--gutter) 64px; }
.report > h1 { margin: 0 0 79px 8.4%; max-width: 1009px; }
.report-body { display: grid; grid-template-columns: 41.1% 36.9%; column-gap: 1%; margin-left: 8.4%; align-items: start; }
.report-body > p:first-child { grid-column: 1; grid-row: 1 / span 40; margin: 47px 0 0; }
.report-body > :not(:first-child) { grid-column: 2; }
.report-body > p:nth-child(2) { margin-top: 0; }
.report-body img { width: 100%; height: auto; display: block; }

/* Plain page (the application page, 404) */
.plain { padding: 85px var(--gutter) 64px; max-width: 910px; }
.plain > h1 { margin-bottom: 34px; }
.error-404 { min-height: 40vh; }

/* Our Team: headings on the left, lists on the right */
.team { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--col); row-gap: 33px; align-items: start; padding: 85px var(--gutter) 64px; }
.team h1, .team h2 { font-size: var(--h1); line-height: 1.187; margin: 0; padding-left: 8.4%; }
.team-list { list-style: none; margin: 0; padding: 0; }
.team-list li { margin: 0 0 17px; }
.team-list a { color: var(--orange); }

/* Bio pages */
.bio { display: grid; grid-template-columns: 8.6% 48.6% 1fr; column-gap: 2.8%; align-items: start; padding: 85px var(--gutter) 64px; }
.bio-head { grid-column: 1 / 3; grid-row: 1; }
.bio-role { font-family: var(--serif); font-size: var(--h3); line-height: 1.29; letter-spacing: .01em; margin: 0 0 34px; }
.bio-name { font-size: var(--h2); margin: 0 0 17px; max-width: 382px; }
.bio-text { grid-column: 2; grid-row: 2; columns: 2; column-gap: 34px; }
.bio-text p { margin: 0 0 17px; break-inside: avoid; }
.bio-text > :last-child { margin-bottom: 0; }
.bio-photo { grid-column: 3; grid-row: 1 / span 4; }
.bio-photo img { width: 100%; max-width: 382px; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.bio-contact { grid-column: 2; grid-row: 3; margin: 17px 0 0; }
.bio-actions { grid-column: 2; grid-row: 4; margin-top: 17px; }
.bio.no-photo .bio-text { columns: 1; max-width: 378px; }

/* Squarespace-style forms (fields underlined, black Submit) */
.sq-form { font-size: 17px; }
.sq-form .field { margin: 0 0 20px; }
.sq-form .title { display: block; padding: 0 0 4px; }
.sq-form .caption { display: block; font-size: 12px; letter-spacing: .06em; padding: 0 0 4px; }
.sq-form .required { font-size: 12px; letter-spacing: .06em; }
.sq-form input[type="text"], .sq-form input[type="email"], .sq-form textarea { width: 100%; border: 0; border-bottom: 1px solid var(--brown); border-radius: 0; background: transparent; padding: 5px 0; font: inherit; letter-spacing: inherit; color: inherit; }
.sq-form input:focus, .sq-form textarea:focus { outline: 2px solid var(--orange); outline-offset: 2px; }
.sq-form textarea { min-height: 100px; resize: vertical; }
.sq-form .option { display: flex; align-items: flex-start; gap: 9px; font-size: .9em; margin: 6px 0; }
.sq-form .option input { margin: 5px 0 0; width: 15px; height: 15px; }
.sq-form .name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sq-form .submit { font-family: var(--sans); font-size: 15px; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: #000; border: 0; padding: 22px 36px; cursor: pointer; }
.sq-form .submit:hover { background: var(--orange); }
.sq-form .submit-row.right { text-align: right; }
.sq-form .form-note { font-size: 12px; letter-spacing: .06em; margin: 8px 0 0; }

/* News list: square thumbnail, then date, title, Read More */
.news-list { list-style: none; margin: 0; padding: 34px var(--gutter) 0; }
.news-item { display: grid; grid-template-columns: 40% 1fr; column-gap: 6%; align-items: center; margin: 0 0 30px; }
.news-thumb { display: block; line-height: 0; }
.news-thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.news-date { font-family: var(--serif); font-weight: 300; font-size: 17px; line-height: 1.2; letter-spacing: 0; margin: 0 0 20px; }
.news-title { font-family: var(--serif); font-weight: 400; font-size: var(--h2); line-height: 1.3; margin: 0 0 30px; }
.news-title a { color: var(--brown); text-decoration: none; }
.news-title a:hover { text-decoration: underline; }
.news-more { display: inline-block; margin: 0; }
.news-end { padding: 77px var(--gutter) 38px; text-align: right; }

/* News post */
.post { padding: 34px var(--gutter) 0; }
.post-title { font-family: var(--display); font-weight: 400; font-size: var(--h1); line-height: 1.2; letter-spacing: .01em; text-align: center; margin: 0 0 34px; }
.post-date { display: block; text-align: center; font-size: 12px; line-height: 1; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 30px; }
.post-body > :first-child { margin-top: 0; }
.post-body p { margin: 0 0 17px; }
.post-body img { max-width: 100%; height: auto; }
.flipbook-embed { position: relative; width: 100%; aspect-ratio: 3 / 1; min-height: 320px; margin: 17px 0; border: 1px solid var(--rule); }
.flipbook-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 17px 0; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.audio-embed { margin: 17px 0; }
.audio-embed iframe { width: 100%; border: 0; display: block; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; padding: 38px var(--gutter); }
.post-nav a { display: inline-flex; align-items: center; gap: 25px; font-size: 12px; letter-spacing: .06em; color: var(--brown); text-decoration: none; }
.post-nav a:hover { text-decoration: underline; }
.post-nav .next { margin-left: auto; }
.post-nav svg { width: 14px; height: 24px; flex: none; }

/* Policy & Advocacy archive (no Squarespace counterpart; set in the same type system) */
.archive-hero { padding: 85px var(--gutter) 34px; }
.archive-hero h1 { margin: 0 0 17px; }
.archive-hero .lede { max-width: 910px; }
.archive-hero .lede p { margin: 0; }
.archive { padding: 17px var(--gutter) 64px; }
.year-group { margin-bottom: 44px; }
.year-head { display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--brown); padding-bottom: 8px; }
.year-head .yr { font-family: var(--serif); font-size: var(--h2); line-height: 1; }
.year-head .yc { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--grey); }
.doc-row { display: grid; grid-template-columns: 128px 1fr auto; gap: 22px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--brown); }
.doc-row .ddate { font-size: 15px; color: var(--grey); padding-top: 4px; }
.dttl { font-family: var(--serif); font-size: var(--h3); line-height: 1.29; }
.doc-row:hover .dttl { color: var(--orange); }
.dby { font-size: 15px; margin-top: 4px; }
.dtags { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 6px; }
.dtag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border: 1px solid var(--rule); color: var(--grey); }
.dtag.type { background: var(--orange); color: #fff; border-color: var(--orange); }
.dgo { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); white-space: nowrap; align-self: center; }
.document { padding: 85px var(--gutter) 64px; max-width: 910px; overflow-wrap: break-word; } /* long source URLs wrap on phones */
.document .eyebrow { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 17px; }
.document .doc-by { margin: -17px 0 17px; color: var(--grey); }
.document .dtags { margin: 0 0 34px; }
.cite-note { margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 15px; }
.cite-note p { margin: 0 0 8px; }
.back-link { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin: 34px 0 0; }
.back-link a { color: var(--brown); text-decoration: none; }
.back-link a:hover { text-decoration: underline; }

/* Tablet and phone */
@media (max-width: 900px) {
  .burger { display: flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 10px var(--gutter) 24px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  body.nav-open .site-nav { display: block; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav-list a, .nav-parent { font-size: 20px; }
  .submenu { position: static; display: block; box-shadow: none; padding: 8px 0 0 18px; margin: 0; min-width: 0; max-width: none; width: auto; }
  .submenu a { font-size: 16px; }
  .home-cols, .vision, .footer-inner, .team, .aside-page, .report-body { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; }
  .bio-head, .bio-text, .bio-contact, .bio-actions, .bio-photo { grid-column: 1; grid-row: auto; }
  .bio-text { columns: 1; }
  .bio-photo { order: 10; margin-top: 34px; }
  .bio-photo img { max-width: 100%; }
  .report > h1, .report-body { margin-left: 0; }
  .report-body > :not(:first-child) { grid-column: 1; }
  .report-body > p:first-child { grid-column: 1; grid-row: auto; margin-top: 0; }
  .team h1, .team h2 { padding-left: 0; }
  .doc-row { grid-template-columns: 1fr; gap: 5px; }
  .doc-row .ddate { order: -1; }
  .dgo { display: none; }
}
@media (max-width: 767px) {
  :root { --gutter: 6vw; }
  body { font-size: 16px; }
  .header-inner { min-height: 84px; padding: 27px var(--gutter) 24px; }
  .brand img { width: 152px; height: 30px; }
  .hero { min-height: 198vw; padding: 60px var(--gutter) 72px; }
  .hero h1 { margin-bottom: 32px; }
  .home-cols { padding: 32px var(--gutter) 48px; row-gap: 32px; }
  .home-band { grid-template-columns: 1fr; }
  .vision { row-gap: 32px; padding-bottom: 48px; }
  .btn-outline { min-width: 0; margin-top: 34px; padding: 32px 36px; font-size: 12.8px; }
  .btn-solid { font-size: 14.7px; padding: 21px 34px; }
  .footer-inner { row-gap: 40px; }
  .footer-note { margin-bottom: 20px !important; }
  .footer-social { margin-top: 40px; }
  .footer-links a { font-size: 1.27em; }
  .news-item { grid-template-columns: 1fr; row-gap: 20px; margin-bottom: 39px; }
  .news-date { margin-bottom: 8px; }
  .news-title { margin-bottom: 8px; }
  .aside-page, .narrow, .posting, .report, .team, .bio, .plain, .document, .archive-hero { padding-top: 48px; }
  .aside-page.auto > h2, .aside-page.auto > p { margin-bottom: 32px; }
  .narrow > ul { padding: 32px 0; }
  .post-nav { flex-direction: column; }
  .post-nav .next { margin-left: 0; }
}
