:root {
  --ink: #15323a;
  --ink-soft: #557077;
  --navy: #0c3039;
  --navy-deep: #08262e;
  --teal: #008c82;
  --teal-dark: #006f68;
  --mint: #82d7be;
  --mint-pale: #d9f0e8;
  --paper: #f2f8f6;
  --paper-deep: #e3efeb;
  --white: #ffffff;
  --line: rgba(21, 50, 58, 0.14);
  --shadow: 0 28px 70px rgba(8, 38, 46, 0.12);
  --radius-large: 36px;
  --radius-medium: 22px;
  --page-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.home-page {
  background:
    radial-gradient(
      circle at 84% 18%,
      rgba(0, 140, 130, 0.1) 0,
      rgba(0, 140, 130, 0.035) 22%,
      transparent 38%
    ),
    radial-gradient(
      circle at 12% -12%,
      rgba(55, 91, 118, 0.22) 0,
      transparent 30%
    ),
    linear-gradient(138deg, #0b1d2c 0%, #071722 48%, #040d15 100%);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(calc(100% - 64px), var(--page-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  width: min(calc(100% - 64px), var(--page-width));
  min-height: 112px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.home-page .site-header {
  color: rgba(255, 255, 255, 0.92);
}

.home-page .company-area {
  color: var(--mint);
}

.home-page .site-nav a::after {
  background: var(--mint);
}

.company-mark {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
}

.company-name {
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.company-area {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.site-nav a,
.back-link {
  text-decoration: none;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--teal);
  content: "";
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.back-link {
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero {
  display: grid;
  min-height: 680px;
  padding: 70px 0 100px;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  gap: clamp(60px, 8vw, 120px);
}

.home-page .hero {
  color: var(--white);
}

.home-page .hero .eyebrow {
  color: var(--mint);
}

.home-page .hero h1 {
  color: var(--white);
}

.home-page .hero-intro {
  color: rgba(255, 255, 255, 0.72);
}

.home-page .button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.home-page .button-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 12px 28px rgba(3, 24, 30, 0.24);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--mint);
}

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

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  max-width: 810px;
  margin-bottom: 30px;
  font-size: clamp(3.45rem, 6vw, 5.9rem);
  font-weight: 650;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 26px;
  font-size: clamp(2.35rem, 4vw, 4.2rem);
  font-weight: 640;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.hero-intro {
  max-width: 750px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

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

.button-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(0, 140, 130, 0.2);
}

.button-primary:hover {
  background: var(--teal-dark);
}

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

.button-secondary:hover {
  background: var(--white);
  box-shadow: 0 12px 26px rgba(8, 38, 46, 0.08);
}

.hero-statement {
  position: relative;
  display: flex;
  min-height: 500px;
  padding: 54px 24px 42px 58px;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.statement-kicker {
  color: var(--mint);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.statement-main {
  margin: 0;
  color: var(--white);
  font-size: clamp(3.6rem, 6.2vw, 6.2rem);
  font-weight: 560;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.statement-main strong {
  color: #6fe6cb;
  font-weight: 680;
  text-shadow: 0 0 42px rgba(111, 230, 203, 0.18);
}

.statement-flow {
  display: grid;
  height: 50px;
  align-items: center;
  grid-template-columns: auto auto auto 1fr;
  gap: 12px;
}

.statement-flow span {
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
}

.statement-flow span:nth-child(2) {
  background: rgba(255, 255, 255, 0.42);
}

.statement-flow span:nth-child(3) {
  border-color: var(--mint);
  background: var(--mint);
}

.statement-flow i {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), rgba(130, 215, 190, 0.08));
}

.statement-steps {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.origin-section {
  padding: 130px 0;
  background: #f9fcfb;
}

.split-intro {
  display: grid;
  margin-bottom: 70px;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.75fr);
  gap: clamp(60px, 10vw, 160px);
}

.split-intro h2 {
  max-width: 690px;
}

.lead-text {
  align-self: end;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

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

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

.expertise-card {
  min-height: 320px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-medium);
  color: var(--white);
  box-shadow: 0 18px 46px rgba(8, 38, 46, 0.1);
}

.expertise-card:nth-child(1) {
  background:
    radial-gradient(circle at 8% 0%, rgba(0, 140, 130, 0.24), transparent 52%),
    linear-gradient(145deg, #0d3a42 0%, #08262e 74%);
}

.expertise-card:nth-child(2) {
  background:
    radial-gradient(circle at 90% 8%, rgba(130, 215, 190, 0.17), transparent 50%),
    linear-gradient(145deg, #0d3540 0%, #071f28 76%);
}

.expertise-card:nth-child(3) {
  background:
    radial-gradient(circle at 24% 100%, rgba(0, 140, 130, 0.25), transparent 52%),
    linear-gradient(145deg, #0c333c 0%, #061d25 78%);
}

.expertise-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.card-number {
  display: block;
  margin-bottom: 76px;
  color: var(--mint);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.development-section {
  padding: 130px 0;
  background:
    radial-gradient(circle at 88% 20%, rgba(0, 140, 130, 0.2), transparent 34%),
    var(--navy);
  color: var(--white);
}

.development-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.8fr);
  gap: clamp(70px, 11vw, 170px);
}

.development-copy p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.7);
}

.status-pill {
  display: inline-flex;
  margin-top: 22px;
  padding: 8px 14px;
  border: 1px solid rgba(130, 215, 190, 0.36);
  border-radius: 999px;
  color: var(--mint);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.development-panel {
  overflow: hidden;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.045);
}

.panel-row {
  display: grid;
  padding: 28px;
  grid-template-columns: 36px 1fr;
  gap: 20px;
}

.panel-row + .panel-row {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.panel-index {
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
}

.panel-row h3 {
  margin-bottom: 8px;
  color: var(--white);
}

.panel-row p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

.principles-section {
  padding: 130px 0;
  background: var(--paper);
}

.principles-heading {
  max-width: 720px;
  margin-bottom: 68px;
}

.principles-grid {
  display: grid;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.principles-grid article {
  min-height: 245px;
  padding: 34px 30px 20px 0;
}

.principles-grid article + article {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.principles-grid p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.contact-section {
  padding: 0 0 96px;
  background: var(--paper);
}

.contact-card {
  display: grid;
  padding: 70px;
  border-radius: var(--radius-large);
  background:
    linear-gradient(135deg, rgba(0, 140, 130, 0.18), transparent 55%),
    var(--navy-deep);
  color: var(--white);
  box-shadow: var(--shadow);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 70px;
}

.contact-card h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.contact-details {
  align-self: end;
}

.contact-details > p:first-child {
  color: rgba(255, 255, 255, 0.66);
}

.contact-mail {
  display: inline-block;
  margin: 4px 0 30px;
  color: var(--mint);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  font-weight: 700;
}

.contact-address {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
}

.site-footer {
  display: flex;
  width: min(calc(100% - 64px), var(--page-width));
  min-height: 150px;
  margin-inline: auto;
  padding: 38px 0;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid var(--line);
}

.home-page .site-footer {
  background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
  clip-path: inset(0 -100vmax);
}

.site-footer > div {
  display: flex;
  flex-direction: column;
  font-size: 0.76rem;
}

.site-footer strong {
  margin-bottom: 2px;
}

.site-footer span {
  color: var(--ink-soft);
}

.site-footer nav {
  display: flex;
  gap: 24px;
  font-size: 0.78rem;
  font-weight: 700;
}

.site-footer a[aria-current="page"] {
  color: var(--teal-dark);
}

.legal-main {
  max-width: 980px;
  padding: 80px 0 120px;
}

.legal-main h1 {
  margin-bottom: 64px;
  font-size: clamp(3.4rem, 7vw, 6rem);
}

.legal-main h2 {
  margin-bottom: 14px;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}

.legal-grid {
  display: grid;
  margin-bottom: 70px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.legal-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
}

.legal-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.legal-intro {
  max-width: 760px;
  margin: -32px 0 70px;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.draft-notice {
  max-width: 800px;
  margin: -30px 0 60px;
  padding: 18px 20px;
  border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0;
  background: var(--mint-pale);
  color: var(--ink);
  font-size: 0.9rem;
}

.legal-text-section {
  max-width: 800px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.legal-text-section p {
  color: var(--ink-soft);
}

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

.legal-date {
  margin-top: 50px;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

@media (max-width: 1060px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 860px;
  }

  .hero-statement {
    min-height: 460px;
    padding-left: 44px;
  }

  .split-intro,
  .development-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

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

  .principles-grid article:nth-child(3) {
    border-left: 0;
  }

  .principles-grid article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .section-shell,
  .site-header,
  .site-footer {
    width: min(calc(100% - 36px), var(--page-width));
  }

  .site-header {
    min-height: 94px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding: 46px 0 74px;
    gap: 50px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2.2rem, 10vw, 3.3rem);
  }

  .hero-statement {
    min-height: 430px;
    padding: 40px 28px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
  }

  .origin-section,
  .development-section,
  .principles-section {
    padding: 88px 0;
  }

  .split-intro {
    margin-bottom: 48px;
    gap: 18px;
  }

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

  .expertise-card {
    min-height: 260px;
  }

  .card-number {
    margin-bottom: 48px;
  }

  .development-layout {
    gap: 54px;
  }

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

  .principles-grid article,
  .principles-grid article + article {
    min-height: auto;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact-section {
    padding-bottom: 70px;
  }

  .contact-card {
    width: 100%;
    padding: 54px 24px;
    border-radius: 0;
    gap: 50px;
  }

  .site-footer {
    min-height: 180px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
  }

  .legal-main {
    padding: 58px 0 88px;
  }

  .legal-main h1 {
    margin-bottom: 44px;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
