:root {
  --red: #a92533;
  --gold: #aa833b;
  --ink: #242322;
  --cream: #f6f3ed;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fdfcf9;
  font-family: Arial,Helvetica,sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

.skip {
  position: absolute;
  top: -100px;
}

.skip:focus {
  top: 0;
  background: white;
  z-index: 5;
}

.topline {
  padding: 10px 5%;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  letter-spacing: 1.5px;
  display: flex;
  justify-content: space-between;
}

header {
  height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5dfd4;
  padding: 0 5%;
  gap: 30px;
}

.brand img {
  object-fit: contain;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
}

.nav-guide {
  border: 1px solid #d0b990;
  padding: 14px 23px;
  border-radius: 30px;
}

#menu {
  display: none;
}

main>section {
  padding: 70px 5%;
  max-width: 1600px;
  margin: auto;
}

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: 6%;
  overflow: hidden;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 700;
}

h1,h2,h3,p {
  margin: 0;
}

h1 {
  font-family: Georgia,serif;
  font-size: clamp(44px,5.2vw,80px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -3px;
  margin: 26px 0;
}

em {
  font-family: Georgia,serif;
  color: var(--red);
  font-weight: 400;
}

.hero p {
  max-width: 460px;
  line-height: 1.85;
  font-size: 16px;
  color: #6c6862;
}

.actions {
  display: flex;
  gap: 26px;
  align-items: center;
  margin: 32px 0;
  font-size: 13px;
}

.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: var(--red);
  color: white;
  border: 0;
  border-radius: 40px;
  padding: 18px 26px;
  font-size: 13px;
}

.primary:hover {
  background: #811d28;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 9px;
  letter-spacing: 1px;
  color: #777066;
  padding-top: 26px;
}

.hero-note span {
  font-size: 25px;
  color: var(--gold);
}

.hero-note i {
  height: 15px;
  border-left: 1px solid #cfc7b8;
}

.hero-art {
  position: relative;
  padding: 10px;
}

.hero-art>img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 48% 48% 10px 10px;
  position: relative;
  display: block;
}

.orbit {
  position: absolute;
  inset: -14px;
  border: 1px solid #cdb479;
  border-radius: 50% 50% 0 0;
  transform: rotate(5deg);
}

.art-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff9ef;
  padding: 20px;
  font-size: 10px;
  letter-spacing: 2px;
  box-shadow: 0 5px 30px #0001;
}

.art-tag b {
  float: right;
  color: var(--red);
}

.ticker {
  display: flex;
  justify-content: space-around;
  gap: 22px;
  background: var(--cream);
  border-block: 1px solid #e7e0d5;
  padding: 23px 5%;
  font-size: 12px;
  letter-spacing: 2px;
  color: #625647;
  overflow: hidden;
  white-space: nowrap;
}

.ticker span {
  color: var(--red);
}

.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

h2 {
  font-family: Georgia,serif;
  font-size: clamp(32px,3.3vw,49px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -1.3px;
  margin-top: 17px;
}

.section-top p {
  color: #797269;
  font-size: 13px;
  line-height: 1.8;
}

.section-top>a {
  font-size: 13px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 10px;
}

.categories {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid #dcd3c3;
  border-bottom: 1px solid #dcd3c3;
}

.categories a {
  padding: 32px;
  position: relative;
  min-height: 220px;
}

.categories a+a {
  border-left: 1px solid #dcd3c3;
}

.categories a:nth-child(2) {
  background: var(--cream);
}

.categories span {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--gold);
}

h3 {
  font: 30px Georgia,serif;
  margin: 25px 0 12px;
}

.categories p {
  font-size: 13px;
  color: #777;
}

.categories b {
  display: block;
  margin-top: 25px;
  color: var(--red);
}

.visuals {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}

.visual {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.visual img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform .3s;
}

.visual:hover img {
  transform: translateY(-5px);
}

.visual span {
  display: block;
  padding: 18px 0;
  font-size: 16px;
  border-bottom: 1px solid #dfd5c4;
}

.visual b {
  float: right;
  color: var(--red);
}

.editorial {
  background: var(--cream);
  text-align: center;
}

.editorial p {
  max-width: 570px;
  margin: 23px auto;
  line-height: 1.9;
  color: #71695f;
  font-size: 15px;
}

.editorial h2 {
  font-size: clamp(34px,4vw,60px);
}

details {
  border-bottom: 1px solid #ddd5c8;
  padding: 23px 0;
}

summary {
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  padding-right: 30px;
  position: relative;
}

summary:after {
  content: '+';
  position: absolute;
  right: 5px;
  color: var(--red);
}

details[open] summary:after {
  content: '−';
}

details p {
  margin-top: 16px;
  line-height: 1.85;
  color: #71695f;
  max-width: 800px;
}

.page-heading {
  background: var(--cream);
  border-bottom: 1px solid #e6ddcd;
}

.page-heading h1 {
  max-width: 900px;
}

.page-heading p {
  max-width: 760px;
  line-height: 1.9;
  color: #776e61;
}

