/* generated-by: codex / 2026-05-14 */
:root {
  color-scheme: light;
  --bg: #f7f3ec;
  --paper: #fffdf8;
  --ink: #17201c;
  --muted: #5e6860;
  --line: #ded6c9;
  --accent: #0f766e;
  --accent-dark: #0b4f4a;
  --warm: #c95f32;
  --blue: #315f8f;
  --shadow: 0 20px 60px rgba(31, 42, 37, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(247, 243, 236, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 760;
  gap: 10px;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--ink);
  border-radius: 6px;
  color: var(--paper);
  display: inline-flex;
  font-size: 0.76rem;
  justify-content: center;
  width: 34px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.site-nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 7px 10px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: #ebe3d6;
  color: var(--ink);
}

main {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 clamp(18px, 4vw, 56px) 72px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  min-height: calc(100vh - 110px);
  padding: clamp(44px, 8vh, 92px) 0 56px;
}

.hero-copy,
.page-hero {
  max-width: 760px;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.55rem, 6vw, 5.9rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.35rem);
  letter-spacing: 0;
  line-height: 1.16;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.06rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.lead {
  color: #34413b;
  font-size: clamp(1.07rem, 1.55vw, 1.28rem);
  max-width: 720px;
}

.narrow {
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  border: 1px solid var(--ink);
  border-radius: 6px;
  display: inline-flex;
  font-weight: 720;
  min-height: 44px;
  padding: 9px 16px;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.hero-visual {
  background: linear-gradient(135deg, #fffdf8 0%, #eee6d8 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 34px);
}

.hero-visual img {
  display: block;
  height: auto;
  width: 100%;
}

.section {
  border-top: 1px solid var(--line);
  padding: clamp(42px, 7vw, 74px) 0;
}

.section-heading {
  margin-bottom: 24px;
}

.focus-grid,
.project-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.focus-grid article,
.project-card,
.note-list article,
.idea-list article,
.contact-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.focus-grid article {
  min-height: 172px;
  padding: 22px;
}

.focus-grid p,
.project-card p,
.note-list p,
.idea-list p,
.contact-panel p,
.split p {
  color: var(--muted);
}

.split {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.page-hero {
  padding: clamp(52px, 10vw, 104px) 0 42px;
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  min-height: 226px;
  padding: 28px;
}

.tag,
.date {
  color: var(--warm);
  font-size: 0.8rem;
  font-weight: 760;
  margin-bottom: 14px;
}

.idea-list,
.note-list {
  display: grid;
  gap: 14px;
}

.idea-list article {
  display: grid;
  gap: 18px;
  grid-template-columns: 52px minmax(0, 1fr);
  padding: 24px;
}

.index {
  color: var(--blue);
  font-size: 1rem;
  font-weight: 800;
}

.note-list article {
  padding: 26px;
}

.contact-panel {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  padding: 30px;
}

.contact-panel h2 {
  overflow-wrap: anywhere;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 56px);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 560px;
  }

  .focus-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  main {
    padding-bottom: 46px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
  }

  .site-nav a {
    font-size: 0.88rem;
    padding: 7px 5px;
    text-align: center;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    font-size: clamp(2.28rem, 13vw, 3.5rem);
  }

  .focus-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .idea-list article {
    grid-template-columns: 1fr;
  }

  .button {
    justify-content: center;
    width: 100%;
  }
}
