/* Page width: 1336px up to a 1670px window, then it grows with the monitor. */
:root { --jn-wrap: clamp(1336px, 80vw, 1840px); }

@font-face {
  font-family: "Just Nails Sans";
  src: url("assets/InstrumentSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Just Nails Sans";
  src: url("assets/InstrumentSans-Bold.ttf") format("truetype");
  font-weight: 600 800;
  font-display: swap;
}

@font-face {
  font-family: "Just Nails Serif";
  src: url("assets/InstrumentSerif-Regular.ttf") format("truetype");
  font-display: swap;
}

/* Flatsome keeps its own menu, sticky header and WooCommerce dropdowns. */
.jn-flatsome-home-dark {
  --jn-flatsome-paper: #080808;
  --jn-flatsome-ink: #f6f1e7;
  --jn-flatsome-gold: #dfbb72;
  --jn-flatsome-line: #2b2721;
}

.jn-flatsome-home-dark #wrapper,
.jn-flatsome-home-dark #main,
.jn-flatsome-home-dark #header .header-wrapper,
.jn-flatsome-home-dark #header .header-bg-color {
  background-color: var(--jn-flatsome-paper);
}

.jn-flatsome-home-dark #header .header-bg-image { background-image: none; }
.jn-flatsome-home-dark #header :is(#masthead, #wide-nav) {
  background-color: var(--jn-flatsome-paper);
  border-bottom: 1px solid var(--jn-flatsome-line);
}

.jn-flatsome-home-dark #header #top-bar { background-color: #17130f; }
.jn-flatsome-home-dark #header #top-bar,
.jn-flatsome-home-dark #header #top-bar .nav > li > a { color: var(--jn-flatsome-gold); }
.jn-flatsome-home-dark #header :is(.header-nav, .mobile-nav) > li > a,
.jn-flatsome-home-dark #header .header-cart-link .cart-icon strong {
  color: var(--jn-flatsome-ink);
}

.jn-flatsome-home-dark #header :is(.header-nav, .mobile-nav) > li > a:hover,
.jn-flatsome-home-dark #header :is(.header-nav, .mobile-nav) > li.active > a { color: var(--jn-flatsome-gold); }
.jn-flatsome-home-dark #header :is(.header-nav, .mobile-nav) > li > a:focus-visible {
  outline: 2px solid var(--jn-flatsome-gold);
  outline-offset: 3px;
}

.jn-flatsome-home-dark #header li.header-search-form { display: none; }
.jn-flatsome-home-dark #header #wide-nav > .container {
  max-width: var(--jn-wrap, 1336px);
  padding-inline: clamp(16px, 4vw, 48px);
}
.jn-flatsome-home-dark #header .jn-header-search {
  --jn-ink: var(--jn-flatsome-ink);
  --jn-line: #3a342b;
  --jn-muted: #a9a195;
  --jn-card: #121110;
  --jn-button-ink: #f6f1e7;
  --jn-button: transparent;
  --jn-sans: "Just Nails Sans", sans-serif;
  width: clamp(214px, 30vw, 355px);
  margin: 6px 0 6px 18px;
  color: var(--jn-ink);
  font: 400 14px/1.35 var(--jn-sans);
}
.jn-header-search .jn-search { margin: 0; }
.jn-header-search :is(input, button):focus-visible { outline: 2px solid var(--jn-flatsome-gold); outline-offset: 2px; }
.jn-flatsome-home-dark #header .mobile-nav .nav-icon > a { min-width: 44px; justify-content: center; }
.jn-flatsome-home-dark #header .mobile-nav .nav-icon .icon-menu {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 14px;
  border-block: 1.5px solid currentColor;
  color: var(--jn-flatsome-ink);
}
.jn-flatsome-home-dark #header .mobile-nav .nav-icon .icon-menu::before {
  position: absolute;
  inset: 50% 0 auto;
  border-top: 1.5px solid currentColor;
  content: "";
}
/* Flatsome's stock logo visibility rules use !important. */
.jn-flatsome-home-dark-logo #header #logo :is(img.header-logo, img.header-logo-sticky) { display: none !important; }
.jn-flatsome-home-dark-logo #header #logo img.header-logo-dark { display: inline-block !important; }

