.about {
  height: 100%;
  width: 100%;
  padding: var(--padding--default-section);
  padding-top: var(--padding--top-lowered);
  background-color: var(--color--logo);

  > h1 {
    font-size: 2.4rem;
    font-weight: 700;
    font-family: var(--font-family--sans-serif);
    line-height: 1;
    color: var(--color--white);
  }

  > p {
    font-size: 1.2rem;
    line-height: 1.6;
    font-family: var(--font-family--sans-serif);
    font-weight: 400;
    color: var(--color--white);
    max-width: 700px;
  }

  a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  }
}
/* Classes shared by everyone -- should be boostrappy */
.hidden {
  display: none !important;
}
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on November 11, 2011 */

@font-face {
  font-family: 'KnewaveRegular';
  src: url(/fonts/knewave-webfont.eot);
  src: url(/fonts/knewave-webfont.eot?#iefix) format('embedded-opentype'),
       url(/fonts/knewave-webfont.woff) format('woff'),
       url(/fonts/knewave-webfont.ttf) format('truetype'),
       url(/fonts/knewave-webfont.svg#KnewaveRegular) format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'KnewaveOutlineRegular';
  src: url(/fonts/knewave-outline-webfont.eot);
  src: url(/fonts/knewave-outline-webfont.eot?#iefix) format('embedded-opentype'),
       url(/fonts/knewave-outline-webfont.woff) format('woff'),
       url(/fonts/knewave-outline-webfont.ttf) format('truetype'),
       url(/fonts/knewave-outline-webfont.svg#KnewaveOutlineRegular) format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'LindenHill';
  src: url(/fonts/LindenHill-webfont.eot);
  src: url(/fonts/LindenHill-webfont.eot?#iefix) format('embedded-opentype'),
       url(/fonts/LindenHill-webfont.woff) format('woff'),
       url(/fonts/LindenHill-webfont.ttf) format('truetype'),
       url(/fonts/LindenHill-webfont.svg#LindenHill) format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'LindenHillItalic';
  src: url(/fonts/LindenHill-Italic-webfont.eot);
  src: url(/fonts/LindenHill-Italic-webfont.eot?#iefix) format('embedded-opentype'),
       url(/fonts/LindenHill-Italic-webfont.woff) format('woff'),
       url(/fonts/LindenHill-Italic-webfont.ttf) format('truetype'),
       url(/fonts/LindenHill-Italic-webfont.svg#LindenHillItalic) format('svg');
  font-weight: normal;
  font-style: italic;
}


@font-face {
  font-family: 'Junction';
  src: url(/fonts/junction-bold.eot);
  src: url(/fonts/junction-bold.eot?#iefix) format('embedded-opentype'),
       url(/fonts/junction-bold.woff) format('woff'),
       url(/fonts/junction-bold.ttf) format('truetype'),
       url(/fonts/junction-bold.svg#junctionbold) format('svg');
  font-weight: bold;
  font-style: normal;

}

@font-face {
  font-family: 'Junction';
  src: url(/fonts/junction-light.eot);
  src: url(/fonts/junction-light.eot?#iefix) format('embedded-opentype'),
       url(/fonts/junction-light.woff) format('woff'),
       url(/fonts/junction-light.ttf) format('truetype'),
       url(/fonts/junction-light.svg#junctionlight) format('svg');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'Junction';
  src: url(/fonts/junction-regular.eot);
  src: url(/fonts/junction-regular.eot?#iefix) format('embedded-opentype'),
       url(/fonts/junction-regular.woff) format('woff'),
       url(/fonts/junction-regular.ttf) format('truetype'),
       url(/fonts/junction-regular.svg#junctionregular) format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'League Spartan Variable';
  src: url(/fonts/LeagueSpartan-VF.woff2) format('woff2-variations');
  font-weight: 200 900;
}

@font-face {
  font-family: 'LibreFranklin';
  src: url(/fonts/LibreFranklin-VariableFont_wght.ttf) format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'LibreFranklin';
  src: url(/fonts/LibreFranklin-Italic-VariableFont_wght.ttf) format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrainsMono';
  src: url(/fonts/JetBrainsMono-VariableFont_wght.ttf) format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrainsMono';
  src: url(/fonts/JetBrainsMono-Italic-VariableFont_wght.ttf) format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'MonsieurLaDoulaise';
  src: url(/fonts/MonsieurLaDoulaise-Regular.ttf) format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'LavishlyYours';
  src: url(/fonts/LavishlyYours-Regular.ttf) format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SmoochSans';
  src: url(/fonts/SmoochSans-VariableFont_wght.ttf) format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
.logo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  width: 100%;
  aspect-ratio: 1;
  gap: 1px;
  rotate: -45deg;

  > * {
    background-color: var(--color--logo);
  }
}

.phone {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.phone__shell {
  position: relative;
  width: 375px;
  min-width: 375px;
  height: 812px;
  min-height: 812px;
  background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
  border-radius: 50px;
  padding: 8px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone__screen {
  width: 100%;
  height: 100%;
  background: var(--color--white);
  border-radius: 42px;
  overflow: hidden;
  position: relative;
}

.phone__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: #000000;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.phone__content {
  height: 100%;
  overflow-y: auto;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phone-landscape {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.phone-landscape__shell {
  position: relative;
  height: 375px;
  min-height: 375px;
  width: 812px;
  min-width: 812px;
  background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
  border-radius: 50px;
  padding: 8px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-landscape__screen {
  width: 100%;
  height: 100%;
  background: var(--color--white);
  border-radius: 42px;
  overflow: hidden;
  position: relative;
}

.phone-landscape__notch {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 120px;
  width: 30px;
  background: #000000;
  border-radius: 0 20px 20px 0;
  z-index: 10;
}

.phone-landscape__content {
  height: 100%;
  overflow-x: auto;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.index__hero-content {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding: var(--padding--default-section);
  padding-top: var(--padding--top-lowered);
}

.index__hero-content-text {
  width: 500px;
  margin: 0;
  font-size: 3.2rem;
  line-height: 1.2;
  font-weight: 200;
  font-family: var(--font-family--sans-serif);
  color: var(--color--logo);
  opacity: 0.65;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;

  > .no-break {
    display: block;
    white-space: nowrap;
  }
}

.index__navigation {
  height: 100%;
  width: 100%;
  padding: var(--padding--default-section);
  padding-right: 0;
  padding-top: calc(var(--padding--top-lowered) * 1.2);
}

.index__nav-index {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-left: calc(-1 * var(--padding--default-section));
  border-left: var(--padding--default-section) solid transparent;

}

.index__nav-index > * {
  font-family: var(--font-family--sans-serif);
  color: var(--color--black);
  text-decoration: none;
  font-weight: 300;
  line-height: 1.2;
  font-size: 3.2rem;
  padding-left: calc(var(--padding--default-section) + 1rem);
  margin-left: calc(-1 * var(--padding--default-section) - 1rem);
  position: relative;

  &:hover {
    font-weight: 700;
    padding-left: calc(var(--padding--default-section) + 1rem - 2px);

    &::before {
      content: "";
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
      background-color: var(--color--logo);
      width: calc(var(--padding--default-section) - 1rem);
      height: var(--height--idea-line);
    }
  }
}
.project-description {
  padding: var(--padding--default-section);

  > h1 {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-family--sans-serif);
    text-transform: lowercase;
    padding-left: calc(var(--padding--default-section));
    margin-left: calc(-1 * var(--padding--default-section));
    position: relative;

    &::before {
      content: "";
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      background-color: var(--color--logo);
      width: calc(var(--padding--default-section) - 1rem);
      height: var(--height--idea-line);
    }
  }

  > p {
    font-size: 1rem;
    line-height: 1.6;
    font-family: var(--font-family--sans-serif);
    color: var(--color--logo);

    &.note {
      font-size: 0.9rem;
      font-style: italic;
      color: var(--color--logo);
    }
  }
}
.baseball-card {
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.baseball-card__card {
  width: 450px;
  height: 630px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border: 1px solid #efefef;
  border-radius: 1px;
  rotate: -10deg;
}

.baseball-card__logo {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  align-self: center;
  opacity: 0.5;
}

.baseball-card__border {
  padding: 4px;
  width: 100%;
  height: 100%;
  background: #D4AF37;
  background: linear-gradient(347deg, rgba(212, 175, 55, 1) 0%, rgba(255, 244, 181, 1) 51%, rgba(255, 215, 0, 1) 100%);
}

.baseball-card__content {
  width: 100%;
  height: 100%;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.baseball-card__first-name {
  position: absolute;
  bottom: 50px;
  right: 20px;
  font-family: var(--font-family--sans-serif);
  font-size: 28px;
  font-weight: 300;
  text-transform: uppercase;
  font-style: italic;
}

.baseball-card__last-name {
  position: absolute;
  bottom: 10px;
  right: 20px;
  font-family: var(--font-family--sans-serif);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -2px;
  text-transform: uppercase;
  font-style: italic;
}
.cookie-policy {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: 3fr 1fr;
  z-index: 1;
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1);
}

.cookie-policy.fade-out {
  opacity: 0;
  pointer-events: none;
}

.door {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
}

.door-left, .door-right {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, #b0b0b0 0%, #e0e0e0 50%, #999 100%);
  box-shadow: 2px 0 8px rgba(0,0,0,0.2) inset;
  transition: transform 1.2s cubic-bezier(0.77,0,0.175,1);
}
.door-left {
  left: 0;
  border-right: 1px solid #888;
  z-index: 2;
}
.door-right {
  right: 0;
  z-index: 2;
}
.door.open .door-left {
  transform: translateX(-100%);
}
.door.open .door-right {
  transform: translateX(100%);
}

.wall {
  background: linear-gradient(120deg, #d3d3d3 0%, #f5f5f5 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 0 2rem;


  background: 
      /* Prominent vertical grain lines */
      repeating-linear-gradient(90deg,
          transparent 0px,
          rgba(25, 17, 11, 0.8) 1px,
          transparent 2px,
          transparent 5px,
          rgba(41, 28, 18, 0.4) 6px,
          transparent 7px,
          transparent 10px,
          rgba(25, 17, 11, 0.6) 11px,
          transparent 12px,
          transparent 18px
      ),
      /* Secondary vertical grain */
      repeating-linear-gradient(90deg,
          transparent 0px,
          rgba(62, 42, 27, 0.4) 2px,
          transparent 3px,
          transparent 8px,
          rgba(41, 28, 18, 0.5) 9px,
          transparent 10px,
          transparent 14px
      ),
      /* Base walnut color with horizontal variation */
      linear-gradient(95deg, 
          #6d4228 0%,
          #6d4228 100%
      );
  box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;


}

.panel {
  background: #111;
  border-radius: 2px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  padding: 40px 20px;
  min-width: 400px;
  max-width: 90vw;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cookie-text {
  color: var(--color--white);
  font-size: 1rem;
  margin-bottom: 48px;
  text-align: center;
  text-wrap: balance;
  font-family: var(--font-family--sans-serif);
  text-transform: uppercase;
}

.elevator-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.elevator-button-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}
.elevator-button {
  background: #222;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px;
  width: 100%;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}
.elevator-button:hover {
  .elevator-light {
    background-color: #ffe066;
  }
}
.elevator-light {
  width: 36px;
  height: 36px;
  border-radius: 2px;
  background: #444;
  transition: background 0.2s, box-shadow 0.2s;
}
.elevator-button.active .elevator-light {
  background: #ffe066;
  box-shadow: 0 0 16px #ffe066, 0 0 8px #fff inset;
}
.elevator-label {
  color: var(--color--white);
  font-family: var(--font-family--display);
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 1px;
}
.email {
  --color--email-font: #444;
  --color--email-background: #fffbf1;
  
  width: 100%;
  height: 100%;
  padding: var(--padding--default-section);
  overflow-x: scroll;
}

.email-letter__paperclip {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 48px;
  rotate: -2deg;
}

.email-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;

  > * {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: top left;
    transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
  }

  > :nth-child(n + 2) {
    top: 0;
  }

  > :nth-child(2) { rotate: 0deg; z-index: 5; }
  > :nth-child(3) { rotate: -1deg; z-index: 4; }
  > :nth-child(4) { rotate: 1deg; z-index: 3; }
  > :nth-child(5) { rotate: -2deg; z-index: 2; }
  > :nth-child(6) { rotate: 2deg; z-index: 1; }

  .email-letter--rotated {
    transform: translateX(calc(-50% + 100vw)) translateY(100vh) !important;
  }
}

.email-letter {
  background-size: 2px 3px;
  padding: 2rem;
  width: 800px;
  min-width: 800px;
  min-height: 800px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);

  a {
    color: inherit;
  }

  .grid {
    display: grid;
    grid-template-columns: 3fr 1.2fr;
    gap: 1rem;
    align-items: start;
  }

  .body {
    padding: 2rem;
    padding-top: 0;
  }

  .sidebar {
    display: flex;
    flex-direction: column;
    min-width: 150px;
    margin-top: 2rem;

    h3 {
      margin: 0;
      margin-bottom: 0.5rem;
      font-size: 1.2rem;
      font-family: var(--font-family--serif);
      font-weight: 400;

      &:not(:first-child) {
        margin-top: 1rem;
      }
    }

    ul {
      list-style: none;
      padding: 0;
      margin: 0;

      li {
        text-wrap: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
  }
}

.email-letter--elegant {
  font-family: var(--font-family--sans-serif);
  background-color: var(--color--email-background);
  background-image: 
    linear-gradient(90deg, rgba(0,0,0,0.01) 50%, transparent 50%),
    linear-gradient(rgba(0,0,0,0.01) 50%, transparent 50%);

  .heading {
    font-size: 3rem;
    text-align: center;
    margin: 2.4rem 0 3.4rem 0;
    font-weight: 400;
    color: #444;
    display: flex;
    flex-direction: column;
    align-items: center;
  
    > span:first-child {
      font-family: var(--font-family--serif);
      text-transform: uppercase;
      font-size: 0.8rem;
      letter-spacing: 0.4rem;
    }
  
    > span:last-child {
      font-family: var(--font-family--script);
      font-size: 3.2rem;
    }
  }

  .body {
    font-family: var(--font-family--serif);
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .date {
    font-family: var(--font-family--monospace);
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
  }

  .email-address-list {
    font-size: 0.75rem;
    font-family: var(--font-family--monospace);

    li {
      margin-bottom: 0.15rem;
    }
  }

  .attachments {
    font-size: 0.75rem;
    font-family: var(--font-family--monospace);

    li {
      margin-bottom: 0.4rem;
    }
  }

}

.email-letter--studious {
  font-family: var(--font-family--display);
  color: var(--color--logo);
  background-color: var(--color--white);
  background-image: 
    linear-gradient(90deg, rgba(0,0,0,0.01) 50%, transparent 50%),
    linear-gradient(rgba(0,0,0,0.01) 50%, transparent 50%);

  .heading {
    font-size: 3rem;
    text-align: center;
    margin: 4rem 0 6rem 0;
    font-weight: 400;
    color: var(--color--logo);
    display: flex;
    flex-direction: column;
    align-items: center;
  
    > span:first-child {
      font-family: var(--font-family--sans-serif);
      text-transform: uppercase;
      font-size: 0.8rem;
      letter-spacing: 0.4rem;
    }
  }

  .body {
    font-family: var(--font-family--sans-serif);
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 400;
  }

  .date {
  }

  .email-address-list {
    font-size: 0.75rem;
    font-family: var(--font-family--monospace);
  }


  .attachments {
    font-size: 0.75rem;
    font-family: var(--font-family--monospace);
  }
}

.email-folder {
  padding: 2rem;
  width: 800px;
  min-width: 800px;
  min-height: 800px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);

}

/* Phone Alarm - Simple Styles */
.phone-alarm {
  --color--alarm-red: #fa112d;
  --color--alarm-red-dark: #6a1a2e;
  --color--alarm-display-border: rgba(255, 255, 255, 0.25);
  --height--alarm-scroll-list-items: 30px;

  width: 100%;
  height: 100%;
  background: #efefef;
}

.phone-alarm__phone {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
  overflow-y: hidden;
  user-select: none;
}

.phone-alarm__alarm-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  padding: 20px 10px 40px 10px;
  margin-bottom: -30px;
  pointer-events: none;
}

.phone-alarm__alarm-wrapper--on {
  pointer-events: auto;
}

.phone-alarm__clock {
  width: 100%;
  display: grid;
  grid-template-columns: 280px auto;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 20px;
  border: 1px solid var(--color--alarm-display-border);
  border-radius: 10px;
  padding: 4px;

  > * {
    opacity: 0.5;
  }

  .phone-alarm__time-hour,
  .phone-alarm__time-colon,
  .phone-alarm__time-minute,
  .phone-alarm__time-meridiem {
    opacity: 0;
  }
}

.phone-alarm__clock--on {
  > * {
    opacity: 1;
  }

  .phone-alarm__time-hour,
  .phone-alarm__time-colon,
  .phone-alarm__time-minute,
  .phone-alarm__time-meridiem {
    opacity: 1;
  }
}

.phone-alarm__label {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color--white);
  opacity: 0.75;
  padding-bottom: 10px;
}

.phone-alarm__time {
  font-size: 98px;
  line-height: 1.2;
  color: var(--color--alarm-red);
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
  background: var(--color--alarm-red-dark);
  border-radius: 6px;
  box-shadow: inset 0 0 8px 5px rgba(0,0,0,0.3);
  padding: 0 10px;
  position: relative;
}

.phone-alarm__time-hour {
  text-align: right;
  width: 120px;
}

.phone-alarm__time-colon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding-bottom: 10px;
}

.phone-alarm__time-minute {
  width: 120px;
  border: 1px solid transparent;
}
.phone-alarm__time-meridiem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  > * {
    color: var(--color--alarm-red);
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    opacity: 0.25;
  }

  > .selected {
    opacity: 0.75;
  }
}

.phone-alarm__sound-selector {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--color--alarm-display-border);
  padding: 4px;
  gap: 4px;
}

.phone-alarm__sound-selector--on {
  .phone-alarm__scroll-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(255, 0, 0, 0.1) 35%,
      rgba(255, 0, 0, 0.2) 50%,
      rgba(255, 0, 0, 0.1) 65%,
      rgba(0, 0, 0, 0.75) 100%
    );
    pointer-events: none;
    z-index: 2;
  }
  
  .phone-alarm__scroll-list {
    opacity: 1;
  }
}

.phone-alarm__scroll-container {
  position: relative;
  width: fit-content;
  padding: 0 12px;
  height: calc(var(--height--alarm-scroll-list-items) * 2);
  background: var(--color--black);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 2px 1px 2px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;

  &:first-of-type {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;

    .phone-alarm__scroll-item {
      justify-content: flex-end;
    }
  }

  &:last-of-type {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
}

.phone-alarm__scroll-list {
  position: relative;
  transition: transform 0.3s cubic-bezier(0.4, 1.6, 0.6, 1);
  opacity: 0.1;

}

.phone-alarm__scroll-item {
  height: var(--height--alarm-scroll-list-items);
  display: flex;
  align-items: center;
  color: var(--color--alarm-red);
  opacity: 0.8;
  text-transform: uppercase;
  transform: translateY(-50%);
  font-weight: 600;
}


/* Loudness positions */
.phone-alarm__scroll-list.loudness-normal {
  transform: translateY(var(--height--alarm-scroll-list-items));
}

.phone-alarm__scroll-list.loudness-louder {
  transform: translateY(0);
}

.phone-alarm__scroll-list.loudness-loudest {
  transform: translateY(calc(var(--height--alarm-scroll-list-items) * -1));
}

/* Tone positions */
.phone-alarm__scroll-list.tone-beep {
  transform: translateY(var(--height--alarm-scroll-list-items));
}

.phone-alarm__scroll-list.tone-buzz {
  transform: translateY(0);
}

.phone-alarm__scroll-list.tone-ring {
  transform: translateY(calc(var(--height--alarm-scroll-list-items) * -1));
}

/* --- Angled Slider Toggle --- */
.phone-alarm__toggle-switch-wrapper {
  position: absolute;
  bottom: 20px;
  right: 0;
  transform: translateX(-100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-alarm__toggle-label--on {
  position: absolute;
  top: 42px;
  right: -48px;
}
.phone-alarm__toggle-label--off {
  position: absolute;
  bottom: 5px;
  right: -14px;
}

.phone-alarm__toggle-switch {
  width: 70px;
  height: 140px;
  background: linear-gradient(135deg, #000 60%, #444 100%);
  border-radius: 50px;
  border: 2.5px solid #191919;
  position: relative;
  outline: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  transition: background 0.3s;
  transform: rotate(35deg);
  overflow: hidden;
}

.phone-alarm__toggle-knob {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #fff 60%, #bbb 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px #0007, 0 1.5px 0 #fff6 inset;
  border: 2px solid #888;
  transition: transform 0.3s cubic-bezier(.4,1.6,.6,1), box-shadow 0.3s;
}

.phone-alarm__toggle-switch.is-on .phone-alarm__toggle-knob {
  transform: translateX(-50%) translateY(10px);
  box-shadow: 0 1px 4px #000a, 0 1.5px 0 #fff6 inset;
}

.phone-alarm__toggle-switch:not(.is-on) .phone-alarm__toggle-knob {
  transform: translateX(-50%) translateY(75px);
}

.wood-veneer {
  background: 
      /* Prominent vertical grain lines */
      repeating-linear-gradient(0deg,
          transparent 0px,
          rgba(25, 17, 11, 0.8) 1px,
          transparent 2px,
          transparent 5px,
          rgba(41, 28, 18, 0.4) 6px,
          transparent 7px,
          transparent 10px,
          rgba(25, 17, 11, 0.6) 11px,
          transparent 12px,
          transparent 18px
      ),
      /* Secondary vertical grain */
      repeating-linear-gradient(0deg,
          transparent 0px,
          rgba(62, 42, 27, 0.4) 2px,
          transparent 3px,
          transparent 8px,
          rgba(41, 28, 18, 0.5) 9px,
          transparent 10px,
          transparent 14px
      ),
      /* Base walnut color with horizontal variation */
      linear-gradient(95deg, 
          #3e241a 0%,
          #6d4228 60%,
          #6d4228 100%
      );
  border-radius: 8px;
  box-shadow: 
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
}
.reader {
  --page-width: 600px;
  --page-height: calc(var(--page-width) * 1.6);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.reader__page {
  width: var(--page-width);
  height: var(--page-height);
  position: relative;
  background: #F1E9D2;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  overflow: hidden;
  margin-bottom: 2rem;
  padding: 4.8rem;
  padding-top: 6rem;
}

.reader__page-number {
  position: absolute;
  top: 2rem;
  right: 4.8rem;
  font-size: 18px;
}

.reader__guide-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.reader__guide-line {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 1;
}

.reader__guide-line--left {
  left: 8rem;
}

.reader__guide-line--right {
  right: 8rem;
}

.reader__text {
  font-size: 18.5px;
  line-height: 1.5;
  color: #333;
  font-family: var(--font-family--serif);
  position: relative;
  z-index: 1;
  text-indent: 1rem;
}

.reader__text p {
  text-align: justify;
  margin: 0;
}

.reader__guide {
  position: absolute;
  margin-top: 48px;
  margin-left: -25px;
  width: 50px;
  height: 70px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background: #007acc;
  z-index: 20;
  pointer-events: none;
  transition: none;
  box-shadow: 0 2px 8px rgba(0, 122, 204, 0.5);
  opacity: 0;
  transform: translateY(-50%);
}

.reader__controls {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 2rem;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reader__control-btn {
  padding: 0.75rem 1.5rem;
  background: #007acc;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease;
}

.reader__control-btn:hover {
  background: #005a9e;
}

.reader__control-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.reader__speed-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
}

.reader__speed-control label {
  font-weight: 500;
  color: #555;
}

.reader__speed-control input[type="range"] {
  width: 100px;
  height: 4px;
  background: #ddd;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.reader__speed-control input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  background: #007acc;
  border-radius: 50%;
  cursor: pointer;
}

.reader__speed-control input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #007acc;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.reader__speed-control span {
  min-width: 20px;
  text-align: center;
  font-weight: 500;
  color: #007acc;
} 
.recipe-cards {
  --color--black: #1a1413;
  --color--black-alt: #F7E7CE;
  --color--white: rgba(255, 255, 255, 0.95);
  --color--pill-juice: var(--color--black-alt);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.recipe-cards__carousel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-card {
  background: var(--color--black);
  color: var(--color--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  min-width: 400px;
  max-width: 400px;
  height: 400px;
  transition: 
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
    box-shadow 0.4s ease,
    z-index 0s;
  z-index: 1;
  margin: 0 -2rem;
  transform-origin: center bottom;
  will-change: transform;
  cursor: grabbing;
}

.recipe-card--reverse {
  background: var(--color--black-alt);
  color: var(--color--black);
}

.recipe-card--ingredients {
  transform: rotate(-3deg);
  z-index: 2;
}

.recipe-card--steps {
  transform: rotate(4deg);
  z-index: 1;
  margin-top: 1rem;
  margin-left: -2rem;
}

.recipe-card__title {
  font-family: var(--font-family--sans-serif);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.recipe-card__ingredients {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ingredient-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-family--sans-serif);
}

.ingredient-item:last-child {
  border-bottom: none;
}

.ingredient-name {
  font-weight: 400;
  flex: 1;
  text-align: left;
}

.ingredient-amount {
  font-family: var(--font-family--sans-serif);
  color: var(--color--white);
  min-width: 60px;
  text-align: right;
}

.ingredient-pill {
  width: 24px;
  height: 24px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.ingredient-pill--full {
  background: var(--color--pill-juice);
}

.ingredient-pill--partial::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--fill-percentage);
  background: var(--color--pill-juice);
}

.recipe-card__text {
  line-height: 1.6;
  margin: 0;
  color: var(--color--white);
}

.recipe-card--hidden {
  position: absolute;
  left: -9999px;
}

.recipe-card__hero-title {
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* One-offs */
.seventies-plaid {
  background-color: #e4a87c;
  background-image:
    /* Thick vertical bands */
    linear-gradient(90deg,
      transparent 0,
      transparent 40px,
      rgba(180, 74, 59, 0.12) 40px,
      rgba(180, 74, 59, 0.12) 60px,
      transparent 60px,
      transparent 100px
    ),
    /* Thick horizontal bands */
    linear-gradient(0deg,
      transparent 0,
      transparent 40px,
      rgba(180, 74, 59, 0.18) 40px,
      rgba(180, 74, 59, 0.18) 60px,
      transparent 60px,
      transparent 100px
    ),
    /* Vertical darker stripes */
    linear-gradient(90deg, 
      rgba(180, 74, 59, 0.15) 1px, 
      transparent 2px, 
      transparent 50px
    ),
    /* Horizontal darker stripes */
    linear-gradient(0deg, 
      rgba(180, 74, 59, 0.15) 2px, 
      transparent 2px, 
      transparent 50px
    ),
    /* Vertical lighter stripes */
    linear-gradient(90deg, 
      rgba(226, 147, 84, 0.2) 1px, 
      transparent 1px, 
      transparent 10px
    ),
    /* Horizontal lighter stripes */
    linear-gradient(0deg, 
      rgba(226, 147, 84, 0.2) 1px, 
      transparent 1px, 
      transparent 10px
    );
  background-size: 
    100px 100px,  /* Thick vertical bands */
    100px 100px,  /* Thick horizontal bands */
    50px 50px,    /* Dark stripes */
    50px 50px,    /* Dark stripes */
    10px 10px,    /* Light stripes */
    10px 10px;    /* Light stripes */
  background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
}
.run-timer {
  --font-size--run-timer: 48px;

  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.run-timer__phone {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.run-timer__screen {
  width: 100%;
  height: 100%;
  color: var(--color--black);
  font-family: var(--font-family--display);
  font-size: var(--font-size--run-timer);
  letter-spacing: -0.1rem;
  font-weight: 300;
  position: relative;
}

.run-timer__screen::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.run-timer__screen-1 {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color--black);
  color: var(--color--white);
  font-family: var(--font-family--thintech);
  text-transform: uppercase;
  font-size: 140px;
  gap: 10px;

  input {
    outline: none;
    border: none;
    background: transparent;
    text-align: center;
    color: var(--color--white);
    width: 150px; 
    aspect-ratio: 1/1;
  }

  /* Hide spinner arrows for number inputs */
  input[type="number"]::-webkit-outer-spin-button,
  input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
  }

  button {
    width: 100px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: var(--color--white);
    color: var(--color--black);
    font-size: var(--font-size--run-timer);
    font-family: var(--font-family--sans-serif);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
}

/*

.run-timer__screen-1::before {
  background: 
    radial-gradient(circle at 0% 100%, transparent 0%, transparent 15%, red 15%, red 20%, transparent 20%),
    radial-gradient(circle at 0% 100%, transparent 0%, transparent 21%, orange 21%, orange 26%, transparent 26%),
    radial-gradient(circle at 0% 100%, transparent 0%, transparent 27%, yellow 27%, yellow 32%, transparent 32%);
  background-size: 30% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
}

.run-timer__screen-1::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: 
    radial-gradient(circle at 100% 0%, transparent 0%, transparent 15%, purple 15%, purple 20%, transparent 20%),
    radial-gradient(circle at 100% 0%, transparent 0%, transparent 21%, blue 21%, blue 26%, transparent 26%),
    radial-gradient(circle at 100% 0%, transparent 0%, transparent 27%, green 27%, green 32%, transparent 32%);
  background-size: 30% 100%;
  background-repeat: no-repeat;
  background-position: 100% 0;
}*/

.run-timer__screen-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.run-timer__countdown-number {
  outline: none;
  background: transparent;
  font-family: var(--font-family--thintech);
  font-size: 220px;
  letter-spacing: -0.05rem;
  color: var(--color--black);
}



.run-timer__screen-3 {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #353535;
}

.timer-view {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  position: relative;

  * {
    user-select: none;
  }
}

.run-timer__remaining-fill {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  border-top: 1px dashed var(--color--white);
  z-index: 0;
  transition: height 0.3s linear;
  pointer-events: none;
}

.run-timer__full-fill {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  border-top: 1px dashed var(--color--white);
  z-index: 0;
  transition: height 0.3s linear;
  pointer-events: none;
}

.run-timer__full-timer-display {
  font-size: 140px;
  font-family: var(--font-family--monospace);
  color: var(--color--white);
  font-weight: 700;
}

.run-timer__remaining-timer-display {
  font-size: 140px;
  font-family: var(--font-family--monospace);
  color: var(--color--white);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.run-timer__full-and-remaining-timer-displays {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
  position: relative;
  background: rgba(255, 0, 0, 1);

  .anchor {
    position: absolute;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    background: rgba(0, 255, 0, 1);
  }

  > div {
    font-size: 80px;
    font-family: var(--font-family--monospace);
    color: var(--color--black);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }

  &::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: 
      /* 25% ticks (2px) */
      linear-gradient(to right, var(--color--black) 4px, transparent 2px),
      linear-gradient(to right, var(--color--black) 4px, transparent 2px),
      /* 10% ticks (1px) */
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px),
      linear-gradient(to right, var(--color--black) 2px, transparent 1px);
    background-position:
      /* 25% ticks */
      50% 0,
      50% 100%,
      /* 10% ticks */
      10% 0,
      20% 0,
      30% 0,
      40% 0,
      60% 0,
      70% 0,
      80% 0,
      90% 0,
      10% 100%,
      20% 100%,
      30% 100%,
      40% 100%,
      60% 100%,
      70% 100%,
      80% 100%,
      90% 100%;
    background-size: 
      /* 25% ticks */
      4px 60px,
      4px 60px,
      /* 10% ticks */
      2px 20px,
      2px 20px,
      2px 20px,
      2px 20px,
      2px 20px,
      2px 20px,
      2px 20px,
      2px 20px,
      2px 20px,
      2px 20px,
      2px 20px,
      2px 20px,
      2px 20px,
      2px 20px,
      2px 20px,
      2px 20px,
      2px 20px,
      2px 20px;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
  }
}

/* Quarters timers - small rings */
.run-timer__quarters-timers {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 40px;
  gap: 10px;
}

.run-timer__quarters-timer-display {
  position: absolute;
  top: 10px;
  left: 50%;
  color: var(--color--white);
  transform: translateX(-50%);
  font-size: 40px;
  font-family: var(--font-family--monospace);
  font-weight: 700;
}

.run-timer__quarters-timer {
  display: flex;
  align-items: center;
  justify-content: center;

  svg {
    width: 100%;
    height: 100%;
  }
}

.run-timer__quarters-timer-bg-ring {
  fill: none;
  stroke: #00c853; /* bright green */
  stroke-width: 10;
  opacity: 0.3; /* subtle effect, tweak as needed */
  pointer-events: none; /* so it doesn't interfere with hover/clicks */
}

.run-timer__quarters-timer-ring {
  fill: none;
  stroke-width: 10;
  stroke-linecap: butt;
  transition: stroke-dashoffset 0.3s ease;
  transform: rotate(-90deg);
  transform-origin: center;
  stroke: #4caf50;
}

/* Tenths timers - small rings */
.run-timer__tenths-timers {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  height: 100%;
  padding: 0 40px;
  gap: 20px;
}

.run-timer__tenths-timer-display {
  position: absolute;
  top: 50%;
  left: 50%;
  color: var(--color--white);
  transform: translateX(-50%) translateY(-50%);
  font-size: 40px;
  font-family: var(--font-family--monospace);
  font-weight: 700;
  z-index: 1;
}

.run-timer__tenths-timer {
  display: flex;
  align-items: center;
  justify-content: center;

  svg {
    width: 100%;
    height: 100%;
  }
}

.run-timer__tenths-timer-bg-ring {
  fill: none;
  stroke: #ff9800; /* orange */
  stroke-width: 10;
  opacity: 0.3; /* subtle effect, tweak as needed */
  pointer-events: none; /* so it doesn't interfere with hover/clicks */
}

.run-timer__tenths-timer-ring {
  fill: none;
  stroke-width: 10;
  stroke-linecap: butt;
  transition: stroke-dashoffset 0.3s ease;
  transform: rotate(-90deg);
  transform-origin: center;
  stroke: #ff5722;
}

.run-timer__halflife-timer-display {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10%;
  color: var(--color--white);
  font-size: 42px;
  font-family: var(--font-family--monospace);
  font-weight: 700;

  &.run-timer__halflife-timer-display--right {
    right: 10%;
    left: auto;
  }
}

/* Cascading timers - concentric rings */
.run-timer__halflife-timers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 10px;
}

.run-timer__halflife-rings {
  width: 100%;
  height: 100%;
  max-width: 300px;
  max-height: 300px;
}

.run-timer__halflife-ring {
  fill: none;
  stroke-width: 10;
  stroke-linecap: butt;
  transition: stroke-dashoffset 0.3s ease;
  transform: rotate(-90deg);
  transform-origin: center;
}

.run-timer__halflife-ring.outermost { stroke: #ff5722; }
.run-timer__halflife-ring.outer { stroke: #ff9800; }
.run-timer__halflife-ring.middle { stroke: #ffc107; }
.run-timer__halflife-ring.inner { stroke: #4caf50; }
.run-timer__halflife-ring.innermost { stroke: #2196f3; }
.run-timer__halflife-ring.innermostest { stroke: purple; }
.run-timer__halflife-ring.completed {
  /* No changes - ring just disappears */
}

.cancel-timer-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  font-family: var(--font-family--sans-serif);
  background: var(--color--black);
  color: var(--color--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  border: none;
}

.cancel-timer-btn:hover {
  background: #ff4444;
  transform: scale(1.1);
}
.tea-bags {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.tea-bags__centerer {
  width: 100%;
  height: 100%;
  max-height: 1200px;
  position: relative;
}

.tea-bag {
  position: absolute;
  display: flex;
  flex-direction: column;
  max-width: 300px;
  min-width: 300px;
  aspect-ratio: 1/1.14;
  background: var(--color--white);
  border-radius: 2px;
  padding: 30px;
  box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 2;
}

.tea-bag::before,
.tea-bag::after {
  content: "";
  position: absolute;
  top: 0;
  width: 20px;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.03) 3px,
    rgba(0, 0, 0, 0.12) 5px
  );
  border-radius: 8px;
  z-index: 1;
}

.tea-bag::before {
  left: 2px;
}

.tea-bag::after {
  right: 2px;
}

.tea-bag__logo {
  position: absolute;
  bottom: 28px;
  right: 14px;
  width: 120px;
  height: 120px;
  align-self: center;
  opacity: 0.12;
}

.tea-bag__caffeine {
  position: absolute;
  top: -32px;
  width: 350px;
  background-color: var(--color--logo-80);
  padding: 62px 0 10px 60px;
  text-wrap: nowrap;
  font-family: var(--font-family--display);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  align-self: center;
  color: var(--color--logo);
  rotate: -3deg;
}

.tea-bag__caffeine-amount {
  display: inline-block;
  text-wrap: nowrap;
  font-family: var(--font-family--display);
  font-size: 38px;
  font-weight: 900;
  text-transform: uppercase;
  align-self: center;
  color: var(--color--white);
  rotate: 3deg;
}

.tea-bag__caffeine-script {
  display: inline-block;
  font-size: 42px;
  font-weight: 400;
  color: var(--color--white);
  font-family: var(--font-family--script);
  text-transform: lowercase;
  margin-left: 3px;
  rotate: 3deg;
}

.tea-bag__flavors {
  font-family: var(--font-family--display);
  display: flex;
  flex-direction: column;
  margin-top: 72px;

  > * {
    display: flex;
    flex-direction: column;
    padding: 1px 13px 0px 43px;
    margin-left: -30px;
    font-size: 16px;
    border-radius: 2px;
    width: fit-content;
    color: rgba(0, 0, 0, 0.5);

    &.selected {
      font-weight: 600;
      color: rgba(0, 0, 0, 0.85);
    }
  }
}

.tea-bag__slogan {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-family--display);
  font-size: 14px;
  font-weight: 400;
  color: var(--color--logo);
  opacity: 0.8;
}

.wood-table {

    background-color: #deb887; /* base wood color (burlywood) */
    background-image:
      repeating-linear-gradient(
        0deg,
        rgba(139, 69, 19, 0.1) 0px,
        rgba(139, 69, 19, 0.15) 4px,
        rgba(139, 69, 19, 0.1) 8px
      ),
      radial-gradient(
        circle at 20% 30%,
        rgba(139, 69, 19, 0.2),
        transparent 40%
      ),
      radial-gradient(
        circle at 80% 60%,
        rgba(139, 69, 19, 0.2),
        transparent 45%
      ),
      radial-gradient(
        circle at 50% 90%,
        rgba(139, 69, 19, 0.15),
        transparent 50%
      );
    background-size: cover;

  
}
/*
 * Modern CSS Reset
 * @link https://github.com/hankchizljaw/modern-css-reset
*/

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

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

dl,
dd,
dt {
  margin: 0;
}

p,
li,
h1,
h2,
h3,
h4 {
  /* Help prevent overflow of long words/names/URLs */
  word-break: break-word;

  /* Optional, not supported for all languages */
  /* hyphens: auto; */
}

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100dvh;
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.5;
  text-rendering: optimizeSpeed;
}

/* Make images easier to work with */
img {
  display: block;
  max-inline-size: 100%;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

button {
  border: none;
}
:root {
  --font-family--serif: "LindenHill",Georgia, serif;
  --font-family--sans-serif: "LibreFranklin", "Helvetica", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family--display: "League Spartan Variable", "LibreFranklin", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-family--script: "LavishlyYours", serif;
  --font-family--monospace: "JetBrainsMono", monospace;
  --font-family--typewriter: "Courier New", "Courier", sans-serif;
  --font-family--thintech: "SmoochSans", sans-serif;

  --border-radius--circular: 99rem;

  --color--logo: rgb(54, 69, 79);
  --color--logo-80: rgba(54, 69, 79, 0.8);
  --color--black: #222;
  --color--white: #fff;

  --width--home-nav-button: 4rem;

  --height--idea-line: 1px;

  --padding--default-section: 4rem;
  --padding--top-lowered: 20vh;

  --z-index--home-logo-button: 20;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is suggested that you include your own styles in a new file instead of adding them here directly.
 *


 */

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-family--serif);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color--white);
}

main {
  position: relative;
  width: 100vw;
  height: 100vh;
  max-width: 1800px;
  min-width: 1200px;
}

header {
  position: fixed;
  top: 20px;
  right: 20px;
}

.header__text {
  font-size: 1rem;
  font-family: var(--font-family--sans-serif);
  color: var(--color--logo);

  > a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--color--logo);
  }
}

.header__text--reversed {
  color: var(--color--white);

  > a {
    border-bottom: 1px solid var(--color--white);
  }
}

.home-logo-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  border: 5px solid var(--color--logo);
  background-color: var(--color--white);
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--width--home-nav-button);
  aspect-ratio: 1/1;
  text-decoration: none;
  border-radius: var(--border-radius--circular);
  transition: transform 0.12s ease-in-out;
  z-index: var(--z-index--home-logo-button);

  > .container {
    width: 50%;
    height: 50%;
  }
}

.home-logo-button:hover {
  transform: rotate(45deg);
}

/* Containers */
.left-container,
.right-container {
  position: absolute;
  top: 0;
  height: 100vh;
  scrollbar-width: none; 
  -ms-overflow-style: none; 

  &::-webkit-scrollbar {
    display: none;
  }
}

.left-container {
  left: 0;
}

.right-container {
  right: 0;
}
