/*
 * Collection pages (components/pages/collection.php): the WordPress pages' own styles (one Elementor HTML block each),
 * with their 10 px dark frame (Elementor's container padding). The cover starts under the fixed header at every
 * width (WordPress: only at ≤ 700 px; above, the header hid the top of the cover).
 */

.collection {
  --paper: #faf8f5;
  --dark: #1a1816;
  --deep: #0d0d0b;
  --gold: #b8923a;
  --gold-soft: #c9a85d;
  --line: rgba(184, 146, 58, 0.32);
  padding: 103px 10px 10px; /* header 93 px + frame */
  background: var(--deep);
  color: var(--paper);
  font-weight: 300;
  line-height: 1.7;
}
.collection img, .ayeon img { width: 100%; aspect-ratio: var(--ratio); } /* --ratio: the original's, set by the page */
.collection em { font-style: italic; color: var(--gold-soft); }
.collection h1, .collection h2 { font-family: var(--br-font-serif); font-weight: 400; line-height: 1.04; letter-spacing: 0.01em; }
.collection .eyebrow, .collection .label {
  font-family: var(--br-font-sans);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Cover: the photo whole, the title over its bottom (below it at ≤ 700 px) */
.collection .hero { position: relative; overflow: hidden; }
.collection .hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 11, 0.5) 0%, rgba(13, 13, 11, 0.12) 40%, rgba(13, 13, 11, 0.82) 100%);
}
.collection .hero__text {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px 13vh;
  text-align: center;
  animation: collection-rise 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.collection .hero__title {
  margin: 0.18em 0 0.12em;
  font-size: clamp(60px, 12vw, 168px);
  letter-spacing: 0.03em;
  color: var(--paper);
}
.collection .hero__subtitle {
  max-width: 560px;
  margin: 0 auto;
  font-family: var(--br-font-serif);
  font-size: clamp(18px, 2.6vw, 27px);
  font-style: italic;
  color: rgba(250, 248, 245, 0.82);
}
.collection .hero__subtitle em { font-style: normal; color: inherit; }
@keyframes collection-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* Manifesto */
.collection .manifesto { padding: clamp(90px, 15vw, 170px) 24px; background: var(--dark); text-align: center; }
.collection .manifesto__text { max-width: 760px; margin: 0 auto; }
.collection .manifesto__text::before {
  content: '';
  display: block;
  width: 1px;
  height: 64px;
  margin: 0 auto 44px;
  background: linear-gradient(var(--gold), transparent);
}
.collection .manifesto p {
  font-family: var(--br-font-serif);
  font-size: clamp(21px, 2.9vw, 30px);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(250, 248, 245, 0.9);
}

/* Section titles (ADV, Runway, Video…) */
.collection .label {
  padding: clamp(70px, 11vw, 120px) 24px clamp(30px, 5vw, 50px);
  font-size: clamp(16px, 2.4vw, 22px);
  font-weight: 500;
  letter-spacing: 0.36em;
  text-align: center;
}

/* Galleries: 3 columns, 2 at ≤ 900 px, 1 at ≤ 560 px, in the order given */
.collection .gallery--dark { background: var(--dark); }
.collection .gallery--deep { background: var(--deep); }
.collection .gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; }
.collection .gallery__grid li { overflow: hidden; line-height: 0; }
.collection .gallery__grid img { transition: transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.collection .gallery__grid--2x3 img { aspect-ratio: 2 / 3; object-fit: cover; }
.collection .gallery__grid--4x5 img { aspect-ratio: 4 / 5; object-fit: cover; }
.collection .gallery__grid li:hover img { transform: scale(1.035); }
.collection .gallery--deep img { filter: grayscale(0.12); }
.collection .gallery--deep li:hover img { filter: grayscale(0); }

/* Videos */
.collection .video { padding: 0 24px clamp(90px, 14vw, 150px); background: var(--dark); }
.collection .video__frame {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
}
.collection .video__frame:not(:only-of-type) { margin-bottom: 18px; } /* Sophia's two videos */
.collection .video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Quote, poem */
.collection .quote { padding: clamp(100px, 16vw, 180px) 24px; background: var(--paper); color: var(--dark); text-align: center; }
.collection .quote__mark {
  display: block;
  height: 60px;
  margin-bottom: 0.2em;
  font-family: var(--br-font-serif);
  font-size: 120px;
  line-height: 0.3;
  color: var(--gold);
}
.collection .quote blockquote {
  max-width: 880px;
  margin: 0 auto;
  font-family: var(--br-font-serif);
  font-size: clamp(26px, 4.4vw, 46px);
  font-style: italic;
  line-height: 1.3;
}
.collection .quote blockquote p { color: inherit; line-height: inherit; }
.collection .quote--poem blockquote { font-size: clamp(17px, 2.4vw, 27px); line-height: 1.9; }
.collection .quote__sign {
  margin-top: 2.4em;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Closing */
.collection .closing { padding: clamp(110px, 17vw, 200px) 24px; background: var(--deep); text-align: center; }
.collection .closing .eyebrow { margin-bottom: 1.4em; }
.collection .closing .eyebrow--below { margin: 1.4em 0 0; }
.collection .closing__title { font-size: clamp(46px, 9vw, 110px); letter-spacing: 0.04em; color: var(--paper); }
.collection .closing__note {
  margin-top: 1.6em;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.collection .closing__link { margin-top: 2.4em; line-height: 1.7; color: inherit; }
.collection .closing__link a { border-bottom: 0.5px solid currentColor; }

/* Sophia: no frame; the closing block is light (WordPress gave it the quote's style) */
.collection--sophia { padding: 93px 0 0; }
.collection--sophia .closing { padding: clamp(100px, 16vw, 180px) 24px; background: var(--paper); color: var(--dark); }
.collection--sophia .closing .eyebrow { display: inline; } /* on the line of the block, as on WordPress */
.collection--sophia .closing__title { font-size: clamp(28px, 3.5vw, 44px); letter-spacing: 0.01em; color: var(--dark); }

/* Han and Rivair: a white frame (dark under the header), a still cover title, longer manifesto, smaller closing
   title, black video frame */
.collection--han, .collection--rivair { background: linear-gradient(var(--deep) 103px, #ffffff 103px); }
.collection--han .hero__text, .collection--rivair .hero__text { animation: none; }
.collection--han .hero__subtitle, .collection--rivair .hero__subtitle { max-width: 600px; }
.collection--han .manifesto__text, .collection--rivair .manifesto__text { max-width: 780px; }
.collection--han .manifesto p, .collection--rivair .manifesto p { font-size: clamp(20px, 2.7vw, 28px); line-height: 1.65; }
.collection--han .manifesto p + p, .collection--rivair .manifesto p + p { margin-top: 1.3em; }
.collection--han .closing__title, .collection--rivair .closing__title { font-size: clamp(44px, 8.5vw, 100px); }
.collection--han .video__frame, .collection--rivair .video__frame { background: #000000; }
.collection--rivair .hero__title { font-size: clamp(52px, 10vw, 140px); }
.collection--han .hero::after {
  background: linear-gradient(180deg, rgba(13, 13, 11, 0.5) 0%, rgba(13, 13, 11, 0.12) 40%, rgba(13, 13, 11, 0.86) 100%);
}
.collection--han .manifesto p { color: rgba(250, 248, 245, 0.92); }
.collection--han .gallery--deep img { filter: grayscale(0.1) sepia(0.06); }
.collection--han .gallery--deep li:hover img { filter: none; }
.collection--han .quote { color: var(--deep); }
.collection--han .quote blockquote { max-width: 820px; font-size: clamp(24px, 4vw, 42px); line-height: 1.35; }

@media (max-width: 960px) {
  .collection { padding-top: 75px; } /* header 65 px + frame */
  .collection--sophia { padding-top: 65px; }
  .collection--han, .collection--rivair { background: linear-gradient(var(--deep) 75px, #ffffff 75px); }
}
@media (max-width: 900px) {
  .collection .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .collection .hero { background: var(--deep); }
  .collection .hero::after { display: none; }
  .collection .hero__text { position: static; max-width: none; padding: 32px 24px 56px; }
}
@media (max-width: 560px) {
  .collection .gallery__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .collection .hero__text { animation: none; }
  .collection .gallery__grid img { transition: none; }
}

/*
 * Anima Ayeon (anima-ayeon.php): its own layout, full width. The cover starts under the fixed header (WordPress hid
 * its top under it); the white line above the footer is WordPress' (Elementor's padding on a white page).
 */
.ayeon { padding: 93px 0 10px; background: #ffffff; color: #1a1816; }
.ayeon__hero { position: relative; overflow: hidden; background: #000000; }
.ayeon__hero img { aspect-ratio: 16 / 9; object-fit: cover; }
.ayeon__hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 24, 22, 0.25) 0%, rgba(26, 24, 22, 0.15) 45%, rgba(26, 24, 22, 0.85) 100%);
}
.ayeon__hero-text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 0 40px 54px; text-align: center; }
.ayeon__eyebrow {
  margin-bottom: 18px;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #b8923a;
}
.ayeon__title {
  font-size: 76px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #faf8f5;
}
.ayeon__by {
  margin-top: 14px;
  font-family: var(--br-font-serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: #e2ddd6;
}
.ayeon__intro { padding: 76px 32px 70px; background: #faf8f5; text-align: center; }
.ayeon__intro > * { max-width: 756px; margin-left: auto; margin-right: auto; }
.ayeon__claim {
  margin-bottom: 30px;
  font-family: var(--br-font-serif);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.5;
  color: #1a1816;
}
.ayeon__text { margin-bottom: 20px; font-size: 13px; line-height: 2.1; letter-spacing: 0.02em; color: #5a5650; }
.ayeon__text a {
  border-bottom: 0.5px solid rgba(184, 146, 58, 0.5);
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #b8923a;
}
.ayeon__text a:hover { opacity: 0.7; }
.ayeon__quote, .ayeon__section, .ayeon__cta { background: #1a1816; text-align: center; }
.ayeon__quote { padding: 86px 32px; border-top: 1px solid rgba(184, 146, 58, 0.3); }
.ayeon__quote-text {
  max-width: 820px;
  margin: 0 auto 26px;
  font-family: var(--br-font-serif);
  font-size: 34px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.55;
  color: #faf8f5;
}
.ayeon__note { font-size: 10px; line-height: 1.6; letter-spacing: 0.24em; text-transform: uppercase; color: #b8923a; }
.ayeon__quote-after { max-width: 700px; margin: 34px auto 0; font-size: 13px; line-height: 2.1; color: #a9a29a; }
.ayeon__section { padding: 70px 32px 0; }
.ayeon__section .ayeon__note { margin-bottom: 38px; }
.ayeon__heading { margin-bottom: 12px; font-size: 34px; font-weight: 300; color: #faf8f5; }
.ayeon__video {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid rgba(184, 146, 58, 0.45);
  background: #111010;
}
.ayeon__video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(184, 146, 58, 0.12) 0%, rgba(26, 24, 22, 0) 65%);
}
.ayeon__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ayeon__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 0 -29px; } /* 3 px from the edges */
.ayeon__grid li { overflow: hidden; }
.ayeon__grid img { aspect-ratio: 2 / 3; object-fit: cover; transition: transform 1s cubic-bezier(0.2, 0.6, 0.2, 1); }
.ayeon__grid li:hover img { transform: scale(1.035); }
.ayeon__cta { padding: 90px 32px 96px; }
.ayeon__cta-text {
  max-width: 620px;
  margin: 0 auto 34px;
  font-size: 12.5px;
  line-height: 2.1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8923a;
}
.ayeon__buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ayeon__button {
  padding: 15px 32px;
  border: 0.5px solid rgba(250, 248, 245, 0.5);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #faf8f5;
  transition: all 0.35s ease;
}
.ayeon__button:hover { border-color: #faf8f5; background: rgba(250, 248, 245, 0.08); }
.ayeon__button--gold { border-color: #b8923a; background: #b8923a; color: #ffffff; }
.ayeon__button--gold:hover { border-color: #9a7730; background: #9a7730; }

@media (max-width: 960px) {
  .ayeon { padding-top: 65px; }
}
@media (max-width: 900px) {
  .ayeon__hero img { aspect-ratio: 4 / 5; }
  .ayeon__hero-text { padding: 0 22px 40px; }
  .ayeon__title { font-size: 44px; }
  .ayeon__intro { padding: 52px 22px 48px; }
  .ayeon__claim, .ayeon__quote-text { font-size: 25px; }
  .ayeon__section { padding: 52px 20px 0; }
  .ayeon__grid { grid-template-columns: repeat(2, 1fr); margin: 0 -17px; }
}
@media (max-width: 560px) {
  .ayeon__title { font-size: 36px; }
  .ayeon__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ayeon__grid img { transition: none; }
}
