:root {
  color-scheme: light;
  font-family: "DM Sans", "Pretendard", sans-serif;
  color: #171714;
  background: #f4f1ea;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(circle at 12% 10%, rgba(239,121,76,.08), transparent 27rem), #f4f1ea;
}
a { color: inherit; }
.skip-link {
  position: fixed; top: 1rem; left: 1rem; z-index: 10;
  padding: .75rem 1rem; background: #171714; color: #fff;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }
.site-header, main, footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 92px; border-bottom: 1px solid rgba(23,23,20,.16);
}
.site-header p {
  margin: 0; color: #6b6a63; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase;
}
.header-actions { display: flex; align-items: center; gap: 1rem; }
.login-link, .logout-link {
  padding: .68rem 1rem;
  border: 1px solid rgba(23,23,20,.2);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  color: inherit;
  background: transparent;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.login-link:hover, .logout-link:hover { border-color: #293d38; color: #fff; background: #293d38; }
.login-link:focus-visible, .logout-link:focus-visible { outline: 3px solid #446d63; outline-offset: 3px; }
.logout-link { color: #6b6a63; }
.brand {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: "Manrope", sans-serif; font-size: .9rem; font-weight: 800;
  letter-spacing: .08em; text-decoration: none;
}
.brand img { width: 56px; height: 40px; object-fit: contain; }
.hero {
  display: grid;
  grid-template-columns: minmax(10rem,.7fr) minmax(22rem,2fr) minmax(15rem,1fr);
  gap: 2rem; align-items: end;
  padding: clamp(4rem,9vw,8rem) 0 clamp(3rem,6vw,5.5rem);
}
.eyebrow, .card-category {
  margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .18em;
}
h1 {
  margin: 0;
  font-family: "Gowun Dodum", "Noto Sans KR", sans-serif;
  font-size: clamp(2.35rem,4.3vw,4rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.04em;
}
.intro { margin: 0; color: #64625b; font-size: .98rem; line-height: 1.8; }
.brand-grid {
  display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem;
}
.brand-card {
  position: relative; display: grid; grid-template-rows: minmax(19rem,1fr) auto;
  min-height: 590px; overflow: hidden; border-radius: 4px; text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease;
}
.brand-card:hover, .brand-card:focus-visible {
  transform: translateY(-7px); box-shadow: 0 24px 55px rgba(31,29,24,.15);
}
.brand-card:focus-visible { outline: 3px solid #171714; outline-offset: 4px; }
.cube-card { background: #1c302e; color: #f8f4ea; }
.cotton-card { background: #e4b7ac; color: #2a1e1b; }
.card-index {
  position: absolute; top: 1.5rem; right: 1.5rem; z-index: 2;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em;
}
.card-art { position: relative; min-height: 19rem; overflow: hidden; }
.card-art img {
  width: 100%; height: 100%; min-height: 19rem; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.brand-card:hover .card-art img { transform: scale(1.035); }
.cube-art {
  background:
    linear-gradient(145deg,transparent 15%,rgba(255,255,255,.05) 15% 16%,transparent 16% 70%,rgba(255,255,255,.06) 70% 71%,transparent 71%),
    radial-gradient(circle at 50% 48%,#406a63,#1c302e 60%);
}
.cube-art span {
  position: absolute; width: 12rem; height: 12rem; top: 50%; left: 50%;
  border: 1px solid rgba(255,255,255,.48);
  transform: translate(-50%,-50%) rotate(30deg) skew(-6deg,-6deg);
  box-shadow: inset 34px -28px 0 rgba(255,255,255,.06), 30px 36px 70px rgba(0,0,0,.22);
}
.cotton-art {
  background: radial-gradient(circle at 72% 25%,rgba(255,255,255,.5),transparent 12rem), linear-gradient(145deg,#f1d7cf,#d49587);
}
.cotton-art span {
  position: absolute; width: 15rem; height: 12rem; top: 48%; left: 50%;
  border-radius: 48% 52% 44% 56% / 58% 42% 58% 42%;
  background: rgba(255,247,237,.68);
  transform: translate(-50%,-50%) rotate(-12deg);
  box-shadow: -40px 34px 0 rgba(169,91,77,.12);
}
.card-copy { padding: 2rem 2rem 2.25rem; }
.card-copy h2 {
  margin: .4rem 0 .7rem; font-family: "Manrope", sans-serif;
  font-size: clamp(2.6rem,5vw,4.5rem); line-height: 1; letter-spacing: -.06em;
}
.card-copy > p:last-of-type {
  max-width: 30rem; margin: 0; opacity: .76; line-height: 1.65;
}
.card-link {
  display: flex; justify-content: space-between; margin-top: 2rem;
  padding-top: 1rem; border-top: 1px solid currentColor;
  font-size: .86rem; font-weight: 700;
}
footer {
  display: flex; justify-content: space-between; padding: 2.5rem 0 3rem;
  color: #706f68; font-size: .75rem; letter-spacing: .08em;
}
@media (max-width: 800px) {
  .site-header, main, footer { width: min(100% - 32px,680px); }
  .site-header p { display: none; }
  .header-actions { gap: .4rem; }
  .logout-link { display: none; }
  .hero { grid-template-columns: 1fr; gap: 1.25rem; padding-top: 4.5rem; }
  .hero .intro { max-width: 32rem; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-card { min-height: 520px; }
  .hero > * { min-width: 0; }
  h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8vw, 2.7rem);
    overflow-wrap: anywhere;
  }
  .card-copy h2 { font-size: clamp(2.35rem, 12vw, 3.6rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brand-card { transition: none; }
}
