/* Sugar Rhythm site: the quiet pages (blog, press kit). Same ink and paper as the home page, set for reading. */
:root {
  --ink: #17151c;
  --field: #2e2c31;
  --paper: #f2ece0;
  --mute: #a7a1ae;
  --pink: #ff2d7a;
  --line: #36333c;
  --font: "Barlow Semi Condensed", "Roboto Condensed", "sans-serif-condensed", Bahnschrift, "Arial Narrow", system-ui, sans-serif;
  --pad: clamp(18px, 4.5vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 500 1.0625rem/1.55 var(--font); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--paper); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--paper); color: var(--ink); border-radius: 8px; font-weight: 800; }
.skip:focus { top: 12px; }

/* the one button */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--pink); color: #fff; font-weight: 800; font-size: 1.1rem; text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 0 #a3134c; transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #a3134c; }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 #a3134c; }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 1rem; }
.btn--soon { background: #2a2730; color: var(--mute); box-shadow: none; }
.btn--soon:hover { transform: none; box-shadow: none; }

/* top bar, always there */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 12px var(--pad);
  padding-top: max(12px, env(safe-area-inset-top)); background: rgba(23, 21, 28, .94); border-bottom: 1px solid var(--line); }
.bar__logo img { height: 30px; width: auto; }
.bar__nav { display: flex; gap: 22px; margin-left: auto; }
.bar__nav a { text-decoration: none; font-weight: 700; color: var(--mute); padding: 6px 0; border-bottom: 3px solid transparent; }
.bar__nav a:hover { color: var(--paper); }
.bar__nav a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--pink); }
@media (max-width: 760px) { .bar__nav a[href^="/#"] { display: none; } .bar__nav { gap: 16px; } .bar .btn { padding: 0 14px; } }
@media (max-width: 430px) { .bar__logo img { height: 24px; } .bar__nav { gap: 12px; } .bar .btn--small { font-size: .9rem; } }

/* page head: one world drawing, fading into the night */
.head { position: relative; isolation: isolate; min-height: clamp(300px, 46vh, 460px); display: flex; align-items: flex-end; overflow: hidden; }
.head__art { position: absolute; inset: 0; z-index: -1; }
.head__art picture, .head__art img { width: 100%; height: 100%; }
.head__art img { object-fit: cover; object-position: 50% 45%; }
.head__art::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--ink) 4%, rgba(23,21,28,.78) 40%, rgba(23,21,28,.18) 80%, rgba(23,21,28,.35) 100%); }
.head__in { width: 100%; max-width: 1180px; margin: 0 auto; padding: 70px var(--pad) 30px; }
.head h1 { font-size: clamp(2.6rem, 7vw, 5rem); line-height: .95; max-width: 14ch; }
.head__lede { margin: 16px 0 0; max-width: 40ch; font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 600; line-height: 1.35; color: #e9e3d6; }
.head__meta { margin: 14px 0 0; color: var(--mute); font-size: .98rem; }
.crumb { display: inline-block; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; background: var(--paper); color: var(--ink);
  font-weight: 800; font-size: .95rem; text-decoration: none; }
.crumb:hover { background: var(--pink); color: #fff; }

/* reading column */
.prose { max-width: 720px; margin: 0 auto; padding: 26px var(--pad) 40px; }
.prose p, .prose li { font-size: 1.2rem; line-height: 1.6; color: #e6e0d4; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { margin: 2.1em 0 .5em; font-size: clamp(1.7rem, 3.6vw, 2.2rem); line-height: 1.05; }
.prose h3 { margin: 1.6em 0 .3em; font-size: 1.3rem; color: var(--pink); }
.prose ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--pink); }
.prose a { text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--pink); }
.prose strong { color: var(--paper); }

/* end of an article */
.endcard { max-width: 720px; margin: 20px auto 0; padding: 0 var(--pad); }
.endcard__in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 20px 22px; background: var(--paper); color: var(--ink);
  border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--pink); border-radius: 14px 20px 13px 21px / 19px 13px 21px 14px; }
.endcard__in img { width: 72px; height: 72px; border-radius: 16px; }
.endcard__in div { flex: 1 1 220px; }
.endcard__in h2 { font-size: 1.6rem; line-height: 1; }
.endcard__in p { margin: 6px 0 0; font-size: 1.05rem; line-height: 1.35; }
.endcard .btn--soon { background: #e0d9ca; color: #5d5866; }

/* blog list */
.list { max-width: 1000px; margin: 0 auto; padding: 36px var(--pad) 20px; }
.entries { display: grid; gap: 26px; margin: 0; padding: 0; list-style: none; }
.entry a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); text-decoration: none; background: var(--paper); color: var(--ink);
  border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--pink); border-radius: 14px 20px 13px 21px / 19px 13px 21px 14px; overflow: hidden;
  transition: transform .12s ease, box-shadow .12s ease; }
.entry a:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--pink); }
.entry__art { background: var(--field); }
.entry__art picture, .entry__art img { width: 100%; height: 100%; }
.entry__art img { object-fit: cover; aspect-ratio: 16 / 10; }
.entry__text { padding: 22px 24px 24px; }
.entry h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.02; }
.entry p { margin: 10px 0 0; font-size: 1.1rem; line-height: 1.4; }
.entry .entry__meta { color: #6d6676; font-size: .98rem; font-weight: 700; }
@media (max-width: 720px) { .entry a { grid-template-columns: 1fr; } }

/* press kit */
.wrapp { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 40px; margin: 10px 0 0; padding: 0; }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { margin: 0 0 2px; color: var(--pink); font-weight: 800; font-size: .98rem; }
.facts dd { margin: 0; color: #e6e0d4; }
.facts a { text-decoration-color: var(--pink); }
.blockp { padding: clamp(44px, 7vw, 80px) 0 0; }
.blockp h2 { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1; }
.blockp > .wrapp > p { margin: 12px 0 0; max-width: 56ch; color: var(--mute); font-size: 1.1rem; }
.copy { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 26px; }
.copy div { padding: 18px 20px 20px; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--pink);
  border-radius: 14px 20px 13px 21px / 19px 13px 21px 14px; }
.copy div:nth-child(even) { border-radius: 20px 13px 21px 14px / 13px 19px 14px 21px; }
.copy h3 { font-size: 1.3rem; line-height: 1.1; margin: 0 0 6px; }
.copy p { margin: 0; font-size: 1.05rem; line-height: 1.45; }
.dls { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-top: 26px; }
.dl { display: block; text-decoration: none; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); box-shadow: 0 5px 0 var(--pink);
  border-radius: 14px 20px 13px 21px / 19px 13px 21px 14px; overflow: hidden; transition: transform .12s ease, box-shadow .12s ease; }
.dl:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--pink); }
.dl img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--field); }
.dl span { display: block; padding: 10px 14px 12px; font-weight: 800; line-height: 1.2; }
.dl small { display: block; margin-top: 2px; font-weight: 600; color: #6d6676; font-size: .9rem; }

/* footer */
.foot { display: flex; flex-wrap: wrap; gap: 10px 24px; max-width: 1180px; margin: 70px auto 0; padding: 36px var(--pad) 60px; border-top: 1px solid var(--line); color: var(--mute); }
.foot a { color: var(--mute); text-decoration: none; }
.foot a:hover { color: var(--paper); }
.foot small { flex-basis: 100%; margin-top: 10px; font-size: .9rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .entry a, .dl { transition: none; } }
