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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #262424;
  color: #ece9e4;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  overflow: hidden;
  background: #262424;
  line-height: 0;
  font-size: 0;
  margin-bottom: -1px;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(38, 36, 36, 0) 0%, #262424 100%);
  pointer-events: none;
  z-index: 1;
}

.side-pattern {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  background-image: url("side-pattern.jpg");
  background-repeat: repeat;
  background-size: auto 100%;
  background-position: center center;
}

.side-pattern::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 19%;
  pointer-events: none;
  z-index: 2;
}

.side-pattern--left::after {
  left: 0;
  right: -40px;
  background: linear-gradient(
    to right,
    rgba(38, 36, 36, 0) 0%,
    rgba(38, 36, 36, 0) 50%,
    #262424 calc(100% - 40px),
    rgba(38, 36, 36, 0) 100%
  );
}

.side-pattern--right::after {
  left: -40px;
  right: 0;
  background: linear-gradient(
    to left,
    rgba(38, 36, 36, 0) 0%,
    rgba(38, 36, 36, 0) 50%,
    #262424 calc(100% - 40px),
    rgba(38, 36, 36, 0) 100%
  );
}

.header-video {
  flex: 0 0 auto;
  max-width: 854px;
  width: 100%;
  line-height: 0;
  font-size: 0;
}

.header-video video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #262424;
}

/* ---------- Layout ---------- */

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.intro p {
  font-size: 1.2rem;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 3rem 0 1rem;
  color: #ffffff;
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-list li {
  padding: 1rem 0;
  border-bottom: 1px solid #333230;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.link-list li:last-child {
  border-bottom: none;
}

.link-list a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.link-list a:hover {
  text-decoration: underline;
}

.link-list span {
  color: #9c9890;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */

@media (max-width: 768px) {
  .side-pattern {
    display: none;
  }

  .header-video {
    max-width: 100%;
  }
}

.site-footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid #333230;
  text-align: center;
  color: #9c9890;
}

.site-footer p {
  margin: 0.4rem 0;
}

.site-footer a {
  color: #ece9e4;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.socials span {
  margin: 0 0.5rem;
  color: #555;
}
