/* The Court: 54 Thrones blog article styles.
   Every rule is scoped to .tc-article so nothing leaks into the rest of the site.
   Fonts: Bodoni Moda (headlines), Libre Caslon Text (body), Archivo (labels), Mrs Saint Delafield (sign-off). */

.tc-article {
  --tc-ink: #2C1E18;
  --tc-page: #F9F4ED;
  --tc-card: #FEFCF9;
  --tc-rust: #A05E39;
  --tc-rust-dark: #7A4527;
  --tc-peach: #D99A7A;
  --tc-apricot: #E7A875;
  --tc-sand: #EBDBCF;
  --tc-gold: #DFC9AD;
  --tc-line: #CFC2B5;
  --tc-muted: #62554E;
  --tc-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --tc-serif: 'Libre Caslon Text', Georgia, serif;
  --tc-sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --tc-gap: clamp(36px, 5vw, 56px);
  box-sizing: border-box;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px clamp(16px, 6vw, 80px) 96px;
  background: var(--tc-page);
  color: var(--tc-ink);
  font-family: var(--tc-serif);
  font-size: 17px;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  gap: var(--tc-gap);
  overflow-wrap: break-word;
}
.tc-article *, .tc-article *::before, .tc-article *::after { box-sizing: border-box; }
.tc-article p, .tc-article h1, .tc-article h2, .tc-article h3, .tc-article ul, .tc-article ol, .tc-article figure { margin: 0; }
.tc-article img { display: block; max-width: 100%; }
.tc-article a { color: var(--tc-rust); text-underline-offset: 3px; }
.tc-article a:hover { color: var(--tc-rust-dark); }

/* Labels and small type */
.tc-masthead { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--tc-ink); padding-bottom: 10px; font-family: var(--tc-sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; }
.tc-label { font-family: var(--tc-sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--tc-rust); line-height: 1.4; }
.tc-label--ink { color: var(--tc-ink); }
.tc-caption { font-family: var(--tc-sans); font-size: 12px; line-height: 1.5; }
.tc-byline { font-family: var(--tc-sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; line-height: 1.4; }
.tc-subhead { font-family: var(--tc-sans); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; }

/* Headline block */
.tc-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.tc-head--left { align-items: flex-start; text-align: left; }
.tc-kicker { font-family: var(--tc-sans); font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; line-height: 1.5; }
.tc-title { font-family: var(--tc-display); font-weight: 400; font-size: clamp(56px, 12vw, 160px); line-height: .9; letter-spacing: -.02em; text-transform: uppercase; }
.tc-title--italic { font-style: italic; text-transform: none; letter-spacing: -.03em; }
.tc-title--black { font-weight: 900; font-size: clamp(48px, 9vw, 120px); }
.tc-title--wide { font-size: clamp(88px, 17vw, 200px); letter-spacing: .02em; }
.tc-deck { max-width: 700px; font-family: var(--tc-display); font-style: italic; font-size: clamp(20px, 2.4vw, 27px); line-height: 1.35; }
.tc-banner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; border-top: 1px solid var(--tc-ink); border-bottom: 1px solid var(--tc-ink); padding: 24px 0 18px; }
.tc-banner__line { font-family: var(--tc-display); font-size: clamp(12px, 1.5vw, 18px); letter-spacing: .3em; text-transform: uppercase; line-height: 1.5; }

/* Display headings inside the article */
.tc-h2 { font-family: var(--tc-display); font-weight: 400; font-size: clamp(36px, 4.6vw, 56px); line-height: .95; text-transform: uppercase; }
.tc-h2--italic { font-style: italic; text-transform: none; font-size: clamp(44px, 6vw, 72px); }
.tc-h3 { font-family: var(--tc-display); font-weight: 400; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.08; }

/* Photo collage: overlapping frames on desktop, a swipe row on phones.
   Each frame sets --c (grid-column) and --r (grid-row) inline. Rows are 20px tall. */
