/* hairs.by — Tailwind v2 custom theme
   Minsk makeup/beauty studio — elegant charcoal-wine + gold.
   Spec tokens: #4F0107 #1E1A1B #974035 #AA8560 #C9B68F #F3EDE4 #A99985
   (Tailwind v2 = no JIT arbitrary values; theme colors are plain CSS here.)
*/
:root {
  --stage: #1E1A1B;
  --charcoal: #26201F;
  --wine: #4F0107;
  --terra: #974035;
  --amber: #AA8560;        /* gold accent (kept var name for shared templates) */
  --amber-bright: #C9B68F;
  --white: #F3EDE4;
  --muted: #A99985;
  --hairline: #3a302d;
}
body {
  background: var(--stage);
  color: var(--white);
  font-family: "Jost", "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1 0 auto; }
h1,h2,h3,h4 { font-family: "Playfair Display", Georgia, serif; color: var(--white); font-weight: 600; line-height: 1.2; }
h1 { font-size: 40px; } h2 { font-size: 27px; } h3 { font-size: 20px; }
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-bright); }

.bg-stage { background: var(--stage); }
.bg-charcoal { background: var(--charcoal); }
.text-amber { color: var(--amber) !important; }
.bg-amber { background: var(--amber) !important; }
.border-hairline { border-color: var(--hairline) !important; }
.text-muted { color: var(--muted) !important; }
.font-display { font-family: "Playfair Display", Georgia, serif; }
.container-x { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { background: var(--stage); border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 50; }
.site-header .brand { font-family: "Playfair Display", serif; font-size: 24px; color: var(--amber); font-weight: 700; letter-spacing: .04em; }
.site-nav a { color: var(--white); font-weight: 500; padding: 8px 12px; display: inline-block; }
.site-nav a:hover { color: var(--amber); }
.nav-burger { color: var(--amber); cursor: pointer; }

/* Hero */
.hero { position: relative; background: var(--charcoal); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .50; }
.hero__inner { position: relative; z-index: 2; padding: 96px 24px; max-width: 880px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: 52px; color: var(--white); margin-bottom: 16px; }
.hero p { color: var(--muted); font-size: 19px; }
@media (max-width: 640px){ .hero h1 { font-size: 34px; } }

/* Buttons */
.btn-amber { background: var(--amber); color: var(--stage); padding: 12px 28px; border-radius: 2px; display:inline-block; font-weight:600; letter-spacing:.03em; }
.btn-amber:hover { background: var(--amber-bright); color: var(--stage); }
.btn-ghost { border: 1px solid var(--amber); color: var(--amber); padding: 11px 26px; border-radius: 2px; display:inline-block; }
.btn-ghost:hover { background: var(--amber); color: var(--stage); }

/* Sections */
.section { padding: 64px 0; }
.section-head { margin-bottom: 36px; text-align: center; }
.section-head .kicker { color: var(--amber); text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 600; }

/* Cards */
.card { background: var(--charcoal); border: 1px solid var(--hairline); border-radius: 4px; overflow: hidden; height: 100%; }
.card img { width: 100%; height: 220px; object-fit: cover; display:block; }
.card .card-body { padding: 20px; }
.card h3 { font-size: 19px; margin: 0 0 8px; }
.card h3 a { color: var(--white); }
.card h3 a:hover { color: var(--amber); }
.card .meta { color: var(--amber); font-size: 13px; font-weight: 600; }

/* Prose */
.site-prose { color: var(--white); }
.site-prose h1,.site-prose h2,.site-prose h3 { color: var(--white); }
.site-prose a { color: var(--amber); text-decoration: underline; text-decoration-color: rgba(170,133,96,.5); }
.site-prose a:hover { color: var(--amber-bright); }
.site-prose img { max-width: 100%; height: auto; border-radius: 4px; margin: 12px 0; }
.site-prose table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.site-prose th,.site-prose td { border: 1px solid var(--hairline); padding: 8px 10px; text-align: left; }
.site-prose th { background: var(--wine); color: var(--white); }
.site-prose ul,.site-prose ol { padding-left: 1.4em; }
.site-prose blockquote { border-left: 3px solid var(--amber); padding: 6px 16px; background: var(--charcoal); margin: 16px 0; color: var(--muted); font-style: italic; }
.page-title { color: var(--white); margin: 28px 0 18px; }

/* media grid */
.media-grid { display:grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap:14px; }
.media-grid img { width:100%; height:240px; object-fit:cover; border-radius:4px; }

/* CTA */
.cta { background: var(--wine); color: var(--white); padding: 56px 0; text-align: center; }
.cta h2 { color: var(--white); }

/* breadcrumb */
.breadcrumb-bar { background: var(--charcoal); padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.breadcrumb-bar a { color: var(--amber); }
.breadcrumb-bar span { color: var(--muted); }

/* Footer */
.site-footer { background: var(--wine); border-top: 1px solid var(--hairline); padding: 48px 0 24px; }
.site-footer h4 { color: var(--white); font-size: 16px; font-family: "Playfair Display", serif; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--amber-bright); }
.site-footer ul { list-style:none; margin:0; padding:0; }
.site-footer li { margin-bottom: 6px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 16px; text-align:center; color: var(--muted); font-size: 13px; }
.separator { border:0; border-top:1px solid var(--hairline); margin:18px 0; }

/* Nav list + dropdowns */
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.nav-item { position: relative; }
.nav-sub { list-style: none; margin: 0; padding: 6px 0; position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--charcoal); border: 1px solid var(--hairline); box-shadow: 0 10px 28px rgba(0,0,0,.5);
  display: none; z-index: 60; }
.nav-item.has-sub:hover > .nav-sub, .nav-item.has-sub:focus-within > .nav-sub { display: block; }
.nav-item.has-sub > a::after { content: " \25BE"; font-size: 10px; color: var(--amber); }
.nav-sub li a { padding: 8px 16px; white-space: nowrap; }

/* CSS-only mobile nav */
#navtoggle { display: none; }
@media (max-width: 767px){
  .site-nav { display: none; width: 100%; }
  #navtoggle:checked ~ .site-nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .site-nav a { display: block; border-top: 1px solid var(--hairline); }
  .nav-sub { position: static; display: block; box-shadow: none; border: 0; background: rgba(255,255,255,.03); }
  .nav-item.has-sub > a::after { content: ""; }
}
@media (min-width: 768px){ .nav-burger { display: none; } }
