/* Licensval - Refined editorial, muted rose + charcoal + soft gold */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --rose: #C08497;
  --rose-dark: #9B6478;
  --rose-light: #E8D5DB;
  --rose-pale: #F5EBEE;
  --charcoal: #2B2B2B;
  --charcoal-light: #4A4A4A;
  --gold: #B8935A;
  --gold-dark: #8C6E42;
  --gold-light: #E8D9BF;
  --cream: #FBFAF7;
  --paper: #FFFFFF;
  --border: #E5DFDC;
  --muted: #726A67;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', 'Playfair Display', 'Times New Roman', serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

/* Header - refined editorial masthead */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
}
.logo {
  font-family: 'Georgia', 'Playfair Display', serif;
  font-size: 28px;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: -0.5px;
  font-weight: 400;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.logo em {
  font-style: italic;
  color: var(--rose-dark);
  font-weight: 400;
}
.logo::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-left: 4px;
  transform: translateY(-3px);
}
nav ul { list-style: none; display: flex; gap: 0; }
nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 16px;
  font-family: 'Georgia', serif;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  position: relative;
}
nav a:hover { color: var(--rose-dark); }
nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: var(--rose-dark);
  transform: scaleX(0);
  transition: transform 0.2s;
}
nav a:hover::after { transform: scaleX(1); }

/* Hero - editorial magazine cover */
.hero {
  background: var(--paper);
  padding: 72px 0 56px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.hero .kicker {
  color: var(--gold-dark);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-family: 'Georgia', serif;
  font-weight: 700;
  text-align: center;
}
.hero .kicker::before {
  content: "——— ";
  color: var(--rose);
  letter-spacing: 0;
}
.hero .kicker::after {
  content: " ———";
  color: var(--rose);
  letter-spacing: 0;
}
.hero h1 {
  font-family: 'Georgia', 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.1;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: 24px;
  font-weight: 400;
  letter-spacing: -1px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
}
.hero h1 strong {
  font-weight: 400;
  font-style: normal;
  color: var(--rose-dark);
}
.hero p.lede {
  font-size: 20px;
  line-height: 1.65;
  color: var(--charcoal-light);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  font-family: 'Georgia', serif;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
  font-family: 'Georgia', serif;
  letter-spacing: 0.5px;
}
.hero-meta strong { color: var(--charcoal); font-weight: 400; font-style: italic; }
.hero-image {
  width: 100%;
  height: auto;
  margin-top: 40px;
  border-radius: 2px;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 14px 0;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.5px;
}
.breadcrumbs a { color: var(--rose-dark); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Main */
main { padding: 64px 0 40px; background: var(--cream); }
article { max-width: 720px; margin: 0 auto; }

article h2 {
  font-family: 'Georgia', 'Playfair Display', serif;
  font-size: 32px;
  color: var(--charcoal);
  margin: 56px 0 24px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  font-weight: 400;
  scroll-margin-top: 40px;
  position: relative;
  padding-top: 20px;
}
article h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--rose-dark);
}
article h3 {
  font-family: 'Georgia', serif;
  font-size: 22px;
  color: var(--charcoal);
  margin: 36px 0 14px;
  font-weight: 400;
  font-style: italic;
}
article p { margin-bottom: 22px; }
article p:first-of-type {
  font-size: 20px;
  line-height: 1.65;
  color: var(--charcoal-light);
  font-family: 'Georgia', serif;
}
article ul, article ol { margin: 22px 0 26px 24px; }
article li { margin-bottom: 12px; }
article a { color: var(--rose-dark); text-decoration: underline; text-decoration-color: var(--rose-light); text-underline-offset: 3px; transition: color 0.15s; }
article a:hover { color: var(--gold-dark); text-decoration-color: var(--gold); }
article strong { color: var(--charcoal); font-weight: 700; }
article em { color: var(--charcoal); font-style: italic; }

