:root {
  color-scheme: light;
  --canvas: #f7f1eb;
  --surface: #fffcf9;
  --ink: #281920;
  --muted: #6e5357;
  --red: #711b36;
  --line: #e6d3ce;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--canvas);
  color: var(--ink);
}

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

.page {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.75rem);
  width: min(70rem, 100%);
  min-height: 100svh;
  margin-inline: auto;
  padding: 2.75rem clamp(1.25rem, 5vw, 3rem);
}

.brand { min-width: 0; }
.brand-header { color: var(--red); margin-bottom: 1.65rem; }

h1 {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .7rem;
  font: 400 clamp(3rem, 7.4vw, 5.8rem)/.98 Georgia, "Times New Roman", serif;
  letter-spacing: -.085em;
}

h1 small {
  font: 650 .78rem/1.1 "Pretendard", "Malgun Gothic", sans-serif;
  letter-spacing: .28em;
}

.brand-header p {
  margin: 1.05rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
  word-break: keep-all;
}

.nail-photos {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 2px;
  overflow: hidden;
  margin: 0;
  border: 1px solid #e9dbd5;
  border-radius: 1.4rem;
  background: #e9dbd5;
}

.nail-photos img {
  display: block;
  width: 100%;
  height: clamp(11.5rem, 23vw, 15.75rem);
  object-fit: cover;
  object-position: 47% 54%;
}

.nail-photos img + img { object-position: 49% 52%; }

.actions {
  padding: clamp(1.25rem, 3.2vw, 2.35rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--surface);
}

.channel-group + .channel-group {
  padding-top: 1.4rem;
  margin-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.channel-group h2 { margin: 0; color: var(--red); font-size: 1.18rem; line-height: 1.35; }
.channel-group p { margin: .35rem 0 .85rem; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.channel-list { display: grid; gap: .5rem; padding: 0; margin: 0; list-style: none; }

.channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: .75rem;
  min-height: 3.2rem;
  padding: .65rem .85rem;
  border: 1px solid #d7b8be;
  border-radius: .7rem;
  background: #fffbfa;
  color: var(--red);
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  word-break: keep-all;
}

.channel small { color: var(--muted); font-size: .75rem; font-weight: 400; white-space: nowrap; }
[hidden] { display: none !important; }

.shopping .channel { background: #f3e5e7; border-color: #dfc2c8; }
.channel[href]:hover { background: #f1dce2; }
.shopping .channel[href] { background: var(--red); border-color: var(--red); color: #fff; }
.shopping .channel[href]:hover { background: #58132a; }
.channel[href]:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

@media (max-width: 45rem) {
  .page {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: .95rem;
    width: min(29rem, 100%);
    padding: 1.45rem 1rem 1.5rem;
  }

  .brand-header { margin-bottom: .8rem; padding-inline: .2rem; }
  h1 { font-size: clamp(2.65rem, 12vw, 3.5rem); }
  .brand-header p { margin-top: .6rem; }
  .nail-photos { border-radius: .95rem; }
  .nail-photos img { height: clamp(6.4rem, 32vw, 9rem); object-position: center 56%; }
  .nail-photos img + img { object-position: center 55%; }
  .actions { padding: 1.05rem; border-radius: 1rem; }
  .channel-group + .channel-group { padding-top: .85rem; margin-top: .85rem; }
}
