468 lines
8.2 KiB
CSS
468 lines
8.2 KiB
CSS
.page {
|
|
min-height: 100vh;
|
|
padding: 44px clamp(18px, 4vw, 64px) 72px;
|
|
background:
|
|
radial-gradient(circle at 12% 2%, rgba(241, 183, 41, 0.13), transparent 28rem),
|
|
linear-gradient(180deg, #fffdf8 0%, #f5f1e8 100%);
|
|
color: #221b0f;
|
|
}
|
|
|
|
.hero,
|
|
.toolDock,
|
|
.previewShell,
|
|
.labNote {
|
|
width: min(100%, 1480px);
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.hero {
|
|
display: grid;
|
|
gap: 22px;
|
|
padding-bottom: 28px;
|
|
}
|
|
|
|
.backLink {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
width: max-content;
|
|
color: #6a5b3e;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
transition: color 160ms ease, transform 160ms ease;
|
|
}
|
|
|
|
.backLink:hover {
|
|
color: #2f2514;
|
|
transform: translateX(-2px);
|
|
}
|
|
|
|
.eyebrow {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: max-content;
|
|
padding: 7px 10px;
|
|
border: 1px solid rgba(126, 89, 13, 0.13);
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.72);
|
|
color: #76540d;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.11em;
|
|
text-transform: uppercase;
|
|
box-shadow: 0 8px 30px rgba(62, 44, 10, 0.06);
|
|
}
|
|
|
|
.heroCopy {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 32px;
|
|
}
|
|
|
|
.heroCopy h1 {
|
|
margin: 0;
|
|
max-width: 820px;
|
|
font-size: clamp(38px, 5.2vw, 76px);
|
|
font-weight: 750;
|
|
letter-spacing: -0.055em;
|
|
line-height: 0.98;
|
|
}
|
|
|
|
.heroCopy p {
|
|
max-width: 760px;
|
|
margin: 18px 0 0;
|
|
color: #6e624c;
|
|
font-size: clamp(14px, 1.4vw, 17px);
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.saveState {
|
|
display: inline-flex;
|
|
flex: 0 0 auto;
|
|
align-items: center;
|
|
gap: 7px;
|
|
margin-bottom: 4px;
|
|
padding: 8px 11px;
|
|
border: 1px solid rgba(33, 105, 70, 0.14);
|
|
border-radius: 999px;
|
|
background: rgba(235, 249, 240, 0.82);
|
|
color: #286744;
|
|
font-size: 11px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.025em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.saveError {
|
|
border-color: rgba(159, 69, 46, 0.18);
|
|
background: rgba(255, 239, 233, 0.88);
|
|
color: #98482e;
|
|
}
|
|
|
|
.toolDock {
|
|
position: relative;
|
|
z-index: 70;
|
|
display: grid;
|
|
gap: 14px;
|
|
margin-bottom: 18px;
|
|
padding: 16px;
|
|
border: 1px solid rgba(82, 58, 12, 0.13);
|
|
border-radius: 22px;
|
|
background: rgba(255, 255, 255, 0.86);
|
|
box-shadow: 0 20px 60px rgba(65, 46, 11, 0.12);
|
|
backdrop-filter: blur(22px) saturate(1.25);
|
|
}
|
|
|
|
.dockSection {
|
|
display: grid;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.dockLabel {
|
|
color: #74664d;
|
|
font-size: 9px;
|
|
font-weight: 850;
|
|
letter-spacing: 0.11em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.modeButtons,
|
|
.layerControls {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 7px;
|
|
}
|
|
|
|
.modeButtons button,
|
|
.layerControls button,
|
|
.resetButton {
|
|
appearance: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
min-height: 32px;
|
|
padding: 7px 10px;
|
|
border: 1px solid rgba(78, 59, 22, 0.12);
|
|
border-radius: 9px;
|
|
background: #f8f6f1;
|
|
color: #62553e;
|
|
font: inherit;
|
|
font-size: 10px;
|
|
font-weight: 760;
|
|
cursor: pointer;
|
|
transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
|
|
}
|
|
|
|
.modeButtons button:hover,
|
|
.layerControls button:hover,
|
|
.resetButton:hover {
|
|
transform: translateY(-1px);
|
|
border-color: rgba(172, 117, 1, 0.38);
|
|
}
|
|
|
|
.modeButtons .toolActive {
|
|
border-color: rgba(188, 126, 0, 0.48);
|
|
background: #f1b729;
|
|
color: #372605;
|
|
box-shadow: 0 5px 16px rgba(144, 94, 0, 0.16);
|
|
}
|
|
|
|
.logoRail {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
|
|
gap: 7px;
|
|
padding: 1px;
|
|
}
|
|
|
|
.logoButton {
|
|
appearance: none;
|
|
display: grid;
|
|
grid-template-rows: 30px 1fr;
|
|
place-items: center;
|
|
gap: 4px;
|
|
min-height: 60px;
|
|
padding: 7px 6px 5px;
|
|
border: 1px solid rgba(85, 63, 20, 0.1);
|
|
border-radius: 11px;
|
|
background: #fbfaf7;
|
|
color: #6b5e47;
|
|
cursor: copy;
|
|
transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
|
|
}
|
|
|
|
.logoButton:hover {
|
|
transform: translateY(-1px);
|
|
border-color: rgba(183, 123, 0, 0.38);
|
|
background: #fff9e9;
|
|
}
|
|
|
|
.logoButton img {
|
|
width: auto;
|
|
max-width: 70px;
|
|
height: 27px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.logoButton span {
|
|
overflow: hidden;
|
|
max-width: 76px;
|
|
font-size: 8px;
|
|
font-weight: 750;
|
|
line-height: 1.1;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.logoButtonActive {
|
|
border-color: rgba(151, 99, 0, 0.6);
|
|
background: #f1b729;
|
|
color: #342302;
|
|
box-shadow: 0 0 0 2px rgba(241, 183, 41, 0.18), 0 7px 18px rgba(98, 62, 0, 0.14);
|
|
}
|
|
|
|
.dockFooter {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
align-items: flex-start;
|
|
gap: 14px;
|
|
padding-top: 12px;
|
|
border-top: 1px solid rgba(77, 56, 14, 0.09);
|
|
}
|
|
|
|
.controlStack {
|
|
display: grid;
|
|
gap: 7px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.layerControls button > span {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 999px;
|
|
background: #bcb5a8;
|
|
box-shadow: 0 0 0 2px rgba(106, 93, 69, 0.08);
|
|
}
|
|
|
|
.layerControls .layerEnabled {
|
|
border-color: rgba(183, 123, 0, 0.22);
|
|
background: #fff8e4;
|
|
color: #4c380f;
|
|
}
|
|
|
|
.layerControls .layerEnabled > span {
|
|
background: #e1a714;
|
|
box-shadow: 0 0 0 2px rgba(241, 183, 41, 0.2), 0 0 8px rgba(241, 183, 41, 0.45);
|
|
}
|
|
|
|
.resetButton {
|
|
flex: 0 0 auto;
|
|
background: transparent;
|
|
}
|
|
|
|
.previewShell {
|
|
position: relative;
|
|
overflow: hidden;
|
|
min-height: 680px;
|
|
border: 1px solid rgba(83, 59, 12, 0.16);
|
|
border-radius: clamp(20px, 3vw, 34px);
|
|
isolation: isolate;
|
|
box-shadow: 0 34px 100px rgba(48, 31, 2, 0.16);
|
|
}
|
|
|
|
.previewShell::after {
|
|
position: absolute;
|
|
z-index: 30;
|
|
inset: 0;
|
|
border: 1px solid rgba(255, 255, 255, 0.44);
|
|
border-radius: inherit;
|
|
content: "";
|
|
pointer-events: none;
|
|
}
|
|
|
|
.solid {
|
|
background:
|
|
linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.75)),
|
|
radial-gradient(circle at 50% 45%, #fff0be 0%, #fffaf0 54%, #f6f1e7 100%);
|
|
}
|
|
|
|
.previewAtmosphere {
|
|
position: absolute;
|
|
z-index: 0;
|
|
inset: 0;
|
|
overflow: hidden;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.previewAtmosphere span {
|
|
position: absolute;
|
|
width: 34vw;
|
|
max-width: 500px;
|
|
aspect-ratio: 1;
|
|
border-radius: 999px;
|
|
filter: blur(70px);
|
|
opacity: 0.32;
|
|
}
|
|
|
|
.previewAtmosphere span:nth-child(1) {
|
|
top: 8%;
|
|
left: 8%;
|
|
background: #f1b729;
|
|
}
|
|
|
|
.previewAtmosphere span:nth-child(2) {
|
|
right: 4%;
|
|
bottom: 6%;
|
|
background: #fff1bc;
|
|
}
|
|
|
|
.previewAtmosphere span:nth-child(3) {
|
|
top: 38%;
|
|
left: 48%;
|
|
width: 18vw;
|
|
background: #c28100;
|
|
opacity: 0.18;
|
|
}
|
|
|
|
.previewMeta {
|
|
position: absolute;
|
|
z-index: 20;
|
|
top: clamp(18px, 3vw, 34px);
|
|
left: clamp(18px, 3vw, 38px);
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
width: calc(100% - clamp(36px, 6vw, 76px));
|
|
pointer-events: none;
|
|
}
|
|
|
|
.previewMeta span {
|
|
color: #997020;
|
|
font-size: 9px;
|
|
font-weight: 850;
|
|
letter-spacing: 0.13em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.previewMeta h2 {
|
|
margin: 1px 0 0;
|
|
font-size: clamp(21px, 2.7vw, 34px);
|
|
letter-spacing: -0.035em;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.previewMeta p {
|
|
max-width: 430px;
|
|
margin: 3px 0 0;
|
|
color: #79694b;
|
|
font-size: 11px;
|
|
line-height: 1.5;
|
|
text-align: right;
|
|
}
|
|
|
|
.gridStage {
|
|
position: relative;
|
|
z-index: 2;
|
|
padding-top: 34px;
|
|
}
|
|
|
|
.labNote {
|
|
margin-top: 16px;
|
|
color: #7c705b;
|
|
font-size: 11px;
|
|
text-align: center;
|
|
}
|
|
|
|
.labNote strong {
|
|
color: #493a1e;
|
|
}
|
|
|
|
@media (max-width: 1120px) {
|
|
.dockFooter {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.resetButton {
|
|
width: max-content;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.page {
|
|
padding: 28px 14px 52px;
|
|
}
|
|
|
|
.hero {
|
|
gap: 16px;
|
|
}
|
|
|
|
.heroCopy {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.saveState {
|
|
width: max-content;
|
|
margin: 0;
|
|
}
|
|
|
|
.toolDock {
|
|
padding: 13px;
|
|
border-radius: 17px;
|
|
}
|
|
|
|
.modeButtons {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.modeButtons button {
|
|
padding-inline: 7px;
|
|
}
|
|
|
|
.layerControls {
|
|
flex-wrap: nowrap;
|
|
overflow-x: auto;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.layerControls button {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.previewShell {
|
|
min-height: 590px;
|
|
border-radius: 20px;
|
|
}
|
|
|
|
.previewMeta {
|
|
display: grid;
|
|
gap: 7px;
|
|
}
|
|
|
|
.previewMeta p {
|
|
max-width: 290px;
|
|
text-align: left;
|
|
}
|
|
|
|
.gridStage {
|
|
padding-top: 72px;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.backLink,
|
|
.modeButtons button,
|
|
.layerControls button,
|
|
.resetButton,
|
|
.logoButton {
|
|
transition: none;
|
|
}
|
|
}
|