/* Not Cellulite — notcellulite.club
   One idea carries the page: orange peel smoothing into skin. Everything else stays quiet. */

@font-face { font-family: "Rubik"; font-style: normal; font-display: swap; font-weight: 300 900;
  src: url("/assets/fonts/rubik-latin-wght-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; }
@font-face { font-family: "Rubik"; font-style: normal; font-display: swap; font-weight: 300 900;
  src: url("/assets/fonts/rubik-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Rubik"; font-style: normal; font-display: swap; font-weight: 300 900;
  src: url("/assets/fonts/rubik-hebrew-wght-normal.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }

:root {
  --skin: #F8E9E2;     /* page */
  --smooth: #FFFFFF;   /* quiet sections */
  --leaf: #143D33;     /* text, dark band */
  --zest: #C2410C;     /* buttons (white text 5.2:1) */
  --zest-ink: #A93A0B; /* links on skin (5.4:1) */
  --peel: #F0A36A;     /* texture dots only */
  --mist: #56665F;     /* secondary text (5.1:1) */
  --measure: 62ch;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--skin); color: var(--leaf);
  font-family: "Rubik", system-ui, sans-serif; font-size: 1.125rem; line-height: 1.6; font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--zest-ink); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--zest); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: var(--measure); }

/* header */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1rem; padding-block: 1.25rem; }
.mark { font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--leaf); text-decoration: none; white-space: nowrap; }
@media (max-width: 560px) { .mark span { display: none; } }
.mark span { font-weight: 400; color: var(--mist); }
.langs { display: flex; gap: 0.25rem; font-size: 0.95rem; }
.langs a, .langs [aria-current] { padding: 0.3rem 0.7rem; border-radius: 999px; text-decoration: none; color: var(--leaf); }
.langs [aria-current] { background: var(--leaf); color: var(--skin); }
.langs a:hover { background: rgba(20, 61, 51, 0.08); }
.hint { font-size: 0.95rem; padding-block: 0.5rem 0; color: var(--mist); }
.hint[hidden] { display: none; }

/* hero: dimpled peel on one side, smooth skin on the other */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 10vw, 7.5rem) clamp(3rem, 8vw, 6rem); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle at center, var(--peel) 0 2.6px, transparent 3.2px);
  background-size: 15px 15px;
  -webkit-mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.85) 22%, transparent 68%);
          mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.85) 22%, transparent 68%);
  -webkit-mask-size: 160% 100%; mask-size: 160% 100%;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  animation: smooth-out 2.4s cubic-bezier(.2,.7,.2,1) .2s both;
}
[dir="rtl"] .hero::before {
  -webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,.85) 22%, transparent 68%);
          mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,.85) 22%, transparent 68%);
  -webkit-mask-position: 0 0; mask-position: 0 0;
  animation-name: smooth-out-rtl;
}
@keyframes smooth-out { from { -webkit-mask-position: 0 0; mask-position: 0 0; } to { -webkit-mask-position: 100% 0; mask-position: 100% 0; } }
@keyframes smooth-out-rtl { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }

