:root {
  --black: #070707;
  --surface: #101010;
  --white: #f5f4f1;
  --muted: #a5a29c;
  --line: rgba(245, 244, 241, 0.16);
  --copper: #d76a18;
  --copper-soft: #f1a45f;
  --edge: clamp(16px, 4vw, 58px);
  color-scheme: dark;
  font-family: "Parkinsans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.2), var(--black) 38%),
    var(--black);
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background: url("../../back.png") center 35% / min(74vw, 1080px) auto no-repeat;
  opacity: 0.15;
  pointer-events: none;
}

a {
  color: inherit;
}

.topbar {
  position: fixed;
  z-index: 5;
  top: 16px;
  left: var(--edge);
  right: var(--edge);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px clamp(16px, 2vw, 28px);
  background: rgba(7, 7, 7, 0.72);
  border: 1px solid rgba(245, 244, 241, 0.12);
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand,
.back-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand {
  gap: 9px;
}

.brand img {
  width: 28px;
  height: 28px;
}

.brand span {
  font-size: 0.84rem;
  font-weight: 700;
}

.back-link {
  gap: 8px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.back-link span {
  font-size: 1rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--white);
  outline: none;
}

.back-link:hover span,
.back-link:focus-visible span {
  transform: translateX(-3px);
}

main {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 174px var(--edge) 88px;
}

.gallery-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  gap: 42px;
  align-items: end;
  margin-bottom: clamp(42px, 7vw, 88px);
}

.eyebrow {
  color: var(--copper-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin-top: 15px;
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.gallery-header p:last-child {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.gallery-grid {
  columns: 3 280px;
  column-gap: clamp(14px, 1.8vw, 26px);
}

.gallery-grid.is-single {
  max-width: 920px;
  columns: 1;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: clamp(14px, 1.8vw, 26px);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.gallery-item :is(img, video, iframe) {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-item video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-item iframe {
  aspect-ratio: 16 / 9;
  border: 0;
}

.gallery-item figcaption {
  padding: 13px 14px 14px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.35;
}

.more-explore {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 36px;
  align-items: start;
  margin-top: clamp(54px, 8vw, 112px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.more-explore h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.1;
}

.explore-document {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1fr);
  min-height: 170px;
  overflow: hidden;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 5px;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease;
}

.explore-document img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.explore-document-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 22px;
}

.explore-document-copy span {
  color: var(--copper-soft);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.explore-document-copy strong {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.25;
}

.explore-document-copy small {
  color: var(--muted);
  font-size: 0.8rem;
}

.explore-document:hover,
.explore-document:focus-visible {
  border-color: rgba(255, 214, 150, 0.72);
  outline: none;
  transform: translateY(-3px);
}

.contact-main {
  width: min(980px, 100%);
}

.contact-main .gallery-header {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-bottom: 46px;
}

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

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

.form-field,
.service-fieldset {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.form-field > span,
.service-fieldset legend {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(16, 16, 16, 0.82);
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  font-size: 0.94rem;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  background: rgba(23, 23, 23, 0.95);
  border-color: var(--copper-soft);
}

.service-fieldset {
  padding: 0;
  border: 0;
}

.service-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.service-option {
  position: relative;
}

.service-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.service-option span {
  display: block;
  padding: 9px 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.service-option input:checked + span {
  color: var(--white);
  background: rgba(215, 106, 24, 0.25);
  border-color: var(--copper-soft);
}

.service-option input:focus-visible + span {
  outline: 2px solid var(--copper-soft);
  outline-offset: 2px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 4px;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  color: var(--black);
  background: var(--copper-soft);
  border: 1px solid var(--copper-soft);
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  background: #ffd696;
  border-color: #ffd696;
  outline: none;
  transform: translateY(-2px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-status {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.form-status.is-error {
  color: #f1a45f;
}

.form-status.is-success {
  color: #b7d494;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.gallery-grid.is-video {
  max-width: none;
  columns: 2 380px;
}

@media (max-width: 680px) {
  :root {
    --edge: 16px;
  }

  .topbar {
    top: 10px;
    min-height: 56px;
  }

  .brand img {
    width: 25px;
    height: 25px;
  }

  .brand span {
    font-size: 0.75rem;
  }

  .back-link {
    font-size: 0;
  }

  .back-link span {
    font-size: 1.2rem;
  }

  main {
    padding-top: 128px;
    padding-bottom: 48px;
  }

  .gallery-header {
    display: block;
    margin-bottom: 38px;
  }

  .gallery-header p:last-child {
    margin-top: 18px;
    font-size: 0.92rem;
  }

  .gallery-grid {
    columns: 1;
  }

  .gallery-grid.is-video {
    columns: 1;
  }

  .more-explore {
    display: block;
    margin-top: 54px;
  }

  .more-explore h2 {
    margin-bottom: 22px;
  }

  .explore-document {
    grid-template-columns: 0.85fr 1fr;
    min-height: 140px;
  }

  .explore-document img {
    min-height: 140px;
  }

  .explore-document-copy {
    padding: 16px;
  }

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

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}
