:root {
  --charcoal: #22252a;
  --off-white: #f7f6f2;
  --paper: #ffffff;
  --mist-grey: #d9dde1;
  --blue-grey: #607d8b;
  --soft-teal: #4f8a8b;
  --ink-soft: #52575d;
  --line: rgba(34, 37, 42, 0.14);
  --shadow: 0 20px 50px rgba(34, 37, 42, 0.08);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(79, 138, 139, 0.08), transparent 34rem),
    linear-gradient(180deg, var(--off-white), #f1f0eb 54%, var(--off-white));
  color: var(--charcoal);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(79, 138, 139, 0.45);
  outline-offset: 4px;
}

.site-header {
  z-index: 20;
  background: rgba(247, 246, 242, 0.95);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  color: var(--charcoal);
  text-decoration: none;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-caption {
  color: var(--blue-grey);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-page-logo {
  display: block;
  width: clamp(150px, 16vw, 210px);
  height: auto;
  margin-left: auto;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 6px;
  color: var(--charcoal);
  cursor: pointer;
}

.nav-toggle-line,
.nav-toggle-line::before,
.nav-toggle-line::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.nav-toggle-line::before {
  transform: translateY(-6px);
}

.nav-toggle-line::after {
  transform: translateY(4px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 12px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--charcoal);
  background: rgba(96, 125, 139, 0.12);
}

main {
  min-height: 68vh;
}

.section,
.hero {
  padding: 86px 0;
}

.hero {
  padding-top: 76px;
}

.hero-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 52px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--soft-teal);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 8vw, 5.75rem);
  font-weight: 780;
}

.page-title {
  max-width: 840px;
  font-size: clamp(2.35rem, 6vw, 4.7rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

h3 {
  font-size: 1.24rem;
}

p {
  margin: 0;
}

.subtitle {
  margin-top: 20px;
  color: var(--blue-grey);
  font-size: clamp(1.2rem, 2.7vw, 1.72rem);
  line-height: 1.35;
  font-weight: 700;
}

.lead {
  max-width: 700px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 1.13rem;
}

.supporting-line {
  max-width: 700px;
  margin-top: 20px;
  padding-left: 18px;
  border-left: 3px solid var(--soft-teal);
  color: var(--ink-soft);
  font-size: 1.02rem;
  font-weight: 650;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--charcoal);
  border-radius: 6px;
  font-size: 0.98rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button-secondary {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--blue-grey);
}

.home-hero {
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(217, 221, 225, 0), rgba(217, 221, 225, 0.28));
  content: "";
  pointer-events: none;
}

.home-hero .container {
  position: relative;
}

.home-artwork-hero {
  padding: 42px 0 70px;
}

.hero-artwork-wrap {
  width: min(calc(100% - 40px), 1500px);
  margin: 0 auto;
}

.hero-artwork {
  margin: 0;
}

.hero-artwork img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.hero-image-panel {
  min-height: 480px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(34, 37, 42, 0.14);
  border-radius: 8px;
  background: var(--mist-grey);
  box-shadow: var(--shadow);
}

.hero-image-panel img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.hero-visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid rgba(34, 37, 42, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(247, 246, 242, 0.1), rgba(34, 37, 42, 0.2)),
    linear-gradient(135deg, #eef0ef 0%, #d9dde1 48%, #b9c5c9 100%);
  box-shadow: var(--shadow);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  right: -16%;
  left: -16%;
  height: 130px;
  border-radius: 50%;
  background: rgba(247, 246, 242, 0.58);
  content: "";
}

.hero-visual::before {
  top: 20%;
  transform: rotate(-4deg);
}

.hero-visual::after {
  top: 34%;
  background: rgba(96, 125, 139, 0.16);
  transform: rotate(3deg);
}

.visual-horizon {
  position: absolute;
  right: 34px;
  bottom: 132px;
  left: 34px;
  height: 2px;
  background: var(--soft-teal);
  box-shadow: 0 42px 0 rgba(96, 125, 139, 0.28), 0 86px 0 rgba(34, 37, 42, 0.12);
}

.visual-card {
  position: absolute;
  z-index: 1;
  max-width: 285px;
  padding: 18px;
  border: 1px solid rgba(34, 37, 42, 0.12);
  border-radius: 8px;
  background: rgba(247, 246, 242, 0.9);
}

