/* ---------------------------------------------------------------------------
   Blank Fu, LLC — the business card.

   Replaces the stylesheet for the old three-service marketing page, which
   styled a header, a nav, a hero and a project grid that no longer exist.

   The palette is taken from the mark itself: #ba0f14 sampled off
   blankfu-circle-transparent.png, against black and paper. The background is
   a flat near-black (October 2026; it was the blueprint tile, which is
   still in assets/img but no longer referenced).
   --------------------------------------------------------------------------- */

:root {
     --ink:     #14100f;
     --ink-mid: #5c5551;
     --red:     #ba0f14;
     --red-dim: #8e0b0f;
     --paper:   #f7f5f3;
     --rule:    rgba(20, 16, 15, 0.14);
     --night:   #121010;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
     margin: 0;
     min-height: 100vh;
     display: flex;
     flex-direction: column;   /* notifications, then the card, stacked */
     align-items: center;
     justify-content: center;
     padding: 6vh 1.25rem;

     /* A flat dark field, replacing the blueprint tile. The white card is the
        only light thing on the page, so it reads as the card it is. */
     background-color: var(--night);

     color: var(--ink);
     font-family: "Kanit", "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
     font-size: 17px;
     line-height: 1.55;
}

main { width: 100%; }

/* --- the card ------------------------------------------------------------ */

.card {
     --card-pad: clamp(2rem, 6vw, 3.5rem);
     max-width: 48rem;
     margin: 0 auto;
     padding: var(--card-pad);

     background: #fff;
     border: 1px solid var(--rule);
     /* The red hairline is the only ornament on the page. */
     border-top: 4px solid var(--red);
     box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3),
                 0 18px 48px rgba(0, 0, 0, 0.45);
}

/* --- head ---------------------------------------------------------------- */

.card-head { text-align: center; }

.mark {
     width: 150px;
     height: auto;
     margin-bottom: 1.5rem;
}

.card-head h1 {
     margin: 0;
     font-size: clamp(2.1rem, 7vw, 3rem);
     font-weight: 800;
     letter-spacing: -0.022em;
     line-height: 1.05;
}

.card-head h1 .llc {
     color: var(--red);
     font-weight: 700;
}

.lede {
     margin: 1rem auto 0;
     max-width: 34rem;
     font-size: 1.13rem;
     color: var(--ink-mid);
}

.place {
     margin: 1.1rem 0 0;
     font-size: 0.79rem;
     font-weight: 600;
     letter-spacing: 0.15em;
     text-transform: uppercase;
     color: var(--ink-mid);
}

/* --- body sections ------------------------------------------------------- */

.group {
     margin-top: clamp(2.25rem, 6vw, 3.25rem);
     padding-top: clamp(2.25rem, 6vw, 3.25rem);
     border-top: 1px solid var(--rule);
}

.group-head {
     margin: 0 0 1.1rem;
     font-size: 0.79rem;
     font-weight: 700;
     letter-spacing: 0.13em;
     text-transform: uppercase;
     color: var(--ink-mid);
}

.statement p {
     margin: 0;
     font-size: 1.05rem;
     color: var(--ink);
}

.statement p + p { margin-top: 0.9rem; color: var(--ink-mid); }

/* Areas of work: labels, not links. */
.tags {
     list-style: none;
     margin: 0;
     padding: 0;
     display: flex;
     flex-wrap: wrap;
     gap: 0.55rem;
}

.tags li {
     padding: 0.35rem 0.85rem;
     border: 1px solid var(--rule);
     font-size: 0.93rem;
     color: var(--ink);
}

/* The public record. */
.record { margin: 0; }

.record div {
     display: grid;
     grid-template-columns: minmax(9rem, 13rem) 1fr;
     align-items: baseline;
     gap: 1rem;
     padding: 0.55rem 0;
     border-top: 1px dashed var(--rule);
}

.record div:first-child { border-top: 0; }

.record dt {
     font-size: 0.86rem;
     font-weight: 600;
     color: var(--ink-mid);
}

.record dd { margin: 0; }

.verify {
     margin: 1rem 0 0;
     font-size: 0.9rem;
     color: var(--ink-mid);
}

.verify a, .notice a { color: var(--red); }

@media (max-width: 34rem) {
     .record div { grid-template-columns: 1fr; gap: 0.1rem; }
}

/* --- mission ------------------------------------------------------------ */

/* The one warm moment on the page. A full-width tinted band, bled to the
   card's edges, so it reads as a different kind of content from the factual
   sections around it, which keep their hairline dividers. Same paper tone and
   red as the rest of the palette, so it belongs. */
.mission {
     margin: clamp(2.25rem, 6vw, 3.25rem) calc(-1 * var(--card-pad));
     padding: clamp(1.75rem, 5vw, 2.5rem) var(--card-pad);
     background: var(--paper);
     border-top: 1px solid var(--rule);
     border-bottom: 1px solid var(--rule);
     position: relative;
}

.mission .group-head { color: var(--red); }

.mission blockquote { margin: 0; }

.mission p {
     margin: 0;
     font-size: 1.05rem;
     line-height: 1.5;
     color: var(--ink-mid);
}

.mission .mission-lead {
     margin-bottom: 0.45rem;
     font-size: clamp(1.3rem, 3.6vw, 1.6rem);
     font-weight: 700;
     line-height: 1.25;
     letter-spacing: -0.01em;
     color: var(--ink);
}

/* The band is its own divider; the section after it needs no second rule. */
.mission + .group { margin-top: 0; border-top: 0; padding-top: 0; }

@media (max-width: 34rem) {
     .mission::before { left: calc(var(--card-pad) - 0.9rem); }
}

/* --- fine print under the card ------------------------------------------- */

/* Sits on the dark page, outside the card, so it is light and small: present
   for anyone looking for it, never competing with the card. */
.fineprint {
     max-width: 48rem;
     margin: 1.25rem auto 0;
     text-align: center;
     font-size: 0.82rem;
     color: #9a918c;
}

.fineprint a { color: #d6cfca; }
.fineprint a:hover, .fineprint a:focus-visible { color: #fff; }

/* --- /contact ------------------------------------------------------------ */

.mark--small { width: 90px; margin-bottom: 1rem; }
.card-head--small h1 { font-size: clamp(1.7rem, 5vw, 2.2rem); }

.form .field { margin-bottom: 1.15rem; }

.form label {
     display: block;
     margin-bottom: 0.35rem;
     font-size: 0.9rem;
     font-weight: 600;
}

.form .optional { font-weight: 400; color: var(--ink-mid); }

.form input,
.form select,
.form textarea {
     width: 100%;
     padding: 0.65rem 0.75rem;
     border: 1px solid rgba(20, 16, 15, 0.28);
     border-radius: 0;
     background: #fff;
     color: var(--ink);
     font: inherit;
     font-size: 1rem;
}

.form textarea { resize: vertical; min-height: 9rem; }

.form input:focus,
.form select:focus,
.form textarea:focus {
     outline: 2px solid var(--red);
     outline-offset: 1px;
     border-color: var(--red);
}

.form button {
     padding: 0.7rem 1.6rem;
     border: 0;
     background: var(--red);
     color: #fff;
     font: inherit;
     font-weight: 600;
     cursor: pointer;
}

.form button:hover, .form button:focus-visible { background: var(--red-dim); }

.form-note { margin: 0.9rem 0 0; font-size: 0.85rem; color: var(--ink-mid); }
.form-note a { color: var(--red); }
.lede--small { font-size: 0.95rem; margin-top: 0.6rem; }

/* --- /privacy ------------------------------------------------------------ */

.prose h2 { margin: 1.6rem 0 0.4rem; font-size: 1.02rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-mid); font-size: 0.97rem; }
.prose p { margin: 0.4rem 0; }
.prose ul { margin: 0.4rem 0; padding-left: 1.2rem; }
.prose a { color: var(--red); }
.prose .effective { margin-top: 1.6rem; font-size: 0.85rem; }

/* The honeypot. Off-screen rather than display:none, which some bots skip. */
.hp {
     position: absolute;
     left: -10000px;
     width: 1px;
     height: 1px;
     overflow: hidden;
}

.notice h2 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.notice p  { margin: 0.4rem 0 0; color: var(--ink-mid); }

/* --- 404 ----------------------------------------------------------------- */

.starter-template {
     max-width: 46rem;
     margin: 0 auto;
     padding: clamp(2rem, 6vw, 3.75rem);
     text-align: center;
     background: rgba(255, 255, 255, 0.93);
     border: 1px solid var(--rule);
     border-top: 4px solid var(--red);
}

.starter-template h1 { margin: 0 0 0.6rem; font-size: 1.9rem; font-weight: 800; }
.starter-template .lead { margin: 0; color: var(--ink-mid); }
.starter-template a { color: var(--red); }

/* Errors and messages from the framework's notifications partial. Unstyled
   before this: the site had no Bootstrap, so `alert alert-danger` was two
   class names nothing defined. */
.alert {
     max-width: 46rem;
     margin: 0 auto 1.25rem;
     padding: 0.9rem 1.15rem;
     border-left: 4px solid var(--red);
     background: rgba(255, 255, 255, 0.93);
     font-size: 0.97rem;
}

.alert ul { margin: 0; padding-left: 1.1rem; }

/* --- motion ------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
     * { transition: none !important; }
}
