/*
Theme Name: Pretty Locs Signature 2026 V3
Theme URI: https://prettylocsofafrica.com/
Description: A standalone luxury WordPress theme built exclusively for Pretty Locs of Africa.
Author: Pretty Locs of Africa
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: pretty-locs-signature
*/

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

:root {
  --pl-ink: #171411;
  --pl-ivory: #f7f1e8;
  --pl-paper: #fffdf9;
  --pl-gold: #b58a4b;
  --pl-gold-light: #d8bb83;
  --pl-bright-gold: #ffd700;
  --pl-wine: #5b2133;
  --pl-sage: #495248;
  --pl-line: rgba(23, 20, 17, .14);
  --pl-shadow: 0 24px 70px rgba(29, 22, 17, .13);
  --pl-serif: "EB Garamond", Garamond, Georgia, serif;
  --pl-sans: "Montserrat", Arial, sans-serif;
  --pl-width: 1240px;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--pl-ink);
  background: var(--pl-paper);
  font-family: var(--pl-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.pl-menu-open, body.pl-modal-open { overflow: hidden; }
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: var(--pl-wine); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--pl-gold); }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  color: var(--pl-ink);
  font-family: var(--pl-serif);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(3.7rem, 8vw, 7.7rem); }
h2 { font-size: clamp(2.7rem, 5vw, 5rem); }
h3 { font-size: clamp(1.75rem, 2.7vw, 2.55rem); }
p { margin: 0 0 1.35rem; }
::selection { color: var(--pl-paper); background: var(--pl-wine); }

.pl-container { width: min(calc(100% - 40px), var(--pl-width)); margin-inline: auto; }
.pl-kicker {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--pl-gold);
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.pl-kicker::before { width: 42px; height: 1px; background: currentColor; content: ""; }
.pl-button, .wp-block-button__link, .elementor-button, input[type="submit"], button[type="submit"] {
  display: inline-flex;
  min-height: 54px;
  padding: 15px 27px;
  border: 1px solid var(--pl-ink);
  border-radius: 0;
  align-items: center;
  justify-content: center;
  color: var(--pl-paper) !important;
  background: var(--pl-ink) !important;
  box-shadow: none;
  font-family: var(--pl-sans);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.pl-button:hover, .elementor-button:hover, input[type="submit"]:hover, button[type="submit"]:hover {
  border-color: var(--pl-wine);
  color: var(--pl-paper) !important;
  background: var(--pl-wine) !important;
  transform: translateY(-2px);
}
.pl-button--light { border-color: var(--pl-paper); color: var(--pl-ink) !important; background: var(--pl-paper) !important; }
.pl-button--light:hover { border-color: var(--pl-gold-light); color: var(--pl-ink) !important; background: var(--pl-gold-light) !important; }
.pl-button--ghost { color: var(--pl-ink) !important; background: transparent !important; }
.pl-button--ghost:hover { color: var(--pl-paper) !important; background: var(--pl-ink) !important; }

/* Header */
.pl-site-header {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.16);
  color: var(--pl-paper);
  background: var(--pl-ink);
}
.home .pl-site-header { position: absolute; top: 0; right: 0; left: 0; background: linear-gradient(to bottom, rgba(0,0,0,.64), transparent); }
.pl-header-inner { display: grid; min-height: 100px; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.pl-wordmark { display: inline-block; text-align: center; text-decoration: none; text-shadow: 0 0 18px rgba(255,255,255,.18), 0 2px 0 rgba(0,0,0,.4); }
.pl-wordmark strong { display: block; color: #fff !important; font-family: var(--pl-serif); font-size: clamp(1.65rem, 2.5vw, 2.25rem); font-weight: 900; line-height: .85; letter-spacing: -.01em; }
.pl-wordmark small { display: block; margin-top: 8px; color: var(--pl-gold-light) !important; font-size: .55rem; font-weight: 900; letter-spacing: .32em; text-transform: uppercase; }
.pl-header-brand { display: inline-flex; align-items: center; gap: 13px; text-align: left; }
.pl-header-brand img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; mix-blend-mode: screen; }
.pl-header-brand strong { font-size: clamp(1.35rem, 2vw, 1.9rem); }
.pl-header-brand small { margin-top: 5px; }
.pl-nav ul { display: flex; margin: 0; padding: 0; align-items: center; gap: clamp(18px, 2.2vw, 35px); list-style: none; }
.pl-nav a { color: rgba(255,255,255,.85); font-size: .67rem; font-weight: 600; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.pl-nav a:hover, .pl-nav .current-menu-item > a { color: var(--pl-gold-light); }
.pl-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.pl-header-phone { color: rgba(255,255,255,.78); font-size: .7rem; font-weight: 600; letter-spacing: .07em; text-decoration: none; }
.pl-menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.45); color: white; background: transparent; }
.pl-menu-toggle span, .pl-menu-toggle::before, .pl-menu-toggle::after { display: block; width: 20px; height: 1px; margin: 5px auto; background: currentColor; content: ""; }

