/* Promise */
.promise {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.promise__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 112px;
}
.promise__label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.promise strong {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
}
.promise__place {
  padding-left: 28px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

/* Services */
.services__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
}
.services__head h2 { max-width: 660px; margin-bottom: 0; }
.services__head .section-lead { max-width: 420px; margin-bottom: 8px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  position: relative;
  min-height: 330px;
  padding: 38px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 249, .32);
  transition: background-color .25s ease, color .25s ease;
}
.service-card::after {
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 140px;
  height: 140px;
  transform: rotate(45deg);
  border: 1px solid var(--line);
  content: "";
  transition: transform .35s ease;
}
.service-card:hover { background: var(--ink); color: var(--white); }
.service-card:hover::after { transform: rotate(45deg) scale(1.35); border-color: rgba(201, 255, 53, .4); }
.service-card__number {
  display: inline-grid;
  width: 52px;
  height: 30px;
  place-content: center;
  margin-bottom: 72px;
  background: var(--signal);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}
.service-card h3 {
  max-width: 470px;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}
.service-card p {
  position: relative;
  z-index: 1;
  max-width: 490px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}
.service-card:hover p { color: rgba(255, 255, 255, .63); }

/* About */
.about { background: var(--ink); color: var(--white); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(310px, .78fr) minmax(0, 1.22fr);
  gap: 100px;
}
.about__intro { position: sticky; top: 130px; align-self: start; }
.about h2 { max-width: 530px; }
.about__mark {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 42px;
  color: var(--signal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.about__mark img { width: 54px; height: 54px; }
.about__copy { padding-top: 30px; }
.about__copy p {
  margin-bottom: 25px;
  color: rgba(255, 255, 255, .66);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}
.about__copy p:first-child {
  color: var(--white);
  font-size: clamp(1.25rem, 2.4vw, 1.72rem);
  font-weight: 600;
  line-height: 1.5;
}
.traits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 44px;
  background: rgba(255, 255, 255, .14);
}
.trait {
  min-height: 120px;
  padding: 24px;
  background: var(--ink-soft);
}
.trait span {
  display: block;
  margin-bottom: 23px;
  color: var(--signal);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}
.trait strong { font-size: 12px; line-height: 1.4; text-transform: uppercase; }

/* FAQ */
.faq { background: var(--white); }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 100px;
}
.faq__intro {
  position: sticky;
  top: 130px;
  align-self: start;
}
.faq__intro h2 { font-size: clamp(3rem, 6vw, 5.3rem); }
.faq__list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  padding: 30px 58px 30px 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.05;
  list-style: none;
  text-transform: uppercase;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-content: center;
  transform: translateY(-50%);
  background: var(--signal);
  color: var(--ink);
  content: "+";
  font-family: var(--body);
  font-size: 22px;
  font-weight: 700;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:focus-visible { outline: 3px solid var(--signal-dark); outline-offset: 5px; }
.faq-item p {
  max-width: 720px;
  margin: -5px 0 30px;
  padding-right: 58px;
  color: var(--muted);
  font-size: 15px;
}

/* References */
.references__head {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 54px;
}
.references__head h2 { margin-bottom: 0; }
.references__head p { margin-bottom: 10px; color: var(--muted); }
.project-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  grid-template-rows: repeat(2, 260px);
  gap: 16px;
}
.project-card {
  position: relative;
  display: flex;
  align-items: end;
  padding: 28px;
  border: 0;
  overflow: hidden;
  background: var(--ink-soft);
  color: var(--white);
  text-decoration: none;
}
.project-card:first-child { grid-row: 1 / 3; }
.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.68) contrast(1.06);
  transition: filter .35s ease, transform .55s ease;
}
.project-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 23, 20, .18), rgba(17, 23, 20, .32) 48%, rgba(17, 23, 20, .94)),
    linear-gradient(120deg, rgba(28, 36, 32, .42), rgba(17, 23, 20, .08));
  content: "";
  z-index: 1;
  transition: opacity .35s ease;
}
.project-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: .28;
  background:
    linear-gradient(90deg, transparent 48%, var(--signal) 48% 48.35%, transparent 48.35%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.11) 0 1px, transparent 1px 20px);
  content: "";
  pointer-events: none;
}
.project-card:nth-child(2)::after, .project-card:nth-child(3)::after {
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.1) 0 1px, transparent 1px 24px);
}
@media (hover: hover) {
  .project-card:hover img { filter: saturate(.92) contrast(1.03); transform: scale(1.025); }
  .project-card:hover::before { opacity: .78; }
}
.project-card__label {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .25);
}
.project-card__label strong {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-transform: uppercase;
}
.project-card__label span {
  color: var(--signal);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.project-card:focus-visible {
  z-index: 2;
  outline: 4px solid var(--signal-dark);
  outline-offset: 4px;
}
.refs-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 18px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 14px;
}
.refs-note strong { color: var(--ink); white-space: nowrap; }

