:root {
  --ink: #171a1c;
  --muted: #596067;
  --line: #dfe5e7;
  --paper: #f7faf9;
  --white: #ffffff;
  --green: #2c6b4f;
  --green-dark: #174231;
  --steel: #3d5965;
  --accent: #d9f05e;
  --shadow: 0 24px 70px rgba(23, 26, 28, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 40px rgba(23, 26, 28, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy small {
  color: currentColor;
  opacity: 0.78;
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover {
  color: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/ixb-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 15, 16, 0.92) 0%, rgba(12, 15, 16, 0.76) 38%, rgba(12, 15, 16, 0.24) 76%),
    linear-gradient(180deg, rgba(12, 15, 16, 0.24), rgba(12, 15, 16, 0.7));
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding-top: 74px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--accent);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.65rem, 7vw, 5.9rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

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

.button.primary:hover {
  background: #eefc8b;
}

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

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.button.dark {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 860px;
  margin-top: 54px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.hero-stats span {
  padding: 18px;
  background: rgba(12, 15, 16, 0.52);
}

.hero-stats strong {
  display: block;
  color: var(--accent);
  font-size: 1.45rem;
  line-height: 1;
}

section {
  padding: 92px clamp(18px, 4vw, 54px);
}

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

.section-heading,
.intro-grid,
.services,
.classes,
.projects,
.contact {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

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

.section-heading.centered {
  max-width: 780px;
  text-align: center;
}

.compact-section {
  margin-bottom: 0;
}

.compact-section .button {
  margin-top: 24px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-grid p {
  margin: 0;
}

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

.service-card,
.project-card,
.lead-form,
.cta-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card,
.project-card {
  padding: 26px;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: var(--green-dark);
  background: #e5f4eb;
  font-weight: 950;
}

.service-card h3,
.project-card h3,
.lead-form h3,
.cta-card h3 {
  margin: 18px 0 10px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.service-card p,
.project-card p,
.contact-copy p,
.classes-copy p {
  color: var(--muted);
}

.service-card a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.service-card a:hover {
  text-decoration: underline;
}

.classes,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.classes-copy,
.contact-copy {
  max-width: 700px;
}

.class-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.class-list span {
  padding: 14px 16px;
  border-left: 4px solid var(--green);
  border-radius: 0 8px 8px 0;
  background: var(--white);
  font-weight: 800;
}

.class-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.class-meta div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.class-meta strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.class-meta span {
  color: var(--muted);
  font-weight: 800;
}

.lead-form,
.cta-card {
  padding: 26px;
  box-shadow: var(--shadow);
}

.lead-form h3 {
  margin-top: 0;
}

label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.lead-form .button {
  width: 100%;
  margin-top: 18px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.project-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.project-top {
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 950;
}

.project-card p {
  margin-bottom: 0;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-details a {
  color: var(--green);
  font-weight: 900;
}

.contact-details strong {
  color: var(--ink);
  font-weight: 900;
}

.cta-card ul {
  margin: 14px 0 22px;
  padding-left: 20px;
  color: var(--muted);
}

.cta-card li + li {
  margin-top: 10px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.page-hero {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding-top: 150px;
  padding-left: 0;
  padding-right: 0;
}

.page-hero h1 {
  max-width: 900px;
  color: var(--ink);
  font-size: clamp(2.45rem, 6vw, 5rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 72px);
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 72px);
}

.page-grid > * {
  width: min(var(--max), 100%);
}

.page-grid h2,
.page-grid h3 {
  margin-top: 0;
}

.page-grid p,
.plain-list {
  color: var(--muted);
  font-size: 1.06rem;
}

.plain-list {
  margin: 0;
  padding-left: 20px;
}

.plain-list li + li {
  margin-top: 10px;
}

.detail-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.detail-card h3 {
  margin-top: 0;
}

.detail-card p {
  color: var(--muted);
}

.detail-card .button {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(12, 15, 16, 0.82), rgba(12, 15, 16, 0.58));
  }

  .hero-stats,
  .intro-grid,
  .service-grid,
  .project-grid,
  .classes,
  .contact,
  .page-grid,
  .service-detail,
  .class-meta {
    grid-template-columns: 1fr;
  }

  .classes,
  .contact {
    width: min(var(--max), 100%);
  }
}

@media (max-width: 620px) {
  .brand-copy small {
    display: none;
  }

  h1 {
    font-size: 2.75rem;
  }

  section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .service-card,
  .project-card,
  .lead-form,
  .cta-card {
    padding: 22px;
  }

  .site-footer {
    display: grid;
  }
}
