/* Verepor Job Book — one material, two layouts.
   Paper, ink, a rust stamp. No orbs. No eight themes. */

:root {
  --paper: #efe6d4;
  --paper-deep: #e4d8c0;
  --cream: #fffbf4;
  --cream-2: #f7f0e4;
  --ink: #1a1410;
  --ink-soft: #5a5248;
  --ink-faint: #8a8174;
  --rule: #d8ccb6;
  --rule-strong: #c4b496;
  --stamp: #c63b12;
  --stamp-deep: #9e2e0e;
  --stamp-soft: #f3d4c8;
  --on-stamp: #fffbf4;
  --live: #1a6b45;
  --live-soft: #d5eddf;
  --alert: #a32d21;
  --alert-soft: #f4d6d2;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --shadow-page: 0 1px 0 rgba(26, 20, 16, 0.04), 0 18px 40px rgba(26, 20, 16, 0.08);
  --radius: 10px;
  --radius-sm: 6px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "kern";
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

.tabular { font-variant-numeric: tabular-nums; }

/* ——— Type ——— */
.display {
  font-family: var(--serif);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.display em {
  font-style: italic;
  font-weight: 500;
}

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stamp);
}

.lede {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 42ch;
}

.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.15s;
}
.btn:active { transform: translateY(2px); }

.btn-stamp {
  background: var(--stamp);
  color: var(--on-stamp);
  box-shadow: 0 3px 0 var(--stamp-deep);
  padding: 13px 22px;
  font-size: 16px;
}
.btn-stamp:hover { background: #d44516; }
.btn-stamp:active { box-shadow: 0 1px 0 var(--stamp-deep); }

.btn-ink {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 3px 0 #0d0a08;
  padding: 13px 22px;
  font-size: 16px;
}
.btn-ink:hover { background: #2a221c; }
.btn-ink:active { box-shadow: 0 1px 0 #0d0a08; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--rule-strong);
  padding: 11px 20px;
  font-size: 15px;
  box-shadow: none;
}
.btn-ghost:hover { background: var(--cream); }
.btn-ghost:active { transform: none; }

.btn-text {
  background: none;
  border: 0;
  box-shadow: none;
  color: var(--stamp);
  font-weight: 600;
  padding: 8px 0;
  font-size: 15px;
}
.btn-text:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn-text:active { transform: none; }

.btn-lg { min-height: 56px; padding: 16px 24px; font-size: 17px; width: 100%; }
.btn-block { width: 100%; }

/* ——— Layout helpers ——— */
.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.wrap-narrow {
  width: min(720px, calc(100% - 40px));
  margin-inline: auto;
}

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* ——— Site nav ——— */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.site-nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.site-nav .brand svg { width: 28px; height: 28px; }
.site-nav .links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav .links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 12px;
}
.site-nav .links a:hover { color: var(--ink); }
.site-nav .links a[aria-current="page"] { color: var(--ink); }

/* ——— Stamp mark ——— */
.mark { display: block; }

/* ——— Page card (printed sheet on the table) ——— */
.sheet {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 4px 4px 12px 12px;
  box-shadow: var(--shadow-page);
}

/* ——— Phone device ——— */
.phone {
  width: 340px;
  background: #2a241e;
  border-radius: 28px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(26, 20, 16, 0.25),
    0 24px 50px rgba(26, 20, 16, 0.18);
}
.phone-screen {
  background: var(--paper);
  border-radius: 20px;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.phone-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px 4px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
}
.phone-body {
  flex: 1;
  padding: 8px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phone-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  background: var(--cream);
  padding: 8px 4px 12px;
}
.phone-tabs button {
  background: none;
  border: 0;
  box-shadow: none;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px;
}
.phone-tabs button[aria-current="true"] { color: var(--ink); }
.phone-tabs .tab-icon {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: 1.5px solid currentColor;
  background: transparent;
}
.phone-tabs button[aria-current="true"] .tab-icon {
  background: currentColor;
}

/* ——— Desk device ——— */
.desk {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 12px;
  min-height: 560px;
  display: grid;
  grid-template-columns: 200px 1fr;
  overflow: hidden;
  box-shadow: var(--shadow-page);
}
.desk-rail {
  background: var(--cream-2);
  border-right: 1px solid var(--rule);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.desk-rail .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  padding: 4px 8px 16px;
}
.desk-rail a,
.desk-rail button.rail-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.desk-rail a:hover,
.desk-rail button.rail-item:hover { background: var(--cream); color: var(--ink); }
.desk-rail a[aria-current="true"],
.desk-rail button.rail-item[aria-current="true"] {
  background: var(--cream);
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--stamp);
}
.desk-main { padding: 28px 32px; }

/* ——— App bits ——— */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--cream);
  color: var(--ink-soft);
}
.chip-live {
  background: var(--live-soft);
  border-color: #b5dcc8;
  color: var(--live);
}
.chip-warn {
  background: var(--stamp-soft);
  border-color: #e8b8a8;
  color: var(--stamp-deep);
}
.chip-ok {
  background: var(--live-soft);
  border-color: #b5dcc8;
  color: var(--live);
}

.job-caption {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.status-hed {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 2px 0 4px;
}

.meta-line {
  font-size: 13px;
  color: var(--ink-soft);
}

.clock-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.clock-card .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--live);
}
.clock-card .time {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 6px 0 8px;
  font-variant-numeric: tabular-nums;
}

