@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/manrope-500.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/manrope-700.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/poppins-400.woff2") format("woff2");
}

:root {
  --black: #000;
  --white: #fff;
  --gray: #d9d9d9;
  --light: #f3f3f1;
  --ink-soft: #4e4e4b;
  --gutter: clamp(24px, 4vw, 68px);
  --max: 1500px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-underline-offset: 5px;
}

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

h1,
h2,
h3 {
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--black);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  width: min(100%, var(--max));
  min-height: 104px;
  align-items: center;
  margin: 0 auto;
  padding: 13px var(--gutter);
}

.brand-mark {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 13px;
  color: var(--black);
  line-height: 1;
  text-decoration: none;
}

.brand-mark img {
  width: 72px;
  height: 70px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
  white-space: nowrap;
}

.brand-copy strong {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 18px;
  letter-spacing: 0.14em;
}

.brand-copy small {
  color: #6d6c68;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.primary-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(13px, 1.45vw, 24px);
  margin-left: clamp(26px, 4vw, 72px);
  white-space: nowrap;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  color: var(--black);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(12px, 0.92vw, 14px);
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-current {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.primary-nav .nav-cta {
  min-height: 48px;
  justify-content: space-between;
  gap: 22px;
  margin-left: 5px;
  padding: 0 16px 0 18px;
  color: var(--white);
  background: var(--black);
  text-decoration: none;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible,
.primary-nav .nav-cta.is-current {
  color: var(--black);
  background: #d6c2a2;
  text-decoration: none;
}

.nav-cta b {
  font-size: 17px;
  font-weight: 500;
}

.menu-toggle {
  display: none;
}

.page-hero {
  position: relative;
  width: calc(100% - (var(--gutter) * 2));
  max-width: var(--max);
  height: clamp(520px, 58vw, 790px);
  margin: 0 auto;
  overflow: hidden;
  background: #222;
}

.page-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 8%), rgb(0 0 0 / 55%));
}

.page-hero-copy {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(42px, 6vw, 90px);
  left: var(--gutter);
  color: var(--white);
  text-align: center;
}

.page-hero-copy p,
.eyebrow {
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-hero-copy h1 {
  max-width: 1060px;
  margin: 0 auto;
  font-size: clamp(52px, 7vw, 108px);
  line-height: 0.95;
}

.page-intro {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 150px) var(--gutter);
  text-align: center;
}

.page-intro p {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(28px, 3.2vw, 48px);
  line-height: 1.2;
}

.project-grid {
  display: grid;
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px) clamp(20px, 3vw, 46px);
  margin: 0 auto;
  padding-bottom: clamp(100px, 11vw, 180px);
}

.project-card {
  min-width: 0;
}

.project-card a {
  display: block;
  text-decoration: none;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 350ms ease;
}

.project-card a:hover img,
.project-card a:focus-visible img {
  transform: scale(0.985);
}

.project-card span {
  display: block;
  padding: 20px 4px 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(20px, 2vw, 31px);
  line-height: 1.15;
}

.outline-button {
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.outline-button:hover,
.outline-button:focus-visible {
  color: var(--white);
  background: var(--black);
}

.contact-cta {
  padding: clamp(90px, 12vw, 180px) var(--gutter);
  background: var(--gray);
  text-align: center;
}

.contact-cta p {
  margin-bottom: 18px;
  font-size: 16px;
}

.contact-cta h2 {
  margin-bottom: 42px;
  font-size: clamp(48px, 6.5vw, 94px);
  line-height: 1;
}

.story-split {
  display: grid;
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
  margin: 0 auto;
  padding: clamp(90px, 11vw, 170px) 0;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 6vw, 88px);
  background: var(--light);
}

.story-copy h2 {
  margin-bottom: 34px;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.04;
}

.story-copy p:not(.eyebrow) {
  font-size: 18px;
  line-height: 1.75;
}

.story-split > img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
}

.testimonials-section,
.awards-section,
.benefits-section,
.process-section {
  padding: clamp(90px, 11vw, 170px) var(--gutter);
}

