/* ============================================================
   Day Fifteen — accessible, trustworthy software for a shop
   that runs from a truck. White ground, navy ink, one blue,
   real work-scene photography. Re-ruled by Susan 2026-09-11
   (the paper world of 9/10 is retired).
   ============================================================ */

@font-face { font-family: "Sora"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("/assets/fonts/sora.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("/assets/fonts/public-sans.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --df-white: #FFFFFF;
  --df-ground: #F7F8FB;      /* second sheet, quiet bands */
  --df-navy: #0F1B33;        /* the dark ground behind photography */
  --df-ink: #15203A;
  --df-ink-soft: #4B5670;
  --df-ink-mute: #6B7280;
  --df-rule: #E6E9F0;
  --df-blue: #2557C9;        /* the one accent */
  --df-blue-deep: #1B44A3;
  --df-blue-tint: #E8EEF9;
  --df-blue-bright: #2A62D6; /* button on navy only; white label >= 4.5:1 */
  --df-ok: #2E8B57;
  --df-warn: #B8412E;
  --df-draft: #FFF1D6; --df-draft-ink: #6E4100;

  --display: "Sora", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-body: 1.125rem; --fs-small: 0.95rem; --fs-tick: 0.8rem;
  --measure: 40rem; --radius: 10px; --wrap: 72rem; --gutter: clamp(1.25rem, 5vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--df-white); color: var(--df-ink); font-family: var(--body); font-size: var(--fs-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
a { color: var(--df-blue); text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { color: var(--df-blue-deep); }
strong { font-weight: 600; }
.mono { font-family: var(--mono); font-weight: 500; }
:focus-visible { outline: 2px solid var(--df-blue); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; background: var(--df-ink); color: #fff; padding: 0.5rem 0.8rem; z-index: 50; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.reading { max-width: var(--measure); }

/* ---------- masthead ---------- */
.mast { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.3rem 0; }
.mast__mark { color: inherit; text-decoration: none; display: inline-flex; align-items: baseline; gap: 0.7rem; flex-wrap: wrap; }
.mast__mark .name { font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; }
.mast__mark .jobline { font-family: var(--mono); font-size: var(--fs-tick); color: var(--df-ink-mute); }
.mast__nav { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.mast__nav a { color: inherit; text-decoration: none; font-weight: 600; font-size: 1rem; border-bottom: 2px solid transparent; padding-bottom: 2px; }
.mast__nav a:hover, .mast__nav a[aria-current="page"] { border-bottom-color: var(--df-blue); }
.on-navy { color: #fff; } .on-navy .mast__mark .jobline { color: #B8C4DA; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; padding: 0 1.7rem; background: var(--df-blue); color: #fff; font-family: var(--body); font-weight: 600; font-size: 1.1rem; border: 0; border-radius: var(--radius); cursor: pointer; text-decoration: none; box-shadow: 0 8px 20px -12px rgba(37, 87, 201, 0.8); transition: background-color 160ms ease-out, transform 160ms ease-out; }
.btn:hover { background: var(--df-blue-deep); color: #fff; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.btn--bright { background: var(--df-blue-bright); } .btn--bright:hover { background: #2563EB; }
.btn--quiet { background: transparent; color: var(--df-blue); box-shadow: none; border: 1.5px solid var(--df-blue); min-height: 50px; font-size: 1rem; }
.btn--quiet:hover { background: var(--df-blue-tint); color: var(--df-blue-deep); transform: none; }
.cta { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.aside { font-size: var(--fs-small); color: var(--df-ink-mute); }
.on-navy .aside { color: #B8C4DA; }

/* ---------- home hub ---------- */
.hub-head { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.hub-head h1 { max-width: 14ch; font-size: clamp(2.3rem, 4.3vw, 3.7rem); }
.hub-head .lead { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--df-ink-soft); margin: 1.2rem 0 0; max-width: 34rem; }
.hub-head .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hub-head .photo { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(21, 32, 58, 0.5); aspect-ratio: 4 / 3; }
.hub-head .photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 960px) { .hub-head .wrap { grid-template-columns: 1fr; } .hub-head .photo { aspect-ratio: 16 / 10; } }
.jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.job { display: flex; flex-direction: column; background: var(--df-ground); border-radius: 18px; padding: 1.8rem 1.8rem 1.6rem; border: 1px solid var(--df-rule); position: relative; overflow: hidden; }
.job--live { background: var(--df-white); border-color: var(--df-blue); box-shadow: 0 30px 60px -40px rgba(21, 32, 58, 0.45); }
.job h2 { font-size: 1.55rem; margin: 0 0 0.6rem; }
.job .sit { font-family: var(--display); font-weight: 500; font-size: 1.05rem; color: var(--df-ink-soft); margin: 0 0 1rem; line-height: 1.4; }
.job p { margin: 0 0 1rem; }
.job .art { margin: 0.4rem 0 1.4rem; }
.job .links { margin-top: auto; display: flex; flex-direction: column; gap: 0.9rem; }
.job .links .row { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.job .links .row .btn { min-height: 50px; font-size: 1rem; padding: 0 1.3rem; }
.job .soon { display: inline-block; font-family: var(--mono); font-size: var(--fs-tick); color: var(--df-ink-mute); background: var(--df-white); border: 1px solid var(--df-rule); border-radius: 6px; padding: 0.35rem 0.6rem; }
.job--soon h2, .job--soon .sit, .job--soon p { color: var(--df-ink-soft); }
.job--soon h2 { color: var(--df-ink); }
@media (max-width: 960px) { .jobs { grid-template-columns: 1fr; } }

/* mini product objects inside the hub */
.mini { background: #fff; border: 1px solid var(--df-rule); border-radius: 12px; padding: 1rem 1.1rem; font-size: 0.95rem; box-shadow: 0 16px 30px -22px rgba(21, 32, 58, 0.45); }
.mini .top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.8rem; color: var(--df-ink-soft); margin-bottom: 0.4rem; }
.mini .subj { font-weight: 600; margin-bottom: 0.2rem; }
.mini .pre { color: var(--df-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini .tag { display: inline-block; font-family: var(--mono); font-size: 0.8rem; padding: 2px 7px; border-radius: 4px; background: var(--df-draft); color: var(--df-draft-ink); margin-top: 0.45rem; }
.mini + .mini { margin-top: 0.5rem; }

.about-band { background: var(--df-ground); border-top: 1px solid var(--df-rule); padding: clamp(2rem, 5vw, 3.5rem) 0; }
.about-band p { font-size: 1.15rem; max-width: 44rem; margin: 0; color: var(--df-ink-soft); }

/* ---------- paid page hero (comp C) ---------- */
.hero-photo { position: relative; background: var(--df-navy); color: #fff; overflow: hidden; }
.hero-photo .pic { position: absolute; inset: 0; }
.hero-photo .pic img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; display: block; }
.hero-photo .pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,27,51,0.94) 0%, rgba(15,27,51,0.82) 36%, rgba(15,27,51,0.28) 66%, rgba(15,27,51,0.05) 100%); }
.hero-photo .wrap { position: relative; z-index: 2; }
.hero-photo .body { padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); max-width: 40rem; }
.hero-photo h1 { max-width: 15ch; font-size: clamp(2.6rem, 5.4vw, 4.8rem); } /* comp C scale; weight 700 per kit v2 */
.hero-photo .lead { font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.5; color: #D6DEEE; margin: 1.4rem 0 2rem; max-width: 34rem; }
.draft-card { position: absolute; right: clamp(1rem, 5vw, 5rem); bottom: clamp(1.5rem, 4vw, 3rem); width: min(360px, 40vw); background: #fff; color: var(--df-ink); border-radius: 14px; padding: 1.1rem 1.25rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6); font-size: 0.95rem; z-index: 3; }
.draft-card .top { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.8rem; color: var(--df-ink-soft); margin-bottom: 0.45rem; }
.draft-card .subj { font-weight: 700; margin-bottom: 0.35rem; }
.draft-card p { margin: 0 0 0.6rem; color: #3B4459; line-height: 1.45; }
.draft-card .actions { display: flex; gap: 0.6rem; }
.draft-card .actions span { font-size: 0.8rem; font-weight: 700; padding: 0.4rem 0.8rem; border-radius: 6px; background: var(--df-blue); color: #fff; }
.draft-card .actions span + span { background: var(--df-blue-tint); color: var(--df-ink); }
@media (max-width: 900px) {
  .hero-photo .pic img { object-position: 62% 18%; }
  .hero-photo .pic::after { background: linear-gradient(180deg, rgba(15,27,51,0.55) 0%, rgba(15,27,51,0.9) 55%, rgba(15,27,51,0.97) 100%); }
  .hero-photo .body { padding-top: 40vw; padding-bottom: 2rem; }
  .draft-card { position: relative; right: auto; bottom: auto; width: auto; margin: 0 0 2.5rem; z-index: 2; }
}

/* ---------- long copy sections ---------- */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--df-rule); }
.section--ground { background: var(--df-ground); border-top: 0; }
.section h2 { margin-bottom: 1rem; }
.section .lead { font-size: 1.2rem; }
.steps { list-style: none; margin: 1.5rem 0 0; padding: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.3rem 0; border-top: 1px solid var(--df-rule); }
.steps li::before { counter-increment: step; content: counter(step); font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--df-blue); line-height: 1.2; }
.steps h3 { margin: 0 0 0.4rem; }
.steps p:last-child { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0 2rem; }
@media (max-width: 700px) { .price { grid-template-columns: 1fr; } }
.price .tile { background: #fff; border: 1px solid var(--df-rule); border-radius: 16px; padding: 1.6rem 1.7rem; }
.price .amt { font-family: var(--display); font-weight: 700; font-size: 2.2rem; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 0.3rem; }
.price .amt small { font-family: var(--body); font-weight: 500; font-size: 1rem; color: var(--df-ink-mute); letter-spacing: 0; }
.price p { margin: 0; color: var(--df-ink-soft); }
.faq__item { padding: 1.3rem 0; border-top: 1px solid var(--df-rule); }
.faq__item h3 { margin: 0 0 0.5rem; }
.faq__item p:last-child { margin-bottom: 0; }
.disclose { border-left: 0; background: var(--df-blue-tint); border-radius: 12px; padding: 1rem 1.2rem; margin: 1.2rem 0; font-size: 1rem; color: var(--df-ink); }
.disclose p { margin: 0; }

/* email ask */
.ask__row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.4rem; max-width: 34rem; }
.ask__row input[type="email"] { flex: 1 1 16rem; min-height: 58px; padding: 0 1rem; font: inherit; font-size: 1.05rem; color: var(--df-ink); background: #fff; border: 1.5px solid #C9D0DD; border-radius: var(--radius); }
.ask__row input:focus { border-color: var(--df-blue); box-shadow: 0 0 0 3px var(--df-blue-tint); outline: none; }
.ask__row input::placeholder { color: var(--df-ink-mute); }
.ask__ok { display: none; margin-top: 1rem; font-weight: 600; color: var(--df-ok); } .ask__ok.visible { display: block; }
.ask__err { display: none; margin-top: 1rem; color: var(--df-warn); } .ask__err.visible { display: block; }

/* ---------- article pages ---------- */
.article { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.article .reading { margin: 0 auto; }
.article h1 { margin-bottom: 1.5rem; }
.article h2 { font-size: 1.5rem; margin: 2.4rem 0 0.7rem; }
.article ul { padding-left: 1.2rem; } .article li { margin-bottom: 0.4rem; }
.note { border-top: 3px solid var(--df-blue); padding-top: 1rem; margin: 2.5rem 0; }

/* ---------- the free tool page (held until migration; styles kept) ---------- */
.tool { padding: clamp(2.5rem, 6vw, 4rem) 0 0; } .tool .reading { margin: 0 auto; }
.tool h1 { margin-bottom: 1.5rem; } .tool .pre p { font-size: 1.15rem; }
.form { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 3px solid var(--df-blue); }
.form__title { font-size: var(--fs-small); color: var(--df-ink-mute); margin: 0 0 1.4rem; }
.field { margin-bottom: 1.4rem; } .field label { display: block; font-weight: 600; margin-bottom: 0.4rem; line-height: 1.4; }
.field .hint { display: block; font-weight: 400; font-size: var(--fs-small); color: var(--df-ink-mute); margin-top: 0.15rem; }
.field input[type="text"], .field input[type="date"], .field textarea, .field select { width: 100%; min-height: 52px; padding: 0.65rem 0.9rem; font: inherit; font-size: 1.05rem; color: var(--df-ink); background: #fff; border: 1.5px solid #C9D0DD; border-radius: var(--radius); }
.field input[type="date"], .field--amount input { font-family: var(--mono); font-weight: 500; }
.field textarea { min-height: 5rem; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--df-blue); box-shadow: 0 0 0 3px var(--df-blue-tint); outline: none; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 2.4rem; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2315203A' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.95rem center; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.4rem; } @media (max-width: 560px) { .two { grid-template-columns: 1fr; gap: 0; } }
.working { display: none; margin-top: 1.4rem; font-family: var(--mono); color: var(--df-blue-deep); } .working.visible { display: block; }
.error { display: none; margin-top: 1.2rem; color: var(--df-warn); font-weight: 600; } .error.visible { display: block; }
.result { display: none; margin-top: 2.5rem; } .result.visible { display: block; }
.result .slipwrap { margin: 1.5rem 0 2rem; }
.result .slip { background: #fff; border: 1px solid var(--df-rule); border-radius: 14px; padding: 1.2rem 1.4rem; box-shadow: 0 20px 40px -30px rgba(21,32,58,0.5); }
.result .slip--carbon { display: none; }
.result .slip__head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: var(--fs-tick); color: var(--df-ink-mute); padding-bottom: 0.7rem; border-bottom: 1px solid var(--df-rule); }
.result .slip__head .copy { font-family: var(--body); font-weight: 600; font-size: var(--fs-small); color: var(--df-blue); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.result .msg { margin-top: 0.9rem; } .result .msg p { margin: 0 0 0.9em; } .result .msg .subject { font-family: var(--mono); font-weight: 500; }
.result .reading p { font-size: 1.1rem; } .result .then { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--df-rule); }
.faq { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--df-rule); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--df-rule); padding: 2rem 0 3rem; margin-top: clamp(2rem, 6vw, 4rem); font-size: var(--fs-small); color: var(--df-ink-mute); }
.foot__row { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: baseline; }
.foot nav { display: flex; gap: 1.4rem; flex-wrap: wrap; } .foot a { color: var(--df-ink); } .foot .lockup { font-family: var(--mono); }

/* one authored moment: the draft card settles into place */
@media (prefers-reduced-motion: no-preference) {
  .draft-card { animation: settle 700ms cubic-bezier(0.16, 1, 0.3, 1) 180ms both; }
  @keyframes settle { from { transform: translateY(18px); opacity: 0.001; } to { transform: none; opacity: 1; } }
}

/* ---------- the counter: three jobs as a plain stacked list (Susan 2026-09-11 pm) ---------- */
.counter { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.counter .wrap { max-width: 46rem; }
h1.plain { font-family: var(--body); font-weight: 400; font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.55; letter-spacing: 0; color: var(--df-ink-soft); max-width: 34rem; margin: 0 0 clamp(2.5rem, 6vw, 4rem); text-wrap: pretty; }
.menu { list-style: none; margin: 0; padding: 0; }
.menu li { margin: 0 0 clamp(3rem, 7vw, 4.5rem); }
.menu h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0 0 0.35rem; }
.menu .sit { font-family: var(--display); font-weight: 500; font-size: 1.1rem; color: var(--df-ink-soft); margin: 0 0 1rem; line-height: 1.4; }
.menu .art { max-width: 26rem; margin: 0.2rem 0 1.2rem; }
.menu p { max-width: 38rem; }
.menu .links { display: flex; align-items: baseline; gap: 0.9rem; flex-wrap: wrap; margin: 0 0 0.6rem; }
.menu .links a { font-weight: 600; text-decoration-thickness: 1.5px; }
.menu .links .why { color: var(--df-ink-mute); font-size: var(--fs-small); }
.menu .soon { font-family: var(--mono); font-size: var(--fs-small); color: var(--df-ink-mute); }
.disclose-plain { font-size: 1rem; color: var(--df-ink-soft); max-width: 38rem; border-top: 1px solid var(--df-rule); padding-top: 1.4rem; margin: 0 0 1.4rem; }
.about-plain { font-size: 1.05rem; color: var(--df-ink-soft); max-width: 38rem; margin: 0; }
