@charset "UTF-8";
/*!
Theme Name: Rosie Leventon 2026
Text Domain: rl
Domain Path: /languages
Author: Max Kohler
Author URI: https://maxkohler.com/
Description: Custom Wordpress theme for Rosie Leventon. Required plugins: Advanced Custom Fields Pro. See README.md for developer information and changelog.
Version: 1.0.9
License: All rights reserved
*/
:root {
  --ratio: 1.3;
  --ms--1: 0.9rem;
  --ms-0: 1.15rem;
  --sans: "Work Sans", Helvetica, Arial, sans-serif;
  --fast: 100ms;
  --slow: 300ms;
  --black: #111a17;
  --gray: rgb(91, 105, 100);
  --gray-light: rgba(46, 65, 58, 0.1);
  --white: rgb(250, 249, 247);
  --measure: 30em;
  --baseline: calc(var(--ms-0) * 1.25);
  --debug-color: rgb(240, 70, 18);
  --padding: calc(var(--ms-0) * 1);
}
@media (min-width: 800px) {
  :root {
    --padding: calc(var(--ms-0) * 1.5);
  }
}
@media (min-resolution: 120dpi) {
  :root {
    font-size: 0.95rem;
  }
}

body {
  color: var(--black);
  font-size: var(--ms-0);
  font-weight: 400;
  letter-spacing: -0.02em;
  word-spacing: -0.004em;
  font-family: var(--sans);
  line-height: var(--baseline);
  hyphens: auto;
  text-rendering: optimizeLegibility;
  font-feature-settings: "onum" 1, "liga" 1;
}
body a {
  outline-offset: 2px;
  border-radius: var(--br);
  text-decoration: none;
}
.search__input, .site__nav .current-menu-item a, .nav__sub .active, body em {
  font-style: italic;
  letter-spacing: -0.0025em;
  word-spacing: 0;
}

.site__title {
  letter-spacing: -0.005em;
  font-weight: 600;
}

.works__info, .news__info, .home__caption, .site__footer {
  letter-spacing: 0em;
  line-height: 1.3;
  font-size: var(--ms--1);
}

.footer__menu .current-menu-item a {
  font-style: italic;
  letter-spacing: -0.01em;
}

.site__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  -moz-column-gap: calc(var(--padding) * 0.5);
       column-gap: calc(var(--padding) * 0.5);
  align-content: flex-start;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  box-sizing: border-box;
  font-family: inherit;
  font-weight: inherit;
  font-size: 100%;
  color: inherit;
}

html {
  -webkit-text-size-adjust: none;
     -moz-text-size-adjust: none;
          text-size-adjust: none;
  height: 100%;
}

html {
  height: 100%;
}

body {
  display: flex;
  flex-flow: column;
  min-height: 100%;
  position: relative;
  overflow-y: scroll;
  min-height: 100vh;
  background: var(--white);
}

