:root {
  --legacy-ink: #f5f0e6;
  --legacy-muted: rgba(245, 240, 230, 0.72);
  --legacy-line: rgba(245, 240, 230, 0.16);
  --legacy-gold: #c8a45d;
  --legacy-gold-strong: #d9b96d;
  position: relative;
}

.section {
  position: relative;
  display: grid;
  min-height: 100vh;
  width: min(calc(100% - 44px), 1240px);
  margin: 0 auto;
  padding: 156px 0 72px;
  scroll-margin-top: 124px;
}

.service,
.contact {
  align-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  gap: clamp(36px, 7vw, 96px);
}

.service--reverse {
  direction: rtl;
}

.service--reverse > * {
  direction: ltr;
}

.section__copy {
  position: relative;
  padding-left: 28px;
}

.section__copy::before {
  position: absolute;
  top: 7px;
  bottom: 8px;
  left: 0;
  width: 1px;
  background: linear-gradient(var(--legacy-gold), transparent);
  content: "";
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--legacy-gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h2 {
  max-width: 600px;
  margin: 0;
  font-family: "Rajdhani", Arial, sans-serif;
  font-size: 3.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.72);
  text-transform: uppercase;
}

.section__copy > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--legacy-muted);
  font-size: 1rem;
  line-height: 1.72;
  white-space: pre-line;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 0 22px;
  border: 1px solid rgba(200, 164, 93, 0.58);
  background: rgba(200, 164, 93, 0.22);
  color: var(--legacy-ink);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(200, 164, 93, 0.9);
  background: rgba(200, 164, 93, 0.26);
  outline: none;
  transform: translateY(-2px);
}

