/* ==========================================================================
   luckdream.vip — design system
   Palette: warm off-white / graphite / stone / slate / fog / brick accent.
   Brief bans cream+green, so sage went slate and birch went stone. Don't
   reintroduce #9FB1A3 or #E6DFD3 unless the client changes their mind.
   ========================================================================== */

:root {
  --bg: #F7F5F0;
  --paper: #FFFFFF;
  --ink: #1E2124;
  --ink-soft: rgba(30, 33, 36, .68);
  --ink-faint: rgba(30, 33, 36, .42);
  --stone: #E5E2DC;
  --slate: #8FA3B0;
  --slate-soft: rgba(143, 163, 176, .14);
  --fog: #DCE3E8;
  --accent: #C8553D;
  --line: rgba(30, 33, 36, .12);
  --font-display: "Inter Tight", "Manrope", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --pad: clamp(72px, 10vw, 160px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.08;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
p { margin: 0 0 1rem; color: var(--ink-soft); }

.ld-wrap { max-width: 1360px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.ld-section { padding: var(--pad) 0; position: relative; }
.ld-section--line { border-top: 1px solid var(--line); }
.ld-section--photo { color: #fff; background-size: cover; background-position: center; }
.ld-section--photo p { color: rgba(255,255,255,.82); }

.ld-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-faint);
}
.ld-section--photo .ld-mono { color: rgba(255,255,255,.6); }

.ld-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  border: 1px solid var(--accent); border-radius: 2px;
  transition: background .4s var(--ease), color .4s var(--ease);
  cursor: pointer;
}
.ld-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.ld-btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.ld-btn--ghost:hover { background: var(--ink); color: #fff; }
.ld-btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.ld-btn--light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.ld-link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 500; font-size: 16px;
  border-bottom: 1px solid var(--ink); padding-bottom: 4px;
  transition: gap .3s var(--ease), color .3s;
}
.ld-link-arrow:hover { gap: 16px; }

.ld-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 5vw, 72px); flex-wrap: wrap; }
.ld-head p { max-width: 460px; margin: 0; }

