:root {
  --paper: #fbfaf8;
  --ink: #171717;
  --muted: #6f6b66;
  --line: #e8e1d8;
  --soft: #f3eee7;
  --white: #ffffff;
  --green: #7e9b72;
  --blue: #6e88aa;
  --clay: #c8916f;
  --shadow: 0 24px 80px rgba(52, 45, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(23, 23, 23, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 23, 0.024) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  color: var(--ink);
  font-family:
    Inter,
    "Noto Sans SC",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding: 0 48px;
  border-bottom: 1px solid rgba(232, 225, 216, 0.85);
  background: rgba(251, 250, 248, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.header-actions,
.hero-actions,
.proof-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
}

.site-nav {
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a:hover,
.ghost-link:hover {
  color: var(--ink);
}

.header-actions {
  gap: 12px;
  font-size: 14px;
}

.ghost-link {
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.button-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button-light {
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: 54px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 56px 0 76px;
}

.hero-copy {
  max-width: 590px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-text {
  max-width: 540px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.82;
}

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

.proof-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
}

.proof-row span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.portfolio-board {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #d9d1c6;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.board-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.featured-work {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  align-items: stretch;
  min-height: 330px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
}

.project-visual,
.work-image,
.mini-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: 8px;
}

.project-visual {
  min-height: 290px;
  padding: 24px;
}

.visual-one {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent 42%),
    linear-gradient(160deg, #e8ded2 0%, #bfcbb7 48%, #6f88a8 100%);
}

.visual-two {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 40%),
    linear-gradient(145deg, #efe4d6 0%, #d0a07f 50%, #7c8f73 100%);
}

.visual-three {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 45%),
    linear-gradient(145deg, #eef0ea 0%, #91a7c0 50%, #3d4654 100%);
}

.visual-toolbar,
.visual-block,
.image-line,
.image-panel,
.image-row,
.image-stack,
.image-dots {
  position: relative;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 32px rgba(40, 35, 30, 0.12);
}

.visual-toolbar {
  width: 56%;
  height: 34px;
  margin-bottom: 74px;
}

.visual-block {
  width: 62%;
  height: 44px;
  margin-left: auto;
}

.visual-block.wide {
  width: 88%;
  height: 72px;
  margin-bottom: 12px;
}

.visual-block.short {
  width: 38%;
  height: 38px;
  margin-top: 12px;
}

.project-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px 4px;
}

.project-type,
.work-content span {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-copy h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
}

.project-copy p,
.work-content p,
.intro-band > p,
.note-list p {
  color: var(--muted);
  line-height: 1.78;
}

.mini-work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-work-grid article {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.mini-visual {
  min-height: 112px;
}

.mini-work-grid h3 {
  margin: 14px 0 4px;
  font-size: 17px;
}

.mini-work-grid p,
.work-content p,
.note-list p {
  margin: 0;
}

.section,
.work-section,
.notes-section,
.final-cta {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.intro-band {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 46px;
  align-items: start;
  padding: 58px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band h2,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

.intro-band > p {
  margin: 4px 0 0;
  font-size: 17px;
}

.work-section,
.notes-section,
.final-cta {
  padding: 88px 0 0;
}

.section-heading {
  max-width: 740px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.work-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.work-card.large {
  grid-row: span 2;
}

.work-image {
  min-height: 260px;
  padding: 24px;
}

.work-card.large .work-image {
  min-height: 520px;
}

.image-line {
  width: 72%;
  height: 48px;
  margin-bottom: 18px;
}

.image-panel {
  width: 58%;
  height: 210px;
  margin-left: auto;
}

.image-row {
  width: 88%;
  height: 58px;
  margin-top: 18px;
}

.image-stack {
  width: 62%;
  height: 150px;
  margin: 44px 0 0 auto;
}

.image-dots {
  width: 44%;
  height: 120px;
  margin: 58px auto 0;
}

.work-content {
  padding: 22px;
}

.work-content h3,
.note-list h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.note-list {
  display: grid;
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.note-list article {
  display: grid;
  grid-template-columns: 90px 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 26px;
  background: rgba(255, 255, 255, 0.78);
}

.note-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.final-cta {
  margin-bottom: 80px;
  text-align: center;
}

.final-cta h2 {
  max-width: 760px;
  margin: 0 auto 26px;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 24px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

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

  .work-card.large {
    grid-row: auto;
  }

  .work-card.large .work-image {
    min-height: 320px;
  }

  .note-list article {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .note-list p {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding: 0 16px;
  }

  .header-actions .ghost-link {
    display: none;
  }

  .button {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero,
  .section,
  .work-section,
  .notes-section,
  .final-cta {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    gap: 30px;
    padding: 42px 0 56px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-text {
    font-size: 16px;
  }

  .portfolio-board {
    padding: 12px;
  }

  .project-visual {
    min-height: 240px;
  }

  .project-copy h2 {
    font-size: 34px;
  }

  .mini-work-grid,
  .intro-band,
  .work-grid,
  .note-list article {
    grid-template-columns: 1fr;
  }

  .intro-band {
    gap: 18px;
  }

  .work-section,
  .notes-section,
  .final-cta {
    padding-top: 66px;
  }

  .note-list p {
    grid-column: auto;
  }
}
