:root {
  --accent: #E44D28;
  --ink: #111111;
  --body-copy: #3A3A3A;
  --muted: #6B6B69;
  --line: #E3E3E0;
  --line-soft: #C9C9C5;
  --bed: #E9E9E7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  font-family: Archivo, system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

img { max-width: 100%; }

.wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 26px;
  width: 100%;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  column-gap: 0;
  row-gap: 18px;
  align-items: start;
}

.section-title {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 18ch;
  text-wrap: balance;
}

.section-body {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--body-copy);
  max-width: 46ch;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  max-width: 1300px;
  margin: 0 auto;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.logo-link { flex: none; display: block; }
.logo-header { width: 178px; display: block; }
.logo-footer { width: 230px; display: block; }

.main-nav {
  display: flex;
  gap: 14px 17px;
  align-items: center;
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn {
  display: inline-block;
  cursor: pointer;
  border: none;
  font-family: Archivo, sans-serif;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  padding: 16px 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.btn-primary:hover { background: var(--accent); color: #fff; }

.btn-header {
  flex: none;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 12px 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.btn-header:hover { background: var(--ink); color: #fff; }

.hamburger {
  display: none;
  margin-left: auto;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.hamburger span { display: block; width: 20px; height: 1.5px; background: var(--ink); }

.mobile-menu {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 14px 26px 22px;
  display: none;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mobile-menu .btn-primary {
  margin-top: 16px;
  text-align: center;
  width: 100%;
}

@media (max-width: 819px) {
  .main-nav, .btn-header { display: none; }
  .hamburger { display: flex; }
}
@media (min-width: 820px) {
  .mobile-menu { display: none !important; }
}

/* ---------- hero ---------- */

.hero {
  padding: 76px 26px 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(46px, 7.4vw, 104px);
  line-height: .94;
  letter-spacing: -0.04em;
  font-weight: 700;
  max-width: 16ch;
  text-wrap: balance;
}
.hero-details {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 36px;
  align-items: start;
}
.hero-details p {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
  color: var(--body-copy);
  text-wrap: pretty;
}
.hero-cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* ---------- generic section ---------- */

.section {
  padding: 78px 26px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------- browser mock ---------- */

.mock {
  border: 1px solid var(--line);
}
.mock-titlebar {
  border-bottom: 1px solid var(--line);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 9px; height: 9px; border-radius: 50%; background: #DEDEDA; display: block; }
.mock-body { padding: 26px 30px 34px; display: flex; flex-direction: column; gap: 22px; }

.mock-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  flex-wrap: wrap;
}
.mock-nav .brand { display: flex; align-items: baseline; gap: 7px; }
.mock-nav .brand span { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.mock-nav .links {
  display: flex;
  gap: 22px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-left: auto;
  flex-wrap: wrap;
  align-items: center;
}
.mock-nav .links .active { border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.mock-nav .links .dim { color: var(--muted); }
.mock-nav .signin { border: 1px solid var(--ink); padding: 8px 14px; font-size: 10.5px; font-weight: 600; }

.mock h3 { margin: 0; font-size: clamp(34px, 4.4vw, 58px); line-height: 1; letter-spacing: -0.035em; font-weight: 700; }

.facet-row {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 20px;
  align-items: end;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  min-width: 0;
}
.search-field svg { width: 13px; height: 13px; flex: none; }
.search-field span { font-size: 13px; color: var(--muted); }

.facet {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 6px;
  min-width: 0;
}
.facet .k { font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facet .v { font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.facet .v .caret { font-size: 9px; color: var(--muted); margin-left: auto; }

.count-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.count-row .count { font-size: 13px; color: var(--body-copy); }
.count-row .sort { font-size: 13px; color: var(--body-copy); margin-left: auto; }

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(168px, (100% - 78px) / 4), 1fr));
  gap: 26px;
}
.work-card { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.work-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bed);
  overflow: hidden;
}
/* Absolute so a tall image can never stretch the pod past its aspect ratio.
   The offsets are the pod's inner margin; padding would be ignored here,
   since an absolute child is placed against the padding box. */
.work-thumb .img-frame { position: absolute; top: 26px; right: 26px; bottom: 26px; left: 26px; }
.work-thumb img, .theme-thumb img, .artist-thumb img, .pf-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.work-thumb .placeholder, .theme-thumb .placeholder, .artist-thumb .placeholder, .pf-thumb .placeholder, .record-image .placeholder {
  width: 100%;
  height: 100%;
  background: #DFDFDB;
}
.bookmark {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.bookmark svg { width: 11px; height: 13px; }

.work-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
.work-meta .row1 { display: flex; gap: 10px; align-items: baseline; }
.work-meta .artist { font-size: 13px; border-bottom: 1px solid var(--line-soft); line-height: 1.3; }
.work-meta .acc { font-size: 11px; color: var(--muted); letter-spacing: .06em; margin-left: auto; flex: none; }
.work-meta .title-line { font-size: 15px; line-height: 1.3; }
.work-meta .title-line i { font-style: italic; }
.work-meta .medium { font-size: 13px; color: var(--body-copy); line-height: 1.35; }

/* ---------- record section ---------- */

.record-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.record-topbar {
  border-bottom: 1px solid var(--line);
  padding: 14px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.record-topbar .back { font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.record-topbar .pos { font-size: 12.5px; color: var(--muted); margin-left: auto; letter-spacing: .04em; }
.circle-btn {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.circle-btn.prev { border: 1px solid #D8D8D4; }
.circle-btn.next { border: 1px solid var(--ink); }

.record-image-col {
  background: var(--bed);
  padding: 48px 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  min-width: 0;
}
.record-image {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3 / 4;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}
.record-image img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.record-credit { font-size: 11.5px; color: var(--body-copy); text-align: center; }
.record-views { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.record-view { width: 62px; display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
.record-view .thumb { position: relative; width: 62px; height: 62px; background: #fff; border: 1px solid #DCDCD8; }
.record-view .thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.record-view .sel-bar { height: 2px; background: var(--ink); display: none; }
.record-view.selected .sel-bar { display: block; }

.record-info { padding: 46px 40px; display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.record-heading { display: flex; flex-direction: column; gap: 12px; }
.record-heading .artist { font-size: 15px; border-bottom: 1px solid var(--line-soft); align-self: flex-start; line-height: 1.4; }
.record-heading .title-date { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.02em; }
.record-heading .title-date i { font-style: italic; font-weight: 500; }

.meta-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.meta-row {
  display: grid;
  grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.meta-row .k { font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.meta-row .v { font-size: 14.5px; line-height: 1.45; color: var(--ink); }

.themes-block { display: flex; flex-direction: column; gap: 10px; }
.themes-block .label { font-size: 10.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.theme-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.theme-tag { border: 1px solid #D8D8D4; border-radius: 22px; padding: 8px 16px; font-size: 12.5px; }

.record-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.btn-solid, .btn-outline {
  padding: 16px; text-align: center; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.btn-solid { background: var(--ink); color: #fff; }
.btn-outline { border: 1px solid var(--ink); }

/* ---------- artists ---------- */

.mock-block { border: 1px solid var(--line); padding: 26px 30px 32px; display: flex; flex-direction: column; gap: 22px; }
.mock-block h3 { margin: 0; font-size: clamp(28px, 3.6vw, 46px); line-height: 1; letter-spacing: -0.035em; font-weight: 700; }
.filter-row {
  border-top: 1px solid #6F6F6FEB;
  border-bottom: 1px solid #6F6F6FEB;
  padding: 13px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.filter-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  width: 100%;
  height: 28px;
}
.filter-field svg { width: 13px; height: 13px; flex: none; }
.filter-field span { font-size: 13px; color: var(--muted); }

.artists-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(max(168px, (100% - 78px) / 4), 1fr)); gap: 26px; }
.artist-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.artist-thumb {
  position: relative; width: 100%; aspect-ratio: 1 / 1; background: var(--bed);
  overflow: hidden;
}
.artist-thumb .img-frame { position: absolute; top: 26px; right: 26px; bottom: 26px; left: 26px; }
.artist-meta { display: flex; flex-direction: column; gap: 5px; border-top: 1px solid var(--line); padding-top: 10px; }
.artist-meta .name { font-size: 15px; font-weight: 600; line-height: 1.3; }
.artist-meta .sub { font-size: 12.5px; color: var(--body-copy); }

/* ---------- themes ---------- */

.themes-grid {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 26px;
  padding-top: 22px;
}
.theme-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.theme-thumb {
  position: relative; width: 100%; aspect-ratio: 4 / 3; background: var(--bed);
  overflow: hidden;
}
.theme-thumb .img-frame { position: absolute; top: 24px; right: 24px; bottom: 24px; left: 24px; }
.theme-meta { display: flex; flex-direction: column; gap: 5px; border-top: 1px solid var(--line); padding-top: 10px; }
.theme-meta .row1 { display: flex; gap: 12px; align-items: baseline; }
.theme-meta .name { font-size: 16px; font-weight: 600; line-height: 1.3; }
.theme-meta .count { font-size: 12px; color: var(--muted); margin-left: auto; flex: none; }
.theme-meta .desc { font-size: 13px; line-height: 1.45; color: var(--body-copy); }

/* ---------- portfolios ---------- */

.portfolios-section { margin-top: 78px; background: var(--ink); color: #fff; padding: 74px 0; }
.portfolios-inner { display: flex; flex-direction: column; gap: 40px; }
.portfolios-intro .eyebrow { color: #9A9A96; }
.portfolios-intro-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); column-gap: 0; row-gap: 18px; align-items: start; }
.portfolios-intro-grid p { margin: 0; font-size: 17px; line-height: 1.55; color: #C6C6C2; max-width: 46ch; text-wrap: pretty; }

.portfolios-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 22px; align-items: start; }

.pf-card { background: #fff; color: var(--ink); min-width: 0; }
.pf-topbar { border-bottom: 1px solid var(--line); padding: 14px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pf-topbar .back { font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.pf-topbar .who { margin-left: auto; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--body-copy); }
.pf-topbar .avatar { width: 28px; height: 28px; border: 1px solid #D8D8D4; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.pf-body { padding: 30px 24px 34px; display: flex; flex-direction: column; gap: 24px; }
.pf-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; align-items: start; }
.pf-head-title { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pf-head .label { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pf-head .title { font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -0.03em; font-weight: 700; }
.pf-head .actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pf-head .actions span { padding: 10px 14px; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.pf-head .actions .out { border: 1px solid #D8D8D4; }
.pf-head .actions .solid { border: 1px solid var(--ink); }

.pf-works { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 22px; }
.pf-work { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pf-thumb { position: relative; width: 100%; aspect-ratio: 1 / 1; background: var(--bed); }
.pf-thumb .img-frame { position: absolute; top: 22px; right: 22px; bottom: 22px; left: 22px; box-shadow: 0 8px 18px rgba(0, 0, 0, .14); }
.pf-meta { display: flex; flex-direction: column; gap: 5px; border-top: 1px solid var(--line); padding-top: 10px; }
.pf-meta .row1 { display: flex; gap: 10px; align-items: baseline; }
.pf-meta .artist { font-size: 12.5px; color: var(--body-copy); }
.pf-meta .acc { font-size: 11px; color: var(--muted); letter-spacing: .06em; margin-left: auto; flex: none; }
.pf-meta .title-line { font-size: 14px; line-height: 1.3; }
.pf-meta .title-line i { font-style: italic; }
.pf-meta .medium { font-size: 12.5px; color: var(--body-copy); }
.pf-meta .remove { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--line-soft); align-self: flex-start; margin-top: 4px; }

.pf-note { border-left: 2px solid var(--accent); background: #F6F5F3; padding: 14px 16px; font-size: 14px; line-height: 1.5; color: var(--body-copy); }

.pf-side { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.signin-card { background: #fff; color: var(--ink); padding: 34px 30px 38px; display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.signin-card .label { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.signin-card h4 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.signin-card .sub { font-size: 14px; color: var(--body-copy); }
.signin-form { width: 100%; display: flex; flex-direction: column; gap: 14px; text-align: left; margin-top: 6px; }
.signin-field { display: flex; flex-direction: column; gap: 6px; }
.signin-field .flabel { font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.signin-field .flabel-row { display: flex; align-items: baseline; }
.signin-field .forgot { margin-left: auto; font-size: 12px; color: var(--body-copy); }
.signin-fake-input { border: 1px solid #D8D8D4; padding: 13px 14px; font-size: 13.5px; color: var(--muted); }
.signin-submit { background: var(--ink); color: #fff; padding: 15px; text-align: center; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.signin-alt { font-size: 12.5px; color: var(--muted); text-align: center; }

.pf-features { display: flex; flex-direction: column; border-top: 1px solid #2C2C2A; }
.pf-feature { padding: 16px 0; border-bottom: 1px solid #2C2C2A; display: flex; flex-direction: column; gap: 5px; }
.pf-feature .title { font-size: 15px; font-weight: 600; }
.pf-feature .body { font-size: 14px; line-height: 1.5; color: #AEAEAA; }

/* ---------- archive ---------- */

.archive-panel { border: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.archive-tree { padding: 30px 26px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 0; min-width: 0; }
.archive-tree .label { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: 14px; }
.tree-item { border-top: 1px solid var(--line); padding: 13px 0; display: flex; flex-direction: column; gap: 3px; }
.tree-item .row { display: flex; align-items: center; gap: 10px; }
.tree-item .toggle { width: 17px; height: 17px; border: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--body-copy); flex: none; }
.tree-item .toggle.active { border-color: var(--ink); color: var(--ink); }
.tree-item .code { font-size: 12px; color: var(--muted); padding-left: 27px; }

.archive-detail { padding: 30px 30px 36px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.archive-detail .crumb { display: flex; flex-direction: column; gap: 10px; }
.archive-detail .crumb .label { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.archive-detail .crumb .name { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }
.archive-tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.archive-tabs .active { border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.archive-tabs .dim { color: var(--muted); padding-bottom: 10px; }
.archive-detail p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--body-copy); }
.archive-meta { display: flex; flex-direction: column; }
.archive-meta .meta-row { grid-template-columns: minmax(0, 120px) minmax(0, 1fr); border-top: 1px solid var(--line); border-bottom: none; padding: 13px 0; }
.archive-meta .meta-row .v { color: var(--ink); }

/* ---------- included / features ---------- */

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 56px; }
.feature-row { display: grid; grid-template-columns: minmax(0, 26px) minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); align-items: baseline; }
.feature-row .num { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.feature-row .body-col { display: flex; flex-direction: column; gap: 5px; }
.feature-row .ftitle { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.feature-row .fbody { font-size: 14.5px; line-height: 1.5; color: var(--body-copy); text-wrap: pretty; }

/* ---------- qi ---------- */

.qi-heading { display: flex; align-items: center; gap: 14px; }
.qi-heading svg { height: 34px; width: 13.2px; display: block; flex: none; }
.qi-intro-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); column-gap: 0; row-gap: 18px; align-items: start; }
.qi-intro-grid .col { min-width: 0; }
.qi-intro-text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.qi-intro-text p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--body-copy); max-width: 46ch; text-wrap: pretty; }
.qi-intro-text .sub { font-size: 15px; color: var(--muted); }
.qi-more-link { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--line-soft); align-self: flex-start; padding-bottom: 3px; }
.qi-devices-link { display: block; }
.qi-devices-link img { display: block; width: 100%; height: auto; }
.qi-points { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.qi-point {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  column-gap: 0; row-gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.qi-point .k { font-size: 15px; font-weight: 600; }
.qi-point .v { font-size: 15px; line-height: 1.5; color: var(--body-copy); max-width: 46ch; }

/* ---------- demo cta ---------- */

.demo-section { padding: 86px 26px 92px; display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.demo-section h2 { margin: 0; font-size: clamp(34px, 5.4vw, 76px); line-height: .98; letter-spacing: -0.04em; font-weight: 700; max-width: 22ch; text-wrap: balance; }
.demo-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-mail { border: 1px solid #D8D8D4; padding: 17px 32px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.btn-mail:hover { border-color: var(--ink); color: var(--ink); }
.btn-demo-large { padding: 17px 32px; }
.btn-demo-large:hover { background: var(--accent); }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 34px; }
.footer-inner { display: flex; flex-direction: column; gap: 46px; }
.footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.footer-powered { display: flex; align-items: center; gap: 18px; }
.footer-powered .divider { width: 1px; height: 54px; background: var(--line); flex: none; }
.footer-powered .text { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; color: var(--body-copy); }
.footer-powered .by-row { display: flex; align-items: baseline; gap: 8px; }
.footer-powered a { color: inherit; }
.footer-powered .by-row svg { height: 28px; width: 10.9px; display: block; transform: translateY(6px); }
.footer-col { display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.footer-col .label { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer-col a { color: var(--body-copy); }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-bottom .push { margin-left: auto; }
.footer-bottom a { color: inherit; }

/* ---------- demo form modal ---------- */

.modal-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(17, 17, 17, .42);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-card { background: #fff; width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; border: 1px solid var(--ink); }
.modal-topbar { border-bottom: 1px solid var(--line); padding: 16px 22px; display: flex; align-items: center; gap: 16px; }
.modal-topbar .label { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.modal-topbar .close { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.modal-body { padding: 30px 26px 34px; display: flex; flex-direction: column; gap: 18px; }
.modal-body form { display: flex; flex-direction: column; gap: 18px; }
.modal-body .headline { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }
.modal-body .sub { font-size: 14.5px; line-height: 1.5; color: var(--body-copy); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  border: 1px solid #D8D8D4; padding: 13px 14px; font-size: 14px; font-family: Archivo, sans-serif;
  color: var(--ink); background: #fff; width: 100%;
}
.field textarea { resize: vertical; }
/* Honeypot: absolute so it stays out of the form's flex flow and adds no gap. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-submit { width: 100%; }
.form-alt { font-size: 12.5px; color: var(--muted); }
.form-error { font-size: 13px; color: #B3261E; display: none; }
.form-error.show { display: block; }
.modal-thanks { padding: 44px 26px 48px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.modal-thanks .headline { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.modal-thanks .sub { font-size: 15px; line-height: 1.5; color: var(--body-copy); }
.modal-thanks .btn-outline { margin-top: 8px; }
.modal-thanks .btn-outline:hover { background: var(--ink); color: #fff; }

.hidden { display: none !important; }
