/* Lux Lab — gaya utama */

@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-latin-opsz-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-latin-opsz-italic.woff2") format("woff2");
  font-weight: 400 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-standard-normal.woff2") format("woff2");
  font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap;
}

:root {
  --porcelain: #FFF8F6;
  --petal: #F4DFDA;
  --petal-deep: #EBCBC3;
  --mulberry: #4A1F2E;
  --mulberry-2: #5E2A3C;
  --rosegold: #B9806F;
  --ink-soft: #6E4E55;
  --line: #E7CFC9;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.333rem;
  --step-2: 1.777rem;
  --step-3: clamp(2rem, 3.2vw, 2.369rem);
  --step-4: clamp(2.6rem, 6.4vw, 5.2rem);

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--mulberry);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }

/* Bodoni dengan optical size kecil supaya garis halus lebih tebal dan mudah dibaca */
.logo-word, .hero-title, .shade-hint, .cat-name, .section-title, .story-title,
.app-name, .video-title, .news-title, .footer-h, .nav {
  font-variation-settings: "opsz" 11;
}
.hero-title, .section-title, .cat-name, .news-title, .logo-word { font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--rosegold); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; border: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--mulberry); color: var(--porcelain); padding: .6rem 1rem; z-index: 99; }
.skip:focus { top: 1rem; }

