:root{
  --border: #fff;
  --bw: 2px;
  --r: 18px;
  --max: 920px;
  --padX: 18px;
  --font: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;

  --accent: #fff;
  --sectionPad: 24px;
  --textMax: 320px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: #000;
  color: #fff;
  font-family: var(--font);
}

.wrap{
  max-width: var(--max);
  margin: 18px auto 40px;
  padding: 0 var(--padX);
}


.nav{
  border: var(--bw) solid var(--border);
  border-radius: var(--r);
  padding: 12px 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand{
  font-weight: 600;
  text-transform: lowercase;
  font-size: 18px;
}

.navlinks{
  display: flex;
  gap: 22px;
  font-weight: 600;
  font-size: 18px;
  flex-wrap: wrap;
}

.nav a{
  color: inherit;
  text-decoration: none;
}

.nav a:hover{
  text-decoration: underline;
}


.detail-card{
  margin-top: 14px;
  border: var(--bw) solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.detail-header{
  display: flex;
  justify-content: space-between;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
}

.detail-title,
.detail-date{
  color: var(--accent);
}


.detail-section{
  position: relative;
  padding: var(--sectionPad);
  min-height: 260px;
}

.detail-top{
  border-top: var(--bw) solid var(--border);
  border-bottom: var(--bw) solid var(--border);
}

.detail-mid{
  border-bottom: var(--bw) solid var(--border);
}

.detail-bottom{
  border-top: var(--bw) solid var(--border);
}


.back-arrow{
  position: absolute;
  top: 5px;
  left: 1px;

  font-size: 76px;
  font-weight: 900;
  line-height: 1;

  text-decoration: none;
  color: #fff;
  transform: rotate(-135deg);
}

.back-arrow:hover{
  color: #5f5e5d;
}


.detail-mark{
  margin: 40px 0 18px;
  font-size: clamp(72px, 12vw, 112px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 0.9;
}

.detail-text{
  margin: 0;
  max-width: var(--textMax);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.35;
  text-align: left;
}


.inline-top{
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
}

.inline-top:hover{
  text-decoration: underline;
}


.detail-gallery{
  margin-top: 32px;

  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.detail-gallery img{
  width: 100%;
  height: auto;
  display: block;

  border: var(--bw);
  border-radius: var(--r);
}


.detail-divider{
  width: calc(100% + 56px);
  height: 1.5px;
  background: #fff;
  margin: 64px -28px;
}

.bottom-arrow{
  position: absolute;
  left: 28px;
  bottom: 28px;

  font-size: 22px;
  text-decoration: none;
  color: #fff;
}

.bottom-arrow:hover{
  text-decoration: underline;
}


@media (max-width: 700px){
  .detail-section{
    min-height: auto;
  }

  .detail-mark{
    margin-top: 64px;
    font-size: clamp(56px, 14vw, 88px);
  }

  .detail-text{
    margin-top: 12px;
    max-width: var(--textMax);
    width: 100%;
  }

  .back-arrow{
    top: 14px;
    left: 14px;
    font-size: 56px;
  }
}

@media (min-width: 600px){
  .detail-gallery{
    grid-template-columns: repeat(2, 1fr);
  }
}









