:root {
  color-scheme: light;
  --bg: #f7fbf8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #15201d;
  --muted: #65736f;
  --line: rgba(35, 54, 48, 0.14);
  --green: #35bb7c;
  --green-dark: #1f7f5c;
  --teal: #157c8f;
  --ink: #0d1818;
  --warm: #eee8dc;
  --shadow: 0 20px 60px rgba(13, 24, 24, 0.12);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 112px;
  scroll-behavior: smooth;
}

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

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

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

.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: 28px;
  width: min(var(--max), calc(100% - 40px));
  min-height: 72px;
  margin: 18px auto 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(247, 251, 248, 0.86);
  box-shadow: 0 16px 48px rgba(13, 24, 24, 0.08);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 178px;
  height: auto;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:hover {
  background: rgba(53, 187, 124, 0.12);
  color: var(--ink);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 148px 20px 92px;
  background:
    linear-gradient(90deg, rgba(247, 251, 248, 0.96), rgba(247, 251, 248, 0.82) 54%, rgba(238, 232, 220, 0.66)),
    #f6faf7;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(21, 124, 143, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 124, 143, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}

.material-strip {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 19vw;
  min-width: 190px;
  border-left: 1px solid rgba(255, 255, 255, 0.52);
  border-right: 1px solid rgba(13, 24, 24, 0.08);
  transform: skewX(-9deg);
  transform-origin: top;
}

.material-strip-a {
  right: 9vw;
  background:
    linear-gradient(180deg, rgba(53, 187, 124, 0.18), rgba(21, 124, 143, 0.08)),
    rgba(255, 255, 255, 0.44);
}

.material-strip-b {
  right: -7vw;
  background:
    linear-gradient(180deg, rgba(238, 232, 220, 0.58), rgba(53, 187, 124, 0.08)),
    rgba(255, 255, 255, 0.3);
}

.hero-content {
  position: relative;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

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

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

h1 {
  max-width: 850px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(48px, 9vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
}

.primary-action {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(53, 187, 124, 0.26);
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

.section {
  padding: 96px 20px;
}

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

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 64px;
  align-items: start;
}

.section p {
  color: var(--muted);
  font-size: 19px;
}

.identity-band {
  background: #ffffff;
}

.facts {
  display: grid;
  gap: 12px;
  margin: 0;
}

.official-stack {
  display: grid;
  gap: 14px;
}

.facts div,
.contact-card,
.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 42px rgba(13, 24, 24, 0.07);
}

.facts div {
  padding: 18px 20px;
}

.facts .registry-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.facts .registry-row div {
  min-height: 98px;
}

.facts .registry-row dd {
  font-size: 14px;
  white-space: nowrap;
}

.facts dt {
  margin-bottom: 6px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.motto-section {
  background:
    linear-gradient(90deg, rgba(53, 187, 124, 0.08), transparent 58%),
    var(--warm);
}

.motto-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 72px;
  align-items: start;
}

.motto-copy {
  display: grid;
  gap: 18px;
}

.motto-copy p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

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

.service-card {
  min-height: 260px;
  padding: 24px;
}

.service-index {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.service-card p {
  font-size: 16px;
}

.visual-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.showcase-panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
  min-height: 406px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: 0 14px 42px rgba(13, 24, 24, 0.06);
}

.showcase-panel h3 {
  margin-bottom: 10px;
}

.showcase-panel p {
  margin-bottom: 0;
  font-size: 16px;
}

.reference-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: #dfe7e3;
}

.reference-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-media span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 9px;
  border-radius: 6px;
  background: rgba(13, 24, 24, 0.72);
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.partners-section {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(53, 187, 124, 0.08)),
    var(--bg);
}

.partners-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 56px;
  align-items: start;
}

.partners-copy {
  position: sticky;
  top: 128px;
}

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

.brand-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 8px 16px;
  align-items: center;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 40px rgba(13, 24, 24, 0.06);
}

.brand-card-wide {
  grid-column: 1 / -1;
}

