:root {
  color-scheme: light;
  --ink: #101417;
  --deep: #0e1317;
  --forest: #1f3029;
  --sage: #91a493;
  --stone: #efeee8;
  --paper: #f8f7f1;
  --line: rgba(16, 20, 23, 0.14);
  --muted: #69716b;
  --white: #ffffff;
  --claret: #73505a;
  --blue: #385d79;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Avenir, "Avenir Next", Inter, Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px 48px;
  background: rgba(14, 19, 23, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand-mark img {
  display: block;
  width: 174px;
  height: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

nav a:hover {
  color: var(--white);
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 140px 48px 72px;
  background-image: linear-gradient(90deg, rgba(14, 19, 23, 0.72), rgba(14, 19, 23, 0.22)), url("assets/sedecio-hero-v2.png");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero-copy {
  width: min(620px, 100%);
  margin-left: max(0px, calc((100vw - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: 76px;
  line-height: 0.98;
  font-weight: 850;
}

h2 {
  margin-bottom: 0;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 850;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 850;
}

.lead {
  max-width: 600px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 22px;
}

.hero-actions,
.contact-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-weight: 850;
}

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

.button.secondary {
  color: var(--white);
}

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

.section {
  padding: 84px 48px;
}

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

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.text-stack p {
  color: inherit;
  font-size: 18px;
}

.text-stack p:last-child {
  margin-bottom: 0;
}

.band-dark {
  background: var(--deep);
  color: var(--white);
}

.band-dark .text-stack {
  color: rgba(255, 255, 255, 0.78);
}

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

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

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

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

.portfolio-card,
.principle {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.68);
}

.portfolio-card {
  border-top: 6px solid var(--forest);
}

.portfolio-card.accent-red {
  border-top-color: var(--claret);
}

.portfolio-card.accent-rose {
  border-top-color: #a86a7f;
}

.portfolio-card.accent-blue {
  border-top-color: var(--blue);
}

.portfolio-kicker {
  display: block;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.portfolio-card p,
.principle p {
  color: var(--muted);
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.principle {
  min-height: 200px;
  background: rgba(255, 255, 255, 0.46);
}

.founder-band {
  background: linear-gradient(90deg, var(--forest), var(--deep));
  color: var(--white);
}

.founder-band .text-stack {
  color: rgba(255, 255, 255, 0.78);
}

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

.contact-inner {
  justify-content: space-between;
}

.contact-inner h2 {
  max-width: 760px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 48px;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer img {
  width: 156px;
  height: auto;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    padding: 18px 22px;
  }

  nav {
    justify-content: flex-end;
    gap: 12px;
    font-size: 12px;
  }

  .brand-mark img {
    width: 138px;
  }

  .hero,
  .section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 132px;
    background-position: 54% center;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 19px;
  }

  .two-column,
  .portfolio-grid,
  .principle-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .portfolio-card,
  .principle {
    min-height: auto;
  }

  .contact-inner,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
