/* Hallmark · shape: Narrative Workflow · genre: editorial · theme: Formwork (deal 1/3, seed indonesian-tailoring-tool-paste-40e6·031ac71e·2026-10-23·r0) · job: buy · draw: b42604
 * hero: Banner · nav: slab · footer: colophon · imagery: none, the CV shown as a sample in two plates · signature: the price cast as a plate · formwork: cast, restrained, orange on the action only
 * axes: mid/display-condensed/warm · posture: restrained · contrast: pass · fold: pass · v2.0.0
 * sweep: Floor 0 FAIL · Reflex 0 open (1 waived: 85) · WARN 0 · finish-review: subagent, 1 fixed (the buy form was browser chrome) 2 answered
 * shape swapped from the draw's Index-First (a single-offer page has no index to lead with); footer swapped from index columns (no sitemap exists); the draw's Pinned run dropped, one generation is not a tour */
/* Hallmark · pre-emit critique: P5 H4 E4 S5 R5 V3 · weakest: V, the draw's Index-First refused a one-product material, so the shape is Narrative Workflow and the offer sits in the hero as a cast plate, not a feature run */
/* Hallmark · waive 85 · the close is the buy box: Bayar Rp99.000 charges for one CV, and the file picker sits inside a styled label so only the email and the posting link are counted as fields · a purchase form is not a mailing list, and the guard's verb list carries no Indonesian word for ordering */
@import url("./tokens.css");
@import url("./base.css");

/* The paper is cast, so the grain sits over the whole sheet at the token's whisper. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-raised);
  pointer-events: none;
  opacity: var(--texture-opacity);
  background-size: 200px 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 9 -4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

.skip {
  position: absolute;
  left: var(--space-md);
  top: calc(-1 * var(--space-3xl));
  z-index: var(--z-toast);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-ink);
  color: var(--color-paper);
}
.skip:focus-visible { top: var(--space-md); }

/* Nav · a slab: the full-width ink bar. */
.slab {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky-nav);
  background: var(--color-ink);
  color: var(--color-plate-ink);
}
.slab__in {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  min-height: 72px;
}
.slab__mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-plate-ink);
  min-width: 0;
}
.slab__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-block: 0;
}
.slab__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  color: var(--color-plate-ink);
  text-decoration: none;
  transition: color var(--dur-short) var(--ease-out);
}
.slab__links a:hover { color: var(--color-accent); }
.slab :focus-visible { outline: 2px solid var(--color-plate-ink); outline-offset: 3px; }
.slab__cta { text-decoration: underline; text-underline-offset: 0.2em; }
.slab__cta:hover { color: var(--color-accent); }

/* Hero · Banner: half the screen, and the first section shows under it. */
.hero { padding-block: var(--space-3xl) 0; }
.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap-columns);
  align-items: center;
}
.hero__text { grid-column: 1 / span 7; }
.hero__text .lead { margin-top: var(--space-lg); }
.hero__text .btn { margin-top: var(--space-xl); }

.plate {
  background: var(--color-plate);
  border: var(--rule-bar) solid var(--color-ink);
  box-shadow: var(--shadow-card);
  padding: var(--space-xl);
  min-width: 0;
}
.price {
  grid-column: 8 / span 5;
  align-self: center;
}
.price__figure {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 6.2vw, 5rem);
  line-height: 1;
  letter-spacing: var(--tracking-display);
  font-variant-numeric: tabular-nums;
}
.price__cur {
  font-size: 0.44em;
  vertical-align: 0.85em;
  margin-right: var(--space-2xs);
}
.price__unit {
  display: block;
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: var(--rule-hair) solid var(--color-paper-3);
  font-size: var(--text-sm);
  color: var(--color-ink-2);
}

/* Controls · Formwork casts them: no radius, a hard offset, a press of 3px. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--space-xl);
  border: 2px solid var(--color-ink);
  border-radius: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-md);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn--primary {
  background: var(--color-accent);
  color: var(--color-accent-ink);
  box-shadow: 0 3px 0 var(--color-accent-deep);
  transition: translate var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out);
}
.btn--primary:hover { background: color-mix(in oklab, var(--color-accent) 88%, var(--color-ink)); }
.btn--primary:active { translate: 0 3px; box-shadow: 0 0 0 var(--color-accent-deep); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled,
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; translate: none; }
@media (prefers-reduced-motion: reduce) {
  .btn--primary { transition: none; }
}

/* Sections · the three scaffold rungs, mixed so no two seams read the same. */
.sect { padding-block: var(--section-gap); }
.sect--tight { padding-block: var(--section-gap-s); }
.sect--wide { padding-block: var(--section-gap-l); }
.sect--ruled { border-top: var(--rule-bar) solid var(--color-ink); }
.sect__intro { margin-top: var(--space-md); }
.sect h2 { max-width: 24ch; }

