:root {
  --fire: #861a22;
  --fire-dark: #621017;
  --ink: #181716;
  --muted: #5d6067;
  --line: #dfe3e8;
  --paper: #ffffff;
  --mist: #f5f7f8;
  --green: #1f6b55;
  --gold: #c99418;
  --shadow: 0 18px 48px rgba(24, 23, 22, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--mist);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 12px 32px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  font-size: 18px;
  line-height: 1.1;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

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

.main-nav a {
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #343332;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--paper);
  background: var(--fire);
  outline: 0;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 76svh;
  overflow: hidden;
  padding: 88px 32px 96px;
  color: var(--paper);
  background: var(--fire);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24, 23, 22, 0.18);
}

.hero-mark {
  position: absolute;
  right: 7%;
  bottom: -20px;
  width: 430px;
  height: 540px;
  object-fit: contain;
  opacity: 0.55;
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  margin: 0;
  margin-left: max(0px, calc((100% - 1120px) / 2));
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--fire-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #fff2f0;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: 68px;
  line-height: 0.98;
  font-weight: 900;
}

.hero-title span,
.hero-title small {
  display: block;
}

.hero-title small {
  margin-top: 4px;
  font-size: 0.72em;
  line-height: 1;
}

.hero p:not(.eyebrow) {
  max-width: 610px;
  margin-bottom: 28px;
  font-size: 21px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 0;
}

.button-primary {
  color: var(--paper);
  background: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #000;
}

.button-secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  color: var(--fire-dark);
  background: var(--paper);
  border-color: var(--paper);
}

.section {
  scroll-margin-top: 96px;
  padding: 88px 32px;
}

.section-white {
  background: var(--paper);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 56px;
  align-items: start;
}

.section h2 {
  margin-bottom: 18px;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 900;
}

.section h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.lead-copy p,
.section-heading p,
.social-layout p,
.closing-content p {
  color: var(--muted);
  font-size: 18px;
}

.lead-copy p:last-child,
.project-card p:last-child,
.value-card p:last-child,
.priority-list p:last-child,
.timeline p:last-child {
  margin-bottom: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.value-card,
.project-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.value-card {
  min-height: 220px;
  padding: 24px;
}

.value-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--fire);
  font-weight: 900;
}

.value-card p,
.project-card p,
.priority-list p,
.timeline p {
  color: var(--muted);
}

.priorities-band {
  color: var(--paper);
  background: var(--ink);
}

.priorities-band .eyebrow {
  color: #ffc7c2;
}

.priority-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.priority-list article {
  min-height: 190px;
  padding: 26px;
  background: #242220;
}

.priority-list h3 {
  color: var(--paper);
}

.priority-list p {
  color: #d8dadd;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  min-height: 250px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(24, 23, 22, 0.05);
}

.project-card.featured {
  grid-column: span 2;
  color: var(--paper);
  background: var(--fire-dark);
  border-color: var(--fire-dark);
}

.project-card span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card.featured span,
.project-card.featured p {
  color: #ffe8e5;
}

.social-section {
  background: var(--mist);
}

.social-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: 48px;
  align-items: center;
}

.social-layout .button-primary {
  margin-top: 10px;
  background: var(--fire);
}

.instagram-panel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.instagram-panel iframe {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--paper);
}

.instagram-fallback {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(24, 23, 22, 0.12);
}

.instagram-fallback strong {
  font-size: 20px;
}

.instagram-fallback a {
  color: var(--fire);
  font-weight: 900;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.timeline article {
  min-height: 210px;
  padding: 24px;
  border-top: 5px solid var(--fire);
  background: var(--mist);
}

.timeline time {
  display: block;
  margin-bottom: 14px;
  color: var(--fire-dark);
  font-weight: 900;
}

.closing-band {
  color: var(--paper);
  background: var(--green);
}

.closing-content {
  max-width: 820px;
}

.closing-content p {
  color: #edf5f2;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  min-height: 82px;
  padding: 24px 32px;
  color: #f2f2f2;
  background: var(--ink);
}

.site-footer a {
  color: #ffc7c2;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 20px;
  }

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

  .hero {
    min-height: 72svh;
    padding: 70px 22px 82px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero p:not(.eyebrow) {
    font-size: 19px;
  }

  .hero-mark {
    right: -20px;
    width: 330px;
    height: 430px;
    opacity: 0.18;
  }

  .section {
    padding: 70px 22px;
  }

  .two-column,
  .social-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .values-grid,
  .priority-list,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .section {
    scroll-margin-top: 150px;
  }

  .brand {
    min-width: 0;
  }

  .main-nav a {
    padding-inline: 10px;
    font-size: 13px;
  }

  .hero {
    min-height: 70svh;
  }

  .hero-mark {
    right: -118px;
    bottom: 28px;
    width: 300px;
    height: 360px;
    opacity: 0.14;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p:not(.eyebrow),
  .lead-copy p,
  .section-heading p,
  .social-layout p,
  .closing-content p {
    font-size: 16px;
  }

  .hero p:not(.eyebrow) {
    max-width: 330px;
  }

  .section h2 {
    font-size: 30px;
  }

  .values-grid,
  .priority-list,
  .project-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .project-card.featured {
    grid-column: auto;
  }

  .instagram-panel {
    min-height: 520px;
  }

  .instagram-fallback {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    justify-content: flex-start;
  }
}
