/* ============================================================
 * pages.css — About + The Edit (index) + article reader
 * Editorial content surfaces. Reuses tokens.css + main.css chrome.
 * Restrained type: serif headings, Inter body, single mono accent.
 * ============================================================ */

.page-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* shared eyebrow (matches site label style) */
.page-eyebrow {
  font-family: var(--sans);
  font-size: var(--text-label);
  font-weight: var(--w-semi);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sub);
  margin: 0;
}

/* ============================================================
 * About
 * ============================================================ */
.about-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 8vw, 96px) var(--gutter) clamp(28px, 5vw, 56px);
}
.about-hero__eyebrow {
  font-family: var(--sans);
  font-size: var(--text-label);
  font-weight: var(--w-semi);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sub);
  margin: 0 0 var(--space-md);
}
.about-hero__statement {
  font-family: var(--serif);
  font-weight: var(--w-semi);
  font-size: clamp(2rem, 1.3rem + 3.4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  max-width: 16ch;
}
.about-hero__sub {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 0.88rem + 0.4vw, 1.1rem);
  color: var(--sub);
  margin: var(--space-lg) 0 0;
  max-width: 46ch;
}

/* the one image — full-bleed band. 3:2 source, cropped wider on desktop. */
.about-figure {
  margin: 0;
  background: var(--soft);
}
.about-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

/* editorial essay — narrow measure, generous rhythm */
.about-essay {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 80px) var(--gutter);
}
.about-essay + .about-essay { padding-top: 0; }
.about-essay__title {
  font-family: var(--serif);
  font-weight: var(--w-semi);
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 var(--space-md);
}
.about-essay__body {
  font-family: var(--sans);
  font-size: clamp(0.95rem, 0.9rem + 0.4vw, 1.08rem);
  line-height: 1.75;
  color: var(--ink);
  margin: 0;
  max-width: 62ch;   /* keeps the measure readable */
}
.about-essay__body + .about-essay__body { margin-top: var(--space-md); }

/* pull quote — the page's second focal point, so the single image isn't carrying it alone */
.about-quote {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 88px) var(--gutter);
}
.about-quote p {
  font-family: var(--serif);
  font-weight: var(--w-semi);
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  max-width: 22ch;
}

.about-close {
  text-align: center;
  padding: clamp(40px, 7vw, 88px) var(--gutter);
  border-top: 1px solid var(--line);
  margin-top: clamp(24px, 4vw, 48px);
}
.about-close__line {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 1rem + 1.6vw, 2.2rem);
  color: var(--ink);
  margin: 0 0 var(--space-lg);
}
.about-cta {
  display: inline-block;
  background: transparent;
  color: #FF1493;
  border: 1px solid #FF1493;
  font-family: var(--sans);
  font-size: var(--text-label);
  font-weight: var(--w-semi);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.about-cta:hover { background: #FF1493; color: var(--bg); }

@media (min-width: 760px) {
  /* wider crop on desktop — a 3:2 full-bleed is too tall to read as a band */
  .about-figure img { aspect-ratio: 21 / 9; }
}

/* ============================================================
 * The Edit — index
 * ============================================================ */
.edit-head {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 80px) var(--gutter) clamp(20px, 3vw, 36px);
}
.edit-head__title {
  font-family: var(--serif);
  font-weight: var(--w-semi);
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem);
  line-height: 1.05;
  color: var(--ink);
  margin: var(--space-sm) 0 0;
}
.edit-head__intro {
  font-family: var(--sans);
  font-size: clamp(1rem, 0.94rem + 0.4vw, 1.14rem);
  line-height: 1.6;
  color: var(--sub);
  margin: var(--space-md) 0 0;
  max-width: 58ch;
}
.edit-head__sub {
  font-family: var(--sans);
  font-size: clamp(0.92rem, 0.86rem + 0.35vw, 1.02rem);
  color: var(--sub);
  margin: var(--space-md) 0 0;
  max-width: 50ch;
}

.edit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 36px);
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--space-lg) var(--gutter) clamp(28px, 4vw, 44px);
}

