/* herstyleasia.com — The Lifestyle Voice
   Dusty rose · Emerald · Off-white · Modern editorial magazine */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
  --rose: #d4a5a5;
  --rose-deep: #b47878;
  --rose-soft: #f5e6e3;
  --emerald: #2d6a4f;
  --emerald-light: #4a8a6b;
  --emerald-soft: #dbeadd;
  --gold: #c9a961;
  --paper: #faf7f2;
  --paper-warm: #f5f0e8;
  --ink: #1a1a1a;
  --ink-soft: #454545;
  --muted: #7a7570;
  --line: #e6ded0;
  --card: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Prompt', 'DM Sans', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  font-weight: 400;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Prompt', 'DM Sans', sans-serif;
  color: var(--ink);
  line-height: 1.2;
  font-weight: 500;
}
h1 { font-size: 3.25rem; margin-bottom: 1rem; font-weight: 500; letter-spacing: -0.02em; }
h2 {
  font-size: 2rem;
  margin: 3rem 0 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--emerald);
}
h3 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: var(--ink);
  font-weight: 500;
}
h4 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--rose-deep);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
p { margin-bottom: 1.15rem; }
strong { color: var(--emerald); font-weight: 600; }

a {
  color: var(--emerald);
  text-decoration: none;
  border-bottom: 1px solid var(--rose);
  transition: all 0.2s;
  padding-bottom: 1px;
}
a:hover {
  color: var(--rose-deep);
  border-bottom-color: var(--emerald);
}

/* Masthead */
.masthead {
  background: var(--paper);
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.masthead-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.logo {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--emerald);
  text-decoration: none;
  letter-spacing: 0.15em;
  border: none;
  display: inline-block;
  text-transform: lowercase;
}
.logo em {
  color: var(--rose-deep);
  font-style: normal;
  font-weight: 300;
}
.logo-tagline {
  display: block;
  font-family: 'DM Sans', serif;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

nav {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
nav a {
  color: var(--ink);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0;
  border: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s;
}
nav a:hover {
  color: var(--emerald);
  border-bottom-color: var(--rose);
}
nav a[aria-current] {
  color: var(--emerald);
  border-bottom-color: var(--emerald);
}

/* Hero */
.hero {
  padding: 4rem 1.5rem 2.5rem;
  text-align: center;
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
}
.hero-kicker {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--rose-deep);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.hero-kicker::before,
.hero-kicker::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--rose);
  vertical-align: middle;
  margin: 0 1rem;
}
.hero h1 {
  font-size: 3.75rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--ink);
  font-weight: 500;
}
.hero h1 .em {
  color: var(--emerald);
  font-weight: 500;
}
.hero-lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 720px;
  font-weight: 400;
}
.hero img {
  max-width: 1200px;
  width: 100%;
  height: auto;
  margin-top: 3rem;
}

/* Layout */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 4rem;
  align-items: start;
}
article { min-width: 0; max-width: 780px; margin: 0 auto; }
.layout > article { margin: 0; }

/* Breadcrumbs */
.crumbs {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.crumbs a { color: var(--muted); text-decoration: none; border: none; }
.crumbs a:hover { color: var(--emerald); }
.crumbs span[aria-current] { color: var(--emerald); }

/* TOC */
.toc {
  background: var(--rose-soft);
  padding: 2rem 2.25rem;
  margin: 2.5rem 0;
  border-left: 3px solid var(--rose-deep);
}
.toc-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--rose-deep);
  margin-bottom: 1.25rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.toc ol {
  list-style: none;
  counter-reset: toc;
  columns: 2;
  column-gap: 2.5rem;
}
.toc li {
  counter-increment: toc;
  padding: 0.4rem 0 0.4rem 2.5rem;
  position: relative;
  break-inside: avoid;
  font-size: 0.98rem;
}
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.4rem;
  color: var(--rose-deep);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}
.toc a { color: var(--ink); border: none; }
.toc a:hover { color: var(--emerald); }

/* Card grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.card {
  background: var(--card);
  padding: 1.75rem;
  border: 1px solid var(--line);
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--rose); }
.card-num {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--rose-deep);
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
}
.card h4 {
  color: var(--ink);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  text-transform: none;
  letter-spacing: 0;
}
.card p:last-child { margin-bottom: 0; }

/* Pull quote / editorial quote */
.pullquote {
  font-family: 'Prompt', sans-serif;
  font-weight: 300;
  font-size: 1.85rem;
  line-height: 1.35;
  color: var(--emerald);
  padding: 2rem 0;
  margin: 2.5rem 0;
  border-top: 1px solid var(--rose);
  border-bottom: 1px solid var(--rose);
  text-align: center;
  letter-spacing: -0.01em;
}
.pullquote-attr {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 1rem;
  font-weight: 500;
}

