/* Shop-floor dark page, adapted from the CG Prints client mock.
   Cutting-mat grid behind the hero, ruler strips as section dividers,
   brand red used for action only. */

:root {
  color-scheme: dark;
  --bg: #111112;
  --panel: #1a1a1c;
  --line: #2c2c30;
  --mat: #232326;
  --fg: #f3f1ee;
  --muted: #a6a3a0;
  --red: #d0111c;
  --red-hi: #ff2a35;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html.smooth { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html.smooth { scroll-behavior: auto; }
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--bg);
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
p a, li a {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
p a:hover, li a:hover { color: var(--red-hi); }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .005em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h3 { font-size: 1.7rem; }
p { margin: 0; }

.label {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.skip {
  position: absolute;
  left: max(16px, env(safe-area-inset-left, 0px));
  top: 0;
  z-index: 80;
  transform: translateY(-140%);
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  padding: .7em 1em .6em;
}
.skip:focus, .skip:focus-visible {
  transform: translateY(calc(env(safe-area-inset-top, 0px) + 10px));
  outline: 3px solid #fff;
  outline-offset: 3px;
}

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

:focus-visible {
  outline: 3px solid var(--red-hi);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.25rem;
  letter-spacing: .02em;
  text-decoration: none;
  padding: .6em 1.15em .55em;
  border: 2px solid var(--fg);
  color: var(--fg);
  background: transparent;
  cursor: pointer;
  transform: skewX(-8deg);
  transition: background .15s, color .15s, border-color .15s;
}
.btn > span { display: inline-flex; align-items: center; gap: .4em; transform: skewX(8deg); }
.btn > span svg { width: .9em; height: .9em; display: block; flex: none; }
.btn:hover { background: var(--fg); color: var(--bg); }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.red:hover { background: var(--red-hi); border-color: var(--red-hi); color: #fff; }
.btn:disabled,
.btn[disabled] {
  opacity: 1;
  cursor: not-allowed;
  background: transparent;
  color: var(--muted);
  border-style: dashed;
  border-color: var(--muted);
}
.btn.red:disabled,
.btn.red[disabled] {
  color: var(--fg);
  border-color: var(--red);
  background: transparent;
}
.btn:disabled:hover,
.btn[disabled]:hover { background: transparent; color: var(--muted); }
.btn.red:disabled:hover,
.btn.red[disabled]:hover { color: var(--fg); background: transparent; border-color: var(--red); }

.account-bar {
  border-bottom: 1px solid var(--line);
  background: #0c0c0e;
}
.account-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  min-height: 42px;
  padding-block: 6px;
}
.account-who {
  margin: 0;
  min-width: 0;
  color: var(--muted);
  font: inherit;
  letter-spacing: .06em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.account-bar .account-who a {
  margin-left: .4em;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 2px;
  white-space: nowrap;
}
.account-bar nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 16px;
  margin-left: auto;
}
.account-bar a,
.account-bar button {
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.account-bar form { margin: 0; }
.account-bar a:hover,
.account-bar button:hover { color: var(--fg); }
@media (max-width: 720px) {
  .account-bar .wrap:has(.account-who) {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
  .account-bar .wrap:has(.account-who) nav {
    margin-left: 0;
    justify-content: flex-start;
  }
  .account-bar .account-who a { white-space: normal; }
  .account-bar nav a,
  .account-bar nav button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
}

header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
}
.brand { display: flex; min-width: 0; text-decoration: none; }
header .brand img { height: 48px; width: auto; max-width: min(280px, 58vw); }
nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
nav a {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--muted);
}
nav a:hover { color: var(--fg); }
nav .btn { font-size: 1rem; padding: .45em .9em .4em; }
nav a.ig {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--fg);
  border: 1px solid var(--line);
}
nav a.ig:hover { color: #fff; background: var(--red); border-color: var(--red); }
.nav-social { display: flex; gap: 8px; align-items: center; }
.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
  cursor: pointer;
}
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fg);
  position: relative;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 0; transform: rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 55%, transparent 100%),
    repeating-linear-gradient(0deg, transparent 0 47px, var(--line) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, var(--line) 47px 48px),
    var(--mat);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding-block: 64px 72px;
}
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero-logo { width: min(580px, 100%); filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .6)); }
.hero h1 { font-size: clamp(3.2rem, 8.4vw, 6.6rem); }
.hero h1 em { color: var(--red-hi); font-style: italic; }
.hero .lede { font-size: 1.2rem; color: var(--muted); max-width: 36ch; }
.hero .lede b { color: var(--fg); font-weight: 600; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 420px; }
.hero-photo img {
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
  height: auto;
  border: 6px solid var(--fg);
  transform: rotate(2.5deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55);
}
.hero-photo .tag {
  position: absolute;
  left: -18px;
  bottom: 28px;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 12px;
  transform: rotate(-3deg);
}
.hero.missing-page .wrap { grid-template-columns: 1fr; max-width: 860px; }

