:root {
  color-scheme: dark;
  --bg: #111313;
  --surface: #1b1e1e;
  --text: #f3f4ef;
  --muted: #a8b1ad;
  --accent: #b7edcb;
  --line: #343b37;
  --max: 1280px;
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 550;
  line-height: 1.12;
}
h1 {
  font-size: 72px;
}
h2 {
  font-size: 38px;
}
h3 {
  font-size: 24px;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a,
button,
input {
  outline-offset: 5px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
}
[hidden] {
  display: none !important;
}
.sr-only,
.notify-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 20px;
  transform: translateY(-200%);
  z-index: 200;
  background: var(--accent);
  color: var(--bg);
  padding: 12px 20px;
}
.skip-link:focus {
  transform: none;
}
.section,
.nav,
.footer-main,
.footer-bottom {
  width: min(var(--max), calc(100% - 96px));
  margin-inline: auto;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 19, 19, 0.96);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 84px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.brand-word strong {
  font-size: 21px;
  font-weight: 700;
}
.brand-word strong span {
  color: var(--accent);
}
.brand-word > span {
  display: none;
}
.brand em {
  font-style: normal;
}
.nav-links {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  color: var(--muted);
  padding-block: 14px;
}
.nav-links a:hover,
.nav-links .active {
  color: var(--text);
}
.nav-links .active {
  box-shadow: inset 0 -2px var(--accent);
}
.nav-cta {
  font-size: 13px;
  padding: 11px 16px;
  border: 1px solid #515e56;
  border-radius: 4px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-cta:hover {
  background: var(--surface);
  border-color: var(--accent);
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  border-radius: 4px;
  font-size: 24px;
}
.kicker,
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 650;
  line-height: 1.5;
  color: var(--accent);
}
.portfolio-intro {
  padding-top: 65px;
  padding-bottom: 46px;
}
.intro-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.studio-note {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.studio-note i {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.portfolio-intro h1 {
  font-size: 88px;
  font-weight: 550;
}
.title-dot {
  color: var(--accent);
}
.intro-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-top: 20px;
}
.intro-bottom p {
  font-size: 21px;
  line-height: 1.5;
}
.intro-bottom p span {
  color: var(--muted);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: none;
  border: 0;
  padding: 10px 0;
  font-size: 14px;
  color: var(--accent);
  min-height: 44px;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.portfolio {
  padding-bottom: 80px;
}
.catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}
.catalog-heading h2 {
  font-size: 22px;
}
.catalog-count {
  font-size: 12px;
  color: var(--muted);
}
.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 22px 0 30px;
}
.category-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-button {
  background: none;
  border: 1px solid transparent;
  color: var(--muted);
  border-radius: 4px;
  min-height: 44px;
  padding: 9px 15px;
  font-size: 13px;
}
.filter-button:hover {
  color: var(--text);
  background: var(--surface);
}
.filter-button[aria-pressed="true"] {
  color: var(--accent);
  border-color: #4b6053;
  background: #202c25;
}
.product-search input {
  width: 230px;
  height: 44px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #536059;
  color: var(--text);
  border-radius: 0;
  padding: 8px 4px;
  font-size: 13px;
}
.product-search input::placeholder {
  color: var(--muted);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 28px;
  margin-top: 30px;
}
.portfolio-card {
  min-width: 0;
}
.product-preview {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16/10;
  background: #24292a;
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.product-preview > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product-preview:hover > img {
  transform: scale(1.025);
}
.preview-action {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #171b18;
  background: var(--product-accent);
  font-size: 22px;
  opacity: 0;
  transform: translateY(5px);
  transition:
    opacity 180ms,
    transform 180ms;
}
.product-preview:hover .preview-action,
.product-preview:focus-visible .preview-action {
  opacity: 1;
  transform: none;
}
.foliolet-preview {
  background: #e8e7e3;
}
.foliolet-preview > img {
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  object-fit: contain;
  position: absolute;
  inset: 16px;
}
.toolbox-preview > img {
  object-fit: cover;
  background: #f5f8fc;
}
.product-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-top: 17px;
  font-size: 12px;
  min-height: 36px;
  color: var(--muted);
}
.product-status {
  flex-shrink: 0;
  color: var(--product-accent);
  padding-top: 1px;
  font-size: 11px;
}
.product-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.product-title h3 {
  font-size: 25px;
}
.product-title a:hover {
  color: var(--product-accent);
}
.detail-button {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 25px;
  font-weight: 300;
}
.detail-button:hover {
  background: var(--product-accent);
  color: #111313;
  border-color: var(--product-accent);
}
.product-tagline {
  font-size: 14px;
  margin-top: 5px;
  color: #e0e5df;
}
.product-description {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 9px;
  max-width: 50ch;
}
.catalog-empty {
  text-align: center;
  padding: 60px 20px;
}
.catalog-empty p {
  margin-top: 12px;
  color: var(--muted);
}
.studio-band {
  background: #cedecd;
  color: #19291f;
}
.studio-band > .section {
  padding-block: 70px;
}
.studio-band .kicker {
  color: #3a5742;
}
.studio-band h2 {
  font-size: 48px;
  margin-top: 25px;
}
.studio-band-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-top: 28px;
}
.studio-band p {
  max-width: 530px;
  color: #3a5141;
  font-size: 16px;
}
.studio-band .text-link {
  color: #233d2b;
}
.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding-block: 85px;
}
.newsletter h2 {
  margin-top: 20px;
  font-size: 34px;
}
.newsletter p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 18px;
}
.notify-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}
.notify-form input[type="email"] {
  height: 48px;
  width: 100%;
  background: none;
  border: 1px solid #56605a;
  border-radius: 4px;
  padding: 10px 15px;
  color: var(--text);
  min-width: 0;
}
.notify-form input::placeholder {
  color: var(--muted);
}
.turnstile-slot {
  grid-column: 1/-1;
  grid-row: 2;
  max-width: 100%;
  overflow: hidden;
}
.turnstile-slot:empty {
  display: none;
}
.notify-note {
  min-height: 23px;
  font-size: 12px !important;
}
.notify-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.notify-note[data-state="error"] {
  color: #ffaba5;
}
.notify-note[data-state="success"] {
  color: var(--accent);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 48px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 650;
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #17251b;
}
.btn-primary:hover {
  background: #d1f9dc;
}
.btn:disabled {
  opacity: 0.65;
  cursor: default;
}
.ghost {
  background: none;
  color: var(--text);
}
.footer {
  border-top: 1px solid var(--line);
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 35px;
  align-items: start;
  padding-block: 46px;
}
.footer-main p {
  color: var(--muted);
  font-size: 13px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: flex-end;
  font-size: 13px;
}
.footer a:hover {
  color: var(--accent);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-block: 23px;
  font-size: 11px;
  color: var(--muted);
}
.footer-bottom > div {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.page-hero {
  width: min(var(--max), calc(100% - 96px));
  margin-inline: auto;
  padding-top: 70px;
  padding-bottom: 58px;
}
.page-hero h1 {
  margin-top: 24px;
  font-size: 64px;
  max-width: 1000px;
}
.page-hero h1 span {
  color: var(--muted);
}
.page-copy {
  font-size: 17px;
  color: var(--muted);
  max-width: 650px;
  line-height: 1.7;
  margin-top: 24px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}
.simple-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-block: 60px;
}
.simple-cta h2 {
  font-size: 30px;
}
.story-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 55px;
  border-top: 1px solid var(--line);
  padding-block: 60px;
}
.story-section h2 {
  font-size: 36px;
  margin-bottom: 24px;
}
.story-section p {
  font-size: 16px;
  color: var(--muted);
  max-width: 680px;
  margin-top: 20px;
}
.principles {
  padding-bottom: 80px;
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
  margin-top: 45px;
}
.principles article > span {
  font-size: 12px;
  color: var(--accent);
}
.principles h3 {
  font-size: 23px;
  margin-top: 25px;
}
.principles p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  border-top: 1px solid var(--line);
  padding-block: 60px 90px;
}
.email-link {
  display: block;
  font-size: 24px;
  margin-top: 24px;
  overflow-wrap: anywhere;
}
.email-link:hover {
  color: var(--accent);
}
.contact-primary p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 20px;
}
.contact-topics h2 {
  font-size: 23px;
  margin-bottom: 20px;
}
.contact-topics > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-topics > a:hover {
  color: var(--accent);
}
.contact-topics h3 {
  font-size: 16px;
}
.contact-topics p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.contact-footnote {
  margin-top: 24px !important;
  font-size: 12px !important;
}
.product-dialog {
  padding: 0;
  width: min(720px, calc(100% - 32px));
  max-height: 90dvh;
  overflow: auto;
  background: var(--surface);
  color: var(--text);
  border: 1px solid #57635b;
  border-radius: 8px;
}
.product-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 12px 24px;
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.dialog-close {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 27px;
  border-radius: 4px;
}
.dialog-close:hover {
  background: #343b37;
}
.dialog-preview {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.dialog-preview > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.dialog-preview.foliolet-preview > img {
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  position: absolute;
  inset: 20px;
}
.dialog-body {
  padding: 28px;
}
.dialog-body h2 {
  font-size: 34px;
}
.dialog-body p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 15px;
}
.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  margin-block: 25px;
}
.product-features li::before {
  content: "+";
  margin-right: 8px;
  color: var(--accent);
}
.dialog-platform {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}
body.dialog-open {
  overflow: hidden;
}
.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
}
.legal-toc {
  display: grid;
  gap: 8px;
  position: sticky;
  top: 110px;
}
.legal-toc a {
  padding: 12px 0;
  font-size: 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.legal-toc a:hover {
  color: var(--accent);
}
.legal-copy {
  max-width: 800px;
}
.legal-copy h2 {
  font-size: 25px;
  margin: 32px 0 15px;
}
.legal-copy p,
.legal-copy li {
  color: #bcc5bf;
  font-size: 15px;
  line-height: 1.85;
  margin-block: 15px;
}
.legal-copy a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 24px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 60px;
}
.price-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 25px;
}
.price-card h3 {
  font-size: 23px;
  margin-block: 15px;
}
.price {
  font-size: 36px;
  margin-block: 24px;
}
.price small {
  font-size: 12px;
  color: var(--muted);
}
.price-card ul {
  padding-left: 20px;
  color: var(--muted);
  font-size: 13px;
}
.price-card .btn {
  margin-top: 20px;
  width: 100%;
}
.featured-price {
  border-color: var(--accent);
}
.tag {
  color: var(--accent);
  font-size: 12px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  margin-block: 25px;
}
.section-head p,
.section-copy,
.mini-copy {
  color: var(--muted);
  max-width: 550px;
}
.cta-band {
  width: min(var(--max), calc(100% - 96px));
  margin: 60px auto;
  display: flex;
  justify-content: space-between;
  gap: 35px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 45px;
}
.cta-band p {
  color: var(--muted);
  margin-top: 15px;
}
.tight {
  padding-bottom: 25px;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.portfolio-intro,
.page-hero {
  animation: arrive 0.5s ease-out;
}
@media (min-width: 1500px) {
  .portfolio-intro {
    padding-top: 80px;
    padding-bottom: 58px;
  }
}
@media (max-width: 1050px) {
  .section,
  .nav,
  .footer-main,
  .footer-bottom,
  .page-hero,
  .cta-band {
    width: calc(100% - 56px);
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav {
    gap: 24px;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-cta {
    display: none;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-controls {
    align-items: flex-start;
  }
  .category-filters {
    gap: 2px;
  }
  .filter-button {
    padding-inline: 11px;
  }
  .product-search input {
    width: 190px;
  }
  .contact-layout {
    gap: 35px;
  }
  .newsletter {
    gap: 35px;
  }
}
@media (max-width: 700px) {
  .section,
  .nav,
  .footer-main,
  .footer-bottom,
  .page-hero,
  .cta-band {
    width: calc(100% - 40px);
  }
  .nav {
    min-height: 72px;
    flex-wrap: wrap;
    gap: 0;
    padding-block: 12px;
  }
  .brand-word strong {
    font-size: 19px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .nav-links {
    width: 100%;
    margin: 10px 0 0;
    justify-content: space-between;
    gap: 10px;
  }
  .has-js .nav-links {
    display: none;
  }
  .has-js .nav-links.is-open {
    display: flex;
  }
  .nav-links a {
    font-size: 13px;
    padding-block: 10px;
  }
  .has-js .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 12px 20px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.2);
  }
  .has-js .nav-links.is-open {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .nav-links a {
    min-height: 44px;
  }
  .portfolio-intro {
    padding-top: 38px;
    padding-bottom: 32px;
  }
  .intro-meta {
    margin-bottom: 22px;
  }
  .studio-note {
    display: none;
  }
  .portfolio-intro h1 {
    font-size: 49px;
  }
  .intro-bottom {
    display: block;
    margin-top: 16px;
  }
  .intro-bottom p {
    font-size: 17px;
  }
  .intro-bottom .text-link {
    margin-top: 16px;
  }
  .catalog-heading {
    padding-top: 22px;
  }
  .catalog-heading h2 {
    font-size: 20px;
  }
  .catalog-controls {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 24px;
  }
  .category-filters {
    width: 100%;
    gap: 4px;
  }
  .filter-button {
    font-size: 12px;
    padding-inline: 10px;
  }
  .product-search,
  .product-search input {
    width: 100%;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 25px;
  }
  .portfolio {
    padding-bottom: 50px;
  }
  .preview-action {
    opacity: 1;
    transform: none;
  }
  .product-label {
    font-size: 12px;
  }
  .product-description {
    font-size: 14px;
  }
  .studio-band > .section {
    padding-block: 45px;
  }
  .studio-band h2 {
    font-size: 34px;
  }
  .studio-band-bottom {
    display: block;
    margin-top: 23px;
  }
  .studio-band .text-link {
    margin-top: 20px;
  }
  .newsletter {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 50px;
  }
  .newsletter h2 {
    font-size: 30px;
  }
  .notify-form {
    grid-template-columns: 1fr;
  }
  .notify-form button {
    grid-row: 3;
    width: 100%;
  }
  .notify-form .turnstile-slot {
    grid-row: 2;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 35px;
  }
  .footer-links {
    justify-content: flex-start;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }
  .footer-bottom > div {
    gap: 14px 20px;
  }
  .page-hero {
    padding-top: 45px;
    padding-bottom: 40px;
  }
  .page-hero h1 {
    font-size: 43px;
  }
  .page-copy {
    font-size: 16px;
  }
  .story-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 40px;
  }
  .story-section h2 {
    font-size: 30px;
  }
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 30px;
  }
  .principles article {
    padding-bottom: 25px;
    border-bottom: 1px solid var(--line);
  }
  .principles h3 {
    margin-top: 15px;
  }
  .principles {
    padding-bottom: 30px;
  }
  .simple-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    padding-block: 40px;
  }
  .simple-cta h2 {
    font-size: 27px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 40px 50px;
  }
  .email-link {
    font-size: 21px;
  }
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-bottom: 50px;
  }
  .legal-toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .legal-copy h2 {
    font-size: 23px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .section-head,
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-head h2,
  .cta-band h2 {
    font-size: 30px;
  }
  .dialog-body {
    padding: 24px;
  }
  .dialog-top {
    padding-inline: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .product-preview:hover > img {
    transform: none;
  }
}
.ui-icon {
  width: 20px !important;
  height: 20px !important;
  filter: invert(1);
  margin: auto;
  object-fit: contain;
}
.detail-button:hover .ui-icon {
  filter: none;
}
.menu-toggle {
  visibility: hidden;
}
.has-js .menu-toggle {
  visibility: visible;
}
.newsletter .newsletter-privacy {
  margin-top: 12px;
  font-size: 12px;
}
.newsletter-privacy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.detail-button {
  transition:
    background 180ms,
    border-color 180ms;
}

/* ------------------------------------------------------------------
   Boundary redesign (2026-11). Appended last so it overrides the
   portfolio base; responsive rules for these selectors live below.
   ------------------------------------------------------------------ */
:root {
  --bg-deep: #0e1111;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}
.kicker,
.eyebrow,
.product-label,
.catalog-count,
.soon-badge,
.hero-stats dt {
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.kicker,
.eyebrow {
  font-weight: 500;
}
.brand img {
  width: 32px;
  height: 32px;
}
.brand-word strong span {
  color: var(--muted);
  font-weight: 500;
}

/* Hero */
.hero-wrap {
  position: relative;
  background:
    linear-gradient(180deg, rgba(17, 19, 19, 0) 55%, var(--bg) 100%),
    linear-gradient(90deg, var(--bg-deep) 30%, rgba(14, 17, 17, 0) 70%),
    url("brand/hero-lattice.webp") right center / cover no-repeat,
    var(--bg-deep);
  border-bottom: 1px solid var(--line);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr);
  align-items: center;
  gap: 48px;
  padding-block: 104px 96px;
  animation: arrive 0.5s ease-out;
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(46px, 6vw, 84px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 13ch;
}
.hero h1 span {
  color: var(--accent);
}
.hero-lede {
  margin-top: 28px;
  max-width: 56ch;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}
.hero .hero-actions {
  margin-top: 34px;
}
.hero-stats {
  display: flex;
  gap: 44px;
  margin: 44px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 420px;
}
.hero-stats dt {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-stats dd {
  margin: 4px 0 0;
  font-size: 30px;
  font-weight: 600;
}
.hero-art {
  display: grid;
  place-items: center;
}
.kept-grid {
  --cell: clamp(34px, 4.2vw, 60px);
  display: grid;
  grid-template-columns: repeat(4, var(--cell));
  gap: calc(var(--cell) * 0.25);
}
.kept-grid i {
  aspect-ratio: 1;
  border-radius: 24%;
  background: rgba(243, 244, 239, var(--o, 0));
}
.kept-grid .gap {
  background: transparent;
}
.kept-grid .kept {
  background: var(--accent);
  box-shadow: 0 0 0 calc(var(--cell) * 0.12) rgba(183, 237, 203, 0.12);
  animation: kept-in 900ms 300ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes kept-in {
  from {
    transform: translateX(-125%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

/* Catalog: two families, 6-col grid so 5 cards read as 2 + 3 */
.portfolio {
  padding-top: 64px;
}
.catalog-heading h2 {
  font-size: 28px;
}
.product-family {
  margin-top: 36px;
}
.product-family + .product-family {
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px dashed var(--line);
}
.family-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
}
.family-heading h3 {
  font-size: 20px;
  font-weight: 600;
}
.family-heading p {
  max-width: 52ch;
  font-size: 14px;
  color: var(--muted);
  text-align: right;
}
.portfolio-grid {
  gap: 52px 28px;
  margin-top: 26px;
}
@media (min-width: 1051px) {
  .portfolio-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .portfolio-card {
    grid-column: span 2;
  }
  .portfolio-grid[data-count="5"] .portfolio-card:nth-child(-n + 2),
  .portfolio-grid[data-count="4"] .portfolio-card,
  .portfolio-grid[data-count="2"] .portfolio-card,
  .portfolio-grid[data-count="1"] .portfolio-card {
    grid-column: span 3;
  }
}

/* Unified preview frame: tinted backdrop, screenshot inset like a window */
.product-preview {
  background:
    radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--product-accent) 26%, transparent), transparent 70%),
    #171b1b;
  border-color: rgba(255, 255, 255, 0.08);
}
.product-preview > img,
.foliolet-preview > img,
.toolbox-preview > img {
  position: absolute;
  inset: 9% 7% auto;
  width: 86%;
  height: 91%;
  object-fit: cover;
  object-position: top;
  border-radius: 6px 6px 0 0;
  background: #1f2424;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.product-preview:hover > img {
  transform: translateY(-4px);
}
.dialog-preview {
  background: color-mix(in srgb, var(--product-accent) 12%, #171b1b);
}
.dialog-preview.foliolet-preview > img,
.dialog-preview > img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}
.is-soon .product-preview > img {
  filter: saturate(0.55) brightness(0.78);
}
.soon-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(14, 17, 17, 0.85);
  border: 1px solid color-mix(in srgb, var(--product-accent) 55%, transparent);
  color: var(--product-accent);
  font-size: 11px;
  text-transform: uppercase;
}
.is-soon .product-status {
  color: var(--muted);
}
.soon-link {
  margin-top: 6px;
  color: var(--product-accent);
}

/* Habits strip on home reuses the principles grid */
.habits {
  padding-top: 8px;
}
.habits h3 {
  font-size: 21px;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-block: 80px 72px;
  }
  .kept-grid {
    --cell: 34px;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portfolio-grid[data-count="5"] .portfolio-card:first-child,
  .portfolio-grid[data-count="3"] .portfolio-card:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 700px) {
  .hero-wrap {
    background:
      linear-gradient(180deg, rgba(14, 17, 17, 0.55), var(--bg) 100%),
      url("brand/hero-lattice.webp") 70% center / cover no-repeat,
      var(--bg-deep);
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 52px 48px;
  }
  .hero-art {
    display: none;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-lede {
    font-size: 16px;
  }
  .hero .hero-actions .btn {
    flex: 1 1 100%;
  }
  .hero-stats {
    margin-top: 32px;
  }
  .portfolio {
    padding-top: 40px;
  }
  .family-heading {
    display: block;
  }
  .family-heading p {
    margin-top: 6px;
    text-align: left;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .portfolio-grid[data-count] .portfolio-card:first-child {
    grid-column: auto;
  }
  .product-family + .product-family {
    margin-top: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-preview:hover > img {
    transform: none;
  }
}
