@import url('https://fonts.googleapis.com/css2?family=Roboto+Serif:ital,opsz,wght@0,8..144,100..900;1,8..144,100..900&display=swap');
 
/* Dream Orphans — self hosted */
@font-face {
  font-family: 'Dream Orphans';
  src: url('/assets/DreamOrphans-Regular.woff2') format('woff2'),
       url('/assets/DreamOrphans-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
 
/* ============================================================
   JADE RABBIT — Root
============================================================ */
 
:root {
 
  /* ----------------------------------------------------------
     COLORS
  ---------------------------------------------------------- */
 
  --color-bg:           #F5F0E8;
  --color-bg-alt:       #EDE8DC;
  --color-bg-dark:      #1C1A17;
 
  --color-text:         #1C1A17;
  --color-text-head:   #4E4A59;
  --color-text-inverse: #F5F0E8;
 
  --color-sage:         #7A9E7E;
  --color-rose:         #C97B7B;
  --color-gold:         #C4A882;
  --color-clay:         #B5715A;
  --color-blush:        #E8C4B8;
 
  /* ----------------------------------------------------------
     TYPOGRAPHY
  ---------------------------------------------------------- */
 
  --font-display: 'Dream Orphans', Georgia, serif;
  --font-body:    'Roboto Serif', Georgia, serif;
 
  /* 1.25 major third scale */
  --fs-20:   clamp(1rem,      0.9rem  + 0.5vw,   1.25rem);    /*  16px → 20px */
  --fs-25:   clamp(1.25rem,   1.1rem  + 0.75vw,  1.5625rem);  /*  20px → 25px */
  --fs-31:   clamp(1.5rem,    1.3rem  + 1vw,     1.9375rem);  /*  24px → 31px */
  --fs-39:   clamp(1.75rem,   1.5rem  + 1.5vw,   2.4375rem);  /*  28px → 39px */
  --fs-49:   clamp(2rem,      1.7rem  + 2vw,     3.0625rem);  /*  32px → 49px */
  --fs-61:   clamp(2.5rem,    2rem    + 3vw,     3.8125rem);  /*  40px → 61px */
  --fs-149:  clamp(4rem,      2.5rem  + 8vw,     9.3125rem);  /*  64px → 149px */
  --fs-232:  clamp(5rem,      3rem    + 12vw,    14.5rem);    /*  80px → 232px */
 
  --lh-tight:   1.1;
  --lh-snug:    1.25;
  --lh-normal:  1.5;
  --lh-relaxed: 1.7;
 
  --ls-tight:  -0.03em;
  --ls-normal:  0;
  --ls-wide:    0.08em;
  --ls-wider:   0.15em;
 
  /* ----------------------------------------------------------
     SPACING 
  ---------------------------------------------------------- */
 
  --space-1:   0.5rem;    /*   8px */
  --space-2:   1rem;      /*  16px */
  --space-3:   1.5rem;    /*  24px */
  --space-4:   2rem;      /*  32px */
  --space-5:   2.5rem;    /*  40px */
  --space-6:   3rem;      /*  48px */
  --space-8:   4rem;      /*  64px */
  --space-10:  5rem;      /*  80px */
  --space-12:  6rem;      /*  96px */
  --space-16:  8rem;      /* 128px */
  --space-20:  10rem;     /* 160px */
  --space-24:  12rem;     /* 192px */
 
  --section-y: clamp(4rem, 8vw, 8rem);
  --section-x: clamp(1.5rem, 6vw, 6rem);

  --max-width:       clamp(320px, 95vw, 1440px);
  --max-width-wide:  clamp(320px, 100vw, 1740px);
 
}
 
/* ----------------------------------------------------------
   RESET
---------------------------------------------------------- */
 
*,
*::before,
*::after {
  box-sizing: border-box;
  margin:     0;
  padding:    0;
}
 
html {
  scroll-behavior:          smooth;
  scrollbar-width: none;
}
 
body {
  background-color:        var(--color-bg);
  color:                   var(--color-text);
  font-family:             var(--font-body);
  line-height:             var(--lh-normal);
}
 
img, video, svg { display: block; max-width: 100%; height: auto; }
a              { color: var(--color-text); text-decoration: none; }
ul, ol         { list-style: none; }
button         { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
 
header {
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: end;
    align-items: center;
}

.close-btn {
    margin-right: var(--space-4);
    font-size: var(--fs-31);
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
    color: var(--color-text);
}

#artist-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 255vh;
    width: 100%;
}

.page-container {
    max-width: var(--max-width);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.page-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.page-img {
    width: 200px;
    height: 210px;
    border-radius: 100%;
}

.page-img img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.page-intro h1 {
    font-size: var(--fs-31);
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: var(--ls-wider);
}

.styles {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.styles li {
    border-radius: 8px;
    padding: .5rem 2rem;
}

.artists-bio {
    width: 60%;
}

.page-links {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.page-links img {
    width: 35px;
    height: auto;
}

.btn-var2 {
    transition: all .6s ease;
    position: relative;
    transform-origin: center;
    display: flex;
    align-self: center;
    cursor: pointer;
    z-index: 8;
    color: var(--color-text);
}

.btn-var2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-bottom: 1px solid #000;
    transform-origin: center;
    transform: scaleX(0);
    transition: all .6s ease;
}

.btn-var2:hover::after {
    transform: scaleX(1);
}

.page-gallery {
    width: 100%;
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    align-items: center;
    gap: var(--space-4);
}

.page-gallery img {
    width: 100%;
    background-color: gray;
    object-fit: cover;
}

.text-up {
    overflow: hidden;
}

@media (max-width: 500px) {
    .page-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .artists-bio {
        width: 90%;
    }
}