.about-panel,
.contact-card {
  border: 1px solid var(--legacy-line);
  background: rgba(5, 5, 5, 0.52);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.about-panel {
  display: grid;
  min-height: 470px;
  align-content: space-between;
  padding: 32px;
}

.about-panel__intro > span,
.contact-card__details p > span:first-child {
  display: block;
  margin-bottom: 10px;
  color: var(--legacy-gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-panel__intro strong {
  display: block;
  max-width: 360px;
  font-family: "Rajdhani", Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-transform: uppercase;
}

.about-panel__intro p {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--legacy-muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

.about-panel__statements {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-top: 22px;
}

.about-panel__statements span {
  display: block;
  color: var(--legacy-ink);
  font-family: "Rajdhani", Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.18;
}

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

.stats div {
  padding: 22px 16px 0 0;
}

.stats strong {
  display: block;
  color: var(--legacy-ink);
  font-family: "Rajdhani", Arial, sans-serif;
  font-size: 2.15rem;
  font-weight: 600;
}

.stats span {
  display: block;
  margin-top: 6px;
  color: var(--legacy-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 28px;
  padding: 30px;
}

.contact-card__details {
  display: grid;
  align-content: start;
  gap: 18px;
  padding-right: 24px;
  border-right: 1px solid var(--legacy-line);
}

.contact-card__details p {
  margin: 0;
  color: var(--legacy-muted);
  line-height: 1.72;
}

.contact-card__details a {
  color: var(--legacy-ink);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(245, 240, 230, 0.84);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--legacy-line);
  border-radius: 0;
  background: rgba(245, 240, 230, 0.06);
  color: var(--legacy-ink);
  font: inherit;
  letter-spacing: 0;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(217, 185, 109, 0.72);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(245, 240, 230, 0.38);
}

.contact-form select option {
  color: #050505;
}

.contact-form .button {
  margin-top: 0;
}

.image-upload small {
  color: var(--legacy-muted);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.contact-form input[type="file"] {
  min-height: 54px;
  padding: 8px;
  color: var(--legacy-muted);
  cursor: pointer;
}

.contact-form input[type="file"]::file-selector-button {
  min-height: 36px;
  margin-right: 12px;
  padding: 0 14px;
  border: 1px solid rgba(200, 164, 93, 0.58);
  background: rgba(200, 164, 93, 0.18);
  color: var(--legacy-ink);
  cursor: pointer;
  font: 600 0.68rem/1 var(--font-body);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.image-preview {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--legacy-line);
  background: rgba(245, 240, 230, 0.04);
}

.image-preview[hidden] {
  display: none;
}

.image-preview img {
  width: 100%;
  height: clamp(180px, 24vw, 300px);
  object-fit: cover;
}

.image-preview figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 13px;
  color: var(--legacy-muted);
  font-size: 0.72rem;
}

.image-preview figcaption span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-preview button {
  flex: 0 0 auto;
  color: var(--legacy-gold-strong);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form__status,
.collab-form__status {
  min-height: 1.4em;
  margin: 0;
  color: var(--legacy-gold-strong);
  font-size: 0.72rem;
  line-height: 1.5;
}

.building-signature {
  position: relative;
  display: flex;
  min-height: clamp(540px, 78vw, 920px);
  width: min(calc(100% - 44px), 1240px);
  align-items: flex-end;
  margin: 12px auto clamp(64px, 9vw, 120px);
  overflow: hidden;
  padding: clamp(28px, 5vw, 64px);
  background:
    linear-gradient(180deg, rgba(5, 5, 4, 0.04) 35%, rgba(5, 5, 4, 0.88) 100%),
    url("/assets/bg.jpeg") center 28% / cover no-repeat;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.46);
  isolation: isolate;
}

.building-signature::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid rgba(245, 240, 230, 0.16);
  content: "";
  pointer-events: none;
}

.building-signature__copy {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 28px;
}

.building-signature__copy p {
  color: var(--legacy-gold-strong);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.building-signature h2 {
  max-width: none;
  grid-column: 1;
  color: #fffaf0;
  font-size: clamp(4.8rem, 15vw, 12rem);
  letter-spacing: -0.055em;
  line-height: 0.72;
  text-shadow: 0 16px 55px rgba(0, 0, 0, 0.82);
}

.building-signature__copy span {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  color: rgba(245, 240, 230, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-align: right;
  text-transform: uppercase;
}

.collab-page {
  background:
    radial-gradient(circle at 78% 16%, rgba(200, 164, 93, 0.11), transparent 32rem),
    linear-gradient(180deg, #0b0b09, #050504);
}

.collab-main {
  min-height: 100svh;
}

.collab-contact {
  padding-top: clamp(150px, 16vw, 210px);
}

.collab-contact h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Rajdhani", Arial, sans-serif;
  font-size: clamp(3.4rem, 6.2vw, 6.8rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.86;
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.72);
}

.collab-contact .section__copy > p:not(.eyebrow) {
  white-space: pre-line;
}

.collab-card {
  align-self: center;
}

.collab-form__status {
  min-height: 1.4em;
  margin: 0;
  color: var(--legacy-gold-strong);
  font-size: 0.72rem;
  line-height: 1.5;
}

.site-footer {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 72px), 1320px);
  margin: clamp(12px, 2vw, 28px) auto 34px;
  padding-top: 1px;
}

.site-footer::before {
  position: absolute;
  top: 0;
  right: 7%;
  left: 7%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 185, 109, 0.92), transparent);
  box-shadow: 0 0 24px rgba(217, 185, 109, 0.34);
  content: "";
}

.site-footer__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(560px, 1.55fr);
  gap: 26px 42px;
  overflow: hidden;
  padding: clamp(26px, 3.2vw, 44px);
  border: 1px solid rgba(245, 240, 230, 0.17);
  background:
    radial-gradient(circle at 84% 0%, rgba(200, 164, 93, 0.13), transparent 34%),
    linear-gradient(135deg, rgba(14, 15, 14, 0.96), rgba(4, 4, 4, 0.92));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px rgba(255, 255, 255, 0.035);
}

.site-footer__panel::after {
  position: absolute;
  right: -52px;
  bottom: -112px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(200, 164, 93, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(200, 164, 93, 0.025), 0 0 0 84px rgba(200, 164, 93, 0.018);
  content: "";
  pointer-events: none;
}

.site-footer__brand {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(245, 240, 230, 0.12);
}

.site-footer__brand-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
}