/* ===================== Ticker ===================== */
.ld-ticker {
  position: relative; z-index: 60;
  background: var(--ink); color: var(--bg);
  height: 36px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.ld-ticker__track { position: relative; height: 100%; width: 70%; overflow: hidden; }
.ld-ticker__item {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  opacity: 0; transform: translateY(100%);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.ld-ticker__item.is-active { opacity: 1; transform: none; }
.ld-ticker__item a { color: var(--fog); border-bottom: 1px solid rgba(255,255,255,.4); }
.ld-ticker__locale { position: absolute; right: 20px; display: flex; gap: 10px; align-items: center; }
.ld-ticker__mono { color: rgba(255,255,255,.7); }
.ld-ticker__sep { width: 1px; height: 12px; background: rgba(255,255,255,.25); }

/* ===================== Nav ===================== */
.ld-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,245,240,.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: transform .45s var(--ease);
}
.ld-nav.is-hidden { transform: translateY(-100%); }
.ld-nav__topline {
  display: flex; justify-content: center; gap: 28px;
  padding: 7px 16px; font-size: 12.5px; color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.ld-nav__contact { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.ld-nav__bar {
  max-width: 1360px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px);
  height: 64px; display: flex; align-items: center; gap: 24px;
}
.ld-nav__logo { display: flex; align-items: center; gap: 10px; }
.ld-nav__logo img { width: 34px; height: 34px; object-fit: contain; }
.ld-nav__wordmark { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.ld-nav__menu { display: flex; gap: 26px; margin: 0 auto; padding: 0; list-style: none; }
.ld-nav__menu a {
  font-family: var(--font-display); font-size: 14.5px; font-weight: 500;
  position: relative; padding: 6px 0;
}
.ld-nav__menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width .35s var(--ease);
}
.ld-nav__menu a:hover::after { width: 100%; }
.ld-nav__icons { display: flex; align-items: center; gap: 6px; }
.ld-nav__icon, .ld-nav__burger {
  position: relative; width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--ink); font-size: 16px; cursor: pointer;
}
.ld-nav__burger { display: none; }

/* Mobile menu + search overlays */
.ld-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(247,245,240,.97);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px clamp(24px, 8vw, 96px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.ld-menu.is-open { opacity: 1; visibility: visible; }
.ld-menu__close {
  position: absolute; top: 24px; right: 24px;
  width: 52px; height: 52px; font-size: 20px;
  background: none; border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
}
.ld-menu__links { display: flex; flex-direction: column; }
.ld-menu__links a {
  font-family: var(--font-display); font-size: clamp(1.8rem, 7vw, 3rem); font-weight: 500;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.ld-menu__links a::after { content: "\f061"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 16px; color: var(--ink-faint); }
.ld-menu__contacts { margin-top: 40px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.ld-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; align-items: center; }
.ld-chips a {
  padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; transition: background .3s, color .3s;
}
.ld-chips a:hover { background: var(--ink); color: #fff; }
.ld-chips__mono { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--ink-faint); }

/* ===================== Hero slider ===================== */
/* slides stack in one grid cell so the hero sizes itself to the tallest one */
.ld-hero { position: relative; display: grid; }
.ld-hero__slide {
  grid-area: 1 / 1; position: relative; min-height: 92vh;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s;
  color: #fff;
}
.ld-hero__slide.is-active { opacity: 1; visibility: visible; }
.ld-hero__inner { max-width: 1360px; margin: 0 auto; width: 100%; padding: var(--pad) clamp(20px,4vw,48px); }
.ld-hero__inner p { max-width: 520px; font-size: 18px; color: rgba(255,255,255,.85); }
.ld-hero__actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.ld-hero__meta { display: flex; gap: 32px; margin-top: 56px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.6); flex-wrap: wrap; }
.ld-hero__ctrl { position: absolute; bottom: 32px; right: clamp(20px,4vw,48px); display: flex; gap: 10px; z-index: 3; }
.ld-hero__arrow {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4); background: rgba(30,33,36,.3); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .3s, border-color .3s;
}
.ld-hero__arrow:hover { background: var(--accent); border-color: var(--accent); }
.ld-hero__dots { position: absolute; bottom: 44px; left: clamp(20px,4vw,48px); display: flex; gap: 8px; z-index: 3; }
.ld-hero__dot { width: 32px; height: 2px; background: rgba(255,255,255,.35); border: none; cursor: pointer; transition: background .3s; }
.ld-hero__dot.is-active { background: #fff; }

/* ===================== Manifesto ===================== */
.ld-manifesto h2 { font-size: clamp(2.2rem, 8vw, 6.5rem); font-weight: 500; }
.ld-manifesto h2 em { font-style: italic; color: var(--slate); }
.ld-manifesto__side { max-width: 380px; margin-left: auto; }
.ld-manifesto__side p { font-size: 17px; }

/* ===================== Category index ===================== */
.ld-catindex { border-top: 1px solid var(--line); }
.ld-catindex__row {
  display: grid; grid-template-columns: 70px 1fr auto 60px; align-items: center; gap: 20px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
  transition: padding-left .4s var(--ease), opacity .4s;
  cursor: pointer;
}
.ld-catindex:hover .ld-catindex__row { opacity: .35; }
.ld-catindex__row:hover { opacity: 1; padding-left: 16px; }
.ld-catindex__num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); }
.ld-catindex__name { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.6rem); font-weight: 500; }
.ld-catindex__count { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }
.ld-catindex__go { color: var(--ink-faint); transition: color .3s, transform .3s var(--ease); text-align: right; }
.ld-catindex__row:hover .ld-catindex__go { color: var(--accent); transform: translateX(6px); }
.ld-catindex__thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 3px; display: none; }

/* ===================== Bento ===================== */
.ld-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.ld-bento__cell {
  position: relative; border-radius: 4px; overflow: hidden;
  background-size: cover; background-position: center;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px; color: #fff;
}
.ld-bento__cell--big { grid-column: span 2; grid-row: span 2; }
.ld-bento__cell--wide { grid-column: span 2; }
.ld-bento__cell--tall { grid-row: span 2; }
.ld-bento__cell--text { background: var(--ink); }
.ld-bento__cell h3 { color: #fff; margin: 0 0 6px; }
.ld-bento__cell p { color: rgba(255,255,255,.75); margin: 0; font-size: 14px; }
.ld-bento__tag { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.7); margin-bottom: 8px; }
.ld-bento__cell .ld-btn { align-self: flex-start; margin-top: 14px; }
.ld-bento__icon { font-size: 26px; color: var(--fog); margin-bottom: 10px; }

