@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500&family=JetBrains+Mono:wght@400&display=swap");

:root{
  --bg:#F7F4EE;
  --fg:#2A2A28;
  --muted:#6B6A66;
  --divider:#D6D3CC;

  --serif:"Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans:"Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --mono:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --wrap: 1120px;
  --jn-shell-max: 1340px;
  --pad: clamp(18px, 3vw, 46px);
  --label: 0.72rem;

  /* page variables used by the jn-* system */
  --jn-bg: var(--bg);
  --jn-text: var(--fg);
  --jn-muted: var(--muted);
  --jn-soft: #8f8d86;
  --jn-line: rgba(42,42,40,0.10);
  --jn-line-strong: rgba(42,42,40,0.16);
  --jn-surface-strong: rgba(255,255,255,0.62);
  --jn-accent-line: rgba(63,79,69,0.25);
  --jn-shadow-card: 0 12px 32px rgba(0,0,0,0.06);
}

html{ font-size:16px; }

*{ box-sizing:border-box; }

body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:var(--sans);
  line-height:1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition:
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.jn-shell,
.jn-footer__inner{
  width: min(calc(100% - 80px), var(--jn-shell-max));
  margin: 0 auto;
}

/* --------- Header (sticky + blur) --------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  background: rgba(247,244,238,0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(42,42,40,0.10);
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease,
    -webkit-backdrop-filter 220ms ease;
}

.site-header.is-scrolled{
  background: rgba(247,244,238,0.82);
}

.topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 26px;
}

.brand__name{
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.2px;
  color: var(--fg);
  text-decoration: none;
}

.brand__meta{
  margin: 6px 0 0;
  font-family: var(--mono);
  font-size: var(--label);
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
  margin-top: 4px;
}

.nav a{
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover{
  color: var(--fg);
}

.theme-toggle{
  border: 1px solid var(--divider);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  position: relative;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
}

.theme-toggle span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1;
  color: inherit;
}

.theme-toggle:hover{
  color: var(--fg);
  border-color: rgba(42,42,40,0.22);
  transform: translateY(-1px);
}

/* =========================
HERO
========================= */

.jn-hero{
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: stretch;
}

/* Full-bleed background image */
.jn-hero__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.jn-hero__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Warm overlay so text reads cleanly */
.jn-hero__bg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 14, 0.38);
}

/* Shell and inner sit above bg */
.jn-hero .jn-shell{
  position: relative;
  z-index: 1;
  padding-top: 52px;
  padding-bottom: 88px;
}

.jn-hero__inner{
  position: relative;
}
/* Hero text colors — white over image */
.jn-hero .jn-kicker{
  color: rgba(255,255,255,0.65);
}

.jn-hero .jn-display__line--dark{
  color: rgba(255,255,255,0.96);
}

.jn-hero .jn-display__line--soft{
  color: rgba(255,255,255,0.55);
}

.jn-hero .jn-hero__sub{
  color: rgba(255,255,255,0.80);
}


.jn-kicker{
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jn-muted);
}

.jn-hero__headline{
  max-width: 1460px;
}

.jn-display{
  margin: 0;
  font-size: clamp(4.4rem, 8vw, 8.4rem);
  line-height: 0.93;
  letter-spacing: -0.075em;
  font-weight: 500;
  color: var(--jn-text);
}

.jn-display__line{
  display: block;
}

.jn-display__line--dark{
  color: var(--jn-text);
}

.jn-display__line--soft{
  color: var(--jn-soft);
}

.jn-hero__sub{
  margin: 26px 0 0;
  max-width: 32ch;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--jn-text);
}













/* =========================
STATEMENT
========================= */

.jn-statement{
  padding: 40px 0 64px;
}

.jn-statement__grid{
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.jn-statement__eyebrow{
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: underline;
  color: var(--jn-text);
}

.jn-statement__quote{
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  color: var(--jn-text);
  max-width: 17ch;
}

.jn-statement__attribution{
  grid-column: 2;
  margin: 18px 0 0;
  font-size: 0.98rem;
  color: var(--jn-soft);
  justify-self: center;
}

/* =========================
SECTIONS
========================= */

.jn-section{
  padding: 12px 0 0;
}

.jn-section__line{
  height: 1px;
  background: var(--jn-line);
  margin-bottom: 42px;
}

.jn-section--centered{
  padding-top: 24px;
}

.jn-centered-head{
  text-align: center;
  padding: 36px 0 20px;
}

.jn-centered-head__title{
  margin: 0;
  font-size: clamp(3rem, 5.3vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  font-weight: 500;
  color: var(--jn-soft);
}

.jn-centered-head__title span{
  display: block;
  color: var(--jn-text);
}

.jn-centered-head__body{
  max-width: 28ch;
  margin: 22px auto 0;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--jn-text);
}

.jn-section-title{
  margin: 0;
  max-width: 13ch;
  font-size: clamp(3.4rem, 6vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
  font-weight: 500;
  color: var(--jn-text);
}

.jn-section-title span{
  color: var(--jn-soft);
}

/* =========================
BENEFITS
========================= */

.jn-benefits{
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.jn-benefit{
  padding-left: 18px;
  border-left: 1px solid var(--jn-line);
}

.jn-benefit__image{
  width: 220px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd;
  margin-bottom: 18px;
}

.jn-benefit__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jn-benefit__title{
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--jn-text);
}

.jn-benefit__body{
  margin: 0;
  max-width: 22ch;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--jn-soft);
}

/* =========================
DISCOVER GRID
========================= */

.jn-discover{
  padding: 6px 0 28px;
}

.jn-discover__title{
  margin: 0 0 30px;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--jn-text);
}

