/* Portfolio foundation. */
:root {
  --gentle-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --interface-font-size: 13px;
  --foreground: #202428;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  font-family: Arial, sans-serif;
}
body {
  overflow: hidden;
}
button,
input,
select {
  font: inherit;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
summary {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: none;
  background: #80808020;
}
button:disabled {
  opacity: 0.4;
}
button svg {
  flex: none;
}
h1,
h2,
p {
  margin: 0;
}
summary {
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
.lake {
  position: fixed;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  /* The sky is a gesture surface, not selectable page content. Keep this
     scoped here so reading panels and their links retain native selection. */
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.lake canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
}
/* The full-screen sky owns cloud movement on both axes; reading panels keep
   native scrolling, and browser pinch zoom remains available. */
.lake #water {
  touch-action: pinch-zoom;
}
.lake .interface {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.interface button,
.interface input {
  pointer-events: auto;
}
.time-control {
  display: flex;
  align-items: center;
  justify-content: center;
}
.time-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  min-height: 44px;
}
.time-label,
.time-label-value {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.time-meridiem {
  margin-left: 0.3em;
}
.sky-fallback {
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
  }
}
html body.homepage .time-label-value {
  font-size: 18px;
  line-height: 28px;
  overflow: hidden;
}
.sky-clock-slot {
  display: inline-block;
  min-width: 0.64em;
  text-align: center;
  white-space: pre;
}
.sky-clock-slot:nth-child(3) {
  min-width: 0.28em;
}
.sky-clock-slot.is-empty {
  min-width: 0;
  width: 0;
  overflow: hidden;
}
.sky-clock-period {
  min-width: 0;
  margin-left: 0.3em;
}
.lake canvas.is-dragging {
  cursor: grabbing !important;
}
