1027 lines
20 KiB
CSS
1027 lines
20 KiB
CSS
.dialog {
|
|
position: fixed;
|
|
inset: 0;
|
|
width: 100vw;
|
|
max-width: none;
|
|
height: 100dvh;
|
|
max-height: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.dialog::backdrop {
|
|
background: rgba(1, 13, 39, 0.52);
|
|
opacity: 0;
|
|
backdrop-filter: blur(3px);
|
|
transition: opacity 180ms var(--motion-ease-out);
|
|
}
|
|
|
|
.dialog[data-state='open']::backdrop {
|
|
opacity: 1;
|
|
}
|
|
|
|
.dialog[data-state='closing']::backdrop {
|
|
opacity: 0;
|
|
}
|
|
|
|
.sheet {
|
|
position: fixed;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: min(72rem, calc(100vw - 2rem));
|
|
height: min(86dvh, 56rem);
|
|
margin-inline: auto;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border-strong);
|
|
border-bottom: 0;
|
|
border-radius: var(--radius-xl) var(--radius-xl) 0 0;
|
|
background: var(--bg-raised);
|
|
box-shadow: 0 -1rem 4rem rgba(1, 13, 39, 0.2);
|
|
transform: translateY(100%);
|
|
transition: transform 240ms cubic-bezier(0.32, 0.72, 0, 1);
|
|
will-change: transform;
|
|
}
|
|
|
|
.dialog[data-state='open'] .sheet {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.dialog[data-motion='none'] .sheet {
|
|
transition-duration: 0ms;
|
|
}
|
|
|
|
.utilityHeader {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: grid;
|
|
flex: 0 0 auto;
|
|
grid-template-columns: 1fr auto 1fr;
|
|
align-items: center;
|
|
min-height: 4.5rem;
|
|
padding: 1rem var(--space-5) var(--space-3);
|
|
border-bottom: 1px solid var(--border-default);
|
|
background: color-mix(in srgb, var(--bg-raised) 94%, transparent);
|
|
}
|
|
|
|
.dragTarget {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 8rem;
|
|
height: 2rem;
|
|
cursor: grab;
|
|
touch-action: none;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.dragTarget:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.dragHandle {
|
|
width: 2.75rem;
|
|
height: 0.25rem;
|
|
border-radius: var(--radius-pill);
|
|
background: var(--border-strong);
|
|
}
|
|
|
|
.drawerLabel {
|
|
grid-column: 2;
|
|
color: var(--text-muted);
|
|
font-size: var(--font-size-label-small);
|
|
font-weight: 700;
|
|
letter-spacing: var(--letter-spacing-eyebrow);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
grid-column: 3;
|
|
gap: var(--space-2);
|
|
justify-self: end;
|
|
}
|
|
|
|
.actionButton,
|
|
.iconButton {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 2.75rem;
|
|
height: 2.75rem;
|
|
border: 1px solid var(--border-default);
|
|
border-radius: var(--radius-pill);
|
|
background: var(--bg-surface);
|
|
color: var(--text-primary);
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-size: var(--font-size-body-small);
|
|
font-weight: 650;
|
|
transition:
|
|
color var(--motion-duration-fast) ease,
|
|
background-color var(--motion-duration-fast) ease,
|
|
border-color var(--motion-duration-fast) ease,
|
|
transform var(--motion-duration-fast) var(--motion-ease-out);
|
|
}
|
|
|
|
.actionButton {
|
|
gap: var(--space-2);
|
|
padding-inline: var(--space-4);
|
|
}
|
|
|
|
.iconButton {
|
|
width: 2.75rem;
|
|
padding: 0;
|
|
}
|
|
|
|
.actionButton:active,
|
|
.iconButton:active,
|
|
.projectNavLink:active {
|
|
transform: scale(0.97);
|
|
}
|
|
|
|
.liveRegion {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
.scrollArea {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
scroll-padding-top: var(--space-5);
|
|
scrollbar-gutter: stable;
|
|
}
|
|
|
|
.content {
|
|
width: 100%;
|
|
margin-inline: auto;
|
|
padding: var(--space-8) var(--space-7) calc(var(--space-8) + env(safe-area-inset-bottom, 0px));
|
|
}
|
|
|
|
.hero {
|
|
width: 100%;
|
|
margin-bottom: var(--space-5);
|
|
}
|
|
|
|
.overview {
|
|
width: 100%;
|
|
margin-top: var(--space-6);
|
|
}
|
|
|
|
.date {
|
|
margin-bottom: var(--space-2);
|
|
color: var(--text-muted);
|
|
font-size: var(--font-size-label-small);
|
|
font-weight: 700;
|
|
letter-spacing: var(--letter-spacing-eyebrow);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.title {
|
|
margin-bottom: var(--space-4);
|
|
color: var(--text-primary);
|
|
font-size: clamp(2rem, 5vw, 3.5rem);
|
|
font-weight: 780;
|
|
letter-spacing: -0.045em;
|
|
line-height: 1.05;
|
|
}
|
|
|
|
:global(html[dir='rtl']) .title,
|
|
:global(html[dir='rtl']) .date,
|
|
:global(html[dir='rtl']) .drawerLabel {
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.introduction {
|
|
max-width: 46rem;
|
|
color: var(--text-secondary);
|
|
font-size: var(--font-size-body-large);
|
|
line-height: var(--line-height-body-large);
|
|
}
|
|
|
|
.facts {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: var(--space-3);
|
|
margin-top: var(--space-6);
|
|
}
|
|
|
|
.facts > div {
|
|
padding: var(--space-4);
|
|
border: 1px solid var(--border-default);
|
|
border-radius: var(--radius-md);
|
|
background: var(--bg-surface);
|
|
}
|
|
|
|
.facts dt {
|
|
margin-bottom: var(--space-1);
|
|
color: var(--text-muted);
|
|
font-size: var(--font-size-label-small);
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.facts dd {
|
|
color: var(--text-primary);
|
|
font-size: var(--font-size-body-small);
|
|
font-weight: 650;
|
|
line-height: var(--line-height-body-small);
|
|
}
|
|
|
|
.section {
|
|
margin-top: var(--space-8);
|
|
}
|
|
|
|
.sectionTitle {
|
|
margin-bottom: var(--space-4);
|
|
color: var(--text-primary);
|
|
font-size: var(--font-size-h3);
|
|
font-weight: 750;
|
|
line-height: var(--line-height-h3);
|
|
}
|
|
|
|
.section p,
|
|
.list {
|
|
color: var(--text-secondary);
|
|
font-size: var(--font-size-body-default);
|
|
line-height: var(--line-height-body-default);
|
|
}
|
|
|
|
.visuallyHidden {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
.gallerySection,
|
|
.galleryFigure {
|
|
width: 100%;
|
|
}
|
|
|
|
.galleryStage {
|
|
position: relative;
|
|
display: flex;
|
|
width: 100%;
|
|
aspect-ratio: 16 / 9;
|
|
max-height: 68dvh;
|
|
padding: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border-strong);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--color-blue-950);
|
|
cursor: zoom-in;
|
|
transition:
|
|
border-color var(--motion-duration-fast) ease,
|
|
transform var(--motion-duration-fast) var(--motion-ease-out);
|
|
}
|
|
|
|
.galleryStageImage {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.expandBadge {
|
|
position: absolute;
|
|
right: var(--space-3);
|
|
bottom: var(--space-3);
|
|
display: grid;
|
|
width: 2.75rem;
|
|
height: 2.75rem;
|
|
place-items: center;
|
|
border: 1px solid rgba(255, 255, 255, 0.26);
|
|
border-radius: var(--radius-pill);
|
|
background: rgba(1, 13, 39, 0.76);
|
|
color: white;
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.galleryCaption {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: var(--space-4);
|
|
padding: var(--space-3) var(--space-1) 0;
|
|
color: var(--text-muted);
|
|
font-size: var(--font-size-body-small);
|
|
line-height: var(--line-height-body-small);
|
|
}
|
|
|
|
.galleryCaption span:last-child {
|
|
flex: 0 0 auto;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.thumbnailRail {
|
|
display: flex;
|
|
width: 100%;
|
|
gap: var(--space-3);
|
|
margin-top: var(--space-4);
|
|
padding: var(--space-1);
|
|
overflow-x: auto;
|
|
overscroll-behavior-inline: contain;
|
|
scroll-snap-type: inline proximity;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.thumbnailButton,
|
|
.viewerThumbnail {
|
|
position: relative;
|
|
display: flex;
|
|
flex: 0 0 7rem;
|
|
aspect-ratio: 16 / 9;
|
|
padding: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
scroll-snap-align: start;
|
|
border: 2px solid transparent;
|
|
border-radius: var(--radius-md);
|
|
background: var(--color-blue-950);
|
|
cursor: pointer;
|
|
opacity: 0.64;
|
|
transition:
|
|
border-color var(--motion-duration-fast) ease,
|
|
opacity var(--motion-duration-fast) ease,
|
|
transform var(--motion-duration-fast) var(--motion-ease-out);
|
|
}
|
|
|
|
.thumbnailButton[data-selected='true'],
|
|
.viewerThumbnail[data-selected='true'] {
|
|
border-color: var(--accent-default);
|
|
opacity: 1;
|
|
}
|
|
|
|
.thumbnailImage {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.viewerDialog {
|
|
position: fixed;
|
|
inset: 0;
|
|
width: 100vw;
|
|
max-width: none;
|
|
height: 100dvh;
|
|
max-height: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
border: 0;
|
|
background: rgba(0, 0, 0, 0.98);
|
|
color: white;
|
|
opacity: 0;
|
|
transition: opacity 200ms var(--motion-ease-out);
|
|
}
|
|
|
|
.viewerDialog::backdrop {
|
|
background: rgba(0, 0, 0, 0.92);
|
|
}
|
|
|
|
.viewerDialog[data-state='open'] {
|
|
opacity: 1;
|
|
}
|
|
|
|
.viewerDialog[data-state='closing'] {
|
|
opacity: 0;
|
|
transition-duration: 160ms;
|
|
}
|
|
|
|
.viewerPanel {
|
|
display: grid;
|
|
width: 100%;
|
|
height: 100%;
|
|
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
|
|
}
|
|
|
|
.viewerHeader {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: flex;
|
|
min-height: 4.5rem;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--space-4);
|
|
padding: var(--space-3) var(--space-5);
|
|
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent);
|
|
}
|
|
|
|
.viewerHeader > div {
|
|
display: grid;
|
|
max-width: min(48rem, calc(100vw - 6rem));
|
|
gap: var(--space-1);
|
|
}
|
|
|
|
.viewerHeader strong {
|
|
overflow: hidden;
|
|
font-size: var(--font-size-body-small);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.viewerHeader span {
|
|
color: rgba(255, 255, 255, 0.66);
|
|
font-size: var(--font-size-label-small);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.viewerIconButton,
|
|
.viewerNavButton {
|
|
display: grid;
|
|
width: 2.75rem;
|
|
height: 2.75rem;
|
|
flex: 0 0 auto;
|
|
padding: 0;
|
|
place-items: center;
|
|
border: 1px solid rgba(255, 255, 255, 0.24);
|
|
border-radius: var(--radius-pill);
|
|
background: rgba(19, 28, 45, 0.72);
|
|
color: white;
|
|
cursor: pointer;
|
|
backdrop-filter: blur(10px);
|
|
transition:
|
|
background-color var(--motion-duration-fast) ease,
|
|
border-color var(--motion-duration-fast) ease,
|
|
transform var(--motion-duration-fast) var(--motion-ease-out);
|
|
}
|
|
|
|
.viewerCanvas {
|
|
position: relative;
|
|
display: flex;
|
|
min-height: 0;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
padding: var(--space-3) 5rem;
|
|
touch-action: none;
|
|
}
|
|
|
|
.viewerImage {
|
|
display: block;
|
|
width: auto;
|
|
max-width: 100%;
|
|
height: auto;
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
user-select: none;
|
|
}
|
|
|
|
.viewerNavButton {
|
|
position: absolute;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.viewerNavButton:active {
|
|
transform: translateY(-50%) scale(0.97);
|
|
}
|
|
|
|
.viewerPrevious {
|
|
inset-inline-start: var(--space-4);
|
|
}
|
|
|
|
.viewerNext {
|
|
inset-inline-end: var(--space-4);
|
|
}
|
|
|
|
.viewerFilmstrip {
|
|
display: flex;
|
|
width: 100%;
|
|
gap: var(--space-2);
|
|
padding: var(--space-3) var(--space-5) var(--space-5);
|
|
overflow-x: auto;
|
|
justify-content: safe center;
|
|
overscroll-behavior-inline: contain;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.viewerThumbnail {
|
|
flex-basis: 6rem;
|
|
border-color: rgba(255, 255, 255, 0.16);
|
|
}
|
|
|
|
.shareDialog {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: grid;
|
|
width: 100vw;
|
|
max-width: none;
|
|
height: 100dvh;
|
|
max-height: none;
|
|
margin: 0;
|
|
padding: var(--space-4);
|
|
place-items: center;
|
|
overflow: hidden;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.shareDialog:not([open]) {
|
|
display: none;
|
|
}
|
|
|
|
.shareDialog::backdrop {
|
|
background: rgba(1, 13, 39, 0.62);
|
|
opacity: 0;
|
|
backdrop-filter: blur(4px);
|
|
transition: opacity 180ms var(--motion-ease-out);
|
|
}
|
|
|
|
.shareDialog[data-state='open']::backdrop {
|
|
opacity: 1;
|
|
}
|
|
|
|
.shareDialog[data-state='closing']::backdrop {
|
|
opacity: 0;
|
|
transition-duration: 140ms;
|
|
}
|
|
|
|
.sharePanel {
|
|
width: min(30rem, 100%);
|
|
padding: var(--space-5);
|
|
border: 1px solid var(--border-strong);
|
|
border-radius: var(--radius-xl);
|
|
background: var(--bg-raised);
|
|
box-shadow: 0 1.5rem 5rem rgba(1, 13, 39, 0.3);
|
|
opacity: 0;
|
|
transform: scale(0.97) translateY(0.5rem);
|
|
transition:
|
|
opacity 180ms var(--motion-ease-out),
|
|
transform 180ms var(--motion-ease-out);
|
|
}
|
|
|
|
.shareDialog[data-state='open'] .sharePanel {
|
|
opacity: 1;
|
|
transform: scale(1) translateY(0);
|
|
}
|
|
|
|
.shareDialog[data-state='closing'] .sharePanel {
|
|
opacity: 0;
|
|
transform: scale(0.98) translateY(0.25rem);
|
|
transition-duration: 140ms;
|
|
}
|
|
|
|
.shareDialog[data-motion='none'] .sharePanel,
|
|
.shareDialog[data-motion='none']::backdrop {
|
|
transition-duration: 0ms;
|
|
}
|
|
|
|
.shareHeader {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: var(--space-4);
|
|
padding-bottom: var(--space-4);
|
|
border-bottom: 1px solid var(--border-default);
|
|
}
|
|
|
|
.shareHeader h2 {
|
|
margin-bottom: var(--space-1);
|
|
color: var(--text-primary);
|
|
font-size: var(--font-size-h3);
|
|
line-height: var(--line-height-h3);
|
|
}
|
|
|
|
.shareHeader p {
|
|
max-width: 22rem;
|
|
color: var(--text-secondary);
|
|
font-size: var(--font-size-body-small);
|
|
line-height: var(--line-height-body-small);
|
|
}
|
|
|
|
.shareOptions {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: var(--space-3);
|
|
margin-block: var(--space-5);
|
|
}
|
|
|
|
.shareOptions a {
|
|
display: flex;
|
|
min-width: 0;
|
|
min-height: 5rem;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
gap: var(--space-2);
|
|
padding: var(--space-3) var(--space-2);
|
|
border: 1px solid var(--border-default);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--bg-surface);
|
|
color: var(--text-primary);
|
|
font-size: var(--font-size-label-small);
|
|
font-weight: 650;
|
|
text-align: center;
|
|
transition:
|
|
border-color var(--motion-duration-fast) ease,
|
|
background-color var(--motion-duration-fast) ease,
|
|
transform var(--motion-duration-fast) var(--motion-ease-out);
|
|
}
|
|
|
|
.shareOptions svg,
|
|
.copyLinkButton svg {
|
|
width: var(--size-icon-md);
|
|
height: var(--size-icon-md);
|
|
}
|
|
|
|
.shareOptions a[data-share-service='telegram'] svg {
|
|
color: #26a5e4;
|
|
}
|
|
|
|
.shareOptions a[data-share-service='whatsapp'] svg {
|
|
color: #25d366;
|
|
}
|
|
|
|
.shareOptions a[data-share-service='linkedin'] svg {
|
|
color: #0a66c2;
|
|
}
|
|
|
|
.copyLinkButton {
|
|
display: flex;
|
|
width: 100%;
|
|
min-height: 3rem;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-2);
|
|
padding: var(--space-3) var(--space-4);
|
|
border: 1px solid var(--border-strong);
|
|
border-radius: var(--radius-md);
|
|
background: var(--bg-surface);
|
|
color: var(--text-primary);
|
|
cursor: pointer;
|
|
font: inherit;
|
|
font-weight: 700;
|
|
transition:
|
|
border-color var(--motion-duration-fast) ease,
|
|
background-color var(--motion-duration-fast) ease,
|
|
transform var(--motion-duration-fast) var(--motion-ease-out);
|
|
}
|
|
|
|
.galleryStage:focus-visible,
|
|
.thumbnailButton:focus-visible,
|
|
.viewerThumbnail:focus-visible,
|
|
.viewerIconButton:focus-visible,
|
|
.viewerNavButton:focus-visible,
|
|
.shareOptions a:focus-visible,
|
|
.copyLinkButton:focus-visible {
|
|
outline: 3px solid var(--focus-ring, var(--accent-default));
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
.galleryStage:active,
|
|
.thumbnailButton:active,
|
|
.viewerThumbnail:active,
|
|
.viewerIconButton:active {
|
|
transform: scale(0.97);
|
|
}
|
|
|
|
.shareOptions a:active,
|
|
.copyLinkButton:active {
|
|
transform: scale(0.97);
|
|
}
|
|
|
|
.storyGrid,
|
|
.stackGrid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: var(--space-7);
|
|
}
|
|
|
|
.list {
|
|
display: grid;
|
|
gap: var(--space-3);
|
|
padding-inline-start: var(--space-5);
|
|
}
|
|
|
|
.list li::marker {
|
|
color: var(--accent-default);
|
|
}
|
|
|
|
.decisions {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: var(--space-3);
|
|
}
|
|
|
|
.decision {
|
|
padding: var(--space-5);
|
|
border: 1px solid var(--border-default);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--bg-surface);
|
|
}
|
|
|
|
.decision > span {
|
|
display: inline-flex;
|
|
margin-bottom: var(--space-3);
|
|
padding: var(--space-1) var(--space-3);
|
|
border-radius: var(--radius-pill);
|
|
background: var(--bg-subtle);
|
|
color: var(--action-link);
|
|
font-size: var(--font-size-label-small);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.decision h3 {
|
|
margin-bottom: var(--space-2);
|
|
color: var(--text-primary);
|
|
font-size: var(--font-size-body-default);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.decision p {
|
|
font-size: var(--font-size-body-small);
|
|
line-height: var(--line-height-body-small);
|
|
}
|
|
|
|
.metrics {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-3);
|
|
margin-bottom: var(--space-5);
|
|
}
|
|
|
|
.metrics > div {
|
|
min-width: 9rem;
|
|
padding: var(--space-4);
|
|
border-radius: var(--radius-md);
|
|
background: var(--bg-subtle);
|
|
}
|
|
|
|
.metrics dt {
|
|
color: var(--text-primary);
|
|
font-size: var(--font-size-h3);
|
|
font-weight: 760;
|
|
}
|
|
|
|
.metrics dd {
|
|
color: var(--text-secondary);
|
|
font-size: var(--font-size-body-small);
|
|
}
|
|
|
|
.badges {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-2);
|
|
}
|
|
|
|
.badges span {
|
|
padding: var(--space-2) var(--space-4);
|
|
border: 1px solid var(--border-default);
|
|
border-radius: var(--radius-pill);
|
|
background: var(--bg-surface);
|
|
color: var(--text-primary);
|
|
font-size: var(--font-size-body-small);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.projectNavigation {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: var(--space-3);
|
|
margin-top: var(--space-9);
|
|
padding-top: var(--space-6);
|
|
border-top: 1px solid var(--border-default);
|
|
}
|
|
|
|
.projectNavLink {
|
|
display: flex;
|
|
min-height: 5rem;
|
|
align-items: center;
|
|
gap: var(--space-3);
|
|
padding: var(--space-4);
|
|
border: 1px solid var(--border-default);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--bg-surface);
|
|
transition:
|
|
background-color var(--motion-duration-fast) ease,
|
|
border-color var(--motion-duration-fast) ease,
|
|
transform var(--motion-duration-fast) var(--motion-ease-out);
|
|
}
|
|
|
|
.projectNavLink svg {
|
|
flex: 0 0 auto;
|
|
width: var(--size-icon-md);
|
|
}
|
|
|
|
.projectNavLink span {
|
|
display: grid;
|
|
gap: var(--space-1);
|
|
}
|
|
|
|
.projectNavLink small {
|
|
color: var(--text-muted);
|
|
font-size: var(--font-size-label-small);
|
|
}
|
|
|
|
.projectNavLink strong {
|
|
color: var(--text-primary);
|
|
font-size: var(--font-size-body-default);
|
|
}
|
|
|
|
.nextProject {
|
|
justify-content: flex-end;
|
|
text-align: end;
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.sheet {
|
|
width: calc(100vw - 1rem);
|
|
height: 90dvh;
|
|
}
|
|
|
|
.content {
|
|
padding-inline: var(--space-6);
|
|
}
|
|
|
|
.decisions {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 650px) {
|
|
.sheet {
|
|
width: 100vw;
|
|
height: 92dvh;
|
|
}
|
|
|
|
.utilityHeader {
|
|
min-height: 4.25rem;
|
|
padding-inline: var(--space-4);
|
|
}
|
|
|
|
.drawerLabel {
|
|
justify-self: start;
|
|
}
|
|
|
|
.actionText {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
}
|
|
|
|
.actionButton {
|
|
width: 2.75rem;
|
|
padding: 0;
|
|
}
|
|
|
|
.content {
|
|
padding: var(--space-7) var(--space-4) calc(var(--space-7) + env(safe-area-inset-bottom, 0px));
|
|
}
|
|
|
|
.hero,
|
|
.section {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.title {
|
|
font-size: 2rem;
|
|
line-height: 1.15;
|
|
}
|
|
|
|
.introduction {
|
|
font-size: var(--font-size-body-default);
|
|
line-height: var(--line-height-body-default);
|
|
}
|
|
|
|
.facts,
|
|
.storyGrid,
|
|
.stackGrid,
|
|
.projectNavigation {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.galleryStage {
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.galleryCaption {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.thumbnailRail {
|
|
gap: var(--space-2);
|
|
margin-inline: calc(var(--space-1) * -1);
|
|
}
|
|
|
|
.thumbnailButton {
|
|
flex-basis: 5.75rem;
|
|
}
|
|
|
|
.viewerHeader {
|
|
padding-inline: var(--space-4);
|
|
}
|
|
|
|
.viewerCanvas {
|
|
padding-inline: var(--space-3);
|
|
}
|
|
|
|
.viewerNavButton {
|
|
display: none;
|
|
}
|
|
|
|
.viewerFilmstrip {
|
|
justify-content: flex-start;
|
|
padding-inline: var(--space-3);
|
|
}
|
|
|
|
.sharePanel {
|
|
padding: var(--space-4);
|
|
}
|
|
|
|
.shareOptions {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (hover: hover) and (pointer: fine) {
|
|
.actionButton:hover,
|
|
.iconButton:hover,
|
|
.projectNavLink:hover,
|
|
.galleryStage:hover,
|
|
.viewerIconButton:hover,
|
|
.viewerNavButton:hover {
|
|
border-color: var(--accent-default);
|
|
background: var(--bg-subtle);
|
|
}
|
|
|
|
.thumbnailButton:hover,
|
|
.viewerThumbnail:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.shareOptions a:hover,
|
|
.copyLinkButton:hover {
|
|
border-color: var(--accent-default);
|
|
background: var(--bg-subtle);
|
|
}
|
|
|
|
.projectNavLink:hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.sheet {
|
|
transform: translateY(0);
|
|
transition: opacity 120ms ease;
|
|
}
|
|
|
|
.dialog[data-state='opening'] .sheet,
|
|
.dialog[data-state='closing'] .sheet {
|
|
opacity: 0;
|
|
}
|
|
|
|
.dialog::backdrop {
|
|
transition-duration: 120ms;
|
|
}
|
|
|
|
.viewerDialog {
|
|
transition-duration: 120ms;
|
|
}
|
|
|
|
.sharePanel,
|
|
.shareDialog::backdrop {
|
|
transition-duration: 120ms;
|
|
}
|
|
|
|
.sharePanel,
|
|
.shareDialog[data-state='closing'] .sharePanel {
|
|
transform: none;
|
|
}
|
|
|
|
.thumbnailRail {
|
|
scroll-behavior: auto;
|
|
}
|
|
}
|