@font-face {
  font-family: "AvenirLT";
  src: url("../fonts/avenir-lt-w01-35-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "LuloClean";
  src: url("../fonts/lulo-clean-w01-one-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DinNext";
  src: url("../fonts/din-next-w01-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #2b2b2b;
  --bg-dark: #000000;
  --text: #d5d5d5;
  --text-muted: #aca7a0;
  --accent: #957b5f;
  --accent-dark: #7c654d;
  --shadow: rgba(0, 0, 0, 0.6);
  --header-height: 120px;
}

* {
  box-sizing: border-box;
}

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

.page.home {
  background: var(--bg);
}

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

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

.container {
  width: 980px;
  margin: 0 auto;
}

.site-header {
  position: relative;
  width: 100%;
  min-height: var(--header-height);
  padding: 20px 0;
  background: #2b2b2b;
  z-index: 5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.brand {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}

.brand-box {
  width: 44px;
  height: 44px;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "AvenirLT", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
  position: absolute;
  top: 0;
  left: 0;
}

.brand-box.r {
  top: 44px;
  left: 44px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 0;
  margin-left: -32px;
}

.brand-line {
  font-family: "AvenirLT", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 0.26em;
  color: #6f6963;
  text-shadow: none;
  text-transform: uppercase;
  line-height: 1;
}

.brand-line.primary {
  margin-top: 12px;
}

.brand-line.secondary {
  margin-left: 34px;
  margin-top: -14px;
}

.main-nav {
  display: flex;
  gap: 22px;
  font-family: "AvenirLT", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: 600;
}

.main-nav a {
  color: #6f6963;
  text-shadow: none;
}

.main-nav a.active {
  color: var(--accent);
}

.hero {
  height: calc(100vh - var(--header-height));
  min-height: 520px;
  max-height: 760px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.page.home .section {
  background: var(--bg);
}

.page.home .home-hero-shell {
  height: 100vh;
  min-height: calc(var(--header-height) + 520px);
  max-height: calc(var(--header-height) + 760px);
}

.page.home .site-header {
  position: sticky;
  top: 0;
}

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

.section {
  padding: 55px 0 90px;
}

.section-title {
  font-family: "AvenirLT", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.35em;
  color: #cfcfcf;
  margin: 0 0 26px;
  text-transform: uppercase;
}

.welcome-title {
  font-family: "AvenirLT", "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  text-align: center;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  line-height: 1.2;
  font-weight: 600;
  text-shadow: 0 0 0.6px currentColor;
}

.welcome-sub {
  font-size: 10px;
  text-align: center;
  color: #ffffff;
  margin: 0 auto 36px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  max-width: 680px;
  line-height: 1.6;
  font-weight: 600;
  text-shadow: 0 0 0.6px currentColor;
}

.featured-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.featured-row {
  display: grid;
  grid-template-columns: 535px 1fr;
  gap: 40px;
  align-items: center;
}

.featured-image {
  display: block;
}

.featured-image img {
  width: 535px;
  height: 260px;
  object-fit: cover;
}

.featured-title {
  font-family: "LuloClean", "AvenirLT", sans-serif;
  font-size: 16px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.content-block {
  margin-bottom: 36px;
}

.text-title {
  font-family: "AvenirLT", "Helvetica Neue", Arial, sans-serif;
  font-size: 24px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.services-title {
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.35em;
  color: #cfcfcf;
  margin: 0 0 18px;
}

.services-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  margin: 18px auto 0;
  background: rgba(255, 255, 255, 0.12);
}

.services-section {
  max-width: 760px;
  margin: 0 auto 34px;
}

.services-subtitle {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #bdbdbd;
  margin: 0 0 18px;
}

.paragraph {
  font-size: 15px;
  color: var(--text);
  margin: 0 0 18px;
}

.sub-title {
  font-family: "LuloClean", "AvenirLT", sans-serif;
  font-size: 28px;
  margin: 0 0 6px;
  color: var(--text);
}

.role-title {
  font-size: 15px;
  letter-spacing: 0.25em;
  margin: 0 0 16px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  max-width: none;
}

.service-item {
  font-size: 15px;
  color: #cfcfcf;
  line-height: 1.7;
}

.service-name {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.service-sublist {
  margin: 8px 0 0 22px;
  padding: 0;
  list-style: disc;
  color: #cfcfcf;
}

.service-sublist li {
  margin-bottom: 6px;
}

.service-bullets {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  color: #cfcfcf;
}

.service-bullets li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.projects-gallery {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 871px;
  margin: 0 auto;
}

.projects-gallery img {
  width: 100%;
  height: 489px;
  object-fit: cover;
}

/* nav toggle */
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle-label {
  display: none;
  width: 32px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.nav-toggle-label span {
  height: 2px;
  width: 100%;
  background: var(--accent);
  border-radius: 2px;
}

.site-footer {
  background: var(--bg-dark);
  color: var(--text);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  padding: 55px 0 68px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.footer-heading {
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.footer-text {
  font-size: 15px;
  line-height: 1.5em;
  margin: 0 0 8px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.socials a {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.contact-form {
  max-width: 412px;
}

.contact-form label {
  display: block;
  font-size: 15px;
  margin-bottom: 7px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d5d5d5;
  background: #000000;
  color: #d5d5d5;
  padding: 3px 12px;
  font-family: "AvenirLT", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
}

.contact-form textarea {
  height: 100px;
  resize: vertical;
}

.contact-form button {
  margin-top: 10px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 8px 18px;
  font-size: 15px;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.form-status {
  display: none;
  text-align: right;
  font-size: 15px;
}

.simple-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.simple-page h1 {
  font-family: "LuloClean", "AvenirLT", sans-serif;
  font-size: 28px;
  margin-bottom: 12px;
}

.simple-page p {
  font-size: 15px;
  margin-bottom: 18px;
}

.simple-page a {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 1020px) {
  .container {
    width: 90vw;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    height: 80vh;
    min-height: 420px;
    background-attachment: scroll;
  }

  .featured-row {
    grid-template-columns: 1fr;
  }

  .featured-image img,
  .featured-image img {
    width: 100%;
    height: auto;
  }

  .featured-title {
    text-align: center;
  }

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

  .contact-form {
    max-width: 100%;
  }

}

@media (max-width: 760px) {
  .site-header {
    padding: 16px 0;
  }

  .brand-text {
    margin-top: 4px;
    gap: 32px;
    margin-left: -28px;
  }

  .brand-line {
    font-size: 16px;
    letter-spacing: 0.24em;
  }

  .brand-line.primary {
    margin-top: 10px;
  }

  .brand-line.secondary {
    margin-left: 28px;
    margin-top: -12px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    background: #2b2b2b;
    padding: 16px 18px;
    gap: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  }

  .nav-toggle-label {
    display: flex;
  }

  .nav-toggle:checked + .nav-toggle-label + .main-nav {
    display: flex;
  }

  .hero {
    height: 70vh;
    min-height: 360px;
    background-attachment: scroll;
  }

  .projects-gallery img {
    height: auto;
    max-height: none;
  }

  .page.home .home-hero-shell {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .page.home .site-header {
    position: sticky;
    top: 0;
  }
}
