:root {
  --bg: #eef2f8;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --text: #0d1321;
  --muted: #56627a;
  --line: rgba(13, 19, 33, 0.1);
  --red: #e2232a;
  --red-deep: #b81523;
  --blue: #4f79e8;
  --blue-deep: #22355f;
  --teal: #0f766e;
  --navy: #111827;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius: 0;
  --radius-sm: 0;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Public Sans", "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(238, 242, 248, 0.96)),
    radial-gradient(circle at top left, rgba(79, 121, 232, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(226, 35, 42, 0.08), transparent 24%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
}

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

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.narrow {
  width: min(calc(100% - 2rem), 820px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(20, 42, 88, 0.96) 0%, rgba(16, 34, 72, 0.94) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  text-decoration: none;
}

.brand-dot {
  width: 10px;
  height: 10px;
  background: var(--red);
}

.brand-wordmark {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 1px;
  background: rgba(226, 35, 42, 0.9);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a.active,
.site-nav a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.82rem 1.3rem;
  border: 0;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(226, 35, 42, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(226, 35, 42, 0.18);
}

.button-small {
  min-height: 40px;
  padding: 0.7rem 1rem;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button-header {
  background: var(--navy);
  color: #fff;
  box-shadow: none;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.site-nav .button-header,
.site-nav .button-header:visited {
  color: #fff;
}

.button-header:hover,
.button-header:focus-visible {
  color: #fff;
  background: #121d33;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15, 24, 46, 0.18);
}

.hero,
.page-hero {
  padding: 3.5rem 0 1.5rem;
}

.page-hero {
  background: linear-gradient(180deg, #132746 0%, #10213d 100%);
}

.page-hero .narrow {
  width: min(calc(100% - 2rem), 1120px);
}

.hero {
  position: relative;
  overflow: clip;
  padding: 4rem 0 2.2rem;
  background: linear-gradient(180deg, #16233b 0%, #1c2f52 100%);
}

.hero::before {
  content: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  align-items: stretch;
  position: relative;
}

.hero-copy,
.hero-panel,
.section-heading,
.split-grid > div,
.cta-banner {
  position: relative;
  z-index: 1;
}

.hero-copy {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-panel {
  display: flex;
  align-items: stretch;
}

.hero .hero-panel {
  height: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

h1,
h2,
h3 {
  font-family: "Public Sans", "Segoe UI", sans-serif;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 4rem);
  max-width: 9ch;
  margin-bottom: 1rem;
}

.hero h1,
.hero .hero-text {
  color: #f8fbff;
}

.page-hero h1 {
  max-width: 22ch;
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  line-height: 1.1;
  color: #f8fbff;
}

.hero-text,
.page-hero p:last-child {
  max-width: 56ch;
  font-size: 0.96rem;
  color: var(--muted);
}

.page-hero p:last-child {
  max-width: 68ch;
  color: rgba(244, 248, 255, 0.78);
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.4rem 0 1.8rem;
}

.hero-panel,
.info-panel,
.contact-card,
.form-card,
.cta-banner,
.article-container,
.project-card,
.blog-card,
.ecosystem-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.ecosystem-card {
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.ecosystem-stack {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 0.9rem;
  flex: 1;
  min-height: 100%;
}

.project-chip {
  padding: 1.3rem 1.25rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 122px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.project-chip::after {
  content: none;
}

.project-chip h2,
.project-chip p {
  position: relative;
  z-index: 1;
}

.project-chip h2 {
  margin-bottom: 0.28rem;
  font-size: 1.34rem;
}

.project-chip p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.84);
}

.chip-brand,
.chip-social,
.chip-chat,
.chip-desk {
  box-shadow: 0 22px 44px rgba(7, 16, 31, 0.22);
}

.project-chip:hover,
.project-chip:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 28px 52px rgba(7, 16, 31, 0.3);
  filter: saturate(1.06) brightness(1.03);
}

.chip-brand:hover,
.chip-brand:focus-within {
  border-color: rgba(255, 145, 152, 0.42);
}

.chip-social:hover,
.chip-social:focus-within {
  border-color: rgba(122, 155, 221, 0.42);
}

.chip-chat:hover,
.chip-chat:focus-within {
  border-color: rgba(120, 209, 206, 0.38);
}

.chip-desk:hover,
.chip-desk:focus-within {
  border-color: rgba(72, 162, 118, 0.42);
}

.chip-brand {
  background:
    linear-gradient(135deg, rgba(193, 27, 36, 0.92), rgba(235, 42, 53, 0.88)),
    url("https://images.pexels.com/photos/3944454/pexels-photo-3944454.jpeg?auto=compress&cs=tinysrgb&w=1200") center/cover no-repeat;
  border-color: rgba(255, 110, 119, 0.24);
  color: #ffffff;
}

.chip-brand p {
  color: rgba(255, 255, 255, 0.82);
}

.chip-social {
  background:
    linear-gradient(135deg, rgba(24, 40, 78, 0.94), rgba(31, 56, 106, 0.9)),
    url("https://images.pexels.com/photos/1181406/pexels-photo-1181406.jpeg?auto=compress&cs=tinysrgb&w=1200") center/cover no-repeat;
  border-color: rgba(89, 124, 196, 0.24);
  color: #f6f9ff;
}

.chip-social p {
  color: rgba(246, 249, 255, 0.8);
}

.chip-chat {
  background:
    linear-gradient(135deg, rgba(20, 86, 88, 0.92), rgba(14, 62, 73, 0.9)),
    url("https://images.pexels.com/photos/3184465/pexels-photo-3184465.jpeg?auto=compress&cs=tinysrgb&w=1200") center/cover no-repeat;
  border-color: rgba(85, 186, 183, 0.18);
  color: #f2feff;
}

.chip-chat p {
  color: rgba(242, 254, 255, 0.78);
}

.chip-desk {
  background:
    linear-gradient(135deg, rgba(17, 64, 46, 0.92), rgba(11, 44, 31, 0.92)),
    url("https://images.pexels.com/photos/3184292/pexels-photo-3184292.jpeg?auto=compress&cs=tinysrgb&w=1200") center/cover no-repeat;
  border-color: rgba(43, 130, 92, 0.24);
  color: #effcf6;
}

.chip-desk p {
  color: rgba(239, 252, 246, 0.8);
}

.section {
  padding: 1.5rem 0 3.4rem;
}

.hero + .section {
  padding-top: 2.8rem;
  padding-bottom: 4rem;
  background: linear-gradient(180deg, #dbe4f0 0%, #e9eff6 100%);
}

.hero + .section .section-heading h2,
.hero + .section .section-heading p,
.hero + .section .project-card h3,
.hero + .section .project-card p,
.hero + .section .project-card span {
  color: #20324d;
}

.hero + .section .section-heading {
  max-width: 720px;
  margin-bottom: 1.4rem;
}

.hero + .section .section-heading p:last-child {
  color: rgba(32, 50, 77, 0.68);
}

.hero + .section .eyebrow {
  color: rgba(32, 50, 77, 0.64);
}

.section-muted {
  position: relative;
  padding: 3.2rem 0 4.6rem;
  background: linear-gradient(180deg, #eef2e8 0%, #e5ebdf 100%);
}

.section-muted::before {
  content: none;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.split-grid h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.3rem);
  margin-bottom: 0.7rem;
}

.section-heading p:last-child,
.split-grid p {
  color: var(--muted);
  font-size: 0.94rem;
}

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

.section-muted .section-heading {
  max-width: 760px;
  margin-bottom: 3.35rem;
}

.section-muted .section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  margin-bottom: 0.95rem;
}

.section-muted .eyebrow {
  margin-bottom: 1rem;
}

.section-muted .section-heading p:last-child {
  max-width: 58ch;
  font-size: 0.96rem;
  line-height: 1.75;
}

.section-muted .blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.1rem;
}

.project-card,
.blog-card {
  padding: 1.1rem;
}

.blog-card {
  min-height: 100%;
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(32, 50, 77, 0.1);
  box-shadow: 0 20px 42px rgba(27, 41, 64, 0.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog-card:hover,
.blog-card:focus-within {
  box-shadow: 0 20px 42px rgba(27, 41, 64, 0.07);
  border-color: rgba(32, 50, 77, 0.1);
}

.project-card span {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card h3,
.project-card h2,
.blog-card h2,
.blog-card h3 {
  font-size: 1.08rem;
  margin-bottom: 1.35rem;
  line-height: 1.22;
}

.project-card p,
.blog-card p:not(.meta-line) {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.8;
}

.accent-red,
.accent-blue,
.accent-chat,
.accent-light {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(32, 50, 77, 0.12);
  box-shadow: 0 10px 24px rgba(21, 37, 63, 0.04);
  backdrop-filter: none;
}

.split-grid,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.section-split {
  padding: 3.8rem 0 4.5rem;
  background: linear-gradient(180deg, #edf2f8 0%, #e8eef6 100%);
}

.section-split .split-grid {
  gap: 2.1rem;
  align-items: stretch;
}

.split-copy-card {
  padding: 2.2rem 2.25rem 2.3rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 253, 0.94));
  border: 1px solid rgba(32, 50, 77, 0.08);
  box-shadow: 0 18px 40px rgba(18, 31, 51, 0.05);
}

.split-copy-card h2 {
  max-width: 11ch;
  margin-bottom: 1rem;
}

.split-copy-card .split-lead {
  max-width: 58ch;
  margin-bottom: 1.35rem;
  font-size: 0.99rem;
  line-height: 1.82;
}

.split-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  margin-bottom: 1.35rem;
}

.split-feature {
  padding: 1rem 1rem 1.05rem;
  background: rgba(227, 234, 244, 0.52);
  border: 1px solid rgba(32, 50, 77, 0.08);
}

.split-feature strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.94rem;
  line-height: 1.35;
  color: #17263f;
}

.split-feature p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.72;
  color: var(--muted);
}

.check-list-compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.1rem;
}

.check-list-compact li {
  margin-bottom: 0;
}

.page-about .page-hero h1 {
  max-width: 24ch;
}

.page-about .page-hero p:last-child {
  max-width: 64ch;
}

.about-intro-section {
  padding: 3.9rem 0 4.6rem;
  background: #f7f9fc;
}

.about-intro-grid {
  gap: 2rem;
  align-items: stretch;
}

.about-copy-card,
.about-priority-card,
.about-column-card {
  border: 1px solid rgba(32, 50, 77, 0.08);
  box-shadow: 0 18px 42px rgba(19, 31, 51, 0.05);
}

.about-copy-card {
  padding: 2.15rem 2.2rem 2.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.96));
}

.about-priority-card {
  padding: 2rem 2.1rem 2.15rem;
  background: rgba(255, 255, 255, 0.94);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.95rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(32, 50, 77, 0.64);
}

.about-copy-card h2,
.about-priority-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.12;
  color: #15233a;
}

.about-priority-card h3 {
  font-size: 1.55rem;
}

.about-copy-card p,
.about-priority-card li,
.about-operations-heading p,
.about-column-card p {
  font-size: 0.98rem;
  line-height: 1.82;
}

.about-copy-card p + p,
.about-column-card p + p {
  margin-top: 1.05rem;
}

.about-priority-card .check-list {
  margin-top: 1.15rem;
}

.about-priority-card .check-list li {
  margin-bottom: 0.95rem;
  padding-left: 1.2rem;
}

.about-operations-section {
  padding: 4.4rem 0 4.9rem;
}

.about-operations-heading {
  max-width: 900px;
  margin-bottom: 2.8rem;
}

.about-operations-heading h2 {
  max-width: 18ch;
}

.about-operations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.9rem;
}

