/*
Theme Name: Dana Hébért | Beauty, Healing & Purpose
Theme URI: https://dana-hebert-beauty-purpose.fabulista1.chatgpt.site
Author: Beauty By Dezign
Description: A custom WordPress theme for Dana Hébért's Beauty By Dezign, Pink Empress, and Dezign to Thrive initiatives.
Version: 1.1.3
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: dana-beauty-healing-purpose
*/

:root {
  --sage-900: #424A28;
  --sage-800: #566752;
  --sage-700: #799C41;
  --sage-500: #599A68;
  --sage-200: #CAE2A8;
  --sage-100: #DFF9EA;
  --bright-green: #2CB978;
  --cream: #FFF9F0;
  --paper: #FFFFFF;
  --ink: #231F20;
  --muted: #566752;
  --silver: #C7CDCA;
  --line: rgba(121, 156, 65, .25);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  padding: .75rem 1rem;
  border-radius: 4px;
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.4rem clamp(1.25rem, 5vw, 5rem);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  aspect-ratio: 1;
  border: 1px solid var(--sage-700);
  border-radius: 50%;
  color: var(--sage-900);
  font-family: var(--serif);
  font-size: .85rem;
}
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a { font-size: .9rem; font-weight: 600; text-decoration: none; }
.site-nav a:not(.nav-cta):hover { color: var(--sage-700); }
.nav-cta {
  border: 1px solid var(--sage-900);
  border-radius: 999px;
  padding: .65rem 1rem;
  transition: .2s ease;
}
.nav-cta:hover { background: var(--sage-900); color: white; }
.menu-button { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 780px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  overflow: hidden;
  padding: 8rem clamp(1.25rem, 7vw, 7rem) 5rem;
  background: linear-gradient(135deg, var(--paper) 0 60%, var(--sage-700) 60% 100%);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 350px;
  height: 350px;
  left: -220px;
  bottom: 40px;
  border: 1px solid var(--silver);
  border-radius: 50%;
}
.hero-copy { max-width: 760px; }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--sage-700);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 1.5rem;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6vw, 6.7rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .98;
}
h1 em { color: var(--sage-700); font-weight: 500; }
.hero-intro {
  max-width: 650px;
  margin-bottom: 2rem;
  color: #444a45;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 3.35rem;
  border-radius: 999px;
  padding: .7rem 1.35rem;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--bright-green); color: var(--ink); }
