File size: 8,210 Bytes
70fae73
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
/* Shared theme for Suman Mukherjee's Hugging Face portfolio Spaces.
   One family (Archivo, variable width) carries the voice; JetBrains Mono is used only
   for code, hashes and YAML. Decisions read as rubber stamps, the one bold element. */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,100..900&family=JetBrains+Mono:wght@400;600&display=swap");

:root {
  --paper: #edf1f5;
  --sheet: #ffffff;
  --ink: #16243a;
  --ink-2: #4a5a70;
  --ink-3: #7b8899;
  --rule: #c9d3de;
  --rule-2: #dfe5ec;
  --cobalt: #2443c7;
  --cobalt-wash: #e6eafb;
  --allow: #17784a;
  --allow-wash: #e3f2ea;
  --review: #a35f00;
  --review-wash: #fbf0dc;
  --deny: #b4232c;
  --deny-wash: #fbe5e6;
  --font: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --radius: 4px;
  --gap: clamp(16px, 2.4vw, 28px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-variation-settings: "wdth" 100;
}
a { color: var(--cobalt); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 2px; }
code, pre, .mono { font-family: var(--mono); font-size: 0.86em; }
img, svg { max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gap); }

/* Masthead: the title is set wide and heavy, like the printed heading of a form */
.masthead { padding-top: clamp(24px, 4vw, 44px); padding-bottom: clamp(16px, 2.5vw, 24px); border-bottom: 2px solid var(--ink); }
.masthead h1 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.02;
  font-weight: 800;
  font-variation-settings: "wdth" 118;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.masthead .lede { margin: 12px 0 0; font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); max-width: 62ch; }
.byline {
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline;
  margin-top: 16px; font-size: 14px; color: var(--ink-2);
}
.byline strong { color: var(--ink); font-weight: 650; }

/* Sections are separated by rules and space, not boxed cards */
.section { padding: clamp(24px, 4vw, 40px) 0; border-bottom: 1px solid var(--rule); }
.section:last-of-type { border-bottom: 0; }
.section > h2, .h2 {
  margin: 0 0 6px;
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 750;
  font-variation-settings: "wdth" 110;
  line-height: 1.15;
}
.section > .sub { margin: 0 0 18px; color: var(--ink-2); max-width: 68ch; }
h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; font-variation-settings: "wdth" 105; }
p { max-width: 72ch; }

.sheet { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.tiny { font-size: 12.5px; }

/* Buttons */
.btn {
  appearance: none; border: 1.5px solid var(--ink); background: var(--ink); color: #fff;
  font: inherit; font-weight: 650; font-size: 15px; line-height: 1;
  padding: 11px 16px; border-radius: var(--radius); cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; text-decoration: none;
}
.btn:hover { background: #22344f; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--sheet); }
.btn.cobalt { background: var(--cobalt); border-color: var(--cobalt); }
.btn.cobalt:hover { background: #1d38a8; }
.btn.allow { background: var(--allow); border-color: var(--allow); }
.btn.deny { background: transparent; color: var(--deny); border-color: var(--deny); }
.btn.sm { padding: 7px 11px; min-height: 34px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Form fields */
label.field { display: grid; gap: 4px; font-size: 13.5px; color: var(--ink-2); font-weight: 550; }
input[type="text"], input[type="number"], input[type="password"], select, textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 9px 11px; min-height: 42px; width: 100%;
}
textarea { font-family: var(--mono); font-size: 13px; line-height: 1.55; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--cobalt); outline: none; box-shadow: 0 0 0 3px var(--cobalt-wash); }

/* Tabs */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--rule); margin-bottom: 18px; overflow-x: auto; }
.tabs button {
  appearance: none; background: none; border: 0; border-bottom: 3px solid transparent;
  font: inherit; font-weight: 650; color: var(--ink-2); padding: 10px 16px 9px; cursor: pointer; white-space: nowrap;
}
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--cobalt); }

/* Rubber stamps: the signature element across the portfolio */
.stamp {
  display: inline-block;
  font-weight: 850; font-variation-settings: "wdth" 125;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px 2px; border: 2.5px solid currentColor; border-radius: 3px;
  transform: rotate(-4deg); line-height: 1.2; white-space: nowrap;
  mix-blend-mode: multiply;
}
.stamp.allow { color: var(--allow); }
.stamp.review { color: var(--review); }
.stamp.deny { color: var(--deny); }
.stamp.neutral { color: var(--ink-3); }
.stamp.big { font-size: 22px; padding: 6px 14px 4px; border-width: 3.5px; }
@media (prefers-reduced-motion: no-preference) {
  .stamp.fresh { animation: thud 260ms cubic-bezier(.2,.9,.3,1.3) both; }
  @keyframes thud { from { transform: rotate(-4deg) scale(1.9); opacity: 0; } to { transform: rotate(-4deg) scale(1); opacity: 1; } }
}

/* Data tables */
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.data th { text-align: left; font-weight: 650; color: var(--ink-2); font-size: 13px; padding: 8px 10px; border-bottom: 1.5px solid var(--ink); }
table.data td { padding: 9px 10px; border-bottom: 1px solid var(--rule-2); vertical-align: top; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }

/* Pipeline steps (used where the content really is a sequence) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.steps li { padding: 14px 16px 16px 0; border-right: 1px solid var(--rule); }
.steps li + li { padding-left: 16px; }
.steps li:last-child { border-right: 0; }
.steps .n { font-weight: 800; font-variation-settings: "wdth" 120; font-size: 28px; color: var(--cobalt); line-height: 1; }
.steps h3 { margin-top: 8px; }
.steps p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }

/* Notices */
.notice { border-left: 4px solid var(--cobalt); background: var(--cobalt-wash); padding: 10px 14px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 14.5px; }
.notice.warn { border-color: var(--review); background: var(--review-wash); }
.notice.err { border-color: var(--deny); background: var(--deny-wash); }

/* Footer credit */
.credit { padding-top: 28px; padding-bottom: 48px; border-top: 2px solid var(--ink); margin-top: 8px; display: grid; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.credit .who { font-size: 18px; color: var(--ink); font-weight: 750; font-variation-settings: "wdth" 112; }
.credit nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.spinner { width: 16px; height: 16px; border: 2.5px solid var(--rule); border-top-color: var(--cobalt); border-radius: 50%; display: inline-block; animation: spin 0.8s linear infinite; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }