/* Lumiceo V1.2, Cobalt-style rebuild (own palette, own markup, copied from no one) */

@font-face {
  font-family: "Konkhmer Sleokchher";
  src: url("../fonts/konkhmer-sleokchher-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #F5F5EE;
  --cream-card: #ECEAE0;
  --ink: #000000;
  --body-c: rgba(0, 0, 0, 0.72);
  --muted: rgba(0, 0, 0, 0.56);
  --white: #FFFFFF;
  --blue-band: #D9E0ED;
  --blue-highlight: #B4C8E9;
  --black: #000000;
  --hero-text: #F5F5EE;
  --hair: rgba(0, 0, 0, 0.14);
  --hair-on-dark: rgba(255, 255, 255, 0.18);
  --font-display: "Konkhmer Sleokchher", "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-label: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--cream);
  color: var(--body-c);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.65;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.07em;
  line-height: 0.98;
  margin: 0;
}
em, .i {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: inherit;
}
.mark {
  position: relative;
  white-space: nowrap;
}
.mark::before {
  content: "";
  position: absolute;
  left: -0.1em;
  right: -0.1em;
  top: 18%;
  bottom: 8%;
  background: var(--blue-highlight);
  border-radius: 999px;
  z-index: -1;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s ease;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--ink);
  line-height: 1.2;
  background: var(--blue-band);
  color: var(--ink);
}
.btn:hover { background: var(--blue-highlight); }

.btn-oval {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 240px;
  height: 62px;
  padding: 0 16px;
  border-radius: 100%;
  background: var(--blue-band);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 400;
  text-decoration: none;
  line-height: 1.15;
}
.btn-oval:hover { background: var(--blue-highlight); }

.text-link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
  text-decoration: none;
}
.text-link .arrow { font-family: var(--font-sans); font-style: normal; transition: transform 0.15s ease; }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px;
  background: var(--cream);
  position: relative;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
.nav--desktop {
  display: none;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav--desktop a {
  font-family: var(--font-label);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--body-c);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.nav--desktop a:hover { color: var(--ink); }
.nav--desktop a.is-active { color: var(--ink); border-bottom-color: var(--ink); }

.nav-details { position: static; }
.nav-details > summary.nav-toggle {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-label);
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding: 8px 14px;
  border: 1px solid var(--ink);
  border-radius: 999px;
}
.nav-details > summary.nav-toggle::-webkit-details-marker { display: none; }
.nav-details .nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 10px 0 2px;
  border-top: 1px solid var(--hair);
}
.nav-details .nav a {
  display: block;
  padding: 10px 2px;
  font-family: var(--font-label);
  font-size: 16px;
  font-weight: 400;
  color: var(--body-c);
  text-decoration: none;
}
.nav-details .nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-actions .btn { padding: 10px 18px; font-size: 13px; }

@media (min-width: 900px) {
  .nav--desktop { display: flex; }
  .nav-details { display: none; }
}

@media (max-width: 899px) {
  .site-header { padding: 14px 20px; flex-wrap: wrap; }
  .wordmark { font-size: 19px; }
  .nav-details { order: 3; width: 100%; }
  .nav-details[open] > summary.nav-toggle { margin-bottom: 10px; }
  .header-actions { order: 2; margin-left: auto; }
}

/* ---------- hero ---------- */
.hero { padding: 160px 24px 140px; text-align: center; }
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero .eyebrow {
  font-family: var(--font-label);
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 24px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 26px;
}
.hero-sub {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--body-c);
  max-width: 480px;
  margin: 0 auto;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin: 44px 0 28px;
}
.hero-note { font-size: 14px; color: var(--muted); margin: 0; font-family: var(--font-sans); }

@media (max-width: 760px) {
  .hero { padding: 96px 20px 80px; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 2.6rem); }
}

/* ---------- section shells ---------- */
section { padding: 140px 24px; border-top: 1px solid var(--hair); }
main > section:first-child, .hero { border-top: none; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-family: var(--font-label);
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 16px;
}
.section-intro { font-size: 17px; color: var(--body-c); margin: 0 0 32px; max-width: 640px; }
h2 { font-size: clamp(36px, 3.6vw, 64px); line-height: 0.95; letter-spacing: -0.04em; margin-bottom: 16px; }
.hr-thin { border: none; border-top: 1px solid var(--ink); width: 56px; margin: 0 0 22px; opacity: 0.85; }

