/* ==========================================================================
   LACEYLIX — page furniture on top of the Esshuttr house stylesheet
   Everything here is additive: style.css keeps the theme, the header,
   the drawer, the buttons, the footer and the form controls.
   ========================================================================== */

/* ---- brand mark ------------------------------------------------------- */
.brand-mark {
  display: flex;
  align-items: center;
  color: var(--accent-purple-light);
  filter: drop-shadow(0 0 10px var(--accent-purple-glow));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}
.brand:hover .brand-mark {
  transform: scale(1.06);
  filter: drop-shadow(0 0 18px var(--accent-pink-glow));
}

/* the header is fixed: only the sub-page heroes have to clear it,
   because .hero-section on the home page already carries 160px of its own */

/* the two overrides at the end of style.css, kept in the same purple */
.site-header {
  border-bottom: 1px solid rgba(168, 85, 247, 0.35) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.75), 0 1px 0 rgba(168, 85, 247, 0.25) !important;
}
.site-header::after {
  background: linear-gradient(90deg, transparent 0%, rgba(168, 85, 247, 0.4) 20%,
              rgba(168, 85, 247, 0.8) 50%, rgba(168, 85, 247, 0.4) 80%, transparent 100%) !important;
}

/* ---- page hero (sub-pages) ------------------------------------------- */
.page-hero {
  position: relative;
  padding: calc(94px + 3rem) 0 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-main) 100%);
}
.page-hero .section-eyebrow { margin-bottom: 0.9rem; }
.page-title {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 20ch;
  margin-bottom: 1.1rem;
}
.page-lede {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 62ch;
}
.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}
.hero-points li {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border-active);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  background: rgba(168, 85, 247, 0.07);
}

@media (max-width: 900px) {
  .page-hero { padding-top: calc(80px + 2.25rem); }
}

/* ---- section variants ------------------------------------------------ */
.section--alt {
  background: var(--bg-main);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.muted { color: var(--text-muted); }
.small { font-size: 0.82rem; }

/* ---- home hero panel -------------------------------------------------- */
.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.6rem;
  min-height: 320px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
  border: 1px solid var(--border-active);
  box-shadow: var(--shadow-card), 0 0 60px -20px var(--accent-purple-glow);
}
.hero-panel-head { display: flex; align-items: center; gap: 0.55rem; }
.hero-panel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-pink);
  box-shadow: 0 0 10px var(--accent-pink-glow);
}
.hero-panel-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}
.wave {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  min-height: 150px;
}
.wave i {
  flex: 1;
  height: var(--h);
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-purple-light) 0%, var(--accent-purple) 60%, var(--accent-pink) 100%);
  opacity: 0.85;
  animation: wavePulse 2.8s ease-in-out infinite alternate;
}
.wave i:nth-child(3n) { animation-delay: -0.6s; }
.wave i:nth-child(4n) { animation-delay: -1.4s; }
.wave i:nth-child(5n) { animation-delay: -2.1s; }
@keyframes wavePulse {
  from { transform: scaleY(0.72); opacity: 0.55; }
  to   { transform: scaleY(1); opacity: 0.95; }
}
@media (prefers-reduced-motion: reduce) {
  .wave i { animation: none; }
}
.hero-panel-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero-panel-foot span + span::before { content: "·"; margin-right: 0.45rem; }

.hero-card-stack .hero-float-badge { position: absolute; bottom: -14px; right: -8px; z-index: 2; }

/* ---- service cards ---------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1024px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: var(--transition-normal);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card), 0 0 40px -18px var(--accent-purple-glow);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  color: var(--accent-purple-light);
  background: rgba(168, 85, 247, 0.09);
  border: 1px solid var(--border-active);
}
.service-card h3 { font-size: 1.15rem; }
.service-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }
.service-link {
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-purple-light);
}

/* ---- feature grid ----------------------------------------------------- */
.feature-grid { display: grid; gap: 1.25rem; }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .feature-grid.cols-2, .feature-grid.cols-3 { grid-template-columns: 1fr; }
}
.feature-card {
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--accent-purple);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.75; }

/* ---- numbered steps --------------------------------------------------- */
.steps { display: flex; flex-direction: column; gap: 1.1rem; }
.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}
.step-no {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-pink);
  padding-top: 0.25rem;
  flex-shrink: 0;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.75; }

