/* Precast Concrete Association of Virginia — site styles */

:root {
  --green: #4a7a54;        /* Virginia green from the logo */
  --green-dark: #2d4f35;
  --green-deep: #1f3a26;
  --yellow: #e8df4a;       /* "PCAV" yellow from the logo */
  --concrete: #f2f3f0;
  --concrete-2: #e4e6e1;
  --line: #d6dad3;
  --ink: #1f2a23;
  --text: #333d37;
  --muted: #5f6a63;
  --white: #fff;

  --head: "Barlow", Arial, sans-serif;
  --body: "Source Sans 3", Arial, sans-serif;

  --container: 1180px;
  --gutter: 20px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-underline-offset: 2px; }
a:hover { color: var(--green-dark); }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--head);
  font-weight: 600;
  line-height: 1.2;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container.narrow { max-width: 900px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--green-dark);
  color: var(--white);
  padding: 10px 16px;
}
.skip-link:focus { left: 10px; top: 10px; }

.icon { width: 1em; height: 1em; flex: none; fill: currentColor; vertical-align: -.125em; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid var(--green);
  background: var(--green);
  color: var(--white);
  font-family: var(--head);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .3px;
  line-height: 1.2;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover, .btn:focus { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }
.btn-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--green-deep); }
.btn-yellow:hover, .btn-yellow:focus { background: var(--white); border-color: var(--white); color: var(--green-deep); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover, .btn-outline:focus { background: var(--white); border-color: var(--white); color: var(--green-deep); }

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 20;
  background: var(--white);
  border-top: 5px solid var(--green);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 96px;
}
.site-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.site-logo img { width: 128px; }
.site-logo span {
  max-width: 220px;
  color: var(--green-dark);
  font-family: var(--head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.site-nav > ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav li { position: relative; }
.site-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  font-family: var(--head);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover,
.site-nav a:focus { color: var(--green); }
.site-nav > ul > li > a[aria-current="page"],
.site-nav > ul > li > a.is-parent { color: var(--green); border-bottom-color: var(--yellow); }

.has-sub { display: flex; align-items: center; }
.has-sub > a { padding-right: 2px; }
.sub-toggle {
  border: 0;
  background: none;
  color: var(--ink);
  padding: 10px 8px 10px 2px;
  cursor: pointer;
  font-size: 14px;
}
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--white);
  border-top: 3px solid var(--green);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.site-nav > ul > li:nth-last-child(-n+3) .sub-menu { left: auto; right: 0; }
.sub-menu a { padding: 8px 18px; font-size: 15px; border: 0; }
.sub-menu a[aria-current="page"] { color: var(--green); }
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu,
.has-sub.is-open .sub-menu { opacity: 1; visibility: visible; transform: none; }

.nav-toggle {
  display: none;
  border: 0;
  background: none;
  color: var(--green-dark);
  font-size: 26px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline; }

/* ---------- Home: hero ---------- */

.hero {
  position: relative;
  color: var(--white);
  background: url("../images/hero-pipes.jpg") center / cover no-repeat var(--green-deep);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(31, 58, 38, .94) 0%, rgba(31, 58, 38, .82) 45%, rgba(31, 58, 38, .35) 100%);
}
.hero .container { position: relative; padding-top: 90px; padding-bottom: 90px; }
.hero-eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-family: var(--head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 720px;
  color: var(--white);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.08;
}
.hero p.lead {
  max-width: 640px;
  margin: 20px 0 30px;
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .92);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Quick links strip under the hero */
.quick-links { background: var(--green); }
.quick-links ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.quick-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 20px 22px;
  color: var(--white);
  font-family: var(--head);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, .18);
  transition: background .2s;
}
.quick-links li:last-child a { border-right: 1px solid rgba(255, 255, 255, .18); }
.quick-links a:hover, .quick-links a:focus { background: var(--green-dark); color: var(--white); }
.quick-links .icon { font-size: 26px; color: var(--yellow); }
.quick-links small { display: block; font-family: var(--body); font-size: 14px; font-weight: 400; opacity: .85; }

/* ---------- Sections ---------- */

.section { padding: 64px 0; }
.section-alt { background: var(--concrete); }
.section-title {
  margin-bottom: 8px;
  font-size: 34px;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 12px;
  background: var(--yellow);
}
.section-title.center::after { margin-left: auto; margin-right: auto; }
.section-sub { margin: 14px 0 30px; color: var(--muted); }

.center { text-align: center; }

/* Home: mission + events */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: start;
}

.mission {
  margin: 0 0 40px;
  padding: 26px 30px;
  border-left: 5px solid var(--yellow);
  background: var(--concrete);
  font-size: 19px;
  line-height: 1.65;
}
.mission p { margin: 0; }

