/* ==========================================================================
   Sankalp Vaish — portfolio styles
   Hand-written; no framework. Replaces Bootstrap 4 beta + the old template CSS.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */

:root {
  /* Neutrals — light theme */
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-raised: #ffffff;
  --text: #0f172a;
  --text-muted: #4a5568;      /* 7.0:1 on --bg — passes WCAG AA for body text */
  --text-subtle: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  /* Accent */
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-soft: #eef2ff;
  --accent-contrast: #ffffff;

  /* The sidebar is intentionally dark in both themes: consistent identity,
     and it avoids the low-contrast white-on-light problem of the old nav. */
  --nav-bg: #131a2e;
  --nav-bg-accent: #1c2440;
  --nav-text: #cbd5e1;
  --nav-text-hover: #ffffff;
  --nav-border: rgba(255, 255, 255, 0.09);

  --award: #b45309;

  /* Type */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", var(--font-body);
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Space & shape */
  --sidebar-w: 17.5rem;
  --content-max: 62rem;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-raised: 0 2px 4px rgba(15, 23, 42, 0.05), 0 12px 28px rgba(15, 23, 42, 0.09);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f1c;
    --surface: #121829;
    --surface-raised: #161d31;
    --text: #e8ecf5;
    --text-muted: #a4b0c4;      /* 8.1:1 on --bg */
    --text-subtle: #8593aa;
    --border: #242d44;
    --border-strong: #354060;

    --accent: #97a8ff;          /* lightened so it passes AA on the dark bg */
    --accent-hover: #b6c2ff;
    --accent-soft: #1a2142;
    --accent-contrast: #0b0f1c;

    --nav-bg: #080c17;
    --nav-bg-accent: #101729;
    --nav-text: #a4b0c4;
    --nav-text-hover: #ffffff;
    --nav-border: rgba(255, 255, 255, 0.07);

    --award: #fbbf24;

    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-raised: 0 2px 4px rgba(0, 0, 0, 0.45), 0 12px 28px rgba(0, 0, 0, 0.4);
  }
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 600;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
  max-width: 68ch;      /* keeps long research prose readable */
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

ul {
  margin: 0;
  padding: 0;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, -110%);
  padding: 0.7rem 1.25rem;
  background: var(--accent);
  color: var(--accent-contrast);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.skip-link:focus {
  transform: translate(-50%, 0);
  color: var(--accent-contrast);
}

/* --------------------------------------------------------------------------
   3. Sidebar navigation
   -------------------------------------------------------------------------- */

.sidebar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
}

.sidebar__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
}

.sidebar__identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--nav-text-hover);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
}