.tc-collage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 20px; column-gap: 0; position: relative; }
.tc-collage > * { grid-column: var(--c); grid-row: var(--r); position: relative; z-index: var(--z, 1); min-height: 0; }
.tc-collage img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.tc-frame { border: 10px solid var(--tc-page); }
.tc-block { background: var(--block, var(--tc-peach)); padding: 22px; display: flex; align-items: flex-end; }
.tc-collage__quote { font-family: var(--tc-display); font-style: italic; font-size: clamp(20px, 2.3vw, 30px); line-height: 1.2; }
.tc-collage__caption { align-self: start; }

/* Text columns */
.tc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--tc-gap); padding: 0 clamp(0px, 4vw, 60px); }
.tc-cols--3 { grid-template-columns: 300px repeat(2, minmax(0, 1fr)); padding: 0; gap: 48px; }
.tc-cols--rule { border-top: 1px solid var(--tc-ink); padding-top: 40px; }
.tc-stack { display: flex; flex-direction: column; gap: 18px; }
.tc-drop::first-letter { float: left; font-family: var(--tc-display); font-size: 96px; line-height: .8; padding: 8px 12px 0 0; }
.tc-aside { font-family: var(--tc-display); font-style: italic; font-size: clamp(28px, 3vw, 40px); line-height: 1.18; }