.about-column-card {
  padding: 2rem 2.05rem 2.15rem;
  background: rgba(255, 255, 255, 0.5);
}

.info-panel,
.contact-card,
.form-card,
.article-container,
.cta-banner {
  padding: 1.3rem;
}

.info-panel {
  background: rgba(255, 255, 255, 0.78);
}

.info-panel-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.45rem 1.35rem 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(32, 50, 77, 0.08);
  box-shadow: 0 18px 40px rgba(18, 31, 51, 0.05);
}

.accordion-list {
  display: grid;
  gap: 0.75rem;
}

.accordion-item {
  border: 1px solid rgba(32, 50, 77, 0.12);
  background: rgba(255, 255, 255, 0.72);
}

.accordion-item summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1rem;
  font-weight: 700;
  color: #20324d;
  position: relative;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(32, 50, 77, 0.7);
  font-size: 1rem;
  font-weight: 700;
}

.accordion-item[open] summary::after {
  content: "-";
}

.accordion-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.check-list,
.footer-list,
.contact-list {
  padding: 0;
  list-style: none;
  margin: 0;
}

.check-list li,
.footer-list li,
.contact-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
}

.check-list li::before,
.footer-list li::before,
.contact-list li::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--red);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.badge-row span {
  padding: 0.42rem 0.62rem;
  background: rgba(79, 121, 232, 0.08);
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 0.84rem;
}