/* Callout */
.callout {
  background: var(--emerald-soft);
  padding: 1.75rem 2rem;
  margin: 2rem 0;
  border-left: 3px solid var(--emerald);
  font-size: 1rem;
}
.callout-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--emerald);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.warning-box {
  background: var(--rose-soft);
  padding: 1.5rem 1.85rem;
  margin: 1.75rem 0;
  border-left: 3px solid var(--rose-deep);
  font-size: 1rem;
}
.warning-box-label {
  color: var(--rose-deep);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 0.5rem;
  display: block;
}

/* Sidebar */
aside.sidebar {
  position: sticky;
  top: 2rem;
}
.sidebar-block {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.sidebar-block:last-child { border-bottom: none; }
.sidebar-block h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.25em;
}
.sidebar-block ul { list-style: none; }
.sidebar-block li {
  padding: 0.4rem 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.sidebar-block a { color: var(--ink); border: none; }
.sidebar-block a:hover { color: var(--emerald); }

/* Data / stats callout */
.stat-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  text-align: center;
}
.stat-num {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--emerald);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: 0.6rem;
  font-weight: 500;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.94rem;
}
th, td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
th {
  background: var(--paper-warm);
  color: var(--emerald);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Lists */
ul.body-list, ol.body-list { margin: 1rem 0 1.5rem 1.5rem; }
ul.body-list li, ol.body-list li { margin-bottom: 0.55rem; }
ul.body-list li::marker { color: var(--rose-deep); }

/* Editorial steps */
.editorial-steps {
  list-style: none;
  counter-reset: es;
  margin: 2rem 0;
}
.editorial-steps li {
  counter-increment: es;
  padding: 1.5rem 0 1.5rem 5rem;
  position: relative;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}
.editorial-steps li:last-child { border-bottom: 1px solid var(--line); }
.editorial-steps li::before {
  content: counter(es, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--rose);
  line-height: 1;
  letter-spacing: -0.02em;
}
.editorial-steps li strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Hero image on secondaries */
.article-hero {
  width: 100%;
  height: auto;
  margin: 1.5rem 0 2.5rem;
}

/* FAQ */
.faq { margin: 2.5rem 0; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  padding: 1.35rem 3rem 1.35rem 0;
  cursor: pointer;
  font-family: 'Prompt', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--ink);
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute;
  right: 0.75rem;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--emerald);
  border-bottom: 1.5px solid var(--emerald);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > *:not(summary) {
  padding: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

/* Author bio */
.author-bio {
  padding: 3rem 0;
  margin: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2.5rem;
  align-items: center;
}
.author-bio img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
}
.author-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--rose-deep);
  letter-spacing: 0.3em;
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.author-name {
  font-family: 'Prompt', sans-serif;
  font-size: 1.75rem;
  color: var(--emerald);
  font-weight: 500;
  margin-bottom: 0.15rem;
}
.author-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.author-bio p { font-size: 1rem; line-height: 1.7; margin-bottom: 0; }

/* Related */
.related {
  padding: 2.5rem 0;
  margin: 3rem 0 1rem;
  border-top: 1px solid var(--line);
}
.related h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--rose-deep);
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.related ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}
.related li { padding-right: 1rem; }
.related a {
  color: var(--ink);
  border: none;
  font-family: 'Prompt', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.related a:hover { color: var(--emerald); }
.related-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Disclaimer */
.disclaimer {
  background: var(--paper-warm);
  padding: 1.75rem 2rem;
  margin: 3rem 0 1.5rem;
  border-left: 3px solid var(--rose-deep);
  font-size: 0.92rem;
  line-height: 1.75;
}
.disclaimer-label {
  color: var(--rose-deep);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 0.65rem;
  display: block;
}
.disclaimer strong { color: var(--ink); }
.disclaimer a { color: var(--emerald); border-bottom-color: var(--rose); }

/* Footer */
footer {
  background: var(--emerald);
  color: rgba(250, 247, 242, 0.9);
  padding: 4rem 1.5rem 2rem;
  margin-top: 5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
footer h5 {
  color: var(--rose-soft);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
  font-weight: 600;
}
footer p, footer li { font-size: 0.92rem; line-height: 1.65; }
footer ul { list-style: none; }
footer li { margin-bottom: 0.4rem; }
footer a { color: rgba(250, 247, 242, 0.75); border: none; }
footer a:hover { color: var(--rose-soft); }
.footer-legal {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 247, 242, 0.15);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: rgba(250, 247, 242, 0.55);
  text-align: center;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  aside.sidebar { position: static; }
  .toc ol { columns: 1; }
  .hero h1 { font-size: 2.5rem; }
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.6rem; }
  .pullquote { font-size: 1.4rem; }
  .author-bio { grid-template-columns: 1fr; text-align: center; }
  .author-bio img { margin: 0 auto; }
}
@media (max-width: 768px) {
  main { padding: 2rem 1rem; }
  .hero { padding: 2.5rem 1rem 1.5rem; }
  .masthead { padding: 1.25rem 1rem; }
  .logo { font-size: 2rem; }
  nav ul { gap: 1.25rem; }
  nav a { font-size: 0.7rem; letter-spacing: 0.1em; }
  .footer-inner { grid-template-columns: 1fr; }
  .stat-num { font-size: 2.25rem; }
}