/* Comparison · two plates, the same line written twice. */
.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap-columns);
  margin-top: var(--space-2xl);
  align-items: start;
}
.pair__plate dl { margin: var(--space-lg) 0 0; }
.row { padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-paper-3); }
.row:first-child { border-top: 0; padding-top: 0; }
.row dt { font-size: var(--text-sm); color: var(--color-muted); }
.row dd { margin: var(--space-2xs) 0 0; }
.caption {
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-ink-2);
  max-width: 60ch;
}

/* Steps · a pour sequence: the numeral, the stage, one line. */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-columns);
  margin: var(--space-2xl) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  border-left: var(--rule-hair) solid var(--color-paper-3);
  padding-left: var(--space-lg);
  min-width: 0;
}
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-display-s);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.steps p { margin-top: var(--space-xs); max-width: 32ch; }

/* Table · rules only, no frame. */
.spec {
  width: 100%;
  margin-top: var(--space-2xl);
  border-collapse: collapse;
}
.spec th,
.spec td {
  padding-block: var(--space-md);
  border-top: var(--rule-hair) solid var(--color-paper-3);
  text-align: left;
  vertical-align: top;
}
.spec tr:first-child th,
.spec tr:first-child td { border-top: var(--rule-bar) solid var(--color-ink); }
.spec th { width: 30%; font-weight: 500; }

/* Close · the fields beside the head, the offer in the head's voice. */
.buy__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap-columns);
  align-items: start;
}
.buy__head { grid-column: 1 / span 4; }
.buy { grid-column: 6 / span 7; display: grid; gap: var(--space-lg); min-width: 0; }
.field { display: grid; gap: var(--space-2xs); }
.field label,
.field__label { font-size: var(--text-sm); font-weight: 500; }
.field input {
  min-height: 48px;
  padding: 0 var(--space-md);
  border: 2px solid var(--color-ink);
  border-radius: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  outline: 2px solid transparent;
  outline-offset: -4px;
  box-shadow: inset 0 2px 3px color-mix(in oklab, var(--color-ink) 22%, transparent);
}
.field input:focus-visible { outline-color: var(--color-focus); }
.field input[aria-invalid] { border-color: var(--color-error); }
.field input::placeholder { color: var(--color-muted); }

/* The CV picker is cast like an input, not left as browser chrome. */
.file {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 48px;
  padding: var(--space-2xs);
  border: 2px solid var(--color-ink);
  background: var(--color-paper);
  box-shadow: inset 0 2px 3px color-mix(in oklab, var(--color-ink) 22%, transparent);
  cursor: pointer;
  min-width: 0;
}
.file:focus-within { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.file:has(input[aria-invalid]) { border-color: var(--color-error); }
.file input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  opacity: 0;
  border: 0;
  box-shadow: none;
}
.file__btn {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 var(--space-md);
  background: var(--color-paper-2);
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  transition: background-color var(--dur-short) var(--ease-out);
}
.file:hover .file__btn { background: var(--color-paper-3); }
.file__name {
  font-size: var(--text-sm);
  color: var(--color-ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.field__hint { font-size: var(--text-sm); color: var(--color-muted); }
.buy__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-ink-2); }
.buy .btn { justify-self: start; }

/* Footer · a colophon, not a link farm. */
.foot { padding-block: var(--space-2xl); border-top: var(--rule-bar) solid var(--color-ink); }
.foot__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap-columns);
}
.foot__mark {
  grid-column: 1 / span 4;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: var(--tracking-display);
  min-width: 0;
}
.foot__body { grid-column: 6 / span 7; display: grid; gap: var(--space-md); }
.foot__body p { max-width: 52ch; }
.foot__links { display: grid; gap: var(--space-2xs); list-style: none; margin: 0; padding: 0; }
.foot__links a { font-size: var(--text-sm); font-weight: 500; }
.foot__legal { font-size: var(--text-sm); color: var(--color-muted); }

@media (max-width: 60rem) {
  .hero__grid,
  .buy__grid,
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__text,
  .price,
  .buy__head,
  .buy,
  .foot__mark,
  .foot__body { grid-column: 1 / -1; }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li {
    border-left: 0;
    border-top: var(--rule-hair) solid var(--color-paper-3);
    padding: var(--space-lg) 0 0;
  }
  .steps li:first-child { border-top: 0; padding-top: 0; }
  .spec th { width: 38%; }
}

@media (max-width: 40rem) {
  .slab__in { gap: var(--space-md); }
  .slab__links li:not(:last-child) { display: none; }
  .hero { padding-block: var(--space-2xl) 0; }
}