.meta-line {
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.meta-line-rich {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(32, 50, 77, 0.1);
}

.meta-line-rich span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(86, 98, 122, 0.88);
}

.meta-line-rich span:not(:last-child)::after {
  content: "•";
  margin-left: 0.45rem;
  color: rgba(86, 98, 122, 0.65);
}

.meta-line span {
  margin: 0 0.24rem;
}

.blog-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  height: 190px;
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card:hover .blog-card-media img {
  transform: none;
}

.blog-card-body {
  flex: 1;
  display: grid;
  grid-template-rows: auto auto minmax(152px, 1fr) auto;
  align-content: start;
  row-gap: 1.08rem;
  padding: 1.55rem 1.55rem 1.7rem;
}

.blog-card-excerpt {
  min-height: 152px;
  margin: 0;
}

.text-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 2.1rem;
  font-weight: 800;
  color: var(--red);
  font-size: 0.88rem;
}

.meta-line-rich span:not(:last-child)::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: 0.55rem;
  background: rgba(226, 35, 42, 0.88);
}

.blog-card .text-link {
  margin-top: 0;
  padding: 0.92rem 1.18rem;
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #e53939 0%, #c92525 100%);
  border: 1px solid rgba(153, 22, 22, 0.28);
  box-shadow: 0 10px 24px rgba(201, 37, 37, 0.16);
  align-self: flex-start;
}