.jn-discover__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 30px;
}

.jn-foundation-card__media{
  background: #ddd;
  overflow: hidden;
  aspect-ratio: 1 / 0.84;
  margin-bottom: 12px;
}

.jn-foundation-card__media--tall{
  aspect-ratio: 1 / 1.12;
}

.jn-foundation-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jn-foundation-card__media--dark{
  background: #141311;
  display: grid;
  place-items: center;
}

.jn-foundation-card__media--cream{
  background: #e8e5d9;
  display: grid;
  place-items: center;
}

.jn-specimen{
  width: 66%;
  aspect-ratio: 1 / 1.18;
  background:
    linear-gradient(to right, rgba(166, 189, 219, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(166, 189, 219, 0.35) 1px, transparent 1px),
    #f4f3ef;
  background-size: 16% 16%;
  border: 1px solid rgba(255,255,255,0.7);
  position: relative;
  padding: 16px;
}

.jn-specimen__frame{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.jn-specimen__name{
  font-size: 2rem;
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #161513;
}

.jn-specimen__sub{
  font-family: var(--serif);
  font-size: 0.85rem;
  color: #4b4a46;
}

.jn-type-specimen{
  width: 100%;
  height: 100%;
  padding: 20px 18px;
}

.jn-type-specimen p{
  margin: 0 0 16px;
  font-size: 0.84rem;
  color: #3e3d38;
}

.jn-type-specimen h4{
  margin: 0;
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 700;
  color: #151412;
}

.jn-type-specimen h5{
  margin: 0 0 2px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2vw, 2.3rem);
  line-height: 1;
  font-style: italic;
  font-weight: 400;
  color: #171614;
}

.jn-wireframe{
  width: 70%;
  aspect-ratio: 0.72 / 1;
  border: 2px solid #d8e4ee;
  background: #f8f7f3;
  display: grid;
  place-items: center;
  position: relative;
}

.jn-wireframe::before,
.jn-wireframe::after{
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid #d8e4ee;
}

.jn-wireframe::before{
  top: -5px;
  left: -5px;
}

.jn-wireframe::after{
  top: -5px;
  right: -5px;
}

.jn-wireframe__grid{
  width: 100%;
  height: 100%;
  background:
    linear-gradient(to right, rgba(166, 189, 219, 0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(166, 189, 219, 0.35) 1px, transparent 1px);
  background-size: 20% 20%;
}

.jn-foundation-card__title{
  margin: 0 0 6px;
  font-size: 1.02rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--jn-text);
}

.jn-foundation-card__body{
  margin: 0;
  max-width: 31ch;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--jn-muted);
}

/* =========================
CLOSING
========================= */

.jn-closing{
  padding: 8px 0 46px;
}

.jn-closing__body{
  margin: 20px 0 0;
  max-width: 50ch;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--jn-text);
}

