/* Klädstången: the public site. Colors and fonts come from the theme variables set in the page head. */

:root {
  --gutter: clamp(16px, 3.4vw, 48px);
  --rail-y: 14px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --hairline: color-mix(in srgb, currentColor 22%, transparent);
  /* Size steps; a section overrides these inline from its admin settings. */
  --s-heading: 1;
  --s-body: 1;
  --s-label: 1;
  --s-img: 1;
  --s-space: 1;
  --lh: 1.65;
  --ls: 0.14em;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--dark) var(--light);
}

body {
  margin: 0;
  background: var(--light);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  caret-color: var(--dark);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--dark);
  color: var(--light);
}

.tone-dark ::selection,
.band ::selection {
  background: var(--light);
  color: var(--dark);
}

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

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--light);
  color: var(--dark);
}

.skip:focus {
  top: 1rem;
}

.tone-dark {
  background: var(--dark);
  color: var(--light);
}

.tone-light {
  background: var(--light);
  color: var(--dark);
}

/* Display type: the portfolio's large capitals. */

.display {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: 0.01em;
  font-size: calc(clamp(3.25rem, 10vw, 9rem) * var(--s-heading));
  margin: 0 0 0.35em;
  text-wrap: balance;
}

.display.small {
  font-size: calc(clamp(2rem, 4.5vw, 3.25rem) * var(--s-heading));
}

/* The band: dark field carrying navigation and the name. */

.band {
  background: var(--dark);
  color: var(--light);
  padding: 0 var(--gutter);
}

.band.compact {
  padding-bottom: 0.5rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.25rem;
  font-size: calc(0.8125rem * var(--s-label));
  letter-spacing: var(--ls);
  text-transform: uppercase;
}

.wordmark {
  text-decoration: none;
  padding-block: 0.6rem;
}

.menu-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  margin-right: -0.9rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s var(--ease-out);
}

/* Invisible margin around the button that also counts as a click, so it is easy to hit. */
.menu-btn::after,
.menu-close::after {
  content: "";
  position: absolute;
  inset: -10px;
}

.menu-btn:hover,
.menu-btn:focus-visible {
  background: color-mix(in srgb, currentColor 14%, transparent);
}

.menu-btn svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

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

/* Menu panel: slides in from the right. Works without JavaScript through :target. */

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--dark) 55%, transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.menu-backdrop.open {
  opacity: 1;
}

.menu-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 21;
  width: min(440px, 88vw);
  display: flex;
  flex-direction: column;
  padding: 1.25rem clamp(1.5rem, 3vw, 2.5rem) 2rem;
  background: var(--light);
  color: var(--dark);
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
}

.menu-panel:target,
.menu-panel.open {
  transform: none;
  visibility: visible;
  transition: transform 0.45s var(--ease-out), visibility 0s;
}

.menu-panel:focus {
  outline: none;
}

.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-close {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}

.menu-close svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.menu-panel ul {
  list-style: none;
  margin: clamp(2rem, 6vh, 4rem) 0 2rem;
  padding: 0;
}

.menu-panel li a {
  display: block;
  padding: 0.3rem 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
}

.menu-panel li a:hover,
.menu-panel li a:focus-visible,
.menu-panel li a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.menu-contact {
  margin-top: auto;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9375rem;
}

body.menu-open {
  overflow: hidden;
}

.name {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
  padding-bottom: 0.4rem;
  line-height: 0.8;
}

.name .first,
.name .last {
  display: block;
  white-space: nowrap;
  width: max-content;
}

/* Size follows the section's heading step; site.js only shrinks a line that would overflow the band. */
.name .first {
  font-size: calc(min(26vw, 27vh) * var(--s-heading));
}

.name .last {
  font-size: calc(min(11.7vw, 12vh) * var(--s-heading));
  letter-spacing: 0.08em;
  margin-top: 0.12em;
}

/* Portrait beside the name, as on the portfolio's first page. */

.band.has-portrait {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "top top"
    "name portrait";
  column-gap: clamp(1.5rem, 4vw, 4rem);
  padding-bottom: calc(clamp(1.5rem, 3vw, 2.5rem) * var(--s-space));
}

.has-portrait .topbar {
  grid-area: top;
}