/* ===================== Rail (new arrivals, recs) ===================== */
.ld-rail { position: relative; }
.ld-rail__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; scrollbar-width: none;
}
.ld-rail__track::-webkit-scrollbar { display: none; }
.ld-rail__item { flex: 0 0 22vw; min-width: 240px; scroll-snap-align: start; }
.ld-rail__frame { background: var(--stone); border-radius: 3px; overflow: hidden; aspect-ratio: 4/5; }
.ld-rail__frame img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease); }
.ld-rail__item h4 { font-family: var(--font-display); font-size: 16px; font-weight: 500; margin: 14px 0 2px; }
.ld-rail__price { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.ld-rail__sub { font-size: 13px; color: var(--ink-faint); margin: 0; }
.ld-rail__progress { height: 2px; background: var(--line); margin-top: 28px; }
.ld-rail__bar { height: 100%; width: 20%; background: var(--ink); transition: width .3s var(--ease); }
.ld-rail__arrows { display: flex; gap: 10px; }
.ld-rail__arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: none; cursor: pointer; color: var(--ink);
  transition: border-color .3s, background .3s;
}
.ld-rail__arrow:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ===================== Split material story ===================== */
/* halves animate in horizontally, so the row clips them while AOS runs */
.ld-split { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.ld-split__half {
  min-height: 72vh; padding: var(--pad) clamp(28px, 4vw, 64px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background-size: cover; background-position: center; color: #fff;
}
.ld-split__half p { color: rgba(255,255,255,.82); max-width: 460px; }
.ld-split__facts { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.ld-split__fact { display: flex; gap: 14px; align-items: baseline; font-size: 14px; }
.ld-split__fact i { color: var(--fog); }

/* ===================== Marquee ===================== */
.ld-marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 34px 0; }
.ld-marquee__row { display: flex; gap: 64px; width: max-content; animation: ldScroll 34s linear infinite; }
.ld-marquee__row--rev { animation-direction: reverse; margin-top: 22px; }
.ld-marquee__name {
  font-family: var(--font-display); font-size: 26px; font-weight: 500; white-space: nowrap;
  filter: grayscale(1); opacity: .55; transition: filter .3s, opacity .3s;
}
.ld-marquee__name:hover { filter: none; opacity: 1; }
@keyframes ldScroll { to { transform: translateX(-50%); } }

/* ===================== Stats ===================== */
.ld-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.ld-stats__cell { padding: 40px 32px; border-left: 1px solid rgba(255,255,255,.18); }
.ld-stats__cell:first-child { border-left: none; }
.ld-stats__num { font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); font-weight: 500; color: #fff; line-height: 1; }
.ld-stats__label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.6); margin-top: 10px; }

/* ===================== Quiz ===================== */
.ld-quiz { background: var(--slate-soft); border-radius: 4px; padding: clamp(32px,5vw,72px); }
.ld-quiz__steps { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 26px; }
.ld-quiz__bar { height: 2px; background: var(--line); margin-bottom: 36px; }
.ld-quiz__fill { height: 100%; width: 33%; background: var(--accent); transition: width .5s var(--ease); }
.ld-quiz__q { font-family: var(--font-display); font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 500; margin-bottom: 28px; }
.ld-quiz__opts { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.ld-quiz__opt {
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px;
  padding: 26px 22px; text-align: left; cursor: pointer;
  font-family: var(--font-display); font-size: 16px; font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: border-color .3s, transform .3s var(--ease);
}
.ld-quiz__opt i { display: block; font-size: 20px; color: var(--slate); margin-bottom: 12px; }
.ld-quiz__opt:hover, .ld-quiz__opt.is-picked { border-bottom-color: var(--accent); transform: translateY(-2px); }
.ld-quiz__result { display: none; margin-top: 40px; }
.ld-quiz__result.is-visible { display: block; }
.ld-quiz__result .ld-rail__item { flex-basis: 260px; }

/* ===================== Tabs (gift guide) ===================== */
.ld-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 36px; overflow-x: auto; }
.ld-tabs__btn {
  background: none; border: none; padding: 0 0 14px; cursor: pointer;
  font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--ink-faint);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.ld-tabs__btn.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.ld-tabs__btn.is-active::before { content: "\f06b"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 12px; color: var(--accent); margin-right: 8px; }
.ld-tabs__panel { display: none; }
.ld-tabs__panel.is-active { display: block; }