.brand-card strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.brand-card span:last-child {
  grid-column: 2;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.brand-logo-frame {
  grid-row: span 2;
  display: grid;
  align-items: center;
  justify-items: center;
  width: 132px;
  min-height: 58px;
  overflow: hidden;
  border: 1px solid rgba(21, 124, 143, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.brand-logo-frame img {
  max-width: 104px;
  max-height: 42px;
  object-fit: contain;
}

.muted-section {
  background:
    linear-gradient(90deg, rgba(21, 124, 143, 0.08), transparent 54%),
    var(--warm);
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
}

.principles ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.principles li {
  padding: 14px 0 14px 28px;
  border-top: 1px solid rgba(13, 24, 24, 0.14);
  color: var(--ink);
  font-weight: 750;
}

.principles li::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  margin: 8px 0 0 -28px;
  border-radius: 50%;
  background: var(--green);
}

.contact-section {
  background: #ffffff;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 28px;
  font-style: normal;
}

.contact-card strong {
  margin-bottom: 8px;
  font-size: 23px;
}

.contact-card span,
.contact-card a {
  color: var(--muted);
  font-size: 18px;
}

.contact-card .contact-meta {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.contact-card a {
  width: fit-content;
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  padding: 38px 20px 44px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  width: min(var(--max), 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0 auto;
}

.footer-inner img {
  width: 178px;
}

.footer-copy {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.footer-copy p {
  max-width: 620px;
  margin: 0;
  font-size: 14px;
  text-align: right;
}

.footer-link {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.legal-dialog {
  width: min(920px, calc(100% - 32px));
  max-height: min(820px, calc(100svh - 32px));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: 0 30px 90px rgba(13, 24, 24, 0.28);
}

.legal-dialog::backdrop {
  background: rgba(3, 7, 7, 0.58);
  backdrop-filter: blur(4px);
}

.legal-dialog-inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: inherit;
}

.legal-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px 22px;
  border-bottom: 1px solid var(--line);
}

.legal-dialog-header h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 44px);
}

.legal-dialog-header p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 750;
}

.dialog-close {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.legal-content {
  display: grid;
  gap: 28px;
  padding: 28px 30px 34px;
  overflow: auto;
}

.legal-content section {
  display: grid;
  gap: 12px;
}

.legal-content h3 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 22px;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 16px;
}

.legal-content p {
  margin: 0;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.legal-content a {
  color: var(--teal);
  font-weight: 850;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #07100f;
    --surface: rgba(18, 31, 29, 0.78);
    --surface-strong: #111e1c;
    --text: #eff7f3;
    --muted: #9dadab;
    --line: rgba(238, 247, 243, 0.14);
    --ink: #f5fbf8;
    --warm: #111817;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  }

  .site-header {
    background: rgba(7, 16, 15, 0.84);
  }

  .hero {
    background:
      linear-gradient(90deg, rgba(7, 16, 15, 0.96), rgba(7, 16, 15, 0.86) 56%, rgba(25, 37, 34, 0.82)),
      #07100f;
  }

  .identity-band,
  .contact-section {
    background: #0d1817;
  }

  .secondary-action {
    background: rgba(18, 31, 29, 0.62);
  }

  .facts div,
  .contact-card,
  .service-card,
  .showcase-panel,
  .brand-card {
    background: rgba(18, 31, 29, 0.72);
  }

  .facts .registry-row {
    background: transparent;
  }

  .partners-section {
    background:
      linear-gradient(135deg, rgba(21, 124, 143, 0.12), rgba(53, 187, 124, 0.05)),
      var(--bg);
  }

  .brand-logo-frame {
    border-color: rgba(238, 247, 243, 0.14);
  }

  .brand-logo-frame {
    background: rgba(255, 255, 255, 0.9);
  }

  .site-footer {
    background: #030707;
  }
}

@media (max-width: 940px) {
  .site-header {
    width: min(100% - 24px, var(--max));
    min-height: 64px;
    margin-top: 12px;
  }

  .brand img {
    width: 148px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-strong);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    justify-content: center;
  }

  .hero {
    min-height: 86svh;
    padding-top: 126px;
  }

  .two-column,
  .motto-layout,
  .split-feature,
  .partners-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .partners-copy {
    position: static;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-panel {
    min-height: auto;
  }

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

  .footer-copy {
    justify-items: start;
  }

  .footer-copy p {
    text-align: left;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 50px;
  }

  .hero-copy {
    font-size: 20px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .section {
    padding: 72px 20px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .brand-board {
    grid-template-columns: 1fr;
  }

  .visual-showcase,
  .facts .registry-row {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-index {
    margin-bottom: 28px;
  }

  .material-strip {
    min-width: 140px;
  }

  .legal-dialog-header {
    flex-direction: column;
    gap: 14px;
    padding: 24px 20px 18px;
  }

  .legal-content {
    padding: 22px 20px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