.band--cream { background: var(--cream); }
.band--blue { background: var(--blue-band); }

@media (max-width: 760px) {
  section { padding: 84px 20px; }
}

/* ---------- audit section ---------- */
.terms-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 44px;
}
.terms-row dt {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 3.8vw, 72px);
  line-height: 0.88;
  letter-spacing: -0.07em;
  color: var(--ink);
  margin: 0 0 6px;
}
.terms-row dd {
  margin: 0;
  font-family: var(--font-label);
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--muted);
  border-top: 1px solid var(--ink);
  padding-top: 10px;
}

@media (max-width: 760px) {
  .terms-row { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
}

.audit-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.audit-list li {
  background: var(--white);
  border: 1px solid var(--hair);
  border-radius: 6px;
  padding: 18px 20px;
  font-size: 16px;
  color: var(--body-c);
}
.audit-notes { margin: 0 0 28px; display: grid; gap: 10px; }
.audit-notes p { margin: 0; font-size: 15px; color: var(--muted); }

.tracking-card {
  max-width: 760px;
  margin: 56px auto 0;
  background: var(--cream-card);
  border-radius: 6px;
  padding: 32px;
  display: grid;
  gap: 18px;
  text-align: center;
}
.tracking-card img { width: 100%; height: auto; }
.tracking-card .fig-mobile { display: none; }
.tracking-card .figure-caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--body-c);
  margin: 0;
}
@media (max-width: 899px) {
  .tracking-card .fig-desktop { display: none; }
  .tracking-card .fig-mobile { display: block; }
}
@media (max-width: 760px) {
  .tracking-card { padding: 22px; margin-top: 40px; }
}

/* ---------- statement section ---------- */
.statement h2 {
  max-width: 680px;
  margin: 0 0 28px;
}
.statement h2 em { color: var(--ink); }
.who-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  max-width: 560px;
}
.who-list li {
  padding: 16px 0;
  border-top: 1px solid var(--hair);
  font-size: 16px;
  color: var(--body-c);
}
.who-outro { font-size: 16px; color: var(--body-c); max-width: 540px; margin: 0; }

/* ---------- how it works: blue band ---------- */
.how-head { text-align: center; max-width: 820px; margin: 0 auto; }
.how-head .section-label { text-align: center; }
.how-head h2 {
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 0.98;
  margin: 0;
}

.how-steps {
  list-style: none;
  padding: 0;
  max-width: 1040px;
  margin: 96px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.how-step { text-align: left; padding-top: 28px; border-top: 1px solid rgba(0, 0, 0, 0.16); }
.how-step .how-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 48px;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 16px;
}
.how-step p.step-sentence {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.78);
  margin: 0;
}

@media (max-width: 760px) {
  .how-steps { grid-template-columns: 1fr; gap: 32px; margin-top: 56px; }
}

/* ---------- services ---------- */
.service-rows { margin: 0; padding: 0; }
.service-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--ink);
  text-decoration: none;
  color: inherit;
}
.service-row:last-child { border-bottom: 1px solid var(--ink); }
.service-main { display: flex; flex-direction: column; gap: 10px; max-width: 70%; }
.service-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 3.8vw, 72px);
  line-height: 0.88;
  letter-spacing: -0.07em;
  color: var(--ink);
  margin: 0;
}
.service-price {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}
.service-desc {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--body-c);
  margin: 0;
  max-width: 560px;
}
.service-arrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  color: var(--ink);
  transition: transform 0.18s ease;
  flex-shrink: 0;
}
.service-row:hover .service-arrow,
.service-row:focus-visible .service-arrow { transform: translateX(10px); }

@media (max-width: 760px) {
  .service-row { flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px 0; }
  .service-main { max-width: 100%; }
}

/* ---------- recent work ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.work-card {
  background: var(--cream-card);
  border: 1px solid var(--hair);
  border-radius: 6px;
  padding: 32px;
}
.work-card .work-tag {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 14px;
}
.work-card .work-label {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-size: 24px;
  margin: 0 0 14px;
}
.work-card p.work-body { margin: 0; font-size: 15px; color: var(--body-c); }
.work-note { font-size: 15px; color: var(--muted); max-width: 680px; }

@media (max-width: 760px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* ---------- about ---------- */
.about-text p {
  font-family: var(--font-sans);
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--body-c);
  max-width: 680px;
}