.testimonials-section {
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.testimonial-grid {
  display: grid;
  max-width: var(--max);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 55px auto 0;
}

.testimonial-grid figure {
  margin-bottom: 0;
  padding: clamp(30px, 4vw, 56px);
  border: 1px solid rgb(255 255 255 / 34%);
}

.testimonial-grid blockquote {
  min-height: 240px;
  margin-bottom: 36px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(20px, 1.8vw, 27px);
  line-height: 1.45;
}

.testimonial-grid figcaption {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dream-wide {
  position: relative;
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  min-height: 720px;
  margin: clamp(90px, 11vw, 170px) auto;
  overflow: hidden;
}

.dream-wide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dream-wide > div {
  position: absolute;
  right: 8%;
  bottom: 10%;
  width: min(560px, 70%);
  padding: clamp(38px, 6vw, 80px);
  background: rgb(217 217 217 / 90%);
  text-align: center;
}

.dream-wide h2 {
  margin-bottom: 42px;
  font-size: clamp(44px, 5vw, 74px);
  line-height: 1;
}

.awards-section {
  text-align: center;
}

.awards-section h2,
.section-heading h2 {
  margin: 0 auto 60px;
  max-width: 850px;
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1.05;
}

.awards-grid {
  display: grid;
  max-width: 1100px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 38px;
  margin: 0 auto;
}

.awards-grid img {
  width: 100%;
  max-height: 150px;
  object-fit: contain;
}

.benefits-section {
  background: var(--gray);
  text-align: center;
}

.benefit-grid {
  display: grid;
  max-width: 1150px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 48px auto 0;
  background: rgb(0 0 0 / 18%);
}

.benefit-grid span {
  padding: 30px 20px;
  background: var(--gray);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 22px;
}

.section-heading {
  text-align: center;
}

.process-grid {
  display: grid;
  max-width: 1250px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0 auto 70px;
}

.process-grid article {
  padding: clamp(28px, 4vw, 52px);
  background: var(--light);
}

.process-grid span {
  display: block;
  margin-bottom: 40px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 55px;
}

.process-grid h3 {
  margin-bottom: 22px;
  font-size: 30px;
}

.process-images {
  display: grid;
  max-width: 1250px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 auto;
}

.process-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.contact-layout {
  display: grid;
  width: min(calc(100% - (var(--gutter) * 2)), 1280px);
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(45px, 8vw, 120px);
  margin: 0 auto;
  padding: clamp(90px, 11vw, 170px) 0;
}

.contact-details h2 {
  margin-bottom: 48px;
  font-size: clamp(46px, 5vw, 75px);
  line-height: 1;
}

.contact-details p {
  margin-bottom: 18px;
  font-size: 20px;
}

.contact-details .outline-button {
  margin-top: 30px;
}

.contact-form {
  padding: clamp(32px, 5vw, 65px);
  background: var(--light);
}

.contact-form label {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 16px 14px;
  border: 1px solid #aaa;
  border-radius: 0;
  background: var(--white);
  font: inherit;
  text-transform: none;
}

.contact-form textarea {
  resize: vertical;
}

.form-note,
.form-status {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.blog-index,
.blog-article {
  width: min(calc(100% - (var(--gutter) * 2)), 1180px);
  margin: 0 auto;
  padding: clamp(90px, 11vw, 170px) 0;
}

.blog-index > header {
  max-width: 850px;
  margin-bottom: 85px;
}

.blog-index h1,
.blog-article h1,
.project-detail-header h1,
.not-found h1 {
  font-size: clamp(48px, 6.2vw, 92px);
  line-height: 1;
}

.blog-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}

.blog-card > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.blog-card > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(35px, 6vw, 80px);
  background: var(--gray);
}

.blog-card h2 {
  margin-bottom: 28px;
  font-size: clamp(32px, 3.3vw, 48px);
  line-height: 1.08;
}

.blog-card p {
  margin-bottom: 34px;
  font-size: 18px;
}

.blog-article > header {
  max-width: 1000px;
  margin: 0 auto 70px;
  text-align: center;
}

.article-meta {
  margin-top: 30px;
  color: var(--ink-soft);
}

.article-image {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.article-body {
  max-width: 800px;
  margin: 80px auto;
}

.article-body h2 {
  margin: 55px 0 18px;
  font-size: 32px;
}

.article-body p {
  margin-bottom: 28px;
  font-size: 19px;
  line-height: 1.8;
}

.text-link {
  font-size: 17px;
}

.project-detail-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(90px, 11vw, 170px) var(--gutter) clamp(70px, 8vw, 110px);
  text-align: center;
}

.project-detail-header .text-link {
  display: inline-block;
  margin-top: 35px;
}

.project-gallery {
  width: min(calc(100% - (var(--gutter) * 2)), var(--max));
  margin: 0 auto;
  columns: 2 480px;
  column-gap: 24px;
  padding-bottom: clamp(90px, 11vw, 170px);
}

.project-gallery figure {
  break-inside: avoid;
  margin: 0 0 24px;
}

.project-gallery img {
  width: 100%;
  height: auto;
}

.project-gallery figcaption {
  padding: 12px 3px 5px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.not-found {
  min-height: 620px;
  padding: 140px var(--gutter);
  text-align: center;
}

.not-found .outline-button {
  margin-top: 40px;
}

.site-footer {
  padding: 82px var(--gutter) 24px;
  color: var(--white);
  background: #1b1c1a;
}

.footer-main {
  display: grid;
  width: min(100%, var(--max));
  grid-template-columns: 1.35fr 0.62fr 0.8fr 1.28fr;
  gap: clamp(36px, 5vw, 88px);
  margin: 0 auto;
  padding-bottom: 72px;
}

.footer-intro > p {
  max-width: 330px;
  margin: 26px 0 0;
  color: #babbb7;
  font-size: 14px;
  line-height: 1.8;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
}

.footer-brand img {
  width: 68px;
  height: 66px;
  filter: invert(1);
  object-fit: contain;
}

.footer-brand span {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-brand strong {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.footer-brand small {
  color: #a9aaa6;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.footer-heading {
  margin: 0 0 22px;
  color: #9c9d99;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-nav a,
.footer-phone {
  color: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 15px;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-phone:hover,
.footer-phone:focus-visible {
  color: #d6c2a2;
}

.footer-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-project-link {
  display: flex;
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 18px;
  border-bottom: 1px solid #565753;
  color: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1.12;
  text-decoration: none;
}

.footer-project-link:hover,
.footer-project-link:focus-visible {
  border-color: #d6c2a2;
  color: #d6c2a2;
}

.footer-project-link b {
  font-size: 25px;
  font-weight: 500;
}

.footer-phone {
  margin-top: 20px;
}

.footer-bottom {
  display: flex;
  width: min(100%, var(--max));
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0 auto;
  padding-top: 23px;
  border-top: 1px solid #383936;
  color: #999a96;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  font-style: normal;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 82px;
    justify-content: space-between;
    padding: 10px 18px;
  }

  .brand-mark img {
    width: 54px;
    height: 52px;
  }

  .brand-mark {
    gap: 10px;
  }

  .brand-copy {
    gap: 5px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #dededb;
    color: var(--black);
    background: #f7f7f4;
    font-family: "Manrope", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .menu-toggle-lines {
    display: grid;
    width: 24px;
    gap: 5px;
  }

  .menu-toggle-lines i {
    display: block;
    height: 1px;
    background: currentColor;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    height: calc(100dvh - 82px);
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 22px 22px 44px;
    overflow-y: auto;
    background: #f7f7f4;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    width: 100%;
    min-height: 56px;
    padding: 15px 3px;
    border-bottom: 1px solid #d8d8d3;
    font-family: "Manrope", Arial, sans-serif;
    font-size: clamp(22px, 7vw, 30px);
    font-weight: 500;
  }

  .primary-nav .nav-cta {
    min-height: 64px;
    margin: 22px 0 0;
    padding: 0 19px;
    border: 0;
    font-size: 18px;
  }

  .page-hero {
    width: 100%;
    height: min(118vw, 680px);
  }

  .page-hero-copy {
    right: 24px;
    bottom: 46px;
    left: 24px;
  }

  .page-hero-copy h1 {
    font-size: clamp(42px, 13vw, 64px);
    overflow-wrap: anywhere;
  }

  .project-grid,
  .story-split,
  .testimonial-grid,
  .process-grid,
  .contact-layout,
  .blog-card {
    grid-template-columns: 1fr;
  }

  .project-grid {
    gap: 55px;
  }

  .story-split {
    width: 100%;
    padding: 75px 24px;
  }

  .story-split > img {
    min-height: 420px;
    grid-row: 1;
  }

  .story-copy {
    padding: 45px 28px;
  }

  .testimonial-grid blockquote {
    min-height: 0;
  }

  .dream-wide {
    width: calc(100% - 48px);
    min-height: 650px;
  }

  .dream-wide > div {
    right: 0;
    bottom: 0;
    width: calc(100% - 24px);
  }

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

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

  .process-images,
  .field-row {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    width: calc(100% - 48px);
  }

  .blog-index,
  .blog-article {
    width: calc(100% - 48px);
  }

  .blog-card > img {
    min-height: 380px;
  }

  .project-gallery {
    width: calc(100% - 32px);
    columns: 1;
  }

  .site-footer {
    padding: 62px 24px 26px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 48px 28px;
    padding-bottom: 48px;
  }

  .footer-intro,
  .footer-action {
    grid-column: 1 / -1;
  }

  .footer-project-link {
    font-size: 28px;
  }

  .footer-bottom,
  .footer-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    gap: 20px;
  }

  .footer-contact {
    gap: 10px;
  }
}

@media (min-width: 901px) and (max-width: 1150px) {
  .brand-copy small {
    display: none;
  }

  .primary-nav {
    gap: 12px;
    margin-left: 24px;
  }

  .primary-nav a {
    font-size: 11px;
  }

  .primary-nav .nav-cta {
    gap: 12px;
    padding: 0 13px;
  }
}

@media (max-width: 420px) {
  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
