:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #eeede8;
  background: #1b1c1e;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  --muted: #b0b0b2;
  --border: #3b3d3f;
  --accent: #df756d;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.page { width: min(100% - 96px, 1160px); margin-inline: auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 20px 24px;
}
.logo { display: block; width: 232px; height: auto; }
nav { display: flex; gap: 32px; }
nav a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 13px; }
nav span { color: var(--accent); }

.section-label,
.footer-label {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.introduction {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 48px;
  padding-block: 32px;
  border-block: 1px solid var(--border);
}
.company-heading { padding: 6px 0; }
.company-heading .section-label { display: flex; align-items: center; gap: 10px; }
.accent-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

h1 {
  margin: 25px 0 24px;
  font-size: clamp(64px, 6.6vw, 88px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .98;
}
.title-line { display: block; }
.company-type { margin-left: .25em; color: var(--muted); font-size: .28em; letter-spacing: -.025em; }
.intro-text { margin: 0; color: #c1c1c2; font-size: 17px; line-height: 1.6; letter-spacing: -.01em; }

.brand-panel { display: grid; min-width: 0; padding: 8px 12px 4px; }
.brand-art { display: block; width: 100%; height: auto; max-width: 380px; margin-inline: auto; }

.projects { margin-top: 26px; }
.section-heading { display: flex; align-items: center; gap: 20px; margin-bottom: 14px; }
.heading-rule { flex: 1; height: 1px; background: var(--border); }
.project-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.project-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 20px 26px 24px;
  border: 1px solid var(--border);
  background: #222426;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.project-index { grid-column: 1 / -1; color: var(--muted); font-size: 11px; line-height: 1.6; letter-spacing: .06em; }
.project-name { font-size: clamp(22px, 2.4vw, 29px); line-height: 1.2; letter-spacing: -.035em; }
.link-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid #685a59;
  color: var(--accent);
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  transition: transform 160ms ease, background-color 160ms ease;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  padding: 23px 26px;
  border: 1px solid #503936;
  background: #292325;
}
.contact .section-label { color: #c6b4b4; }
.email-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  font-size: clamp(22px, 2.5vw, 29px);
  line-height: 1.4;
  letter-spacing: -.035em;
}
.email-link .link-arrow { border-color: transparent; }

@media (hover: hover) {
  nav a:hover,
  .email-link:hover { color: var(--accent); }
  .project-link:hover { border-color: #80605c; background: #2a292c; }
  .project-link:hover .link-arrow { transform: translate(2px, -2px); background: #422b2b; }
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
  padding-block: 26px 32px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.legal-name,
.domain,
.vat { margin: 0; }
.legal-name { color: #eeede8; font-size: 15px; font-weight: 500; }
.domain { margin-top: 6px; }
.footer-label { margin-bottom: 8px; font-size: 10px; }
address { font-style: normal; }

.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 1;
  padding: 10px 16px;
  background: #eeede8;
  color: #1b1c1e;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

@media (max-width: 900px) {
  .page { width: calc(100% - 56px); }
  .introduction { gap: 28px; }
  h1 { font-size: 66px; }
  .brand-panel { padding-inline: 0; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .company-identity { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .page { width: calc(100% - 36px); }
  .site-header { padding-block: 16px; gap: 14px; }
  .logo { width: 164px; }
  nav { gap: 16px; }
  nav a { font-size: 12px; gap: 0; }
  nav span { display: none; }
  .introduction { grid-template-columns: 1fr; gap: 24px; padding-block: 26px; }
  .company-heading { padding: 0; }
  h1 { margin-block: 22px; font-size: clamp(64px, 16vw, 84px); }
  .intro-text { font-size: 16px; }
  .brand-panel { padding: 0 8px; }
  .brand-art { max-width: 260px; }
  .projects { margin-top: 24px; }
  .project-list { grid-template-columns: 1fr; gap: 12px; }
  .project-link { grid-template-columns: auto 1fr auto; gap: 16px; padding: 20px; }
  .project-index { grid-column: auto; font-size: 10px; }
  .project-name { font-size: 23px; }
  .contact { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .email-link { font-size: 24px; gap: 8px; }
  .site-footer { gap: 22px; margin-top: 24px; padding-block: 24px; }
}

@media (max-width: 360px) {
  .project-link { gap: 10px; padding-inline: 16px; }
  .project-name { font-size: 21px; }
  .email-link { font-size: 21px; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .project-link,
  .link-arrow { transition: none; }
}
