.project-card,
.gallery-item,
.manifesto-panel,
.contact-panel,
.note-card {
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(173, 126, 84, 0.12), transparent 0 18%),
    linear-gradient(180deg, rgba(33, 24, 18, 0.72), rgba(8, 6, 5, 0.96));
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

.project-media,
.gallery-media {
  position: relative;
  overflow: hidden;
}

.project-image,
.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 700ms ease,
    filter 700ms ease;
}

.project-media::before,
.gallery-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.14), transparent 80%);
  transform: translateX(-120%);
  animation: sheen 7s linear infinite;
}

.image-veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.image-veil-card,
.image-veil-gallery {
  background:
    linear-gradient(180deg, rgba(6, 4, 3, 0.06), rgba(6, 4, 3, 0.36) 60%, rgba(6, 4, 3, 0.88)),
    linear-gradient(135deg, rgba(173, 126, 84, 0.12), transparent 55%);
}

.modal-count,
.project-foot {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-wrap: pretty;
  text-transform: uppercase;
}

.ticker {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticker-track {
  display: flex;
  gap: 44px;
  width: max-content;
  padding: 18px 24px;
  color: rgba(231, 220, 208, 0.68);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: marquee 26s linear infinite;
}

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.about-copy h2,
.contact-panel h2 {
  font-size: clamp(2rem, 4.2vw, 3.3rem);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.featured-reel {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(300px, 0.84fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(173, 126, 84, 0.14), transparent 0 18%),
    linear-gradient(180deg, rgba(33, 24, 18, 0.8), rgba(8, 6, 5, 0.98));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.featured-reel-media {
  min-height: 100%;
  border-right: 1px solid var(--line);
  background: #050403;
}

.featured-reel-media video {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  background: #050403;
}

.featured-reel-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 28px 28px 28px 8px;
}

.featured-reel-copy h3 {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.featured-reel-copy .project-summary {
  font-size: 0.95rem;
}

.project-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  color: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.project-media {
  min-height: 0;
  aspect-ratio: 16 / 11;
}

.project-copy {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
}

.project-index {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-wrap: pretty;
}

.project-copy h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.project-summary,
.modal-summary,
.modal-details,
.project-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.project-details {
  margin: 0;
}

.project-details summary {
  cursor: pointer;
  color: rgba(243, 238, 231, 0.88);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  list-style: none;
}

.project-details summary::-webkit-details-marker {
  display: none;
}

.project-details summary::after {
  content: " +";
}

.project-details[open] summary::after {
  content: " -";
}

.project-details p {
  padding-top: 12px;
}

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

.gallery-item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.gallery-launch {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.gallery-item.large {
  grid-column: auto;
  grid-row: auto;
}

.gallery-item.tall {
  grid-row: auto;
}

.gallery-item.wide {
  grid-column: auto;
}

.gallery-media {
  aspect-ratio: 16 / 10;
  background: rgba(7, 5, 4, 0.94);
}

.gallery-grid .gallery-image {
  object-fit: contain;
}

.manifesto {
  padding-top: 10px;
}

.manifesto-panel,
.contact-panel {
  border-radius: var(--radius-lg);
  padding: 36px;
}

.manifesto-panel {
  background:
    radial-gradient(circle at 82% 18%, rgba(173, 126, 84, 0.16), transparent 0 22%),
    linear-gradient(180deg, rgba(33, 24, 18, 0.88), rgba(8, 6, 5, 0.98));
}

.contact-panel {
  background:
    radial-gradient(circle at 14% 18%, rgba(173, 126, 84, 0.14), transparent 0 24%),
    linear-gradient(180deg, rgba(27, 20, 15, 0.92), rgba(8, 6, 5, 0.98));
}

.manifesto-text {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2rem, 4.8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  text-wrap: balance;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.about-notes {
  display: grid;
  gap: 18px;
}

.note-card {
  border-radius: var(--radius-md);
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(173, 126, 84, 0.1), transparent 0 18%),
    linear-gradient(180deg, rgba(28, 20, 15, 0.86), rgba(8, 6, 5, 0.96));
}

.note-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.note-card strong {
  font-size: 1.04rem;
  overflow-wrap: anywhere;
}