@media (max-width: 849px) {
  .jn-flatsome-home-dark #header .mobile-nav > .jn-header-search { width: 100%; margin: 6px 0; }
  .jn-header-search .jn-search input[type="search"] { font-size: 16px; }
  .jn-header-search .jn-search button { min-height: 44px; }
}

/* ---------- Home ---------- */
.jn-home {
  --jn-ink: #1f1b16;
  --jn-paper: #fcfaf6;
  --jn-line: #e3dbcd;
  --jn-line-strong: #c9bfae;
  --jn-accent: #775021;
  --jn-muted: #62584e;
  --jn-plate: #ffffff;
  --jn-card: #fffdfa;
  --jn-button-ink: #fcfaf6;
  --jn-button: #211b15;
  --jn-sans: "Just Nails Sans", sans-serif;
  --jn-serif: "Just Nails Serif", "Just Nails Sans", serif;
  box-sizing: border-box;
  width: min(100%, var(--jn-wrap, 1336px));
  margin-inline: auto;
  padding: 0 clamp(16px, 4vw, 48px) clamp(40px, 6vw, 88px);
  color: var(--jn-ink);
  background: var(--jn-paper);
  font: 400 16px/1.5 var(--jn-sans);
  text-align: start;
}

.jn-home--dark {
  --jn-ink: #f6f1e7;
  --jn-paper: #080808;
  --jn-line: #2b2721;
  --jn-line-strong: #4a4337;
  --jn-accent: #dfbb72;
  --jn-muted: #a9a195;
  --jn-plate: #e8dfd3;
  --jn-card: #121110;
  --jn-button-ink: #1d160b;
  --jn-button: #dfbb72;
}

