/* Lumetta — lumetta.ai
   Ink #0D0F14, Ivory #F6F2EA, Lumen #FFB547, Ember #E8833A
   Fraunces (headings) + Inter (body)
*/

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0d0f14;
  --ink-elev: #161922;
  --ivory: #f6f2ea;
  --ivory-soft: rgba(246, 242, 234, 0.78);
  --ivory-mute: rgba(246, 242, 234, 0.58);
  --lumen: #ffb547;
  --lumen-soft: rgba(255, 181, 71, 0.18);
  --ember: #e8833a;
  --line: rgba(246, 242, 234, 0.12);
  --line-strong: rgba(246, 242, 234, 0.22);
  --font-display: "Fraunces", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --measure: 68rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 1.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
  color: var(--ivory);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: -0.011em;
  background:
    radial-gradient(1200px 520px at 50% -80px, rgba(255, 181, 71, 0.14), transparent 60%),
    var(--ink);
  color: var(--ivory);
  min-height: 100dvh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: 0.75rem;
  z-index: 100;
  background: var(--lumen);
  color: var(--ink);
  font-weight: 500;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-150%);
}
.skip:focus { transform: none; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--measure));
  margin-inline: auto;
}

/* Header
   -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 15, 20, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
@supports (backdrop-filter: blur(16px)) {
  /* border appears once content sits under the bar */
}

.header-inner {
  width: min(100% - 2 * var(--gutter), var(--measure));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ivory);
  flex-shrink: 0;
}
.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.55rem;
}
.brand-word {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  cursor: pointer;
  background: transparent;
}
.nav-burger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ivory);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav {
  display: none;
  align-items: center;
}

.nav-links {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--ivory-soft);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.55rem 0.2rem;
}
.nav-links a:hover { color: var(--ivory); }

.nav-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: rgba(13, 15, 20, 0.96);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--gutter) 1.25rem;
}

.nav-toggle:checked ~ .nav-panel { display: block; }
.nav-toggle:checked + .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle:checked + .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked + .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-toggle:focus-visible + .nav-burger { outline: 2px solid var(--lumen); outline-offset: 3px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn-primary {
  background: var(--lumen);
  color: var(--ink);
}
.btn-primary:hover { background: #ffc266; }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ivory-soft); background: rgba(246, 242, 234, 0.04); }
.btn-header { display: none; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Hero
   -------------------------------------------------- */
.hero {
  padding: clamp(2.5rem, 8vw, 5.5rem) 0 clamp(3rem, 8vw, 5rem);
  position: relative;
}
.hero-copy { max-width: none; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--lumen);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}
.star {
  width: 0.7rem;
  height: 0.7rem;
  flex-shrink: 0;
  color: var(--lumen);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 9.5vw, 5.35rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 1.4rem;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--ivory);
}

.lede {
  margin: 0 0 1.75rem;
  color: var(--ivory-soft);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.6;
  max-width: 34rem;
}

.hero-figure {
  margin: 3rem 0 0;
  position: relative;
}
.hero-figure img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  object-fit: cover;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.hero-caption {
  margin: 0.85rem 0 0;
  color: var(--ivory-mute);
  font-size: 0.9rem;
}

/* Sections
   -------------------------------------------------- */
section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
section + section { border-top: 1px solid var(--line); }

.section-head {
  max-width: 34rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.7rem;
  color: var(--lumen);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  text-wrap: balance;
}
.section-head p {
  margin: 0;
  color: var(--ivory-soft);
}

/* How it works
   -------------------------------------------------- */
.steps {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  background: var(--ink-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
}
.step-num {
  font-family: var(--font-display);
  color: var(--lumen);
  font-size: 1.35rem;
  margin: 0 0 0.65rem;
  letter-spacing: -0.03em;
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
.step p { margin: 0; color: var(--ivory-soft); }

/* What we make
   -------------------------------------------------- */
.offers {
  display: grid;
  gap: 1rem;
}
.offer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 0.4rem;
}
.offer h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.offer p { margin: 0; color: var(--ivory-soft); max-width: 36rem; }

/* Who
   -------------------------------------------------- */
.who-layout { display: grid; gap: 2rem; }
.trades {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trades li {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ivory-soft);
}
.trades li.featured {
  border-color: rgba(255, 181, 71, 0.45);
  color: var(--ivory);
  background: var(--lumen-soft);
}
.who-note {
  margin: 0;
  color: var(--ivory-soft);
  max-width: 36rem;
}

/* Before & after
   -------------------------------------------------- */
.examples {
  display: grid;
  gap: 1rem;
}
.example {
  position: relative;
  border: 1px dashed rgba(246, 242, 234, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(500px 180px at 50% 100%, rgba(255, 181, 71, 0.08), transparent 70%),
    var(--ink-elev);
  min-height: 16rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.example-kind {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ivory-mute);
}
.example-label {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin: 0;
}
.example-soon {
  color: var(--lumen);
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0;
}
.example-frame {
  pointer-events: none;
  position: absolute;
  inset: 1.1rem;
  border-radius: calc(var(--radius) - 0.4rem);
  border: 1px solid rgba(246, 242, 234, 0.05);
}

/* Contact
   -------------------------------------------------- */
.contact {
  background:
    radial-gradient(800px 300px at 50% 120%, rgba(255, 181, 71, 0.12), transparent 60%);
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--ink-elev);
}
.contact h2 { margin-bottom: 0.75rem; }
.contact p { color: var(--ivory-soft); margin: 0 0 1.5rem; max-width: 34rem; }
.contact-email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  color: var(--ivory);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 181, 71, 0.55);
  margin: 0 0 1.5rem;
}
.contact-email:hover { color: var(--lumen); border-color: var(--lumen); }

/* Footer
   -------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  color: var(--ivory-mute);
  font-size: 0.92rem;
}
.footer-inner {
  width: min(100% - 2 * var(--gutter), var(--measure));
  margin-inline: auto;
  display: grid;
  gap: 1.25rem;
}
.footer-brand {
  font-family: var(--font-display);
  color: var(--ivory);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.footer-tag { margin: 0.15rem 0 0; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.footer-links a { color: var(--ivory-soft); text-decoration: none; }
.footer-links a:hover { color: var(--ivory); }
.privacy-note {
  margin: 0.5rem 0 0;
  max-width: 38rem;
  color: var(--ivory-mute);
}

/* Inner pages
   -------------------------------------------------- */
.page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 5rem; }
.page h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 1.25rem;
}
.prose { max-width: 38rem; color: var(--ivory-soft); }
.prose p { margin: 0 0 1rem; }
.prose a { color: var(--ivory); text-decoration-color: rgba(255, 181, 71, 0.7); }
.prose a:hover { color: var(--lumen); }

/* Responsive
   -------------------------------------------------- */
@media (min-width: 720px) {
  .nav-burger { display: none; }
  .nav-panel {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .header-inner { gap: 2rem; }
  .nav {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    gap: 1.5rem;
  }
  .nav-links {
    flex-direction: row;
    align-items: center;
    gap: 1.35rem;
  }
  .nav-links a { padding: 0.2rem 0; }
  .btn-header { display: inline-flex; }
  .nav-panel > .btn { display: none; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
  .offers { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
  .offer { border-top: 0; border-left: 1px solid var(--line); padding: 0 0 0 1.5rem; }
  .offer:first-child { border-left: 0; padding-left: 0; }
  .examples { grid-template-columns: 1fr 1fr; }
  .example { min-height: 20rem; }
}

@media (min-width: 960px) {
  .hero { padding-top: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (prefers-color-scheme: light) {
  /* Site is intentionally ink on all schemes; brand is dark. */
}