.visual-card-main {
  right: 34px;
  bottom: 34px;
}

.visual-card-secondary {
  top: 34px;
  left: 34px;
}

.visual-label,
.placeholder-note {
  display: block;
  color: var(--blue-grey);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-card strong {
  display: block;
  margin-top: 6px;
  line-height: 1.25;
}

.placeholder-note {
  position: absolute;
  z-index: 1;
  right: 34px;
  bottom: 116px;
  left: 34px;
  max-width: 300px;
  padding-top: 14px;
  border-top: 2px solid var(--soft-teal);
}

.image-placeholder {
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(34, 37, 42, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(96, 125, 139, 0.18), rgba(79, 138, 139, 0.08) 42%, rgba(34, 37, 42, 0.14)),
    linear-gradient(180deg, #f4f3ee, #d9dde1);
  color: var(--charcoal);
  box-shadow: var(--shadow);
}

.image-placeholder span {
  max-width: 260px;
  padding-top: 14px;
  border-top: 2px solid var(--soft-teal);
  font-size: 0.9rem;
  font-weight: 750;
}

.image-placeholder.compact {
  min-height: 310px;
  box-shadow: none;
}

.image-placeholder.horizon {
  background:
    linear-gradient(180deg, rgba(247, 246, 242, 0.2), rgba(34, 37, 42, 0.12)),
    linear-gradient(110deg, rgba(79, 138, 139, 0.18), rgba(96, 125, 139, 0.22), rgba(217, 221, 225, 0.4));
}

.image-placeholder.desk {
  background:
    linear-gradient(145deg, rgba(34, 37, 42, 0.1), rgba(79, 138, 139, 0.1)),
    linear-gradient(180deg, #ffffff, #d9dde1);
}

.about-image {
  display: block;
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(34, 37, 42, 0.12);
  border-radius: 8px;
  box-shadow: none;
}

.feature-band,
.quiet-band {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.section-heading p {
  margin-top: 16px;
  color: var(--ink-soft);
}

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

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

.card {
  min-height: 228px;
  padding: 26px;
}

.card,
.procurement-card,
.detail-panel,
.list-panel,
.contact-panel {
  box-shadow: 0 14px 30px rgba(34, 37, 42, 0.045);
}

.card-kicker {
  display: block;
  margin-bottom: 20px;
  color: var(--soft-teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card p,
.detail-panel p,
.contact-panel p,
.list-panel li {
  color: var(--ink-soft);
}

.card h3 + p {
  margin-top: 12px;
}

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

.procurement-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(79, 138, 139, 0.08), rgba(255, 255, 255, 0) 58%),
    var(--paper);
}

.procurement-card h3 {
  padding-top: 18px;
  border-top: 2px solid var(--soft-teal);
}

.procurement-card p {
  margin-top: 14px;
  color: var(--ink-soft);
}

.signal-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signal-card {
  min-height: 230px;
}

.output-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.output-card {
  min-height: 250px;
}

.intro-block {
  max-width: 850px;
}

.intro-block p + p {
  margin-top: 20px;
}

.intro-block h2 {
  margin-top: 38px;
}

.intro-block h2:first-child {
  margin-top: 0;
}

.intro-block h2 + p {
  margin-top: 14px;
}

.statement {
  margin-top: 34px;
  padding-left: 24px;
  border-left: 3px solid var(--soft-teal);
  color: var(--charcoal);
  font-size: 1.23rem;
  line-height: 1.48;
  font-weight: 680;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.list-panel {
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.list-panel h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.list-panel ul,
.signal-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.list-panel li,
.signal-list li {
  position: relative;
  padding-left: 24px;
}

.list-panel li::before,
.signal-list li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--soft-teal);
  border-radius: 50%;
  content: "";
}

.mist-hero {
  background:
    radial-gradient(circle at 78% 20%, rgba(79, 138, 139, 0.22), transparent 26rem),
    linear-gradient(135deg, #22252a 0%, #2e3438 58%, #22252a 100%);
  color: var(--off-white);
}

.mist-hero .lead,
.mist-hero .subtitle {
  color: rgba(247, 246, 242, 0.78);
}

.mist-hero .button-secondary {
  color: var(--off-white);
  border-color: rgba(247, 246, 242, 0.58);
}

.mist-doctrine {
  max-width: 680px;
  margin-top: 22px;
  padding-left: 18px;
  border-left: 3px solid var(--soft-teal);
  color: rgba(247, 246, 242, 0.86);
  font-size: 1.08rem;
  font-weight: 700;
}

.detail-panel {
  padding: 30px;
}

.detail-panel p {
  margin-top: 14px;
}

.signal-list li {
  color: rgba(247, 246, 242, 0.82);
}

.mist-identity-hero {
  padding-top: 68px;
}

.mist-identity-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 0.58fr);
  gap: 54px;
  align-items: center;
}

.mist-logo-panel,
.mist-small-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(247, 246, 242, 0.2);
  border-radius: 8px;
  background: rgba(247, 246, 242, 0.94);
}

.mist-logo-panel {
  min-height: 390px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.mist-logo-panel img {
  display: block;
  width: min(100%, 320px);
  height: auto;
  border-radius: 6px;
}

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

.flow-card {
  position: relative;
  min-height: 178px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.flow-card:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -13px;
  width: 24px;
  height: 2px;
  background: var(--soft-teal);
  content: "";
}

.flow-card span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  border-radius: 50%;
  background: rgba(79, 138, 139, 0.12);
  color: var(--soft-teal);
  font-size: 0.82rem;
  font-weight: 800;
}

.flow-card h3 {
  font-size: 1.05rem;
}

.mist-output-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 42px;
  align-items: center;
}

.mist-small-logo {
  min-height: 220px;
  padding: 24px;
}

.mist-small-logo img {
  display: block;
  width: 150px;
  height: auto;
  border-radius: 5px;
}

.contact-panel {
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.contact-list div {
  display: grid;
  gap: 3px;
}

.contact-list dt {
  color: var(--blue-grey);
  font-size: 0.82rem;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-list dd {
  margin: 0;
  color: var(--charcoal);
  font-weight: 650;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.footer-legal {
  display: grid;
  gap: 6px;
  max-width: 780px;
}

.footer-legal p {
  font-size: 0.84rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.94rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--charcoal);
}

@media (max-width: 860px) {
  .header-inner,
  .container {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--off-white);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 14px 16px;
  }

  .hero-grid,
  .split-grid,
  .contact-grid,
  .two-column,
  .mist-identity-grid,
  .mist-output-grid {
    grid-template-columns: 1fr;
  }

  .header-page-logo {
    width: 142px;
    margin-right: 52px;
  }

  .card-grid,
  .procurement-grid,
  .flow-grid,
  .signal-card-grid,
  .output-card-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .hero {
    padding: 62px 0;
  }

  .home-artwork-hero {
    padding: 32px 0 54px;
  }

  .hero-artwork-wrap {
    width: min(calc(100% - 24px), 1500px);
  }

  .image-placeholder {
    min-height: 300px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-image-panel,
  .hero-image-panel img {
    min-height: 340px;
  }

  .visual-card {
    max-width: calc(100% - 48px);
  }

  .visual-card-main {
    right: 24px;
    bottom: 24px;
  }

  .visual-card-secondary {
    top: 24px;
    left: 24px;
  }

  .placeholder-note {
    right: 24px;
    bottom: 112px;
    left: 24px;
  }

  .mist-logo-panel {
    min-height: auto;
  }

  .flow-card:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -8px;
    left: 24px;
    width: 2px;
    height: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .header-page-logo {
    width: 112px;
    margin-right: 48px;
  }

  .about-image {
    height: 250px;
  }
  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 70px;
  }

  .site-nav {
    inset: 70px 0 auto 0;
  }

  .brand-caption {
    font-size: 0.7rem;
  }

  .hero-actions,
  .button-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .card,
  .detail-panel,
  .list-panel,
  .contact-panel,
  .procurement-card,
  .flow-card {
    padding: 22px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .home-artwork-hero {
    padding: 22px 0 44px;
  }

  .hero-image-panel,
  .hero-image-panel img {
    min-height: 300px;
  }

  .visual-card-secondary {
    display: none;
  }

  .mist-small-logo {
    min-height: 180px;
  }
}