.jn-home *, .jn-home *::before, .jn-home *::after { box-sizing: inherit; }
.jn-home :is(h1, h2, h3, p, ul, li, form) { margin: 0; }
.jn-home ul { list-style: none; padding: 0; }
.jn-home a { color: inherit; text-decoration: none; }
.jn-home :is(a, button, input):focus-visible { outline: 2px solid var(--jn-accent); outline-offset: 3px; }
.jn-home img { display: block; }
.jn-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.jn-search-row {
  min-height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.jn-search {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: min(100%, 535px);
  padding: 2px 4px 2px 16px;
  border: 1px solid var(--jn-line);
  border-radius: 999px;
  background: var(--jn-card);
  transition: border-color .15s;
}
.jn-search:focus-within { border-color: var(--jn-accent, #dfbb72); }

.jn-search svg { width: 18px; height: 18px; stroke: var(--jn-muted); stroke-width: 1.5; }
.jn-search input[type="search"] {
  min-width: 0;
  width: 100%;
  height: 40px;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--jn-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font: inherit;
}
/* The theme paints a focused field dark-on-white; the typed text keeps the shop's light colour. */
.jn-search input[type="search"]:focus { outline: 0; box-shadow: none; background: transparent; color: var(--jn-ink, #f6f1e7); }

.jn-search input::placeholder { color: var(--jn-muted); opacity: 1; }
.jn-home .jn-search button, .jn-header-search .jn-search button {
  min-height: 36px;
  min-width: 0;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--jn-button-ink);
  background: var(--jn-button);
  font: 600 13px/1 var(--jn-sans);
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
}
.jn-header-search .jn-search button { color: var(--jn-flatsome-gold, #dfbb72); box-shadow: none; }
.jn-header-search .jn-search button:hover { color: var(--jn-ink); background: transparent; }
.jn-header-search .jn-search input[type="search"] { height: 38px; }

/* Hero: the headline on the left, three products on nail-shaped plates on the right. */
.jn-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: end;
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(36px, 5.5vw, 84px) 0 clamp(30px, 4vw, 56px);
  border-bottom: 1px solid var(--jn-line);
}

.jn-hero--copy-only { grid-template-columns: 1fr; }
.jn-hero__copy { min-width: 0; padding-bottom: clamp(0px, 3.4vw, 52px); }
.jn-home .jn-hero h1 {
  color: var(--jn-ink);
  font: 400 clamp(54px, 8.2vw, 124px)/.9 var(--jn-serif);
  letter-spacing: -.022em;
  text-wrap: balance;
}
.jn-hero h1 em { font-style: normal; }
/* A slow pearl sheen moves across the whole headline, like light over polish. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .jn-home--dark .jn-hero h1 {
    margin-block: -.12em -.18em;
    padding-block: .12em .18em;
    background: linear-gradient(100deg, #f6f1e7 0%, #f6f1e7 18%, #f1cdc3 34%, #e7c486 48%, #f4ddd0 62%, #f6f1e7 78%, #f6f1e7 100%) 0 0 / 260% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: jn-sheen 14s ease-in-out infinite alternate;
  }
}
@keyframes jn-sheen { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.jn-hero .jn-hero__intro { max-width: 31ch; margin: clamp(18px, 2.2vw, 30px) 0 clamp(22px, 2.4vw, 34px); color: var(--jn-muted); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; }
.jn-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.jn-home .jn-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color .15s;
}

.jn-home .jn-button--gold { background: var(--jn-button); color: var(--jn-button-ink); }
.jn-home--dark .jn-button--gold:hover { background: #ecd091; }
.jn-home .jn-underlined { padding-block: 12px; color: var(--jn-ink); font-size: 15px; text-decoration: underline; text-decoration-color: var(--jn-line-strong); text-underline-offset: .32em; }
.jn-home .jn-underlined:hover { text-decoration-color: var(--jn-accent); color: var(--jn-accent); }

.jn-hero__display { min-width: 0; }
.jn-featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: clamp(16px, 2.4vw, 34px); padding: 7px; }
.jn-featured li { min-width: 0; }
.jn-home .jn-featured__product { display: block; color: var(--jn-ink); }
.jn-featured__image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4.5;
  overflow: hidden;
  border-radius: 999px 999px 10px 10px;
  background: var(--jn-plate);
  outline: 1px solid color-mix(in srgb, var(--jn-accent) 55%, transparent);
  outline-offset: 6px;
  transition: outline-color .2s;
}
.jn-featured li:nth-child(2) .jn-featured__image { aspect-ratio: 3 / 4.95; }
.jn-featured__product:hover .jn-featured__image { outline-color: var(--jn-accent); }
.jn-featured__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Packshots on white (or transparent) stand on the plate, all three on the same floor line; photos with their own
   background fill the arch. Tall packshots keep more room at the sides. */
.jn-featured__image img:is(.jn-bg-white, .jn-bg-clear) { object-fit: contain; object-position: 50% 100%; padding: 24% 0 13%; }
.jn-featured__image--cutout img:is(.jn-bg-white, .jn-bg-clear) { padding: 24% 16% 13%; }
.jn-featured__name { display: -webkit-box; min-height: 2.6em; margin-top: 20px; overflow: hidden; font-size: 14px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.jn-featured__price, .jn-featured__price .amount { display: block; margin-top: 4px; color: var(--jn-muted); font-size: 13px; }
.jn-featured__price del { opacity: .7; }
.jn-featured__price ins { text-decoration: none; }
.jn-featured__price .woocommerce-price-suffix { display: none; }
.jn-featured__product:hover .jn-featured__name, .jn-product__link:hover .jn-product__name { text-decoration: underline; text-decoration-color: var(--jn-accent); text-underline-offset: .22em; }

/* On desktop the hero is exactly one screen below the 143px header, on a laptop and on a large monitor alike. */
@media (min-width: 901px) and (min-height: 560px) {
  .jn-hero { align-items: center; min-height: calc(100svh - 143px); padding-block: clamp(20px, 3.5svh, 56px) clamp(28px, 8svh, 110px); }
  .jn-hero__copy { padding-bottom: 0; }
  .jn-home .jn-hero h1 { font-size: clamp(54px, min(8.2vw, 15.5svh), 208px); }
  .jn-hero .jn-hero__intro { font-size: clamp(16px, min(1.35vw, 2.4svh), 24px); }
  .jn-featured__name { font-size: clamp(14px, .85vw, 17px); }
  .jn-featured__price, .jn-featured__price .amount { font-size: clamp(13px, .78vw, 15px); }
}

/* Sections */
.jn-section { margin-top: clamp(44px, 6vw, 84px); }
.jn-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(16px, 2vw, 26px);
}

.jn-home .jn-section h2 { color: var(--jn-ink); font: 400 clamp(34px, 4.2vw, 56px)/1 var(--jn-serif); letter-spacing: -.015em; }
.jn-home .jn-text-link { flex: none; padding-block: 8px; color: var(--jn-ink); font-size: 14px; text-decoration: underline; text-decoration-color: var(--jn-line-strong); text-underline-offset: .32em; }
.jn-home .jn-text-link:hover { color: var(--jn-accent); text-decoration-color: var(--jn-accent); }

/* Product card: the photograph is the card. */
.jn-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 38px) clamp(12px, 1.7vw, 24px); }
.jn-products li { min-width: 0; }
/* Bestsellers: one row that scrolls sideways, four cards to a view. */
.jn-home .jn-products--scroll {
  --jn-gap: clamp(12px, 1.7vw, 24px);
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--jn-gap)) / 4);
  gap: var(--jn-gap);
  margin: -4px;
  padding: 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  scrollbar-width: none;
}
.jn-products--scroll::-webkit-scrollbar { display: none; }
.jn-products--scroll > li { scroll-snap-align: start; }
.jn-section__tools { display: flex; flex: none; align-items: center; gap: 18px; }
.jn-scroll-nav { display: flex; gap: 8px; }
.jn-scroll-nav[hidden] { display: none; }
.jn-home .jn-scroll-nav button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 0;
  margin: 0;
  padding: 0;
  color: var(--jn-ink);
  background: transparent;
  border: 1px solid var(--jn-line-strong);
  border-radius: 50%;
  box-shadow: none;
  line-height: 1;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, opacity .15s;
}
.jn-home .jn-scroll-nav button:hover:not(:disabled) { color: var(--jn-button-ink); background: var(--jn-button); border-color: var(--jn-button); }
.jn-home .jn-scroll-nav button:disabled { opacity: .35; cursor: default; }
.jn-scroll-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.jn-product { display: flex; flex-direction: column; }
.jn-product__link { display: block; }
.jn-product__image { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--jn-plate); }
.jn-product__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* Cut-out photo (transparent background, photos.php): no plate, the product stands on a faint warm glow. */
.jn-home .jn-product__image.jn-product__image--cutout {
  background: radial-gradient(58% 52% at 50% 50%, rgba(255, 238, 220, .13) 0%, rgba(255, 238, 220, .05) 55%, rgba(255, 238, 220, 0) 100%), rgba(255, 255, 255, .025);
  isolation: auto;
}
.jn-product__image.jn-product__image--cutout img:is(.jn-bg-clear, .jn-bg-white, .jn-bg-photo) {
  padding: 6% 8% 5%;
  object-fit: contain;
  mix-blend-mode: normal !important;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .55)) !important;
}
.jn-home .jn-product__name { display: block; padding-top: 13px; color: var(--jn-ink); font: 400 15px/1.35 var(--jn-sans); overflow-wrap: anywhere; }
.jn-product__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; margin-top: auto; padding-top: 10px; }
.jn-home .jn-product__price, .jn-home .jn-product__price .amount { color: var(--jn-ink); font-size: 15px; font-weight: 600; }
.jn-home .jn-product__price .woocommerce-price-suffix { color: var(--jn-muted); font-size: 11px; font-weight: 400; }
.jn-product__price ins { text-decoration: none; }
.jn-product__price del, .jn-product__price del .amount { color: var(--jn-muted); font-weight: 400; }
.jn-home .jn-product__action {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 36px;
  padding: 0 14px;
  color: var(--jn-ink);
  border: 1px solid var(--jn-line-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: background-color .15s, border-color .15s, color .15s;
}
.jn-home .jn-product__action:hover { color: var(--jn-button-ink); background: var(--jn-button); border-color: var(--jn-button); }

.jn-category-row { margin-top: clamp(34px, 4.4vw, 60px); padding-top: clamp(20px, 2.4vw, 30px); border-top: 1px solid var(--jn-line); }
.jn-category-section > .jn-category-row:first-of-type { margin-top: 0; }
.jn-home .jn-category-row h3 { color: var(--jn-ink); font: 400 clamp(26px, 2.8vw, 36px)/1.1 var(--jn-serif); }

/* All categories, as product plates in the language of the brand tiles: the best seller of each, on its plate.
   Phones: three across, the last row filled, so all of them fit on about one screen. */
.jn-home .jn-cats { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:clamp(12px,1.5vw,24px); padding:7px; }
.jn-home .jn-cats a.jn-cat { position:relative; display:flex; flex-direction:column; justify-content:flex-end; align-items:flex-start; gap:0; aspect-ratio:3/4; min-height:0; padding:12px 14px 14px; border:0; border-radius:10px; background:var(--jn-plate,#f4f3f1); color:#17130d; font:inherit; outline:1px solid transparent; outline-offset:6px; transition:outline-color .2s; }
.jn-home .jn-cats a.jn-cat:hover,.jn-home .jn-cats a.jn-cat:focus-visible { color:#17130d; outline-color:#dfbb72; }
.jn-home .jn-cats .jn-cat__img { position:absolute; inset:8% 12% 31%; overflow:visible; }
.jn-home .jn-cats .jn-cat__img img { position:absolute; inset:0; width:100%; height:100%; max-width:100%; max-height:100%; margin:0; object-fit:contain; mix-blend-mode:multiply; transition:transform .45s cubic-bezier(.2,.7,.2,1); }
.jn-home .jn-cats .jn-cat:hover .jn-cat__img img { transform:translateY(-4px) scale(1.04); }
.jn-home .jn-cats .jn-cat__name { position:relative; color:#17130d; font:400 clamp(17px,1.35vw,21px)/1.08 var(--jn-serif); text-wrap:balance; }
.jn-home .jn-cats .jn-cat__count { position:relative; margin-top:6px; color:#7a6f61; font:400 12px/1 var(--jn-sans); font-variant-numeric:tabular-nums; }
@media (max-width:1100px) { .jn-home .jn-cats { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:480px) {
 .jn-home .jn-cats { grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; padding:7px 0; }
 .jn-home .jn-cats a.jn-cat { grid-column:span 2; aspect-ratio:auto; height:clamp(128px,37vw,156px); padding:0 9px 9px; border-radius:8px; outline-offset:3px; }
 .jn-home .jn-cats a.jn-cat:nth-child(3n+1):nth-last-child(2),.jn-home .jn-cats a.jn-cat:nth-child(3n+1):nth-last-child(2)+a.jn-cat { grid-column:span 3; }
 .jn-home .jn-cats a.jn-cat:nth-child(3n+1):last-child { grid-column:1/-1; }
 .jn-home .jn-cats .jn-cat__img { inset:8px 12px 50px; }
 .jn-home .jn-cats .jn-cat__name { font-size:14.5px; line-height:1.02; }
 .jn-home .jn-cats .jn-cat__count { margin-top:3px; font-size:11px; }
}
.jn-home .jn-cats .jn-cat__img--plain { inset:10% 14% 33%; }
.jn-home .jn-cats .jn-cat__img--plain img { border-radius:4px; }

/* "Skoða vörur": a swipe of gold gel polish on a swatch card - brush edge, bristle streaks, wet gloss */
.jn-home .jn-hero .jn-button--polish { position:relative; isolation:isolate; min-height:56px; padding:16px 60px 16px 40px; margin-block:16px; border-radius:0; background:transparent; color:#1d160b; font-size:15px; letter-spacing:.02em; }
.jn-home .jn-hero .jn-button--polish::before { content:""; position:absolute; inset:-6px -22px -6px -14px; z-index:-1; transform:rotate(-11deg); transform-origin:42% 50%;
 background:
  linear-gradient(100deg,transparent 30%,rgba(255,255,255,.65) 42%,transparent 54%) -160% 0/240% 100% no-repeat,
  radial-gradient(48% 34% at 34% 24%,rgba(255,255,255,.7),rgba(255,255,255,0) 72%),
  linear-gradient(178deg,#f3dba4 0%,#e3bf76 40%,#cfa057 78%,#bf8f45 100%);
 -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20300%2064%22%20preserveAspectRatio=%22none%22%3E%3Cpath%20fill-rule=%22evenodd%22%20d=%22M30.0%2013.0%20L37.0%2013.1%20L44.0%2012.7%20L51.0%2012.6%20L58.0%2011.9%20L65.0%2011.7%20L72.0%2011.1%20L79.0%2011.6%20L86.0%2010.9%20L93.0%2010.3%20L100.0%2010.5%20L107.0%2010.0%20L114.0%2010.2%20L121.0%209.8%20L128.0%209.5%20L135.0%209.2%20L142.0%209.6%20L149.0%2010.0%20L156.0%2010.4%20L163.0%2010.2%20L170.0%2011.5%20L177.0%2010.9%20L184.0%2011.2%20L191.0%2012.2%20L198.0%2012.2%20L205.0%2012.2%20L212.0%2013.0%20L219.0%2012.2%20L226.0%2012.8%20L240.1%2014.3%20Q244.1%2015.4%20240.1%2017.0%20L230%2017.0%20L262.5%2018.1%20Q266.5%2019.6%20262.5%2021.5%20L230%2021.5%20L270.8%2023.0%20Q274.8%2023.4%20270.8%2024.4%20L230%2024.4%20L256.4%2026.2%20Q260.4%2026.7%20256.4%2027.9%20L230%2027.9%20L290.1%2029.0%20Q294.1%2030.2%20290.1%2031.8%20L230%2031.8%20L277.7%2033.2%20Q281.7%2034.5%20277.7%2036.3%20L230%2036.3%20L268.0%2038.2%20Q272.0%2039.0%20268.0%2040.4%20L230%2040.4%20L248.0%2041.8%20Q252.0%2042.6%20248.0%2043.8%20L230%2043.8%20L252.3%2045.1%20Q256.3%2046.0%20252.3%2047.3%20L230%2047.3%20L233.3%2049.2%20Q237.3%2050.2%20233.3%2051.8%20L230%2051.8%20L226.0%2052.3%20L219.0%2051.2%20L212.0%2051.7%20L205.0%2051.4%20L198.0%2051.6%20L191.0%2052.6%20L184.0%2052.2%20L177.0%2052.4%20L170.0%2053.0%20L163.0%2053.6%20L156.0%2053.7%20L149.0%2054.3%20L142.0%2054.7%20L135.0%2053.7%20L128.0%2054.2%20L121.0%2053.5%20L114.0%2053.0%20L107.0%2052.9%20L100.0%2052.4%20L93.0%2051.3%20L86.0%2052.0%20L79.0%2051.5%20L72.0%2051.1%20L65.0%2051.8%20L58.0%2052.1%20L51.0%2052.1%20L44.0%2053.0%20L37.0%2052.9%20L30.0%2054.5%20C14%2054%208%2044%208%2032%20C8%2020%2014%2011%2030%2011%20Z%20M154.5%2050.1%20L208.3%2050.4%20L208.3%2051.2%20L154.5%2051.2%20Z%20M176.6%2048.9%20L224.8%2049.2%20L224.8%2049.7%20L176.6%2049.7%20Z%20M151.6%2015.4%20L180.8%2015.7%20L180.8%2016.5%20L151.6%2016.5%20Z%20M211.8%2016.1%20L239.2%2016.4%20L239.2%2016.9%20L211.8%2016.9%20Z%20M202.0%2047.8%20L256.6%2048.1%20L256.6%2048.5%20L202.0%2048.5%20Z%20M198.7%2014.7%20L235.7%2015.0%20L235.7%2015.7%20L198.7%2015.7%20Z%20M212.1%2049.3%20L249.7%2049.6%20L249.7%2050.0%20L212.1%2050.0%20Z%22/%3E%3C/svg%3E") center/100% 100% no-repeat; mask:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20300%2064%22%20preserveAspectRatio=%22none%22%3E%3Cpath%20fill-rule=%22evenodd%22%20d=%22M30.0%2013.0%20L37.0%2013.1%20L44.0%2012.7%20L51.0%2012.6%20L58.0%2011.9%20L65.0%2011.7%20L72.0%2011.1%20L79.0%2011.6%20L86.0%2010.9%20L93.0%2010.3%20L100.0%2010.5%20L107.0%2010.0%20L114.0%2010.2%20L121.0%209.8%20L128.0%209.5%20L135.0%209.2%20L142.0%209.6%20L149.0%2010.0%20L156.0%2010.4%20L163.0%2010.2%20L170.0%2011.5%20L177.0%2010.9%20L184.0%2011.2%20L191.0%2012.2%20L198.0%2012.2%20L205.0%2012.2%20L212.0%2013.0%20L219.0%2012.2%20L226.0%2012.8%20L240.1%2014.3%20Q244.1%2015.4%20240.1%2017.0%20L230%2017.0%20L262.5%2018.1%20Q266.5%2019.6%20262.5%2021.5%20L230%2021.5%20L270.8%2023.0%20Q274.8%2023.4%20270.8%2024.4%20L230%2024.4%20L256.4%2026.2%20Q260.4%2026.7%20256.4%2027.9%20L230%2027.9%20L290.1%2029.0%20Q294.1%2030.2%20290.1%2031.8%20L230%2031.8%20L277.7%2033.2%20Q281.7%2034.5%20277.7%2036.3%20L230%2036.3%20L268.0%2038.2%20Q272.0%2039.0%20268.0%2040.4%20L230%2040.4%20L248.0%2041.8%20Q252.0%2042.6%20248.0%2043.8%20L230%2043.8%20L252.3%2045.1%20Q256.3%2046.0%20252.3%2047.3%20L230%2047.3%20L233.3%2049.2%20Q237.3%2050.2%20233.3%2051.8%20L230%2051.8%20L226.0%2052.3%20L219.0%2051.2%20L212.0%2051.7%20L205.0%2051.4%20L198.0%2051.6%20L191.0%2052.6%20L184.0%2052.2%20L177.0%2052.4%20L170.0%2053.0%20L163.0%2053.6%20L156.0%2053.7%20L149.0%2054.3%20L142.0%2054.7%20L135.0%2053.7%20L128.0%2054.2%20L121.0%2053.5%20L114.0%2053.0%20L107.0%2052.9%20L100.0%2052.4%20L93.0%2051.3%20L86.0%2052.0%20L79.0%2051.5%20L72.0%2051.1%20L65.0%2051.8%20L58.0%2052.1%20L51.0%2052.1%20L44.0%2053.0%20L37.0%2052.9%20L30.0%2054.5%20C14%2054%208%2044%208%2032%20C8%2020%2014%2011%2030%2011%20Z%20M154.5%2050.1%20L208.3%2050.4%20L208.3%2051.2%20L154.5%2051.2%20Z%20M176.6%2048.9%20L224.8%2049.2%20L224.8%2049.7%20L176.6%2049.7%20Z%20M151.6%2015.4%20L180.8%2015.7%20L180.8%2016.5%20L151.6%2016.5%20Z%20M211.8%2016.1%20L239.2%2016.4%20L239.2%2016.9%20L211.8%2016.9%20Z%20M202.0%2047.8%20L256.6%2048.1%20L256.6%2048.5%20L202.0%2048.5%20Z%20M198.7%2014.7%20L235.7%2015.0%20L235.7%2015.7%20L198.7%2015.7%20Z%20M212.1%2049.3%20L249.7%2049.6%20L249.7%2050.0%20L212.1%2050.0%20Z%22/%3E%3C/svg%3E") center/100% 100% no-repeat;
 transition:background-position .9s cubic-bezier(.3,.6,.2,1); }
.jn-home .jn-hero .jn-button--polish:hover { background:transparent; color:#1d160b; }
.jn-home .jn-hero .jn-button--polish:hover::before,.jn-home .jn-hero .jn-button--polish:focus-visible::before { background-position:160% 0,0 0,0 0; }
@media (prefers-reduced-motion:reduce) { .jn-home .jn-hero .jn-button--polish::before { transition:none; } }

@media (max-width: 900px) {
  .jn-hero { grid-template-columns: 1fr; gap: 34px; }
  .jn-hero__copy { padding-bottom: 0; }
  .jn-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jn-products:not(.jn-products--scroll) li:nth-child(4) { display: none; }
  .jn-home .jn-products--scroll { grid-auto-columns: calc((100% - 2 * var(--jn-gap)) / 3); }
}

@media (max-width: 620px) {
  .jn-search-row { min-height: 0; flex-direction: column; align-items: stretch; gap: 1px; padding: 11px 0 4px; }
  .jn-search { width: 100%; }
  .jn-search input[type="search"] { font-size: 16px; }
  /* On a phone the hero ends with the product prices at the bottom of the visible screen (svh excludes the browser bars). */
  .jn-hero { gap: 22px; padding: 20px 0 18px; }
  .jn-home .jn-hero h1 { font-size: clamp(44px, min(17vw, 9.8svh), 76px); }
  .jn-hero .jn-hero__intro { margin: 14px 0 18px; }
  .jn-featured { --jn-tile: clamp(124px, calc(100svh - 524px), 47vw); gap: 18px; }
  .jn-featured__image { aspect-ratio: auto; height: calc(var(--jn-tile) - 26px); }
  .jn-featured li:nth-child(2) .jn-featured__image { aspect-ratio: auto; height: var(--jn-tile); }
  .jn-featured__name { margin-top: 14px; font-size: 12px; }
  .jn-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jn-products:not(.jn-products--scroll) li:nth-child(4) { display: flex; }
  /* The third card peeks in to show that the row scrolls. */
  .jn-home .jn-products--scroll { grid-auto-columns: 44%; }
  .jn-scroll-nav { display: none; }
  .jn-home .jn-product__name { font-size: 14px; }
  .jn-home .jn-product__action { min-height: 44px; }
}

/* Short phone screens: the intro line gives its place to the products. */
@media (max-width: 620px) and (max-height: 650px) {
  .jn-hero .jn-hero__intro { display: none; }
  .jn-hero__actions { margin-top: 18px; }
  .jn-featured { --jn-tile: clamp(104px, calc(100svh - 440px), 47vw); }
}

@media (prefers-reduced-motion: reduce) {
  .jn-home *, .jn-search { transition: none !important; }
  .jn-home--dark .jn-hero h1 { animation: none; background-position: 42% 0; }
}