/* ---- two-column split ------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.split--wide { grid-template-columns: 1.15fr 1fr; }
.split h2 { margin-bottom: 1rem; }
.split h3 { margin: 1.75rem 0 0.6rem; font-size: 1.05rem; }
.split p { color: var(--text-muted); line-height: 1.8; margin-bottom: 0.9rem; }
@media (max-width: 860px) { .split, .split--wide { grid-template-columns: 1fr; gap: 2rem; } }

/* ---- checklist -------------------------------------------------------- */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.checklist li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 8px; height: 8px;
  transform: rotate(45deg);
  background: var(--accent-purple);
  box-shadow: 0 0 8px var(--accent-purple-glow);
}
.checklist-title { font-size: 1.05rem; margin-bottom: 0.9rem; }

/* ---- faq -------------------------------------------------------------- */
.faq { display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  padding: 0 1.1rem;
  transition: var(--transition-fast);
}
.faq-item[open] { border-color: var(--border-active); }
.faq-item summary {
  cursor: pointer;
  padding: 1rem 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-primary);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--accent-purple-light); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 1.1rem; font-size: 0.92rem; color: var(--text-muted); line-height: 1.8; }

/* ---- contact page ----------------------------------------------------- */
.contact-details h2, .contact-details h3 { margin-bottom: 0.75rem; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2rem; }
.contact-list li {
  display: flex;
  gap: 1rem;
  font-size: 0.94rem;
  color: var(--text-secondary);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
}
.contact-list li a { color: var(--accent-purple-light); }
.contact-list li a:hover { color: var(--text-primary); }
.contact-k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  min-width: 78px;
  padding-top: 0.2rem;
}
.contact-sub { margin-top: 1.5rem; font-size: 1rem; }
.contact-p { color: var(--text-muted); line-height: 1.8; font-size: 0.93rem; }
.contact-form-col {
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}
@media (max-width: 860px) { .contact-form-col { padding: 1.25rem; } }

/* ---- forms (shared) --------------------------------------------------- */
.stud-form .form-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .stud-form .form-grid { grid-template-columns: 1fr; } }
.form-label .opt { color: var(--text-dim); font-weight: 500; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  cursor: pointer;
}
.consent input { margin-top: 0.25rem; accent-color: var(--accent-purple); }
.form-submit {
  width: 100%;
  margin-top: 1.4rem;
  padding: 0.95rem;
  justify-content: center;
  font-size: 0.95rem;
}
.form-submit[disabled] { opacity: 0.6; cursor: progress; }
.form-note {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-dim);
  text-align: center;
}

/* ---- booking page ----------------------------------------------------- */
.booking-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}
.booking-wrap form {
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}
.booking-aside {
  padding: 1.75rem;
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
  position: sticky;
  top: 118px;
}
.booking-steps {
  list-style: none;
  counter-reset: bk;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.1rem;
}
.booking-steps li {
  counter-increment: bk;
  position: relative;
  padding-left: 2.2rem;
  font-size: 0.9rem;
  line-height: 1.6;
}
.booking-steps li::before {
  content: counter(bk);
  position: absolute;
  left: 0; top: 0;
  width: 1.45rem; height: 1.45rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--bg-deep);
  background: var(--accent-purple-light);
}
.booking-steps li strong { display: block; color: var(--text-primary); margin-bottom: 0.15rem; }
.booking-steps li span { color: var(--text-muted); }
.booking-contact {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}
.booking-contact a { color: var(--accent-purple-light); }
.booking-contact .contact-k { display: block; margin-bottom: 0.3rem; }
@media (max-width: 1000px) {
  .booking-wrap { grid-template-columns: 1fr; }
  .booking-aside { position: static; }
}
@media (max-width: 860px) { .booking-wrap form { padding: 1.25rem; } }

.reply-promise {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border-active);
  border-radius: var(--radius-sm);
  background: rgba(168, 85, 247, 0.07);
}
.reply-promise p { font-size: 0.86rem; line-height: 1.65; color: var(--text-secondary); margin: 0; }
.reply-promise strong { color: var(--text-primary); }
.reply-dot {
  flex-shrink: 0;
  width: 8px; height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent-purple-light);
  box-shadow: 0 0 10px var(--accent-purple-glow);
}

