@font-face {
  font-family: "Soft Reboot Display";
  src: url("soft-reboot.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: Roboto;
  src: url("roboto-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Roboto;
  src: url("roboto-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("ibm-plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("ibm-plex-mono-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --canvas: #101511;
  --screen: #111a14;
  --surface: #18221a;
  --deep: #0b130e;
  --edge: #354d37;
  --muted: #b2c5af;
  --text: #e6f4df;
  --accent: #b9f594;
  --ink: #162511;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --display: "Soft Reboot Display", var(--mono);
  font-family: Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--canvas);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html:not([data-ready]) .js-only { display: none; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 50% -12%, #253525 0%, transparent 67%),
    radial-gradient(circle, #263327 1px, transparent 1px) 0 0 / 24px 24px,
    var(--canvas);
}

img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button:disabled { cursor: default; }
p, h1, h2, h3 { margin: 0; }
::selection { background: var(--accent); color: var(--ink); }

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  transform: translateY(-200%);
  padding: 12px 16px;
  background: var(--accent);
  color: var(--ink);
}

.skip-link:focus { transform: none; }

.site-shell {
  width: min(1240px, calc(100% - 88px));
  margin-inline: auto;
  padding-bottom: 44px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 91px;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  font: 18px/1 var(--display);
  white-space: nowrap;
}

.brand-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #597951;
  background: #1b2c1b;
  box-shadow: inset 0 0 0 2px #131f13;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 2.5vw, 38px);
  align-items: center;
  color: var(--muted);
  font: 700 13px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .055em;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  transition: color .18s;
}

.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }
.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset: auto 0 5px;
  height: 2px;
  background: var(--accent);
}

.monitor {
  position: relative;
  padding: 11px 11px 0;
  border: 1px solid #c2d6a5;
  border-radius: 4px;
  background:
    repeating-conic-gradient(#9db58a 0% 25%, #91a97f 0% 50%) 0 0 / 4px 4px;
  box-shadow: inset 0 0 0 2px #819971, 0 0 0 3px #1d291b, 0 24px 64px #0008;
}

.screen {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #293f2b;
  border-radius: 4px;
  background: var(--screen);
  box-shadow: 0 0 0 3px #617956, 0 0 0 4px #afc598;
}

.screen::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  opacity: .37;
  background: repeating-linear-gradient(0deg, #030a051c 0 1px, transparent 1px 4px);
}

.system-bar, .taskbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-inline: clamp(14px, 2.4vw, 29px);
  background: #1b281c;
  color: #c2d8bd;
  font: 700 11px/1.25 var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.system-bar {
  min-height: 41px;
  border-bottom: 1px solid #3c533d;
}

.system-path, .system-status, .taskbar > span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.system-path a:hover { color: var(--accent); text-decoration: underline; }
.status-dot, .taskbar-square { width: 7px; height: 7px; background: var(--accent); flex: none; }
.status-dot { box-shadow: 0 0 12px #aefc76a8; }
[data-connection="offline"] .status-dot { background: #e7b481; box-shadow: none; }

.taskbar {
  min-height: 34px;
  border-top: 1px solid #354c36;
  background: #19251a;
}

.taskbar-square { width: 5px; height: 5px; background: #91b986; }
.taskbar time { font-variant-numeric: tabular-nums; }

.bezel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  color: #22341c;
  padding-inline: 8px 2px;
}

.bezel-name { font: 700 10px/1 var(--mono); letter-spacing: .18em; }
.speaker { width: 68px; height: 8px; opacity: .55; background: repeating-linear-gradient(90deg, #365032 0 2px, transparent 2px 5px); }

.motion-control {
  position: relative;
  justify-self: end;
  z-index: 5;
}

.motion-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  min-height: 30px;
  border: 1px solid #4e6746;
  border-radius: 2px;
  background: #b7ce9f;
  color: #1b3017;
  cursor: pointer;
  font: 700 10px/1 var(--mono);
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px #d2dfba, 1px 1px #617b52;
}

.motion-switch:hover { background: #d1e3b5; }
.motion-switch:focus-visible { outline-color: #152512; }
.power-light { width: 6px; height: 6px; background: #3d5240; box-shadow: none; }
.motion-switch[aria-pressed="true"] .power-light {
  background: #67e84a;
  box-shadow: 0 0 8px #8dff6a;
}
.motion-switch[aria-pressed="false"] .power-light { background: #3d5240; box-shadow: none; }

.desktop-content, .shop-content {
  background:
    radial-gradient(ellipse at 65% 20%, #1f33245c, transparent 68%),
    linear-gradient(#65866210 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(90deg, #65866210 1px, transparent 1px) 0 0 / 30px 30px,
    var(--screen);
}

.desktop-content {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: clamp(30px, 5.1vw, 76px);
  padding: clamp(34px, 4.4vw, 62px) clamp(30px, 5vw, 72px);
  min-height: 568px;
}

.desktop-intro { min-width: 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  font: 700 12px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: .095em;
  color: var(--muted);
}

.prompt-mark { color: var(--accent); }

.pixel-title {
  display: block;
  width: fit-content;
  font: 400 clamp(52px, 6.1vw, 92px)/1.02 var(--display);
  color: var(--text);
  letter-spacing: -.045em;
}

.desktop-intro .pixel-title > span { display: block; color: var(--accent); white-space: nowrap; }

.hero-shark {
  display: inline-block;
  width: 1.04em;
  height: auto;
  margin-inline-start: 0.85em;
  vertical-align: -.04em;
  image-rendering: pixelated;
  filter: drop-shadow(2px 3px #080f0a99);
}

.terminal-block {
  display: inline-block;
  width: .15em;
  height: .15em;
  margin-left: .11em;
  background: currentColor;
  vertical-align: .03em;
}

.intro-copy {
  margin-top: 19px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  text-wrap: balance;
}

.folders {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(7px, 1.35vw, 20px);
  margin-top: 29px;
  margin-left: -7px;
}

.folder {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  min-width: 91px;
  padding: 9px 8px 10px;
  border: 1px solid transparent;
  font: 700 13px/1.2 var(--mono);
  color: #d5ebcf;
  transition: background .15s, border-color .15s, color .15s;
}

button.folder, a.folder {
  appearance: none;
  background: transparent;
  color: #d5ebcf;
  cursor: pointer;
  text-align: center;
}

.folder-icon { display: grid; }

.folder img, .desktop-pointer, .brand-icon img, .system-path img, .window-bar img, .button img, .motion-switch img {
  image-rendering: pixelated;
}

.folder img { transition: transform .18s steps(3, end); }
.folder:hover, .folder:focus-visible { background: #35503285; border-color: #557653; color: #ebffe4; }
.folder:hover img, .folder:focus-visible img { transform: translateY(-4px); }
.folder:active img { transform: translateY(1px); }
.desktop-pointer { position: absolute; top: 64px; left: min(100% - 24px, 316px); pointer-events: none; filter: drop-shadow(2px 3px #030a05aa); }

.window {
  border: 1px solid #688763;
  border-radius: 2px;
  background: #1b281d;
  color: var(--text);
}

.file-window {
  width: 100%;
  max-width: 478px;
  justify-self: end;
  box-shadow: 6px 6px 0 #080e0a92;
}

.window-bar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 35px;
  border-bottom: 1px solid #516b4d;
  background: #314b31;
  color: #e5f4dc;
  font: 700 11px/1.3 var(--mono);
  letter-spacing: .065em;
  text-transform: uppercase;
}

.window-bar > span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  overflow-wrap: anywhere;
}

.window-control {
  display: grid;
  place-items: center;
  width: 39px;
  height: 100%;
  min-height: 34px;
  padding: 0;
  border: 0;
  border-left: 1px solid #617f5c;
  background: transparent;
  color: inherit;
  font: 22px/1 var(--mono);
  cursor: pointer;
}

.window-control:hover { background: #466341; }
.window-control:focus-visible { outline-offset: -4px; }
.file-window-body { padding: 12px; }

.file-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1.68;
  object-fit: cover;
  border: 1px solid #4b6849;
  background: #111e16;
}

.jar-thumbnail { object-position: center 32%; }

.file-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; padding: 17px 2px 16px; }
.file-heading h2, .dialog-body h2 { font-size: 25px; line-height: 1.12; }
.file-heading p, .dialog-body p { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.dimensions { white-space: nowrap; }

.file-price {
  padding: 5px 7px;
  border: 1px solid #516f48;
  background: #293e27;
  color: var(--accent);
  font: 700 11px/1 var(--mono);
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 0;
  font: 700 13px/1.2 var(--mono);
  cursor: pointer;
  transition: background .18s, border-color .18s, color .18s;
}

.button-primary { color: var(--ink); background: var(--accent); border-color: #d3ffb8; box-shadow: inset 0 -2px #86bf65; }
.button-primary:hover { background: #d0ffb2; }
.button-primary:active { box-shadow: inset 0 2px #86bf65; }
.download-button { width: 100%; justify-content: space-between; text-align: left; }
.button-outline { color: var(--accent); background: #1f3221; border-color: #526e4c; }
.button-outline:hover { color: #e6ffda; background: #304a2c; border-color: #8ab77d; }

dialog.window {
  width: min(550px, calc(100% - 30px));
  max-height: min(760px, calc(100% - 30px));
  padding: 0;
  box-shadow: 7px 7px 0 #050a0699, 0 18px 90px #0009;
}

dialog::backdrop { background: #050906c9; }
dialog .window-bar { position: sticky; top: 0; z-index: 1; }
dialog .window-control { width: 44px; min-height: 40px; }
.dialog-body { padding: 17px; }
.dialog-art { width: 100%; height: auto; max-height: 44vh; object-fit: contain; margin-bottom: 17px; background: var(--deep); border: 1px solid var(--edge); }
.dialog-body .download-button { margin-top: 17px; }

.shop-content { padding: 39px clamp(24px, 4.6vw, 65px) 49px; }
.shop-heading .pixel-title { color: var(--accent); font-size: clamp(46px, 5.4vw, 74px); }
.shop-heading .intro-copy { margin-top: 10px; }
.catalog-bar { margin: 27px 0 17px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button {
  min-height: 37px;
  border: 1px solid #486048;
  padding: 7px 10px;
  background: #172418;
  color: var(--muted);
  cursor: pointer;
  font: 700 12px/1 var(--mono);
}
.filters button:hover { background: #2a4429; color: var(--text); }
.filters button[aria-pressed="true"] { border-color: #93c07d; background: #b1e791; color: var(--ink); }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--edge); background: #19261b; box-shadow: 3px 3px #090f0a; }
.product-image { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; border-bottom: 1px solid var(--edge); background: #151f16; }
.product-info { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 15px; }
.product-type { color: #b0c7a9; font: 700 10px/1.35 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.product-info h2 { font-size: 23px; }
.product-description { flex: 0 1 auto; font-size: 14px; line-height: 1.45; color: var(--muted); }
.product-action { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: 9px; }
.product-price { font: 700 14px/1.2 var(--mono); color: var(--accent); }
.product-action .button { min-height: 40px; }
.product-availability {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 11px;
  border: 1px solid #77633d;
  background: #30281b;
  color: #eed099;
  font: 700 12px/1.2 var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

[data-motion="on"] .hero-shark { animation: shark-bob 2.8s steps(4, end) infinite; }
[data-motion="on"] .folders .folder:nth-child(1) .folder-icon { animation: icon-float 3.4s steps(3, end) infinite; }
[data-motion="on"] .folders .folder:nth-child(2) .folder-icon { animation: icon-float 3.8s .4s steps(3, end) infinite; }
[data-motion="on"] .folders .folder:nth-child(3) .folder-icon { animation: icon-float 3.1s .8s steps(3, end) infinite; }
[data-motion="on"] .motion-switch[aria-pressed="true"] .power-light { animation: light-pulse 1.6s ease-in-out infinite; }
[data-motion="on"] .terminal-block { animation: cursor-blink 1.45s step-end infinite; }
[data-motion="on"] .desktop-pointer { animation: pointer-drift 4.2s steps(6, end) infinite; }
[data-motion="on"] .desktop-intro { animation: appear .46s ease-out both; }
[data-motion="on"] .file-window { animation: appear .55s .1s ease-out both; }
[data-motion="on"] .status-dot { animation: light-pulse 3.4s ease-in-out infinite; }
[data-motion="on"] dialog.window.is-opening { animation: window-in .2s ease-out both; }
[data-motion="on"] dialog.window.is-closing { animation: window-out .16s ease-in forwards; }
[data-motion="off"] *, [data-motion="off"] *::before, [data-motion="off"] *::after { animation: none !important; transition: none !important; }

@keyframes shark-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes icon-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes window-in { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes window-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(12px) scale(.985); } }
@keyframes cursor-blink { 0%, 65%, 100% { opacity: 1; } 66%, 99% { opacity: .18; } }
@keyframes pointer-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8px, -8px); } }
@keyframes light-pulse { 50% { opacity: .55; } }
@keyframes appear { from { opacity: .05; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) *, html:not([data-motion="on"]) *::before, html:not([data-motion="on"]) *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1040px) {
  .site-shell { width: calc(100% - 60px); }
  .desktop-content { padding-inline: 35px; gap: 28px; min-height: 520px; }
  .desktop-pointer { left: min(100% - 24px, 299px); }
  .product-info { padding: 12px; }
}

@media (max-width: 790px) {
  .site-shell { width: calc(100% - 40px); }
  .site-header { min-height: 75px; }
  .desktop-content { grid-template-columns: minmax(0, 1fr); padding: 38px clamp(20px, 6.4vw, 50px); gap: 32px; }
  .pixel-title { font-size: clamp(50px, 11.3vw, 80px); }
  .file-window { justify-self: start; max-width: 100%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .below-desk { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 535px) {
  .site-shell { width: calc(100% - 24px); padding-bottom: 24px; }
  .site-header { min-height: 65px; }
  .brand { gap: 7px; font-size: 15px; }
  .brand-icon { width: 26px; height: 26px; }
  .brand-icon img { width: 16px; height: 16px; }
  .site-nav { gap: 13px; font-size: 11px; }
  .site-nav a { gap: 3px; }
  .monitor { padding: 7px 7px 0; }
  .system-bar { min-height: 35px; }
  .bezel { min-height: 42px; padding-inline: 4px 1px; }
  .bezel-name { font-size: 9px; }
  .speaker { width: 35px; }
  .motion-switch { padding-inline: 5px; font-size: 9px; }
  .desktop-content { padding: 28px 18px 25px; gap: 23px; }
  .eyebrow { margin-bottom: 15px; font-size: 10px; }
  .pixel-title { font-size: clamp(42px, 12vw, 64px); }
  .intro-copy { margin-top: 14px; font-size: 15px; }
  .folders { gap: 3px; margin-top: 20px; margin-left: -3px; }
  .folder { min-width: 73px; padding: 7px 4px; font-size: 12px; gap: 5px; }
  .folder img { width: 50px; height: 40px; }
  .desktop-pointer { left: min(100% - 20px, 234px); top: 48px; width: 18px; height: 24px; }
  .file-window-body { padding: 9px; }
  .file-heading { padding: 13px 0; }
  .file-heading h2 { font-size: 22px; }
  .shop-content { padding: 27px 15px 30px; }
  .shop-heading .intro-copy { margin-top: 4px; }
  .catalog-bar { margin-top: 20px; }
  .filters { gap: 4px; }
  .filters button { font-size: 11px; min-height: 37px; padding-inline: 7px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .product-info { padding: 14px; }
  .folder-item { grid-template-columns: 72px minmax(0, 1fr); gap: 8px; }
  .folder-item > img { width: 72px; height: 52px; }
  .field-row { flex-direction: column; }
  .field-row .button { width: 100%; }
  .contact-list li { align-items: flex-start; }
}

@media (max-width: 345px) {
  .brand { font-size: 13px; }
  .hero-shark { width: .91em; margin-inline-start: 0.7em; }
  .site-nav { gap: 8px; }
  .shop-heading .intro-copy { max-width: 150px; }
  .desktop-content { padding-inline: 13px; }
}

.art-frame { position: relative; overflow: hidden; }
.art-frame::after {
  content: "";
  position: absolute;
  inset: -42px 1px auto;
  height: 40px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(transparent, #c9ffaf2b 66%, #d4ffb84c 67%, transparent 73%);
}

[data-motion="on"] .art-frame::after { animation: scan-sweep 8s 1s linear infinite; }

@keyframes scan-sweep {
  0% { top: -42px; opacity: 0; }
  3% { opacity: .7; }
  19% { opacity: .7; }
  23%, 100% { top: 100%; opacity: 0; }
}


/* ---- folder windows, previews, forms, about ---- */

button.art-frame, .product-preview {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: inherit;
}

.product-preview:focus-visible { outline-offset: -4px; }
.product-preview:hover .product-image { outline: 1px solid #8ab77d; outline-offset: -1px; }

.motion-tip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(250px, 70vw);
  padding: 10px 12px;
  border: 1px solid #688763;
  background: #142016;
  color: var(--text);
  box-shadow: 4px 4px 0 #080e0a92;
  font: 12px/1.45 var(--mono);
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
}

.motion-control:hover .motion-tip,
.motion-control:focus-within .motion-tip {
  opacity: 1;
}

.folder.is-open, .folder[aria-expanded="true"] {
  background: #35503285;
  border-color: #557653;
  color: #ebffe4;
}

.system-path [data-path-extra] {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

dialog.window[open] {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

dialog.folder-window { width: min(640px, calc(100% - 32px)); }
dialog.preview-dialog { width: min(560px, calc(100% - 32px)); }

dialog .window-bar[data-drag-handle] { cursor: grab; touch-action: none; }
dialog.is-dragging, dialog.is-dragging .window-bar { cursor: grabbing; }
.window-bar { user-select: none; }
dialog.window[open] .folder-body,
dialog.window[open] .dialog-body {
  overflow: auto;
  min-height: 0;
  overscroll-behavior: contain;
}

.folder-body { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.folder-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

.folder-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 8px;
  border: 1px solid #354d37;
  background: #142018;
}

.folder-item > img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border: 1px solid #4b6849;
  background: #111e16;
}

.folder-item h3 { font: 700 15px/1.25 var(--mono); }
.folder-item-meta { margin-top: 3px; color: var(--muted); font: 12px/1.4 var(--mono); }
.folder-item .how-to, .folder-item .licence { margin-top: 4px; font-size: 12px; }
.folder-item-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.folder-item-actions .button { min-height: 34px; padding: 6px 10px; font-size: 12px; }
.folder-cta { width: 100%; }
.folder-empty {
  margin: 0;
  padding: 28px 18px;
  border: 1px dashed #516f48;
  background: #142018;
  color: var(--muted);
  font: 14px/1.5 var(--mono);
  text-align: center;
}
.folder-foot { font: 12px/1.45 var(--mono); color: var(--muted); }
.folder-foot a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.detail-list {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 4px 12px;
  margin-top: 12px;
  font: 700 12px/1.45 var(--mono);
}

.detail-list dt { color: #8eaa88; letter-spacing: .06em; text-transform: uppercase; }
.detail-list dd { margin: 0; color: var(--text); }

.how-to { color: var(--muted); font-size: 13px; line-height: 1.45; }
.licence { color: #e7d7a1; font-size: 12px; line-height: 1.45; }
.file-window .how-to, .file-window .licence { margin: 0 2px 8px; }
.file-window .licence { margin-bottom: 12px; }

.file-meta-line {
  margin-top: 2px;
  color: var(--text);
  font: 12px/1.45 var(--mono);
}
.product-info .how-to, .product-info .licence { font-size: 12px; }
.product-action { margin-top: auto; }
.product-buttons { display: flex; flex-wrap: wrap; gap: 6px; }

.below-desk {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: 16px;
  margin-top: 18px;
}

.about-body, .newsletter-body { padding: 16px 16px 18px; }
.about-body h2, .newsletter-body h2 { font-size: 22px; line-height: 1.2; }
.owner-edit {
  margin-top: 10px;
  color: #e7d7a1;
  font: 700 11px/1.45 var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.about-copy, .newsletter-body .intro-copy { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.newsletter-body .intro-copy { margin-bottom: 12px; }

.contact-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font: 700 12px/1.4 var(--mono);
}

.contact-list li > span:first-child {
  min-width: 6.5rem;
  color: #8eaa88;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.todo-chip {
  display: inline-block;
  padding: 4px 7px;
  border: 1px dashed #8a7344;
  color: #e7d7a1;
  font: 700 11px/1.35 var(--mono);
  letter-spacing: .02em;
  text-transform: none;
}

.shop-newsletter { margin-top: 18px; }
.catalog-empty {
  margin-top: 14px;
  color: var(--muted);
  font: 13px/1.45 var(--mono);
}

.notify-form, .signup-form { display: flex; flex-direction: column; gap: 8px; }
.notify-form { margin-top: 10px; }
.field-label {
  font: 700 10px/1.3 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.notify-heading {
  font: 700 12px/1.35 var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text);
}
.field-row { display: flex; gap: 6px; }
.field-row input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  border: 1px solid #526e4c;
  background: #101910;
  color: var(--text);
  padding: 8px 10px;
  font: 14px/1.2 var(--mono);
}
.field-row input[type="email"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.field-row input[aria-invalid="true"] { border-color: #e7b481; }
.field-row input::placeholder { color: #6e866c; }
.signup-form .button, .notify-form .button { min-height: 40px; }

.form-error, .form-success, .form-preview { margin: 0; }
.form-error { color: #f0c48a; font: 700 12px/1.4 var(--mono); }
.form-success {
  padding: 10px 12px;
  border: 1px solid #516f48;
  background: #243826;
  color: var(--accent);
  font: 13px/1.45 var(--mono);
}
.form-preview { color: #e7d7a1; font: 12px/1.45 var(--mono); }
.form-reset {
  display: inline;
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  cursor: pointer;
  font: 700 12px/1.4 var(--mono);
  text-decoration: underline;
  text-underline-offset: 2px;
}
form[data-state="success"] .field-row,
form[data-state="success"] .field-label,
form[data-state="success"] .hp { display: none; }
.button:disabled { opacity: .65; cursor: wait; }

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.noscript-note {
  margin-top: 14px;
  color: #e7d7a1;
  font: 12px/1.45 var(--mono);
}
.noscript-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

#about, #newsletter, #tag-socks, #signal-pack, #jar-template { scroll-margin-top: 18px; }

@media (max-width: 640px) {
  dialog.window,
  dialog.window[open] {
    width: 100% !important;
    max-width: none !important;
    max-height: 92vh !important;
    max-height: 92dvh !important;
    height: auto;
    margin: 0 !important;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    position: fixed !important;
    inset: auto 0 0 0 !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
  }

  dialog .window-bar[data-drag-handle] { cursor: default; touch-action: auto; }

  dialog.window[open] .folder-body,
  dialog.window[open] .dialog-body {
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
}
