/* ============================================================
   UNMUTED WORKPLACES — styles.css
   One shared stylesheet for all five pages.
   Palette: brown + white
   ------------------------------------------------------------
   --espresso  #3B2A20  deep brown   (headings, footer)
   --umber     #6F4E37  primary brown (buttons, links, accents)
   --camel     #A8826B  mid brown    (eyebrows, hovers)
   --sand      #E9E0D4  pale brown   (tints, borders)
   --linen     #FAF7F2  warm off-white (page background)
   --white     #FFFFFF
   ============================================================ */

:root {
  --espresso: #3B2A20;
  --umber: #6F4E37;
  --camel: #A8826B;
  --sand: #E9E0D4;
  --linen: #FAF7F2;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Karla", "Segoe UI", Arial, sans-serif;

  --maxw: 1120px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(59, 42, 32, 0.10);
}

/* ---------- Reset / base ---------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--espresso);
  background-color: var(--linen);
}

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

a {
  color: var(--umber);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--camel);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--camel);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--espresso);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p + p { margin-top: 1em; }

.container {
  width: min(var(--maxw), 92%);
  margin: 0 auto;
}

/* Small brown label above headings */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--camel);
  margin-bottom: 0.75rem;
}

/* ---------- Signature: audio "waveform" divider ---------- */
/* A nod to the site's name — voices being unmuted. */

.wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 34px;
  margin: 0 auto;
}

.wave span {
  width: 4px;
  border-radius: 2px;
  background-color: var(--camel);
}

.wave span:nth-child(1) { height: 10px; }
.wave span:nth-child(2) { height: 20px; }
.wave span:nth-child(3) { height: 32px; background-color: var(--umber); }
.wave span:nth-child(4) { height: 16px; }
.wave span:nth-child(5) { height: 26px; }
.wave span:nth-child(6) { height: 12px; }
.wave span:nth-child(7) { height: 22px; background-color: var(--umber); }
.wave span:nth-child(8) { height: 8px; }

/* ---------- Header & navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid var(--sand);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--espresso);
}

.logo svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.logo strong { color: var(--umber); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--sand);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  font-size: 1.2rem;
  color: var(--espresso);
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--espresso);
  padding-bottom: 4px;
  border-bottom: 3px solid transparent;
}

.nav-links a:hover {
  color: var(--umber);
}

/* Current page indicator */
.nav-links a.active {
  color: var(--umber);
  border-bottom-color: var(--umber);
}

/* ---------- Page banner (below the nav) ---------- */

.banner {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(59, 42, 32, 0.82), rgba(59, 42, 32, 0.15));
}

.banner .banner-text {
  position: absolute;
  z-index: 2;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--maxw), 92%);
  color: var(--white);
}

.banner h1 {
  color: var(--white);
}

.banner p {
  max-width: 60ch;
  color: var(--sand);
  font-size: 1.1rem;
}

/* ---------- Home hero (taller banner variant) ---------- */

.hero {
  height: 520px;
}

.hero .banner-text {
  bottom: 3.5rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: 2px solid var(--umber);
  background-color: var(--umber);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus {
  background-color: var(--espresso);
  border-color: var(--espresso);
  color: var(--white);
}

.btn-ghost {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-ghost:hover,
.btn-ghost:focus {
  background-color: var(--white);
  color: var(--espresso);
  border-color: var(--white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

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

.section {
  padding: 4.5rem 0;
}

.section-tint {
  background-color: var(--white);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.section-head .wave {
  margin-bottom: 1rem;
}

/* ---------- Card grids ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.6rem;
}

.card .card-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--camel);
  display: block;
  margin-bottom: 0.8rem;
}

/* ---------- Split (text + image) sections ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ---------- Quote / stat band ---------- */

.band {
  background-color: var(--espresso);
  color: var(--linen);
  padding: 4rem 0;
  text-align: center;
}

.band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  max-width: 760px;
  margin: 0 auto 1rem auto;
}

.band cite {
  font-style: normal;
  color: var(--camel);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--white);
}

.stats .stat span {
  color: var(--sand);
  font-size: 0.95rem;
}

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

.news-card {
  background-color: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.news-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.news-card .news-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-grow: 1;
}

.news-card .news-date {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--camel);
}

.news-card .read-more {
  margin-top: auto;
  font-weight: 700;
}

/* ---------- Resource list ---------- */

.resource {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  background-color: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow);
}

.resource + .resource {
  margin-top: 1.2rem;
}

.resource .tag {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background-color: var(--umber);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-top: 0.2rem;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.form-field {
  margin-bottom: 1.3rem;
}

.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--espresso);
  background-color: var(--white);
  border: 1px solid var(--sand);
  border-radius: 8px;
  padding: 0.8rem 1rem;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info .card + .card {
  margin-top: 1.2rem;
}

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

.site-footer {
  background-color: var(--espresso);
  color: var(--sand);
  padding: 3.5rem 0 2rem 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer ul li {
  margin-bottom: 0.5rem;
}

.site-footer a {
  color: var(--sand);
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(233, 224, 212, 0.25);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  text-align: center;
  color: var(--camel);
}

/* ---------- Reduced motion ---------- */

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

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

@media (max-width: 880px) {
  .grid-3,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .contact-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero { height: 440px; }
}

@media (max-width: 620px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--sand);
    padding: 0.5rem 4%;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--sand);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .grid-3,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .banner { height: 260px; }
  .hero { height: 400px; }

  .resource {
    flex-direction: column;
  }
}
