/* DEFiNE web — shared brand layer. Editorial minimalism, warm monochrome, no dark mode.
   Tokens sourced from define-nyc (canonical public site). */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Lato:wght@300;400;700&family=Playfair+Display:wght@400;500;600&display=swap');

:root {
  --bg: oklch(0.97 0.003 60);
  --fg: oklch(0.22 0.004 60);
  --card: oklch(0.95 0.003 60);
  --muted: oklch(0.94 0.003 60);
  --muted-fg: oklch(0.42 0.004 60);
  --accent-deep: oklch(0.32 0.003 60);
  --border: oklch(0.88 0.003 60);
  --destructive: oklch(0.55 0.18 27);

  --sans: 'Montserrat', system-ui, sans-serif;
  --body: 'Lato', system-ui, sans-serif;
  --title: 'Playfair Display', Georgia, serif;

  --w: 56rem;
  --r: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0 }

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--w); margin: 0 auto; padding: clamp(1.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2.5rem) }

h1, h2, h3 { font-family: var(--sans); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem) }
h2 { font-size: clamp(1.3rem, 3.5vw, 1.6rem); margin-top: 2.5rem; margin-bottom: 0.75rem }
h3 { font-size: 1.05rem; margin-top: 1.5rem; margin-bottom: 0.4rem }
.serif { font-family: var(--title) }

p { margin: 0.75rem 0 }
a { color: var(--fg); text-underline-offset: 3px }
strong { font-weight: 700 }

/* header / footer */
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem; flex-wrap: wrap }
.mark { font-family: var(--sans); font-weight: 600; letter-spacing: 0.18em; font-size: 0.95rem; text-transform: uppercase }
.foot { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted-fg); font-size: 0.85rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap }

/* meta line under a title */
.meta { color: var(--muted-fg); font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase }

/* badge */
.badge { display: inline-block; font-family: var(--sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.2rem 0.55rem; border: 1px solid var(--border); border-radius: 999px; color: var(--muted-fg) }
.badge.preview { color: var(--destructive); border-color: var(--destructive) }

/* card / list of links (hub pages) */
.grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; margin-top: 1.5rem }
.cell { background: var(--bg); padding: 1.1rem 1.25rem; text-decoration: none; display: block }
.cell:hover { background: var(--card) }
.cell .t { font-family: var(--sans); font-weight: 500 }
.cell .d { color: var(--muted-fg); font-size: 0.9rem; margin-top: 0.15rem }

/* deliverable tables (quotes / reports) */
table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.95rem }
th, td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--border) }
th { font-family: var(--sans); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-fg) }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums }
tr.total td { border-bottom: none; border-top: 2px solid var(--fg); font-weight: 700; font-size: 1.05rem; padding-top: 0.9rem }

.note { background: var(--card); border-left: 2px solid var(--accent-deep); padding: 0.9rem 1.1rem; margin: 1.5rem 0; font-size: 0.9rem; color: var(--muted-fg) }

@media print {
  body { font-size: 12px }
  .wrap { max-width: none; padding: 0 }
  .badge.preview, .noprint { display: none }
  a { text-decoration: none }
}
