:root {
  --ink: #1f2822;
  --fern: #31483a;
  --sage: #9aa993;
  --paper: #f2efe7;
  --cream: #fbfaf6;
  --rust: #b96242;
  --line: rgba(31, 40, 34, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
}

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

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

em {
  font-family: "Libre Caslon Display", serif;
  font-weight: 400;
}

.promo-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.9rem 1.4rem;
  background: #18211c;
  color: #f3efe7;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.promo-bar a {
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.pixelgem-concept-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.2rem max(4vw, 1.4rem);
  background: #e7dfd2;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.pixelgem-concept-actions p {
  max-width: 38rem;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.pixelgem-concept-actions div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.pixelgem-concept-actions a {
  border: 1px solid var(--ink);
  padding: 0.62rem 0.82rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pixelgem-concept-actions .pixelgem-concept-quote {
  background: var(--rust);
  border-color: var(--rust);
  color: white;
}

.header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 98px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
}

.brand small {
  display: block;
  font-size: 8px;
  margin-top: 6px;
  letter-spacing: 0.24em;
  font-weight: 400;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "Libre Caslon Display", serif;
  font-size: 21px;
  font-style: italic;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
}

.nav a {
  transition: opacity 0.2s;
}

.nav a:hover {
  opacity: 0.65;
}

.nav-cta {
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.menu {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
}

.hero {
  min-height: 92vh;
  position: relative;
  color: white;
  display: flex;
  align-items: flex-end;
}

.hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 25, 18, 0.72) 0%, rgba(15, 25, 18, 0.22) 62%, rgba(15, 25, 18, 0.1)),
    linear-gradient(0deg, rgba(15, 25, 18, 0.42), transparent 45%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 80%);
  padding: 0 0 8vh 6vw;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  margin: 0 0 26px;
}

.hero h1,
.page-hero h1 {
  font-family: "Libre Caslon Display", serif;
  font-size: clamp(58px, 7.2vw, 112px);
  font-weight: 400;
  line-height: 0.87;
  letter-spacing: -0.035em;
  margin: 0;
}

.hero h1 em,
.page-hero h1 em {
  color: #d3d9ca;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  margin: 34px 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rust);
  color: white;
  padding: 17px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 0;
  cursor: pointer;
}

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

.text-link {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 500;
}

.text-link.light {
  color: white;
}

.hero-note {
  position: absolute;
  z-index: 2;
  right: 4vw;
  bottom: 7vh;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  padding-left: 20px;
  display: flex;
  gap: 22px;
  font-size: 13px;
}

.hero-note span {
  opacity: 0.7;
}

.hero-note p {
  margin: 0;
  line-height: 1.5;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10vw;
  padding: 130px 8vw;
}

.manifesto h2,
.section-title h2,
.process-tease h2,
.footer-lead h2,
.about-grid h2 {
  font-family: "Libre Caslon Display", serif;
  font-weight: 400;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.98;
  margin: 0;
}

.manifesto .lead {
  font-family: "Libre Caslon Display", serif;
  font-size: 30px;
  line-height: 1.35;
  margin: 0 0 25px;
}

.manifesto .lead + p,
.process-tease p,
.about-grid p,
.showcase-rationale p {
  line-height: 1.8;
  color: #536057;
}

.manifesto .text-link {
  margin-top: 25px;
}

.image-statement {
  height: 720px;
  position: relative;
  margin: 0 4vw;
}

.image-statement > img {
  height: 100%;
}

.statement-box {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--fern);
  color: white;
  padding: 50px 55px;
  width: 440px;
}

.statement-box > span {
  position: absolute;
  right: 24px;
  top: 22px;
  font-size: 11px;
  opacity: 0.6;
}

.statement-box h2 {
  font-family: "Libre Caslon Display", serif;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 35px;
}

.services,
.projects-section {
  padding: 130px 7vw;
}

.section-title {
  margin-bottom: 65px;
}