.ruler {
  height: 34px;
  border-block: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, var(--muted) 0 1px, transparent 1px 96px) 0 0/100% 18px no-repeat,
    repeating-linear-gradient(90deg, var(--muted) 0 1px, transparent 1px 48px) 0 0/100% 11px no-repeat,
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--muted) 60%, transparent) 0 1px, transparent 1px 12px) 0 0/100% 6px no-repeat,
    var(--panel);
  position: relative;
  overflow: hidden;
}
.ruler span {
  position: absolute;
  bottom: 3px;
  font-family: var(--mono);
  font-size: .62rem;
  color: var(--muted);
}

section { padding-block: 88px; }
section.tight { padding-top: 0; }
section[id], .ppanel[id] { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 92px); }
.sec-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 720px; }
.sec-head p { color: var(--muted); font-size: 1.1rem; }

.portfolio-empty { color: var(--muted); font-size: 1.05rem; }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--fg); }
a.svc {
  padding: 28px 26px 32px;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  align-content: start;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.svc:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
a.svc p { color: var(--muted); }
a.svc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
a.svc li { font-size: .82rem; border: 1px solid var(--line); padding: 3px 9px; color: var(--fg); }
a.svc:focus-visible { outline: 3px solid var(--red-hi); outline-offset: -3px; }
@media (hover: hover) and (pointer: fine) {
  a.svc:hover { background: color-mix(in srgb, var(--fg) 7%, transparent); }
  a.svc:hover h3 { color: var(--red-hi); }
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 1rem;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: .45em 1em;
  min-height: 44px;
  cursor: pointer;
}
.filters button:hover { color: var(--fg); border-color: var(--muted); }
.filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.filter-empty { color: var(--muted); margin-top: 12px; }
.jobs-more { display: none; }
.jobs-more[hidden] { display: none; }

.jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.job { background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.job.multi { border-top: 3px solid var(--red); }
.job.wide,
.job.span-2 { grid-column: span 2; }
.job.span-3 { grid-column: span 3; }
.job.wide .slide img,
.job.span-2 .slide img,
.job.span-3 .slide img { aspect-ratio: 8/5; }
.car { position: relative; }
.track {
  position: relative;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}
.track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  scroll-snap-align: start;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--mat);
  cursor: zoom-in;
  color: inherit;
}
.slide img { width: 100%; height: auto; }
.slide img { aspect-ratio: 4/5; object-fit: cover; }
.arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  translate: 0 -50%;
  width: 44px;
  height: 44px;
  border: 0;
  background: rgba(17, 17, 18, .78);
  color: var(--fg);
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.arrow:hover { background: var(--red); }
.arrow.prev { left: 10px; }
.arrow.next { right: 10px; }
.arrow:disabled { opacity: 0; pointer-events: none; }
.count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(17, 17, 18, .82);
  color: var(--fg);
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  padding: 4px 8px;
  font-variant-numeric: tabular-nums;
}
.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}
.dots i { width: 7px; height: 7px; background: rgba(243, 241, 238, .45); transform: skewX(-12deg); }
.dots i.on { background: var(--fg); width: 18px; }
.job-body { padding: 16px 18px 20px; display: grid; gap: 8px; align-content: start; }
.job-body h3 { font-size: 1.55rem; }
.job-body p { color: var(--muted); font-size: .98rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chips span {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 3px 7px;
  color: var(--fg);
}

.feature { background: var(--panel); border-block: 1px solid var(--line); }
.feature .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature .pics { display: grid; grid-template-columns: 1fr; gap: 12px; }
.feature .pics img { width: 100%; aspect-ratio: 3/2; object-fit: cover; height: auto; }
.feature .pics img:first-child { grid-column: 1/-1; aspect-ratio: 4/3; }
.feature .copy { display: grid; gap: 20px; min-width: 0; }
.feature .copy p { color: var(--muted); font-size: 1.1rem; }
.feature .copy p a { color: var(--fg); }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.specs div { padding: 14px 0; display: grid; gap: 2px; }
.specs b {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  font-size: 2.2rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.price-top .intro { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.price-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ptabs { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 28px; border-bottom: 2px solid var(--line); }
.ptabs a {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.5rem;
  letter-spacing: .01em;
  background: none;
  border: 0;
  border-bottom: 4px solid transparent;
  margin-bottom: -2px;
  color: var(--muted);
  padding: .35em .9em .4em 0;
  margin-right: 1em;
  text-decoration: none;
  min-height: 44px;
}
.ptabs a:hover { color: var(--fg); }
.ptabs a.is-active, .ptabs a[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--red); }
.tbl { overflow-x: auto; border-top: 2px solid var(--fg); }
table { border-collapse: collapse; width: 100%; min-width: 680px; font-variant-numeric: tabular-nums; }
.tbl.narrow table { min-width: 440px; }
th, td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
th:first-child, td:first-child { text-align: left; white-space: normal; padding-left: 0; }
thead th {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  vertical-align: bottom;
}
thead th b {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--fg);
  letter-spacing: 0;
  font-weight: 800;
  text-transform: none;
}
td { font-size: 1.05rem; }
td:first-child b { display: block; font-weight: 600; }
td:first-child span { color: var(--muted); font-size: .9rem; }
tbody tr:hover td { background: color-mix(in srgb, var(--panel) 70%, transparent); }
tr.disc td {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red-hi);
  border-bottom: 0;
}
tr.disc td:first-child { color: var(--muted); }
tr.grp td {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.15rem;
  color: var(--red-hi);
  padding-top: 22px;
  border-bottom: 1px solid var(--line);
}
tr.grp td span {
  font-family: var(--body);
  font-style: normal;
  font-weight: 400;
  text-transform: none;
  font-size: .9rem;
  color: var(--muted);
  margin-left: 8px;
}
.fine { color: var(--muted); font-size: .92rem; margin-top: 14px; max-width: 80ch; }
.fine b { color: var(--fg); font-weight: 600; }
.terms { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 20px; margin-top: 40px; }
.terms.two { grid-template-columns: 1fr 1fr; }
.term { border: 1px solid var(--line); padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.term p, .term li { color: var(--muted); }
.term ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.term.bundle { border: 2px solid var(--red); background: color-mix(in srgb, var(--red) 8%, var(--bg)); }
.term.bundle .label { color: var(--red-hi); }
.term.bundle .big {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-size: 3.4rem;
  line-height: .9;
  color: var(--fg);
}
.term.bundle .big small { font-size: 1.3rem; font-weight: 700; color: var(--muted); }
.term.bundle .save {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--red-hi);
}
.psub {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 16px;
  margin: 48px 0 14px;
}
.psub:first-of-type { margin-top: 8px; }
.example {
  margin-top: 20px;
  padding: 16px 20px;
  border-left: 3px solid var(--red);
  background: var(--panel);
  color: var(--muted);
}
.example b { color: var(--fg); }