.button-primary:hover { background: var(--sage-700); color: white; }
.text-link { color: var(--sage-900); font-size: .9rem; font-weight: 700; text-underline-offset: .3rem; }
.proof {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.proof div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .7rem; max-width: 150px; }
.proof strong { color: var(--sage-800); font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1; }
.proof span { color: var(--muted); font-size: .72rem; line-height: 1.3; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 520px; }
.arch-card {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 2.6rem;
  overflow: hidden;
  border-radius: 220px 220px 18px 18px;
  background: var(--sage-900);
  color: white;
  box-shadow: 0 30px 80px rgba(47,59,50,.18);
}
.arch-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(35,31,32,.24) 64%, rgba(35,31,32,.9) 100%);
  pointer-events: none;
}
.hero-portrait {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.arch-card blockquote { position: relative; z-index: 2; margin: 0 0 1.2rem; font-family: var(--serif); font-size: 2rem; line-height: 1.15; }
.arch-card p { position: relative; z-index: 2; margin: 0; color: var(--sage-200); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.silver-orbit { position: absolute; z-index: 1; border: 1px solid var(--silver); border-radius: 50%; }
.orbit-one { width: 330px; height: 330px; top: 0; right: -70px; }
.orbit-two { width: 150px; height: 150px; bottom: -20px; left: 0; background: rgba(255,253,248,.48); }

.work-section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 7rem); background: var(--cream); }
.section-heading { max-width: 720px; margin-bottom: 3rem; }
h2 { font-family: var(--serif); font-size: clamp(2.35rem, 4.4vw, 4.4rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
.section-heading > p:last-child { max-width: 640px; color: var(--muted); font-size: 1.05rem; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar { position: relative; min-height: 515px; padding: 2.4rem clamp(1.5rem, 2.4vw, 2.5rem); border-right: 1px solid var(--line); background: rgba(255,255,255,.18); transition: background .25s ease, transform .25s ease; }
.pillar:last-child { border-right: 0; }
.pillar:hover { z-index: 2; background: var(--paper); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(47,59,50,.08); }
.pillar.featured { overflow: hidden; isolation: isolate; background: var(--sage-900); color: white; }
.pillar.featured::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 86%;
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: url("assets/images/beauty-by-dezign-logo.png") center / contain no-repeat;
  opacity: .15;
  pointer-events: none;
}
.pillar.featured > * { position: relative; z-index: 1; }
.pillar.featured:hover { background: var(--sage-900); }
.pillar-number { position: absolute; right: 1.5rem; top: 1rem; color: var(--silver); font-family: var(--serif); font-size: 4rem; opacity: .35; }
.pillar-label { margin-bottom: 4rem; color: var(--sage-700); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.featured .pillar-label { color: var(--sage-200); }
.pillar h3 { margin-bottom: 1rem; font-family: var(--serif); font-size: clamp(1.8rem, 2.4vw, 2.5rem); font-weight: 600; line-height: 1.1; }
.pillar > p:not(.pillar-label) { color: var(--muted); }
.featured > p:not(.pillar-label) { color: #e1e5df; }
.pillar ul { margin: 1.7rem 0 2rem; padding: 0; list-style: none; }
.pillar li { position: relative; padding: .45rem 0 .45rem 1.2rem; color: var(--muted); font-size: .88rem; }
.featured li { color: #e1e5df; }
.pillar li::before { content: ""; position: absolute; width: .38rem; height: .38rem; top: 1rem; left: 0; border-radius: 50%; background: var(--sage-500); }
.pillar a, .status-link { display: inline-block; color: inherit; font-size: .82rem; font-weight: 700; text-underline-offset: .3rem; }
.status-link { color: var(--sage-700); }

.about-section { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; background: var(--paper); }
.about-copy { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 7rem); }
.about-copy > p:not(.eyebrow):not(.signature):not(.credentials) { max-width: 690px; color: var(--muted); font-size: 1.02rem; }
.signature { margin: 2rem 0 0; color: var(--sage-700); font-family: var(--serif); font-size: 3.2rem; font-style: italic; line-height: 1; }
.credentials { max-width: 600px; margin-top: .6rem; color: var(--sage-800); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.visit-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 7rem); background: var(--sage-900); color: white; }
.visit-card .eyebrow { color: var(--sage-200); }
.visit-card h2 { margin-bottom: 1.3rem; font-size: clamp(2.3rem, 3.6vw, 3.8rem); }
.visit-card > p:not(.eyebrow) { max-width: 520px; color: #dce1dc; }
.visit-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; padding: 1.7rem 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.visit-details span { display: block; margin-bottom: .5rem; color: var(--sage-200); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.visit-details address, .visit-details a { color: white; font-size: .88rem; font-style: normal; line-height: 1.55; }
.button-light { align-self: flex-start; background: var(--cream); color: var(--sage-900); }

footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 2rem clamp(1.25rem, 5vw, 5rem); background: #131714; color: var(--silver); }
.footer-brand { color: white; }
.footer-brand .brand-mark { border-color: var(--silver); color: white; }
footer p { margin: 0; font-size: .72rem; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 9rem; }
  .hero-copy { max-width: 800px; }
  .hero-art { min-height: 450px; }
  .arch-card { min-height: 470px; }
  .pillar-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .pillar { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar-label { margin-bottom: 2rem; }
  .about-section { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { align-items: flex-start; background: rgba(255,253,248,.92); backdrop-filter: blur(12px); }
  .menu-button { display: grid; gap: 5px; width: 2.75rem; height: 2.75rem; place-content: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; }
  .menu-button span:not(.sr-only) { display: block; width: 1.1rem; height: 1px; background: var(--ink); transition: .2s ease; }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(3px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-3px) rotate(-45deg); }
  .site-nav { position: absolute; top: 5.3rem; left: 1.25rem; right: 1.25rem; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 20px 60px rgba(47,59,50,.15); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .9rem; }
  .nav-cta { margin-top: .4rem; text-align: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 3rem; padding-top: 9.5rem; }
  h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .proof { justify-content: space-between; gap: 1rem; }
  .proof div { grid-template-columns: 1fr; gap: .35rem; }
  .hero-art { min-height: 430px; }
  .arch-card { width: min(90%, 390px); min-height: 430px; padding: 2.2rem 1.7rem; }
  .arch-card blockquote { font-size: 1.65rem; }
  .orbit-one { right: -40px; }
  .pillar { padding: 2rem 1.5rem; }
  .visit-details { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* WordPress interior pages */
.wp-page-shell { min-height: 70vh; padding: 10rem clamp(1.25rem, 7vw, 7rem) 6rem; background: var(--cream); }
.wp-page-content { width: min(820px, 100%); margin: 0 auto; }
.wp-page-content h1 { margin-bottom: 1.5rem; font-family: var(--serif); font-size: clamp(2.8rem, 7vw, 5.5rem); line-height: 1; }
.wp-page-content h2, .wp-page-content h3 { margin-top: 2rem; }
.wp-page-content a { color: var(--sage-800); text-underline-offset: .2rem; }
.wp-page-content img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (min-width: 783px) {
  .admin-bar .site-header { top: 32px; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
