/* streco-site.css
   Minimal reusable site framework for a small PHP-powered brochure site.
   Intended to pair with PHP includes like:
   <?php include 'includes/header.php'; ?>
   ...
   <?php include 'includes/footer.php'; ?>
*/

:root {
  --site-max: 1200px;
  --content-max: 960px;
  --gutter: 24px;

  --color-bg: #f3f1e8;
  --color-surface: #ffffff;
  --color-headfoot-bg: #333;
  --color-headfoot: #9f9f9f;
  --color-surface-soft: #ece8db;
  --color-surface-tint: #d9d5bb;
  --color-text: #2f2a24;
  --color-text-soft: #5c564d;
  --color-border: #cfc7b8;
  --color-primary: #5f6f4b;
  --color-primary-dark: #4f5d3e;
  --color-overlay: rgba(255, 255, 255, 0.68);
  --color-overlay-dark: rgba(47, 42, 36, 0.55);

  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.08);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
}

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

html {
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin: 0 0 var(--space-3);
  line-height: 1.15;
  font-weight: 400;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

p,
ul,
ol {
  margin: 0 0 var(--space-3);
}

ul,
ol {
  padding-left: 1.35rem;
}

.site-wrap {
  min-height: 100vh;
}

.site-header,
.site-footer {
  background: var(--color-headfoot-bg);
  color: var(--color-headfoot);
  border-bottom: 1px solid var(--color-border);
}

.site-footer {
  border-top: 1px solid var(--color-headfoot);
  border-bottom: none;
}

.shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--site-max));
  margin: 0 auto;
}

.content-shell {
  width: min(calc(100% - (var(--gutter) * 2)), var(--content-max));
  margin: 0 auto;
}

.site-header .shell,
.site-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);

  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-brand {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-headfoot);
  letter-spacing: 0.02em;
  font-style: italic;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.footer-call {
  font-size: 1.25rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  letter-spacing: 0.02em;
  padding: var(--space-4) 0;
}

.copyright {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-headfoot);
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  font-weight: 700;
  color: var(--color-headfoot);
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--color-primary-dark);
}



.people-grid {
  width: 80%;
  margin: 0 auto;
  align-items: center;
}

.page-section {
  padding: var(--space-7) 0;
}

.page-section--tight {
  padding: var(--space-6) 0;
}

.page-section--verytight {
  padding: var(--space-1) 0;
}

.page-section--surface {
  background: var(--color-surface);
}

.page-section--tint {
  background: var(--color-surface-tint);
}

.page-section--soft {
  background: var(--color-surface-soft);
}

.page-section--inter {
  padding: var(--space-2) 0;
  background: var(--color-bg);
  text-align: center;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  font-size: 40px;
}


.section-title {
  text-align: center;
  margin-bottom: var(--space-5);
}

.section-title p {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-text-soft);
}

.button {
  display: inline-block;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  border: 1px solid var(--color-primary);
}

.button:hover,
.button:focus {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  text-decoration: none;
}

/* 1) Background image with inset text box and callout header */
.callout-banner {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: 100% auto;

  background-repeat: no-repeat;
}

.callout-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-overlay-dark);
}

.callout-banner__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - (var(--gutter) * 2)), var(--site-max));
  margin: 0 auto;
  padding: var(--space-6) 0;
}

.callout-banner__label {
  display: inline-block;
  margin-bottom: var(--space-4);
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: var(--radius-sm);
}

.callout-banner__box {
  width: 100%;
  max-width: 1120px;
  background: var(--color-overlay);
  margin-bottom: 20px;
  padding: clamp(1.5rem, 3vw, 3rem);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.callout-banner__box p:last-child {
  margin-bottom: 0;
}

/* 2) Full-width text panel */
.text-panel {
  background: var(--color-surface-soft);
  padding: clamp(1.75rem, 3vw, 3rem);
  border-radius: var(--radius-sm);
}

.text-panel--surface{
  background: var(--color-surface);
  padding: clamp(1.75rem, 3vw, 3rem);
  border-radius: var(--radius-sm);
}

.text-panel--centered {
  text-align: center;
}

.text-panel__body {
  max-width: 78ch;
  margin: 0 auto;
}



.text-panel__body p:last-child {
  margin-bottom: 0;
}

.text-panel__body h4 {
  text-align: left;
}

/* 3) Image and text side by side */
.media-split {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, 1fr);
  gap: clamp(1.5rem, 3vw, 4rem);
  align-items: center;
}

.media-split--reverse {
  grid-template-columns: minmax(300px, 1fr) minmax(260px, 1fr);
}

.media-split--reverse .media-split__media {
  order: 2;
}

.media-split--reverse .media-split__content {
  order: 1;
}

.media-split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
}

.media-split__content p:last-child {
  margin-bottom: 0;
}

/* 4) Three-column text lists with boxed header */
.three-col-boxes {
  position: relative;
  width: 100%;
  max-width: 1120px;
  padding: clamp(2rem, 3vw, 3.5rem);
  border-radius: var(--radius-sm);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.three-col-boxes::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
}

.three-col-boxes__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.three-col-boxes__col h3 {
  margin-bottom: var(--space-4);
  padding: 1rem 1.25rem;
  text-align: center;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-sm);
}

.three-col-boxes__col ul {
  margin-bottom: 0;
}

/* 5) Three/four-column cards with images */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
}

.card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.info-card__title {
  margin: 0;
  padding: 1.1rem 1rem;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.info-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.info-card__body {
  padding: 1rem;
}

.info-card__body p:last-child {
  margin-bottom: 0;
}

.person-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.person-card__name {
  font-weight: bold;
  color: #a1762d;;
}

.person-card__role {
  font-style: italic;
  color:#2f2a24
}

.person-card__department {
  color: #a1762d;
}

.contact-section-title {
  text-align: center;
  margin-bottom: var(--space-5);
  color: #474747;
  font-size: 30px;
}

.person-card__email {
  color: blue;
}

.person-card__phone {
  color: blue;
}

.person-card__image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin: 10px auto;
}

.person-card__body {
  padding: 1rem;
}

.person-card__body p:last-child {
  margin-bottom: 0;
}

/* Generic helpers */
.lead {
  font-size: 1.2rem;
  color: var(--color-text-soft);
}

.muted {
  color: var(--color-text-soft);
}

.stack > * + * {
  margin-top: var(--space-3);
}

.text-center {
  text-align: center;
}

.title-page-headline {
  font-size: 50px;
  font-weight: bold;
  color: #404040;
  text-align: center;
  font-family: 'Trebuchet MS', Helvetica, sans-serif;
  padding: 20px;
}

.title-page-subhead {
  font-size: 30px;
  font-weight: bold;
  color: #404040;
  text-align: center;
  font-family: 'Trebuchet MS', Helvetica, sans-serif;
  padding: 10px;
}

@media (max-width: 1080px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .three-col-boxes__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .media-split,
  .media-split--reverse {
    grid-template-columns: 1fr;
  }

  .media-split--reverse .media-split__media,
  .media-split--reverse .media-split__content {
    order: initial;
  }
}

@media (max-width: 640px) {
  .site-header .shell,
  .site-footer .shell {
    flex-direction: column;
    align-items: right;
  }

  .card-grid,
  .card-grid--three {
    grid-template-columns: 1fr;
  }

  .callout-banner {
    min-height: 420px;
  }

  .callout-banner__label {
    display: block;
    width: fit-content;
  }


}