.events h3 {
  margin: 30px 0 12px;
  color: var(--green-dark);
  font-size: 22px;
}
.events h3:first-child { margin-top: 0; }
.event-list { margin: 0; padding: 0; list-style: none; }
.event-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.event-list li:first-child { border-top: 1px solid var(--line); }
.event-date {
  color: var(--green);
  font-family: var(--head);
  font-weight: 600;
  line-height: 1.4;
}
.event-what { line-height: 1.45; }
.event-what a { font-weight: 600; text-decoration: none; }
.event-what a:hover { text-decoration: underline; }
.event-what span { display: block; color: var(--muted); font-size: 15px; }
.event-list.featured li { background: #fbfaea; padding-left: 14px; padding-right: 14px; }
.event-year {
  margin: 22px 0 6px;
  color: var(--muted);
  font-family: var(--head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Sidebar cards */
.side-stack { display: grid; gap: 22px; }
.card {
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
}
.card h2, .card h3 { margin-bottom: 10px; font-size: 21px; }
.card p { margin: 0 0 14px; font-size: 16px; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 0; padding-left: 18px; font-size: 16px; }
.card li { margin-bottom: 6px; }
.card-dark { background: var(--green-dark); border-color: var(--green-dark); border-top-color: var(--yellow); color: rgba(255, 255, 255, .92); }
.card-dark h2, .card-dark h3 { color: var(--white); }
.card-dark a:not(.btn) { color: var(--yellow); }

.doc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
}
.doc-link .icon { font-size: 20px; color: #b03a2e; }
.doc-link:hover span { text-decoration: underline; }

/* ---------- Inner pages ---------- */

.page-header {
  position: relative;
  padding: 56px 0 50px;
  background: url("../images/header-pipes.jpg") center 40% / cover no-repeat var(--green-deep);
  color: var(--white);
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 58, 38, .95), rgba(31, 58, 38, .78));
}
.page-header .container { position: relative; }
.page-header h1 { color: var(--white); font-size: 42px; font-weight: 700; }
.page-header p {
  max-width: 760px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: 18px;
}
.breadcrumb {
  margin: 0 0 10px !important;
  font-family: var(--head);
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--yellow); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: var(--yellow); }

/* Body copy */
.prose { max-width: 860px; }
.prose h2 { margin: 40px 0 14px; font-size: 28px; }
.prose h3 { margin: 30px 0 10px; font-size: 22px; }
.prose h4 { margin: 24px 0 8px; font-size: 19px; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 24px; }
.prose li { margin-bottom: 6px; }
.prose hr { margin: 36px 0; border: 0; border-top: 1px solid var(--line); }
.prose blockquote {
  margin: 0 0 18px;
  padding: 4px 0 4px 22px;
  border-left: 4px solid var(--yellow);
  font-style: italic;
}
.note {
  margin: 0 0 24px;
  padding: 16px 20px;
  background: #fbfaea;
  border-left: 4px solid var(--yellow);
}
.note p:last-child { margin-bottom: 0; }

/* Two-column layout: main text + sidebar */
.with-aside {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}

/* ---------- Board ---------- */

.board-group { margin-bottom: 46px; }
.board-group > h2 { margin-bottom: 20px; font-size: 26px; }
.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 22px;
}
.person {
  display: flex;
  gap: 18px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
}
.person img,
.person .no-photo {
  width: 92px;
  height: 92px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}
