@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Roboto+Condensed:wght@400;500;700&display=swap');

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: #ececec;
  color: #212121;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

p { margin: 0; }

a { color: inherit; transition: opacity 0.2s; }
a:hover { opacity: 0.6; }

strong {
  font-weight: 700;
}

/* ── Page & container ───────────────────────────────────── */
.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px;
}

.inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
  width: 100%;
  max-width: 1280px;
}

/* ── Logo ───────────────────────────────────────────────── */
.logo {
  width: 25%;
  aspect-ratio: 1;
  display: block;
}

.logo path { fill: #212121; }

/* ── Name ───────────────────────────────────────────────── */
.name {
  font-family: 'Oswald', sans-serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  color: #212121;
}

/* ── Intro row ──────────────────────────────────────────── */
.intro-row {
  display: flex;
  gap: 32px;
  align-items: stretch;
  width: 100%;
}

.intro-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #212121;
}

.intro-photo {
  flex: 1;
  min-width: 0;
  position: relative;
}

.intro-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Type scale ─────────────────────────────────────────── */
.t-48 {
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
  color: #FF611A;
}

.t-32 {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  color: #212121;
}

.t-32-lead {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  color: #212121;
}

.t-24 {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  color: #212121;
}

.t-rc {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #212121;
}

.t-r {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #212121;
}

/* ── Stack helpers ──────────────────────────────────────── */
.stack-8 { display: flex; flex-direction: column; gap: 8px; }
.stack-12 { display: flex; flex-direction: column; gap: 12px; }
.stack-16 { display: flex; flex-direction: column; gap: 16px; }
.stack-24 { display: flex; flex-direction: column; gap: 24px; }

/* ── Flow multi-column (CSS columns, collapse on mobile) ── */
.flow-cols-2,
.flow-cols-3 {
  column-gap: 32px;
}

.flow-cols-2 { column-count: 2; }
.flow-cols-3 { column-count: 3; }

.flow-cols-2 > *,
.flow-cols-3 > * {
  break-inside: avoid;
  margin-bottom: 24px;
}

/* Tighter vertical rhythm for short multi-column blocks (e.g. How I Work steps) */
.flow-cols-2.flow-cols--compact > *,
.flow-cols-3.flow-cols--compact > * {
  margin-bottom: 12px;
}

/* How I Work: row-major order (1 → 2 → 3 left to right; not CSS columns’ top-to-bottom) */
.how-i-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 12px;
  margin-top: 24px;
  width: 100%;
}

@media (max-width: 640px) {
  .flow-cols-2,
  .flow-cols-3 {
    column-count: 1;
  }

  .how-i-work-grid {
    grid-template-columns: 1fr;
  }

  .page {
    padding: 24px;
  }

  .inner {
    gap: 32px;
  }

  .intro-row {
    flex-direction: column;
    gap: 32px;
  }

  .intro-photo {
    height: 290px;
    width: 100%;
    flex: none;
  }

  .intro-photo img {
    position: relative;
    inset: auto;
    width: 100%;
    height: 290px;
  }

  .cols-3 {
    flex-direction: column;
  }

  .cols-2 {
    flex-direction: column;
  }

  .t-48 {
    font-size: 36px;
  }

  .hero-section {
    padding: 32px 0;
  }
}

/* ── 2-col ──────────────────────────────────────────────── */
.cols-2 {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}

.col {
  flex: 1;
  min-width: 0;
}

.col-stack {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── 3-col ──────────────────────────────────────────────── */
.cols-3 {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}

.col-3 {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Career section ─────────────────────────────────────── */
.career-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  color: #212121;
}

/* ── Hero statement ─────────────────────────────────────── */
.hero-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 48px 0;
  width: 100%;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
}

/* ── Bulleted list ──────────────────────────────────────── */
ul.dot-list {
  list-style: disc;
  padding-left: 27px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #212121;
}

ul.dot-list li { margin: 0; }

ul.dot-list-r {
  list-style: disc;
  padding-left: 27px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #212121;
}

ul.dot-list-r li { margin: 0; }

/* ── Quote ──────────────────────────────────────────────── */
.t-quote {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: #848484;
  border-left: 3px solid #848484;
  padding-left: 16px;
  margin: 0;
}

.t-quote-span {
  column-span: all;
  /* column-span breaks out of the flow; preceding siblings’ margin-bottom
     often does not reliably space this block — match .flow-cols-* > * gap */
  margin-top: 24px;
}

.how-i-work-grid > .t-quote.t-quote-span {
  grid-column: 1 / -1;
  column-span: unset;
}

/* ── Article card ───────────────────────────────────────── */
.article {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-title {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  color: #848484;
  text-decoration: underline;
  display: block;
}

.article-date {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: #212121;
}

.article-summary {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #212121;
}

/* ── Section heading with bold suffix ──────────────────── */
.writings-heading {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  color: #212121;
}

.writings-heading .blog-bold {
  font-weight: 700;
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  display: flex;
  gap: 24px;
  align-items: center;
  padding-bottom: 24px;
}

.footer a {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #212121;
  text-decoration: underline;
}