a.skip-link {
  position: fixed;
  top: 0;
  left: var(--padding);
  color: white;
  background: var(--black);
  padding: 0.2em 0.4em;
  transition: var(--fast) transform;
  pointer-events: none;
  outline-offset: 1px;
  border-bottom-left-radius: var(--br);
  border-bottom-right-radius: var(--br);
  transform: translateY(-100%);
}
a.skip-link:focus-visible {
  transform: translateY(0);
  pointer-events: all;
  text-decoration: none;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button {
  -webkit-tap-highlight-color: transparent;
}

img {
  opacity: 0;
  transition: opacity var(--fast);
}
img.loaded {
  opacity: 1;
}

.single__container {
  margin-top: 10vh;
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1/13;
}

.single__copy {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1/13;
}
.single__copy p,
.single__copy ul,
.single__copy ol,
.single__copy h2,
.single__copy h3,
.single__copy h4,
.single__copy h5,
.single__copy h6 {
  grid-column: 1/13;
}
@media (min-width: 800px) {
  .single__copy p,
  .single__copy ul,
  .single__copy ol,
  .single__copy h2,
  .single__copy h3,
  .single__copy h4,
  .single__copy h5,
  .single__copy h6 {
    grid-column: 1/11;
  }
}
@media (min-width: 1400px) {
  .single__copy p,
  .single__copy ul,
  .single__copy ol,
  .single__copy h2,
  .single__copy h3,
  .single__copy h4,
  .single__copy h5,
  .single__copy h6 {
    grid-column: 1/6;
  }
}
@media (min-width: 2000px) {
  .single__copy p,
  .single__copy ul,
  .single__copy ol,
  .single__copy h2,
  .single__copy h3,
  .single__copy h4,
  .single__copy h5,
  .single__copy h6 {
    grid-column: 1/5;
  }
}
.single__copy .wp-block-quote {
  color: rgb(53, 114, 102);
  margin-top: var(--baseline);
  grid-column: 1/13;
  margin-left: 1em;
}
@media (min-width: 800px) {
  .single__copy .wp-block-quote {
    margin-left: 0;
    grid-column: 2/11;
  }
}
@media (min-width: 1400px) {
  .single__copy .wp-block-quote {
    margin-top: 0;
    grid-row: 1/4;
    grid-column: 6/12;
  }
}
@media (min-width: 2000px) {
  .single__copy .wp-block-quote {
    grid-column: 5/12;
  }
}
.single__copy .wp-block-quote cite:before {
  content: "– ";
}
.single__copy p + p {
  margin-top: 0.5em;
}
@media (min-width: 1400px) {
  .single__copy p + p {
    margin-top: 0;
    text-indent: 8ch;
  }
}

.about-section {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1/13;
}
@media (min-width: 800px) {
  .about-section {
    grid-column: 1/10;
  }
}
@media (min-width: 1400px) {
  .about-section {
    grid-column: 1/12;
  }
}
@media (min-width: 2000px) {
  .about-section {
    grid-column: 1/11;
  }
}
.about-section .wp-block-group {
  grid-column: 1/13;
}
@media (min-width: 800px) {
  .about-section .wp-block-group {
    grid-column: 1/10;
  }
}
@media (min-width: 1400px) {
  .about-section .wp-block-group {
    grid-column: 1/6;
  }
}
@media (min-width: 2000px) {
  .about-section .wp-block-group {
    grid-column: 1/5;
  }
}

.about-small {
  font-size: 0.85em;
  margin-top: calc(var(--baseline) * 3);
  line-height: calc(var(--baseline) * 0.9);
}
.about-small h2 {
  text-transform: uppercase;
}
.about-small h2:not(:first-child) {
  margin-top: 1em;
}
.about-small p + p {
  margin-top: 0.5em;
}
@media (min-width: 1400px) {
  .about-small p + p {
    margin-top: 0;
    text-indent: 2ch;
  }
}

.site__grid {
  min-height: 100svh;
  padding: var(--padding);
}

.site__header {
  display: grid;
  grid-column: 1/13;
  grid-template-columns: subgrid;
}
@media (min-width: 800px) {
  .archive-page .site__header {
    position: sticky;
    top: var(--padding);
  }
}

.site__content {
  display: contents;
}

.header__main {
  grid-column: 1/13;
}
@media (min-width: 800px) {
  .header__main {
    grid-column: 1/4;
  }
}

.site__footer {
  align-items: flex-end;
  padding: var(--padding);
  color: var(--gray);
  display: flex;
  gap: var(--padding);
  grid-column: 1/13;
  flex-grow: 1;
}

.footer__menu {
  grid-column: 1/7;
}
.footer__menu ul {
  display: flex;
  gap: 1ch;
}
.footer__menu .current-menu-item a {
  pointer-events: none;
}

.site__version {
  position: fixed;
  bottom: 1em;
  left: 1em;
  color: var(--debug-color);
  font-family: sans-serif;
  font-size: 1rem;
  display: none;
  line-height: 1.2;
}
.debug .site__version {
  display: block;
}

.burger {
  position: relative;
  height: 0.65em;
  width: 1em;
}
@media (min-width: 800px) {
  .burger {
    width: 1.1em;
  }
}
.burger div {
  background: black;
  transition: var(--fast);
  position: absolute;
  width: 100%;
  border-radius: 2000px;
  transform-origin: center;
  height: 2px;
}

.burger__patty {
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}
.active .burger__patty {
  opacity: 0;
}

.burger__top-bun {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.active .burger__top-bun {
  top: 50%;
  transform: translateX(-50%) translateY(-50%) rotate(40deg);
}

.burger__bottom-bun {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.active .burger__bottom-bun {
  bottom: 50%;
  transform: translateX(-50%) translateY(50%) rotate(-40deg);
}

.nav__wrapper {
  width: 100%;
  grid-column: 4/13;
  transition: opacity var(--slow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(1px);
  padding: var(--padding);
  opacity: 0;
  text-align: center;
  pointer-events: none;
  display: flex;
  flex-flow: column;
  justify-content: center;
  z-index: 1000;
}
.nav__wrapper.active {
  opacity: 1;
  pointer-events: all;
}
@media (min-width: 800px) {
  .nav__wrapper {
    justify-content: flex-start;
    background: transparent;
    transition: opacity 500ms;
    position: static;
    opacity: 1;
    text-align: left;
    pointer-events: all;
    padding: 0;
  }
  .archive-page.scrolled .nav__wrapper {
    opacity: 0.1 !important;
  }
}

.nav__sub a,
.nav__sub button, .site__nav a {
  color: var(--gray);
  transition: var(--fast);
}
.nav__sub a:hover,
.nav__sub button:hover, .site__nav a:hover, .nav__sub a:focus-visible,
.nav__sub button:focus-visible, .site__nav a:focus-visible {
  color: var(--black);
}

.nav__sub .active, .site__nav .current-menu-item a {
  color: var(--black);
}

.site__nav ul {
  display: flex;
  gap: 0.5em;
  flex-flow: column;
}
@media (min-width: 800px) {
  .site__nav ul {
    gap: 1.5ch;
    flex-flow: row;
  }
}

.nav__toggle {
  position: fixed;
  z-index: 2000;
  top: calc(var(--padding) * 0.68);
  right: var(--padding);
  width: 2.4rem;
  height: 2.4rem;
  cursor: pointer;
  background: transparent;
  border: 0;
}
@media (min-width: 800px) {
  .nav__toggle {
    display: none;
  }
}
.nav__toggle .label {
  font-size: 0;
  position: absolute;
  pointer-events: none;
}

.nav__sub {
  grid-column: 2/13;
  margin-top: 3em;
}
@media (min-width: 800px) {
  .nav__sub {
    margin-top: 0.25em;
    grid-column: 4/11;
  }
}
.home .site__grid {
  align-content: stretch;
}

.home__featured {
  grid-column: 1/13;
  flex-grow: 1;
  display: flex;
  flex-flow: row;
  align-items: flex-end;
  padding-top: var(--padding);
  justify-content: space-evenly;
}
@media (min-width: 800px) {
  .home__featured {
    justify-content: flex-start;
    gap: 1em;
  }
}

.home__image {
  display: inline-block;
  background: var(--gray-light);
}
.home__image img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 80vh;
}

.home__caption {
  display: none;
  color: var(--gray);
  line-height: 1;
}
.home__caption em {
  display: block;
  font-style: normal;
}

.news__list {
  grid-column: 1/13;
  display: grid;
  row-gap: calc(var(--padding) * 2);
  grid-template-columns: subgrid;
}

.news__item {
  grid-column: span 12;
}
@media (min-width: 800px) {
  .news__item {
    grid-column: span 5;
  }
}

.news__link {
  display: block;
  transition: var(--fast);
}
.news__link:hover, .news__link:focus-visible {
  opacity: 0.98;
}

.no-results {
  grid-column: span 12;
}

.news__image {
  max-width: 100%;
  display: block;
  height: auto;
  background: var(--gray-light);
}

.news__info {
  padding-top: 0.75em;
  max-width: 40em;
}
.news__info p {
  color: var(--gray);
}

.works__item {
  display: flex;
  flex-flow: column;
  margin-bottom: calc(var(--padding) * 5);
  grid-column: span 12;
  position: relative;
  z-index: 100;
  grid-column: 1/13;
}
@media (min-width: 500px) {
  .works__item {
    grid-column: 2/12;
  }
}
@media (min-width: 800px) {
  .works__item {
    grid-column: 3/11;
  }
}

.works__image {
  display: flex;
  flex-flow: column;
  align-items: center;
}
.works__image img {
  max-height: 75vh;
  width: 100%;
  display: block;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: bottom;
     object-position: bottom;
}

.slider__slides {
  position: relative;
}

.slider__slide {
  position: absolute;
  bottom: 0;
  height: 100%;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity var(--slow);
}
.slider__slide.active {
  opacity: 1;
}
.slider__slide:last-child {
  position: static;
  transform: translateX(0);
}
.slider__slide button {
  touch-action: manipulation;
  background: transparent;
  padding: 0;
  border: 0;
  height: 100%;
  cursor: pointer;
  display: block;
}

.slider__controls {
  display: flex;
  flex-basis: 100%;
  justify-content: center;
}

.slider__control {
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  border: 0;
  color: inherit;
  padding: 0 0.2em;
  color: var(--gray);
}
.slider__control:first-child {
  padding-left: 0;
}
.slider__control:last-child {
  padding-right: 0;
}
.slider__control.active {
  color: var(--black);
}

.works__info {
  padding-top: 1em;
  color: var(--gray-dark);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  line-height: 1.3;
  text-wrap: balance;
  width: 100%;
  -moz-column-gap: 1ch;
       column-gap: 1ch;
  row-gap: 0.25em;
  max-width: 70ch;
  margin: 0 auto;
}

.works__title {
  margin-right: 1ch;
  flex-basis: 100%;
}

.works__format,
.works__material {
  color: var(--gray);
}

.sale {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--gray);
}

.filters {
  display: flex;
  gap: 1em;
  align-items: baseline;
  justify-content: center;
}
@media (min-width: 800px) {
  .filters {
    justify-content: flex-start;
  }
}
.filters button {
  background: transparent;
  border: 0;
  display: block;
  padding: 0;
  cursor: pointer;
}

.filters__search {
  position: relative;
  display: flex;
}

.search__input {
  background: transparent;
  border: 0;
  padding: 0em 0.4em;
  height: 1.4em;
  width: 10em;
  margin-right: -1.2em;
  position: relative;
  top: -0.1em;
  background: rgb(237, 240, 235);
}
.search__input:focus-visible {
  outline: 0;
  background: rgb(237, 240, 235);
}

.search-active .search__toggle {
  opacity: 0;
}

.search__form {
  display: flex;
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.search-active .search__form {
  opacity: 1;
  z-index: 1000;
}

.search__cancel {
  font-size: 0;
  width: 2rem;
  height: 2rem;
  display: block;
  z-index: 100;
  border: 1px solid green;
  position: relative;
  bottom: 0.25rem;
}
.search__cancel:after {
  content: "×";
  position: absolute;
  top: 0.2rem;
  left: 0;
  right: 1rem;
  bottom: 0;
  font-size: 1.4rem;
  line-height: 1;
}

.filterable__posts {
  transition: var(--fast);
}
.filterable__posts.loading {
  opacity: 0.75;
}

.filters_terms {
  display: flex;
  gap: 1em;
  flex-flow: column;
  align-items: center;
}
@media (min-width: 800px) {
  .filters_terms {
    flex-flow: row;
  }
}

.debug__container {
  position: fixed;
  top: 2rem;
  right: 0;
  background: rgb(247, 230, 230);
  word-spacing: -0.2em;
  color: rgb(172, 0, 0);
  font-family: monospace;
  z-index: 1000;
  font-size: 12px;
  line-height: 1;
  padding: 1em;
  display: none;
}
.debug .debug__container {
  display: block;
}
