/* SHETECK template styles: single.php */
/* ============================================================
   PAGE — MAGAZINE ARTICLE
   ============================================================ */

/* ARTICLE HERO */
.article-hero {
  position: relative;
  padding: 32px 0 80px;
  overflow: hidden;
}
.crumb {
  font-family: var(--display);
  font-size: 12.5px;
  color: var(--ink-3);
  display: flex; gap: 10px; align-items: center;
  margin-bottom: 48px;
}
.crumb .now { color: var(--ink); font-weight: 500; }
.crumb a:hover { color: var(--accent); }

.article-eyebrow {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.article-eyebrow span {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 12px;
}
.article-eyebrow .iss   { background: var(--terra); color: var(--paper); }
.article-eyebrow .cat   { background: var(--ink); color: var(--paper); }
.article-eyebrow .read  { background: var(--paper-2); color: var(--ink-2); }

.article-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 8.5vw, 130px);
  line-height: .9;
  letter-spacing: -.05em;
  margin: 0 0 36px;
  max-width: 18ch;
}
.article-title i {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-3);
}
.article-title .dot { color: var(--accent); }

.article-deck {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 56px;
}

.article-meta {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.article-meta .author { display: inline-flex; align-items: center; gap: 12px; }
.article-meta .author .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
	overflow: hidden;
}
.article-meta .author .avatar img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}
.article-meta b { color: var(--ink); font-weight: 700; }

/* Hero leaves */
.article-hero .leaf.ah1 { position: absolute; top: 60px; right: 4%; width: 240px; height: 320px; rotate: 22deg; opacity: .9; }
.article-hero .leaf.ah2 { position: absolute; top: 360px; right: 18%; width: 100px; height: 140px; rotate: 140deg; opacity: .75; }
.article-hero .leaf.ah3 { position: absolute; bottom: -40px; right: -30px; width: 180px; height: 240px; rotate: -10deg; opacity: .85; }

/* ============================================================
   COVER IMAGE
   ============================================================ */
.cover {
  position: relative;
  margin-top: 24px;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.cover img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cover-tag {
  position: absolute;
  top: 24px; left: 24px;
  font-family: var(--display);
  font-size: 11px; font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: var(--paper); color: var(--ink);
  padding: 8px 14px;
}
.cover-circle {
  position: absolute;
  bottom: 24px; right: 24px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--terra);
  color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  animation: spin 22s linear infinite;
}
.cover-circle svg { width: 90%; height: 90%; }
.cover-cap {
  font-family: var(--display);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: .04em;
  margin-top: 12px;
  text-align: right;
}
@keyframes spin { to { rotate: 360deg; } }

/* ============================================================
   BODY — narrow column
   ============================================================ */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 0;
  position: relative;
}
.article-body p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 28px;
  max-width: 64ch;
}
.article-body p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 700;
  float: left;
  line-height: .9;
  margin: 6px 12px 0 0;
  color: var(--ink);
}
.article-body h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin: 56px 0 20px;
}
.article-body h2 i { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ink-3); }

/* PULL QUOTE — full-bleed-ish */
.pullquote {
  margin: 64px -80px;
  position: relative;
  padding: 56px 80px;
  background: var(--butter);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
}
.pullquote i { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.pullquote .mark {
  position: absolute;
  top: 12px; left: 28px;
  font-family: var(--serif);
  font-size: 96px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  opacity: .9;
}
.pullquote .by {
  display: block;
  margin-top: 22px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pullquote .by b { color: var(--ink); font-weight: 700; }

/* INLINE IMAGE BLOCK */
.inline-img {
  margin: 48px 0;
  position: relative;
}
.inline-img figure { margin: 0; }
.inline-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.inline-img figcaption {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--ink-3);
  margin-top: 12px;
  display: flex; justify-content: space-between;
}
.inline-img figcaption b { color: var(--ink); font-weight: 600; }

/* TWO-COLUMN block */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 40px 0;
}
.two-col p {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0;
}

/* IMAGE COLLAGE — side-by-side with backdrop */
.collage-pair {
  margin: 56px -80px;
  position: relative;
  isolation: isolate;
}
.collage-pair .pair-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}
.collage-pair .pair-grid img:nth-child(1) { aspect-ratio: 4/5; object-fit: cover; }
.collage-pair .pair-grid img:nth-child(2) { aspect-ratio: 4/5; object-fit: cover; margin-top: 64px; }
.collage-pair::before {
  content: "";
  position: absolute;
  inset: 32px -8% 32px 38%;
  background: var(--sky);
  z-index: -1;
}

/* ============================================================
   SHOP THE STORY
   ============================================================ */
.shop-story {
  background: var(--paper-2);
  padding: 80px 0;
  margin-top: 40px;
}
.shop-story h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0 0 40px;
}
.shop-story h2 i { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ink-3); }
.story-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.pcard { position: relative; }
.pcard-media { position: relative; aspect-ratio: 4/5; background: var(--paper); overflow: hidden; }
.pcard-media .img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 1.2s var(--ease);
}
.pcard:hover .pcard-media .img { transform: scale(1.05); }
.pcard-quick {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  padding: 11px;
  background: var(--ink); color: var(--paper);
  font-family: var(--display);
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.pcard:hover .pcard-quick { opacity: 1; transform: translateY(0); }
.pcard-quick:hover { background: var(--terra); }
.pcard-quick svg { width: 11px; height: 11px; }
.pcard-info {
  display: flex; justify-content: space-between; align-items: start;
  gap: 14px;
  margin-top: 14px;
}
.pcard-cat { font-family: var(--display); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.pcard-name { font-family: var(--display); font-size: 16px; font-weight: 500; margin: 0; }
.pcard-price { font-family: var(--display); font-size: 15px; font-weight: 700; }

/* ============================================================
   MORE STORIES
   ============================================================ */
.more-stories {
  padding: 96px 0;
}
.more-stories .section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.more-stories h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0;
}
.more-stories h2 i { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--ink-3); }

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.story-card {
  display: flex; flex-direction: column;
  cursor: pointer;
}
.story-card .story-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 18px;
}
.story-card .story-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.story-card:hover .story-img img { transform: scale(1.05); }
.story-card .story-cat {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.story-card .story-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 8px;
  transition: color var(--dur) var(--ease);
}
.story-card:hover .story-title { color: var(--accent); }
.story-card .story-deck {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}
.story-card .story-meta {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ink-3);
  margin-top: 12px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .pullquote { margin: 40px -24px; padding: 36px 28px; }
  .collage-pair { margin: 40px -24px; }
  .collage-pair::before { inset: 0; }
  .article-hero .leaf { display: none; }
  .stories-grid { grid-template-columns: 1fr 1fr; }
  .story-products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .article-body { padding: 56px 0; }
  .article-body p { font-size: 17px; }
  .two-col { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .story-products { grid-template-columns: 1fr 1fr; gap: 14px; }
}