.blog-card .text-link:hover,
.blog-card .text-link:focus-visible {
  color: #fff;
  background: linear-gradient(180deg, #d33131 0%, #b81f1f 100%);
  box-shadow: 0 10px 24px rgba(201, 37, 37, 0.16);
}

.section-muted .blog-card h3 {
  margin-bottom: 0.2rem;
  font-size: 1.22rem;
  line-height: 1.24;
}

.section-muted .blog-card p:not(.meta-line):not(.meta-line-rich) {
  font-size: 0.95rem;
  line-height: 1.82;
}

.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.84)),
    url("https://images.pexels.com/photos/3184416/pexels-photo-3184416.jpeg?auto=compress&cs=tinysrgb&w=1200") right center/320px auto no-repeat;
}

.contact-layout {
  align-items: stretch;
}

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

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(13, 19, 33, 0.12);
  padding: 0.82rem 0.9rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(79, 121, 232, 0.16);
  border-color: rgba(79, 121, 232, 0.5);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
}

.form-message,
.flash {
  padding: 1rem 0;
}

.form-note {
  margin: 0 0 0.35rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.required-mark {
  color: var(--red);
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.1rem;
  font-weight: 500;
  line-height: 1.65;
  color: #20324d;
}

.consent-check input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 0.2rem;
}

.form-error p,
.flash .container {
  margin-bottom: 0.5rem;
}

.form-error,
.flash-error .container {
  color: #8d1a25;
}

.flash-success .container {
  color: #11633d;
}

.flash {
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(13, 19, 33, 0.08);
}

.article {
  padding: 2rem 0 4rem;
}

.page-blog .section {
  padding: 2.4rem 0 4.8rem;
}

.page-blog .blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.page-blog .blog-card {
  height: 100%;
  min-height: 610px;
}