.person .no-photo {
  display: grid;
  place-items: center;
  background: var(--concrete-2);
  color: var(--green);
  font-family: var(--head);
  font-size: 30px;
  font-weight: 600;
}
.person .role {
  margin: 0 0 2px;
  color: var(--green);
  font-family: var(--head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.person h3 { margin: 0 0 4px; font-size: 20px; }
.person address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}
.person address a { overflow-wrap: anywhere; }

/* ---------- Bylaws ---------- */

.bylaws h2 {
  margin: 44px 0 4px;
  color: var(--green);
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.bylaws h2 + h3 { margin-top: 0; }
.bylaws h3 { margin: 0 0 14px; font-size: 24px; }
.bylaws h4 { margin: 20px 0 6px; font-size: 18px; }
.bylaws ol.alpha { list-style: lower-alpha; }

.toc {
  columns: 2;
  column-gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.toc li { margin-bottom: 6px; break-inside: avoid; }
.card .toc { columns: 1; padding: 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.sticky { position: sticky; top: 20px; }

/* ---------- Members ---------- */

.member-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 20px;
}
.member-index h2 { margin-bottom: 14px; font-size: 24px; }
.member-index ul {
  columns: 2;
  column-gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.member-index li { margin-bottom: 7px; break-inside: avoid; font-size: 16px; line-height: 1.35; }
.member-index a { text-decoration: none; }
.member-index a:hover { text-decoration: underline; }
.member-index .producer ul { columns: 1; }

.member-type {
  margin: 56px 0 22px;
  font-size: 30px;
}
.member-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.member {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  scroll-margin-top: 20px;
}
.member:target { outline: 3px solid var(--yellow); outline-offset: 2px; }
.member-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.member-head h3 { font-size: 22px; }
.member-head img { max-width: 150px; max-height: 64px; width: auto; object-fit: contain; }
.member p { margin: 0 0 12px; font-size: 16px; line-height: 1.55; }
.member address { margin: 0 0 12px; font-style: normal; font-size: 16px; line-height: 1.5; }
.member .contacts { margin: 0 0 12px; padding: 0; list-style: none; font-size: 15px; line-height: 1.5; }
.member .contacts li { margin-bottom: 8px; }
.member .contacts strong { color: var(--ink); }
.member a { overflow-wrap: anywhere; }
.member details { margin: 0 0 12px; font-size: 15px; }
.member summary { cursor: pointer; color: var(--green); font-weight: 600; }
.member details[open] summary { margin-bottom: 8px; }
.member .locations { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.member .locations p { margin: 0; font-size: 14px; }
.member-web {
  margin-top: auto !important;
  padding-top: 6px;
  font-weight: 600;
}
.member-web a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.member-web a:hover { text-decoration: underline; }

.join-band {
  margin-top: 60px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--green-dark);
  color: var(--white);
}
.join-band h2 { color: var(--white); font-size: 28px; margin-bottom: 6px; }
.join-band p { margin: 0; color: rgba(255, 255, 255, .88); }

/* ---------- Products ---------- */

.product-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}
.product-nav a {
  display: block;
  padding: 7px 14px;
  background: var(--concrete);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
}
.product-nav a:hover { background: var(--green); border-color: var(--green); color: var(--white); }

.product {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 44px;
  padding: 50px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 10px;
}
.product:last-child { border-bottom: 0; }
.product h2 { margin-bottom: 16px; font-size: 30px; }
.product h3 {
  margin: 22px 0 10px;
  color: var(--green);
  font-size: 15px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.product p { margin: 0 0 14px; }
.product ul { margin: 0 0 14px; padding-left: 22px; }
.product li { margin-bottom: 6px; }
.product-photos { display: grid; gap: 14px; align-content: start; }
.product-photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  margin: 6px 0 16px;
}
.spec {
  padding: 14px 16px;
  background: var(--concrete);
  border-left: 3px solid var(--green);
  font-size: 15px;
  line-height: 1.5;
}
.spec strong { display: block; margin-bottom: 4px; color: var(--ink); font-family: var(--head); font-size: 17px; }
.spec ul { margin: 0; padding-left: 18px; }
.spec li { margin-bottom: 2px; }

/* ---------- Legislative ---------- */

.link-list { margin: 0; padding: 0; list-style: none; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list li:first-child { border-top: 1px solid var(--line); }
.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 4px;
  font-weight: 600;
  text-decoration: none;
}
.link-list a:hover { background: var(--concrete); }

.section h3.group-title,
.section .container > h3,
.section details > h3 { margin: 26px 0 12px; font-size: 21px; }
details > summary.btn { list-style: none; margin-bottom: 4px; }
details > summary.btn::-webkit-details-marker { display: none; }
.card h3 + p { margin-top: 0; }
.card p + h3 { margin-top: 18px; }

.email-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 0 0 30px; }
.email-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.email-btn .icon { font-size: 22px; color: var(--green); }
.email-btn small { display: block; color: var(--muted); font-weight: 400; }
.email-btn:hover { border-color: var(--green); background: var(--concrete); color: var(--ink); }

/* ---------- News ---------- */

.news-list { display: grid; gap: 26px; }
.news-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.news-item.no-thumb { grid-template-columns: 1fr; }
.news-item img { width: 220px; aspect-ratio: 4 / 3; object-fit: cover; }
.news-item h3 { margin-bottom: 4px; font-size: 23px; }
.news-item h3 a { color: var(--ink); text-decoration: none; }
.news-item h3 a:hover { color: var(--green); }
.news-meta { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.news-item p { margin: 0 0 8px; }

.archive { margin: 0; padding: 0; list-style: none; }
.archive > li {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 10px;
}
.archive > li:target { background: #fbfaea; }
.archive h3 { font-size: 19px; }
.archive h3 a { text-decoration: none; }
.archive h3 a:hover { text-decoration: underline; }
.archive .missing { color: var(--muted); font-family: var(--body); font-size: 14px; font-weight: 400; font-style: italic; }
.archive ul { margin: 0; padding-left: 18px; color: var(--text); font-size: 15px; columns: 2; column-gap: 30px; }
.archive ul li { break-inside: avoid; margin-bottom: 2px; }
.archive-year {
  margin: 40px 0 6px;
  color: var(--green);
  font-size: 24px;
}

.post-meta { margin: 10px 0 0 !important; font-size: 16px !important; }
.post-body { max-width: 800px; }
.post-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 24px;
}
.post-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stat-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 0 0 22px !important;
  padding: 0 !important;
  list-style: none;
}
.stat-list li {
  margin: 0 !important;
  padding: 16px 18px;
  background: var(--concrete);
  border-top: 4px solid var(--yellow);
}
.stat-list strong { display: block; color: var(--green-dark); font-family: var(--head); font-size: 28px; line-height: 1.1; }
.post-back { margin-top: 40px !important; padding-top: 20px; border-top: 1px solid var(--line); }
.post-back a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.social-cards { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.social-cards a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--head);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}
.social-cards a:hover { border-color: var(--green); background: var(--concrete); }
.social-cards .icon { font-size: 30px; color: var(--green); }
.social-cards small { display: block; color: var(--muted); font-family: var(--body); font-size: 15px; font-weight: 400; }

/* ---------- Footer ---------- */

.site-footer { background: var(--green-deep); color: rgba(255, 255, 255, .85); font-size: 16px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--yellow); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 50px;
  padding-bottom: 40px;
}
.footer-brand img { width: 150px; margin-bottom: 14px; background: var(--white); padding: 8px; }
.footer-brand p { margin: 0; font-size: 15px; line-height: 1.6; }
.site-footer h2 {
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: 15px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer ul a { text-decoration: none; }
.site-footer ul a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; margin-top: 16px !important; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .3);
  font-size: 17px;
}
.footer-social a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--green-deep); }
.footer-bar { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-bar p { margin: 0; padding: 16px 0; font-size: 14px; color: rgba(255, 255, 255, .65); }
.footer-bar a { color: rgba(255, 255, 255, .8); }

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--green);
  color: var(--white);
  font-size: 20px;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.to-top:hover { background: var(--green-dark); color: var(--white); }
