/* Jennefer theme, used by the ten Jennefer app pages and the homepage section.
   The jennefer.dev site language (C:/AI Agency/documents/75_LANDING_ELEGANT.md and
   76_SITE_ELEGANT_SYSTEM.md): near-black, warm ivory, thin Bricolage display, hairlines,
   champagne gold only for focus, and one graphite object per app. Each app keeps its crew
   colour as a small accent dot. Text rises 22px over 900ms; no springs. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/bricolage-grotesque-latin-opsz-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/manrope-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(/fonts/manrope-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/jetbrains-mono-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.jn-hero,
.jn-section,
.jn-band {
  --jn-canvas: #0a0a0b;
  --jn-panel: #111113;
  --jn-surface: #161618;
  --jn-fg: #f4f1ea;
  --jn-body: #c9c5bc;
  --jn-muted: #b8b4ab;
  --jn-hair: rgba(244, 241, 234, 0.13);
  --jn-hair-strong: rgba(244, 241, 234, 0.24);
  --jn-gold: #cdb98a;
  --jn-gold-wash: rgba(205, 185, 138, 0.06);
  --jn-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --jn-display: "Bricolage Grotesque", "Archivo", sans-serif;
  --jn-body-font: "Manrope", "Archivo", sans-serif;
  --jn-mono: "JetBrains Mono", "Plex Mono", monospace;
  --accent: var(--jn-gold);
  position: relative;
  isolation: isolate;
  background: var(--jn-canvas);
  color: var(--jn-fg);
  font-family: var(--jn-body-font);
}

body.theme-jennefer {
  background: #0a0a0b;
}

.jn-wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

.jn-title {
  font-family: var(--jn-display);
  font-size: clamp(54px, 8.4vw, 132px);
  font-weight: 260;
  font-variation-settings: "opsz" 96;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.jn-tagline {
  margin-top: 18px;
  max-width: 18ch;
  font-family: var(--jn-display);
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 260;
  font-variation-settings: "opsz" 96;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--jn-body);
}

.jn-lead {
  margin-top: 22px;
  max-width: 46ch;
  color: var(--jn-body);
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.6;
}

.jn-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(28px, 4vw, 56px);
  color: var(--jn-muted);
  font-family: var(--jn-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.jn-kicker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.jn-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--jn-hair-strong);
  border-radius: 4px;
  background: none;
  color: var(--jn-fg);
  font-family: var(--jn-body-font);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.3s var(--jn-ease), background-color 0.3s var(--jn-ease), color 0.3s var(--jn-ease);
}

.jn-btn svg {
  width: 16px;
  height: 16px;
}

.jn-btn--solid {
  border-color: var(--jn-fg);
  background: var(--jn-fg);
  color: #141413;
}

.jn-btn:hover {
  border-color: var(--jn-fg);
}

.jn-btn--solid:hover {
  background: transparent;
  color: var(--jn-fg);
}

.jn-btn:focus-visible,
.jn-hero a:focus-visible,
.jn-section a:focus-visible,
.jn-band a:focus-visible,
.jn-band button:focus-visible {
  outline: 1px solid var(--jn-gold);
  outline-offset: 3px;
}

.jn-actions,
.jn-band .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 32px;
}

/* The graphite object, alone on black. */
.jn-object,
.jn-gpu {
  position: relative;
  margin: 0;
}

.jn-object::before,
.jn-gpu::before {
  content: "";
  position: absolute;
  inset: 8% 14%;
  z-index: -1;
  border: 1px solid var(--jn-hair);
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--jn-gold-wash), transparent 70%);
}

.jn-object img,
.jn-gpu img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.6));
}

/* Hero */
.jn-hero {
  overflow: hidden;
  padding: 28px 0 clamp(64px, 8vw, 112px);
}

.jn-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--jn-muted);
  font-family: var(--jn-mono);
  font-size: 12.5px;
}

.jn-crumbs a {
  color: var(--jn-fg);
}

.jn-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

/* Sections */
.jn-section {
  overflow-x: clip;
  padding: clamp(56px, 8vw, 104px) 0;
  border-top: 1px solid var(--jn-hair);
}

.jn-h2 {
  font-family: var(--jn-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 260;
  font-variation-settings: "opsz" 96;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.jn-split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 24px clamp(28px, 5vw, 80px);
  align-items: start;
}

.jn-facts {
  border-top: 1px solid var(--jn-hair-strong);
  counter-reset: none;
}

.jn-facts li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--jn-hair);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.45;
}

.jn-facts li::before {
  content: none;
}

.jn-facts span {
  padding-top: 4px;
  color: var(--jn-muted);
  font-family: var(--jn-mono);
  font-size: 12.5px;
}

.jn-facts li:first-child span {
  color: var(--accent);
}

.jn-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  margin-top: clamp(28px, 4vw, 48px);
}

.jn-shots--portrait {
  grid-template-columns: repeat(3, minmax(0, 260px));
}

.jn-shots figure {
  margin: 0;
  padding: 1px;
  border-radius: 10px;
  background: var(--jn-hair);
}