.has-portrait .name {
  grid-area: name;
  align-self: end;
  min-width: 0;
}

.has-portrait .name .first {
  font-size: calc(min(19vw, 27vh) * var(--s-heading));
}

.has-portrait .name .last {
  font-size: calc(min(8.5vw, 12vh) * var(--s-heading));
}

.band-portrait {
  grid-area: portrait;
  height: calc(clamp(260px, 50vh, 560px) * var(--s-img));
  width: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1);
}

/* The rail. */

.rail-wrap {
  position: relative;
  color: var(--light);
  background: linear-gradient(var(--dark) 0 var(--overlap, 150px), var(--light) var(--overlap, 150px));
}

.rail-wrap::before {
  content: "";
  position: absolute;
  inset: var(--rail-y) 0 auto;
  height: 2px;
  background: currentColor;
  z-index: 1;
  pointer-events: none;
}

.rail {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  outline-offset: -4px;
}

.rail::-webkit-scrollbar {
  display: none;
}

.rail.dragging {
  cursor: grabbing;
}

.rail.dragging a {
  pointer-events: none;
}

.rail-track {
  display: flex;
  align-items: flex-start;
  gap: calc(clamp(18px, 2.2vw, 32px) * var(--s-space));
  width: max-content;
  list-style: none;
  margin: 0;
  padding: var(--rail-y) var(--gutter) 1rem;
}

/* Widths follow the shorter screen side so the first viewport keeps the intro in view. */
.hanger {
  --w: calc(clamp(140px, min(15vw, 20vh), 240px) * var(--s-img));
  --r: 1.3;
}

.hanger.size-b { --w: calc(clamp(130px, min(13vw, 17vh), 210px) * var(--s-img)); --r: 1.25; }
.hanger.size-c { --w: calc(clamp(150px, min(16.5vw, 22vh), 260px) * var(--s-img)); --r: 1.32; }
.hanger.size-d { --w: calc(clamp(124px, min(12vw, 16vh), 195px) * var(--s-img)); --r: 1.26; }
.hanger.size-e { --w: calc(clamp(136px, min(14vw, 19vh), 225px) * var(--s-img)); --r: 1.34; }

.swing {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transform-origin: 50% 0;
  will-change: transform;
}

.hook {
  width: 64px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  overflow: visible;
  flex: none;
}

.swing img {
  width: var(--w);
  height: calc(var(--w) * var(--r));
  object-fit: cover;
  margin-top: -2px;
  background: color-mix(in srgb, var(--light) 14%, var(--dark));
  user-select: none;
  -webkit-user-drag: none;
  transition: filter 0.4s var(--ease-out);
}

.swing:hover img {
  filter: brightness(1.06);
}

.tag {
  margin-top: 0.85rem;
  max-width: var(--w);
  color: var(--dark);
  font-size: calc(0.75rem * var(--s-label));
  line-height: 1.4;
  letter-spacing: var(--ls);
  text-transform: uppercase;
  text-align: center;
  text-wrap: balance;
}

.swing:hover .tag,
.swing:focus-visible .tag {
  text-decoration: underline;
}

.divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
}

.divider::before {
  content: "";
  width: 2px;
  height: 26px;
  background: currentColor;
}

.divider a {
  display: grid;
  place-items: center;
  width: calc(88px * var(--s-label));
  height: calc(88px * var(--s-label));
  border-radius: 50%;
  background: var(--light);
  color: var(--dark);
  font-size: calc(0.6875rem * var(--s-label));
  letter-spacing: var(--ls);
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out);
}

.divider a:hover,
.divider a:focus-visible {
  background: var(--dark);
  color: var(--light);
  outline: 2px solid var(--light);
  outline-offset: 0;
}

.rail-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding: 0 var(--gutter) calc(clamp(2.5rem, 6vw, 4.5rem) * var(--s-space));
  color: var(--dark);
}

.rail-foot:empty {
  display: none;
}

.intro {
  max-width: 46ch;
  margin: 0;
  font-size: calc(1.0625rem * var(--s-body));
  line-height: var(--lh);
}

.rail-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}

.hint {
  font-size: calc(0.75rem * var(--s-label));
  letter-spacing: var(--ls);
  text-transform: uppercase;
  margin-right: 0.5rem;
}