.to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .site-logo span { display: none; }
  .site-nav a { padding: 10px 9px; font-size: 15px; }
}

@media (max-width: 980px) {
  .header-inner { min-height: 76px; }
  .site-logo img { width: 104px; }
  .site-logo span { display: block; }
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--white);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .15);
  }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: 8px 0 14px; }
  .site-nav a { padding: 11px 24px; font-size: 17px; border-bottom: 0; }
  .site-nav > ul > li > a[aria-current="page"],
  .site-nav > ul > li > a.is-parent { border-left: 4px solid var(--yellow); padding-left: 20px; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { padding: 11px 24px; font-size: 16px; }
  .sub-menu {
    position: static;
    flex-basis: 100%;
    display: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0 0 6px 18px;
  }
  .has-sub:hover .sub-menu,
  .has-sub:focus-within .sub-menu { display: none; }
  .has-sub.is-open .sub-menu { display: block; }

  .quick-links ul { grid-template-columns: 1fr 1fr; }
  .quick-links a { border: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .18) !important; }
  .quick-links li:nth-child(odd) a { border-right: 1px solid rgba(255, 255, 255, .18) !important; }

  .home-grid, .with-aside, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .sticky { position: static; }
  .member-index { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; gap: 20px; }
  .product-photos { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .hero .container { padding-top: 56px; padding-bottom: 56px; }
  .hero h1 { font-size: 36px; }
  .hero p.lead { font-size: 17px; }
  .page-header { padding: 40px 0 36px; }
  .page-header h1 { font-size: 32px; }
  .section { padding: 46px 0; }
  .section-title { font-size: 28px; }
  .quick-links ul { grid-template-columns: 1fr; }
  .quick-links li:nth-child(odd) a { border-right: 0 !important; }
  .event-list li { grid-template-columns: 1fr; gap: 2px; }
  .member-grid { grid-template-columns: 1fr; }
  .member-index ul { columns: 1; }
  .member-head { flex-direction: column-reverse; align-items: flex-start; }
  .join-band { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .news-item { grid-template-columns: 1fr; gap: 14px; }
  .news-item img { width: 100%; }
  .archive > li { grid-template-columns: 1fr; gap: 6px; }
  .archive ul { columns: 1; }
  .toc { columns: 1; }
  .post-gallery, .stat-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .site-footer, .to-top, .quick-links { display: none; }
  .page-header { background: none; color: var(--ink); padding: 0 0 20px; }
  .page-header::before { display: none; }
  .page-header h1 { color: var(--ink); }
}
