@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

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

body {
  font-family: 'Pretendard', '-apple-system', 'Apple SD Gothic Neo', sans-serif;
  font-weight: 300;
  color: #111;
  background: #FAFBDA;
  line-height: 1.7;
}

.wrap {
  max-width: 1500px;
  margin: 0 auto;
  padding: 32px 24px 0;
}

header.brand {
  border: 1.5px solid #111;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

header.brand img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}

nav.site-nav {
  text-align: center;
  padding: 28px 0 40px;
}

nav.site-nav a {
  color: #111;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

nav.site-nav a:hover {
  border-color: #111;
}

main {
  min-height: 630px;
  display: flex;
  flex-direction: column;
}

/* ---- Home: media grid ---- */
.grid {
  display: grid;
  grid-template-columns: 510fr 508fr 288fr 325fr;
  gap: 10px;
  margin-bottom: 56px;
  align-items: start;
}

.grid-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.grid-item {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  border-radius: 2px;
}

.grid-item img,
.grid-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.grid-item:hover img,
.grid-item:hover video {
  transform: scale(1.04);
}

/* col1: rain couple, col2: dragon — both square */
.grid-item.square {
  aspect-ratio: 1 / 1;
}

/* col3: tractor — portrait */
.grid-item.tall {
  aspect-ratio: 288 / 511;
}

/* col4 top: beach group — landscape */
.grid-item.wide {
  aspect-ratio: 325 / 183;
}

/* col4 bottom: full-shot video — near-square, fills the box (no black bars) */
.grid-item.fullshot {
  aspect-ratio: 325 / 321;
}

.play-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.play-badge::after {
  content: '';
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #111;
  margin-left: 2px;
}

/* ---- About page copy ---- */
.about-copy {
  text-align: center;
  padding: 140px 0 60px;
  font-size: 15px;
  color: #222;
}

.about-copy p {
  margin-bottom: 28px;
}

.about-copy p.mission {
  margin-top: 44px;
}

/* ---- Service note (About page, bottom-right) ---- */
.service-note {
  margin-top: auto;
  align-self: flex-end;
  text-align: right;
  max-width: 280px;
  padding: 0 0 20px;
}

.service-note h3 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---- Watch page ---- */
.watch {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.watch-media {
  display: block;
  background: #000;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 82vh;
}

/* ---- Footer ---- */
footer {
  text-align: center;
  padding: 26px 0 34px;
  border-top: 2px solid #111;
  font-size: 12px;
  color: #666;
}

footer p {
  margin: 2px 0;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid-col:nth-child(3),
  .grid-col:nth-child(4) {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}