.rail-btn {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--dark);
  background: transparent;
  color: var(--dark);
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), opacity 0.25s;
}

.rail-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rail-btn:hover {
  background: var(--dark);
  color: var(--light);
}

.rail-btn:disabled {
  opacity: 0.3;
  cursor: default;
  background: transparent;
  color: var(--dark);
}

.hero-plain .band {
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

/* Sections */

section {
  padding: calc(clamp(4rem, 9vw, 8rem) * var(--s-space)) var(--gutter);
}

section.hero {
  padding: 0;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 30rem) minmax(0, 1fr);
  gap: calc(clamp(2rem, 4vw, 4rem) * var(--s-space));
  align-items: start;
  padding-right: 0;
}

.about-text p,
.feature-text p,
.text-section .prose p {
  font-size: calc(1.0625rem * var(--s-body));
  line-height: var(--lh);
}

.about-text p {
  margin: 0 0 1em;
  max-width: 62ch;
}

.about-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.portrait {
  height: calc(clamp(320px, 38vw, 540px) * var(--s-img));
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1);
  flex: none;
}

.feature .display {
  text-align: center;
}

.feature-text {
  max-width: 64ch;
  margin: 0 auto;
}

.feature-text p {
  margin: 0 0 1em;
}

.framed-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(260px * var(--s-img))), 1fr));
  gap: calc(18px * var(--s-space));
  margin: calc(clamp(2rem, 4vw, 3rem) * var(--s-space)) calc(var(--gutter) * -1 + 8px) 0;
}

.framed {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 3px solid currentColor;
}

.collage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(220px * var(--s-img))), 1fr));
  grid-auto-flow: dense;
  gap: calc(clamp(12px, 2.4vw, 40px) * var(--s-space));
}

.collage img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.collage img:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.collage.count-1 img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.text-section .display {
  max-width: 14ch;
}

.prose {
  max-width: 68ch;
}

.prose p {
  margin: 0 0 1em;
}

/* Contact: the band carries the heading and the strip straddles into the light ground. */

.contact {
  padding: 0;
}

.contact-band {
  background: var(--dark);
  color: var(--light);
  text-align: center;
  padding: calc(clamp(4rem, 8vw, 6.5rem) * var(--s-space)) var(--gutter) calc(clamp(9rem, 20vw, 17rem) * var(--s-img));
}

.contact.no-images .contact-band {
  padding-bottom: calc(clamp(4rem, 8vw, 6.5rem) * var(--s-space));
}

.contact-band .display {
  margin: 0;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, calc(200px * var(--s-img))), 1fr));
  gap: 6px;
  max-width: calc(1200px * var(--s-img));
  margin: calc(clamp(-15rem, -17vw, -7rem) * var(--s-img)) auto 0;
  padding: 0 var(--gutter);
}

.contact-strip img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.contact-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 3.5rem;
  list-style: none;
  margin: 0;
  padding: calc(clamp(2.5rem, 5vw, 3.5rem) * var(--s-space)) var(--gutter) calc(clamp(4rem, 8vw, 6rem) * var(--s-space));
  font-size: calc(clamp(1.125rem, 2vw, 1.375rem) * var(--s-body));
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-list svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.contact-list a[href^="tel"] {
  text-decoration: none;
}

/* Post page */

.post-meta {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.post-title {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.75rem, 7.5vw, 7rem);
  line-height: 0.92;
  max-width: 16ch;
  margin: clamp(1.5rem, 5vw, 4rem) 0 1.25rem;
  text-wrap: balance;
}

.single-hanger {
  position: relative;
  display: flex;
  justify-content: center;
  color: var(--light);
  padding-top: var(--rail-y);
  background: linear-gradient(var(--dark) 0 38%, var(--light) 38%);
}

.single-hanger::before {
  content: "";
  position: absolute;
  inset: var(--rail-y) 0 auto;
  height: 2px;
  background: currentColor;
}

.single-hanger .hook {
  width: clamp(64px, 12vw, 140px);
  height: auto;
  stroke-width: 1.5;
}

.single-hanger img {
  width: min(680px, 100vw - 2 * var(--gutter));
  max-height: 82vh;
  object-fit: cover;
  margin-top: -2px;
}

.post-body {
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 3rem;
  box-sizing: content-box;
}

