/* Public front page at lilybeth.studio. Dark, calm and compact: professionally laid-out information, not a billboard.
   Raise the ?v= on the stylesheet links in home.html whenever this file or ui.css changes. */
body.lb { --night: #0c1a13; --sand: #f4efe4; --gold: #c99a5b; --leaf: #8fae7c; --soft: rgba(244,239,228,.7); --rule: rgba(244,239,228,.1);
  background: var(--night); color: var(--sand); font-size: 16px; overflow-x: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
.lb a { color: inherit; }
.x-inner { max-width: 1180px; margin: 0 auto; }
.x-small { margin: 0 0 18px; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* Top bar: see-through over the hero, solid once the page scrolls */
.x-top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; padding: 18px clamp(20px, 4vw, 48px); border-bottom: 1px solid transparent;
  transition: background .3s ease, padding .3s ease, border-color .3s ease; }
.x-top-in { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.x-top.solid { padding-top: 10px; padding-bottom: 10px; background: rgba(12, 26, 19, .9); border-bottom-color: rgba(244, 239, 228, .08);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.x-mark { display: inline-flex; line-height: 0; text-decoration: none; color: #fff; }
.x-mark .lb-logo { height: 38px; transition: height .3s ease; }
.x-top.solid .x-mark .lb-logo { height: 32px; }
.x-mark .lb-s { fill: rgba(255,255,255,.72); }
.x-mark .lb-logo path { stroke: var(--gold); }
.x-contact { text-decoration: none; font-weight: 500; font-size: .9rem; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(244,239,228,.28); }
.x-contact:hover { background: rgba(244,239,228,.08); }

/* Hero */
.x-hero { position: relative; overflow: hidden; padding: 150px clamp(20px, 4vw, 48px) 84px;
  background: radial-gradient(70% 70% at 78% 30%, rgba(111,143,94,.2), transparent 70%), var(--night); }
.x-flowlines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.x-hero-text { position: relative; z-index: 2; }
.x-hero h1 { margin: 0 0 20px; font-weight: 700; font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: .98; letter-spacing: -.045em; }
.x-hero h1 span { display: block; animation: x-rise .9s cubic-bezier(.2,.7,.1,1) both; }
.x-hero h1 span + span { animation-delay: .1s; color: transparent; -webkit-text-stroke: 1.2px var(--sand); }
@keyframes x-rise { from { opacity: 0; transform: translateY(24px); } }
.x-lede { margin: 0; max-width: 52ch; font-size: 1.08rem; line-height: 1.6; color: var(--soft); animation: x-rise .9s .2s cubic-bezier(.2,.7,.1,1) both; }
.x-lede strong { color: var(--sand); font-weight: 600; }

/* What we make: one quiet sliding line */
.x-marquees { padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.x-row { overflow: hidden; white-space: nowrap; }
.x-track { display: inline-flex; animation: x-slide 60s linear infinite; }
.x-track span { font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.8; padding-right: 1.4em; color: var(--leaf); }
.x-track span::after { content: "\2022"; margin-left: 1.4em; color: var(--gold); }
.x-row.old { display: none; }
@keyframes x-slide { to { transform: translateX(-50%); } }

/* Compliance, competence, productivity */
.x-pillars { padding: 72px clamp(20px, 4vw, 48px) 36px; }
.x-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.x-three article { position: relative; padding: 26px 24px 20px; border-radius: 16px;
  background: linear-gradient(165deg, rgba(143,174,124,.09), rgba(255,255,255,.015) 60%); border: 1px solid var(--rule); }
.x-three article::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: linear-gradient(90deg, var(--leaf), var(--gold)); opacity: .75; }
.x-three article:nth-child(2) { transition-delay: .08s; }
.x-three article:nth-child(3) { transition-delay: .16s; }
.x-three article:nth-child(4) { transition-delay: .24s; }
.x-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.x-three h2 { margin: 0 0 6px; font-size: 1.45rem; letter-spacing: -.025em; line-height: 1.15; }
.x-promise { margin: 0 0 14px; font-size: .98rem; line-height: 1.45; color: var(--gold); }
.x-three ul { list-style: none; margin: 0; padding: 0; }
.x-three li { padding: 9px 0 9px 18px; position: relative; border-top: 1px solid rgba(244,239,228,.07); color: rgba(244,239,228,.78); font-size: .93rem; line-height: 1.45; }
.x-three li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 1.5px; background: var(--leaf); }

/* How we work: one row of four */
.x-flow { padding: 36px clamp(20px, 4vw, 48px) 72px; }
.x-flow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.x-flow li { padding: 20px 22px 0 0; }
.x-flow li + li { padding-left: 22px; border-left: 1px solid rgba(244,239,228,.07); }
.x-flow li:nth-child(2) { transition-delay: .06s; } .x-flow li:nth-child(3) { transition-delay: .12s; } .x-flow li:nth-child(4) { transition-delay: .18s; } .x-flow li:nth-child(5) { transition-delay: .24s; }
.x-flow b { display: block; margin-bottom: 8px; font-size: .75rem; font-weight: 600; color: var(--gold); letter-spacing: .08em; }
.x-flow h3 { margin: 0 0 6px; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.x-flow p { margin: 0; color: rgba(244,239,228,.66); font-size: .93rem; line-height: 1.5; }
.x-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.1,1); }
.x-reveal.in { opacity: 1; transform: none; }

/* The statement */
.x-statement { background: var(--sand); color: var(--night); padding: 56px clamp(20px, 4vw, 48px); }
.x-words { margin: 0; max-width: 46ch; font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.4; letter-spacing: -.015em; font-weight: 600; }

/* Talk */
.x-talk { padding: 56px clamp(20px, 4vw, 48px); }
.x-talk .x-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.x-talk h2 { margin: 0 0 6px; font-size: 1.6rem; letter-spacing: -.025em; }
.x-price { margin: 0; color: var(--soft); }
.x-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 600;
  background: var(--sand); color: var(--night) !important; transition: background .2s ease; }
.x-btn span { color: var(--gold); transition: transform .25s ease; }
.x-btn:hover { background: #fff; }
.x-btn:hover span { transform: translateX(3px); }

.x-foot { padding: 22px clamp(20px, 4vw, 48px) 30px; border-top: 1px solid var(--rule); font-size: .82rem; color: rgba(244,239,228,.5); }
.x-foot .x-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.x-foot .lb-logo { height: 26px; }

@media (max-width: 1100px) {
  .x-four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .x-flow ol { grid-template-columns: 1fr 1fr; }
  .x-flow li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .x-flow li { padding-bottom: 20px; }
}
@media (max-width: 760px) {
  .x-three, .x-four { grid-template-columns: 1fr; }
  .x-hero { padding: 120px 20px 64px; }
  .x-flow ol { grid-template-columns: 1fr; }
  .x-flow li, .x-flow li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid rgba(244,239,228,.07); }
  .x-three article { padding: 24px 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .x-track, .x-hero h1 span, .x-lede { animation: none; }
}
