:root {
  --paper: #f7f6f2;
  --white: #ffffff;
  --ink: #050505;
  --muted: #686966;
  --line: #d8d5ce;
  --line-dark: #111111;
  --orange: #ff5a00;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.13);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --container: min(1240px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    radial-gradient(circle at 12% 0%, rgba(255, 90, 0, 0.12), transparent 28rem),
    var(--paper);
  background-size: 86px 86px, 86px 86px, auto, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  margin: 14px auto 0;
  border: 1px solid var(--line-dark);
  background: rgba(247, 246, 242, 0.9);
  box-shadow: 8px 8px 0 var(--ink);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 66px;
  padding: 0 18px;
  border-right: 1px solid var(--line-dark);
}

.brand-symbol {
  position: relative;
  width: 38px;
  height: 38px;
  border: 6px solid var(--orange);
  border-radius: 10px;
  rotate: 45deg;
  background: var(--white);
}

.brand-symbol::after {
  position: absolute;
  inset: 8px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  content: "";
}

.brand strong,
.brand small { display: block; }
.brand strong { font-size: 1.05rem; line-height: 1; }
.brand small { margin-top: 5px; color: var(--muted); font-family: var(--mono); font-size: 0.72rem; }

.site-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-left: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--ink);
  color: var(--white);
  outline: none;
}

.site-nav .main-site-link {
  background: var(--orange);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 60px;
  border: 0;
  border-left: 1px solid var(--line-dark);
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero,
.shop-section,
.support-section,
.contact-section,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.hero { padding: 54px 0 28px; }

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: 430px;
  border: 1px solid var(--line-dark);
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--white);
  background-size: 72px 72px;
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 6vw, 72px);
}

.mono-label {
  width: fit-content;
  margin: 0 0 16px;
  padding: 6px 9px;
  border: 1px solid var(--line-dark);
  background: var(--white);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(3.5rem, 8vw, 8rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero-copy p:not(.mono-label),
.printer-info p,
.contact-section p,
.support-grid span,
.printer-card dd,
.site-footer {
  color: var(--muted);
  font-family: var(--mono);
}

.hero-copy p:not(.mono-label) {
  max-width: 680px;
  font-size: clamp(0.96rem, 1.6vw, 1.15rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid var(--line-dark);
  color: var(--ink);
  background: var(--white);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: translate 150ms ease, box-shadow 150ms ease;
}

.button:hover,
.button:focus-visible {
  translate: -3px -3px;
  box-shadow: 5px 5px 0 var(--ink);
  outline: none;
}

.button-primary {
  color: var(--white);
  background: var(--orange);
}

.hero-metrics {
  display: grid;
  border-left: 1px solid var(--line-dark);
  background: var(--ink);
}

.hero-metrics div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-metrics span {
  color: #a8a8a8;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-metrics strong {
  margin-top: 8px;
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.shop-section,
.support-section,
.contact-section {
  border: 1px solid var(--line-dark);
  background: var(--white);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 28px;
  border-bottom: 1px solid var(--line-dark);
}

.section-heading .mono-label { margin-bottom: 0; }

.printer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.printer-card {
  display: grid;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: var(--white);
}

.printer-media {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 5;
  min-height: 360px;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 90, 0, 0.13), transparent 11rem),
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    #fbfaf7;
  background-size: auto, 52px 52px, 52px 52px, auto;
}

.printer-media img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.printer-media img.is-missing { display: none; }

.image-fallback {
  position: absolute;
  inset: 22px;
  display: none;
  place-items: center;
  align-content: center;
  gap: 12px;
  border: 1px dashed var(--line-dark);
  background: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.printer-media img.is-missing + .image-fallback { display: grid; }

.printer-icon {
  width: 110px;
  height: 130px;
  border: 8px solid var(--ink);
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent 43%, var(--orange) 43% 57%, transparent 57%),
    linear-gradient(180deg, transparent 54%, rgba(255, 90, 0, 0.22) 54% 59%, transparent 59%),
    var(--white);
  box-shadow: 8px 8px 0 var(--orange);
}

.image-fallback strong,
.image-fallback small { display: block; }
.image-fallback small { max-width: 230px; color: var(--muted); font-family: var(--mono); }

.printer-info {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.printer-info .mono-label { margin-bottom: 14px; }

.printer-info dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 18px 0 20px;
  border: 1px solid var(--line-dark);
}

.printer-info dl div {
  padding: 12px;
  border-right: 1px solid var(--line-dark);
}

.printer-info dl div:last-child { border-right: 0; }

.printer-info dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.printer-info dd {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.15;
}

.printer-info .button { width: 100%; margin-top: auto; }

.support-section {
  display: grid;
  grid-template-columns: 0.58fr 1.42fr;
  margin-top: 42px;
}

.support-section > div:first-child {
  padding: 28px;
  border-right: 1px solid var(--line-dark);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-grid article {
  padding: 28px;
  border-right: 1px solid var(--line-dark);
}

.support-grid article:last-child { border-right: 0; }

.support-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  margin-top: 42px;
  padding: 28px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 8px 8px 0 var(--orange);
}

.contact-section .mono-label { color: var(--ink); background: var(--white); }
.contact-section h2 { color: var(--white); }
.contact-section .button-secondary { color: var(--ink); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 0 38px;
  font-size: 0.82rem;
}

.site-footer strong { color: var(--ink); }
.site-footer a { color: var(--orange); font-weight: 900; }

@media (max-width: 1060px) {
  .printer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-panel,
  .support-section,
  .contact-section { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); border-left: 0; border-top: 1px solid var(--line-dark); }
  .support-section > div:first-child { border-right: 0; border-bottom: 1px solid var(--line-dark); }
}

@media (max-width: 820px) {
  .site-header { align-items: stretch; }
  .brand small { display: none; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    border: 1px solid var(--line-dark);
    background: var(--white);
    box-shadow: 8px 8px 0 var(--ink);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { min-height: 52px; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .hero { padding-top: 34px; }
  .printer-grid,
  .support-grid { grid-template-columns: 1fr; }
  .support-grid article { border-right: 0; border-bottom: 1px solid var(--line-dark); }
}

@media (max-width: 620px) {
  :root { --container: min(100% - 20px, 1240px); }
  body { background-size: 54px 54px, 54px 54px, auto, auto; }
  .site-header { top: 8px; margin-top: 8px; box-shadow: 5px 5px 0 var(--ink); }
  .brand { min-height: 58px; padding: 0 12px; }
  .brand-symbol { width: 32px; height: 32px; border-width: 5px; }
  h1 { font-size: clamp(3.1rem, 17vw, 5rem); }
  h2 { font-size: clamp(2.4rem, 13vw, 3.7rem); }
  .hero-copy,
  .section-heading,
  .support-section > div:first-child,
  .support-grid article,
  .contact-section { padding: 20px; }
  .hero-actions,
  .contact-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; min-height: 58px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .printer-info dl { grid-template-columns: 1fr; }
  .printer-info dl div { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .site-footer { flex-direction: column; }
}
