/* Andrew S. Kim Photography — night gallery. Near-black sky, moon-gold accent, images luminous.
   Latin display Marcellus / 한글 Noto Serif KR; body Instrument Sans / Noto Sans KR. */
:root {
  --night: #0A0C10;
  --panel: #12151C;
  --ivory: #F0EEE7;
  --muted: #9AA0AA;
  --gold: #D9A441;
  --line: rgba(240, 238, 231, .1);
  --display: "Marcellus", "Noto Serif KR", serif;
  --body: "Instrument Sans", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  --pad: clamp(1.25rem, 4vw, 4rem);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--night); color: var(--ivory); font: 400 1rem/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--night); }

.caps { text-transform: uppercase; letter-spacing: .22em; font-size: .6875rem; font-weight: 500; }

/* top */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--night) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem var(--pad); max-width: 88rem; margin: 0 auto; }
.top__brand { display: flex; align-items: baseline; gap: .6rem; white-space: nowrap; }
.top__brand span { font-family: var(--display); letter-spacing: .18em; font-size: 1.05rem; }
.top__brand em { font-style: normal; color: var(--gold); font-size: .6875rem; letter-spacing: .22em; text-transform: uppercase; }
.top__links { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); }
.top__links a { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .25s ease; }
.top__links a:hover { color: var(--ivory); }
.top__lang { border: 1px solid var(--line); padding: .3rem .8rem; border-radius: 999px; color: var(--ivory) !important; }
.top__lang:hover { border-color: var(--gold); color: var(--gold) !important; }

/* hero */
.hero { position: relative; min-height: clamp(30rem, 88svh, 52rem); display: grid; align-content: end; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,16,.55), rgba(10,12,16,.05) 42%, rgba(10,12,16,.82) 92%); }
.hero__text { position: relative; padding: 0 var(--pad) clamp(2.5rem, 7vh, 5rem); max-width: 88rem; margin: 0 auto; width: 100%; }
.hero__text .caps { color: var(--gold); display: block; margin-bottom: 1rem; }
.hero__text h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 6.5vw, 5.5rem); line-height: 1.08; max-width: 16ch; }
.hero__text p { color: var(--muted); margin-top: 1.1rem; max-width: 52ch; }

/* sections */
.sec { max-width: 88rem; margin: 0 auto; padding: clamp(4rem, 9vw, 7.5rem) var(--pad); }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.sec__head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; }
.sec__head .caps { color: var(--gold); }

/* collection rows */
.coll { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; align-items: end; padding: clamp(1.5rem, 3vw, 2.5rem) 0; border-top: 1px solid var(--line); }
.coll figure { grid-column: 1 / span 7; position: relative; overflow: hidden; }
.coll--flip figure { grid-column: 6 / span 7; }
.coll img { width: 100%; transition: transform .45s ease, opacity .45s ease; }
.coll a:hover img { transform: scale(1.02); opacity: .92; }
.coll__text { grid-column: 9 / span 4; padding-bottom: .5rem; }
.coll--flip .coll__text { grid-column: 1 / span 4; grid-row: 1; }
.coll__text .caps { color: var(--gold); display: block; margin-bottom: .8rem; }
.coll__text h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.15; }
.coll__text p { color: var(--muted); font-size: .9375rem; margin-top: .7rem; max-width: 34ch; }
.coll__text a.more { display: inline-block; margin-top: 1.2rem; color: var(--gold); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid transparent; transition: border-color .25s ease; }
.coll__text a.more:hover { border-color: var(--gold); }

/* gallery grid */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.grid figure { position: relative; }
.grid figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .7rem; color: var(--muted); font-size: .8125rem; }
.grid figcaption strong { color: var(--ivory); font-weight: 500; font-family: var(--display); letter-spacing: .04em; font-size: .9375rem; }
.grid img { width: 100%; transition: opacity .35s ease; }
.grid figure:hover img { opacity: .92; }
.grid .wide { grid-column: 1 / -1; }