.js .ppanel { display: none; }
.js .ppanel.is-active { display: block; }
.js #pricing:has(.ppanel:target) .ppanel { display: none; }
.js #pricing:has(.ppanel:target) .ppanel:target { display: block; }
#pricing:has(.ppanel:target) .ptabs a.is-active { color: var(--muted); border-bottom-color: transparent; }
#pricing:has(#p-emb:target) .ptabs a[data-tab="emb"],
#pricing:has(#p-dtf:target) .ptabs a[data-tab="dtf"],
#pricing:has(#p-stk:target) .ptabs a[data-tab="stk"],
#pricing:has(#p-eng:target) .ptabs a[data-tab="eng"],
#pricing:has(#p-bc:target) .ptabs a[data-tab="bc"] { color: var(--fg); border-bottom-color: var(--red); }

.bundles { background: var(--panel); border-block: 1px solid var(--line); }
.bundle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.prod { display: grid; grid-template-columns: 1fr; background: var(--bg); border: 1px solid var(--line); min-width: 0; }
.prod img { width: 100%; aspect-ratio: 4/3; object-fit: cover; height: auto; }
.prod-body { padding: 18px 20px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.prod-top { display: grid; justify-items: start; gap: 4px; }
.prod-top b {
  font-family: var(--display);
  font-style: italic;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.prod ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .95rem; }
.prod-act { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.prod-act .btn { font-size: 1rem; padding: .45em .9em .4em; }
.contact { border-top: 1px solid var(--line); }
.contact-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) auto minmax(0, 1.15fr);
  gap: 28px 36px;
  align-items: start;
}
.start-panel, .ask-panel { display: grid; gap: 16px; align-content: start; min-width: 0; }
.start-panel > p, .ask-panel > p { color: var(--muted); font-size: 1.1rem; }
.choice-or {
  margin: 72px 0 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.fine-links { color: var(--muted); font-size: .95rem; }
.ask-panel .contact-form { margin-top: 4px; }
.form-note { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.form-status { min-height: 1.2em; margin: 10px 0 0; font-size: .95rem; }
.form-status.is-error { color: var(--red-hi); }
.form-status.is-ok { color: var(--fg); }
.turnstile-slot:empty { display: none; }
.turnstile-slot:not(:empty) { min-height: 65px; }

.contact-list {
  display: grid;
  margin-top: 4px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.contact-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.contact-list div:last-child { border-bottom: 0; }
.contact-list a, .contact-list .v { font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-list a { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.contact-list a:hover { color: var(--red-hi); }
.contact-list .soon {
  color: var(--muted);
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px dashed var(--line);
  padding: 2px 8px;
}

.contact-form {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  min-width: 0;
}
.contact-form legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.contact-form fieldset {
  border: 0;
  margin: 0;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  min-width: 0;
}
.contact-form label .opt {
  font-family: var(--body);
  font-size: .85rem;
  letter-spacing: 0;
  text-transform: none;
}
.contact-form input[readonly] {
  cursor: default;
}
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
input, select, textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 11px 12px;
  width: 100%;
  border-radius: 0;
  accent-color: var(--red);
}
input:focus, select:focus, textarea:focus { border-color: var(--red-hi); outline: none; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--red-hi); outline-offset: 2px; }
textarea { min-height: 110px; resize: vertical; }
::placeholder { color: var(--muted); opacity: 1; }
fieldset:disabled input,
fieldset:disabled select,
fieldset:disabled textarea {
  opacity: 1;
  color: var(--muted);
  -webkit-text-fill-color: var(--muted);
  background: var(--bg);
  border-color: var(--line);
  cursor: not-allowed;
}

.about .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about .copy { display: grid; gap: 18px; min-width: 0; }
.about .copy p { color: var(--muted); font-size: 1.1rem; max-width: 56ch; }
.about .copy p b { color: var(--fg); }
.about .testimonial {
  margin: 8px 0 0;
  padding: 18px 22px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  background: color-mix(in srgb, var(--bg) 72%, var(--panel));
  display: grid;
  gap: 12px;
}
.about .testimonial::before {
  content: "\201C";
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  font-size: 4.4rem;
  line-height: .72;
  color: var(--red);
}
.about .testimonial p {
  margin: 0;
  color: var(--fg);
  max-width: 34ch;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  line-height: 1.12;
}
.about .testimonial .by {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .74rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.about .testimonial .by::before { content: "\2014  "; }
.about img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); height: auto; }

footer { border-top: 2px solid var(--fg); padding-block: 28px 32px; }
footer .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 32px;
  row-gap: 16px;
  align-items: center;
}
.footer-brand { min-width: 0; }
.footer-brand .brand { text-decoration: none; }
footer .footer-brand img { height: 48px; width: auto; max-width: min(220px, 68vw); }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--muted);
  color: var(--fg);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .95rem;
}
.footer-social a svg { display: block; flex: none; }
.footer-social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer-nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.footer-nav a,
.footer-nav .footer-copy,
.footer-nav .footer-credit {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .92rem;
  text-decoration: none;
  color: var(--muted);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-nav .footer-credit { gap: .25em; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--fg); }

