:root{
  --bg: #f6f4ef;              /* warm, paper-adjacent */
  --paper: #fffefb;           /* not stark white */
  --ink: #121212;
  --muted: rgba(18,18,18,.68);
  --faint: rgba(18,18,18,.10);
  --hair: rgba(18,18,18,.18);

  /* subtle champagne (NOT shiny gold) */
  --accent: rgba(180, 155, 95, .55);

  --max: 76ch;
  --font: "Source Serif 4", ui-serif, Georgia, "Times New Roman", Times, serif;

  --r: 14px;
  --pad: clamp(1.25rem, 3.8vw, 3rem);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--ink);
  background:
	radial-gradient(900px 420px at 18% 8%, rgba(0,0,0,.04), transparent 60%),
	radial-gradient(700px 360px at 82% 12%, rgba(0,0,0,.03), transparent 62%),
	linear-gradient(180deg, var(--bg), #f8f7f3 55%, var(--bg));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Page frame: makes it feel "designed" without being loud */
.frame{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: clamp(1rem, 3vw, 2.25rem);
}

.sheet{
  width: min(1060px, 100%);
  background: var(--paper);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--r);
  box-shadow:
	0 1px 0 rgba(0,0,0,.03),
	0 18px 55px rgba(0,0,0,.08);
  overflow:hidden;
}

/* Top band: quiet institutional "stationery" cue */
.band{
  height: 8px;
  background: linear-gradient(90deg, transparent 0%, rgba(180,155,95,.22) 18%, rgba(180,155,95,.35) 50%, rgba(180,155,95,.22) 82%, transparent 100%);
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.content{
  padding: var(--pad);
}

/* Header hierarchy */
header{
  display:grid;
  gap: .9rem;
  max-width: var(--max);
}

.kicker{
  font-size: .92rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(18,18,18,.52);
  margin:0;
}

h1{
  margin:0;
  font-weight:600;
  letter-spacing: .01em;
  font-size: clamp(2.0rem, 4.3vw, 2.65rem);
  line-height: 1.05;
}

.sub{
  margin:0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 62ch;
}

/* Business-card DNA: a calm rule, but give it a reason to exist */
.rule{
  width: 12.5rem;
  max-width: 45%;
  height: 1px;
  background: var(--accent);
  margin: .25rem 0 0 0;
}

/* Layout */
.grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(1.6rem, 4vw, 3.25rem);
  margin-top: clamp(1.4rem, 3vw, 2.3rem);
  padding-top: clamp(1.2rem, 2.2vw, 1.8rem);
  border-top: 1px solid var(--faint);
}

@media (max-width: 880px){
  .grid{ grid-template-columns: 1fr; }
}

h2{
  margin: 0 0 .65rem 0;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(18,18,18,.72);
}

p{
  margin: 0 0 1rem 0;
  font-size: 1.03rem;
  line-height: 1.75;
}

.lede{
  font-size: 1.08rem;
}

/* List styling: not “bloggy bullets” */
ul{
  margin: .35rem 0 0 0;
  padding: 0;
  list-style: none;
}

.work-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.work-list li {
  position: relative;
  padding-left: 1.2em;
  line-height: 1.6;
}

.work-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: rgba(18, 18, 18, 0.45);
}

li{
  padding: .25rem 0;
  border-top: none;
  line-height: 1.5;
  color: rgba(18,18,18,.82);
}
li:first-child{ border-top: 0; padding-top: .2rem; }

/* Links: refined, encourages click without shouting */
a{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(18,18,18,.22);
  padding-bottom: .06em;
}
a:hover{ border-bottom-color: rgba(18,18,18,.55); }
a:focus-visible{
  outline: 2px solid rgba(18,18,18,.28);
  outline-offset: 3px;
  border-bottom-color: transparent;
}

/* Contact card: gives LinkedIn a “call to action” without being salesy */
.card{
  border: 1px solid rgba(0,0,0,.06);
  border-radius: calc(var(--r) - 4px);
  padding: 1.1rem 1.1rem;
  background: linear-gradient(180deg, rgba(0,0,0,.012), transparent 45%);
}

.meta{
  display:grid;
  gap: .6rem;
  margin-top: .25rem;
  color: rgba(18,18,18,.72);
  font-size: .98rem;
}
.meta strong{
  font-weight:600;
  color: var(--ink);
}

.small{
  margin-top: 1rem;
  font-size: .94rem;
  color: rgba(18,18,18,.58);
  line-height: 1.55;
}

footer{
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--faint);
  color: rgba(18,18,18,.52);
  font-size: .92rem;
  display:flex;
  justify-content:space-between;
  gap: 1rem;
  flex-wrap:wrap;
}
/* --- COLOUR LOCK: keep all body text consistent, all headings consistent --- */
:root{
  --heading-ink: #121212;
  --body-ink: rgba(18, 18, 18, 0.82);
  --meta-ink: rgba(18, 18, 18, 0.62);
}

body{
  color: var(--body-ink);
}

h1, h2, h3, .name, .kicker, strong{
  color: var(--heading-ink);
}

/* Make sure paragraphs and list items aren't using random muted colours */
p, li, .lede, .sub{
  color: var(--body-ink);
}

/* Meta / small print stays lighter, consistently */
.small, footer{
  color: var(--meta-ink);
}