/* Home */
.pl-hero { position: relative; display: grid; min-height: 92vh; overflow: hidden; color: var(--pl-paper); background: var(--pl-ink); place-items: end start; }
.pl-hero-media { position: absolute; inset: 0; }
.pl-hero-media::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,12,10,.89) 0%, rgba(14,12,10,.62) 44%, rgba(14,12,10,.15) 75%), linear-gradient(0deg, rgba(14,12,10,.56), transparent 55%); content: ""; }
.pl-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(.78) contrast(1.04); }
.pl-hero-content { position: relative; z-index: 2; max-width: 850px; padding: 210px 0 100px; }
.pl-hero h1 { max-width: 820px; color: var(--pl-paper); }
.pl-hero h1 em { color: var(--pl-gold-light); font-weight: 500; }
.pl-hero-copy { max-width: 610px; margin: 28px 0 34px; color: rgba(255,255,255,.76); font-size: clamp(1rem, 1.5vw, 1.17rem); }
.pl-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pl-hero-note { position: absolute; right: 4vw; bottom: 44px; z-index: 2; color: rgba(255,255,255,.7); font-size: .63rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; writing-mode: vertical-rl; }
.pl-ad-carousel { padding: clamp(46px, 6vw, 82px) 0; background: var(--pl-ink); }
.pl-carousel-viewport { position: relative; width: min(calc(100% - 40px), 1380px); height: clamp(420px, 58vw, 760px); margin-inline: auto; overflow: hidden; border: 1px solid rgba(255,255,255,.14); background: #0c0b0a; }
.pl-carousel-track { position: relative; width: 100%; height: 100%; }
.pl-carousel-slide { position: absolute; inset: 0; display: grid; margin: 0; padding: clamp(10px, 2vw, 24px); opacity: 0; pointer-events: none; place-items: center; transform: translateX(3%); transition: opacity .65s ease, transform .65s ease; }
.pl-carousel-slide.pl-active { opacity: 1; pointer-events: auto; transform: none; }
.pl-carousel-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pl-carousel-arrow { position: absolute; top: 50%; z-index: 3; display: grid; width: 54px; height: 54px; padding: 0; border: 1px solid rgba(255,255,255,.52); border-radius: 50%; color: var(--pl-paper); background: rgba(15,13,11,.72); font-size: 1.35rem; line-height: 1; cursor: pointer; place-items: center; transform: translateY(-50%); transition: background .25s, border-color .25s; }
.pl-carousel-arrow:hover, .pl-carousel-arrow:focus-visible { border-color: var(--pl-gold-light); background: var(--pl-wine); }
.pl-carousel-prev { left: 22px; }
.pl-carousel-next { right: 22px; }
.pl-carousel-dots { position: absolute; right: 0; bottom: 20px; left: 0; z-index: 3; display: flex; justify-content: center; gap: 9px; }
.pl-carousel-dots button { width: 9px; height: 9px; min-height: 0; padding: 0; border: 1px solid var(--pl-paper); border-radius: 50%; background: transparent; cursor: pointer; }
.pl-carousel-dots button[aria-selected="true"] { border-color: var(--pl-gold-light); background: var(--pl-gold-light); }
.pl-marquee { overflow: hidden; border-block: 1px solid var(--pl-line); background: var(--pl-ivory); }
.pl-marquee-track { display: flex; width: max-content; padding: 18px 0; gap: 32px; animation: pl-scroll 25s linear infinite; }
.pl-marquee span { color: var(--pl-wine); font-family: var(--pl-serif); font-size: 1.12rem; font-style: italic; white-space: nowrap; }
.pl-marquee b { color: var(--pl-gold); font-weight: 400; }
@keyframes pl-scroll { to { transform: translateX(-50%); } }

.pl-section { padding: clamp(88px, 11vw, 150px) 0; }
.pl-intro { background: var(--pl-paper); }
.pl-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(50px, 8vw, 120px); }
.pl-intro-media { position: relative; min-height: 660px; }
.pl-intro-media img { position: absolute; width: 72%; height: 78%; object-fit: cover; box-shadow: var(--pl-shadow); }
.pl-intro-media img:first-child { top: 0; left: 0; }
.pl-intro-media img:last-child { right: 0; bottom: 0; width: 48%; height: 50%; border: 12px solid var(--pl-paper); }
.pl-intro-copy { max-width: 570px; }
.pl-intro-copy h2 em { color: var(--pl-wine); font-weight: 500; }
.pl-intro-copy > p { color: #5f574f; }
.pl-stats { display: grid; margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--pl-line); grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pl-stat strong { display: block; color: var(--pl-wine); font-family: var(--pl-serif); font-size: 2.25rem; font-weight: 500; line-height: 1; }
.pl-stat span { color: #756c64; font-size: .62rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }

.pl-signature-showcase { position: relative; overflow: hidden; color: var(--pl-paper); background: linear-gradient(135deg, #171411 0%, #211817 45%, #5b2133 100%); }
.pl-signature-showcase::before { position: absolute; inset: 7%; border: 1px solid rgba(216,187,131,.2); content: ""; pointer-events: none; }
.pl-signature-grid { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(42px, 7vw, 100px); }
.pl-signature-copy h2 { color: var(--pl-paper); }
.pl-signature-copy h2 em { color: var(--pl-gold-light); font-weight: 500; }
.pl-signature-copy p { max-width: 540px; color: rgba(255,255,255,.7); }
.pl-signature-points { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.pl-signature-points span { padding: 9px 12px; border: 1px solid rgba(216,187,131,.35); color: var(--pl-gold-light); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pl-signature-collage { position: relative; display: grid; min-height: 800px; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(10, minmax(54px, 1fr)); gap: 14px; }
.pl-signature-collage::before { position: absolute; inset: 6% 9% 8% 5%; border: 1px solid rgba(216,187,131,.32); content: ""; pointer-events: none; transform: rotate(-1.5deg); }
.pl-signature-collage figure { position: relative; margin: 0; overflow: hidden; border: 1px solid rgba(216,187,131,.24); background: #0f0d0b; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.pl-signature-collage .pl-showcase-feature { z-index: 2; grid-column: 1 / 7; grid-row: 2 / 10; }
.pl-signature-collage figure:nth-child(2) { grid-column: 7 / 11; grid-row: 1 / 5; }
.pl-signature-collage figure:nth-child(3) { z-index: 3; grid-column: 10 / 13; grid-row: 3 / 7; }
.pl-signature-collage figure:nth-child(4) { grid-column: 7 / 13; grid-row: 6 / 11; }
.pl-signature-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pl-signature-collage figure:hover img { transform: scale(1.04); }
.pl-signature-collage figcaption { position: absolute; right: 12px; bottom: 12px; left: 12px; padding: 8px 10px; color: var(--pl-paper); background: rgba(15,13,11,.72); font-size: .55rem; font-weight: 800; letter-spacing: .12em; text-align: center; text-transform: uppercase; backdrop-filter: blur(8px); }

.pl-services { color: var(--pl-paper); background: var(--pl-ink); }
.pl-section-head { display: flex; margin-bottom: 54px; align-items: end; justify-content: space-between; gap: 30px; }
.pl-section-head h2 { max-width: 720px; color: inherit; }
.pl-section-head p { max-width: 440px; margin: 0; color: rgba(255,255,255,.58); }
.pl-services-grid { display: grid; border-top: 1px solid rgba(255,255,255,.15); grid-template-columns: repeat(2, 1fr); }
.pl-service-card { position: relative; display: grid; min-height: 250px; padding: 42px 34px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); color: var(--pl-paper) !important; grid-template-columns: 70px 1fr auto; align-items: start; gap: 22px; text-decoration: none; transition: background .3s; }
.pl-service-card:nth-child(2n) { border-right: 0; }
.pl-service-card:hover { color: var(--pl-paper); background: var(--pl-wine); }
.pl-service-number { color: var(--pl-gold-light); font-family: var(--pl-serif); font-size: 1.5rem; font-style: italic; }
.pl-service-card h3 { color: var(--pl-paper); }
.pl-service-card p { max-width: 410px; margin: 0; color: rgba(255,255,255,.58); font-size: .85rem; }
.pl-service-arrow { font-size: 1.7rem; transition: transform .3s; }
.pl-service-card:hover .pl-service-arrow { transform: translate(5px,-5px); }

.pl-gallery { background: var(--pl-ivory); }
.pl-gallery .pl-section-head { color: var(--pl-ink); }
.pl-gallery .pl-section-head p { color: #655c54; }
.pl-gallery-grid { display: grid; height: 760px; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.pl-gallery-grid figure { position: relative; margin: 0; overflow: hidden; background: #ddd2c4; }
.pl-gallery-grid figure:first-child { grid-row: 1 / 3; }
.pl-gallery-grid figure:nth-child(4) { grid-column: 2 / 4; }
.pl-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pl-gallery-grid figure:hover img { transform: scale(1.04); }
.pl-gallery-grid figcaption { position: absolute; right: 18px; bottom: 14px; padding: 7px 10px; color: white; background: rgba(0,0,0,.5); font-size: .57rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.pl-philosophy { overflow: hidden; color: var(--pl-paper); background: var(--pl-wine); }
.pl-philosophy-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(50px, 8vw, 120px); }
.pl-philosophy h2 { color: var(--pl-paper); }
.pl-philosophy blockquote { margin: 0; color: var(--pl-gold-light); font-family: var(--pl-serif); font-size: clamp(2.1rem, 4vw, 4.1rem); font-style: italic; line-height: 1.05; }
.pl-philosophy p { color: rgba(255,255,255,.7); }

.pl-trichologist { position: relative; overflow: hidden; color: var(--pl-paper); background: radial-gradient(circle at 82% 15%, rgba(216,187,131,.22), transparent 32%), linear-gradient(135deg, #14110f 0%, #231818 52%, #5b2133 100%); }
.pl-trichologist::before { position: absolute; inset: 34px; border: 1px solid rgba(216,187,131,.2); content: ""; pointer-events: none; }
.pl-trichologist-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); align-items: center; gap: clamp(44px, 7vw, 105px); }
.pl-trichologist h2 { max-width: 760px; color: var(--pl-paper); }
.pl-trichologist h2 em { color: var(--pl-gold-light); font-weight: 500; }
.pl-trichologist p { max-width: 720px; color: rgba(255,255,255,.72); }
.pl-trichologist-feature { display: grid; gap: 22px; }
.pl-trichologist-portrait { position: relative; margin: 0; padding: 16px; border: 1px solid rgba(216,187,131,.45); background: linear-gradient(145deg, rgba(255,253,249,.12), rgba(255,253,249,.035)); box-shadow: 0 30px 90px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.06); }
.pl-trichologist-portrait::before { position: absolute; inset: 7px; border: 1px solid rgba(216,187,131,.32); content: ""; pointer-events: none; }
.pl-trichologist-portrait::after { position: absolute; top: 4%; right: -8%; width: 48%; height: 92%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); content: ""; pointer-events: none; transform: rotate(13deg); }
.pl-trichologist-portrait img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; box-shadow: 0 20px 55px rgba(0,0,0,.28); }
.pl-trichologist-portrait figcaption { position: relative; z-index: 1; margin-top: 14px; color: var(--pl-gold-light); font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.pl-trichologist-card { display: grid; padding: clamp(26px, 4vw, 46px); border: 1px solid rgba(216,187,131,.32); background: linear-gradient(145deg, rgba(255,253,249,.08), rgba(255,253,249,.03)); box-shadow: 0 30px 90px rgba(0,0,0,.32); gap: 14px; backdrop-filter: blur(12px); }
.pl-trichologist-card span { display: flex; min-height: 62px; padding: 15px 18px; border: 1px solid rgba(216,187,131,.18); align-items: center; color: var(--pl-paper); background: rgba(15,13,11,.4); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pl-trichologist-certificates { position: relative; z-index: 1; margin-top: clamp(46px, 7vw, 92px); }
.pl-trichologist-certificates .pl-author-certificates { margin-top: 0; background: linear-gradient(145deg, rgba(255,253,249,.08), rgba(255,253,249,.025)); backdrop-filter: blur(12px); }

.pl-books { background: var(--pl-paper); }
.pl-books-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: clamp(50px, 8vw, 120px); }
.pl-book-covers { display: flex; align-items: end; justify-content: center; }
.pl-book-covers img { width: 55%; box-shadow: var(--pl-shadow); }
.pl-book-covers img:last-child { width: 48%; margin-left: -12%; transform: translateY(35px) rotate(3deg); }
.pl-books-copy { max-width: 580px; }

.pl-cta { padding: clamp(90px, 12vw, 160px) 0; color: var(--pl-paper); text-align: center; background: linear-gradient(rgba(20,17,14,.84),rgba(20,17,14,.84)), url('assets/images/gallery-long-locs.jpg') center 42%/cover fixed; }
.pl-cta h2 { max-width: 900px; margin-inline: auto; color: var(--pl-paper); }
.pl-cta p { max-width: 650px; margin: 24px auto 32px; color: rgba(255,255,255,.7); }

/* Standard WordPress pages and Elementor content */
.pl-page-hero { padding: clamp(90px, 11vw, 150px) 0 70px; color: var(--pl-paper); background: var(--pl-ink); }
.pl-page-hero h1 { max-width: 1000px; color: var(--pl-paper); font-size: clamp(3rem, 7vw, 6.7rem); }
.pl-breadcrumb { margin-bottom: 20px; color: var(--pl-gold-light); font-size: .65rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.pl-breadcrumb a { color: inherit; text-decoration: none; }
.pl-page-content { padding: clamp(60px, 8vw, 110px) 0; }
.pl-content-shell { width: min(calc(100% - 40px), 1060px); margin-inline: auto; }
.pl-page-content .pl-reveal { opacity: 1; transform: none; }
.pl-content-shell > .entry-content > :first-child { margin-top: 0; }
.entry-content h1, .entry-content h2, .entry-content h3 { text-transform: none; }
.entry-content h2 { margin-top: 1.2em; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.entry-content h3 { margin-top: 1.2em; }
.entry-content ul { padding-left: 1.25rem; }
.entry-content iframe { max-width: 100%; }
.pl-author-certificates { position: relative; margin-top: clamp(54px, 8vw, 96px); padding: clamp(30px, 5vw, 70px); border: 1px solid rgba(181,138,75,.25); overflow: hidden; color: var(--pl-paper); background: radial-gradient(circle at 15% 0%, rgba(216,187,131,.24), transparent 34%), radial-gradient(circle at 88% 24%, rgba(255,215,0,.13), transparent 28%), linear-gradient(135deg, #15110f, #271917 56%, #5b2133); box-shadow: var(--pl-shadow); }
.pl-author-certificates::before { position: absolute; inset: 18px; border: 1px solid rgba(216,187,131,.18); content: ""; pointer-events: none; }
.pl-author-certificates::after { position: absolute; top: -40%; right: -20%; width: 56%; height: 120%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); content: ""; pointer-events: none; transform: rotate(18deg); }
.pl-author-certificates-copy, .pl-certificate-gallery { position: relative; z-index: 1; }
.pl-author-certificates h2 { color: var(--pl-paper); }
.pl-author-certificates p { max-width: 760px; color: rgba(255,255,255,.72); }
.pl-certificate-gallery { display: grid; margin-top: 40px; grid-template-columns: repeat(6, 1fr); gap: clamp(16px, 2vw, 24px); }
.pl-certificate-frame { position: relative; display: grid; min-height: 100%; padding: 17px 17px 20px; border: 1px solid rgba(216,187,131,.42); color: var(--pl-paper); background: linear-gradient(145deg, rgba(255,253,249,.14), rgba(255,253,249,.04)); box-shadow: 0 26px 80px rgba(0,0,0,.32), inset 0 0 0 1px rgba(255,255,255,.06); text-decoration: none; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.pl-certificate-frame:nth-child(1), .pl-certificate-frame:nth-child(2) { grid-column: span 3; }
.pl-certificate-frame:nth-child(n+3) { grid-column: span 2; }
.pl-certificate-frame:hover, .pl-certificate-frame:focus-visible { border-color: rgba(255,215,0,.68); box-shadow: 0 32px 90px rgba(0,0,0,.38), 0 0 0 1px rgba(255,215,0,.18); transform: translateY(-5px); }
.pl-certificate-frame::before { position: absolute; inset: 7px; border: 1px solid rgba(216,187,131,.3); content: ""; pointer-events: none; }
.pl-certificate-frame::after { position: absolute; top: 16px; right: 16px; bottom: 72px; left: 16px; border: 10px solid rgba(17,13,10,.88); box-shadow: inset 0 0 0 1px rgba(216,187,131,.32); content: ""; pointer-events: none; z-index: 2; }
.pl-certificate-frame img { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 18px; background: linear-gradient(135deg, rgba(255,253,249,.98), rgba(247,241,232,.94)); box-shadow: 0 16px 45px rgba(0,0,0,.22); }
.pl-certificate-frame strong { position: relative; z-index: 1; margin-top: 16px; color: var(--pl-gold-light); font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.pl-certificate-frame span:last-child { position: relative; z-index: 1; margin-top: 4px; color: rgba(255,255,255,.66); font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.pl-certificate-number { position: absolute; top: 24px; right: 24px; z-index: 3; display: grid; width: 42px; height: 42px; border: 1px solid rgba(216,187,131,.55); color: var(--pl-ink); background: var(--pl-gold-light); font-size: .65rem; font-weight: 900; place-items: center; }
.pl-certificate-modal { position: fixed; inset: 0; z-index: 9999; display: grid; padding: clamp(18px, 4vw, 46px); overflow-y: auto; background: rgba(15,13,11,.92); place-items: center; }
.pl-certificate-modal-panel { position: relative; width: min(100%, 1120px); padding: clamp(14px, 2vw, 26px); border: 1px solid rgba(216,187,131,.5); background: linear-gradient(145deg, rgba(255,253,249,.13), rgba(255,253,249,.04)); box-shadow: 0 34px 110px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.06); }
.pl-certificate-modal-panel::before { position: absolute; inset: 8px; border: 1px solid rgba(216,187,131,.22); content: ""; pointer-events: none; }
.pl-certificate-modal-panel img { position: relative; z-index: 1; display: block; width: 100%; max-height: 78vh; object-fit: contain; padding: clamp(10px, 2vw, 22px); background: var(--pl-paper); }
.pl-certificate-modal-close { position: relative; z-index: 2; display: inline-flex; margin-bottom: 14px; padding: 12px 18px; border: 1px solid rgba(216,187,131,.7); color: var(--pl-ink); background: var(--pl-gold-light); font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.pl-book-store { padding: clamp(28px, 5vw, 70px); border: 1px solid var(--pl-line); background: var(--pl-paper); box-shadow: var(--pl-shadow); }
.pl-book-store-head { max-width: 880px; margin-bottom: 40px; }
.pl-book-store-head h2 { color: var(--pl-wine); }
.pl-book-store-head p { color: #514941; }
.pl-book-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 4vw, 44px); }
.pl-book-product-card { display: grid; grid-template-columns: minmax(120px, .72fr) 1fr; align-items: center; gap: 28px; padding: clamp(18px, 3vw, 34px); border: 1px solid rgba(181,138,75,.22); background: linear-gradient(145deg, #fffdf9, #f7f1e8); box-shadow: 0 20px 55px rgba(23,20,17,.1); }
.pl-book-product-card img { width: 100%; box-shadow: 0 20px 45px rgba(23,20,17,.18); }
.pl-book-product-card h3 { color: var(--pl-ink); font-size: clamp(1.6rem, 2.7vw, 2.4rem); }
.pl-book-product-card p { color: #514941; font-size: .92rem; }
.pl-book-product-card strong { display: block; margin: 0 0 18px; color: var(--pl-wine); font-family: var(--pl-serif); font-size: 2rem; font-weight: 600; }
.pl-book-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 16px; font-size: .78rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.pl-book-actions a { color: var(--pl-wine); text-decoration: none; border-bottom: 1px solid rgba(122,42,61,.35); }
.pl-book-actions a:hover { color: var(--pl-gold-deep); border-color: currentColor; }
.pl-store-note { margin-top: 28px; padding: 16px 18px; border-left: 3px solid var(--pl-gold); color: #514941; background: var(--pl-ivory); }
.pl-woo-landing { margin-bottom: clamp(24px, 4vw, 44px); padding: clamp(24px, 4vw, 46px); border: 1px solid rgba(181,138,75,.28); background: linear-gradient(145deg, #fffdf9, #f7f1e8); box-shadow: 0 20px 55px rgba(23,20,17,.08); }
.pl-woo-landing h2 { max-width: 760px; color: var(--pl-wine); }
.pl-woo-landing p { max-width: 780px; color: #514941; }
.woocommerce-cart-form, .woocommerce-checkout, .woocommerce-MyAccount-content, .woocommerce-MyAccount-navigation { color: #3d372f; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { border-radius: 999px; background: var(--pl-ink); color: var(--pl-paper); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover { background: var(--pl-gold-deep); color: var(--pl-ink); }
.pl-product-detail { padding: clamp(55px, 8vw, 110px) 0; background: linear-gradient(180deg, #fffaf1 0%, #f2e7d8 100%); }
.pl-product-detail-grid { display: grid; grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr); gap: clamp(34px, 6vw, 86px); align-items: center; }
.pl-product-cover-panel { position: relative; padding: clamp(20px, 4vw, 44px); border: 1px solid rgba(181,138,75,.32); background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.95), rgba(247,241,232,.92)); box-shadow: var(--pl-shadow); }
.pl-product-cover-panel::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(181,138,75,.36); pointer-events: none; }
.pl-product-cover-panel img { position: relative; display: block; width: min(100%, 430px); margin: 0 auto; box-shadow: 0 26px 60px rgba(23,20,17,.22); }
.pl-product-detail-copy { max-width: 720px; }
.pl-product-detail-copy h2 { margin-bottom: 12px; color: var(--pl-ink); font-size: clamp(2.3rem, 5vw, 5.2rem); line-height: .95; }
.pl-product-price { margin: 0 0 24px; color: var(--pl-wine); font-family: var(--pl-serif); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; }
.pl-product-detail-copy p { color: #514941; font-size: 1rem; }
.pl-product-promises { display: grid; gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.pl-product-promises li { position: relative; padding-left: 30px; color: #3d372f; font-weight: 600; }
.pl-product-promises li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--pl-gold-deep); box-shadow: 0 0 0 5px rgba(181,138,75,.16); }
.pl-product-detail-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.pl-product-back-link { color: var(--pl-wine); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; border-bottom: 1px solid rgba(122,42,61,.35); }
.pl-product-back-link:hover { color: var(--pl-gold-deep); border-color: currentColor; }
.pl-product-policy-note { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(181,138,75,.25); font-size: .88rem !important; }
.pl-product-policy-note a { color: var(--pl-wine); font-weight: 700; }
.elementor-section, .e-con { --container-max-width: 1060px; }
.elementor-widget-heading .elementor-heading-title { color: var(--pl-ink); font-family: var(--pl-serif) !important; font-weight: 500 !important; letter-spacing: -.02em; }
.elementor-widget-text-editor, .elementor-widget-text-editor p { color: #554e47; font-family: var(--pl-sans) !important; }
.elementor img { box-shadow: 0 16px 45px rgba(23,20,17,.12); }
.elementor-widget-image a img { transition: transform .35s; }
.elementor-widget-image a:hover img { transform: translateY(-4px); }

/* Booking and forms */
.wpforms-container, form[id*="cp_appbooking"], .cpappbk, .elementor-widget-shortcode {
  color: var(--pl-ink);
  font-family: var(--pl-sans);
}
.wpforms-container { max-width: 820px !important; margin: 35px auto !important; padding: clamp(24px, 5vw, 55px) !important; border: 1px solid var(--pl-line); background: var(--pl-ivory); }
.wpforms-container label, form[id*="cp_appbooking"] label { color: var(--pl-ink) !important; font-size: .7rem !important; font-weight: 700 !important; letter-spacing: .08em; text-transform: uppercase; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 14px !important; border: 1px solid rgba(23,20,17,.25) !important; border-radius: 0 !important; color: var(--pl-ink) !important; background: var(--pl-paper) !important; box-shadow: none !important; font-family: var(--pl-sans) !important;
}
textarea { min-height: 130px; }
input:focus, select:focus, textarea:focus { border-color: var(--pl-gold) !important; outline: 2px solid rgba(181,138,75,.15); }
.ui-datepicker, .ahb_m, .ahb_m2 { font-family: var(--pl-sans) !important; }
.services-page .entry-content, body[class*="loc-"] .entry-content { padding: clamp(22px, 4vw, 48px); border: 1px solid var(--pl-line); background: var(--pl-paper); box-shadow: var(--pl-shadow); }
.pl-service-insert { display: flex; margin-bottom: 42px; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--pl-line); align-items: center; justify-content: space-between; gap: 28px; background: var(--pl-ivory); box-shadow: var(--pl-shadow); }
.pl-service-insert h2 { margin-bottom: 10px; color: var(--pl-wine); }
.pl-service-insert p { max-width: 650px; color: #514941; }

/* About page */
.pl-about-hero h1 em { color: var(--pl-bright-gold); font-style: italic; font-weight: 700; }
.pl-company-name { color: var(--pl-bright-gold) !important; font-weight: 900; text-shadow: 0 0 16px rgba(255,215,0,.22); }
.pl-about-layout { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(300px, .72fr); align-items: start; gap: clamp(38px, 6vw, 86px); }
.pl-about-story { padding: clamp(30px, 5vw, 68px); border: 1px solid var(--pl-line); background: var(--pl-paper); box-shadow: var(--pl-shadow); }
.pl-about-original { margin-bottom: clamp(42px, 6vw, 74px); padding-bottom: clamp(34px, 5vw, 58px); border-bottom: 1px solid var(--pl-line); }
.pl-about-original img { box-shadow: var(--pl-shadow); }
.pl-added-story { padding-top: 4px; }
.pl-about-story h2 { max-width: 760px; color: var(--pl-wine); }
.pl-about-story p { color: #514941; font-size: clamp(1rem, 1.2vw, 1.08rem); }
.pl-about-story p:first-of-type { color: var(--pl-ink); font-family: var(--pl-serif); font-size: clamp(1.65rem, 2.6vw, 2.45rem); line-height: 1.14; }
.pl-about-pictures { position: sticky; top: 28px; display: grid; gap: 18px; }
.pl-about-pictures figure { margin: 0; overflow: hidden; background: var(--pl-ivory); box-shadow: var(--pl-shadow); }
.pl-about-pictures figure:nth-child(even) { transform: translateX(-8%); }
.pl-about-pictures img { display: block; width: 100%; height: auto; }

/* Footer */
.pl-site-footer { color: rgba(255,255,255,.68); background: #0f0d0b; }
.pl-footer-main { display: grid; padding: 82px 0 64px; grid-template-columns: 1.35fr .7fr .9fr .9fr; gap: 55px; }
.pl-footer-brand .pl-wordmark { text-align: left; }
.pl-footer-brand p { max-width: 330px; margin-top: 25px; font-size: .84rem; }
.pl-footer-col h3 { margin-bottom: 24px; color: var(--pl-gold-light); font-family: var(--pl-sans); font-size: .67rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.pl-footer-col ul { margin: 0; padding: 0; list-style: none; }
.pl-footer-col li { margin-bottom: 10px; }
.pl-footer-col a { color: rgba(255,255,255,.68); font-size: .82rem; text-decoration: none; }
.pl-footer-col a:hover { color: var(--pl-gold-light); }
.pl-hours-list li { display: flex; margin-bottom: 8px; align-items: baseline; gap: 16px; font-size: .82rem; white-space: nowrap; }
.pl-hours-list strong { min-width: 98px; color: rgba(255,255,255,.9); font-weight: 600; }
.pl-hours-list span { white-space: nowrap; }
.pl-footer-bottom { display: flex; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); align-items: center; justify-content: space-between; gap: 20px; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }

.pl-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.pl-reveal.pl-visible { opacity: 1; transform: none; }
.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 (max-width: 980px) {
  .pl-header-inner { grid-template-columns: auto 1fr auto; }
  .pl-wordmark { text-align: left; }
  .pl-menu-toggle { display: block; }
  .pl-header-phone { display: none; }
  .pl-nav { position: fixed; inset: 0; z-index: -1; display: block; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; padding: 120px 30px 70px; overflow-x: hidden; overflow-y: scroll; overscroll-behavior-y: contain; touch-action: pan-y; background: var(--pl-ink); opacity: 0; pointer-events: none; -webkit-overflow-scrolling: touch; transition: opacity .25s; }
  .pl-nav.pl-open { z-index: 55; opacity: 1; pointer-events: auto; }
  .pl-nav ul { min-height: auto; padding-bottom: 80px; flex-direction: column; justify-content: flex-start; gap: 24px; }
  .pl-nav a { font-family: var(--pl-serif); font-size: 2.1rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
  .pl-header-inner > .pl-wordmark { position: relative; z-index: 60; grid-column: 1 / 3; }
  .pl-header-brand img { width: 62px; height: 62px; }
  .pl-menu-toggle { position: relative; z-index: 60; grid-column: 3; }
  .pl-header-actions .pl-button { display: none; }
  .pl-intro-grid, .pl-philosophy-grid, .pl-trichologist-grid, .pl-books-grid { grid-template-columns: 1fr; }
  .pl-product-detail-grid { grid-template-columns: 1fr; }
  .pl-product-cover-panel img { max-width: 380px; }
  .pl-certificate-gallery { grid-template-columns: repeat(2, 1fr); }
  .pl-certificate-frame:nth-child(1), .pl-certificate-frame:nth-child(2), .pl-certificate-frame:nth-child(n+3) { grid-column: span 1; }
  .pl-about-layout { grid-template-columns: 1fr; }
  .pl-about-pictures { position: static; grid-template-columns: repeat(2, 1fr); }
  .pl-about-pictures figure:nth-child(even) { transform: none; }
  .pl-signature-grid { grid-template-columns: 1fr; }
  .pl-signature-collage { min-height: 900px; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(12, minmax(52px, 1fr)); }
  .pl-signature-collage .pl-showcase-feature { grid-column: 1 / 5; grid-row: 1 / 7; }
  .pl-signature-collage figure:nth-child(2) { grid-column: 4 / 7; grid-row: 2 / 6; }
  .pl-signature-collage figure:nth-child(3) { grid-column: 1 / 4; grid-row: 7 / 10; }
  .pl-signature-collage figure:nth-child(4) { grid-column: 3 / 7; grid-row: 6 / 12; }
  .pl-intro-media { min-height: 560px; }
  .pl-services-grid { grid-template-columns: 1fr; }
  .pl-service-card { border-right: 0; }
  .pl-gallery-grid { height: 1000px; grid-template-columns: 1fr 1fr; grid-template-rows: 1.2fr .8fr .8fr; }
  .pl-gallery-grid figure:first-child { grid-column: 1 / 3; grid-row: auto; }
  .pl-gallery-grid figure:nth-child(4) { grid-column: 1 / 3; }
  .pl-footer-main { grid-template-columns: 1.4fr 1fr; }
}

@media (max-width: 640px) {
  .pl-container, .pl-content-shell { width: min(calc(100% - 28px), var(--pl-width)); }
  .pl-header-inner { min-height: 82px; }
  .pl-header-brand { gap: 8px; }
  .pl-header-brand img { width: 54px; height: 54px; }
  .pl-header-brand strong { font-size: 1.18rem; }
  .pl-header-brand small { font-size: .47rem; letter-spacing: .22em; }
  .pl-hero { min-height: 820px; }
  .pl-hero-content { padding: 160px 0 80px; }
  .pl-hero h1 { font-size: clamp(3.5rem, 17vw, 5.2rem); }
  .pl-hero-note { display: none; }
  .pl-ad-carousel { padding: 26px 0; }
  .pl-carousel-viewport { width: calc(100% - 20px); height: min(108vw, 560px); }
  .pl-carousel-slide { padding: 8px; }
  .pl-carousel-arrow { width: 42px; height: 42px; }
  .pl-carousel-prev { left: 10px; }
  .pl-carousel-next { right: 10px; }
  .pl-section-head { align-items: start; flex-direction: column; }
  .pl-intro-media { min-height: 440px; }
  .pl-intro-media img:first-child { width: 78%; height: 72%; }
  .pl-intro-media img:last-child { width: 54%; height: 48%; }
  .pl-signature-showcase::before { inset: 18px; }
  .pl-signature-collage { min-height: auto; grid-template-columns: 1fr; grid-template-rows: none; }
  .pl-signature-collage::before { display: none; }
  .pl-signature-collage figure, .pl-signature-collage .pl-showcase-feature,
  .pl-signature-collage figure:nth-child(2), .pl-signature-collage figure:nth-child(3),
  .pl-signature-collage figure:nth-child(4) { min-height: 360px; grid-column: auto; grid-row: auto; }
  .pl-stats { grid-template-columns: 1fr; }
  .pl-service-insert { align-items: flex-start; flex-direction: column; }
  .pl-trichologist::before { inset: 18px; }
  .pl-trichologist-portrait { padding: 12px; }
  .pl-trichologist-card span { min-height: auto; }
  .pl-author-certificates { padding: 28px 18px; }
  .pl-certificate-gallery { grid-template-columns: 1fr; }
  .pl-certificate-frame img { aspect-ratio: 3 / 4; }
  .pl-book-product-grid { grid-template-columns: 1fr; }
  .pl-book-product-card { grid-template-columns: 1fr; }
  .pl-book-product-card img { max-width: 340px; margin-inline: auto; }
  .pl-product-detail-actions { align-items: stretch; flex-direction: column; }
  .pl-product-detail-actions .pl-button { width: 100%; text-align: center; }
  .pl-product-back-link { align-self: center; }
  .pl-about-story { padding: 28px 20px; }
  .pl-about-pictures { grid-template-columns: 1fr; }
  .pl-service-card { min-height: auto; padding: 32px 20px; grid-template-columns: 42px 1fr; }
  .pl-service-arrow { display: none; }
  .pl-gallery-grid { height: auto; grid-template-columns: 1fr; grid-template-rows: none; }
  .pl-gallery-grid figure, .pl-gallery-grid figure:first-child, .pl-gallery-grid figure:nth-child(4) { min-height: 390px; grid-column: auto; }
  .pl-book-covers { padding-right: 20px; }
  .pl-footer-main { grid-template-columns: 1fr; }
  .pl-hours-list li { gap: 20px; }
  .pl-footer-bottom { align-items: flex-start; flex-direction: column; }
  .pl-page-hero { padding: 105px 0 46px; }
  .pl-page-hero h1 { font-size: clamp(2.55rem, 11vw, 3.9rem); line-height: 1.02; letter-spacing: -.02em; overflow-wrap: normal; }
  .appointments-prices-page .pl-page-hero h1 { font-size: clamp(2.35rem, 10.5vw, 3.65rem); }
  .appointments-prices-page .elementor-widget-heading .elementor-heading-title { line-height: 1.08 !important; letter-spacing: -.02em !important; }
  .appointments-prices-page .elementor-widget-heading { margin-bottom: 14px !important; }
  .appointments-prices-page .entry-content h1,
  .appointments-prices-page .entry-content h2 { line-height: 1.08; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .pl-reveal { opacity: 1; transform: none; }
}
