/*
Theme Name: Top10Pretty 2026
Theme URI: https://top10pretty.com/
Author: Codex
Description: Chinese beauty editorial media theme with signature ranking journeys for Top10Pretty.
Version: 1.0.0
Text Domain: top10pretty-2026
*/

:root {
  --bg: #f7f2ee;
  --paper: #fffdf9;
  --paper-2: #f0e5df;
  --ink: #21181c;
  --muted: #75666d;
  --wine: #6b2841;
  --wine-2: #4d1b2d;
  --rose: #c48a9f;
  --sage: #dbe2d8;
  --champagne: #d8b98d;
  --line: rgba(83, 48, 56, .18);
  --container: min(1200px, calc(100% - 40px));
  --shadow: 0 22px 60px rgba(77, 27, 45, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(196, 138, 159, .22), transparent 30rem),
    linear-gradient(180deg, #f8f3ef 0%, #f5eee9 100%);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; }
.container { width: var(--container); margin: 0 auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--wine); color: #fff; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(247, 242, 238, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.top-rule { height: 4px; background: linear-gradient(90deg, var(--wine), var(--rose), var(--champagne), var(--sage)); }
.head-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 178px 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand img { width: 155px; max-height: 56px; object-fit: contain; }
.brand-fallback { font-family: Georgia, serif; font-size: 28px; color: var(--wine); letter-spacing: -.03em; }
.main-nav { display: flex; justify-content: center; gap: 22px; font-size: 14px; font-weight: 600; color: #3a2c31; }
.main-nav a { padding: 10px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--wine); border-color: var(--wine); }
.head-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn, .menu-toggle {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--wine);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.menu-toggle { display: none; width: auto; padding: 0 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--wine);
  background: var(--wine);
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { background: var(--wine-2); transform: translateY(-1px); }
.btn.secondary { background: transparent; color: var(--wine); }
.btn.secondary:hover { background: rgba(107, 40, 65, .08); }
.eyebrow { color: var(--wine); font-size: 12px; font-weight: 800; letter-spacing: .12em; }

.hero { padding: 42px 0 34px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 24px; }
.hero-copy {
  min-height: 560px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(30px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-copy h1 {
  max-width: 780px;
  margin: 18px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(45px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero-copy p { max-width: 680px; margin: 0 0 28px; color: var(--muted); font-size: 18px; }
.hero-links { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; color: var(--muted); font-size: 13px; }
.hero-visual {
  min-height: 560px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #d7c3c9, #eadfd6 48%, #cfd8d1);
  box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; filter: saturate(.95) contrast(.96); }
.hero-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(33, 24, 28, .55));
}
.hero-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
}
.hero-note strong { display: block; font-family: Georgia, serif; font-size: 34px; line-height: 1.05; font-weight: 500; }
.hero-note span { color: rgba(255,255,255,.82); font-size: 14px; }

.section { padding: 66px 0; }
.section-head {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 38px;
  align-items: end;
  margin-bottom: 26px;
}
.section-head h2, .page-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.section-head p, .lead { margin: 0; color: var(--muted); max-width: 720px; font-size: 17px; }

.editorial-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.feature-card {
  min-height: 510px;
  position: relative;
  overflow: hidden;
  background: var(--wine);
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 32px;
}
.feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .68; }
.feature-card:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33,24,28,.08), rgba(33,24,28,.78)); }
.feature-card-content { position: relative; z-index: 2; max-width: 700px; }
.feature-card h3 { font-family: Georgia, serif; font-weight: 500; line-height: 1.08; font-size: clamp(30px, 4vw, 46px); margin: 10px 0; }
.feature-card p { color: rgba(255,255,255,.85); margin: 0 0 18px; }
.side-stack { display: grid; gap: 18px; }
.small-card, .article-card, .trust-card, .finder-panel, .archive-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px;
}
.small-card { min-height: 246px; display: flex; flex-direction: column; justify-content: space-between; }
.small-card h3, .article-card h3, .archive-card h3 {
  margin: 10px 0;
  font-family: Georgia, serif;
  font-size: 26px;
  line-height: 1.12;
  font-weight: 500;
}
.small-card p, .article-card p, .archive-card p { color: var(--muted); margin: 0; font-size: 14px; }
.meta { color: var(--wine); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.more { display: inline-block; margin-top: 18px; font-size: 13px; font-weight: 800; color: var(--wine); }

.signature { background: var(--wine); color: #fff; }
.signature .section-head p { color: #e8d7de; }
.ranking-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; }
.ranking-feature { border-top: 1px solid rgba(255,255,255,.3); padding-top: 26px; }
.ranking-feature .num { font-family: Georgia, serif; font-size: 92px; line-height: .9; color: #e3afbf; }
.ranking-feature h3 { font-family: Georgia, serif; font-size: clamp(32px, 4vw, 44px); line-height: 1.06; font-weight: 500; margin: 14px 0; }
.ranking-feature p { color: #e6d6dc; max-width: 620px; }
.ranking-list { border-top: 1px solid rgba(255,255,255,.28); }
.ranking-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.ranking-row .n { color: #e3afbf; font-family: Georgia, serif; font-size: 32px; }
.ranking-row h3 { margin: 0; font-size: 17px; line-height: 1.38; }
.ranking-row small { display: block; margin-top: 4px; color: #d7c6cd; }

.channel-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.channel-card {
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 172px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.channel-card b { font-family: Georgia, serif; font-size: 34px; color: var(--rose); font-weight: 500; }
.channel-card h3 { margin: 10px 0 6px; font-family: Georgia, serif; font-weight: 500; font-size: 22px; }
.channel-card p { margin: 0; color: var(--muted); font-size: 12px; }

.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.article-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; min-height: 100%; }
.article-card .thumb { aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card-content { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.article-card .more { margin-top: auto; padding-top: 18px; }

.finder { background: #302a31; color: #fff; }
.finder .section-head p { color: #cbc4ca; }
.finder-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 28px; }
.finder-copy h3 { font-family: Georgia, serif; font-size: 36px; font-weight: 500; line-height: 1.08; margin: 0 0 12px; }
.finder-copy p { color: #cbc4ca; margin: 0; }
.finder-panel { color: var(--ink); padding: 30px; }
.finder-step { display: none; }
.finder-step.active { display: block; }
.option-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.finder-option {
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px;
  text-align: left;
  cursor: pointer;
}
.finder-option.is-active { background: var(--wine); border-color: var(--wine); color: #fff; }
.finder-results { display: none; margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.finder-results.active { display: block; }

.trust-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 38px; }
.trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.trust-card { border-top: 0; border-left: 0; }
.trust-card h3 { margin: 0 0 8px; font-size: 17px; }
.trust-card p { color: var(--muted); margin: 0; font-size: 14px; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; border: 0; background: transparent; padding: 19px 0; text-align: left; display: flex; justify-content: space-between; gap: 20px; font-weight: 800; cursor: pointer; color: var(--ink); }
.faq-a { display: none; color: var(--muted); padding-bottom: 18px; max-width: 850px; }
.faq-item.open .faq-a { display: block; }

.page-hero { padding: 58px 0 32px; border-bottom: 1px solid var(--line); }
.crumb { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { border: 1px solid var(--line); background: var(--paper); color: var(--wine); padding: 10px 13px; font-size: 14px; font-weight: 700; }
.chip:hover, .chip.active { background: var(--wine); color: #fff; border-color: var(--wine); }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.archive-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; margin: -24px -24px 18px; max-width: calc(100% + 48px); }
.empty-state { background: var(--paper-2); padding: 24px; border: 1px solid var(--line); }

.single-wrap { padding: 46px 0; }
.single-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; align-items: start; }
.single-main { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 4vw, 42px); }
.single-main h1 { font-family: Georgia, serif; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -.035em; font-weight: 500; margin: 8px 0 18px; }
.single-main .post-thumb { margin: 26px 0; }
.single-main .post-thumb img { width: 100%; max-height: 560px; object-fit: cover; }
.entry-content { font-size: 17px; color: #30262a; }
.entry-content h2, .entry-content h3 { font-family: Georgia, serif; font-weight: 500; line-height: 1.18; margin-top: 34px; }
.entry-content a { color: var(--wine); border-bottom: 1px solid rgba(107,40,65,.35); }
.quick-note { border-left: 3px solid var(--wine); background: #f0e5e7; padding: 18px; margin: 24px 0; color: #3c2d33; }
.sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(107,40,65,.35) transparent;
}
.sidebar::-webkit-scrollbar { width: 5px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(107,40,65,.35); }
.side-box { background: var(--paper); border-top: 2px solid var(--wine); padding: 20px; margin: 0; }
.side-box h3 { font-family: Georgia, serif; font-size: 22px; font-weight: 500; margin: 0 0 10px; }
.side-box ul { margin: 0; padding-left: 18px; color: var(--muted); }
.side-label { display: block; margin-bottom: 7px; color: var(--wine); font-size: 12px; font-weight: 750; }
.side-search form { display: grid; grid-template-columns: minmax(0, 1fr) auto; margin-top: 15px; }
.side-search input { min-width: 0; border: 1px solid var(--line); border-right: 0; background: #fff; padding: 11px 12px; font: inherit; font-size: 14px; }
.side-search button { border: 1px solid var(--wine); background: var(--wine); color: #fff; padding: 0 14px; cursor: pointer; font-weight: 700; }
.side-search input:focus { outline: 2px solid rgba(107,40,65,.18); border-color: var(--wine); }
.side-toc ol { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); counter-reset: toc; }
.side-toc li { counter-increment: toc; display: grid; grid-template-columns: 27px 1fr; gap: 7px; border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 14px; line-height: 1.4; }
.side-toc li:before { content: counter(toc, decimal-leading-zero); color: var(--rose); font-size: 11px; font-weight: 800; padding-top: 3px; }
.side-toc li.is-subheading a { color: var(--muted); }
.side-toc a:hover { color: var(--wine); }
.side-story-list { display: grid; margin-top: 14px; }
.side-story { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.side-story-thumb { aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-2); }
.side-story-thumb img, .side-story-thumb .image-fallback { width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: transform .3s ease; }
.side-story:hover .side-story-thumb img { transform: scale(1.04); }
.side-story small { display: block; margin-bottom: 4px; color: var(--rose); font-size: 11px; }
.side-story b { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; font-size: 14px; line-height: 1.4; font-weight: 650; }
.side-link-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 14px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.side-link-grid a { display: grid; gap: 2px; padding: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .2s ease, color .2s ease; }
.side-link-grid a:hover { background: #f0e5e7; color: var(--wine); }
.side-link-grid span { font-size: 14px; font-weight: 700; }
.side-link-grid small { color: var(--muted); font-size: 11px; }
.side-location-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.side-location-links a { border: 1px solid var(--line); background: #fff; padding: 8px 10px; color: var(--wine); font-size: 13px; font-weight: 650; }
.side-location-links a:hover { background: var(--wine); border-color: var(--wine); color: #fff; }
.side-reminder { background: #302a30; color: #fff; border-top-color: var(--rose); }
.side-reminder .side-label { color: #d99aad; }
.side-reminder p { color: #d8ced3; font-size: 14px; line-height: 1.65; }
.side-cta { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 14px; font-weight: 750; }
.side-cta:hover { color: #f0b8c8; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 24px; }
.related-box { background: #fff; border: 1px solid var(--line); padding: 18px; }

.search-form { display: flex; gap: 8px; max-width: 740px; margin-top: 20px; }
.search-form input { flex: 1; border: 1px solid var(--line); background: var(--paper); padding: 13px 14px; }

.site-footer { background: var(--ink); color: #d8ccd0; margin-top: 60px; padding: 46px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 28px; }
.footer-grid h3 { color: #fff; font-family: Georgia, serif; font-weight: 500; margin: 0 0 12px; }
.footer-grid a { display: block; color: #d8ccd0; margin: 6px 0; font-size: 14px; }
.footer-brand { width: fit-content; margin: 0 0 16px !important; }
.footer-logo { display: block; width: 178px; height: auto; filter: brightness(0) invert(1); }
.footer-note { border-top: 1px solid rgba(255,255,255,.15); margin-top: 30px; padding-top: 18px; color: #bdaeb4; font-size: 13px; }

.mobile-drawer, .search-overlay { display: none; position: fixed; inset: 0; z-index: 120; background: var(--bg); padding: 84px 24px 24px; }
.mobile-drawer.open, .search-overlay.open { display: block; }
.mobile-drawer a { display: block; padding: 12px 0; font-family: Georgia, serif; font-size: 30px; border-bottom: 1px solid var(--line); }
.close-layer { position: absolute; right: 20px; top: 20px; border: 1px solid var(--line); background: var(--paper); width: 44px; height: 44px; cursor: pointer; }
.search-overlay { background: rgba(33,24,28,.98); color: #fff; }
.search-overlay input { width: 100%; max-width: 760px; background: transparent; color: #fff; border: 0; border-bottom: 1px solid rgba(255,255,255,.45); padding: 16px 0; font-size: 24px; }

@media (max-width: 1040px) {
  .head-inner { grid-template-columns: 160px 1fr auto; }
  .main-nav { display: none; }
  .menu-toggle { display: grid; }
  .hero-grid, .editorial-grid, .ranking-grid, .finder-layout, .trust-layout, .single-grid { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: repeat(3, 1fr); }
  .article-grid, .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .sidebar { position: static; max-height: none; overflow: visible; padding-right: 0; }
}

@media (max-width: 680px) {
  :root { --container: min(100% - 24px, 1200px); }
  .head-inner { min-height: 66px; grid-template-columns: 132px 1fr auto; gap: 10px; }
  .brand img { width: 128px; }
  .head-actions .btn { display: none; }
  .hero { padding-top: 24px; }
  .hero-copy { min-height: auto; }
  .hero-copy h1 { font-size: 42px; }
  .hero-copy p { font-size: 16px; }
  .hero-visual, .hero-visual img { min-height: 380px; }
  .section { padding: 48px 0; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { min-height: 410px; padding: 24px; }
  .channel-grid, .article-grid, .archive-grid, .trust-grid, .option-grid, .related-grid, .footer-grid { grid-template-columns: 1fr; }
  .ranking-row { grid-template-columns: 44px 1fr; }
  .ranking-row .more { grid-column: 2; }
  .search-form { flex-direction: column; }
}

/* 1.1 editorial scale and trust pages */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.head-inner { min-height: 72px; grid-template-columns: 205px 1fr auto; }
.brand { display: flex; align-items: center; }
.brand img { width: 190px; height: 50px; max-height: 50px; object-fit: contain; object-position: left center; }
.main-nav { font-size: 15px; gap: 24px; }
.btn { font-size: 14px; padding: 11px 16px; }
.hero-copy h1 {
  font-family: inherit;
  font-size: clamp(38px, 4.2vw, 52px);
  line-height: 1.16;
  font-weight: 650;
  letter-spacing: 0;
}
.hero-copy p { font-size: 17px; line-height: 1.65; }
.hero-note strong { font-family: inherit; font-size: 26px; line-height: 1.28; font-weight: 650; }
.section { padding: 58px 0; }
.section-head h2,
.page-title,
.single-main h1 {
  font-family: inherit;
  font-size: clamp(32px, 3.2vw, 38px);
  line-height: 1.24;
  font-weight: 650;
  letter-spacing: 0;
}
.section-head p,
.lead { font-size: 16px; line-height: 1.65; }
.small-card h3,
.article-card h3,
.archive-card h3,
.feature-card h3,
.ranking-feature h3,
.channel-card h3,
.finder-copy h3,
.side-box h3,
.entry-content h2,
.entry-content h3,
.footer-grid h3 {
  font-family: inherit;
  letter-spacing: 0;
}
.feature-card h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.3; font-weight: 650; }
.small-card h3, .article-card h3, .archive-card h3 { font-size: 21px; line-height: 1.42; font-weight: 650; }
.channel-card h3 { font-size: 20px; font-weight: 650; }
.entry-content { font-size: 16px; line-height: 1.72; }
.entry-content h2 { font-size: 28px; }
.entry-content h3 { font-size: 21px; }
.page-hero { padding: 44px 0 30px; }
.page-hero .lead { margin-top: 12px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 38px; align-items: stretch; }
.page-hero-copy { align-self: center; padding: 16px 0; }
.page-hero-media { position: relative; width: 100%; height: 300px; min-height: 0; align-self: center; overflow: hidden; background: var(--paper-2); color: #fff; }
.page-hero-media.is-editorial { margin: 0; }
.page-hero-media img, .page-hero-media .image-fallback { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center; transition: transform .35s ease; }
.page-hero-media:hover img { transform: scale(1.025); }
.page-hero-media.is-editorial:hover img { transform: none; }
.image-fallback {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 24px;
  background: linear-gradient(145deg, var(--fallback-color), #fff7ef);
  color: var(--wine-2);
}
.image-fallback span { font-size: 22px; font-weight: 700; }
.image-fallback small { font-size: 13px; }

.finder { background: #2b262c; }
.decision-tool { display: grid; grid-template-columns: 310px minmax(0, 1fr); background: var(--paper); color: var(--ink); }
.decision-intro { padding: 34px; background: #e8ded8; display: flex; flex-direction: column; }
.decision-intro h3 { margin: 12px 0; font-size: 28px; line-height: 1.3; }
.decision-intro p { margin: 0; color: #5f5258; }
.decision-progress { margin-top: auto; padding-top: 28px; display: grid; gap: 5px; font-size: 13px; color: var(--muted); }
.decision-progress span:first-child { color: var(--wine); font-weight: 750; font-size: 15px; }
.decision-workspace { padding: 30px; }
.service-picker { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.service-tab { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 10px 14px; cursor: pointer; font-weight: 650; }
.service-tab:hover, .service-tab.is-active { background: var(--wine); border-color: var(--wine); color: #fff; }
.checklist-summary { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 24px 0 18px; }
.checklist-summary h3 { margin: 5px 0 0; font-size: 24px; }
.copy-checklist { border: 1px solid var(--wine); background: transparent; color: var(--wine); padding: 9px 13px; cursor: pointer; font-weight: 700; }
.copy-checklist:hover { background: var(--wine); color: #fff; }
.checklist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.checklist-column { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.checklist-number { color: var(--rose); font-weight: 800; font-size: 13px; }
.checklist-column h4 { margin: 6px 0 14px; font-size: 17px; }
.check-item { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; padding: 10px 0; border-top: 1px solid rgba(83,48,56,.1); font-size: 14px; line-height: 1.5; cursor: pointer; }
.check-item input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--wine); }
.check-item:has(input:checked) span { color: var(--muted); text-decoration: line-through; }
.copy-status { min-height: 24px; margin: 12px 0 0; color: var(--wine); font-size: 13px; font-weight: 650; }
.tool-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tool-notes > div { background: var(--paper); padding: 24px; }
.tool-notes b { font-size: 17px; }
.tool-notes p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.about-lead, .methodology-lead { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: start; }
.about-lead h2, .methodology-lead h2, .section-kicker h2, .contact-aside h2, .criteria-layout h2, .exclusion-grid h2, .correction-inner h2 { margin: 8px 0 0; font-size: 34px; line-height: 1.3; }
.about-copy { max-width: 720px; font-size: 17px; line-height: 1.75; }
.about-copy p { margin: 0 0 18px; }
.about-visual-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 220px 220px; gap: 12px; margin-top: 36px; }
.about-visual { position: relative; overflow: hidden; color: #fff; margin: 0; }
.about-visual-1 { grid-row: 1 / 3; }
.about-visual img, .about-visual .image-fallback { width: 100%; height: 100%; object-fit: cover; }
.about-visual:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(33,24,28,.72)); }
.about-visual > span { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 17px; font-size: 16px; font-weight: 650; }
.about-stats { background: var(--wine); color: #fff; padding: 34px 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-row > div { padding: 6px 24px; border-left: 1px solid rgba(255,255,255,.25); }
.stat-row > div:first-child { border-left: 0; }
.stat-row strong { display: block; font-size: 30px; line-height: 1; }
.stat-row span { display: block; margin-top: 8px; color: #eadde2; font-size: 13px; }
.editorial-principles { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; }
.section-kicker { position: sticky; top: 110px; align-self: start; }
.text-link { display: inline-block; margin-top: 20px; color: var(--wine); font-weight: 700; border-bottom: 1px solid var(--wine); }
.principle-list, .process-list { border-top: 1px solid var(--line); }
.principle-list article, .process-list article { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.principle-list article > span, .process-list article > span { color: var(--rose); font-size: 18px; font-weight: 750; }
.principle-list h3, .process-list h3 { margin: 0 0 6px; font-size: 19px; }
.principle-list p, .process-list p { margin: 0; color: var(--muted); }
.correction-band { background: var(--sage); }
.correction-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.correction-inner p { color: #5b5558; }

.methodology-note { background: #efe5df; border-left: 3px solid var(--wine); padding: 24px; }
.methodology-note p { margin-top: 0; }
.methodology-note strong { color: var(--wine); }
.methodology-steps { background: var(--paper); }
.process-list { max-width: 900px; margin-left: auto; }
.process-list article { grid-template-columns: 70px 1fr; padding: 28px 0; }
.process-list article > span { font-size: 24px; }
.criteria-section { background: #312b31; color: #fff; }
.criteria-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 54px; }
.criteria-layout .section-kicker { position: static; }
.criteria-layout .section-kicker > p:last-child { color: #d3cbd0; }
.criteria-table { border-top: 1px solid rgba(255,255,255,.22); }
.criteria-table > div { display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.criteria-table span { color: #d8d0d5; }
.exclusion-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 58px; }
.exclusion-grid ul { margin: 0; padding: 0; list-style: none; counter-reset: excluded; border-top: 1px solid var(--line); }
.exclusion-grid li { counter-increment: excluded; position: relative; padding: 17px 0 17px 44px; border-bottom: 1px solid var(--line); }
.exclusion-grid li:before { content: "×"; position: absolute; left: 10px; color: var(--wine); font-weight: 800; }

.contact-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 54px; align-items: start; }
.contact-aside { background: #e8ded8; padding: 32px; }
.contact-aside ol { list-style: none; padding: 0; margin: 28px 0; border-top: 1px solid var(--line); }
.contact-aside li { display: grid; grid-template-columns: 38px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-aside li span { color: var(--wine); font-weight: 800; }
.contact-note { color: var(--muted); font-size: 14px; }
.contact-form-wrap { background: var(--paper); border: 1px solid var(--line); padding: 30px; }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-weight: 650; font-size: 14px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); background: #fff; padding: 12px 13px; color: var(--ink); font: inherit; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid rgba(107,40,65,.25); border-color: var(--wine); }
.contact-form .consent { display: grid; grid-template-columns: 18px 1fr; font-weight: 400; }
.contact-form .consent input { width: 16px; height: 16px; padding: 0; }
.honeypot { position: absolute !important; left: -9999px; }
.form-message { margin-bottom: 20px; padding: 18px; border-left: 3px solid; }
.form-message p { margin: 5px 0 0; }
.form-message.success { background: #e8efe5; border-color: #648158; }
.form-message.error { background: #f5e5e5; border-color: #a74e54; }

.policy-layout { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 56px; justify-content: center; align-items: start; }
.policy-nav { position: sticky; top: 108px; display: grid; border-top: 2px solid var(--wine); padding-top: 14px; }
.policy-nav strong { margin-bottom: 10px; }
.policy-nav a { padding: 7px 0; color: var(--muted); font-size: 14px; }
.policy-nav a:hover { color: var(--wine); }
.policy-content { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 5vw, 46px); }
.policy-date { color: var(--muted); font-size: 13px; margin-top: 0; }
.policy-summary { background: #efe5df; border-left: 3px solid var(--wine); padding: 18px; margin: 22px 0 32px; }
.policy-summary p { margin: 6px 0 0; }
.policy-content h2 { margin: 34px 0 10px; font-size: 22px; line-height: 1.4; }
.policy-content p { color: #4f4449; line-height: 1.8; }
.policy-content .btn { margin-top: 16px; }

.footer-link { display: block; border: 0; background: transparent; color: #d8ccd0; padding: 0; margin: 6px 0; font: inherit; font-size: 14px; cursor: pointer; }
.footer-link:hover { color: #fff; }
.popular-searches { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 44px; align-items: center; }
.popular-searches > span { margin-right: 5px; font-weight: 700; }
.popular-searches a { border: 1px solid var(--line); background: var(--paper); padding: 8px 12px; color: var(--wine); }
.popular-searches a:hover { background: var(--wine); color: #fff; }
.compact-head { margin-top: 0; }
.not-found-actions { padding-bottom: 0; }
.location-card { padding-top: 0; overflow: hidden; }
.location-media { position: relative; margin: 0 -24px 20px; }
.location-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.location-thumb img, .location-thumb .image-fallback { width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: transform .3s ease; }
.location-card:hover .location-thumb img { transform: scale(1.03); }
.location-media .photo-credit { position: absolute; right: 8px; bottom: 8px; z-index: 2; margin: 0; padding: 4px 7px; background: rgba(33,24,28,.82); color: #fff; font-size: 10px; line-height: 1.25; }
.location-media .photo-credit:hover { background: var(--wine); color: #fff; }

.methodology-gallery-section { background: #e9dfd8; }
.methodology-gallery { display: grid; grid-template-columns: .72fr 1.28fr; gap: 48px; align-items: center; }
.methodology-gallery-copy h2 { margin: 8px 0 14px; font-size: 32px; line-height: 1.32; }
.methodology-gallery-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.methodology-image-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 190px 190px; gap: 10px; }
.methodology-image { position: relative; overflow: hidden; color: #fff; background: var(--paper-2); }
.methodology-image-1 { grid-row: 1 / 3; }
.methodology-image img, .methodology-image .image-fallback { width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: transform .35s ease; }
.methodology-image:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(33,24,28,.72)); }
.methodology-image span { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; font-size: 14px; line-height: 1.4; font-weight: 650; }
.methodology-image:hover img { transform: scale(1.03); }

@media (max-width: 1040px) {
  .head-inner { grid-template-columns: 190px 1fr auto; }
  .decision-tool, .about-lead, .methodology-lead, .editorial-principles, .criteria-layout, .exclusion-grid, .contact-layout, .correction-inner { grid-template-columns: 1fr; gap: 30px; }
  .decision-intro { min-height: 250px; }
  .checklist-grid { grid-template-columns: 1fr; }
  .section-kicker, .policy-nav { position: static; }
  .policy-layout { grid-template-columns: 1fr; gap: 24px; }
  .policy-nav { grid-template-columns: repeat(3, 1fr); gap: 4px 16px; }
  .page-hero-grid, .methodology-gallery { grid-template-columns: 1fr; }
  .page-hero-media { height: 300px; min-height: 0; }
}

@media (max-width: 680px) {
  .head-inner { grid-template-columns: 150px 1fr auto; }
  .brand img { width: 145px; height: 42px; }
  .hero-copy h1 { font-size: 36px; }
  .section-head h2, .page-title, .single-main h1 { font-size: 31px; }
  .section { padding: 44px 0; }
  .decision-workspace, .decision-intro { padding: 22px; }
  .service-picker { display: grid; grid-template-columns: 1fr 1fr; }
  .checklist-summary { align-items: start; flex-direction: column; }
  .tool-notes, .stat-row, .form-row { grid-template-columns: 1fr; }
  .about-visual-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 240px); }
  .about-visual-1 { grid-row: auto; }
  .stat-row > div { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); padding: 16px 4px; }
  .stat-row > div:first-child { border-top: 0; }
  .criteria-table > div { grid-template-columns: 1fr; gap: 5px; }
  .contact-aside, .contact-form-wrap, .policy-content { padding: 22px; }
  .policy-nav { grid-template-columns: 1fr 1fr; }
  .page-hero-grid { gap: 20px; }
  .page-hero-media { height: 230px; min-height: 0; }
  .page-hero-media img, .page-hero-media .image-fallback { min-height: 0; }
  .methodology-image-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 220px); }
  .methodology-image-1 { grid-row: auto; }
}