/* ===================== Testimonial ===================== */
.ld-quote { background: var(--stone); }
.ld-quote__mark { font-size: 30px; color: var(--slate); }
.ld-quote__text {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3.6vw, 3rem);
  font-weight: 500; line-height: 1.2; margin: 22px 0 28px; max-width: 1000px;
}
.ld-quote__text u { text-decoration-color: var(--accent); text-underline-offset: 6px; }
.ld-quote__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.ld-quote__author { font-size: 14px; color: var(--ink-soft); }
.ld-quote__author b { color: var(--ink); }
.ld-quote__stars { color: var(--accent); font-size: 13px; letter-spacing: 3px; }
.ld-quote__nav { display: flex; align-items: center; gap: 18px; font-family: var(--font-mono); font-size: 12px; }
.ld-quote__nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; }

/* ===================== Icon service row ===================== */
.ld-svc { display: grid; grid-template-columns: repeat(4,1fr); }
.ld-svc__cell { padding: 32px 28px; border-left: 1px solid var(--line); }
.ld-svc__cell:first-child { border-left: none; }
.ld-svc__cell i { font-size: 26px; color: var(--slate); margin-bottom: 14px; }
.ld-svc__cell h4 { font-family: var(--font-display); font-size: 16px; margin-bottom: 6px; }
.ld-svc__cell p { font-size: 13px; margin: 0; }

/* ===================== Newsletter ===================== */
.ld-news { max-width: 760px; }
.ld-news__form { display: flex; gap: 0; align-items: flex-end; margin: 30px 0 16px; }
.ld-news__input {
  flex: 1; border: none; border-bottom: 2px solid var(--ink); background: none;
  font-size: 18px; padding: 14px 0; outline: none; font-family: var(--font-body);
  transition: border-color .3s;
}
.ld-news__input:focus { border-color: var(--accent); }
.ld-news__submit {
  width: 56px; height: 56px; border: none; background: var(--ink); color: #fff;
  font-size: 18px; cursor: pointer; transition: background .3s;
}
.ld-news__submit:hover { background: var(--accent); }
.ld-news__consent { display: flex; gap: 10px; align-items: baseline; font-size: 13px; color: var(--ink-faint); }

/* ===================== FAQ accordion ===================== */
.ld-faq__item { border-bottom: 1px solid var(--line); }
.ld-faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: none; padding: 24px 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--ink);
}
.ld-faq__q i { color: var(--ink-faint); transition: transform .35s var(--ease); }
.ld-faq__item.is-open .ld-faq__q i { transform: rotate(45deg); }
.ld-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.ld-faq__a > div { overflow: hidden; }
.ld-faq__a p { padding-bottom: 24px; max-width: 640px; }
.ld-faq__item.is-open .ld-faq__a { grid-template-rows: 1fr; }

/* ===================== Comparison table ===================== */
.ld-table { width: 100%; border-collapse: collapse; }
.ld-table th, .ld-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.ld-table th { font-family: var(--font-display); font-weight: 500; font-size: 17px; }
.ld-table .ld-table__pick { background: var(--slate-soft); }
.ld-table .fa-check { color: var(--accent); }
.ld-table .fa-minus { color: var(--ink-faint); }
.ld-table__scroll { overflow-x: auto; }
.ld-table__price { font-family: var(--font-mono); color: var(--accent); font-size: 14px; }

/* ===================== Timeline ===================== */
.ld-timeline { position: relative; padding-left: 34px; }
.ld-timeline::before { content: ""; position: absolute; left: 6px; top: 4px; bottom: 4px; width: 1px; background: var(--line); }
.ld-timeline__item { position: relative; padding-bottom: 40px; }
.ld-timeline__item::before {
  content: ""; position: absolute; left: -31px; top: 8px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--slate);
}
.ld-timeline__item.is-key::before { border-color: var(--accent); background: var(--accent); }
.ld-timeline__year { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--accent); }
.ld-timeline__item h3 { margin: 6px 0 8px; }

