:root {
  --bg: #ffffff;
  --fg: #212121;
  --head: #333333;
  --band: #32302f;
  --font: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1194px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
s { text-decoration-thickness: 1px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 18px 6px 28px;
  min-height: 56px;
}
.logo img { display: block; width: 44px; height: auto; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; color: var(--fg); }
.nav a:hover { text-decoration: underline; }
.nav a.active { font-weight: 700; }
.menu-toggle, .menu-btn { display: none; }

/* page intro */
main { flex: 1; }
.intro { text-align: center; padding: 88px 24px 0; }
.title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--head);
  margin: 0 0 22px;
  letter-spacing: 0.01em;
}
.sub { margin: 0; font-size: 16px; }
.hero {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--head);
  max-width: 1000px;
  margin: 0 auto;
}
.hero b { font-weight: 700; }
.tag { margin: 128px 0 0; }

.section { padding-top: 120px; }
.section p { margin: 0 0 16px; }
.center { text-align: center; }
.center p { max-width: 1010px; margin: 0 auto; }

/* octavius */
.split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
}
.split .art { display: flex; justify-content: center; }
.split .art img { width: 272px; }
.split h2 { font-size: 32px; font-weight: 500; color: var(--head); margin: 0 0 30px; }

/* it */
.product { display: grid; grid-template-columns: 120px 1fr; gap: 54px; align-items: start; }
.product img { width: 104px; }
.product p { margin: 0 0 16px; }
.label { font-weight: 700; margin: 46px 0 64px 12px; }

.carousel { position: relative; max-width: 1056px; margin: 0 auto; }
.slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slides img {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: center;
  object-fit: contain;
  border: 1px solid #e3e3e3;
}
.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border: 0; border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  font: inherit; font-size: 20px;
  cursor: pointer;
}
.carousel .prev { left: -56px; }
.carousel .next { right: -56px; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.dots span { width: 8px; height: 8px; border-radius: 50%; background: #ccc; }
.dots span.on { background: #555; }

/* events */
.events { padding-top: 112px; }
.event { margin-bottom: 96px; }
.event h2 { font-size: 32px; font-weight: 600; color: var(--head); margin: 0 0 44px; }
.event p { margin: 0 0 16px; }
.event.past { color: #a6a6a6; }
.event.past h2 { color: #a6a6a6; }
.event.older, .event.older h2 { color: #d0d0d0; }

/* dark bands (ink, privacy) */
.band { background: var(--band); color: #fff; margin-top: 88px; padding: 32px 0 30px; }
.band p { margin: 0 0 16px; }
.band em { font-style: italic; font-weight: 500; }
.hl { color: #ffff00; }
.policy { padding: 40px 0 48px; }
.policy h2 { font-size: 24px; font-weight: 500; margin: 24px 0 8px; }
.policy h3 { font-size: 16px; font-weight: 400; margin: 16px 0 0; }
.policy p { margin: 0; }
.policy ul { margin: 12px 0; padding-left: 20px; list-style: square; }
.policy li { margin-bottom: 12px; }
.policy a { color: #fff; }

/* contact */
.inv { background: #000; color: #fff; text-decoration: none; padding: 0 1px; }
.inv:hover { text-decoration: underline; }

/* footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 72px;
  padding-bottom: 20px;
}
.site-footer p { margin: 0; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

/* mobile */
@media (max-width: 760px) {
  .site-header { padding: 10px 16px; flex-wrap: wrap; }
  .menu-btn { display: block; cursor: pointer; padding: 8px 0; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 14px; padding: 12px 0 8px; }
  .menu-toggle:checked ~ .nav { display: flex; }
  .wrap { padding: 0 16px; }
  .intro { padding-top: 48px; }
  .title { font-size: 30px; }
  .hero { font-size: 26px; }
  .tag { margin-top: 72px; }
  .section, .events { padding-top: 64px; }
  .split, .product { grid-template-columns: 1fr; gap: 32px; }
  .split h2, .event h2 { font-size: 24px; margin-bottom: 20px; }
  .label { margin: 32px 0; }
  .carousel button { display: none; }
  .event { margin-bottom: 56px; }
  .band { margin-top: 56px; }
  .site-footer { flex-direction: column; gap: 20px; padding-top: 48px; }
  .footer-nav { flex-direction: row; align-items: flex-start; gap: 20px; }
}