/* Pull quote */
.tc-pull { text-align: center; padding: 16px clamp(0px, 8vw, 100px); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.tc-pull blockquote { margin: 0; font-family: var(--tc-display); font-style: italic; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.2; }

/* Bands and splits (image beside text) */
.tc-split { display: grid; grid-template-columns: var(--media, 420px) minmax(0, 1fr); gap: var(--tc-gap); align-items: var(--align, center); }
.tc-split--rev { grid-template-columns: minmax(0, 1fr) var(--media, 420px); }
.tc-split--rev > .tc-split__media { order: 2; }
.tc-split__media img { width: 100%; height: var(--h, 480px); object-fit: cover; object-position: var(--pos, center); }
.tc-band { padding: clamp(24px, 4vw, 56px); background: var(--tc-sand); }
.tc-band--card { background: var(--tc-card); }
.tc-overlap { position: relative; height: var(--h, 540px); }
.tc-overlap img { position: absolute; object-fit: cover; }
.tc-overlap img:first-child { left: 0; top: 0; width: 82%; height: 85%; }
.tc-overlap img:nth-child(2) { right: 0; bottom: 0; width: 52%; height: 48%; border: 10px solid var(--tc-page); }
.tc-band--card .tc-overlap img:nth-child(2) { border-color: var(--tc-card); }

/* Numbered rows (rules, day-of steps) */
.tc-rows { display: flex; flex-direction: column; gap: 12px; }
.tc-row { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; border-bottom: 1px solid var(--tc-line); padding-bottom: 12px; line-height: 1.65; }
.tc-num { font-family: var(--tc-display); font-size: 32px; line-height: 1; }
.tc-lines p { border-bottom: 1px solid var(--tc-line); padding-bottom: 12px; line-height: 1.6; }
.tc-lines p + p { margin-top: 14px; }
.tc-key { font-family: var(--tc-sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-right: 8px; }

/* Ritual steps with a product beside each */
.tc-steps { border-top: 1px solid var(--tc-ink); }
.tc-step { display: grid; grid-template-columns: 160px minmax(0, 1fr) 260px; gap: 40px; padding: 36px 0; border-bottom: 1px solid var(--tc-line); align-items: start; }
.tc-step__num { font-family: var(--tc-display); font-size: 96px; line-height: .85; }
.tc-step__body { display: flex; flex-direction: column; gap: 10px; max-width: 600px; }

/* Ranked list */
.tc-rank { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; border-top: 1px solid var(--tc-ink); }
.tc-rank__item { display: grid; grid-template-columns: minmax(110px, max-content) minmax(0, 1fr); gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--tc-line); }
.tc-rank__num { font-family: var(--tc-display); font-size: 110px; line-height: .8; white-space: nowrap; letter-spacing: -.05em; }
.tc-rank__item h2 { font-family: var(--tc-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05; text-transform: uppercase; margin-bottom: 10px; }
.tc-rank__item p { font-size: 16px; line-height: 1.7; }
.tc-rank__item p + p { margin-top: 10px; }
.tc-sig { font-family: var(--tc-display); font-style: italic; font-size: 19px; }

/* Product callouts. data-handle lets the site swap in live price and stock. */
.tc-product { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--tc-ink) !important; }
.tc-product__img { background: var(--tc-card); display: flex; align-items: center; justify-content: center; height: var(--ph, 220px); }
.tc-product__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tc-product__name { font-family: var(--tc-sans); font-size: 13px; font-weight: 600; line-height: 1.35; }
.tc-product__note { font-family: var(--tc-sans); font-size: 12px; line-height: 1.45; }
.tc-product__cta { font-family: var(--tc-sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--tc-rust); text-decoration: underline; }
.tc-product--row { flex-direction: row; align-items: center; gap: 14px; }
.tc-product--row .tc-product__img { width: var(--pw, 80px); height: var(--pw, 80px); flex-shrink: 0; }
.tc-product--boxed { background: var(--tc-card); padding: 10px; max-width: 380px; }
.tc-product.is-sold-out .tc-product__price { display: none; }

/* Shop strip */
.tc-shop { background: var(--tc-ink); color: var(--tc-page); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.tc-shop__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.tc-shop .tc-product { color: var(--tc-page) !important; }
.tc-shop .tc-product__price { font-family: var(--tc-display); font-size: 20px; }

/* Get the Look: a big photo with products on both sides */
.tc-look { display: grid; grid-template-columns: 270px minmax(0, 1fr) 260px; gap: 30px; align-items: start; }
.tc-look__side { display: flex; flex-direction: column; gap: 56px; padding-top: 20px; }
.tc-look__side .tc-product { position: relative; --ph: 180px; }
.tc-look__side .tc-product__img { width: 180px; background: transparent; }
.tc-look__side--left .tc-product::after, .tc-look__side--right .tc-product::after { content: ""; position: absolute; top: 90px; height: 1px; background: var(--tc-ink); width: 60px; }
.tc-look__side--left .tc-product::after { left: 190px; width: 110px; }
.tc-look__side--right .tc-product::after { right: calc(100% + 0px); width: 50px; }
.tc-look__photo { position: relative; }
.tc-look__photo img { width: 100%; height: 900px; object-fit: cover; object-position: center 30%; }
.tc-look__card { position: absolute; right: -40px; bottom: 40px; width: min(420px, 90%); background: var(--tc-page); padding: 24px 28px; display: flex; flex-direction: column; gap: 8px; }
.tc-look__card strong { font-family: var(--tc-display); font-weight: 700; font-size: 34px; line-height: 1; }
.tc-look__card span { font-family: var(--tc-display); font-size: 22px; line-height: 1.15; text-transform: uppercase; }
.tc-look__card .tc-byline { font-family: var(--tc-sans); font-size: 12px; }

/* Quick answers */
.tc-faq { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 64px; border-top: 1px solid var(--tc-ink); padding-top: 32px; }
.tc-faq__list { display: flex; flex-direction: column; gap: 24px; }
.tc-faq__item { border-bottom: 1px solid var(--tc-line); padding-bottom: 20px; }
.tc-faq__item h3 { font-family: var(--tc-display); font-style: italic; font-weight: 400; font-size: 24px; line-height: 1.3; margin-bottom: 6px; }
.tc-faq__item p { font-size: 16px; line-height: 1.7; }

/* Grid of product favorites */
.tc-favs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 56px; row-gap: 48px; border-top: 1px solid var(--tc-ink); padding-top: 40px; }
.tc-favs .tc-product:nth-child(3n+2) { margin-top: 60px; }
.tc-favs .tc-product:nth-child(3n) { margin-top: 20px; }

/* Closing blocks */
.tc-join { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; border-top: 1px solid var(--tc-ink); padding-top: 32px; }
.tc-join__title { font-family: var(--tc-display); font-size: clamp(30px, 3.4vw, 40px); text-transform: uppercase; line-height: 1.1; }
.tc-join p { max-width: 660px; }
.tc-note { font-family: var(--tc-sans); font-size: 12px; color: var(--tc-muted); }
.tc-signoff { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.tc-signoff__script { font-family: 'Mrs Saint Delafield', cursive; font-size: 64px; line-height: 1; }
.tc-next { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 32px; border-top: 1px solid var(--tc-ink); padding-top: 24px; }
.tc-next a { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--tc-ink); }
.tc-next img { width: 100%; height: 220px; object-fit: cover; }
.tc-next__title { font-family: var(--tc-display); font-size: 26px; line-height: 1.1; }

/* Tablet */
@media (max-width: 1024px) {
  .tc-step { grid-template-columns: 90px minmax(0, 1fr) 200px; gap: 24px; }
  .tc-step__num { font-size: 72px; }
  .tc-look { grid-template-columns: 200px minmax(0, 1fr) 200px; }
  .tc-look__side .tc-product::after { display: none; }
  .tc-look__side .tc-product__img { width: 150px; --ph: 150px; }
  .tc-shop__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tc-cols--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc-cols--3 > :first-child { grid-column: 1 / -1; }
}

/* Phone: one column, photos stack, collages become a swipe row, product callouts become a 2 up grid. */
@media (max-width: 760px) {
  .tc-article { font-size: 16px; padding-top: 24px; padding-bottom: 64px; }
  .tc-masthead { font-size: 10px; letter-spacing: .14em; }
  .tc-masthead > :nth-child(2) { display: none; }
  .tc-collage { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * clamp(16px, 6vw, 80px)); padding: 0 clamp(16px, 6vw, 80px); -webkit-overflow-scrolling: touch; }
  .tc-collage > * { flex: 0 0 78%; scroll-snap-align: center; height: 420px; }
  .tc-collage > .tc-collage__caption { flex-basis: 60%; height: auto; align-self: flex-end; }
  .tc-frame { border: 0; }
  .tc-block { height: 420px; }
  .tc-cols, .tc-cols--3, .tc-split, .tc-split--rev, .tc-rank, .tc-faq, .tc-step, .tc-look, .tc-favs { grid-template-columns: minmax(0, 1fr); padding-left: 0; padding-right: 0; }
  .tc-cols, .tc-cols--3 { gap: 18px; }
  .tc-split--rev > .tc-split__media { order: 0; }
  .tc-split__media img { height: auto; aspect-ratio: 4 / 5; }
  .tc-overlap { height: 420px; }
  .tc-step { gap: 14px; padding: 28px 0; }
  .tc-step__num { font-size: 64px; }
  .tc-step .tc-product { --ph: 180px; flex-direction: row; align-items: center; gap: 14px; }
  .tc-step .tc-product .tc-product__img { width: 110px; height: 110px; flex-shrink: 0; }
  .tc-rank__item { grid-template-columns: minmax(64px, max-content) minmax(0, 1fr); gap: 14px; }
  .tc-rank__num { font-size: 72px; }
  .tc-faq { gap: 20px; }
  .tc-shop__grid, .tc-look__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .tc-look__side { padding-top: 0; }
  .tc-look__photo { order: -1; }
  .tc-look__photo img { height: auto; aspect-ratio: 3 / 4; }
  .tc-look__card { position: static; width: 100%; padding: 18px 0 0; }
  .tc-look__side .tc-product__img { width: 100%; }
  .tc-favs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 32px; }
  .tc-favs .tc-product:nth-child(n) { margin-top: 0; }
  .tc-favs .tc-product:nth-child(even) { margin-top: 32px; }
  .tc-next { grid-template-columns: minmax(0, 1fr); }
  .tc-next img { height: 200px; }
  .tc-pull { padding: 0; }
  .tc-drop::first-letter { font-size: 72px; }
}