.jn-shots img {
  display: block;
  width: 100%;
  border-radius: 9px;
  background: #0d0d0d;
}

.jn-section .link-list {
  border-top: 1px solid var(--jn-hair-strong);
}

.jn-section .link-list a {
  border-bottom: 1px solid var(--jn-hair);
}

.jn-section .link-list strong {
  font-family: var(--jn-display);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.jn-section .link-list span {
  color: var(--jn-muted);
}

.jn-section .link-list a:hover {
  background: var(--jn-gold-wash);
  color: var(--jn-fg);
}

.jn-family .rows,
.jn-band .rows {
  border-top: 1px solid var(--jn-hair-strong);
  font-family: var(--jn-body-font);
}

.jn-family .row,
.jn-band .row {
  border-bottom: 1px solid var(--jn-hair);
}

.jn-family .row-name,
.jn-band .row-name {
  font-family: var(--jn-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.jn-family .row:hover,
.jn-family .row:focus-visible,
.jn-band .row:hover,
.jn-band .row:focus-visible {
  background: var(--jn-gold-wash);
  color: var(--jn-fg);
}

.jn-family .row-meta em,
.jn-band .row-meta em {
  border: 1px solid var(--jn-gold);
  background: none;
  color: var(--jn-gold);
}

.jn-family .row-icon,
.jn-band .row-icon {
  border-radius: 10px;
  background: var(--jn-surface);
}

/* Homepage section */
.jn-band {
  margin-top: clamp(72px, 10vw, 140px);
  padding: clamp(56px, 8vw, 112px) 0;
  overflow: hidden;
}

.jn-band .bar {
  border-top: 1px solid var(--jn-hair-strong);
  font-family: var(--font);
}

.jn-band .bar .label,
.jn-band .text-link {
  color: var(--jn-muted);
}

.jn-band .text-link:hover {
  color: var(--jn-fg);
}

.jn-band .jen-head {
  margin-top: clamp(28px, 4vw, 48px);
  align-items: end;
}

.jn-band .jn-tagline {
  max-width: 14ch;
  color: var(--jn-fg);
}

.jn-band .jn-lead {
  margin-top: 0;
  color: var(--jn-fg);
  font-size: clamp(19px, 1.5vw, 22px);
}

.jn-body {
  margin-top: 16px;
  max-width: 56ch;
  color: var(--jn-body);
  line-height: 1.6;
}

.jn-band .jen-stores .label {
  color: var(--jn-muted);
}

.jn-gpu {
  width: min(100%, 860px);
  margin: clamp(32px, 5vw, 72px) auto 0;
}

.jn-band .jen-shot img {
  border: 1px solid var(--jn-hair);
  border-radius: 10px;
}

.jn-band .jen-grid > div > h3 {
  color: var(--jn-muted);
}

.jn-band .crew ul {
  border-top: 1px solid var(--jn-hair-strong);
}

.jn-band .crew li {
  border-color: var(--jn-hair);
}

.jn-band .crew strong {
  font-family: var(--jn-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.jn-band .crew .label {
  color: var(--jn-muted);
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .jn-hero .jn-kicker,
  .jn-hero .jn-title,
  .jn-hero .jn-tagline,
  .jn-hero .jn-lead,
  .jn-hero .jn-actions {
    animation: jn-rise 0.9s var(--jn-ease) both;
  }

  .jn-hero .jn-title { animation-delay: 0.08s; }
  .jn-hero .jn-tagline { animation-delay: 0.16s; }
  .jn-hero .jn-lead { animation-delay: 0.24s; }
  .jn-hero .jn-actions { animation-delay: 0.32s; }

  .jn-object img,
  .jn-gpu img {
    animation: jn-float 9s ease-in-out infinite;
  }

  .jn-hero .jn-object {
    animation: jn-appear 1.4s 0.2s var(--jn-ease) both;
  }
}

@keyframes jn-rise {
  from { transform: translateY(22px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes jn-appear {
  from { transform: scale(0.92) rotate(-4deg); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@keyframes jn-float {
  50% { transform: translateY(-14px) rotate(1.2deg); }
}

@keyframes jn-turn {
  from { transform: rotate(-10deg) scale(0.86); }
  to { transform: rotate(6deg) scale(1.08); }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* The object turns as it passes, a quiet stand-in for jennefer.dev's 3D dive. */
    .jn-gpu,
    .jn-hero .jn-object {
      animation: jn-turn linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }

    .jn-h2,
    .jn-facts li,
    .jn-shots figure,
    .jn-band .jen-head > *,
    .jn-band .crew li,
    .jn-band .jen-shot {
      animation: jn-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
  }
}

/* Layout */
@media (max-width: 1024px) {
  .jn-hero-grid,
  .jn-split {
    grid-template-columns: 1fr;
  }

  .jn-object {
    width: min(100%, 560px);
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .jn-shots {
    grid-template-columns: 1fr;
  }

  .jn-shots--portrait {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
