:root {
  color-scheme: light;
  --ink: #18211b;
  --muted: #5c665e;
  --line: #d8ddd5;
  --paper: #faf9f4;
  --white: #ffffff;
  --forest: #203f2d;
  --moss: #61734c;
  --gold: #b99854;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
}

.brand img {
  width: 54px;
  height: auto;
}

nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(80deg, rgba(14, 22, 16, .86) 0%, rgba(14, 22, 16, .62) 42%, rgba(14, 22, 16, .16) 100%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 6vw, 88px) clamp(42px, 8vh, 88px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold);
}

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

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 7vw, 92px);
  line-height: .96;
  font-weight: 500;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

p,
li {
  font-size: 17px;
  line-height: 1.65;
}

.lead {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  color: #f3ebd7;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 13px 20px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: var(--gold);
  color: #151914;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.intro,
.band,
.process,
.projects,
.credibility,
.contact {
  padding: clamp(56px, 9vw, 116px) clamp(18px, 6vw, 88px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) 1fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  background: var(--white);
}

.band {
  background: #edf0e7;
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 34px;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.market-grid article {
  min-height: 310px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .48);
}

.market-grid span {
  display: block;
  margin-bottom: 44px;
  color: var(--moss);
  font-weight: 800;
}

.market-grid p,
.process p,
.project-layout p,
.credibility p,
.contact p {
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  background: var(--white);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
}

ol {
  margin: 26px 0 0;
  padding-left: 22px;
}

li + li {
  margin-top: 14px;
}

.projects {
  background: var(--forest);
  color: var(--white);
}

.projects .section-heading h2,
.projects p {
  color: var(--white);
}

.project-layout {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(220px, .8fr);
  gap: 28px;
  align-items: start;
}

.project-layout img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.credibility {
  width: min(980px, 100%);
}

.contact {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  background: #f4f0e6;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea {
  resize: vertical;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 6vw, 88px);
  background: #121712;
  color: #d8ddd5;
  font-size: 14px;
}

body.inner {
  background: var(--paper);
}

.inner .site-header {
  position: sticky;
  color: var(--ink);
  background: rgba(250, 249, 244, .96);
  border-bottom: 1px solid var(--line);
}

.inner .brand img {
  width: 48px;
}

.page-hero {
  padding: clamp(70px, 10vw, 128px) clamp(18px, 6vw, 88px) clamp(42px, 7vw, 80px);
  background: linear-gradient(135deg, #f7f4ec 0%, #e6ecdf 100%);
}

.page-hero h1 {
  max-width: 900px;
  color: var(--forest);
}

.page-hero p {
  width: min(760px, 100%);
  color: var(--muted);
}

.page-content {
  padding: clamp(42px, 7vw, 84px) clamp(18px, 6vw, 88px);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) 1fr;
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.content-grid + .content-grid {
  margin-top: clamp(42px, 7vw, 76px);
  padding-top: clamp(42px, 7vw, 76px);
  border-top: 1px solid var(--line);
}

.page-content p {
  color: var(--muted);
}

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

.card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .68);
}

.card h3 {
  color: var(--forest);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 18px 18px 18px 58px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.route-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.route-list a {
  min-height: 88px;
  display: flex;
  align-items: end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
}

.form-panel {
  width: min(780px, 100%);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: #fffaf0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .intro,
  .process,
  .project-layout,
  .contact,
  .content-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  nav {
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    margin-bottom: 34px;
  }

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

  .cards,
  .route-list {
    grid-template-columns: 1fr;
  }

  .market-grid article {
    min-height: auto;
  }

  footer {
    flex-direction: column;
  }
}
