:root {
  --color-text: #252525;
  --color-accent: #2f0c17;
  --color-hero-overlay: rgba(20, 12, 10, 0.55);
  --font-heading: "Cardo", Georgia, "Times New Roman", serif;
  --font-body: "Raleway", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: #fff;
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.7;
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 1rem;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section {
  padding: 5rem 1.5rem;
}

.section__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.lead {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

/* Fraud alert bar */
.fraud-alert {
  background: #fff3cd;
  border-bottom: 1px solid #ffe58f;
}
.fraud-alert__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem;
  text-align: center;
}
.fraud-alert h3 {
  color: #8a6116;
}
.fraud-alert p {
  margin: 0 0 0.75rem;
  color: #6b5210;
}
.fraud-alert p:last-child {
  margin-bottom: 0;
}

/* Header */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.site-header__inner {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header__logo img {
  height: 48px;
}
.site-header__nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.site-header__nav a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.site-header__nav a:hover {
  color: var(--color-accent);
}

.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.site-header__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.site-header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Hero */
.hero {
  height: 92vh;
  min-height: 520px;
  background: url("/assets/images/hero-bg.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-hero-overlay);
}
.hero__overlay {
  position: relative;
  z-index: 1;
  padding: 2rem;
}
.hero__logo {
  max-width: 640px;
  width: 80vw;
  opacity: 0;
  animation: hero-slide-in 1.1s ease-out 0.2s forwards;
}

@keyframes hero-slide-in {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 0.92;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__logo {
    opacity: 0.92;
    animation: none;
  }
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 3rem;
  text-align: center;
  margin-bottom: 4rem;
}
.services-grid__icon {
  color: var(--color-accent);
  display: inline-block;
  width: 56px;
  margin-bottom: 1rem;
}
.services-grid__item h3 {
  font-size: 1.3rem;
}
.services-grid__item p {
  color: #555;
}

/* Our Service section */
.service-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 3rem;
  text-align: left;
  margin-bottom: 3rem;
}
.service__image {
  border-radius: 4px;
}

/* Stats */
.stats-band {
  background: #1b1310;
  padding: 3.5rem 1.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem 1rem;
}
.stats-grid__value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: #e0a860;
}
.stats-grid__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #d9cfc6;
}

/* Founders */
.founders-band {
  background: #1b1310;
  color: #f4efe9;
  padding: 5rem 1.5rem;
}
.founders-band .section__inner {
  max-width: 800px;
}
.founders-band h2 {
  color: #f4efe9;
}
.founders-band p {
  color: #d9cfc6;
}

.tagline-band h2 {
  font-size: 2rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  text-align: left;
  margin-top: 2rem;
}
.team-grid__item img {
  width: 100%;
  aspect-ratio: 7 / 8;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.team-grid__item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}
.team-grid__role {
  font-size: 0.85rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}
.team-grid__bio {
  font-size: 0.9rem;
  color: #555;
}
.team__group-photo {
  margin: 4rem auto 0;
  border-radius: 4px;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.portfolio-grid__item {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 2.5rem;
  border: 1px solid #e5e0da;
  overflow: hidden;
}
.portfolio-grid__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.portfolio-grid__item:hover img {
  transform: scale(1.08);
}

/* Contact */
.contact {
  padding-bottom: 0;
  background: #1b1310;
  color: #f4efe9;
}
.contact .lead {
  color: #d9cfc6;
}
.contact__map iframe {
  display: block;
}
.contact__details {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}
.contact__details p {
  margin: 0.5rem 0;
}
.contact__email-link {
  color: #e0a860;
  font-weight: 600;
  text-decoration: none;
}

/* Footer */
.site-footer {
  background: #14100d;
  color: #b6aca3;
  text-align: center;
  padding: 3rem 1.5rem;
}
.site-footer__logo {
  height: 60px;
  margin: 0 auto 1.5rem;
}
.site-footer__docs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  font-size: 0.85rem;
}
.site-footer__docs a {
  color: #b6aca3;
}

@media (max-width: 768px) {
  .services-grid,
  .service-columns {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .site-header__toggle {
    display: flex;
  }
  .site-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-header__nav.is-open {
    max-height: 400px;
  }
  .site-header__nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }
  .site-header__nav li {
    border-top: 1px solid #f0f0f0;
  }
  .site-header__nav a {
    display: block;
    padding: 0.9rem 1.5rem;
  }
  h2 {
    font-size: 1.9rem;
  }
}