.page-blog .page-main .container {
  width: min(calc(100% - 2rem), 1220px);
}

.page-services .section {
  padding: 2.4rem 0 5rem;
}

.page-services .project-grid {
  gap: 1.5rem;
}

.page-services .project-card {
  padding: 1.6rem 1.5rem 1.4rem;
}

.page-services .section-muted {
  padding: 4.8rem 0 5.8rem;
}

.page-services .split-grid {
  gap: 2.6rem;
  align-items: start;
}

.page-services .split-grid > div:first-child {
  padding-right: 1.2rem;
}

.page-services .split-grid h2 {
  margin-bottom: 1.2rem;
}

.page-services .split-grid p {
  margin-bottom: 1.2rem;
  line-height: 1.9;
}

.page-services .info-panel {
  padding: 2rem 2rem 1.8rem;
}

.page-services .info-panel h3 {
  margin-bottom: 1.35rem;
}

.page-services .check-list li {
  margin-bottom: 0.95rem;
}

.article-container {
  width: min(calc(100% - 2rem), 960px);
}

.article-container h1 {
  max-width: 100%;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  margin-bottom: 1.2rem;
}

.article-lead {
  max-width: 62ch;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1.8rem;
}

.article-cover {
  margin: 0 0 2rem;
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 8.6;
  object-fit: cover;
  display: block;
}

.prose p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.95;
  margin-bottom: 1.35rem;
}

.article-section + .article-section {
  margin-top: 2rem;
}

.article-section h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.18;
  color: #14233c;
}

.page-legal .page-hero h1 {
  max-width: 18ch;
}

.page-legal .page-hero p:last-child {
  max-width: 62ch;
}

.legal-section {
  padding: 4rem 0 5.2rem;
  background: linear-gradient(180deg, #f5f8fc 0%, #eef3f9 100%);
}

.legal-container {
  width: min(calc(100% - 2rem), 1120px);
}

.legal-card {
  padding: 2.4rem 2.45rem 2.55rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(32, 50, 77, 0.08);
  box-shadow: 0 18px 42px rgba(19, 31, 51, 0.05);
}

.legal-intro {
  max-width: 72ch;
  margin-bottom: 2rem;
}

.legal-intro h2 {
  margin-bottom: 0.95rem;
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  line-height: 1.14;
}

.legal-intro p,
.legal-block p,
.legal-note p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted);
}

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

.legal-block,
.legal-note {
  padding: 1.4rem 1.45rem 1.5rem;
  background: rgba(244, 247, 252, 0.9);
  border: 1px solid rgba(32, 50, 77, 0.08);
}

.legal-block h3,
.legal-note h3 {
  margin-bottom: 0.7rem;
  font-size: 1.06rem;
  line-height: 1.35;
  color: #15233a;
}

.legal-note {
  margin-top: 1.25rem;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  padding: 0 0 1rem;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem 1.15rem;
  background: rgba(16, 34, 72, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(8, 18, 38, 0.24);
}

.cookie-banner-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
  line-height: 1.75;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-shrink: 0;
}

.cookie-banner-button {
  min-width: 126px;
}

.cookie-banner-link {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 700;
}

.cookie-banner-link:hover,
.cookie-banner-link:focus-visible {
  color: #ffffff;
}

.site-footer {
  padding: 4.5rem 0 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(20, 42, 88, 0.98) 0%, rgba(12, 26, 55, 1) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-grid h3 {
  margin: 0 0 1.15rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.96);
}

.footer-brand {
  max-width: 360px;
}

