:root {
  --lavender: #cdb8ff;
  --paper: #f8f5ef;
  --ink: #18151e;
  --muted: #635e6d;
  --line: #28232f;
  --acid: #d8ff58;
  --display: "Syne", sans-serif;
  --body: "Outfit", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #5f2eea; outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1200; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip-link:focus { top: 16px; }

.site-header { align-items: center; border-bottom: 2px solid var(--line); display: flex; justify-content: space-between; min-height: 82px; padding: 0 clamp(20px, 5vw, 72px); }
.brand { align-items: center; display: inline-flex; font-family: var(--display); font-size: 1rem; font-weight: 800; gap: 9px; }
.brand > span { align-items: center; background: var(--ink); border-radius: 50%; color: var(--acid); display: inline-flex; height: 30px; justify-content: center; width: 30px; }
nav { display: flex; gap: 6px; }
nav a { border: 1px solid transparent; border-radius: 999px; font-size: .8rem; font-weight: 600; padding: 10px 14px; }
nav a:hover { border-color: var(--line); }

main, footer { margin-inline: auto; max-width: 1440px; }
.hero { background: var(--lavender); border-bottom: 2px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .3fr); min-height: 660px; position: relative; }
.hero::after { border: 2px solid var(--line); border-radius: 50%; content: ""; height: clamp(150px, 22vw, 330px); opacity: .35; position: absolute; right: 20%; top: 11%; width: clamp(150px, 22vw, 330px); }
.hero-label { border-right: 2px solid var(--line); display: flex; flex-direction: column; font-size: .68rem; font-weight: 700; justify-content: space-between; letter-spacing: .09em; padding: 24px 16px; position: absolute; inset: 0 auto 0 0; writing-mode: vertical-rl; }
.hero-copy { align-self: center; max-width: 1030px; padding: 94px clamp(72px, 11vw, 172px); position: relative; z-index: 1; }
.kicker { font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h1 { font-family: var(--display); font-size: clamp(3.8rem, 8.3vw, 8.6rem); letter-spacing: -.07em; line-height: .84; margin-top: 26px; max-width: 9ch; }
h1 em { background: var(--acid); border: 2px solid var(--line); border-radius: 999px; display: inline-block; font-style: normal; line-height: .8; padding: .04em .24em .1em; transform: rotate(-3deg); }
.hero-copy > p:last-child { font-size: clamp(1rem, 1.45vw, 1.25rem); margin-top: 36px; max-width: 57ch; }
.lab-note { align-self: end; background: var(--paper); border-left: 2px solid var(--line); border-top: 2px solid var(--line); display: grid; gap: 20px; grid-template-columns: auto 1fr; margin-bottom: -2px; padding: 30px; position: relative; z-index: 2; }
.lab-icon { align-items: center; background: var(--acid); border: 2px solid var(--line); border-radius: 50%; display: inline-flex; font-size: 1.3rem; height: 48px; justify-content: center; width: 48px; }
.lab-note p { color: var(--muted); font-size: .9rem; }
.lab-note strong { color: var(--ink); display: block; font-family: var(--display); margin-bottom: 6px; }

.review-section { padding: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px) 128px; }
.section-heading { align-items: end; display: grid; gap: 20px; grid-template-columns: .32fr 1fr; margin-bottom: 54px; }
.section-heading p { font-size: .68rem; font-weight: 700; letter-spacing: .1em; }
.section-heading h2 { font-family: var(--display); font-size: clamp(3rem, 6vw, 6.6rem); letter-spacing: -.055em; line-height: .82; }
.article-list { counter-reset: review; display: grid; gap: 18px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.article-card { background: #fff; border: 2px solid var(--line); border-radius: 22px; counter-increment: review; display: flex; flex-direction: column; grid-column: span 4; min-height: 400px; min-width: 0; padding: 26px; position: relative; }
.article-card:nth-child(5n + 1), .article-card:nth-child(5n + 4) { background: var(--lavender); grid-column: span 8; }
.article-card:nth-child(5n + 3) { background: var(--acid); }
.article-card::after { content: "R." counter(review, decimal-leading-zero); font-family: var(--display); font-size: .8rem; font-weight: 800; position: absolute; right: 24px; top: 25px; }
.article-meta { display: flex; flex-wrap: wrap; font-size: .68rem; font-weight: 700; gap: 8px 16px; letter-spacing: .06em; padding-right: 54px; text-transform: uppercase; }
.article-category { color: #5f2eea; }
.article-card h2 { font-family: var(--display); font-size: clamp(1.65rem, 2.7vw, 3.05rem); letter-spacing: -.045em; line-height: .95; margin-top: 52px; max-width: 18ch; }
.article-card h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.article-card p { color: var(--muted); font-size: .88rem; margin-top: 20px; max-width: 63ch; }
.read-link { align-items: center; border-top: 1px solid rgba(24, 21, 30, .35); display: flex; font-size: .74rem; font-weight: 700; justify-content: space-between; margin-top: auto; padding-top: 18px; text-transform: uppercase; }
.read-link span { align-items: center; border: 1px solid var(--line); border-radius: 50%; display: inline-flex; height: 30px; justify-content: center; transition: transform 150ms ease-out; width: 30px; }
.read-link:hover span { transform: rotate(-35deg); }

footer { align-items: start; border-top: 2px solid var(--line); display: grid; gap: 36px; grid-template-columns: .6fr 1fr; padding: 40px clamp(20px, 5vw, 72px) 62px; }
footer p { color: var(--muted); font-size: .86rem; max-width: 70ch; }
footer p a { color: #5f2eea; font-weight: 700; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .lab-note { border-left: 0; margin-left: 52px; max-width: 620px; }
  .article-card, .article-card:nth-child(5n + 1), .article-card:nth-child(5n + 4) { grid-column: span 6; }
}
@media (max-width: 680px) {
  .site-header { min-height: 72px; }
  nav a { padding: 9px 8px; }
  .hero-label { display: none; }
  .hero-copy { padding: 72px 20px 54px; }
  h1 { font-size: clamp(3.7rem, 19vw, 6rem); }
  .lab-note { border-left: 2px solid var(--line); margin: 0 20px 42px; }
  .section-heading { align-items: start; grid-template-columns: 1fr; }
  .article-card, .article-card:nth-child(5n + 1), .article-card:nth-child(5n + 4) { grid-column: 1 / -1; min-height: 360px; }
  footer { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
