@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:wght@300;400;500;600;700&family=Great+Vibes&display=swap');

:root {
  --bg: #1b1013;
  --bg-deep: #140c0e;
  --panel: #26171a;
  --panel-2: #2e1d21;
  --line: #4a3138;
  --rose: #eb879c;
  --blush: #ffb6c1;
  --txt: #f7ebee;
  --body: #ecd9dd;
  --dim: #cbb2b8;
  --mute: #a98f96;
  --serif: 'Cormorant Infant', 'Songti SC', 'Noto Serif SC', 'Source Han Serif SC', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --sh: 0 2px 4px rgba(0, 0, 0, .35), 0 14px 34px -14px rgba(0, 0, 0, .72), inset 0 1px 0 rgba(255, 182, 193, .06);
  --sh-hi: 0 3px 6px rgba(0, 0, 0, .4), 0 22px 46px -16px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 182, 193, .14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--rose); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blush);
  outline-offset: 3px;
}

img { max-width: 100%; }

.tip {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 34px;
  display: flex;
  align-items: center;
  padding: 0 22px;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
  color: var(--blush);
  font-size: 12px;
  letter-spacing: .32em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.side {
  position: fixed;
  left: 0;
  top: 34px;
  bottom: 0;
  z-index: 50;
  width: 216px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 28px 20px 32px;
  overflow-y: auto;
  background: linear-gradient(180deg, #21141a 0%, #170e11 100%);
  border-right: 1px solid var(--line);
}

.brand a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--blush);
  text-decoration: none;
  transition: color .22s ease, letter-spacing .22s ease;
}

.brand a:hover { color: #ffd7de; letter-spacing: .14em; }

.brand .logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 40px;
  object-fit: contain;
}

.snav p {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}

.snav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 6px;
  border-left: 2px solid transparent;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
  transition: color .22s ease, border-color .22s ease, padding-left .22s ease, background .22s ease;
}

.snav a:hover,
.snav a:focus-visible {
  color: var(--blush);
  border-left-color: var(--rose);
  padding-left: 12px;
  background: rgba(255, 182, 193, .05);
}

.wrap {
  margin-left: 216px;
  padding: 34px 40px 84px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: 44px;
  align-items: start;
}

.wrap > .hero { grid-column: 1 / -1; }
.wrap > .body { grid-column: 1; min-width: 0; }
.wrap > .rail { grid-column: 2; }

.hero {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 100vh;
  min-height: 100svh;
  padding: 96px 5vw 8vh;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.ghost {
  position: absolute;
  left: -0.05em;
  top: 0.12em;
  font-family: 'Great Vibes', var(--serif);
  font-size: clamp(96px, 25vw, 340px);
  line-height: .82;
  color: rgba(235, 135, 156, .12);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.collage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.slot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(150deg, rgba(235, 135, 156, .34), rgba(38, 23, 26, .92));
  box-shadow: var(--sh-hi);
}

.slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.03);
}

.slot .ph {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(255, 182, 193, .38), transparent 62%),
    linear-gradient(160deg, rgba(235, 135, 156, .34), rgba(27, 16, 19, .95));
}

.slot.a {
  left: 4%;
  top: 16%;
  width: min(32vw, 330px);
  aspect-ratio: 3 / 4;
  transform: rotate(-3.2deg);
}

.slot.b {
  left: 25%;
  top: 34%;
  width: min(26vw, 268px);
  aspect-ratio: 4 / 5;
  transform: rotate(4deg);
  z-index: 1;
}

.hero-txt {
  position: relative;
  z-index: 2;
  margin-left: auto;
  max-width: 92%;
  text-align: right;
  animation: rise .62s ease both;
}

.hero-txt h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(38px, 6.6vw, 82px);
  line-height: 1.1;
  letter-spacing: .03em;
  color: #ffe9ee;
  text-shadow: 0 6px 26px rgba(0, 0, 0, .6);
}

.lede {
  max-width: 48ch;
  margin: .9em 0 0 auto;
  color: var(--dim);
  font-size: 16px;
  line-height: 1.8;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.body > div {
  scroll-margin-top: 72px;
  margin: 0 0 26px;
  padding: 32px 28px 26px;
  background: var(--panel);
  border-top: 2px solid rgba(235, 135, 156, .26);
  border-radius: 0;
  box-shadow: var(--sh);
  transition: box-shadow .26s ease, transform .26s ease, border-color .26s ease;
}

.body > div:hover {
  box-shadow: var(--sh-hi);
  transform: translateY(-2px);
  border-top-color: var(--rose);
}

.body h2 {
  margin: 0 0 .6em;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(23px, 2.5vw, 31px);
  line-height: 1.3;
  letter-spacing: .015em;
  color: var(--blush);
}

.body h3 {
  margin: 1.5em 0 .5em;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  color: #ffd9e0;
}

.body small,
.rail small {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--rose);
}

