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

:root {
  --orange: #F97316;
  --bg: #0B0B0B;
  --text: #EDEDED;
  --muted: rgba(237, 237, 237, 0.36);
  --subtle: rgba(237, 237, 237, 0.10);
  --font: 'Syne', sans-serif;
}

html, body {
  height: 100dvh;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  display: flex;
}

/* ── Sidebar ── */

.sidebar {
  width: 3.5rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 0;
  border-right: 1px solid var(--subtle);
}

.sidebar-brand {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.sidebar-year {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--orange);
}

/* ── Accent Bar ── */

.accent-bar {
  width: 3px;
  flex-shrink: 0;
  background: var(--orange);
}

/* ── Main: 3-row grid ── */

.main {
  flex: 1;
  display: grid;
  grid-template-rows: 4.5rem 1fr 4.5rem;
  padding: 0 2.5rem;
  overflow: hidden;
}

/* ── Top row ── */

.main-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid var(--subtle);
}

.tag {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Middle row ── */

.main-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  overflow: hidden;
}

.headline {
  display: flex;
  flex-direction: column;
  font-size: clamp(1.75rem, 4.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.headline-solid {
  color: var(--text);
}

.headline-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
}

/* ── Orange Block ── */

.orange-block {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--orange);
  padding: 0.875rem 1.375rem;
  border-radius: 0.5rem;
  align-self: flex-start;
}

.orange-block-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.orange-block-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
  transition: gap 0.18s ease;
}

.orange-block-link:hover {
  gap: 0.6rem;
}

.orange-block-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ── Bottom row ── */

.main-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--subtle);
}

.sub {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
  max-width: 40ch;
}

.contacts {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-shrink: 0;
}

.contact {
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  transition: color 0.18s ease;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.contact:hover {
  color: var(--orange);
}

.contact--dim {
  font-weight: 400;
  color: var(--muted);
}

.contact--dim:hover {
  color: var(--text);
}

/* ── Mobile ── */

@media (max-width: 640px) {
  html, body {
    height: auto;
    overflow: auto;
  }

  .sidebar,
  .accent-bar {
    display: none;
  }

  .main {
    grid-template-rows: 4rem auto auto;
    padding: 0 1.5rem;
    min-height: 100dvh;
  }

  .main-center {
    padding: 2.5rem 0;
    gap: 1.75rem;
  }

  .headline {
    font-size: clamp(1.75rem, 9vw, 2.75rem);
  }

  .headline-outline {
    -webkit-text-stroke: 1.5px var(--text);
  }

  .orange-block {
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .main-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--subtle);
  }

  .sub {
    max-width: 100%;
  }

  .contacts {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
}