/* ---------- Butang & pautan ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0 1.6rem;
  border-radius: 999px; border: 1px solid var(--mulberry);
  font: 500 var(--step--1)/1 var(--sans); letter-spacing: .01em;
  cursor: pointer; transition: background-color .2s, color .2s;
}
.btn-primary { background: var(--mulberry); color: var(--porcelain); }
.btn-primary:hover { background: var(--mulberry-2); }
.btn-quiet { background: transparent; color: var(--mulberry); }
.btn-quiet:hover { background: var(--petal); }
.text-link { font-size: var(--step--1); border-bottom: 1px solid var(--rosegold); padding-bottom: 2px; white-space: nowrap; }
.text-link:hover { color: var(--rosegold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--porcelain) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 4.5rem; }
.logo-word { font-family: var(--serif); font-size: 1.75rem; letter-spacing: -.01em; line-height: 1; }
.nav { display: flex; gap: 1.75rem; margin-left: auto; font-size: var(--step--1); }
.nav a { padding: .4rem 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: var(--rosegold); }
.header-tools { display: flex; align-items: center; gap: .75rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border-radius: 50%; border: 0; background: none; color: var(--mulberry); cursor: pointer;
}
.icon-btn:hover { background: var(--petal); }
.menu-btn { display: none; }
.country-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; }
.country-switch a { padding: .3rem .65rem; border-radius: 999px; color: var(--ink-soft); }
.country-switch a[aria-current] { background: var(--mulberry); color: var(--porcelain); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 var(--section); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero-title {
  font-family: var(--serif); font-size: var(--step-4);
  line-height: 1.05; letter-spacing: -.02em;
  max-width: 11ch; text-wrap: balance;
}
.hero-lead { margin-top: 1.75rem; max-width: 38ch; font-size: 1.1875rem; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

/* Kad shade — elemen utama */
.shade-card {
  margin: 0; padding: 1.25rem 1.25rem 1rem;
  background: #fff; border-radius: 6px;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(74, 31, 46, .35);
}
.shade-hint { font-family: var(--serif); font-style: italic; font-size: var(--step-1); margin-bottom: 1rem; }
.shades { display: flex; gap: 4px; height: clamp(300px, 38vw, 440px); }
.shades li { flex: 1 1 0; transition: flex-grow .45s cubic-bezier(.2,.7,.2,1); }
.shades a {
  position: relative; display: block; height: 100%;
  background: var(--shade); border-radius: 3px;
  transform-origin: bottom;
  animation: rise .9s cubic-bezier(.2,.7,.2,1) both;
  animation-delay: calc(var(--i) * 70ms + 150ms);
}
.shade-name {
  position: absolute; left: 50%; bottom: .9rem;
  writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg);
  font-size: .8125rem; white-space: nowrap;
  color: color-mix(in srgb, var(--mulberry) 80%, var(--shade));
}
.shades li:nth-child(n+5) .shade-name { color: color-mix(in srgb, #fff 88%, var(--shade)); }
.shades li:hover, .shades li:focus-within { flex-grow: 2.6; }
@keyframes rise { from { transform: scaleY(.15); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Kategori ---------- */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cat {
  position: relative; display: grid; align-content: end; gap: .5rem;
  min-height: 300px; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 6px; overflow: hidden;
}
.cat-beauty { background: var(--mulberry); color: var(--petal); }
.cat-makeup { background: var(--petal); color: var(--mulberry); }
.cat-art { position: absolute; right: clamp(1rem, 4vw, 3rem); top: 50%; translate: 0 -50%; width: 110px; opacity: .8; transition: translate .4s; }
.cat:hover .cat-art { translate: 0 -54%; }
.cat-name { font-family: var(--serif); font-size: var(--step-3); line-height: 1.1; }
.cat-desc { max-width: 30ch; font-size: var(--step--1); opacity: .85; }

/* ---------- Artikel ---------- */
.latest { padding: var(--section) 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2.5rem; }
.section-title { font-family: var(--serif); font-size: var(--step-3); line-height: 1.1; letter-spacing: -.015em; }
.section-lead { margin-top: .5rem; color: var(--ink-soft); max-width: 50ch; }
.empty { color: var(--ink-soft); }

.latest-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
.story a { display: block; }
.story a:hover .story-title { text-decoration: underline; text-decoration-color: var(--rosegold); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.story-cat { display: block; margin: 1rem 0 .35rem; font-size: .8125rem; color: var(--rosegold); font-weight: 600; }
.story-title { font-family: var(--serif); font-size: var(--step-1); line-height: 1.25; text-wrap: balance; }
.story-feature .story-title { font-size: var(--step-2); line-height: 1.15; }
.story-excerpt { margin-top: .75rem; color: var(--ink-soft); max-width: 52ch; }
.story-meta { display: block; margin-top: .75rem; font-size: .8125rem; color: var(--ink-soft); }

.story-list { display: grid; align-content: start; }
.story-row { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.story-row:first-child { padding-top: 0; border-top: 0; }
.story-row a { display: grid; grid-template-columns: 104px 1fr; gap: 1.25rem; align-items: start; }
.story-row .story-cat { margin-top: 0; }
.story-row .story-title { font-size: 1.1875rem; }
.story-row .story-meta { margin-top: .4rem; }

.story-row4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.story-row4 .story-title { font-size: 1.125rem; }

.cover { display: block; border-radius: 4px; overflow: hidden; background: var(--petal); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-large { aspect-ratio: 4 / 3; }
.cover-medium { aspect-ratio: 4 / 3; }
.cover-small { aspect-ratio: 1; }
.cover-art { display: grid; place-items: center; background: var(--shade); color: rgba(74, 31, 46, .55); }
.cover-art svg { width: 46%; }
.cover-small.cover-art svg { width: 62%; }

/* ---------- Aplikasi ---------- */
.apps { margin-top: var(--section); padding: var(--section) 0; background: var(--mulberry); color: var(--petal); }
.apps-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.apps-head p { color: color-mix(in srgb, var(--petal) 80%, var(--mulberry)); max-width: 44ch; justify-self: end; }
.app-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(244, 223, 218, .2); }
.app {
  display: grid; align-content: start; gap: .5rem;
  padding: 1.75rem 1.5rem 2rem 0;
  border-bottom: 1px solid rgba(244, 223, 218, .2);
}
.app-icon { color: var(--rosegold); margin-bottom: .5rem; }
.app-name { font-family: var(--serif); font-size: var(--step-1); line-height: 1.2; color: var(--porcelain); }
.app-desc { font-size: var(--step--1); color: color-mix(in srgb, var(--petal) 78%, var(--mulberry)); max-width: 28ch; }
.app-list > li { display: contents; }
a.app:hover .app-name { text-decoration: underline; text-decoration-color: var(--rosegold); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a.app:hover .app-soon { background: var(--petal); color: var(--mulberry); }
.app-soon { justify-self: start; margin-top: .5rem; padding: .2rem .65rem; border: 1px solid rgba(244, 223, 218, .35); border-radius: 999px; font-size: .75rem; }

/* ---------- Video ---------- */
.videos { padding: var(--section) 0; }
.video-group + .video-group { margin-top: 3.5rem; }
.video-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.video-group-title { font-family: var(--serif); font-variation-settings: "opsz" 11; font-weight: 500; font-size: var(--step-2); line-height: 1.1; }
.video-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 1.75rem 1.5rem; align-items: start; }
.video-lead { grid-row: span 2; }
.video-lead .video-title { font-size: var(--step-2); line-height: 1.2; }
.video-thumb {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--shade);
}
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play {
  position: relative; display: grid; place-items: center; width: 3.25rem; height: 3.25rem;
  border-radius: 50%; background: rgba(255, 248, 246, .92); color: var(--mulberry); padding-left: 3px;
  transition: transform .2s;
}
.video:hover .play { transform: scale(1.08); }
.video-title { display: block; margin-top: 1rem; font-family: var(--serif); font-size: 1.1875rem; line-height: 1.3; }
.video-channel { display: block; margin-top: .3rem; font-size: .8125rem; color: var(--ink-soft); }

/* ---------- Slot iklan (sama untuk semua pengiklan) ---------- */
.ad { padding: 0 0 1rem; }
.ad-inner {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1rem 1.5rem 1rem 1rem; border: 1px solid var(--line); border-radius: 6px; background: #fff;
}
.ad-inner:hover { border-color: var(--rosegold); }
.ad-media { display: block; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--petal); }
.ad-media img { width: 100%; height: 100%; object-fit: cover; }
.ad-ph { display: grid; place-items: center; height: 100%; padding: .5rem; text-align: center; font-family: var(--serif); font-variation-settings: "opsz" 11; font-size: .9rem; line-height: 1.2; color: var(--ink-soft); }
.ad-body { display: grid; gap: .2rem; }
.ad-by { color: var(--mulberry); font-weight: 600; }
.ad-tag { display: flex; gap: .5rem; align-items: center; font-size: .75rem; color: var(--ink-soft); }
.ad-title { font-family: var(--serif); font-variation-settings: "opsz" 11; font-size: 1.25rem; line-height: 1.25; }
.ad-text { font-size: var(--step--1); color: var(--ink-soft); }
.ad-cta { padding: .6rem 1.1rem; border: 1px solid var(--mulberry); border-radius: 999px; font-size: var(--step--1); font-weight: 500; white-space: nowrap; }
@media (max-width: 600px) {
  .ad-inner { grid-template-columns: 88px 1fr; padding: .85rem; gap: 1rem; }
  .ad-cta { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- Newsletter ---------- */
.newsletter { padding: var(--section) 0; text-align: center; }
.news-inner { max-width: 640px; }
.news-title { font-family: var(--serif); font-size: var(--step-3); line-height: 1.1; font-style: italic; text-wrap: balance; }
.news-inner > p { margin-top: 1rem; color: var(--ink-soft); }
.news-form {
  display: flex; gap: .5rem; margin: 2rem auto 0; max-width: 480px;
  padding: .35rem; border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.news-form input[type=email] {
  flex: 1; min-width: 0; border: 0; background: none; padding: 0 1rem;
  font: inherit; color: var(--mulberry);
}
.news-form input[type=email]:focus { outline: none; }
.news-form:focus-within { outline: 2px solid var(--rosegold); outline-offset: 2px; }
.news-form ::placeholder { color: #A08589; }
.news-inner .news-note { margin-top: 1rem; font-size: .8125rem; }
.news-inner .news-status { margin-top: 1.25rem; font-weight: 500; color: var(--mulberry); }
.news-inner .news-error { color: #9B2C3A; }

/* ---------- Footer ---------- */
.site-footer {
  --muted: color-mix(in srgb, var(--petal) 70%, var(--mulberry));
  --rule: rgba(244, 223, 218, .16);
  background: var(--mulberry); color: var(--petal);
  padding: clamp(4rem, 8vw, 6rem) 0 2rem; font-size: var(--step--1);
}
.footer-top { display: grid; grid-template-columns: minmax(240px, 1.1fr) 3fr; gap: clamp(2.5rem, 6vw, 5rem); }
.footer-brand .logo-word { font-size: 2.25rem; color: var(--porcelain); }
.footer-brand p { margin-top: 1.25rem; max-width: 34ch; color: var(--muted); line-height: 1.7; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.75rem; }
.footer-social a {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--rule); border-radius: 50%; color: var(--petal);
  transition: background-color .2s, color .2s;
}
.footer-social a:hover { background: var(--petal); color: var(--mulberry); }

.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem 1.5rem; }
.footer-h {
  font-family: var(--serif); font-variation-settings: "opsz" 11; font-weight: 500;
  font-size: 1.0625rem; color: var(--porcelain);
  padding-bottom: .9rem; margin-bottom: 1rem; border-bottom: 1px solid var(--rule);
}
.site-footer li { margin-bottom: .65rem; }
.site-footer li a { color: var(--muted); transition: color .2s; }
.site-footer li a:hover { color: var(--porcelain); }

.footer-disclaimer {
  margin-top: clamp(3rem, 6vw, 4.5rem); padding: 1.5rem 30% 1.5rem 0;
  border-top: 1px solid var(--rule); color: var(--muted); font-size: .8125rem; line-height: 1.7;
}
.footer-base {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
  padding-top: 1.5rem; border-top: 1px solid var(--rule); font-size: .8125rem; color: var(--muted);
}
.footer-disclaimer a { color: var(--petal); border-bottom: 1px solid var(--rule); white-space: nowrap; }
.footer-disclaimer a:hover { color: var(--porcelain); }
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-legal li { margin: 0; }
.footer-region { display: flex; gap: .4rem; align-items: center; margin-left: auto; }
.footer-region a { padding: .3rem .75rem; border: 1px solid var(--rule); border-radius: 999px; color: var(--muted); }
.footer-region a[aria-current] { background: var(--petal); color: var(--mulberry); border-color: var(--petal); }
.footer-region a:not([aria-current]):hover { color: var(--porcelain); border-color: var(--muted); }

@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .footer-disclaimer { padding-right: 0; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-region { margin-left: 0; }
  .footer-base { flex-direction: column; align-items: flex-start; }
}

/* ---------- Senarai, kategori, carian ---------- */
.list-head { background: var(--petal); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.list-body { padding: clamp(2.5rem, 5vw, 4rem) 0 var(--section); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 1.25rem; }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--mulberry); }
.crumbs a:not(:last-child)::after { content: "/"; margin-left: .4rem; color: var(--rosegold); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.chips a { padding: .5rem 1rem; border: 1px solid color-mix(in srgb, var(--mulberry) 25%, transparent); border-radius: 999px; font-size: var(--step--1); background: rgba(255,255,255,.5); }
.chips a:hover { border-color: var(--mulberry); }
.chips a[aria-current] { background: var(--mulberry); color: var(--porcelain); border-color: var(--mulberry); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 2rem; }
.card-grid .story-title { font-size: 1.25rem; }
.card-grid .story-excerpt { font-size: var(--step--1); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: var(--step--1); }
.pager a { justify-self: start; padding: .6rem 1.2rem; border: 1px solid var(--mulberry); border-radius: 999px; }
.pager a[rel=next] { justify-self: end; }
.pager a:hover { background: var(--petal); }
.pager-info { color: var(--ink-soft); }
.video-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.video-row-3 { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
.video-row .video-title { font-size: 1.0625rem; }
.videos-compact { padding: 0 0 var(--section); }
.videos-page { padding-top: clamp(2.5rem, 5vw, 4rem); }
.search-form { display: flex; gap: .5rem; max-width: 640px; margin-top: 1.5rem; padding: .35rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.search-form input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 1rem; font: inherit; font-size: 1.0625rem; color: var(--mulberry); }
.search-form input:focus { outline: none; }
.search-form:focus-within { outline: 2px solid var(--rosegold); outline-offset: 2px; }
.search-for { margin-bottom: 2rem; color: var(--ink-soft); }
.search-h { margin: 1rem 0 1.5rem; }
.search-h + .card-grid + .search-h { margin-top: 3.5rem; }

/* ---------- Artikel ---------- */
.article-head { background: var(--petal); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.article-head-inner { max-width: 860px; }
.article-title { font-family: var(--serif); font-variation-settings: "opsz" 11; font-weight: 500; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
.article-lead { margin-top: 1.25rem; font-size: 1.25rem; line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
.article-meta { margin-top: 1.5rem; font-size: var(--step--1); color: var(--ink-soft); }
.article-figure { margin: clamp(2rem, 4vw, 3rem) 0 0; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--petal); }
.article-figure img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 68ch) 1fr; gap: clamp(2rem, 6vw, 5rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.article-body { font-size: 1.125rem; line-height: 1.75; }
.article-body h3 { font-family: var(--serif); font-variation-settings: "opsz" 11; font-weight: 500; font-size: var(--step-1); margin-top: 2rem; }
.article-body ol { padding-left: 1.3rem; list-style: decimal; }
.article-body blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 3px solid var(--rosegold); background: #fff; font-style: italic; }
.article-body table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.article-body th, .article-body td { padding: .6rem .7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { font-weight: 600; }
.article-side { position: relative; }
.share { position: sticky; top: 6.5rem; display: grid; gap: .5rem; justify-items: start; font-size: var(--step--1); }
.share-label { font-family: var(--serif); font-variation-settings: "opsz" 11; font-size: 1.125rem; margin-bottom: .25rem; }
.share a, .share-copy { padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; color: var(--mulberry); cursor: pointer; }
.share a:hover, .share-copy:hover { border-color: var(--mulberry); }
.article-foot { max-width: 68ch; margin-top: 3rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: var(--step--1); color: var(--ink-soft); }
.tags a { padding: .3rem .8rem; background: var(--petal); border-radius: 999px; color: var(--mulberry); }
.article-note { margin-top: 1.5rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 6px; font-size: var(--step--1); color: var(--ink-soft); background: #fff; }
.article-note a { color: var(--mulberry); border-bottom: 1px solid var(--rosegold); }
.related { padding: var(--section) 0 0; }
.related .section-title { margin-bottom: 2.5rem; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.newsletter-tight { margin-top: var(--section); background: var(--petal); }

/* ---------- Tonton video ---------- */
.watch { padding: clamp(2rem, 4vw, 3rem) 0 var(--section); }
.watch-layout { display: grid; grid-template-columns: minmax(0, 2.2fr) 1fr; gap: clamp(2rem, 4vw, 3rem); }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--mulberry); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch-title { margin-top: 1.5rem; font-family: var(--serif); font-variation-settings: "opsz" 11; font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; }
.watch-meta { margin-top: .75rem; font-size: var(--step--1); color: var(--ink-soft); }
.watch-desc { margin-top: 1.25rem; font-size: var(--step--1); color: var(--ink-soft); max-width: 75ch; overflow-wrap: anywhere; }
.watch-actions { margin-top: 1.5rem; }
.watch-side .video-group-title { font-size: var(--step-1); margin-bottom: 1.25rem; }
.watch-more { display: grid; gap: 1.5rem; }
.watch-more .video { display: grid; grid-template-columns: 150px 1fr; gap: .9rem; align-items: start; }
.watch-more .video-thumb { grid-row: span 2; }
.watch-more .video-title { margin-top: 0; font-size: 1rem; }
.watch-more .play { width: 2.25rem; height: 2.25rem; }

/* ---------- Shorts (menegak 9:16) ---------- */
.shorts-strip { margin-top: 3.5rem; }
.videos-page .shorts-strip { margin: 0 0 3.5rem; }
.strip-tools { display: flex; align-items: center; gap: .5rem; }
.strip-btn { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--mulberry); cursor: pointer; }
.strip-btn:hover { border-color: var(--mulberry); }
.strip-btn:disabled { opacity: .35; cursor: default; }
.strip-tools .text-link { margin-left: .5rem; }
.shorts-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 17vw, 200px); gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0; padding-bottom: .75rem;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.shorts-track:focus-visible { outline: 2px solid var(--rosegold); outline-offset: 4px; }
.shorts-track .short { scroll-snap-align: start; }
.short { display: block; }
.short-thumb { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: var(--petal); }
.short-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.short:hover .short-thumb img { transform: scale(1.03); }
.short-thumb::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(46, 18, 28, .55)); pointer-events: none; }
.short-badge { position: absolute; top: .6rem; left: .6rem; z-index: 1; padding: .15rem .55rem; border-radius: 999px; background: rgba(255, 248, 246, .92); color: var(--mulberry); font-size: .6875rem; font-weight: 600; }
.short-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: .6rem; font-size: var(--step--1); line-height: 1.4; }
.short:hover .short-title { text-decoration: underline; text-decoration-color: var(--rosegold); text-underline-offset: 3px; }
.shorts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 2rem 1rem; }
.shorts-grid-side { grid-template-columns: repeat(2, 1fr); gap: 1.25rem .75rem; }
.search-shorts { margin-bottom: 3rem; }
.search-shorts .shorts-strip { margin-top: 0; }

/* Pemain Shorts */
.watch-short { grid-template-columns: minmax(0, 1.3fr) 1fr; }
.player-short { aspect-ratio: 9 / 16; width: min(100%, 420px); max-height: 78vh; margin-inline: auto; border-radius: 14px; }
@supports (max-height: 78dvh) { .player-short { max-height: 78dvh; } }
.player-short { height: auto; }
.watch-short .watch-title, .watch-short .watch-meta, .watch-short .watch-desc, .watch-short .watch-actions, .watch-short .article-note { max-width: 420px; margin-inline: auto; }

/* ---------- Pemain Shorts (suapan menegak) ---------- */
.sp { padding: .75rem 0 2.5rem; }
.sp-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.75rem; }
.sp-back { display: inline-flex; align-items: center; gap: .35rem; font-size: var(--step--1); font-weight: 500; white-space: nowrap; flex: none; }
.sp-back:hover { color: var(--rosegold); }
.sp-hint { font-size: .8125rem; color: var(--ink-soft); text-align: right; }
.sp-hint-touch { display: none; }
@media (hover: none) { .sp-hint-touch { display: inline; } .sp-hint-desk { display: none; } }
.sp-viewport { position: relative; }
.sp-feed {
  height: calc(100vh - 4.5rem - 3.5rem - 1rem); height: calc(100svh - 4.5rem - 3.5rem - 1rem);
  min-height: 420px; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior-y: contain;
  scrollbar-width: none;
}
.sp-feed::-webkit-scrollbar { display: none; }
.sp-feed:focus { outline: none; }
.sp-slide {
  height: 100%; scroll-snap-align: start; scroll-snap-stop: always;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .85rem; padding: .25rem 1rem .75rem;
}
.sp-frame {
  position: relative; flex: 1 1 auto; min-height: 0; aspect-ratio: 9 / 16; max-width: 100%;
  border-radius: 16px; overflow: hidden; background: #2E1A20; box-shadow: 0 20px 50px -25px rgba(74, 31, 46, .5);
}
.sp-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.sp-playbtn {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 1;
  display: grid; place-items: center; width: 4.25rem; height: 4.25rem; padding-left: 4px;
  border: 0; border-radius: 50%; background: rgba(255, 248, 246, .92); color: var(--mulberry); cursor: pointer;
}
.sp-playbtn:hover { transform: scale(1.05); }
.sp-slide.is-playing .sp-playbtn { display: none; }
.sp-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; width: min(100%, 420px); flex: none; }
.sp-title { font-family: var(--serif); font-variation-settings: "opsz" 11; font-weight: 500; font-size: 1.125rem; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-channel { margin-top: .2rem; font-size: .8125rem; color: var(--ink-soft); }
.sp-yt { flex: none; padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .75rem; white-space: nowrap; }
.sp-yt:hover { border-color: var(--mulberry); }
.sp-end { justify-content: center; text-align: center; gap: 1.25rem; }
.sp-end p { max-width: 32ch; color: var(--ink-soft); }
.sp-nav { position: absolute; top: 50%; right: max(1rem, calc(50% - 360px)); translate: 0 -50%; display: grid; gap: .75rem; }
.sp-navbtn { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--mulberry); cursor: pointer; box-shadow: 0 6px 18px -10px rgba(74, 31, 46, .4); }
.sp-navbtn:hover:not(:disabled) { border-color: var(--mulberry); }
.sp-navbtn:disabled { opacity: .35; cursor: default; }
.sp-note { margin-top: 1rem; font-size: .8125rem; color: var(--ink-soft); text-align: center; }
@media (hover: none), (max-width: 700px) {
  .sp-nav { display: none; }
}
@media (max-width: 600px) {
  .sp { padding-top: .25rem; }
  .sp-hint { font-size: .75rem; max-width: 22ch; }
  .sp-slide { padding: 0 .5rem .5rem; gap: .6rem; }
  .sp-frame { border-radius: 12px; }
}

/* ---------- Halaman aplikasi ---------- */
.app-group + .app-group { margin-top: 3.5rem; }
.app-group .video-group-title { margin-bottom: 1.5rem; }
.app-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.app-card { display: grid; align-content: start; gap: .5rem; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.app-card .app-name { color: var(--mulberry); }
.app-card.is-current { border-color: var(--rosegold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--rosegold) 25%, transparent); }
.app-card .app-desc { color: var(--ink-soft); }
.app-cards > li { display: flex; }
.app-card { width: 100%; transition: border-color .2s; }
.app-card:hover { border-color: var(--rosegold); }
.app-open { justify-self: start; margin-top: .75rem; padding: .35rem .9rem; border-radius: 999px; background: var(--mulberry); color: var(--porcelain); font-size: .8125rem; font-weight: 500; }
.apps-notify { margin-top: 3rem; }

@media (max-width: 1000px) {
  .watch-short { grid-template-columns: 1fr; }
  .shorts-grid-side { grid-template-columns: repeat(3, 1fr); }
  .card-grid, .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .video-row { grid-template-columns: repeat(2, 1fr); }
  .app-cards { grid-template-columns: repeat(2, 1fr); }
  .article-layout, .watch-layout { grid-template-columns: 1fr; }
  .share { position: static; display: flex; flex-wrap: wrap; align-items: center; }
  .share-label { margin: 0 .5rem 0 0; }
}
@media (max-width: 600px) {
  .shorts-track { grid-auto-columns: 42vw; }
  .shorts-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem .75rem; }
  .shorts-grid-side { grid-template-columns: repeat(2, 1fr); }
  .strip-btn { display: none; }
  .card-grid, .card-grid-3, .video-row, .video-row-3, .app-cards { grid-template-columns: 1fr; }
  .watch-more .video { grid-template-columns: 120px 1fr; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager-info { grid-column: 1 / -1; grid-row: 1; text-align: center; }
}

/* ---------- Aplikasi interaktif ---------- */
.app-head-row { display: flex; gap: 1.5rem; align-items: flex-start; }
.app-head-icon { display: grid; place-items: center; flex: none; width: 4rem; height: 4rem; border-radius: 50%; background: var(--porcelain); color: var(--rosegold); margin-top: .4rem; }
.app-head-icon svg { width: 30px; height: 30px; }
.app-body { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.app-wrap { max-width: 860px; }
.app-form { display: grid; gap: 1.25rem; }
.q { margin: 0; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.q-title { float: left; width: 100%; padding: 0; margin-bottom: 1rem; font-family: var(--serif); font-variation-settings: "opsz" 11; font-weight: 500; font-size: 1.25rem; line-height: 1.3; }
.q-title + * { clear: both; }
.q-hint { margin: -.25rem 0 1rem; font-size: var(--step--1); color: var(--ink-soft); }
.q-hint-after { margin: -.5rem 0 0; }
.q-options { display: grid; gap: .5rem; }
.q-options-wrap { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.opt { position: relative; display: flex; gap: .75rem; align-items: center; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.opt:hover { border-color: var(--rosegold); }
.opt input { accent-color: var(--mulberry); width: 1.1rem; height: 1.1rem; flex: none; margin: 0; }
.opt:has(input:checked) { border-color: var(--mulberry); background: var(--petal); }
.opt:has(input:focus-visible) { outline: 2px solid var(--rosegold); outline-offset: 2px; }
.app-error { color: #8B2433; font-size: var(--step--1); min-height: 1.2em; }
.app-form > .btn { justify-self: start; }
.swatch-pick { display: grid; grid-template-columns: repeat(8, 1fr); gap: .5rem; }
.swatch-opt { display: grid; gap: .4rem; justify-items: center; text-align: center; cursor: pointer; font-size: .75rem; color: var(--ink-soft); }
.swatch-opt input { position: absolute; opacity: 0; pointer-events: none; }
.swatch-chip { width: 100%; aspect-ratio: 3 / 4; border-radius: 4px; background: var(--sw); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .15s, transform .15s; }
.swatch-opt:hover .swatch-chip { transform: translateY(-2px); }
.swatch-opt:has(input:checked) .swatch-chip { outline-color: var(--mulberry); }
.swatch-opt:has(input:checked) .swatch-name { color: var(--mulberry); font-weight: 600; }
.swatch-opt:has(input:focus-visible) .swatch-chip { outline-color: var(--rosegold); }

.app-result:not(:empty) { margin-top: 2.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--mulberry); border-radius: 6px; scroll-margin-top: 6rem; }
.app-result:focus { outline: none; }
.app-result > * + * { margin-top: 1rem; }
.app-result h3 { margin-top: 2rem; font-family: var(--serif); font-variation-settings: "opsz" 11; font-weight: 500; font-size: 1.25rem; }
.result-kicker { font-size: var(--step--1); font-weight: 600; color: var(--rosegold); }
.app-result .result-title { margin-top: .25rem; font-family: var(--serif); font-variation-settings: "opsz" 11; font-weight: 500; font-size: clamp(1.75rem, 3.5vw, 2.4rem); line-height: 1.15; }
.result-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.result-cols h3 { margin-top: 1.5rem; }
.app-ul { padding-left: 1.2rem; list-style: disc; display: grid; gap: .5rem; }
ol.app-ul { list-style: decimal; }
.app-ul li::marker { color: var(--rosegold); }
.routine { counter-reset: r; display: grid; gap: .75rem; }
.routine li { counter-increment: r; display: grid; grid-template-columns: 2rem 1fr; column-gap: .75rem; }
.routine li::before { content: counter(r); grid-row: span 2; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--petal); color: var(--mulberry); font-weight: 600; font-size: .875rem; }
.routine li span { color: var(--ink-soft); font-size: var(--step--1); }
.result-note { padding: 1rem 1.25rem; background: var(--petal); border-radius: 6px; font-size: var(--step--1); }
.chips-inline { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { padding: .35rem .85rem; background: var(--petal); border-radius: 999px; font-size: var(--step--1); }
.result-next { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: baseline; padding-top: 1.5rem; margin-top: 2rem !important; border-top: 1px solid var(--line); }
.result-next p { font-weight: 600; width: 100%; }
.app-result > .btn { margin-top: 1.5rem; }
.muted { color: var(--ink-soft); font-size: var(--step--1); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .75rem 1.5rem; margin: 1.5rem 0 0; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--ink-soft); }
.pairs { display: grid; gap: .75rem; margin-top: 1.5rem !important; }
.pair { display: grid; gap: .25rem; padding: 1rem 1.25rem; border-radius: 6px; border-left: 4px solid; background: var(--porcelain); }
.pair span:last-child { color: var(--ink-soft); font-size: var(--step--1); }
.pair-badge { justify-self: start; padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.pair-avoid { border-color: #9B2C3A; } .pair-avoid .pair-badge { background: #F7E1E4; color: #8B2433; }
.pair-caution { border-color: #B87A1E; } .pair-caution .pair-badge { background: #F8ECD9; color: #7A4E0C; }
.pair-good { border-color: #2F6B4F; } .pair-good .pair-badge { background: #E3F0E8; color: #24563F; }
.pair-ok { border-color: var(--line); } .pair-ok .pair-badge { background: #EFE8E6; color: var(--ink-soft); }
.shade-result { display: flex; gap: 1.5rem; align-items: center; }
.shade-big { flex: none; width: 96px; height: 128px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.shade-result .result-title { margin-top: 0; }
.palette { display: grid; grid-template-columns: repeat(7, 1fr); gap: .75rem; margin-top: 1.5rem !important; }
.palette li { display: grid; gap: .3rem; font-size: .75rem; }
.pal-sw { position: relative; aspect-ratio: 1; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.pal-sw[data-copied]::after { content: "\2713"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.2rem; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.pal-role { font-weight: 600; color: var(--mulberry); }
.pal-name { color: var(--ink-soft); }
.pal-hex { font-size: .7rem; color: var(--ink-soft); }
.app-others { padding: 0 0 var(--section); }
.app-others .video-group-title { margin-bottom: 1.25rem; }
.app-others-list { display: flex; flex-wrap: wrap; gap: .75rem; }
.app-others-list a { display: inline-flex; gap: .6rem; align-items: center; padding: .6rem 1.1rem .6rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: var(--step--1); }
.app-others-list a:hover { border-color: var(--rosegold); }
.app-others-list .app-icon { margin: 0; color: var(--rosegold); }
.app-others-list svg { width: 20px; height: 20px; }
@media (max-width: 700px) {
  .result-cols { grid-template-columns: 1fr; gap: 0; }
  .swatch-pick { grid-template-columns: repeat(4, 1fr); }
  .palette { grid-template-columns: repeat(4, 1fr); }
  .facts { grid-template-columns: 1fr; gap: .25rem; }
  .facts dd { margin-bottom: .75rem; }
  .app-head-icon { display: none; }
  .q { padding: 1.1rem; }
}

/* ---------- Halaman statik & kontak ---------- */
.page { padding-bottom: var(--section); }
.page-head { background: var(--petal); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-title { font-family: var(--serif); font-variation-settings: "opsz" 11; font-weight: 500; font-size: clamp(2.25rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.015em; max-width: 18ch; }
.page-lead { margin-top: 1rem; max-width: 56ch; font-size: 1.1875rem; color: var(--ink-soft); }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-family: var(--serif); font-variation-settings: "opsz" 11; font-weight: 500; font-size: var(--step-2); line-height: 1.2; margin-top: 2.5rem; }
.prose ul { padding-left: 1.2rem; list-style: disc; }
.prose li { margin-top: .5rem; padding-left: .2rem; }
.prose li::marker { color: var(--rosegold); }
.prose a:not(.btn) { border-bottom: 1px solid var(--rosegold); }
.prose a:not(.btn):hover { color: var(--rosegold); }
.prose .btn { margin-top: 1rem; }
.muted-note { font-size: var(--step--1); color: var(--ink-soft); }

.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-form { display: grid; gap: 1.1rem; }
.contact-form label { display: grid; gap: .4rem; font-size: var(--step--1); font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 1rem; color: var(--mulberry); background: #fff;
  border: 1px solid var(--line); border-radius: 6px; padding: .8rem .9rem; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--rosegold); outline-offset: 1px; border-color: transparent; }
.contact-form .btn { justify-self: start; margin-top: .5rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-status { padding: 1rem 1.25rem; border-radius: 6px; background: #E9F2EC; color: #24563F; margin-bottom: 1.5rem; }
.form-error { background: #F7E1E4; color: #8B2433; }
.contact-side { padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.contact-side h2 { font-family: var(--serif); font-variation-settings: "opsz" 11; font-weight: 500; font-size: var(--step-1); margin-bottom: .75rem; }
.contact-side p { color: var(--ink-soft); font-size: var(--step--1); }
.contact-side p + p { margin-top: 1rem; }
.contact-direct a { color: var(--mulberry); border-bottom: 1px solid var(--rosegold); }
@media (max-width: 760px) {
  .contact-grid, .field-row { grid-template-columns: 1fr; }
}

/* ---------- 404 ---------- */
.notfound { padding: var(--section) 0; }
.notfound .btn { margin-top: 2rem; }

/* ---------- Responsif ---------- */
@media (max-width: 1000px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
  .video-lead { grid-column: 1 / -1; grid-row: auto; }
  .app-list { grid-template-columns: repeat(2, 1fr); }
  .story-row4 { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
}
@media (max-width: 860px) {
  .menu-btn { display: inline-grid; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1.25rem;
    background: var(--porcelain); border-bottom: 1px solid var(--line);
    font-size: var(--step-1); font-family: var(--serif);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .header-tools { margin-left: auto; }
  .hero-inner, .latest-grid, .apps-head { grid-template-columns: 1fr; }
  .apps-head p { justify-self: start; }
  .shades { height: 240px; }
}
@media (max-width: 600px) {
  .video-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat { min-height: 220px; }
  .cat-art { width: 80px; top: 1.5rem; translate: none; }
  .cat:hover .cat-art { translate: none; }
  .app-list { grid-template-columns: 1fr; }
  .story-row4 { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .story-row a { grid-template-columns: 84px 1fr; gap: 1rem; }
  .news-form { flex-direction: column; border-radius: 1.5rem; padding: .5rem; }
  .news-form input[type=email] { min-height: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