/* shop */
.shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.card { background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card__imgwrap { aspect-ratio: 4 / 3; overflow: hidden; display: grid; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover img { transform: scale(1.03); }
.card__body { padding: 1.25rem 1.25rem 1.5rem; display: grid; gap: .45rem; }
.card__body h3 { font-family: var(--display); font-weight: 400; font-size: 1.15rem; }
.card__body .caps { color: var(--gold); }
.card__body p { color: var(--muted); font-size: .875rem; }
.card__body a { margin-top: .6rem; color: var(--gold); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; }
.card__body a:hover { text-decoration: underline; }

.card__body h3 a { transition: color .25s ease; }
.card__body h3 a:hover { color: var(--gold); }
.card__imgwrap:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* print detail */
.detail { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.detail figure { grid-column: 1 / span 7; }
.detail__text { grid-column: 9 / span 4; display: grid; gap: 1rem; justify-items: start; }
.detail__text .caps { color: var(--gold); }
.detail__text p { color: var(--muted); max-width: 40ch; }
.detail__text .detail__print { color: var(--ivory); }

/* comments */
.comments { max-width: 54rem; margin: 0 auto; }
.comments__list { list-style: none; display: grid; gap: 1.25rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.comments__list li { border: 1px solid var(--line); background: var(--panel); padding: 1.1rem 1.25rem; display: grid; gap: .3rem; }
.comments__list li strong { font-weight: 600; }
.comments__list li time { color: var(--muted); font-size: .75rem; }
.comments__list li p { color: var(--ivory); white-space: pre-line; overflow-wrap: anywhere; }
.comments__state { color: var(--muted); border-style: dashed !important; }
.comments__form { display: grid; gap: 1.1rem; justify-items: start; }
.comments__form label { display: grid; gap: .4rem; width: 100%; }
.comments__form label span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.comments__form input[type="text"], .comments__form textarea { width: 100%; background: var(--panel); border: 1px solid var(--line); color: var(--ivory); padding: .8rem 1rem; font: inherit; }
.comments__form input[type="text"]:focus, .comments__form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.comments__form button { cursor: pointer; background: none; font-family: var(--body); }
.comments__form button:disabled { opacity: .55; cursor: default; }
.comments__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.comments__fail { color: #E06C60; font-size: .875rem; }

/* avatars */
.avatar { border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.avatar--lg { width: 72px; height: 72px; margin-bottom: 1rem; }
.avatar--md { width: 34px; height: 34px; grid-row: span 2; align-self: center; }
.avatar--sm { width: 26px; height: 26px; display: inline-block; vertical-align: -8px; margin-right: .35rem; }
.foot__line { grid-template-columns: auto 1fr; column-gap: .7rem; }

/* credits + duo */
.credit-line, .card__credit { color: var(--muted); font-size: .75rem; letter-spacing: .06em; }
.credit-line { margin-top: .55rem; }
.credit-line a:hover, .card__credit a:hover { color: var(--gold); }
.hero__credit { position: relative; color: var(--muted); font-size: .75rem; letter-spacing: .06em; margin-top: 1.4rem; }
.phead__credit { color: var(--muted); margin-top: .8rem; font-size: .9375rem; }
.phead__credit a { color: var(--gold); }
.duo-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); border-bottom: 1px solid var(--line); }
.duo-intro__col { border-top: 1px solid var(--gold); padding-top: 1.4rem; }
.duo-intro__col .caps { color: var(--gold); display: block; margin-bottom: .8rem; }
.duo-intro__col h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.duo-intro__col p { color: var(--muted); margin: .8rem 0 1.1rem; max-width: 44ch; }
.duo-intro__col .more { color: var(--gold); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; }
.duo-intro__col .more:hover { text-decoration: underline; }
.note__links { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* faq */
.faq { max-width: 54rem; }
.faq__item { border: 1px solid var(--line); background: var(--panel); margin-bottom: 1rem; }
.faq__item summary { cursor: pointer; padding: 1.1rem 1.25rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; flex: none; }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item summary h3 { font-family: var(--display); font-weight: 400; font-size: 1.05rem; display: inline; }
.faq__item p { color: var(--muted); padding: 0 1.25rem 1.25rem; max-width: 64ch; }

/* shop note + about */
.note { border: 1px solid var(--line); background: var(--panel); padding: clamp(1.5rem, 3vw, 2.25rem); margin-top: clamp(2rem, 5vw, 3rem); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.note p { color: var(--muted); max-width: 56ch; }
.about { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.about figure { grid-column: 1 / span 5; }
.about__text { grid-column: 7 / span 6; }
.about__text h1, .about__text h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.15; margin-bottom: 1.2rem; }
.about__text p { color: var(--muted); margin-bottom: 1rem; max-width: 58ch; }
.about__text .caps { color: var(--gold); display: block; margin-bottom: 1rem; }

/* band */
.band { text-align: center; border-top: 1px solid var(--line); padding: clamp(4.5rem, 11vw, 8rem) var(--pad); }
.band .moon { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); display: inline-block; margin-bottom: 1.5rem; box-shadow: 0 0 24px 4px rgba(217, 164, 65, .45); }
.band h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 5vw, 3.6rem); line-height: 1.15; max-width: 22ch; margin: 0 auto; }
.band p { color: var(--muted); margin: 1.1rem auto 2.2rem; max-width: 44ch; }
.btn { display: inline-block; border: 1px solid var(--gold); color: var(--gold); padding: .95rem 2.4rem; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; transition: background .25s ease, color .25s ease; }
.btn:hover { background: var(--gold); color: var(--night); }

/* page head */
.phead { max-width: 88rem; margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) var(--pad) 0; }
.phead .caps { color: var(--gold); display: block; margin-bottom: 1rem; }
.phead h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 6vw, 4.5rem); line-height: 1.08; }
.phead p { color: var(--muted); margin-top: 1.1rem; max-width: 56ch; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 4.5rem) var(--pad); max-width: 88rem; margin: 0 auto; }
.foot__brand { font-family: var(--display); letter-spacing: .18em; font-size: 1.3rem; }
.foot__brand span { color: var(--gold); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; margin-left: .5rem; }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.2rem; margin-top: 1.5rem; }
.foot__line { display: grid; gap: .1rem; }
.foot__line span { color: var(--muted); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; }
.foot__line a { font-weight: 600; }
.foot__line a:hover { color: var(--gold); }
.foot__row { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.foot__ig { color: var(--muted); }
.foot__ig:hover { color: var(--gold); }
.foot__note { margin-top: 2.5rem; color: var(--muted); font-size: .75rem; }

/* 404 */
.nf { min-height: 70svh; display: grid; place-content: center; text-align: center; gap: 1rem; padding: var(--pad); }
.nf h1 { font-family: var(--display); font-size: clamp(3rem, 10vw, 6rem); }
.nf a { color: var(--gold); text-decoration: underline; }

/* motion */
.fade { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } .coll img, .card img { transition: none; } }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 900px) {
  .coll figure, .coll--flip figure { grid-column: 1 / -1; }
  .coll__text, .coll--flip .coll__text { grid-column: 1 / -1; grid-row: auto; padding-top: .5rem; }
  .shop { grid-template-columns: repeat(2, 1fr); }
  .duo-intro { grid-template-columns: 1fr; }
  .about figure, .about__text { grid-column: 1 / -1; }
  .detail figure, .detail__text { grid-column: 1 / -1; }
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top__row { flex-direction: column; align-items: flex-start; gap: .6rem; padding: .85rem 1.25rem; }
  .top__links { flex-wrap: wrap; gap: .8rem 1rem; }
  .top__links a { font-size: .75rem; }
  .shop { grid-template-columns: 1fr; }
}