@media (max-width: 720px) {
  footer .wrap { grid-template-columns: 1fr; row-gap: 14px; }
  .footer-social { justify-content: flex-start; }
}

.legal { padding-block: 64px 96px; }
.legal .wrap { max-width: 760px; }
.legal-copy { display: grid; gap: 16px; }
.legal h1 { font-size: clamp(3rem, 7vw, 5.2rem); }
.legal h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 18px; }
.legal p, .legal li { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }
.legal .ctas { margin-top: 12px; }
.legal ul { margin: 0; padding-left: 1.15em; display: grid; gap: 6px; }
.legal .updated {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.lb {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #080809;
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.lb-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px));
}
.lb-top .label { font-variant-numeric: tabular-nums; }
.lb-x {
  background: none;
  border: 1px solid var(--muted);
  color: var(--fg);
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .1em;
  padding: 8px 12px;
  min-height: 44px;
  cursor: pointer;
}
.lb-track {
  position: relative;
  flex: 1;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior: contain;
  min-height: 0;
}
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  scroll-snap-align: center;
  display: grid;
  place-items: center;
  padding: 0 max(16px, env(safe-area-inset-left, 0px));
  min-height: 0;
  overflow: hidden;
}
.lb-slide img { max-width: 100%; max-height: 100%; object-fit: contain; width: auto; height: auto; }
.lb-cap {
  text-align: center;
  display: grid;
  gap: 4px;
  padding: 14px max(16px, env(safe-area-inset-left, 0px)) 18px;
}
.lb-cap strong {
  font-family: var(--display);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.6rem;
  line-height: 1;
}
.lb .arrow { top: 50%; width: 48px; height: 48px; }
.lb .arrow.prev { left: max(12px, env(safe-area-inset-left, 0px)); }
.lb .arrow.next { right: max(12px, env(safe-area-inset-right, 0px)); }