.site-footer__brand > p {
  max-width: 290px;
  margin: 16px 20px 0 0;
  color: rgba(245, 240, 230, 0.72);
  font-size: 0.76rem;
  line-height: 1.55;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.site-footer__connect {
  position: relative;
  z-index: 1;
  align-self: center;
}

.site-footer__label {
  margin: 0 0 15px;
  color: #d9b96d;
  font-family: "Rajdhani", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-footer__socials {
  display: grid;
  grid-template-columns: repeat(5, minmax(82px, 1fr));
  gap: 10px;
}

.site-footer__social {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 106px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  border: 1px solid rgba(245, 240, 230, 0.15);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(245, 240, 230, 0.78);
  font-family: "Rajdhani", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: border-color 220ms ease, background-color 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.site-footer__social::before {
  position: absolute;
  inset: auto 14px 0;
  height: 1px;
  background: #d9b96d;
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 220ms ease, transform 220ms ease;
}

.site-footer__social:hover,
.site-footer__social:focus-visible {
  border-color: rgba(217, 185, 109, 0.58);
  background: rgba(200, 164, 93, 0.095);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  color: #f5f0e6;
  outline: none;
  transform: translateY(-3px);
}

.site-footer__social:hover::before,
.site-footer__social:focus-visible::before {
  opacity: 1;
  transform: scaleX(1);
}

.site-footer__social-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(200, 164, 93, 0.28);
  border-radius: 50%;
  color: #d9b96d;
}

.site-footer__social-icon svg {
  width: 20px;
  height: 20px;
  overflow: visible;
}

.site-footer__social-icon path,
.site-footer__social-icon rect,
.site-footer__social-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.site-footer__social[aria-label="YouTube"] path:last-child,
.site-footer__social[aria-label="Facebook"] path,
.site-footer__icon-fill {
  fill: currentColor;
  stroke: none;
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 21px;
  border-top: 1px solid rgba(245, 240, 230, 0.12);
  color: rgba(245, 240, 230, 0.52);
  font-size: 0.71rem;
  letter-spacing: 0.055em;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__collab-cta {
  display: flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  margin-left: auto;
  padding: 13px 22px;
  border: 1px solid rgba(200, 164, 93, 0.58);
  background: rgba(200, 164, 93, 0.1);
  color: var(--legacy-cream);
  font-family: "Rajdhani", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.site-footer__collab-cta:hover,
.site-footer__collab-cta:focus-visible {
  border-color: var(--legacy-gold-strong);
  background: var(--legacy-gold-strong);
  color: #090806;
}

@media (max-width: 900px) {
  .section {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 112px 0 64px;
  }

  .service--reverse {
    direction: ltr;
  }

  .about-panel {
    min-height: 430px;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-card__details {
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--legacy-line);
  }
}

@media (max-width: 980px) {
  .site-footer {
    width: min(calc(100% - 36px), 760px);
  }

  .site-footer__panel {
    grid-template-columns: 1fr;
  }

  .site-footer__brand {
    padding-bottom: 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(245, 240, 230, 0.12);
  }

  .site-footer__socials {
    grid-template-columns: repeat(3, minmax(78px, 1fr));
  }
}

@media (max-width: 640px) {
  .section {
    width: calc(100% - 24px);
    gap: 28px;
    padding: 88px 0 36px;
  }

  .section__copy {
    padding-left: 20px;
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  .about-panel,
  .contact-card {
    padding: 24px;
  }

  .about-panel {
    min-height: 500px;
  }

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

  .stats div + div {
    margin-top: 14px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 48px;
    font-size: 1rem;
  }

  .building-signature {
    min-height: 74svh;
    width: calc(100% - 24px);
    margin-top: 24px;
    padding: 22px;
    background-position: center top;
  }

  .building-signature__copy {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .building-signature h2 {
    font-size: clamp(4.2rem, 24vw, 7.2rem);
  }

  .building-signature__copy span {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
  }

  .site-footer {
    width: calc(100% - 24px);
    margin-bottom: 12px;
  }

  .site-footer__panel {
    gap: 22px;
    padding: 24px 18px;
  }

  .site-footer__socials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer__social {
    min-height: 96px;
    font-size: 0.62rem;
    letter-spacing: 0.07em;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    font-size: 0.66rem;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__social,
  .button {
    transition: none;
  }
}