/* ===================== Team / portfolio / press ===================== */
.ld-team { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.ld-team__photo { aspect-ratio: 4/5; overflow: hidden; border-radius: 3px; background: var(--stone); }
.ld-team__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .5s var(--ease), transform .6s var(--ease); }
.ld-team__member:hover img { filter: none; transform: scale(1.03); }
.ld-team__member h4 { margin: 14px 0 2px; font-size: 17px; }
.ld-team__member p { margin: 0; font-size: 13px; }
.ld-works { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.ld-works__item { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 3px; }
.ld-works__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ld-works__item:hover img { transform: scale(1.05); }
.ld-works__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px;
  color: #fff; font-family: var(--font-display); font-weight: 500;
  background: linear-gradient(rgba(30,33,36,0), rgba(30,33,36,.75));
}
.ld-press { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 34px 0; }
.ld-press__list { display: flex; gap: 44px; flex-wrap: wrap; font-family: var(--font-display); font-size: 22px; font-weight: 500; color: var(--ink-faint); }
.ld-press__list span:hover { color: var(--ink); }
.ld-press__quote { margin-top: 18px; font-size: 14px; color: var(--ink-soft); font-style: italic; }

/* ===================== Banner CTA ===================== */
.ld-banner { color: #fff; background-size: cover; background-position: center; }
.ld-banner h2 { color: #fff; }
.ld-banner p { color: rgba(255,255,255,.82); max-width: 560px; }
.ld-banner .ld-mono, .ld-hero .ld-mono { color: rgba(255,255,255,.65); }
.ld-banner__points { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin: 40px 0; }
.ld-banner__point i { font-size: 22px; color: var(--fog); margin-bottom: 12px; }
.ld-banner__point h4 { color: #fff; font-size: 17px; }
.ld-banner__point p { font-size: 14px; margin: 0; }

/* ===================== Forms ===================== */
.ld-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ld-form__field { display: flex; flex-direction: column; gap: 8px; }
.ld-form__field--full { grid-column: 1 / -1; }
.ld-form__label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); }
.ld-form__input, .ld-form__select, .ld-form__textarea {
  border: none; border-bottom: 2px solid var(--line); background: none;
  padding: 12px 0; font-size: 16px; font-family: var(--font-body); outline: none;
  transition: border-color .3s; border-radius: 0;
}
.ld-form__input:focus, .ld-form__select:focus, .ld-form__textarea:focus { border-color: var(--accent); }
.ld-form__textarea { min-height: 130px; resize: vertical; }
.ld-form__check { display: flex; gap: 10px; align-items: baseline; font-size: 13px; color: var(--ink-faint); }
.ld-form__note { font-size: 12px; color: var(--ink-faint); margin-top: 8px; }

/* Toast */
.ld-toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 140%);
  z-index: 120; background: var(--ink); color: #fff;
  padding: 16px 26px; border-radius: 3px; display: flex; gap: 12px; align-items: center;
  font-size: 14px; box-shadow: 0 18px 50px rgba(30,33,36,.25);
  transition: transform .5s var(--ease);
}
.ld-toast.is-visible { transform: translate(-50%, 0); }
.ld-toast i { color: var(--fog); }

/* ===================== Cookie banner ===================== */
.ld-cookie {
  position: fixed; left: 24px; bottom: 24px; z-index: 110;
  max-width: 380px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 4px; padding: 24px; box-shadow: 0 24px 60px rgba(30,33,36,.16);
  display: none;
}
.ld-cookie.is-visible { display: block; }
.ld-cookie p { font-size: 13px; }
.ld-cookie__row { display: flex; gap: 10px; }
.ld-cookie__row .ld-btn { padding: 10px 20px; font-size: 14px; }

/* ===================== Cards (blog list, plans) ===================== */
.ld-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.ld-card__img { aspect-ratio: 4/3; border-radius: 3px; overflow: hidden; background: var(--stone); }
.ld-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ld-card:hover .ld-card__img img { transform: scale(1.05); }
.ld-card__tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 16px 0 6px; display: block; }
.ld-card h3 { font-size: 20px; margin-bottom: 8px; }
.ld-card p { font-size: 14px; margin-bottom: 10px; }
.ld-card__meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); display: flex; gap: 14px; }