/* ---- closing cta band ------------------------------------------------- */
.cta-band {
  position: relative;
  padding: 4rem 0;
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-deep) 100%);
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.cta-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.4rem; }
.cta-text { color: var(--text-muted); max-width: 58ch; font-size: 0.95rem; line-height: 1.75; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---- footer tweaks ---------------------------------------------------- */
.site-footer .brand-mark { color: var(--accent-purple-light); }
.footer-desc { max-width: 38ch; }
.footer-bottom { flex-wrap: wrap; gap: 0.75rem; }

/* ---- small corrections to the house sheet ---------------------------- */
/* Esshuttr puts its name in a logo image and hides the text brand under
   440px; LaceyLix has no logo image, so the name must stay. */
@media (max-width: 440px) {
  .brand-text { display: flex; }
  .brand-name { font-size: 0.98rem; letter-spacing: 0.02em; }
  .brand-tagline { font-size: 0.56rem; }
  .brand-mark svg { width: 34px; height: 34px; }
}

/* editorial headers read left on this site, with the ornament left too */
.section-header { text-align: left; }
.section-header .section-title::after {
  margin-left: 0 !important;
  margin-right: auto !important;
  background-position: left center !important;
}

.form-label .opt { margin-left: 0.3em; }

/* the drawer must sit above the fixed header so its × is reachable */
.mobile-drawer { z-index: 200; }
.mobile-close-btn { z-index: 201; }

/* ---- selected work ---------------------------------------------------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 700px) { .work-grid { grid-template-columns: 1fr; } }
.work-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: var(--transition-normal);
}
.work-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card), 0 0 40px -20px var(--accent-purple-glow);
}
.work-kind {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.work-card h3 { font-size: 1.25rem; }
.work-link {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-purple-light);
}

.form-feedback.sending {
  display: block;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: var(--text-secondary);
}

/* ---- the mastering room's invitation strip --------------------------- */
.room-strip-wrap {
  padding: 2rem 0 0;
  background: var(--bg-deep);
}
.room-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(147, 51, 234, 0.16), rgba(236, 72, 153, 0.07));
}
.room-strip-title { font-size: 1.35rem; margin: 0.2rem 0 0.35rem; }
.room-strip-text { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; max-width: 62ch; }
.room-strip .btn { flex-shrink: 0; }

/* ==========================================================================
   THE ASSOCIATED SITES IN THE FOOTER
   Four links, each a name and its address, kept whole on a phone. The grid
   gains a fourth column on a wide screen and folds to 2 x 2, then 1, below.
   ========================================================================== */
@media (min-width: 1025px) {
  .footer-top { grid-template-columns: 1.45fr 0.85fr 1fr 1fr; gap: 2.4rem; }
}

.footer-assoc-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.assoc-link {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.42rem 0.6rem 0.42rem 0.5rem;
  border-left: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 0 8px 8px 0;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.assoc-name {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.assoc-name svg {
  flex: 0 0 auto;
  opacity: 0.55;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.assoc-domain {
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  color: var(--text-dim, #7d6f92);
  white-space: nowrap;
  transition: color 0.18s ease;
}

.assoc-link:hover,
.assoc-link:focus-visible {
  background: rgba(147, 51, 234, 0.10);
  border-left-color: var(--accent-pink, #ec4899);
  transform: translateX(2px);
  outline: none;
}

.assoc-link:hover .assoc-name svg,
.assoc-link:focus-visible .assoc-name svg {
  opacity: 1;
  transform: translate(2px, -2px);
}

.assoc-link:hover .assoc-domain,
.assoc-link:focus-visible .assoc-domain {
  color: var(--accent-purple-light, #c084fc);
}

@media (max-width: 768px) {
  .footer-assoc-list { gap: 0.55rem; }
  .assoc-link { padding: 0.35rem 0.5rem 0.35rem 0.45rem; }
}

/* ==========================================================================
   WORDS ARE NEVER SAWN IN HALF
   Hyphenation off everywhere, and a span that refuses to break so a compound
   written with a real hyphen ("behind-the-scenes", "2.5-6.5") cannot be split
   across two lines either. nowrap.js finds the compounds and adds the span.
   ========================================================================== */
.nw {
  white-space: nowrap;
}

body {
  word-break: normal;
  overflow-wrap: normal;
  -webkit-hyphens: none;
  hyphens: none;
}

h1, h2, h3, h4, h5, h6, p, li, a, span, strong, em, small, figcaption, blockquote, td, th {
  -webkit-hyphens: none;
  hyphens: none;
}