.reading {
  max-width: 850px;
  margin: auto;
  padding: 50px 25px;
}

.reading section {
  margin-bottom: 42px;
}

.reading h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.reading p {
  font-size: 17px;
  line-height: 1.95;
  color: #625d56;
}

.content p+p {
  margin-top: 25px;
}

.next {
  border-top: 1px solid #ded6c8;
  display: flex;
  align-items: center;
  gap: 35px;
  flex-wrap: wrap;
}

.next span {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
}

.next a {
  font-size: 14px;
}

.demo {
  background: var(--cream);
  text-align: center;
  margin: 30px 5%!important;
  border-radius: 12px;
}

.reels {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px auto;
}

.reels span {
  padding: 25px;
  background: white;
  box-shadow: 0 4px 25px #291b0a0a;
  border: 1px solid #ddcda9;
  border-radius: 14px;
  font-size: 64px;
  color: var(--red);
  width: 130px;
}

.demo p {
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.8;
}

.outline {
  border: 1px solid #bc9e62;
  background: transparent;
  border-radius: 30px;
  padding: 12px 22px;
  margin-top: 20px;
}

footer {
  padding: 65px 5% 22px;
  background: #292523;
  color: #f3ede3;
}

.wordmark {
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -1px;
}

.wordmark span {
  color: #c6a45f;
  margin-left: 20px;
}

.footer-intro {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 45px;
}

.footer-intro p {
  color: #c7bfb3;
  font-size: 13px;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  font-size: 12px;
  color: #c7bfb3;
  padding-bottom: 40px;
}

.footer-bottom {
  border-top: 1px solid #ffffff25;
  padding-top: 25px;
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  color: #a99e90;
}

.footer-bottom span {
  letter-spacing: 2px;
}

dialog {
  border: 1px solid #c6a464;
  border-radius: 12px;
  max-width: min(600px,94vw);
  max-height: 95vh;
  padding: 22px;
  background: #fffdf8;
}

dialog::backdrop {
  background: #17110acc;
}

dialog img {
  max-width: 100%;
  max-height: 55vh;
  object-fit: contain;
  display: block;
  margin: 20px auto;
}

dialog h2 {
  font-size: 26px;
}

#saved,#favorite-status {
  margin-top: 15px;
  line-height: 1.5;
  font-size: 14px;
}

@media(min-width:1600px) {
  main>section {
    padding-inline: 80px;
  }

}

@media(max-width:800px) {
  header {
    height: 85px;
  }

  .brand img {
    width: 130px;
  }

  #menu {
    display: block;
    background: none;
    border: 1px solid #d7c9b4;
    border-radius: 25px;
    padding: 10px 15px;
    font-size: 12px;
  }

  nav {
    display: none;
    position: absolute;
    top: 118px;
    left: 0;
    right: 0;
    background: #fffdf9;
    z-index: 4;
    padding: 25px 6%;
    box-shadow: 0 20px 30px #0001;
    flex-wrap: wrap;
    gap: 25px;
  }

  nav.open {
    display: flex;
  }

  .topline {
    font-size: 8px;
  }

  .topline span {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 45px;
    gap: 40px;
  }

  .hero h1 {
    font-size: 56px;
    letter-spacing: -2px;
  }

  .hero-art {
    max-width: 480px;
    width: 100%;
    margin: 10px auto;
  }

  .hero-note {
    padding-top: 5px;
  }

  .ticker {
    justify-content: start;
    font-size: 10px;
  }

  main>section {
    padding: 48px 6%;
  }

  .section-top {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }

  .categories,.visuals {
    grid-template-columns: 1fr;
  }

  .categories a+a {
    border-left: 0;
    border-top: 1px solid #dcd3c3;
  }

  .categories a {
    min-height: 190px;
  }

  .visual img {
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
  }

  .visuals {
    gap: 32px;
  }

  .footer-intro {
    flex-direction: column;
  }

  .footer-links {
    grid-template-columns: repeat(2,1fr);
  }

  .footer-bottom span {
    display: none;
  }

  .page-heading h1 {
    font-size: 45px;
    letter-spacing: -1.5px;
  }

  .reels {
    gap: 10px;
  }

  .reels span {
    font-size: 42px;
    padding: 18px;
    width: 80px;
  }

  .actions {
    gap: 18px;
    font-size: 12px;
  }

  .primary {
    padding: 16px 22px;
    gap: 15px;
  }

  .reading {
    padding: 35px 6%;
  }

}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none!important;
    animation: none!important;
    scroll-behavior: auto!important;
  }

}

/* Artikel beranda: paragraf terbuka dan mudah dibaca. */
.home-article {
  border-top: 1px solid #e3dacb;
}

.home-article-body {
  max-width: 860px;
  margin: 0 auto;
}

.home-article-body > div {
  margin-bottom: 30px;
}

.home-article-body h3 {
  font-size: 26px;
  margin: 0 0 12px;
}

.home-article-body p {
  color: #625d56;
  font-size: 16px;
  line-height: 1.95;
}

.article-link {
  display: table;
  margin: 32px auto 0;
}