.row-job {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--rule);
  font-size: 14px;
}

.notes {
  width: 100%;
  min-height: 140px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  background:
    repeating-linear-gradient(
      var(--cream),
      var(--cream) 27px,
      var(--rule) 28px
    );
  padding: 8px 12px;
  font-size: 16px;
  line-height: 28px;
  resize: vertical;
}
.notes:focus {
  outline: 2px solid var(--stamp);
  outline-offset: 1px;
}

.photo-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.photo-tile {
  min-height: 96px;
  border: 1.5px dashed var(--rule-strong);
  border-radius: var(--radius);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.photo-shot {
  min-height: 96px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--rule);
}

.sticky-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.memo-hed {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 8px;
}
.chase-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.chase-item h3 {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 600;
}
.chase-item p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.ledger th {
  text-align: left;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 8px 10px;
  border-bottom: 1.5px solid var(--ink);
}
.ledger td {
  padding: 10px;
  border-bottom: 1px solid var(--rule);
  font-variant-numeric: tabular-nums;
}
.ledger .num {
  font-family: var(--mono);
  font-size: 13px;
  text-align: right;
}
.ledger tfoot td {
  font-weight: 600;
  border-bottom: 0;
  border-top: 1.5px solid var(--ink);
}

.banner-offline {
  background: var(--ink);
  color: var(--cream);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 12px;
  text-align: center;
}

/* ——— Marketing ——— */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px 0 72px;
}
.hero-grid h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin: 10px 0 18px;
}
.hero-grid h1 em { font-style: italic; font-weight: 500; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.hero-note { font-size: 13px; color: var(--ink-faint); margin-top: 14px; }

.section { padding: 72px 0; }
.section h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 8px 0 16px;
  max-width: 18ch;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.steps article .n {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  color: var(--stamp);
  line-height: 1;
  margin-bottom: 10px;
}
.steps h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.steps p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 15px;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.compare th, .compare td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
.compare th {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}
.compare th:first-child, .compare td:first-child {
  color: var(--ink-soft);
  width: 34%;
}
.compare .yes { font-weight: 600; }
.compare .no { color: var(--ink-faint); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.price-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px;
}
.price-card.featured {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}
.price-card .plan {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.price-card .amt {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 8px 0 4px;
}
.price-card .amt span {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0;
}
.price-card ul {
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}
.price-card ul li::before {
  content: "— ";
  color: var(--stamp);
}

.faq details {
  border-top: 1px solid var(--rule);
  padding: 16px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
}
.faq p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 62ch;
}

.site-foot {
  padding: 48px 0 32px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* Studio chrome */
.studio-top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.studio-top .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
}
.studio-top a, .studio-top button.s-link {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--ink-soft);
  background: none;
  border: 0;
  box-shadow: none;
}
.studio-top a:hover, .studio-top button.s-link:hover,
.studio-top a[aria-current="page"] {
  color: var(--ink);
  background: var(--cream);
}

.letter {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 40px 48px;
  box-shadow: var(--shadow-page);
  max-width: 760px;
}
.letter p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 1em;
}
.letter p:last-child { margin-bottom: 0; }

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.gallery a {
  display: block;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 18px 20px;
}
.gallery a:hover { border-color: var(--ink); }
.gallery h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 6px;
  font-weight: 600;
}
.gallery p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.45; }

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
}
.principles h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
}
.principles p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

.print {
  width: min(640px, 100%);
  background: #fffef8;
  padding: 44px 48px 52px;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-page);
}
.print-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 2.5px solid var(--ink);
  padding-bottom: 16px;
  margin-bottom: 18px;
}
.print-co {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 4px;
}
.rubber {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--live);
  border: 2px solid var(--live);
  padding: 6px 10px;
  transform: rotate(-7deg);
  display: inline-block;
}
.print-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}
.print-photos figure { margin: 0; }
.print-photos .shot {
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--rule);
}
.print-photos figcaption {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 6px;
}
.person-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}
.person-row strong { font-weight: 600; display: block; }
.person-row span { color: var(--ink-soft); font-size: 13px; }
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.photo-strip .shot {
  aspect-ratio: 1;
  border-radius: 6px;
  background-size: cover;
  border: 1px solid var(--rule);
}
.day-pips {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}
.day-pips .pip {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 10px 4px;
}
.day-pips .pip .d {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-faint);
  margin-bottom: 4px;
}
.day-pips .pip.in { border-color: var(--live); background: var(--live-soft); }
.day-pips .pip.out { border-color: #e8b8a8; background: var(--stamp-soft); }
.phones-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-items: center;
}
.phones-row .phone { width: 300px; }
.gc-chrome {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 0 8px;
  text-align: center;
}
.gc-chrome p { margin: 0; font-size: 13px; color: var(--ink-faint); }

@media (max-width: 900px) {
  .hero-grid, .steps, .price-grid, .gallery, .principles, .desk, .phones-row {
    grid-template-columns: 1fr;
  }
  .hero-grid { gap: 32px; padding-top: 24px; }
  .phone { margin-inline: auto; }
  .site-nav .links .hide-sm { display: none; }
  .letter { padding: 24px 20px; }
}