.footer-kicker {
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.footer-wordmark {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-decoration: none;
}

.footer-wordmark:hover {
  color: #ffffff;
}

.footer-lead,
.footer-bottom,
.footer-list li {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.footer-lead {
  margin: 0;
  max-width: 32ch;
  line-height: 1.9;
}

.footer-column {
  padding-top: 0.4rem;
}

.footer-list li a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-list li a:hover {
  color: #ffffff;
}

.footer-list li::before {
  background: #e33a3a;
}

.page-contact .contact-layout {
  gap: 1.4rem;
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.page-contact .section {
  padding: 3.6rem 0 5.2rem;
}

.page-contact .contact-card,
.page-contact .form-card {
  align-self: stretch;
  height: 100%;
  padding: 1.85rem;
}

.page-contact .contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-contact .contact-card > div:first-child {
  margin-bottom: 2rem;
}

.page-contact .form-card {
  display: flex;
  flex-direction: column;
}

.page-contact .form-card form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-contact .contact-list li {
  color: #20324d;
  font-size: 0.96rem;
  line-height: 1.85;
  margin-bottom: 0.9rem;
}

.page-contact .contact-list li::before {
  background: #e33a3a;
}

.page-contact .contact-list a {
  color: #20324d;
}

.page-contact .contact-list strong {
  color: #111827;
}

.page-contact .contact-about {
  padding-top: 1.6rem;
  border-top: 1px solid rgba(32, 50, 77, 0.1);
}

.page-contact .contact-about h3 {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-contact .contact-about p {
  margin: 0;
  color: #50627f;
  font-size: 0.96rem;
  line-height: 1.9;
}

.page-contact .form-card .button {
  width: 100%;
  border: 0;
  box-shadow: 0 12px 26px rgba(201, 37, 37, 0.18);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-note {
  text-align: right;
}

.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;
}

@media (max-width: 1100px) {
  .hero-grid,
  .project-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .header-inner {
    min-height: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(13, 19, 33, 0.08);
  }

  .site-nav a {
    color: #20324d;
    padding: 0.55rem 0;
    transform: none;
  }

  .site-nav a::after {
    bottom: 0.1rem;
    background: rgba(226, 35, 42, 0.9);
  }

  .site-nav a.active,
  .site-nav a:hover {
    color: #0d1321;
    transform: none;
  }

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

  .hero,
  .page-hero {
    padding-top: 2.5rem;
  }

  .hero-grid,
  .project-grid,
  .blog-grid,
  .split-grid,
  .contact-layout,
  .form-grid,
  .two-column-list,
  .legal-grid,
  .footer-grid,
  .cta-banner {
    grid-template-columns: 1fr;
  }

  .page-blog .blog-grid {
    grid-template-columns: 1fr;
  }

  .split-feature-grid,
  .check-list-compact {
    grid-template-columns: 1fr;
  }

  .legal-card {
    padding: 1.8rem 1.25rem 1.95rem;
  }

  .cookie-banner {
    padding: 0 0 0.75rem;
  }

  .cookie-banner-inner,
  .cookie-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-button,
  .cookie-banner-link {
    width: 100%;
    text-align: center;
  }

  .page-blog .blog-card {
    height: auto;
  }

  .site-footer {
    padding: 3.4rem 0 1.2rem;
  }

  .footer-grid {
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    margin-top: 2rem;
  }

  .footer-bottom-note {
    text-align: left;
  }

  .hero {
    padding: 2.8rem 0 1.8rem;
  }

  .hero-panel {
    align-items: stretch;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .page-hero h1 {
    max-width: 18ch;
  }

  .hero-text,
  .page-hero p:last-child {
    font-size: 0.94rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .button-secondary {
    width: 100%;
  }

  .project-chip h2 {
    font-size: 1.08rem;
  }

  .section {
    padding: 1.2rem 0 2.6rem;
  }

  .page-services .section {
    padding: 1.8rem 0 3.4rem;
  }

  .section-muted {
    padding: 3rem 0 3.8rem;
  }

  .page-services .section-muted {
    padding: 3.4rem 0 4.2rem;
  }

  .section-muted .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .hero + .section {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .cta-banner {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.92)),
      url("https://images.pexels.com/photos/3184416/pexels-photo-3184416.jpeg?auto=compress&cs=tinysrgb&w=1200") center bottom/cover no-repeat;
  }

  .page-services .project-grid {
    gap: 1.2rem;
  }

  .page-services .project-card,
  .page-services .info-panel {
    padding: 1.35rem;
  }

  .blog-card-body {
    padding: 1.35rem;
  }

  .page-services .split-grid > div:first-child {
    padding-right: 0;
  }
}
