:root {
  --ink: #1f2933;
  --muted: #5d6975;
  --line: #d9e0e6;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --accent: #7b5f41;
  --accent-dark: #4e3c2a;
  --blueprint: #2f5967;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}

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

a:hover {
  text-decoration: underline;
}

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(31, 41, 51, 0.08);
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  left: 0;
  min-height: 4.5rem;
  padding: 0 4vw;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.site-brand {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-brand:hover {
  text-decoration: none;
}

.site-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.site-nav a {
  border-radius: 4px;
  color: var(--ink);
  font-size: 0.95rem;
  padding: 0.45rem 0.7rem;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--soft);
  text-decoration: none;
}

.page-hero {
  align-items: center;
  background-color: #2f5967;
  background-position: center;
  background-size: cover;
  display: flex;
  min-height: 18rem;
  padding: 4rem 4vw;
}

.page-hero-large {
  min-height: 38rem;
}

.page-hero-inner {
  color: #ffffff;
  max-width: 58rem;
}

.page-hero-inner h1 {
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  max-width: 52rem;
}

.page-hero-small .page-hero-inner h1 {
  font-size: 2.6rem;
}

.eyebrow {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.22rem;
  line-height: 1.55;
  margin: 1.25rem 0 0;
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button-primary,
.button-secondary {
  align-items: center;
  border-radius: 4px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.72rem 1.1rem;
}

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

.button-primary:hover {
  background: var(--accent-dark);
  color: #ffffff;
  text-decoration: none;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.button-secondary:hover {
  background: #ffffff;
  text-decoration: none;
}

.page-main {
  background: var(--paper);
}

.content-wrap {
  margin: 0 auto;
  max-width: 1160px;
  padding: 4rem 4vw;
}

.content-wrap > h2:first-child,
.content-wrap > h3:first-child {
  margin-top: 0;
}

.intro-band,
.statement-band {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.intro-band h2,
.statement-band h2 {
  font-size: 2rem;
  line-height: 1.18;
  margin: 0;
}

.intro-band p:last-child {
  color: var(--muted);
  margin: 0;
}

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

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.service-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.service-card div {
  padding: 1.15rem;
}

.service-card h3 {
  font-size: 1.08rem;
  line-height: 1.25;
  margin: 0 0 0.55rem;
}

.service-card p {
  color: var(--muted);
  margin: 0;
}

.statement-band {
  align-items: center;
  background: var(--soft);
  border: 0;
  border-radius: 8px;
  margin: 3rem 0 0;
  padding: 2rem;
}

.statement-band .button-primary {
  justify-self: end;
}

.taszus-projects {
  display: grid;
  gap: 3rem;
}

.taszus-category-nav {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.taszus-category-nav a {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  display: flex;
  font-weight: 700;
  justify-content: center;
  min-height: 4rem;
  padding: 0.9rem;
  text-align: center;
}

.taszus-category-nav a:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.taszus-project-category h2 {
  border-bottom: 1px solid var(--line);
  font-size: 1.8rem;
  line-height: 1.2;
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
}

.taszus-project-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.taszus-project {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  overflow: hidden;
}

.taszus-project img {
  height: 100%;
  min-height: 13rem;
  object-fit: cover;
  width: 100%;
}

.taszus-project-body {
  padding: 1.25rem;
}

.taszus-project-body h3 {
  font-size: 1.08rem;
  line-height: 1.28;
  margin: 0 0 0.65rem;
}

.taszus-project-body p {
  color: var(--muted);
  margin: 0;
}

.content-wrap > p,
.content-wrap > ul,
.content-wrap > ol {
  max-width: 760px;
}

.content-wrap h2 {
  font-size: 1.8rem;
  line-height: 1.25;
  margin-top: 2.4rem;
}

.content-wrap h3 {
  font-size: 1.2rem;
  margin-top: 1.6rem;
}

.site-footer {
  background: #1f2933;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  padding: 2rem 4vw;
}

.site-footer strong,
.site-footer a {
  color: #ffffff;
}

@media (max-width: 900px) {
  .page-hero-large {
    min-height: 32rem;
  }

  .page-hero-inner h1 {
    font-size: 2.65rem;
  }

  .intro-band,
  .statement-band,
  .service-grid,
  .taszus-category-nav,
  .taszus-project-grid {
    grid-template-columns: 1fr;
  }

  .statement-band .button-primary {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
    padding-bottom: 0.9rem;
    padding-top: 0.9rem;
    position: static;
  }

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

  .page-hero {
    min-height: 14rem;
    padding: 2.5rem 1rem;
  }

  .page-hero-large {
    min-height: 28rem;
  }

  .page-hero-inner h1,
  .page-hero-small .page-hero-inner h1 {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .content-wrap {
    padding: 3rem 1rem;
  }

  .taszus-project {
    grid-template-columns: 1fr;
  }

  .taszus-project img {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .site-footer {
    flex-direction: column;
  }
}
