:root {
  --bg: #f4efe6;
  --bg-alt: #101827;
  --panel: rgba(255, 255, 255, 0.78);
  --text: #172033;
  --muted: #5b6577;
  --accent: #8c5a2f;
  --accent-strong: #6e4121;
  --border: rgba(23, 32, 51, 0.11);
  --shadow: 0 18px 60px rgba(19, 27, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(140, 90, 47, 0.12), transparent 28%),
    linear-gradient(180deg, #fbf8f2 0%, #f3eee6 48%, #ede4d6 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 60px;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  background: #b30008;
  box-shadow: 0 10px 30px rgba(176, 0, 8, 0.18);
}

.brand-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-tag {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  align-items: center;
}

.main-nav a {
  white-space: nowrap;
}

.main-nav > a,
.nav-group > a {
  font-weight: 700;
}

.nav-group {
  position: relative;
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: none;
  z-index: 20;
}

.nav-group > a::after {
  content: "▾";
  margin-left: 6px;
  font-size: 0.72em;
  color: var(--muted);
}

.nav-group:hover .nav-submenu {
  display: grid;
  gap: 8px;
}

.nav-submenu a {
  padding: 10px 12px;
  border-radius: 12px;
}

.nav-submenu a:hover,
.main-nav > a:hover,
.nav-group > a:hover {
  color: var(--accent-strong);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta {
  background: var(--bg-alt);
  color: white;
  box-shadow: var(--shadow);
}

.button-primary {
  background: var(--bg-alt);
  color: white;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero,
.contact-cta {
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 20px;
  padding: 34px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(244, 236, 224, 0.76));
}

.hero-home .hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent-strong);
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1.04;
  margin-bottom: 18px;
}

.lead {
  font-size: 1.12rem;
  line-height: 1.72;
  color: #2b3448;
}

.hero p:last-of-type {
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-panel,
.intro-card,
.service-card,
.team-card,
.resource-card,
.content-card,
.step-card,
.news-card {
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-panel {
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.74));
}

.panel-label,
.service-number,
.team-role {
  color: var(--accent-strong);
  font-weight: 700;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  line-height: 1.55;
}

.check-list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}

.section {
  padding: 28px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 20px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.08;
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.7;
}

.intro-grid,
.services-grid,
.team-grid,
.resources-grid {
  display: grid;
  gap: 18px;
}

.intro-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.intro-card {
  border-radius: 26px;
  padding: 26px;
}

.intro-card--image {
  min-height: 320px;
  color: white;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.62)),
    url("industry.jpg") center/cover no-repeat;
}

.intro-card--wide {
  display: flex;
  align-items: flex-end;
}

.intro-card--text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.team-card,
.resource-card {
  border-radius: 24px;
  padding: 24px;
}

.service-card a,
.resource-card a {
  font-weight: 700;
  color: var(--accent-strong);
}

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

.team-role {
  margin-bottom: 10px;
}

.resources-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-card--highlight {
  background: linear-gradient(135deg, rgba(23, 32, 51, 0.95), rgba(50, 65, 94, 0.9));
  color: white;
}

.resource-card--highlight p,
.resource-card--highlight a {
  color: rgba(255, 255, 255, 0.84);
}

.contact-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 24px;
  padding: 34px;
  background: linear-gradient(135deg, rgba(23, 32, 51, 0.95), rgba(50, 65, 94, 0.9));
  color: white;
}

.callout-copy {
  max-width: 620px;
}

.callout-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.callout-copy p:not(.eyebrow) {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.callout-actions {
  display: grid;
  gap: 12px;
  align-content: start;
}

.button-block {
  width: 100%;
}

.contact-cta .button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: rgba(255, 255, 255, 0.18);
}

.content-card {
  border-radius: 26px;
  padding: 28px;
}

.content-card + .content-card {
  margin-top: 18px;
}

.content-card--dark {
  background: linear-gradient(135deg, rgba(23, 32, 51, 0.95), rgba(50, 65, 94, 0.9));
  color: white;
}

.content-card--dark p,
.content-card--dark li {
  color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 960px) {
  .site-header,
  .hero,
  .intro-grid,
  .services-grid,
  .team-grid,
  .resources-grid,
  .contact-cta {
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .site-header {
    align-items: flex-start;
  }

  .nav-submenu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0;
    margin-top: 8px;
    box-shadow: none;
    background: transparent;
    border: 0;
  }

  .nav-group:hover .nav-submenu {
    display: grid;
  }

  .hero,
  .contact-cta,
  .intro-card,
  .service-card,
  .team-card,
  .resource-card,
  .content-card {
    padding: 22px;
    border-radius: 22px;
  }

  h1 {
    font-size: 2.6rem;
  }
}