@media (max-width: 1060px) {
  header .wrap { flex-wrap: wrap; }
  .nav-toggle { display: inline-grid; }
  nav.site-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 14px;
    border-top: 1px solid var(--line);
    margin-top: 8px;
  }
  nav.site-nav.is-open {
    display: flex;
    max-height: calc(100dvh - 76px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
  }
  nav.site-nav > a:not(.btn) {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 1.35rem;
  }
  nav.site-nav .btn { align-self: flex-start; margin-top: 8px; }
}

@media (max-width: 960px) {
  .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job.span-3 { grid-column: span 2; }
}

@media (max-width: 900px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  a.svc:not(:nth-child(3n+1)) { border-left: 0; }
  a.svc:nth-child(even) { border-left: 1px solid var(--line); }
  .contact-split { grid-template-columns: 1fr; gap: 20px; }
  .choice-or { margin: 0; }
  .feature .wrap, .about .wrap { grid-template-columns: 1fr; gap: 32px; }
  .terms { grid-template-columns: 1fr 1fr; }
  .term.bundle { grid-column: 1 / -1; }
  #p-bc .terms .term.bundle { grid-column: auto; }
  #p-bc .terms .term:first-child { grid-column: 1 / -1; }
  .bundle-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  header .brand img { height: 36px; }
  .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 48px; }
  .hero-photo { justify-self: center; max-width: 340px; }
  .hero-photo .tag { left: -8px; }
}

@media (max-width: 600px) {
  .jobs { grid-template-columns: 1fr; }
  .jobs.is-clipped .job.is-folded { display: none; }
  .jobs-more { display: inline-flex; margin-top: 20px; }
  .hero-logo { display: none; }
  .job.wide,
  .job.span-2,
  .job.span-3 { grid-column: auto; }
  .job.wide .slide img,
  .job.span-2 .slide img,
  .job.span-3 .slide img { aspect-ratio: 4/5; }
}

@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  a.svc:nth-child(even) { border-left: 0; }
  .terms, .terms.two { grid-template-columns: 1fr; }
  .term.bundle { grid-column: auto; }
  .ptabs a { font-size: 1.15rem; margin-right: .5em; padding-right: .4em; }
  .contact-form fieldset { grid-template-columns: 1fr; padding: 20px; }
  .contact-list div { padding-left: 20px; padding-right: 20px; }
  .prod img { aspect-ratio: 16/9; }
}

@media (forced-colors: active) {
  .btn, a.svc li, .chips span, .term, .prod, .job, .footer-social a, nav a.ig {
    border-color: CanvasText;
  }
  .btn.red { background: ButtonText; color: ButtonFace; forced-color-adjust: none; }
}
.account-masquerade {
  margin-left: 8px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