.hero h1 {
  margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.02;
  font-size: clamp(2.4rem, 7vw, 5.4rem); max-width: 20ch; text-wrap: balance;
}
.hero h1 .l { display: block; }
.lead { margin: 1.5rem 0 0; font-size: clamp(1.15rem, 2.2vw, 1.4rem); max-width: 38ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2.25rem; }
.btn {
  display: inline-block; background: var(--zest); color: #fff; text-decoration: none; font-weight: 500;
  padding: 0.95rem 1.6rem; border-radius: 999px; line-height: 1.2;
}
.btn:hover { background: #A93A0B; }
.note { margin: 1rem 0 0; color: var(--mist); font-size: 0.98rem; max-width: 46ch; }

/* sections */
section { padding-block: clamp(3rem, 7vw, 5.5rem); }
section h2 { margin: 0 0 1.25rem; font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.12; font-weight: 600; letter-spacing: -0.01em; max-width: 22ch; }
section p { margin: 0 0 1rem; }
.alt { background: var(--smooth); }

.how { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .how { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; } }
.facts { margin: 1.5rem 0 0; display: grid; gap: 0.75rem; }
.facts div { display: flex; gap: 0.75rem; align-items: baseline; padding-block: 0.6rem; border-block-end: 1px solid rgba(20, 61, 51, 0.14); }
.facts dt { font-weight: 600; min-width: 9.5rem; }
.facts dd { margin: 0; }
.gallery { display: grid; gap: 0.75rem; grid-template-columns: 1fr 1fr; }
.gallery figure { margin: 0; }
.gallery .tall { grid-row: span 2; background: #fff; border-radius: 18px; overflow: hidden; display: flex; align-items: center; }
.gallery img { border-radius: 18px; }
.gallery figcaption, .caption { grid-column: 1 / -1; font-size: 0.9rem; color: var(--mist); }

/* course: ten steps, from peel to smooth */
.path { list-style: none; margin: 1rem 0 0.75rem; padding: 0; display: flex; gap: clamp(0.35rem, 1.5vw, 0.9rem); }
.path li {
  width: clamp(1.7rem, 6vw, 2.75rem); aspect-ratio: 1; border-radius: 50%; background-color: #fff;
  border: 2px solid var(--zest);
  /* each step a little smoother: dot opacity --a goes from 1 to 0 */
  background-image: radial-gradient(circle at center, rgb(240 163 106 / var(--a, 1)) 0 1.6px, transparent 2px);
  background-size: 7px 7px;
}
.path li:last-child { background-color: var(--zest); }
.journey { display: inline-block; margin-top: 1rem; }
.path-ends { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--mist); }

/* no-tricks list */
.honest { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; max-width: var(--measure); }
.honest li { position: relative; padding-inline-start: 1.75rem; }
.honest li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.55em; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--zest); }

details { margin-top: 2rem; max-width: var(--measure); border-block: 1px solid rgba(20, 61, 51, 0.18); }
summary { cursor: pointer; padding-block: 1rem; font-weight: 600; }
details ul { margin: 0 0 1rem; padding-inline-start: 1.25rem; }
details p { color: var(--mist); }

/* closing band */
.band { background: var(--leaf); color: var(--skin); }
.band h2 { color: var(--skin); }
.band .btn { background: var(--skin); color: var(--leaf); }
.band .btn:hover { background: #fff; }

footer { padding-block: 2rem 3rem; font-size: 0.95rem; color: var(--mist); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ---- 02.11: brand logo, poster hero, articles ---- */
@font-face { font-family: "Playfair Display"; font-style: normal; font-display: swap; font-weight: 600;
  src: url("/assets/fonts/playfair-display-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 600;
  src: url("/assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF; }

.logo { display: inline-flex; align-items: center; gap: 0.55rem; color: #141414; text-decoration: none; direction: ltr; }
.logo-mark { width: 1.9rem; height: 3.15rem; flex: none; }
.logo-txt { display: flex; flex-direction: column; }
.logo-w { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 1.55rem; line-height: 0.92; letter-spacing: -0.005em; }
.logo-t { margin-top: 0.3rem; font-family: "Montserrat", "Rubik", sans-serif; font-weight: 600; font-size: 0.56rem; letter-spacing: 0.28em; color: #3A3A3A; }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 4.1rem); max-width: 18ch; }
.poster { margin: 0; }
.poster img { width: 100%; border-radius: 22px; box-shadow: 0 24px 60px rgba(20, 61, 51, 0.18); }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .poster { max-width: 26rem; margin-inline: auto; }
}

.articles { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1.25rem; }
.articles a { font-weight: 600; font-size: 1.2rem; }
.articles p { margin: 0.35rem 0 0; color: var(--mist); }

.article { padding-block: 1rem 4rem; }
.article h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.1; letter-spacing: -0.015em; margin: 0.5rem 0 0; }
.article h2 { margin-top: 2.2rem; font-size: 1.45rem; line-height: 1.25; }
.article li { margin-block: 0.4rem; }
.crumbs { margin: 0; font-size: 0.95rem; }
.cta-box { margin-top: 2.5rem; padding: 1.4rem 1.5rem; border-radius: 18px; background: var(--leaf); color: var(--skin); }
.cta-box p { margin: 0 0 1rem; }
.src-h { font-size: 1.1rem !important; }
.sources { font-size: 0.95rem; color: var(--mist); text-align: left; }
.hero h1 .l + .l { font-size: 0.58em; line-height: 1.12; margin-top: 0.4rem; letter-spacing: -0.01em; }
