:root {
  --orange: #e06223;
  --orange-dark: #8f340c;
  --orange-soft: rgba(224, 98, 35, 0.12);
  --ink: #111111;
  --ink-soft: #2d2d2d;
  --muted: #5d5d5d;
  --line: rgba(17, 17, 17, 0.14);
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(17, 17, 17, 0.14);
  --wrap: 1240px;
}

* {
  box-sizing: border-box;
}

body.inner-page {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    Inter, Manrope, Montserrat, Arial, Helvetica, sans-serif;
  text-transform: none;
}

.inner-page a {
  color: inherit;
  text-decoration: none;
}

.inner-page img {
  display: block;
  max-width: 100%;
}

.inner-page .wrap {
  width: min(calc(100% - 48px), var(--wrap));
  margin-inline: auto;
}

.inner-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: 190px 0 88px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.inner-hero::before,
.inner-hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.inner-hero::before {
  background: var(--hero-image) center / cover no-repeat;
  opacity: 0.74;
}

.inner-hero::after {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.88), rgba(17, 17, 17, 0.58) 42%, rgba(17, 17, 17, 0.18)),
    linear-gradient(0deg, rgba(17, 17, 17, 0.66), rgba(17, 17, 17, 0.08) 46%);
}

.inner-hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-kicker::before,
.section-kicker::before {
  width: 42px;
  height: 1px;
  background: currentColor;
  content: "";
}

.inner-hero h1 {
  max-width: 880px;
  margin: 0;
  color: var(--white);
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  text-transform: none;
}

.inner-hero p:not(.hero-kicker) {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button,
.text-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
}

.button {
  padding: 0 28px;
  border: 1px solid var(--orange);
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(224, 98, 35, 0.22);
}

.button:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: none;
}

.page-section {
  padding: 96px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head h2,
.contact-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 900;
  line-height: 1;
  text-transform: none;
}

.section-head p:not(.section-kicker),
.contact-panel p,
.feature-card p,
.project-list p,
.gallery-note p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.project-list {
  display: grid;
  gap: 18px;
}

.link-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.link-card {
  display: grid;
  min-height: 210px;
  align-content: space-between;
  padding: 28px;
  border: 1px solid var(--orange);
  border-radius: 26px;
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.link-card:hover {
  background: rgba(224, 98, 35, 0.08);
  color: var(--ink);
  transform: translateY(-3px);
}

.link-card span {
  color: inherit;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.link-card strong {
  display: block;
  color: inherit;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.04;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  min-height: 420px;
  overflow: hidden;
  border-radius: 30px;
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow);
}

.project-feature:nth-child(even) {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
}

.project-feature:nth-child(even) .project-copy {
  order: 2;
}

.project-feature img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.project-copy {
  display: grid;
  align-content: center;
  padding: clamp(30px, 5vw, 56px);
}

.project-copy small,
.gallery-card small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-copy h3 {
  margin: 16px 0;
  color: var(--white);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900;
  line-height: 1.02;
}

.project-copy p {
  color: rgba(255, 255, 255, 0.84);
}

.project-copy .text-button {
  justify-self: start;
  min-height: 0;
  margin-top: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0;
  color: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.contact-card,
.contact-form,
.gallery-note {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(17, 17, 17, 0.06);
}

.feature-card {
  padding: 30px;
}

.feature-card span,
.contact-card span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.feature-card h3,
.contact-card h3 {
  margin: 16px 0 10px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 26px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition:
    opacity 200ms ease,
    transform 300ms ease;
}

.gallery-card:hover img {
  opacity: 0.68;
  transform: scale(1.04);
}

.gallery-card span {
  position: absolute;
  inset: auto 18px 18px;
  color: var(--white);
}

.gallery-card strong {
  display: block;
  margin-top: 6px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.15;
}

.gallery-note {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: 22px;
}

.contact-panel {
  display: grid;
  gap: 18px;
}

.contact-card {
  padding: 26px;
}

.contact-card a {
  display: inline-flex;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.contact-card p {
  margin: 6px 0 0;
}

.contact-form {
  padding: clamp(28px, 5vw, 46px);
}

.contact-form h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
}

.contact-form p {
  margin: 0 0 26px;
  color: var(--muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  line-height: 1.4;
  padding: 15px 16px;
  outline: none;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px var(--orange-soft);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.dark-band {
  background: var(--ink);
  color: var(--white);
}

.dark-band .section-head h2,
.dark-band h2,
.dark-band h3 {
  color: var(--white);
}

.dark-band p {
  color: rgba(255, 255, 255, 0.74);
}

@media (max-width: 980px) {
  .inner-page .wrap {
    width: min(calc(100% - 32px), var(--wrap));
  }

  .inner-hero {
    min-height: 560px;
    padding-top: 160px;
  }

  .section-head,
  .project-feature,
  .project-feature:nth-child(even),
  .link-card-grid,
  .feature-grid,
  .contact-grid,
  .gallery-note {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-feature:nth-child(even) .project-copy {
    order: 0;
  }

  .project-feature img {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .inner-hero {
    min-height: 520px;
    padding: 140px 0 64px;
  }

  .page-section {
    padding: 70px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