.section-title.row {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list a {
  display: grid;
  grid-template-columns: 70px 1fr 1.25fr 30px;
  gap: 24px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s, background 0.25s;
}

.service-list a:hover {
  padding-left: 18px;
  background: var(--paper);
}

.service-list span,
.service-list p {
  font-size: 12px;
}

.service-list h3 {
  font-family: "Libre Caslon Display", serif;
  font-size: 36px;
  font-weight: 400;
  margin: 0;
}

.service-list p {
  line-height: 1.6;
  max-width: 420px;
}

.service-list b {
  font-size: 20px;
}

.projects-section {
  background: var(--paper);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px 24px;
}

.project-card .image-wrap {
  overflow: hidden;
  height: 470px;
}

.project-card img {
  height: 100%;
  transition: transform 0.6s;
}

.project-card:hover img {
  transform: scale(1.025);
}

.project-card.project-1 {
  margin-top: 100px;
}

.project-card.project-2 {
  grid-column: 1 / 3;
  width: 64%;
  margin-left: auto;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 18px 0;
}

.project-meta h3 {
  font-family: "Libre Caslon Display", serif;
  font-size: 28px;
  font-weight: 400;
  margin: 0;
}

.project-meta p,
.project-meta span {
  font-size: 11px;
  letter-spacing: 0.08em;
  margin: 5px 0;
}

.process-tease {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
  background: var(--sage);
  padding: 120px 8vw;
}

.steps-mini {
  display: flex;
  justify-content: space-between;
  margin: 45px 0;
  border-top: 1px solid rgba(31, 40, 34, 0.3);
  padding-top: 22px;
  font-size: 10px;
}

.steps-mini b {
  display: block;
  margin-top: 7px;
  font-size: 13px;
}

.page-hero {
  padding: 210px 7vw 110px;
  background: var(--fern);
  color: white;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 8vw;
  align-items: end;
}

.page-hero .eyebrow {
  grid-column: 1 / 3;
}

.page-hero h1 {
  font-size: clamp(60px, 7vw, 106px);
}

.page-hero > p:last-child {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 10px;
}

.design-list,
.projects-page,
.timeline {
  padding: 100px 7vw;
}

.design-list article {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 8vw;
  align-items: center;
  margin-bottom: 120px;
}

.design-list article:nth-child(even) {
  grid-template-columns: 0.75fr 1.25fr;
}

.design-list article:nth-child(even) img {
  order: 2;
}

.design-list img {
  height: 540px;
}

.design-list h2 {
  font-family: "Libre Caslon Display", serif;
  font-size: 62px;
  font-weight: 400;
  margin: 12px 0;
}

.design-list p {
  line-height: 1.7;
  margin-bottom: 30px;
}

.projects-page > .project-grid + .project-grid {
  margin-top: 70px;
}

.timeline {
  padding-top: 70px;
  padding-bottom: 120px;
}

.timeline article {
  display: grid;
  grid-template-columns: 80px 0.7fr 1fr;
  gap: 30px;
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.timeline h2 {
  font-family: "Libre Caslon Display", serif;
  font-weight: 400;
  font-size: 38px;
  margin: 0;
}

.timeline p {
  margin: 8px 0;
  line-height: 1.7;
}

.wide-image {
  height: 700px;
  margin: 0 4vw 100px;
}

.wide-image img,
.about-grid img {
  height: 100%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8vw;
  align-items: center;
  padding: 110px 7vw;
}

.about-grid img {
  height: 620px;
}

.about-grid h2 {
  font-size: 60px;
  margin-bottom: 30px;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--paper);
  padding: 90px 7vw;
  gap: 25px;
}

.values div {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
}

.values span {
  font-size: 11px;
}

.values h3 {
  font-family: "Libre Caslon Display", serif;
  font-size: 28px;
  font-weight: 400;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 8vw;
  padding: 100px 8vw;
}

.contact-info h2,
.success h2 {
  font-family: "Libre Caslon Display", serif;
  font-size: 50px;
  font-weight: 400;
}

.contact-info p {
  line-height: 1.9;
}

.contact-info small {
  display: block;
  margin-top: 50px;
  color: #68746c;
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}

label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 2px;
  font: inherit;
  border-radius: 0;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--rust);
}

