:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #596575;
  --line: #d9e0e8;
  --paper: #f7f9fb;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --coral: #d65f4a;
  --gold: #c48a1b;
  --shadow: 0 18px 50px rgba(23, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(247, 249, 251, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(48px, 8vw, 96px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

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

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

h1 {
  max-width: 10ch;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
}

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

.button.secondary {
  background: transparent;
  color: var(--teal-dark);
}

.model-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(23, 33, 43, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 33, 43, 0.05) 1px, transparent 1px),
    linear-gradient(145deg, #ffffff 0%, #e8f4f2 100%);
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: var(--shadow);
}

.cube,
.axis {
  position: absolute;
  display: block;
}

.cube {
  transform: rotate(45deg) skew(-12deg, -12deg);
  border: 2px solid rgba(23, 33, 43, 0.3);
  box-shadow: 18px 18px 0 rgba(23, 33, 43, 0.08);
}

.cube-one {
  width: 148px;
  height: 148px;
  left: 18%;
  top: 23%;
  background: rgba(15, 118, 110, 0.9);
}

.cube-two {
  width: 96px;
  height: 96px;
  right: 18%;
  top: 18%;
  background: rgba(214, 95, 74, 0.9);
}

.cube-three {
  width: 118px;
  height: 118px;
  right: 24%;
  bottom: 16%;
  background: rgba(196, 138, 27, 0.9);
}

.axis {
  left: 16%;
  bottom: 18%;
  width: 62%;
  height: 3px;
  transform-origin: left center;
  background: rgba(23, 33, 43, 0.35);
}

.axis-x {
  transform: rotate(0deg);
}

.axis-y {
  transform: rotate(-42deg);
}

.axis-z {
  transform: rotate(-90deg);
}

.section {
  padding: clamp(48px, 8vw, 84px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

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

.identity-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
}

.identity-list div,
.service-grid article,
.contact-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.identity-list div {
  min-height: 112px;
  padding: 18px;
}

dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

dd {
  margin: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

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

.service-grid article {
  padding: 22px;
}

.service-grid p,
.contact-section p,
.legal p {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 30px;
  align-items: start;
}

.contact-box {
  padding: 24px;
}

.contact-label {
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.contact-box a {
  color: var(--teal-dark);
  font-size: 1.25rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.legal {
  max-width: 820px;
  padding: clamp(48px, 8vw, 84px) clamp(18px, 4vw, 56px);
}

.legal h1 {
  max-width: 14ch;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
}

.legal h2 {
  margin-top: 36px;
  font-size: 1.4rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  font-size: 0.95rem;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--teal-dark);
  font-weight: 700;
}

@media (max-width: 820px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .model-visual {
    min-height: 320px;
  }

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

@media (max-width: 480px) {
  .brand small {
    display: none;
  }

  h1 {
    font-size: 3.2rem;
  }

  .button {
    width: 100%;
  }
}