/* ---------- FAQ accordion ---------- */
.faq-list { margin: 0; padding: 0; }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item:first-of-type { border-top: 1px solid var(--hair); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  font-size: 18px;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-icon {
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  display: inline-block;
  transition: transform 0.18s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p.faq-answer {
  margin: 0;
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--body-c);
  max-width: 640px;
}

/* ---------- contact band ---------- */
.contact-band {
  background: var(--black);
  color: var(--cream);
  text-align: center;
}
.contact-band h2 {
  color: var(--cream);
  font-size: clamp(36px, 7vw, 76px);
  margin: 0 0 22px;
}
.contact-band h2 em { color: var(--cream); }
.contact-band p { font-size: 17px; color: rgba(245, 245, 238, 0.82); max-width: 520px; margin: 0 auto 30px; }

/* ---------- final panel ---------- */
.final-panel {
  background: var(--black);
  color: var(--cream);
  padding: 32px 24px 36px;
  text-align: center;
}
.email-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(245, 245, 238, 0.08);
  border: 1px solid var(--hair-on-dark);
  border-radius: 999px;
  padding: 10px 10px 10px 18px;
  margin: 0 0 18px;
  flex-wrap: wrap;
}
.email-row .email-text {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--cream);
}
.copy-btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--blue-band);
  border: none;
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
}
.copy-btn:hover { background: var(--blue-highlight); }
.footer-line {
  font-size: 13px;
  color: rgba(245, 245, 238, 0.78);
  margin: 0;
}
.footer-line a { color: rgba(245, 245, 238, 0.85); text-decoration: underline; }

/* ---------- motion: fade-up below the fold, off on hero, off without JS ---------- */
html.has-js .fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.has-js .fade-up.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.has-js .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ---------- 404 & privacy minimal pages ---------- */
.plain-page { padding: 100px 24px; text-align: center; }
.plain-page h1 { font-size: clamp(32px, 6vw, 48px); margin-bottom: 18px; }
.plain-page p { font-size: 17px; color: var(--body-c); margin: 0 0 28px; }

.privacy-page { padding: 72px 24px 90px; }
.privacy-page .wrap { max-width: 720px; }
.privacy-page h1 { font-size: clamp(32px, 6vw, 44px); margin-bottom: 22px; }
.privacy-page h2 { font-size: 20px; font-family: var(--font-sans); font-weight: 700; margin: 34px 0 10px; }
.privacy-page p { font-size: 16px; color: var(--body-c); margin: 0 0 14px; }

/* ---------- logo (V1.2, 7 Oct): Lumi heavy + ceo italic, outlined SVG ---------- */
.wordmark img { display: block; height: 26px; width: auto; }
@media (max-width: 899px) { .wordmark img { height: 22px; } }

/* 7 Oct fixes: FAQ questions in the sans (the display font draws "?" like a small box) */
.faq-item summary { font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.01em; }

/* 7 Oct: sample audit page (example store, not client data) */
.sample-audit { margin: 48px 0 8px; background: #ffffff; border: 1px solid rgba(0,0,0,0.12); border-radius: 6px; padding: clamp(24px, 4vw, 48px); }
.sample-tag { margin: 0 0 14px; font-family: Arial, Helvetica, sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: #4a4a4a; }
.sample-audit h3 { margin: 0 0 24px; font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 2.6vw, 44px); line-height: 0.95; letter-spacing: -0.06em; color: #000; }
.sample-audit h3 em { font-family: var(--font-serif); font-style: italic; letter-spacing: 0; }
.sample-findings { margin: 0; padding: 0; list-style: none; counter-reset: f; }
.sample-findings li { counter-increment: f; position: relative; padding: 18px 0 18px 56px; border-top: 1px solid rgba(0,0,0,0.12); font-size: 16px; line-height: 1.5; color: #222; }
.sample-findings li::before { content: counter(f); position: absolute; left: 0; top: 10px; font-family: var(--font-serif); font-style: italic; font-size: 38px; line-height: 1; color: #000; }
.sample-findings strong { color: #000; }
.sample-findings .fix { display: block; margin-top: 6px; padding: 6px 12px; background: #D9E0ED; border-radius: 999px; width: fit-content; max-width: 100%; font-size: 14px; color: #000; }
.sample-note { margin: 12px 0 0; font-size: 14px; color: #4a4a4a; }