.full,
.success {
  grid-column: 1 / 3;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check input {
  width: auto;
  margin: 0;
}

.contact-wrap button {
  justify-self: start;
}

.showcase-rationale {
  padding: 90px 7vw;
  background: var(--paper);
}

.showcase-rationale-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.showcase-rationale-grid div {
  border: 1px solid var(--line);
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.55);
}

.showcase-rationale-grid h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer {
  background: var(--ink);
  color: #e9e9e2;
  padding: 110px 7vw 25px;
}

.footer-lead {
  margin-bottom: 100px;
}

.footer-lead h2 {
  font-size: 76px;
  margin-bottom: 35px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 55px 0;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  line-height: 1.7;
}

.footer-grid b {
  font-size: 10px;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.footer-brand {
  margin-bottom: 10px;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 22px;
  font-size: 10px;
  opacity: 0.65;
}

@media (max-width: 800px) {
  .promo-bar {
    font-size: 0.7rem;
    padding: 0.8rem 1rem;
  }

  .pixelgem-concept-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
  }

  .pixelgem-concept-actions div {
    justify-content: flex-start;
  }

  .header {
    height: 74px;
    padding: 0 20px;
  }

  .menu {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--ink);
    padding: 30px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 18px;
  }

  .nav-cta {
    border: 0;
  }

  .hero {
    min-height: 780px;
  }

  .hero-copy {
    width: auto;
    padding: 0 22px 100px;
  }

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

  .hero-copy > p:not(.eyebrow) {
    font-size: 15px;
    margin: 25px 0;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-note {
    display: none;
  }

  .split,
  .services,
  .projects-section,
  .process-tease,
  .about-grid,
  .contact-wrap,
  .showcase-rationale {
    padding: 80px 22px;
    gap: 45px;
  }

  .split,
  .process-tease,
  .page-hero,
  .about-grid,
  .contact-wrap,
  .showcase-rationale-grid {
    grid-template-columns: 1fr;
  }

  .manifesto .lead {
    font-size: 25px;
  }

  .image-statement {
    height: 650px;
    margin: 0;
  }

  .statement-box {
    width: calc(100% - 24px);
    padding: 38px 28px;
  }

  .service-list a {
    grid-template-columns: 38px 1fr 25px;
    gap: 10px;
  }

  .service-list p {
    display: none;
  }

  .service-list h3 {
    font-size: 29px;
  }

  .section-title.row {
    display: block;
  }

  .section-title.row > .text-link {
    margin-top: 25px;
  }

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

  .project-card.project-1,
  .project-card.project-2 {
    margin: 0;
    width: 100%;
    grid-column: auto;
  }

  .project-card .image-wrap {
    height: 380px;
  }

  .steps-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .page-hero {
    padding: 150px 22px 75px;
    gap: 25px;
  }

  .page-hero .eyebrow {
    grid-column: auto;
  }

  .page-hero h1 {
    font-size: 56px;
  }

  .page-hero > p:last-child {
    font-size: 15px;
  }

  .design-list,
  .projects-page,
  .timeline {
    padding: 70px 22px;
  }

  .design-list article,
  .design-list article:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 80px;
  }

  .design-list article:nth-child(even) img {
    order: 0;
  }

  .design-list img {
    height: 400px;
  }

  .design-list h2 {
    font-size: 48px;
  }

  .timeline article {
    grid-template-columns: 40px 1fr;
  }

  .timeline article p {
    grid-column: 2;
  }

  .wide-image {
    height: 460px;
    margin: 0 0 70px;
  }

  .about-grid img {
    height: 450px;
  }

  .about-grid h2 {
    font-size: 48px;
  }

  .values {
    grid-template-columns: 1fr 1fr;
    padding: 70px 22px;
  }

  .contact-wrap form {
    grid-template-columns: 1fr;
  }

  .full,
  .success {
    grid-column: auto;
  }

  .footer-lead h2 {
    font-size: 52px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / 3;
  }

  .footer-base {
    gap: 20px;
    flex-direction: column;
  }
}