/* TOC - refined editorial */
.toc {
  background: var(--rose-pale);
  border: 1px solid var(--rose-light);
  padding: 32px 36px;
  margin: 40px 0 48px;
  position: relative;
}
.toc h2 {
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--rose-dark) !important;
  margin: 0 0 20px !important;
  padding-top: 0 !important;
  font-weight: 700;
  text-align: center;
  font-style: normal;
}
.toc h2::before { display: none; }
.toc ol {
  list-style: none;
  margin: 0;
  columns: 2;
  column-gap: 40px;
  counter-reset: toc-counter;
}
.toc li {
  padding: 6px 0;
  margin: 0;
  break-inside: avoid;
  padding-left: 32px;
  position: relative;
  font-size: 15px;
  counter-increment: toc-counter;
}
.toc li::before {
  content: "0" counter(toc-counter);
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--gold-dark);
  font-family: 'Georgia', serif;
  font-size: 13px;
  font-style: italic;
  min-width: 26px;
}
.toc li:nth-child(n+10)::before {
  content: counter(toc-counter);
}
.toc a {
  color: var(--charcoal);
  text-decoration: none;
  border: none;
}
.toc a:hover { color: var(--rose-dark); }

/* Article images */
.article-image {
  width: 100%;
  height: auto;
  margin: 40px 0 8px;
  display: block;
}
.article-image + em {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 36px;
  letter-spacing: 0.5px;
  font-style: italic;
}

/* Pullquote */
.pullquote {
  font-size: 26px;
  font-style: italic;
  color: var(--rose-dark);
  line-height: 1.4;
  margin: 40px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-family: 'Georgia', 'Playfair Display', serif;
}
.pullquote::before {
  content: '"';
  color: var(--gold);
  font-size: 42px;
  vertical-align: -10px;
  margin-right: 6px;
}
.pullquote::after {
  content: '"';
  color: var(--gold);
  font-size: 42px;
  vertical-align: -10px;
  margin-left: 4px;
}

/* Callout/tip box */
.tip {
  background: var(--gold-light);
  border-left: 3px solid var(--gold-dark);
  padding: 22px 28px;
  margin: 32px 0;
  font-size: 16px;
  font-family: 'Georgia', serif;
}
.tip strong { color: var(--charcoal); }
.tip::before {
  content: "Notera";
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
  font-weight: 700;
}

/* Tables */
table {
  width: 100%;
  margin: 32px 0;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--paper);
  font-family: 'Georgia', serif;
}
table th {
  background: var(--charcoal);
  color: var(--cream);
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
table tr:nth-child(even) { background: var(--rose-pale); }
table tr:last-child td { border-bottom: 1px solid var(--gold); }

/* FAQ */
.faq-section { margin: 60px 0; }
.faq-section > h2 { text-align: center; }
.faq-section > h2::before { left: 50%; transform: translateX(-50%); }
.faq-section details {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 24px 28px;
  margin-bottom: 12px;
}
.faq-section details[open] { background: var(--rose-pale); border-color: var(--rose-light); }
.faq-section summary {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: var(--charcoal);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  font-weight: 400;
  font-style: italic;
}
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -4px;
  color: var(--gold-dark);
  font-size: 28px;
  font-weight: 300;
  font-style: normal;
}
.faq-section details[open] summary::after { content: "−"; }
.faq-section details p {
  margin-top: 16px;
  color: var(--charcoal-light);
  font-size: 16px;
  line-height: 1.7;
  font-style: normal;
}
.faq-section details p:first-of-type { font-size: 16px; color: var(--charcoal-light); }

/* Disclaimer */
.disclaimer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 36px 40px;
  margin: 56px 0;
  border-left: 4px solid var(--gold);
}
.disclaimer h3 {
  color: var(--rose-light);
  margin: 0 0 16px;
  font-size: 22px;
  font-family: 'Georgia', serif;
  font-style: italic;
  font-weight: 400;
}
.disclaimer p { color: var(--cream); margin-bottom: 12px; font-size: 16px; }
.disclaimer p:first-of-type { color: var(--cream); font-size: 16px; }
.disclaimer a { color: var(--gold-light); text-decoration: underline; text-decoration-color: var(--gold); }
.disclaimer a:hover { color: white; }