.body small { margin-bottom: .5em; }

.body p {
  margin: 0 0 1em;
  color: var(--body);
  line-height: 1.95;
}

.body ul,
.body ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
  color: var(--body);
  line-height: 1.95;
}

.body li { margin-bottom: .45em; }

.body a {
  color: var(--blush);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.body a:hover { color: #fff; }

.body img {
  display: block;
  height: auto;
  margin: 1.2em 0;
  border-radius: 10px;
  box-shadow: var(--sh);
}

.body blockquote {
  margin: 1.2em 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--rose);
  color: var(--dim);
}

.rail {
  position: sticky;
  top: 58px;
  padding: 24px 18px 20px;
  background: var(--panel-2);
  border-top: 2px solid var(--rose);
  border-radius: 0;
  box-shadow: var(--sh);
}

.rail h2 {
  margin: .4em 0 .9em;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  color: var(--blush);
}

.rail-list {
  list-style: none;
  counter-reset: r;
  margin: 0;
  padding: 0;
}

.rail-list li { counter-increment: r; }

.rail-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 6px;
  border-bottom: 1px solid rgba(255, 182, 193, .12);
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, padding-left .2s ease;
}

.rail-list a::before {
  content: counter(r, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 13px;
  color: var(--rose);
}

.rail-list a:hover {
  color: #fff;
  padding-left: 10px;
  background: rgba(255, 182, 193, .07);
}

.to-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 16px;
  padding: 0 6px;
  font-size: 14px;
  color: var(--rose);
  text-decoration: none;
  transition: color .2s ease;
}

.to-top:hover { color: #fff; }

.foot {
  margin-left: 216px;
  padding: 60px 40px 26px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--line);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr 1.35fr;
  gap: 30px;
  align-items: start;
}

.fcol ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fcol a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 0;
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.fcol a:hover {
  color: var(--blush);
  transform: translateX(3px);
}

.foot address { font-style: normal; }

.f-brand {
  font-family: var(--serif) !important;
  font-size: 21px !important;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--blush) !important;
  min-height: 44px;
}

.bigmark {
  margin: 0;
  font-family: 'Great Vibes', var(--serif);
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.05;
  letter-spacing: .04em;
  color: rgba(255, 182, 193, .82);
  word-break: break-all;
  text-align: right;
}

.copy {
  margin: 34px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 182, 193, .14);
  color: var(--mute);
  font-size: 13px;
  line-height: 1.6;
}

.stagger {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .28s ease, transform .28s ease;
  transition-delay: calc(var(--i, 0) * 48ms);
}

.stagger.in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .slot.a { width: 34vw; }
  .slot.b { width: 28vw; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .bigmark { text-align: left; }
}

@media (max-width: 900px) {
  .tip {
    position: static;
    height: auto;
    padding: 9px 16px;
    letter-spacing: .24em;
    font-size: 11.5px;
  }

  .side {
    position: static;
    width: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    padding: 10px 16px;
    overflow: visible;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand a { font-size: 21px; min-height: 40px; }

  .snav { flex: 1 1 auto; }

  .snav p {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2px 6px;
  }

  .snav a {
    min-height: 40px;
    padding: 8px 6px;
    border-left: 0;
    border-bottom: 2px solid transparent;
    font-size: 14px;
  }

  .snav a:hover,
  .snav a:focus-visible {
    padding-left: 6px;
    border-left-color: transparent;
    border-bottom-color: var(--rose);
    background: transparent;
  }

  .wrap {
    margin-left: 0;
    padding: 16px 16px 48px;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .wrap > .body,
  .wrap > .rail,
  .wrap > .hero { grid-column: 1; }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
    align-content: start;
    padding: 26px 6px 46vh;
    border-bottom: 1px solid var(--line);
  }

  .ghost {
    font-size: clamp(74px, 34vw, 150px);
    top: 0.5em;
    color: rgba(235, 135, 156, .1);
  }

  .hero-txt {
    max-width: 100%;
    text-align: right;
  }

  .slot.a {
    left: 2%;
    top: 47%;
    width: 46vw;
  }

  .slot.b {
    left: 40%;
    top: 56%;
    width: 40vw;
  }

  .body > div {
    padding: 24px 18px 20px;
    scroll-margin-top: 24px;
  }

  .rail {
    position: static;
    order: 3;
  }

  .foot {
    margin-left: 0;
    padding: 40px 16px 22px;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 18px;
  }

  .fcol-mark { grid-column: 1 / -1; }
  .bigmark { font-size: clamp(30px, 9vw, 44px); }
}

@media (max-width: 420px) {
  .foot-grid { grid-template-columns: 1fr; }
  .fcol-mark { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-txt { animation: none; }
}

button[aria-expanded]{min-width:44px;min-height:44px}