.jn-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--jn-line-strong);
  background: var(--jn-surface-strong);
  color: var(--jn-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.jn-button:hover{
  background: white;
  border-color: var(--jn-accent-line);
  transform: translateY(-1px);
}

/* =========================
FOOTER
========================= */

.jn-footer{
  margin-top: 32px;
  border-top: 1px solid var(--jn-line);
  background: transparent;
}

.jn-footer__inner{
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.jn-footer__inner p{
  margin: 0;
  color: var(--jn-muted);
  font-size: 0.95rem;
}

/* =========================
RESPONSIVE
========================= */

@media (max-width: 1400px){
  .jn-display{
    font-size: clamp(3.8rem, 7vw, 7rem);
  }

  .jn-statement__quote{
    font-size: clamp(2.5rem, 5.5vw, 5.3rem);
  }

  .jn-benefits{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jn-discover__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  

  
}

@media (max-width: 980px){
  .wrap,
  .jn-shell,
  .jn-footer__inner{
    width: min(calc(100% - 32px), var(--jn-shell-max));
  }

  .topbar{
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: auto;
    padding: 20px 0;
    gap: 18px;
  }

  .nav{
    margin-left: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
  }

  .jn-display{
    font-size: clamp(3rem, 10vw, 5.4rem);
    line-height: 0.96;
  }

  

  

  

  

  .jn-statement__grid{
    grid-template-columns: 1fr;
  }

  .jn-statement__attribution{
    grid-column: auto;
    justify-self: start;
  }

  .jn-benefits,
  .jn-discover__grid{
    grid-template-columns: 1fr;
  }

  .jn-benefit__image{
    width: 100%;
    max-width: 320px;
  }

  .jn-footer__inner{
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 18px 0;
  }

}

@media (max-width: 640px){
  .wrap,
  .jn-shell,
  .jn-footer__inner{
    width: min(calc(100% - 22px), var(--jn-shell-max));
  }

  .brand__name{
    font-size: 24px;
  }

  .nav a{
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .jn-display{
    font-size: clamp(2.5rem, 13vw, 4rem);
    letter-spacing: -0.07em;
  }

  .jn-hero__sub{
    font-size: 0.94rem;
    max-width: 28ch;
  }

  

  

  

  

  .jn-statement__quote{
    font-size: clamp(2rem, 11vw, 3.2rem);
    line-height: 0.98;
  }

  .jn-centered-head__title{
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .jn-section-title{
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }
}


/* =========================
CODE BLOCK — Brand codes card
========================= */

.jn-code-block{
  width: 100%;
  padding: 20px 22px;
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.jn-code-block p{
  margin: 0;
}

.jn-code-block__gap{
  margin-top: 10px !important;
}

.jn-code-block__comment{
  color: #9e9b92;
  margin-bottom: 8px !important;
}

.jn-code-block__prop{
  color: #3f5445;
}

.jn-code-block__colon{
  color: #9e9b92;
}

.jn-code-block__value{
  color: #2A2A28;
}

.jn-code-block__string{
  color: #7a5c3a;
}

.jn-code-block__semi{
  color: #9e9b92;
}

/* =========================
THEME — DARK MODE
========================= */

html.dark{
  --bg:#0b0b0a;
  --fg:#f1f1ee;
  --muted:#b5b3ad;
  --divider:#2b2b2b;

  --jn-bg: #0b0b0a;
  --jn-text: #f2f2ee;
  --jn-muted: #a5a59c;
  --jn-soft: #74726b;
  --jn-line: rgba(255,255,255,0.08);
  --jn-line-strong: rgba(255,255,255,0.14);
  --jn-surface-strong: rgba(24,24,22,0.96);
  --jn-accent-line: rgba(255,255,255,0.18);
  --jn-shadow-card: 0 18px 48px rgba(0,0,0,0.42);
}

html.dark .jn-hero__bg::after{
  background: rgba(11, 11, 10, 0.55);
}

html.dark .site-header{
  position: sticky;
  background: linear-gradient(
    to bottom,
    #0c0c0b 0%,
    #0a0a09 100%
  );
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

html.dark .site-header::after{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    120% 100% at 50% 0%,
    rgba(255,255,255,0.04),
    rgba(0,0,0,0)
  );
  pointer-events: none;
}

html.dark .site-header.is-scrolled{
  background: linear-gradient(
    to bottom,
    rgba(12,12,11,0.96) 0%,
    rgba(10,10,9,0.96) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html.dark .brand__name{
  color: rgba(255,255,255,0.92);
}

html.dark .brand__meta{
  color: rgba(255,255,255,0.55);
}

html.dark .nav a{
  color: rgba(255,255,255,0.65);
}

html.dark .nav a:hover{
  color: rgba(255,255,255,0.95);
}

html.dark .theme-toggle{
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.02);
}

html.dark .theme-toggle span{
  color: rgba(255,255,255,0.85);
}

html.dark .jn-benefit{
  border-left-color: rgba(255,255,255,0.10);
}

html.dark .jn-benefit__image,
html.dark .jn-floating,
html.dark .jn-foundation-card__media{
  background: #1a1a18;
}

html.dark .jn-foundation-card__media--dark{
  background: #0f0f0e;
}

html.dark .jn-foundation-card__media--cream{
  background: #161615;
}

html.dark .jn-specimen{
  background:
    linear-gradient(to right, rgba(98, 112, 131, 0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(98, 112, 131, 0.22) 1px, transparent 1px),
    #181816;
  border-color: rgba(255,255,255,0.10);
}

html.dark .jn-specimen__name{
  color: rgba(255,255,255,0.92);
}

html.dark .jn-specimen__sub{
  color: rgba(255,255,255,0.58);
}

html.dark .jn-type-specimen p{
  color: rgba(255,255,255,0.55);
}

html.dark .jn-type-specimen h4,
html.dark .jn-type-specimen h5{
  color: rgba(255,255,255,0.92);
}

html.dark .jn-wireframe{
  background: #141413;
  border-color: rgba(188,205,224,0.22);
}

html.dark .jn-wireframe::before,
html.dark .jn-wireframe::after{
  border-color: rgba(188,205,224,0.22);
}

html.dark .jn-wireframe__grid{
  background:
    linear-gradient(to right, rgba(166, 189, 219, 0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(166, 189, 219, 0.14) 1px, transparent 1px);
  background-size: 20% 20%;
}

html.dark .jn-button{
  background: rgba(255,255,255,0.04);
  color: var(--jn-text);
  border-color: rgba(255,255,255,0.14);
}

html.dark .jn-button:hover{
  background: rgba(255,255,255,0.08);
}

html.dark .jn-footer{
  border-top-color: rgba(255,255,255,0.08);
}