.sidebar__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--nav-border);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  color: var(--nav-text);
  border: 1px solid var(--nav-border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

.nav-toggle:hover {
  color: var(--nav-text-hover);
  border-color: var(--border-strong);
}

.nav-toggle__icon {
  width: 1.1rem;
  height: 1.1rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open,
.nav-toggle[aria-expanded="false"] .nav-toggle__icon--close {
  display: none;
}

.sidebar__nav {
  display: none;
  padding: 0 1.25rem 1rem;
}

.sidebar__nav[data-open="true"] {
  display: block;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.nav-list a {
  display: block;
  padding: 0.55rem 0.75rem;
  color: var(--nav-text);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
}

.nav-list a:hover {
  background: var(--nav-bg-accent);
  color: var(--nav-text-hover);
}

.nav-list a[aria-current="true"] {
  background: var(--nav-bg-accent);
  color: var(--nav-text-hover);
  border-left-color: var(--accent);
}

@media (min-width: 62rem) {
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-w);
    display: flex;
    flex-direction: column;
    padding: 2.5rem 0;
    border-bottom: none;
    border-right: 1px solid var(--nav-border);
    overflow-y: auto;
  }

  .sidebar__bar {
    flex-direction: column;
    padding: 0 1.5rem;
  }

  .sidebar__identity {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    font-size: 1.05rem;
  }

  .sidebar__avatar {
    width: 8.5rem;
    height: 8.5rem;
    border-width: 4px;
  }

  .nav-toggle {
    display: none;
  }

  .sidebar__nav {
    display: block;
    margin-top: 2rem;
    padding: 0 1rem;
  }

  body {
    padding-left: var(--sidebar-w);
  }
}

/* --------------------------------------------------------------------------
   4. Section shell
   -------------------------------------------------------------------------- */

.section {
  padding: 4rem 1.25rem;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 4.5rem;   /* clears the sticky mobile bar on anchor jump */
}

.section:last-of-type {
  border-bottom: none;
}

.section__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.section__title {
  margin-bottom: 2.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

@media (min-width: 48rem) {
  .section {
    padding: 5.5rem 3rem;
  }
}

@media (min-width: 62rem) {
  .section {
    padding: 6rem 4rem;
    /* Only safe to drop the offset here — this is where the sticky top bar
       becomes a fixed side rail and stops covering anchor targets. */
    scroll-margin-top: 0;
  }
}

/* --------------------------------------------------------------------------
   5. Hero / about
   -------------------------------------------------------------------------- */

.hero {
  display: flex;
  align-items: center;
  min-height: min(100vh, 46rem);
}

.hero__name .accent {
  color: var(--accent);
}

.hero__role {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 500;
  color: var(--text);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  margin: 1.25rem 0 1.75rem;
  font-size: 0.95rem;
  color: var(--text-subtle);
}

.hero__meta a {
  color: inherit;
}

.hero__meta a:hover {
  color: var(--accent);
}

.hero__bio {
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

/* Social / contact buttons */
.social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}

.social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.social svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   6. Experience & education entries
   -------------------------------------------------------------------------- */

.entry {
  display: grid;
  gap: 0.35rem 2rem;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.entry:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.entry__org {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.entry__date {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-subtle);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.entry__detail {
  font-size: 0.95rem;
  color: var(--text-subtle);
}

@media (min-width: 48rem) {
  .entry {
    grid-template-columns: 1fr 11rem;
  }

  .entry__body {
    grid-column: 1;
  }

  .entry__date {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
}

/* Bulleted achievement lists inside an entry */
.bullets {
  list-style: none;
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.bullets li {
  position: relative;
  padding-left: 1.15rem;
  max-width: 70ch;
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* Nested courses under the teaching entry */
.subentry {
  margin-top: 1.25rem;
}

/* Labels the sub-entries that follow as partner work, not lab-only work. */
.collab {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.collab a {
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
}

.collab + .subentry {
  margin-top: 0.75rem;
}

.subentry__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.subentry__title span {
  color: var(--text-subtle);
  font-weight: 400;
}

/* Responsibilities paragraph that follows the nested course list */
.subentry + .entry__detail {
  margin-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   7. Tag pills
   -------------------------------------------------------------------------- */

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.875rem;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   8. Projects
   -------------------------------------------------------------------------- */

.projects {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 56rem) {
  .projects {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-raised);
  transform: translateY(-3px);
}

.card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin-bottom: 0.75rem;
}

.card__date {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.card__summary {
  font-size: 0.9375rem;
  margin-bottom: 0;
  max-width: none;
}

.card__award,
.hero__award {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin-top: 0.875rem;
  padding: 0.25rem 0.6rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
}

.card__award svg,
.hero__award svg {
  width: 0.9rem;
  height: 0.9rem;
}

/* Same pill, surfaced in the hero so the award is visible above the fold. */
.hero__award {
  margin: 0 0 2rem;
  text-decoration: none;
}

.hero__award:hover {
  background: var(--accent);
  color: var(--bg);
}

.card .tags {
  margin-top: auto;
  padding-top: 0.875rem;
}

.card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.card__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.card__links a:hover {
  text-decoration: underline;
}

.card__links svg {
  width: 0.9rem;
  height: 0.9rem;
}

/* "More projects" disclosure */
.archive {
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.archive__toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.archive__toggle::-webkit-details-marker {
  display: none;
}

.archive__toggle::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}

.archive[open] .archive__toggle::after {
  transform: rotate(-135deg) translateY(-2px);
}

.archive__count {
  color: var(--text-subtle);
  font-weight: 400;
}

.archive__list {
  list-style: none;
  padding: 0 1.25rem 0.5rem;
}

.archive__item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.archive__item h4 {
  display: inline;
  margin-right: 0.5rem;
}

.archive__item .card__date {
  display: inline;
}

.archive__item p {
  font-size: 0.9375rem;
  margin: 0.4rem 0 0;
}

.archive__item .tags {
  margin-top: 0.625rem;
}

/* --------------------------------------------------------------------------
   9. Publications
   -------------------------------------------------------------------------- */

.publications {
  list-style: none;
  counter-reset: pub;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.publication {
  position: relative;
  padding-left: 2.5rem;
}

.publication::before {
  counter-increment: pub;
  content: "[" counter(pub) "]";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-subtle);
  line-height: 1.9;
}

.publication__title {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.publication__authors,
.publication__venue {
  font-size: 0.9375rem;
  margin: 0;
}

.publication__venue {
  font-style: italic;
  color: var(--text-subtle);
}

.publication__status {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.5rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  font-style: normal;
  vertical-align: 2px;
}

.publication__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.publication__links a {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-decoration: none;
}

.publication__links a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   9b. Professional service
   -------------------------------------------------------------------------- */

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.service-item {
  display: grid;
  gap: 0.15rem 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.service-item:last-child {
  border-bottom: 1px solid var(--border);
}

.service-item__role {
  font-weight: 600;
  color: var(--text);
}

.service-item__venue {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.service-item__year {
  font-size: 0.875rem;
  color: var(--text-subtle);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 48rem) {
  .service-item {
    grid-template-columns: 1fr 5rem;
  }

  .service-item__role,
  .service-item__venue {
    grid-column: 1;
  }

  .service-item__year {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
}

/* --------------------------------------------------------------------------
   10. Skills
   -------------------------------------------------------------------------- */

.skill-groups {
  display: grid;
  gap: 2rem;
}

@media (min-width: 48rem) {
  .skill-groups {
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  }
}

.skill-group__title {
  margin-bottom: 0.875rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
}

.skill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color 0.15s;
}

.skill:hover {
  border-color: var(--accent);
}

/* Devicon glyph. Sized but not required — the pill reads correctly as text on
   its own, so a missing icon costs nothing but a sliver of space.
   (Note: do NOT use `i:empty` to hide failed icons — devicon elements are
   always empty and draw via ::before, so that rule would hide all of them.) */
.skill i {
  font-size: 1.15rem;
  line-height: 1;
  color: var(--text-subtle);
}

/* --------------------------------------------------------------------------
   11. Awards & certifications
   -------------------------------------------------------------------------- */

.award-group + .award-group {
  margin-top: 2.5rem;
}

.award-group__title {
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
}

.award-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.award-list li {
  position: relative;
  padding-left: 1.85rem;
  max-width: 72ch;
}

.award-list svg {
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--award);
}

.award-list .cert-icon {
  color: var(--text-subtle);
}

.award-date {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

/* Inline external-link arrow */
.ext {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.ext:hover {
  text-decoration: underline;
}

.ext svg {
  position: static;
  width: 0.8rem;
  height: 0.8rem;
  color: currentColor;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */

.footer {
  padding: 2.5rem 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-subtle);
}

@media (min-width: 48rem) {
  .footer {
    padding: 2.5rem 3rem;
  }
}

/* --------------------------------------------------------------------------
   13. Motion & print
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .card:hover,
  .social a:hover {
    transform: none;
  }
}

/* A resume site should print cleanly. */
@media print {
  .sidebar,
  .skip-link,
  .social,
  .footer {
    display: none !important;
  }

  body {
    padding-left: 0;
    color: #000;
    background: #fff;
    font-size: 10.5pt;
    line-height: 1.45;
  }

  .section {
    padding: 0 0 1.25rem;
    border-bottom: none;
    break-inside: avoid;
  }

  .section__title {
    border-bottom-color: #000;
  }

  .card,
  .archive {
    box-shadow: none;
    border-color: #999;
    break-inside: avoid;
  }

  .archive[open] .archive__toggle::after {
    display: none;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}