.edit-card { display: flex; flex-direction: column; }
.edit-card__link {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  height: 100%;
}
.edit-card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--soft);
}
.edit-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-mid) var(--ease);
}
.edit-card__link:hover .edit-card__media img { transform: scale(1.03); }
.edit-card__meta {
  font-family: var(--sans);
  font-size: var(--text-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sub);
  margin: 0 0 var(--space-xs);
}
.edit-card__title {
  font-family: var(--serif);
  font-weight: var(--w-semi);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.5rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 var(--space-sm);
}
.edit-card__excerpt {
  font-family: var(--sans);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--sub);
  margin: 0 0 var(--space-sm);
}
.edit-card__read {
  font-family: var(--sans);
  font-size: var(--text-label);
  font-weight: var(--w-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: auto;
}

/* featured first card spans full width with side-by-side layout on desktop */
@media (min-width: 680px) {
  .edit-grid { grid-template-columns: 1fr 1fr; }
  .edit-card--feature { grid-column: 1 / -1; }
  /* feature stacks: image on top, the writing sits beneath it */
  .edit-card--feature .edit-card__link {
    flex-direction: column;
    gap: clamp(20px, 3vw, 32px);
  }
  .edit-card--feature .edit-card__media {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .edit-card--feature .edit-card__body { max-width: 68ch; }
  .edit-card--feature .edit-card__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
}
@media (min-width: 1000px) {
  .edit-grid { grid-template-columns: repeat(3, 1fr); }
  .edit-card--feature { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------
 * The Edit — text-led entries (no thumbnails). One feature image
 * carries the page; everything below leads with the writing.
 * ------------------------------------------------------------ */
.edit-list {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(48px, 7vw, 96px);
}
.edit-entry { border-top: 1px solid var(--line); }
.edit-entry__link {
  display: block;
  padding: clamp(28px, 4vw, 44px) 0;
  max-width: 68ch;
}
.edit-entry__meta {
  font-family: var(--sans);
  font-size: var(--text-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sub);
  margin: 0 0 var(--space-xs);
}
.edit-entry__title {
  font-family: var(--serif);
  font-weight: var(--w-semi);
  font-size: clamp(1.45rem, 1.15rem + 1.4vw, 2.05rem);
  line-height: 1.12;
  color: var(--ink);
  margin: 0;
  transition: opacity var(--dur-fast) var(--ease);
}
.edit-entry__link:hover .edit-entry__title { opacity: 0.6; }
.edit-entry__stand {
  font-family: var(--sans);
  font-size: clamp(0.98rem, 0.92rem + 0.35vw, 1.1rem);
  color: var(--ink);
  margin: var(--space-xs) 0 0;
}
.edit-entry__excerpt {
  font-family: var(--sans);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--sub);
  margin: var(--space-sm) 0 0;
}
.edit-entry__read {
  display: inline-block;
  font-family: var(--sans);
  font-size: var(--text-label);
  font-weight: var(--w-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: var(--space-md);
}

/* ============================================================
 * Article reader
 * ============================================================ */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) var(--gutter) clamp(48px, 7vw, 96px);
}
.article__back {
  font-family: var(--sans);
  font-size: var(--text-label);
  font-weight: var(--w-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sub);
  display: inline-block;
  margin-bottom: var(--space-xl);
  transition: opacity var(--dur-fast) var(--ease);
}
.article__back:hover { opacity: 0.6; }
.article__meta {
  font-family: var(--sans);
  font-size: var(--text-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sub);
  margin: 0 0 var(--space-md);
}
.article__title {
  font-family: var(--serif);
  font-weight: var(--w-semi);
  font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 var(--space-sm);
}
.article__standfirst {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 0.95rem + 0.8vw, 1.5rem);
  line-height: 1.4;
  color: var(--sub);
  margin: 0 0 var(--space-xl);
}
.article__hero {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--soft);
  margin: 0 0 clamp(28px, 5vw, 48px);
}
.article__hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.article__body { font-family: var(--sans); }
.article__body h2 {
  font-family: var(--serif);
  font-weight: var(--w-semi);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
  line-height: 1.2;
  color: var(--ink);
  margin: clamp(28px, 4vw, 44px) 0 var(--space-md);
}
.article__body p {
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.08rem);
  line-height: 1.72;
  color: var(--ink);
  margin: 0 0 var(--space-md);
}
.article__body p .shop-inline {
  font-size: var(--text-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sub);
}
.article__body strong { font-weight: var(--w-semi); }
.article__signoff {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
  color: var(--ink);
  margin: clamp(28px, 4vw, 44px) 0 0;
}
.article__foot {
  border-top: 1px solid var(--line);
  margin-top: clamp(36px, 6vw, 72px);
  padding-top: clamp(24px, 4vw, 40px);
  text-align: center;
}
.article__foot a {
  font-family: var(--sans);
  font-size: var(--text-label);
  font-weight: var(--w-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.article__foot a:hover { opacity: 0.6; }

.shop-inline a { text-decoration: underline; text-underline-offset: 2px; color: var(--ink); }

/* ============================================================
 * Legal / policy / info pages (privacy, returns, shipping, contact, work-with)
 * ============================================================ */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) clamp(16px, 5vw, 24px) clamp(48px, 8vw, 96px);
}
.legal__eyebrow {
  font-size: var(--text-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sub);
  margin: 0 0 10px;
}
.legal__title {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  line-height: 1.04;
  color: var(--ink);
  margin: 0 0 8px;
}
.legal__intro {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.6;
  color: var(--sub);
  margin: 0 0 var(--space-xl);
  max-width: 56ch;
}
.legal__updated { font-size: var(--text-label); color: var(--sub); margin: 0 0 var(--space-2xl); }
.legal h2 {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  color: var(--ink);
  margin: var(--space-2xl) 0 var(--space-sm);
}
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { font-size: var(--text-body); line-height: 1.65; color: var(--ink); }
.legal p { margin: 0 0 var(--space-md); }
.legal ul { margin: 0 0 var(--space-md); padding-left: 1.1rem; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { opacity: 0.6; }
.legal strong { font-weight: 600; }

/* Rate / detail table for shipping */
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 var(--space-lg); font-size: var(--text-body); }
.legal-table th, .legal-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.legal-table th { font-weight: 600; color: var(--ink); }
.legal-table td:last-child { text-align: right; white-space: nowrap; }

/* Contact / work-with helpers */
.legal__cta {
  display: inline-flex; align-items: center; min-height: 48px;
  padding: 0 26px; margin-top: var(--space-sm);
  background: var(--ink); color: var(--bg);
  letter-spacing: 0.12em; text-transform: uppercase; font-size: var(--text-label);
  transition: opacity var(--dur-fast) var(--ease);
}
.legal__cta:hover { opacity: 0.85; text-decoration: none; }
/* Outlined "ghost" variant — secondary / utility CTAs (e.g. Book your return) */
.legal__cta--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.legal__cta--ghost:hover { background: var(--ink); color: var(--bg); opacity: 1; }
.legal__field { display: block; margin-bottom: var(--space-md); }
.legal__field span { display: block; font-size: var(--text-label); letter-spacing: 0.04em; text-transform: uppercase; color: var(--sub); margin-bottom: 6px; }
.legal__field input, .legal__field textarea {
  width: 100%; font: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px; background: var(--bg);
}
.legal__field textarea { min-height: 130px; resize: vertical; }
.legal__field input:focus-visible, .legal__field textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