.ld-plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border-top: 1px solid var(--line); }
.ld-plan { padding: 40px 32px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.ld-plan:first-child { border-left: none; }
.ld-plan--pick { border: 1px solid var(--accent); margin: -1px; }
.ld-plan__price { font-family: var(--font-display); font-size: 40px; font-weight: 500; }
.ld-plan__price small { font-size: 15px; color: var(--ink-faint); }
.ld-plan ul { list-style: none; padding: 0; margin: 22px 0 30px; flex: 1; }
.ld-plan li { padding: 9px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.ld-plan li i { color: var(--slate); margin-right: 10px; }

/* ===================== Legal doc ===================== */
.ld-doc { display: grid; grid-template-columns: 280px 1fr; gap: clamp(36px,6vw,96px); align-items: start; }
.ld-doc__toc { position: sticky; top: 120px; border-left: 2px solid var(--line); }
.ld-doc__toc a { display: block; padding: 8px 0 8px 20px; font-size: 14px; color: var(--ink-soft); border-left: 2px solid transparent; margin-left: -2px; }
.ld-doc__toc a:hover { color: var(--ink); border-left-color: var(--accent); }
.ld-doc__body h2 { font-size: 26px; margin-top: 44px; }
.ld-doc__body h2:first-child { margin-top: 0; }
.ld-doc__body ul { padding-left: 20px; color: var(--ink-soft); }
.ld-doc__box { background: var(--slate-soft); border-radius: 3px; padding: 28px; margin: 32px 0; }
.ld-doc__box p:last-child { margin-bottom: 0; }

/* ===================== Blog article ===================== */
.ld-article { max-width: 780px; margin: 0 auto; }
.ld-article__lead { font-size: 20px; color: var(--ink); }
.ld-article__body p { font-size: 17px; line-height: 1.8; margin-bottom: 1.4rem; }
.ld-article__body h2 { margin-top: 48px; font-size: 28px; }
.ld-article__quote {
  font-family: var(--font-display); font-size: 24px; font-weight: 500; line-height: 1.35;
  border-left: 3px solid var(--accent); padding-left: 28px; margin: 44px 0; color: var(--ink);
}
.ld-article__img { border-radius: 3px; margin: 36px 0; overflow: hidden; }
.ld-article__links { background: var(--stone); border-radius: 3px; padding: 28px; margin: 44px 0; }
.ld-article__links a { display: block; padding: 10px 0; font-family: var(--font-display); font-weight: 500; border-bottom: 1px solid var(--line); }
.ld-article__links a:last-child { border-bottom: none; }

/* ===================== Misc ===================== */
.ld-map { border-radius: 3px; overflow: hidden; filter: grayscale(1); }
.ld-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.ld-contact-row { display: flex; gap: 14px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ld-contact-row i { color: var(--slate); width: 20px; }
.ld-err { text-align: center; }
.ld-err__code { font-family: var(--font-display); font-size: clamp(6rem, 20vw, 14rem); font-weight: 300; line-height: 1; color: var(--stone); }
.ld-related { border-top: 1px solid var(--line); padding-top: 56px; margin-top: 72px; }

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

/* ===================== Responsive ===================== */
@media (max-width: 991px) {
  .ld-nav__menu { display: none; }
  .ld-nav__burger { display: inline-flex; }
  .ld-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
  .ld-bento__cell--big { grid-column: span 2; }
  .ld-split { grid-template-columns: 1fr; }
  .ld-split__half { min-height: 55vh; }
  .ld-stats { grid-template-columns: 1fr 1fr; }
  .ld-stats__cell { border-left: none; border-top: 1px solid rgba(255,255,255,.18); padding: 28px 20px; }
  .ld-svc { grid-template-columns: 1fr 1fr; }
  .ld-svc__cell { border-left: none; border-top: 1px solid var(--line); }
  .ld-quiz__opts { grid-template-columns: 1fr; }
  .ld-doc { grid-template-columns: 1fr; }
  .ld-doc__toc { position: static; border-left: none; border-bottom: 1px solid var(--line); padding-bottom: 18px; display: flex; gap: 14px; flex-wrap: wrap; }
  .ld-doc__toc a { border-left: none; padding: 4px 0; }
  .ld-cards { grid-template-columns: 1fr; }
  .ld-plans { grid-template-columns: 1fr; }
  .ld-plan { border-left: none; border-top: 1px solid var(--line); }
  .ld-plan--pick { border: 1px solid var(--accent); }
  .ld-team { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
  .ld-team__member { flex: 0 0 62vw; scroll-snap-align: start; }
  .ld-works { grid-template-columns: 1fr; }
  .ld-banner__points { grid-template-columns: 1fr; }
  .ld-form__grid { grid-template-columns: 1fr; }
  .ld-rail__item { flex-basis: 72vw; }
  .ld-rail__arrows { display: none; }
  .ld-ticker__locale { display: none; }
  .ld-nav__topline { flex-wrap: wrap; gap: 10px 18px; }
  .ld-marquee__row { animation-duration: 56s; }
}

@media (max-width: 575px) {
  .ld-catindex__row { grid-template-columns: 40px 1fr 56px 24px; gap: 12px; }
  .ld-catindex__thumb { display: block; grid-column: 3; }
  .ld-catindex__count { display: none; }
  .ld-stats__num { font-size: 40px; }
  .ld-news__form { flex-direction: column; align-items: stretch; gap: 12px; }
  .ld-news__submit { width: 100%; border-radius: 2px; }
  .ld-form__input, .ld-form__select, .ld-form__textarea, .ld-news__input { font-size: 16px; }
}

/* ===================== Before/after ===================== */
.ld-ba { position: relative; aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; user-select: none; touch-action: none; }
.ld-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ld-ba__after { clip-path: inset(0 50% 0 0); }
.ld-ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff;
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.ld-ba__handle i { background: #fff; color: var(--ink); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.ld-ba__label { position: absolute; top: 16px; z-index: 2; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(30,33,36,.55); padding: 5px 12px; border-radius: 2px; }
.ld-ba__label--l { left: 16px; }
.ld-ba__label--r { right: 16px; }

/* Quote slides inside testimonial share one stage */
.ld-quote__slide { animation: ldFade .5s var(--ease); }
@keyframes ldFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; } }

/* ===================== Footer ===================== */
/* overflow:hidden lives only on the footer itself — the wordmark is meant
   to bleed, but it must not widen the page on small screens */
.ld-footer {
  position: relative; overflow: hidden;
  background: var(--ink); color: rgba(255,255,255,.75);
  padding: var(--pad) 0 0;
}
.ld-footer a:hover { color: #fff; }
.ld-footer__main {
  max-width: 1360px; margin: 0 auto; padding: 0 clamp(20px,4vw,48px);
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; gap: clamp(28px,4vw,56px);
}
.ld-footer__logo img { width: 40px; height: 40px; margin-bottom: 18px; }
.ld-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.ld-footer__col p { color: rgba(255,255,255,.6); font-size: 14px; margin: 0; }
.ld-footer__title {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .12em; color: rgba(255,255,255,.45); margin-bottom: 8px;
}
.ld-footer__socials { display: flex; gap: 10px; margin-top: 14px; }
.ld-footer__socials a {
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
  transition: border-color .3s, background .3s;
}
.ld-footer__socials a:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.ld-footer__line { display: flex; gap: 10px; align-items: baseline; color: rgba(255,255,255,.75); }
.ld-footer__line i { color: var(--slate); }
.ld-footer__mono { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.45); margin-bottom: 8px; }
.ld-footer__field { display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.3); }
.ld-footer__field input {
  flex: 1; background: none; border: none; color: #fff;
  padding: 10px 0; font-size: 15px; outline: none; min-width: 0;
}
.ld-footer__field input::placeholder { color: rgba(255,255,255,.4); }
.ld-footer__field button { background: none; border: none; color: var(--accent); font-size: 15px; cursor: pointer; padding: 10px 4px; }
.ld-footer__legal {
  max-width: 1360px; margin: 56px auto 0; padding: 22px clamp(20px,4vw,48px);
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255,255,255,.5);
}
.ld-footer__pay { display: flex; gap: 14px; font-size: 20px; color: rgba(255,255,255,.4); }
.ld-footer__copy {
  max-width: 1360px; margin: 0 auto; padding: 0 clamp(20px,4vw,48px) 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: rgba(255,255,255,.35);
}
/* the wordmark bleeds off the bottom edge on purpose */
.ld-footer__word {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(90px, 21vw, 300px); line-height: .72;
  letter-spacing: -.03em; text-align: center;
  color: rgba(255,255,255,.07);
  margin-bottom: -.28em; white-space: nowrap;
  user-select: none; pointer-events: none;
}

@media (max-width: 991px) {
  .ld-footer__main { grid-template-columns: 1fr 1fr; }
  .ld-footer__col--brand, .ld-footer__col--contact { grid-column: 1 / -1; }
}
@media (max-width: 575px) {
  .ld-footer__main { grid-template-columns: 1fr; }
  .ld-footer__word { font-size: 26vw; }
}
