:root {
  --paper: #ffffff;
  --ink: #000000;
  --blue: #8a45c9;
  --grey: #4d4d4d;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --text: "Source Serif 4", Georgia, "Times New Roman", serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.25rem;
  line-height: 1.6;
}

a { color: var(--blue); text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; z-index: 10;
}
.skip:focus { left: 0; }

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

/* Header */
.site-header {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; flex-wrap: wrap;
  padding: 1.25rem var(--gutter);
  background: var(--blue); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 1.1rem;
}
.site-header :focus-visible { outline-color: #fff; }
.site-header a { color: inherit; text-decoration: none; }
.site-header nav { display: flex; gap: 1.75rem; }
.site-header nav a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: 0.3em; }
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { text-decoration-color: currentColor; }

/* Page titles */
.page-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(3.5rem, 15vw, 11rem);
  line-height: 0.9; letter-spacing: -0.04em;
  margin: clamp(2rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem);
}

/* Inner-page hero band (Services, Working Together) */
.page-hero { background: var(--blue); color: #fff; padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.page-hero .label { margin: 0 0 1rem; color: #fff; }
.page-hero .page-title { margin: 0; font-size: clamp(3rem, 11vw, 7.5rem); }
.page-tag { margin: 1.5rem 0 0; max-width: 36ch; font-style: italic; font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.4; }

/* Home hero: the one loud moment */
.hero {
  background: var(--blue); color: #fff;
  min-height: 78vh; min-height: 78svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 3rem var(--gutter) clamp(2rem, 5vw, 4rem);
}
.hero-name {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(4.5rem, 21vw, 19rem);
  line-height: 0.82; letter-spacing: -0.05em;
  margin: 0; max-width: 100%; overflow-wrap: break-word;
}
.hero-tag {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.4rem, 3vw, 2.25rem); line-height: 1.2;
  max-width: 28ch; margin: 2rem 0 0;
}

/* Work list: big headlines, each a whole-row link */
.section-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}
.selected { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(3rem, 8vw, 6rem); }

.pieces { list-style: none; margin: 0; padding: 0; border-top: 4px solid var(--ink); }
.pieces li { border-bottom: 2px solid var(--ink); }
.pieces a {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 2rem; padding: 1.5rem 0;
  color: var(--ink); text-decoration: none;
}
.piece-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 3rem);
  line-height: 1.05; letter-spacing: -0.03em; max-width: 24ch;
}
.piece-meta { font-style: italic; color: var(--grey); text-align: right; flex: none; }
.pieces a:hover .piece-title { color: var(--blue); }
.pieces a:hover .piece-meta { color: var(--ink); }
.more { margin: 2rem 0 0; font-family: var(--display); font-weight: 800; font-size: 1.25rem; }

/* About and Contact */
.prose { padding-bottom: clamp(3rem, 8vw, 6rem); }
.prose > * { max-width: 36em; }
.prose h2 {
  font-family: var(--display); font-weight: 800;
  font-size: 2rem; letter-spacing: -0.02em; line-height: 1.1;
  margin: 3rem 0 1rem;
}
.prose ul { padding-left: 1.25rem; }
.lede {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.2; letter-spacing: -0.015em;
  max-width: 26em; margin: 0 0 2rem;
}
.big-mail { max-width: none !important; }
.big-mail a {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.1rem, 4.5vw, 3rem); letter-spacing: -0.03em; line-height: 1.1;
  overflow-wrap: anywhere;
}

/* Label + content rows (Home, Services, Working Together) */
.row { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding-bottom: clamp(2rem, 5vw, 4rem); }
.row .lede { margin: 0; }
.label { margin: 0.6rem 0 0; font-family: var(--text); font-style: italic; font-weight: 400; font-size: 0.9rem; color: var(--grey); }
.accent { color: var(--blue); }
.intro { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35; letter-spacing: -0.01em; }

.row .big-mail { margin: 1.5rem 0 0; }
.about p { margin: 0 0 1.25rem; max-width: 36em; font-size: 1.1rem; }

/* Home: where to start */
.start { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.start li { border-bottom: 1px solid #ddd; }
.start a { display: grid; grid-template-columns: 2.5rem 1fr 8rem; align-items: baseline; padding: 1.25rem 0; color: var(--ink); text-decoration: none; }
.start .num { font-style: italic; font-size: 0.8rem; color: var(--grey); }
.start .piece-meta { text-align: left; font-size: 0.9rem; }
.start a:hover .piece-title { color: var(--blue); }

/* Services and Working Together: numbered list (not links) */
.work { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.work li { display: grid; grid-template-columns: 2.5rem 1fr; padding: 1.5rem 0; border-bottom: 1px solid #ddd; }
.work .num { padding-top: 0.55rem; font-style: italic; font-size: 0.8rem; color: var(--grey); }
.work h3, .offer h3 { margin: 0 0 0.5rem; font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; line-height: 1.1; }
.work p, .offer p { margin: 0 0 1rem; max-width: 36em; font-size: 1.05rem; color: var(--grey); }
.work p { margin: 0; }
.offer .intro { color: var(--ink); }
.offer h3 { margin-bottom: 1rem; }

/* Call to action */
.cta-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; margin: 1.5rem 0 0; font-size: 1rem; }
.cta-links a:not(.button) { font-style: italic; }
.button { display: inline-block; padding: 0.7rem 1.6rem; border-radius: 999px; background: var(--blue); color: #fff; font-family: var(--display); font-weight: 800; font-style: normal; text-decoration: none; }
.button:hover { background: var(--ink); color: #fff; }

@media (max-width: 40rem) {
  .site-header { padding: 1rem var(--gutter); row-gap: 0.75rem; font-size: 1rem; }
  .site-header nav { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.95rem; }
  .site-header nav a { white-space: nowrap; }
  .row { grid-template-columns: 1fr; gap: 0.5rem; }
  .start a { grid-template-columns: 2rem 1fr; }
  .start .piece-meta { grid-column: 2; }
  .work li { grid-template-columns: 2rem 1fr; }
}

/* Footer */
.site-footer { background: #14101c; color: #fff; padding: clamp(3rem, 8vw, 5rem) 0 2rem; font-size: 1rem; }
.site-footer a { color: #d6b4ff; }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-cta { margin: 0 0 0.75rem; font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 8vw, 5.5rem); line-height: 0.95; letter-spacing: -0.04em; }
.footer-mail { font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 2.5vw, 1.5rem); overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 1rem 2rem; margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-style: italic; }
.footer-bottom nav a { color: #fff; text-decoration: none; }
.footer-bottom nav a:hover { text-decoration: underline; }
.footer-bottom p { margin: 0; color: #b8b0c6; }

@media (max-width: 40rem) {
  .pieces a { flex-direction: column; gap: 0.5rem; }
  .piece-meta { text-align: left; }
  body { font-size: 1.125rem; }
}
