:root {
  color-scheme: light;
  --ink: #171612;
  --muted: #5f6258;
  --soft: #f5f2ea;
  --paper: #fffdf8;
  --line: #d9d4c8;
  --sage: #6f8066;
  --sage-dark: #3f5239;
  --wine: #7b3f4c;
  --amber: #c58945;
  --shadow: 0 24px 70px rgba(39, 34, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(245, 242, 234, 0.94)),
    repeating-linear-gradient(90deg, rgba(23, 22, 18, 0.03) 0 1px, transparent 1px 96px);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand,
.nav-links,
.hero-actions,
.project-meta,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(23, 22, 18, 0.12);
  border-radius: 8px;
  color: var(--paper);
  background: var(--ink);
  font-size: 0.78rem;
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 48px;
  min-height: 560px;
  padding: 76px 0 56px;
}

.hero-inner {
  max-width: 740px;
}

.eyebrow,
.project-meta {
  color: var(--sage-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 18px;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 32px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.16;
}

.hero-statement {
  text-wrap: balance;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--paper);
  background: var(--sage-dark);
  box-shadow: 0 14px 30px rgba(63, 82, 57, 0.22);
}

.button-primary:hover {
  background: #33452e;
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.68);
}

.hero-current {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 22, 18, 0.12);
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.92), rgba(238, 232, 219, 0.82)),
    var(--paper);
  box-shadow: var(--shadow);
}

.hero-current::before {
  position: absolute;
  inset: auto -42px -52px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(197, 137, 69, 0.18);
  content: "";
}

.hero-current img {
  position: relative;
  width: 118px;
  height: 154px;
  margin-bottom: 26px;
  object-fit: contain;
}

.hero-current h2 {
  position: relative;
  margin-bottom: 8px;
  font-size: 2rem;
}

.hero-current p {
  position: relative;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.signal-strip div {
  min-width: 0;
  padding: 22px;
  background: rgba(255, 253, 248, 0.74);
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  margin-bottom: 6px;
}

.signal-strip span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.section {
  padding: 84px 0 20px;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.08;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.approach-grid article {
  min-width: 0;
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}

.approach-grid h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.approach-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.projects {
  padding-bottom: 72px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  overflow: hidden;
  border: 1px solid rgba(23, 22, 18, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.8);
  box-shadow: var(--shadow);
}

.project-visual {
  display: grid;
  min-height: 360px;
  place-items: center;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 38%, rgba(123, 63, 76, 0.12), transparent 34%),
    #efe8dc;
}

.project-visual img {
  width: 170px;
  height: 252px;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(75, 47, 30, 0.18));
}

.project-content {
  padding: 44px;
}

.project-meta {
  gap: 10px;
  margin-bottom: 18px;
  color: var(--wine);
}

.project-meta span + span::before {
  margin-right: 10px;
  color: var(--line);
  content: "/";
}

.project-content h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  font-weight: 500;
}

.project-content p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  min-width: 0;
  padding-left: 20px;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.35;
}

.feature-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sage-dark);
  font-weight: 800;
}

.text-link:hover {
  color: var(--ink);
}

.site-footer {
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .site-header {
    width: min(100% - 28px, 1120px);
  }

  main,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    padding-top: 56px;
  }

  .hero-current {
    padding: 24px;
  }

  .hero-current img {
    width: 104px;
    height: 138px;
    margin-bottom: 22px;
  }

  h1 {
    font-size: 2.75rem;
  }

  .signal-strip,
  .approach-grid,
  .project-card {
    grid-template-columns: 1fr;
  }

  .project-visual {
    min-height: 280px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
    padding: 16px 0;
  }

  .brand {
    gap: 10px;
  }

  .brand span:last-child {
    max-width: 120px;
    line-height: 1.1;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.9rem;
  }

  .hero {
    padding: 44px 0 42px;
  }

  h1 {
    font-size: 2.05rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding-top: 64px;
  }

  .section-heading h2 {
    font-size: 2.35rem;
  }

  .project-content {
    padding: 28px;
  }

  .project-content h3 {
    font-size: 2.2rem;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
