/* Her Piercing Guide (herpiercingguide.com) - Bespoke V3 Editorial Design System */
:root {
  --bg: #FFFFFF;
  --surface: #F4F7F5;
  --border: #E1E6E3;
  --ink: #111111;
  --muted: #4B524E;
  --accent: #194D3E;
  --accent-dark: #11372C;
  --footer-bg: #132A23;
  --footer-ink: #FFFFFF;
  --font-display: 'Barlow', -apple-system, sans-serif;
  --font-body: 'Lora', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.promo-bar {
  background: #141210; color: #EAE4DA; text-align: center;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 9px 16px; font-family: var(--font-body);
}
.site-header {
  background: var(--bg); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 40;
}
.site-header-inner {
  max-width: 1340px; margin: 0 auto; padding: 0 40px; min-height: 78px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand-link { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-link svg { display: block; max-width: 100%; height: auto; }
.main-nav { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.main-nav a {
  text-decoration: none; font-size: 12px; letter-spacing: 0.11em;
  text-transform: uppercase; font-weight: 600; color: var(--ink);
  font-family: 'Archivo', 'Plus Jakarta Sans', 'Barlow', 'Manrope', 'IBM Plex Sans', sans-serif;
}
.main-nav a:hover { color: var(--accent); }
.btn-primary {
  display: inline-block; background: var(--ink); color: #FFFFFF;
  padding: 14px 28px; text-decoration: none; font-size: 12px;
  letter-spacing: 0.13em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--ink); transition: background 0.18s;
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-accent {
  display: inline-block; background: var(--accent); color: #FFFFFF;
  padding: 14px 28px; text-decoration: none; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  border: 1px solid var(--accent);
}
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-underline {
  display: inline-block; font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 600; text-decoration: none;
  border-bottom: 1.5px solid var(--accent); padding-bottom: 4px;
}
.section { padding: 64px 0; }
.section-tight { padding: 44px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1.5px solid var(--ink); padding-bottom: 12px; margin-bottom: 32px; gap: 16px;
}
.section-head h2 {
  margin: 0; font-family: var(--font-display); font-size: 32px; font-weight: 500;
  letter-spacing: -0.015em; line-height: 1.15;
}
.section-head a {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--accent); text-decoration: none;
}
.kicker {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700; color: var(--accent); margin-bottom: 10px;
}
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.art-card { display: flex; flex-direction: column; text-decoration: none; background: var(--bg); }
.art-card .thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); margin-bottom: 14px; }
.art-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.art-card:hover .thumb img { transform: scale(1.03); }
.art-card h3 {
  margin: 0 0 8px; font-family: var(--font-display); font-size: 22px;
  line-height: 1.2; font-weight: 500; color: var(--ink);
}
.art-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
/* Article page typography */
.breadcrumb {
  font-size: 12px; color: var(--muted); padding: 20px 0 8px;
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
}
.breadcrumb a { text-decoration: none; color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.article-hero { padding: 20px 0 36px; border-bottom: 1px solid var(--border); }
.article-hero h1 {
  font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.08; font-weight: 500; letter-spacing: -0.02em; margin: 10px 0 18px;
}
.article-dek { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0 0 20px; max-width: 62ch; }
.article-meta {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap;
}
.article-figure { margin: 32px 0; }
.article-figure img { width: 100%; max-height: 540px; object-fit: cover; }
.article-figure figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.takeaways {
  background: var(--surface); border-left: 3px solid var(--accent);
  padding: 24px 28px; margin: 32px 0;
}
.takeaways h2 {
  margin: 0 0 12px; font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); font-family: var(--font-body); font-weight: 700;
}
.takeaways ul { margin: 0; padding-left: 20px; }
.takeaways li { margin-bottom: 8px; }
.prose h2 {
  font-family: var(--font-display); font-size: 30px; line-height: 1.18;
  font-weight: 500; margin: 44px 0 14px; color: var(--ink);
}
.prose h3 {
  font-family: var(--font-display); font-size: 22px; line-height: 1.25;
  font-weight: 500; margin: 28px 0 10px;
}
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose table {
  width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 14.5px;
  background: #FFFFFF; border: 1px solid var(--border);
}
.prose th, .prose td {
  text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border);
}
.prose th {
  background: var(--surface); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 700; color: var(--ink);
}
.editor-pick {
  border: 1px solid var(--border); background: var(--surface);
  padding: 26px 28px; margin: 36px 0; display: flex; justify-content: space-between;
  align-items: center; gap: 24px; flex-wrap: wrap;
}
.editor-pick h3 { margin: 4px 0 6px; font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.editor-pick p { margin: 0; font-size: 14.5px; color: var(--muted); max-width: 52ch; }
.faq-section { margin: 48px 0; border-top: 1.5px solid var(--ink); padding-top: 28px; }
.faq-section h2 { font-family: var(--font-display); font-size: 30px; margin: 0 0 20px; font-weight: 500; }
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item summary { font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::after { content: "+"; color: var(--accent); font-size: 20px; }
.faq-item[open] summary::after { content: "-"; }
.faq-item p { margin: 12px 0 0; color: var(--muted); }
.sources-box { margin: 36px 0; padding: 20px 24px; border: 1px solid var(--border); font-size: 13.5px; color: var(--muted); }
.sources-box h3 { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.sources-box ul { margin: 0; padding-left: 18px; }
.related-box { margin: 48px 0 20px; padding-top: 32px; border-top: 1.5px solid var(--ink); }
.related-box h2 { font-family: var(--font-display); font-size: 28px; margin: 0 0 24px; font-weight: 500; }
/* Interactive Tool Box */
.tool-panel {
  background: #FFFFFF; border: 1px solid var(--border); padding: 32px; margin: 28px 0;
}
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 22px; }
.tool-field label {
  display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 8px; color: var(--ink);
}
.tool-field select, .tool-field input {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--border);
  background: var(--bg); color: var(--ink); font-family: inherit; font-size: 15px;
}
.tool-result {
  background: var(--surface); border-left: 3px solid var(--accent);
  padding: 22px 24px; margin-top: 20px;
}
.tool-result h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 26px; font-weight: 500; }
/* Site-specific V3 Heroes */
.hero-es { position: relative; min-height: 640px; overflow: hidden; background: #1C1411; color: #FAF7F2; display: flex; flex-direction: column; justify-content: center; }
.hero-es .bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 82% 42%; filter: brightness(0.92); }
.hero-es .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,13,11,0.88) 0%, rgba(18,13,11,0.58) 46%, rgba(18,13,11,0.06) 76%, rgba(18,13,11,0.0) 100%); }
.hero-es .inner { position: relative; z-index: 2; max-width: 1340px; width: 100%; margin: 0 auto; padding: 72px 64px 96px; }
.hero-es .col { max-width: 600px; }
.hero-es h1 { font-family: var(--font-display); font-size: clamp(42px, 5vw, 66px); line-height: 1.02; font-weight: 400; margin: 0 0 22px; color: #FFFFFF; }
.hero-es .lead { font-size: 16px; line-height: 1.65; color: rgba(250,247,242,0.86); margin: 0 0 34px; max-width: 44ch; }
.hero-es .strip { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,0.16); background: rgba(16,11,10,0.52); backdrop-filter: blur(8px); }
.hero-es .strip-inner { max-width: 1340px; margin: 0 auto; padding: 16px 64px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; letter-spacing: 0.08em; }
.hero-es .strip-inner a { color: rgba(250,247,242,0.88); text-decoration: none; }
.hero-es .strip-inner a:hover { color: #DEC18A; }

.hero-btl { max-width: 1320px; margin: 0 auto; padding: 40px 48px 0; }
.hero-btl-stage { display: grid; grid-template-columns: 1.42fr 1fr; gap: 52px; align-items: center; }
.hero-btl-photo { aspect-ratio: 16 / 11; overflow: hidden; background: var(--surface); }
.hero-btl-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-btl h1 { font-family: var(--font-display); font-size: clamp(38px, 4.2vw, 54px); line-height: 1.05; font-weight: 400; margin: 0 0 20px; }
.hero-btl-dispatches { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.btl-d { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center; text-decoration: none; }
.btl-d img { width: 104px; height: 104px; object-fit: cover; }
.btl-d h3 { margin: 4px 0; font-family: var(--font-display); font-size: 21px; line-height: 1.15; font-weight: 500; }
.btl-d p { margin: 0; font-size: 12.5px; color: var(--muted); }

.hero-hpg { max-width: 1340px; margin: 0 auto; padding: 28px 40px 40px; display: grid; grid-template-columns: 1fr 330px; gap: 36px; }
.hpg-triptych { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 6px; height: 470px; }
.hpg-triptych img { width: 100%; height: 100%; object-fit: cover; }
.hpg-overlap { position: relative; margin: -86px 56px 0 32px; background: #FFFFFF; padding: 26px 32px 20px; border-top: 3px solid var(--accent); }
.hpg-overlap h1 { font-family: var(--font-display); font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; font-weight: 700; margin: 8px 0 12px; }
.hpg-overlap a.story-link { text-decoration: none; }
.hpg-sidebar { border-left: 1px solid var(--border); padding-left: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.hpg-issue { background: #132A23; padding: 18px 18px 20px; color: #FFFFFF; text-decoration: none; display: block; }
.hpg-issue img { width: 100%; height: 290px; object-fit: cover; margin-bottom: 14px; }
.hpg-issue h2 { font-family: 'Lora', Georgia, serif; font-size: 22px; line-height: 1.22; font-weight: 500; margin: 6px 0 12px; }
.hpg-briefs { border-top: 2px solid #111111; padding-top: 14px; }
.hpg-briefs a { display: block; text-decoration: none; font-family: 'Lora', Georgia, serif; font-size: 18px; line-height: 1.28; padding: 10px 0; border-bottom: 1px solid var(--border); }

.hero-bpe { max-width: 1340px; margin: 0 auto; padding: 32px 48px 44px; }
.hero-bpe-head { text-align: center; margin-bottom: 28px; }
.hero-bpe-head h1 { font-family: var(--font-display); font-size: clamp(34px, 3.8vw, 46px); line-height: 1.08; font-weight: 400; margin: 8px 0 0; }
.bpe-col { text-decoration: none; display: flex; flex-direction: column; }
.bpe-col .pic { aspect-ratio: 3 / 4; overflow: hidden; background: #2D1E1B; margin-bottom: 14px; }
.bpe-col .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s; }
.bpe-col:hover .pic img { transform: scale(1.03); }
.bpe-col h3 { font-family: var(--font-display); font-size: 20px; line-height: 1.2; font-weight: 500; margin: 4px 0 6px; }
.bpe-col p { margin: 0; font-size: 12.5px; color: var(--muted); }

.hero-tpg-banner { position: relative; min-height: 450px; overflow: hidden; background: #14161A; color: #FFFFFF; display: flex; align-items: center; justify-content: center; text-align: center; padding: 64px 24px; }
.hero-tpg-banner .bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; filter: brightness(0.36) contrast(1.06); }
.hero-tpg-banner .scrim { position: absolute; inset: 0; background: radial-gradient(ellipse 68% 72% at 50% 54%, rgba(16,18,22,0.74) 0%, rgba(16,18,22,0.22) 100%); }
.hero-tpg-banner .inner { position: relative; z-index: 2; max-width: 820px; width: 100%; }
.hero-tpg-banner h1 { font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 56px); line-height: 1.04; font-weight: 800; letter-spacing: -0.025em; margin: 12px 0 26px; }
.tpg-search { background: #FFFFFF; display: flex; align-items: center; padding: 6px 6px 6px 18px; box-shadow: 0 20px 50px rgba(0,0,0,0.36); max-width: 760px; margin: 0 auto; }
.tpg-search input { flex: 1; border: 0; outline: 0; font-size: 15px; color: #14161A; font-family: inherit; padding: 10px 8px 10px 0; }
.tpg-search select { border: 0; border-left: 1px solid #E1E3E8; padding: 0 16px; height: 34px; font-size: 14px; font-weight: 600; color: #14161A; background: transparent; font-family: inherit; }
.tpg-search button { height: 48px; padding: 0 26px; background: var(--accent); color: #FFFFFF; border: 0; font-weight: 600; font-size: 14px; cursor: pointer; font-family: inherit; }
.city-card { background: #FFFFFF; border: 1px solid var(--border); text-decoration: none; display: flex; flex-direction: column; overflow: hidden; }
.city-card .c-img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.city-card .c-img img { width: 100%; height: 100%; object-fit: cover; }
.city-card .c-price { position: absolute; bottom: 10px; right: 10px; background: #14161A; color: #FFFFFF; font-size: 12px; font-weight: 600; padding: 4px 9px; }
.city-card .c-body { padding: 14px 16px; }
.city-card h3 { margin: 0 0 4px; font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.city-card p { margin: 0; font-size: 12.5px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 56px 0 36px; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-col h4 { margin: 0 0 14px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.72; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; font-size: 14px; }
.footer-col a { color: var(--footer-ink); opacity: 0.85; text-decoration: none; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }
.footer-disc { font-size: 12.5px; opacity: 0.72; line-height: 1.6; max-width: 56ch; margin-top: 16px; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; font-size: 12px; opacity: 0.65; flex-wrap: wrap; gap: 12px; }

@media (max-width: 980px) {
  .site-header-inner { padding: 12px 20px; flex-wrap: wrap; }
  .wrap { padding: 0 20px; }
  .hero-btl-stage, .hero-hpg, .card-grid-3, .card-grid-4, .card-grid-5, .hero-btl-dispatches, .footer-grid, .tool-grid {
    grid-template-columns: 1fr;
  }
  .hpg-triptych { height: 260px; }
  .hpg-overlap { margin: -40px 12px 0; padding: 20px; }
  .hpg-sidebar { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; }
  .tpg-search { flex-direction: column; padding: 10px; gap: 8px; }
  .tpg-search input, .tpg-search select, .tpg-search button { width: 100%; border-left: 0; }
}