.post-body h2,
.post-body h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 2.2em 0 0.6em;
}

.post-body h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
}

.post-body h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
}

.post-body img {
  width: 100%;
  height: auto;
  margin: 2rem 0;
}

.post-body ul,
.post-body ol {
  padding-left: 1.25em;
  margin: 0 0 1em;
}

.post-body li {
  margin-bottom: 0.35em;
}

.post-body blockquote {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 1px solid currentColor;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.3;
}

.post-body .ql-align-center { text-align: center; }
.post-body .ql-align-right { text-align: right; }
.post-body .ql-align-justify { text-align: justify; }

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: calc(68ch + 2 * var(--gutter));
  margin: 0 auto;
  padding: 2rem var(--gutter) 4rem;
  border-top: 1px solid var(--hairline);
}

.post-nav a {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.15;
  text-decoration: none;
}

.post-nav a:hover {
  text-decoration: underline;
}

.post-nav small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.post-nav .older {
  text-align: right;
}

.more {
  padding: 2rem 0 0;
}

.more .display {
  padding: 0 var(--gutter);
}

.more .rail-wrap {
  background: none;
  color: var(--dark);
}

/* Category listing */

.listing {
  padding: clamp(2rem, 5vw, 4rem) var(--gutter) clamp(4rem, 8vw, 6rem);
}

.post-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 68rem;
  border-top: 1px solid var(--hairline);
}

.post-list li {
  border-bottom: 1px solid var(--hairline);
}

.post-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 2rem;
  padding: 1.6rem 0;
  text-decoration: none;
}

.post-list-title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.05;
}

.post-list a:hover .post-list-title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.post-list time {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  align-self: center;
}

.post-list-excerpt {
  grid-column: 1 / -1;
  max-width: 68ch;
}

.empty {
  text-align: center;
  padding: 3rem 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem var(--gutter);
  border-top: 1px solid var(--hairline);
  font-size: 0.875rem;
}

/* Small screens */

@media (max-width: 720px) {
  .band.has-portrait {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "top"
      "name"
      "portrait";
  }

  .has-portrait .name .first {
    font-size: calc(26vw * var(--s-heading));
  }

  .has-portrait .name .last {
    font-size: calc(11.7vw * var(--s-heading));
  }

  .band-portrait {
    height: auto;
    width: calc(min(72vw, 320px) * var(--s-img));
    max-width: 100%;
    margin-top: 1.5rem;
  }

  .hanger,
  .hanger.size-b,
  .hanger.size-c,
  .hanger.size-d,
  .hanger.size-e {
    --w: calc(62vw * var(--s-img));
  }

  .rail-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .rail-controls {
    justify-content: flex-end;
  }

  .about {
    grid-template-columns: 1fr;
    padding-right: var(--gutter);
  }

  .about-strip {
    margin-right: calc(var(--gutter) * -1);
  }

  .portrait {
    height: 380px;
  }

  .framed-row {
    margin-inline: 0;
  }

  .contact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collage img:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav .older {
    text-align: left;
  }

  .post-list a {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Editor tools on the live site: only rendered for the logged-in editor or in a preview. */

.editable,
.contact {
  position: relative;
}

/* Below the menu row when a part starts with the dark band. */
.editable > .edit-link {
  top: 4.5rem;
}

.edit-link {
  position: absolute;
  z-index: 6;
  top: 0.75rem;
  left: 50%;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border: 1.5px solid var(--dark);
  border-radius: 999px;
  background: var(--light);
  color: var(--dark);
  font: 600 0.875rem/1 var(--font-body);
  text-decoration: none;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--dark) 25%, transparent);
}

.edit-link:hover,
.edit-link:focus-visible {
  background: var(--dark);
  color: var(--light);
  border-color: var(--light);
}

.edit-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.admin-bar,
.preview-bar {
  position: fixed;
  z-index: 19;
  margin: 0;
  font: 500 0.875rem/1.4 var(--font-body);
}

.admin-bar {
  left: 1rem;
  bottom: 1rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: var(--dark);
  color: var(--light);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--dark) 30%, transparent);
}

.preview-bar {
  inset: auto 0 0;
  padding: 0.85rem var(--gutter);
  background: #f2d64b;
  color: #0d0d0c;
  text-align: center;
}