.project-lightbox {
  width: min(1180px, calc(100% - 40px));
  max-width: none;
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 0;
  overflow: visible;
  background: transparent;
  color: var(--white);
}
.project-lightbox::backdrop { background: rgba(9, 13, 11, .92); }
.project-lightbox__inner {
  position: relative;
  display: grid;
  max-height: calc(100dvh - 40px);
  place-items: center;
}
.project-lightbox figure { margin: 0; }
.project-lightbox__image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 92px);
  object-fit: contain;
  background: var(--ink-soft);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .4);
}
.project-lightbox figcaption {
  padding-top: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.project-lightbox__close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  background: var(--signal);
  color: var(--ink);
  cursor: pointer;
  font: 700 32px/1 var(--body);
}
.project-lightbox__close:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

/* Contact */
.contact {
  position: relative;
  overflow: hidden;
  background: var(--signal);
  color: var(--ink);
}
.contact::after {
  position: absolute;
  top: -45%;
  right: -10%;
  width: 520px;
  height: 520px;
  border: 90px solid rgba(17, 23, 20, .07);
  border-radius: 50%;
  content: "";
}
.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr);
  align-items: start;
  gap: 70px;
}
.contact h2 { max-width: 820px; margin-bottom: 25px; }
.contact__lead { max-width: 650px; margin-bottom: 0; font-size: 17px; }
.contact-card {
  width: min(100%, 430px);
  margin-top: 46px;
  padding: 34px;
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}
.contact-card__label {
  display: block;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .48);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.contact-card a {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
}
.contact-card a:hover { color: var(--signal); }
.contact-card p {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
}
.contact-form {
  position: relative;
  padding: 42px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.contact-form__heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.contact-form__number {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-content: center;
  background: var(--ink);
  color: var(--signal);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
}
.contact-form__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.contact-form h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}
.form-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
}
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(17, 23, 20, .24);
  border-radius: 0;
  outline: 0;
  background: var(--white);
  color: var(--ink);
  font: 500 15px/1.5 var(--body);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input,
.form-field select {
  height: 52px;
  padding: 0 15px;
}
.form-field textarea {
  min-height: 154px;
  padding: 14px 15px;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #8b918d; }
.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover { border-color: rgba(17, 23, 20, .52); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(201, 255, 53, .7);
}
.form-field input:user-invalid,
.form-field select:user-invalid,
.form-field textarea:user-invalid { border-color: #a93628; }
.form-trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}
.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
}
.form-submit {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 24px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
  font: 800 13px/1 var(--body);
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.form-submit:hover { transform: translateY(-2px); background: var(--ink-soft); }
.form-submit:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.form-submit:disabled { cursor: wait; opacity: .65; transform: none; }
.form-note { margin: 0; color: var(--muted); font-size: 11px; text-align: right; }
.form-status {
  display: none;
  margin: 20px 0 0;
  padding: 13px 15px;
  font-size: 13px;
  font-weight: 700;
}
.form-status.is-success { display: block; background: #e6f5c4; color: #263910; }
.form-status.is-error { display: block; background: #f8ded8; color: #772316; }

/* Footer */
.site-footer { padding: 44px 0 28px; background: var(--ink); color: var(--white); }
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__links a {
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.footer__links a:hover { color: var(--signal); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 25px;
  color: rgba(255, 255, 255, .4);
  font-size: 11px;
}