/* Author bio */
.author-bio {
  display: flex;
  gap: 28px;
  background: var(--paper);
  padding: 32px;
  margin: 56px 0;
  align-items: center;
  border: 1px solid var(--border);
  border-top: 3px solid var(--rose-dark);
}
.author-bio img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  filter: sepia(0.05);
}
.author-bio .who {
  font-family: 'Georgia', 'Playfair Display', serif;
  font-size: 22px;
  color: var(--charcoal);
  margin-bottom: 4px;
  font-style: italic;
}
.author-bio .role {
  font-size: 11px;
  color: var(--gold-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
}
.author-bio p { font-size: 15px; line-height: 1.65; margin: 0; color: var(--charcoal-light); }
.author-bio p:first-of-type { font-size: 15px; color: var(--charcoal-light); }

/* Related pages */
.related {
  background: var(--paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px;
  margin: 56px 0;
}
.related h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold-dark);
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
  font-family: 'Georgia', serif;
  font-style: normal;
}
.related ul { list-style: none; margin: 0; }
.related li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-family: 'Georgia', serif;
}
.related li:last-child { border-bottom: none; }
.related a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 18px;
  font-style: italic;
  border: none;
}
.related a:hover { color: var(--rose-dark); }

/* Footer */
footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 64px 0 28px;
  margin-top: 64px;
  border-top: 3px solid var(--rose-dark);
}
footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
footer h4 {
  font-family: 'Georgia', serif;
  font-size: 13px;
  color: var(--rose-light);
  margin-bottom: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
}
footer ul { list-style: none; }
footer li { padding: 6px 0; }
footer a {
  color: var(--cream);
  text-decoration: none;
  font-size: 15px;
  font-family: 'Georgia', serif;
}
footer a:hover { color: var(--rose-light); }
footer p { font-size: 15px; line-height: 1.7; color: #A8A0A0; font-family: 'Georgia', serif; }
.copyright {
  text-align: center;
  padding-top: 32px;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: #8A8080;
  letter-spacing: 1.5px;
  font-family: 'Georgia', serif;
}

/* Contact form */
.contact-form {
  background: var(--paper);
  padding: 36px;
  margin: 24px 0;
  border: 1px solid var(--border);
  border-top: 3px solid var(--rose-dark);
}
.contact-form label {
  display: block;
  color: var(--charcoal);
  margin: 16px 0 6px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  font-family: 'Georgia', serif;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: 'Georgia', serif;
  font-size: 16px;
  color: var(--charcoal);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--rose-dark);
}
.contact-form button {
  background: var(--charcoal);
  color: var(--cream);
  border: none;
  padding: 14px 36px;
  font-family: 'Georgia', serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 24px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background 0.2s;
}
.contact-form button:hover { background: var(--rose-dark); }

/* Responsive */
@media (max-width: 768px) {
  .site-header .container { flex-direction: column; gap: 16px; padding: 20px 24px; }
  nav ul { gap: 0; flex-wrap: wrap; justify-content: center; }
  nav a { font-size: 12px; padding: 6px 10px; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 32px; }
  .hero p.lede { font-size: 17px; }
  article h2 { font-size: 26px; }
  article p:first-of-type { font-size: 17px; }
  .toc ol { columns: 1; }
  .author-bio { flex-direction: column; text-align: center; }
  footer .container { grid-template-columns: 1fr; gap: 32px; }
  .pullquote { font-size: 20px; }
  table { font-size: 13px; }
  table th, table td { padding: 10px 12px; }
}

/* Print */
@media print {
  .site-header, footer, nav, .contact-form button { display: none; }
  body { background: white; }
  article { max-width: 100%; }
}
