:root {
  --bg: #f5f2ef;
  --surface: #ffffff;
  --text: #1f140f;
  --muted: #5f534d;
  --accent: #a74217;
  --accent-dark: #863312;
  --line: #e5d8d1;
  --shadow: 0 14px 40px rgba(31, 20, 15, 0.08);
  --radius: 24px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.topbar {
  padding: 24px 0 12px;
}

.pill-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: 0.2s ease;
}

.pill-button {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
}

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

.hero {
  padding-top: 20px;
}

.hero-grid {
  gap: 0;
  align-items: stretch;
  background: var(--surface);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-copy {
  background: var(--accent);
  color: #fff;
  padding: 56px 48px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  padding: 6px 10px;
  border-radius: 999px;
  text-decoration: none;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 4.8vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 42rem;
  margin-bottom: 0;
  font-size: 1.12rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}
.hero-media img {
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
}

.align-center {
  align-items: center;
}

.section-marker {
  width: 42px;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
  margin: 0 0 18px;
}

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

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

p,
li {
  color: var(--muted);
  font-size: 1rem;
}

strong {
  color: var(--text);
}

.rounded-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.project-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.project-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.project-body {
  padding: 22px;
}

.tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff8f4;
  color: var(--accent-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.tag-solid {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.project-actions {
  margin-top: 18px;
}

.button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-secondary {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--line);
}

.clean-list {
  padding-left: 20px;
  margin-bottom: 0;
}

.stage-images {
  display: grid;
  gap: 20px;
}

.stage-small {
  max-width: 340px;
}

.contact-block {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-block p {
  margin-bottom: 10px;
}

a {
  color: inherit;
}

.contact-block a {
  text-decoration: none;
}

.contact-block a:hover,
.contact-block a:focus-visible {
  text-decoration: underline;
}

.footer {
  padding: 26px 0 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 900px) {
  .grid-2,
  .projects-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 42px 28px;
  }

  .section {
    padding: 56px 0;
  }

  .reverse-mobile > :first-child {
    order: 2;
  }

  .reverse-mobile > :last-child {
    order: 1;
  }

  .footer-content {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  h2 {
    font-size: 2.3rem;
  }

  .pill-button {
    width: 100%;
    text-align: center;
  }
}
