@font-face {
  font-family: "DIN Condensed";
  src: url("assets/fonts/din-condensed-bold.woff2") format("woff2"),
    url("assets/fonts/din-condensed-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

:root {
  --bg-dark: #050608;
  --bg-overlay: rgba(0, 0, 0, 0.66);
  --text-main: #f3f3f3;
  --text-dim: #cecece;
  --card: rgba(16, 16, 18, 0.74);
  --line: rgba(255, 255, 255, 0.32);
  --line-focus: rgba(255, 255, 255, 0.9);
  --font-main: "DIN Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  color: var(--text-main);
  font-family: var(--font-main);
  font-weight: 700;
  background: var(--bg-dark);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-bg {
  position: fixed;
  inset: 0;
  background: url("assets/bg-textura.jpg") center / cover no-repeat;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
}

.page-home,
.page-home main {
  height: 100dvh;
}

.hero {
  height: 100dvh;
  width: 100%;
  display: grid;
  place-items: center;
  padding: clamp(8px, 1.6vh, 16px) clamp(10px, 1.8vw, 20px);
}

.hero-inner {
  width: min(94vw, 920px);
  height: 100%;
  max-height: calc(100dvh - 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.8vh, 10px);
  text-align: center;
}

.logo {
  width: clamp(150px, 20vw, 270px);
  max-height: 17dvh;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.6));
}

.medallion {
  width: clamp(210px, 33vw, 430px);
  max-height: 42dvh;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 34px rgba(0, 0, 0, 0.7));
}

.headline {
  margin: 0;
  font-size: clamp(1.6rem, 3.8vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-shadow: 0 6px 14px rgba(0, 0, 0, 0.55);
}

.subheadline {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  letter-spacing: 0.035em;
  color: var(--text-dim);
}

.contact-link,
.back-link {
  width: 100%;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text-main);
  font-size: clamp(1.15rem, 1.9vw, 1.7rem);
  letter-spacing: 0.035em;
  transition: transform 180ms ease, text-shadow 180ms ease;
  justify-content: center;
}

.contact-link img {
  width: clamp(24px, 2.5vw, 40px);
  height: auto;
}

.contact-link:hover,
.back-link:hover {
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

.page-home .hero-inner {
  gap: clamp(1px, 0.45vh, 6px);
  justify-content: center;
}

.page-home .art-stack {
  position: relative;
  width: clamp(305px, 46vw, 640px);
  max-height: 64dvh;
  margin-top: clamp(0px, 0.6vh, 10px);
}

.page-home .art-stack .medallion {
  width: 100%;
  max-height: 64dvh;
  height: auto;
}

.page-home .art-stack .logo {
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(220px, 29vw, 420px);
  max-height: 24dvh;
  transform: translate(-50%, -32%);
  z-index: 3;
}

.page-home .hero-title {
  position: absolute;
  left: 50%;
  bottom: clamp(74px, 12.8vh, 142px);
  transform: translateX(-50%);
  width: min(96%, 940px);
  margin: 0;
  z-index: 2;
}

.page-home .subheadline {
 margin-top: clamp(-40px, 3.2vh, -66px);
}

.page-home .contact-link {
  margin-top: clamp(10px, 1.6vh, 20px);
}

.page-home .press-link {
  margin-top: 0.2rem;
}

.page-home .page-bg {
  background: url("assets/bg-textura.jpg") center center / cover no-repeat;
}

.section {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.page-contact,
.page-contact main {
  height: 100dvh;
}

.page-contact .contact.section {
  height: 100dvh;
  min-height: 100dvh;
  padding: clamp(8px, 1.2vh, 14px) 1rem;
}

.contact,
.thanks {
  position: relative;
}

.contact::before,
.thanks::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(1px);
  z-index: -1;
}

.contact-shell {
  width: min(94vw, 940px);
  padding: clamp(0.6rem, 1.6vw, 1.2rem);
  text-align: center;
}

.contact-logo {
  margin: 0 auto 0.7rem;
}

.contact-shell h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.03em;
}

.contact-copy {
  margin: 0.2rem 0 1rem;
  color: var(--text-dim);
  font-size: clamp(1.15rem, 2.1vw, 1.35rem);
}

form {
  display: grid;
  gap: 0.62rem;
  text-align: left;
  width: min(92vw, 760px);
  margin: 0.8rem auto 0;
}

label,
legend {
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.025em;
}

input,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: var(--font-main);
  font-weight: 700;
  padding: 0.76rem 0.85rem;
  font-size: 1.02rem;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input::placeholder,
textarea::placeholder {
  font-family: var(--font-main);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.62);
}

input:focus,
textarea:focus {
  border-color: var(--line-focus);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}

.recipient-box {
  margin: 0.5rem 0 0.2rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem 0.8rem 0.75rem;
}

.recipient-box label {
  display: block;
  margin-top: 0.38rem;
  cursor: pointer;
}

.recipient-box input[type="checkbox"] {
  width: auto;
  margin-right: 0.45rem;
  accent-color: #ffffff;
}

button {
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--font-main);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.7rem 0.95rem;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

button:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.2);
}

.contact .back-link {
  margin: 1rem auto 0;
}

.page-contact .contact-shell {
  height: 100%;
  max-height: calc(100dvh - 20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: clamp(0.45rem, 1.1vw, 0.9rem);
}

.page-contact .contact-logo {
  max-height: 11dvh;
  width: clamp(130px, 15vw, 210px);
  margin-bottom: 0.25rem;
}

.page-contact .contact-shell h2 {
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
}

.page-contact .contact-copy {
  margin: 0;
  font-size: clamp(0.95rem, 1.45vw, 1.1rem);
}

.page-contact form {
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.page-contact label,
.page-contact legend {
  font-size: 0.95rem;
}

.page-contact input,
.page-contact textarea {
  padding: 0.52rem 0.72rem;
  font-size: 0.95rem;
}

.page-contact textarea {
  min-height: 86px;
  max-height: 104px;
  resize: none;
}

.page-contact .recipient-box {
  margin: 0.2rem 0 0.05rem;
  padding: 0.42rem 0.65rem 0.52rem;
}

.page-contact .recipient-box label {
  margin-top: 0.2rem;
}

.page-contact button {
  margin-top: 0.15rem;
  font-size: 1.12rem;
  padding: 0.5rem 0.75rem;
}

.page-contact .contact .back-link {
  margin-top: 0.45rem;
  font-size: clamp(1rem, 1.55vw, 1.25rem);
}

.thanks-card {
  width: min(92vw, 760px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.46);
  padding: clamp(1.2rem, 3.4vw, 2.2rem);
  text-align: center;
}

.page-press .press.section {
  min-height: 100dvh;
  padding: clamp(14px, 2vw, 26px);
}

.press-shell {
  width: min(96vw, 1220px);
 
  border-radius: 16px;
  
  
  padding: clamp(0.8rem, 2vw, 1.4rem);
}

.gallery-card {
  margin-top: 0.7rem;
 
 
  padding: clamp(0.65rem, 1.4vw, 0.95rem);
}

.pdf-actions,
.gallery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
      justify-content: center;
}

.action-link,
.page-press button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.42rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: background 160ms ease, transform 160ms ease;
  text-transform: uppercase;
}

.action-link:hover,
.page-press button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.pdf-download {
  width: 30%;
}

.gallery-grid {
  margin-top: 0.65rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}

.gallery-item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  position: relative;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.thumb-icon {
  position: absolute;
  top: 6px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  z-index: 2;
  user-select: none;
}

.thumb-icon span {
  font-size: 18px;
  line-height: 1;
}

.thumb-download {
  left: 6px;
}

.thumb-check {
  right: 6px;
}

.thumb-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.thumb-check input[type="checkbox"]:checked + span {
  color: #9dff94;
}

.gallery-actions {
  justify-content: flex-end;
  margin-top: 0.35rem;
}

.empty-copy {
  margin: 0.25rem 0 0;
  color: var(--text-dim);
}

.page-press .back-link {
  margin-top: 0.7rem;
      width: 100%;
}

@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.anim-fade {
  opacity: 0;
  animation: fade-in 540ms ease forwards;
}

.delay-1 { animation-delay: 90ms; }
.delay-2 { animation-delay: 170ms; }
.delay-3 { animation-delay: 250ms; }
.delay-4 { animation-delay: 330ms; }

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .contact-shell,
  .thanks-card {
    border-radius: 12px;
  }

  .page-home .hero {
    padding: 8px 10px;
  }

  .page-home .hero-inner {
    width: 100%;
    max-height: 100dvh;
    justify-content: center;
    gap: 6px;
  }

  .page-home .art-stack {
    width: min(88vw, 430px);
    max-height: 52dvh;
    margin-top: clamp(24px, 4.6vh, 48px);
  }

  .page-home .art-stack .medallion {
    max-height: 52dvh;
  }

  .page-home .art-stack .logo {
    width: min(60vw, 280px);
    max-height: 18dvh;
    transform: translate(-50%, -48%);
  }

  .page-home .hero-title {
    bottom: clamp(44px, 8.8vh, 78px);
    font-size: clamp(2rem, 8.1vw, 2.55rem);
    width: min(96%, 360px);
  }

  .page-home .subheadline {
    margin-top: -30px;
    font-size: clamp(1.35rem, 6.2vw, 1.75rem);
  }

  .page-home .contact-link {
    margin-top: 10px;
    font-size: clamp(1.1rem, 7vw, 2.25rem);
  }

  .page-home .contact-link img {
    width: clamp(28px, 8vw, 38px);
  }

  .page-contact .contact.section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .page-contact .contact-shell {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .page-contact form {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .page-contact .recipient-box {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-press .press-shell {
    width: 100%;
    max-width: 100%;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }

  .page-press .contact-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .page-press .pdf-actions,
  .page-press .gallery-actions {
    justify-content: center;
  }

  .page-press .pdf-download {
    width: 100%;
    max-width: 430px;
    text-align: center;
    line-height: 1.2;
    white-space: normal;
  }

  .page-press form {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-height: 900px) {
  .logo {
    max-height: 15dvh;
  }

  .medallion {
    max-height: 38dvh;
  }
}

@media (max-height: 760px) {
  .logo {
    max-height: 13dvh;
  }

  .medallion {
    max-height: 34dvh;
  }

  .headline {
    font-size: clamp(1.4rem, 3.3vw, 2.5rem);
  }

  .subheadline {
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  }
}

@media (max-height: 820px) {
  .page-contact .contact-logo {
    max-height: 8.5dvh;
  }

  .page-contact .contact-shell h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  }

  .page-contact .contact-copy {
    font-size: 0.9rem;
  }

  .page-contact input,
  .page-contact textarea {
    padding: 0.45rem 0.62rem;
    font-size: 0.9rem;
  }

  .page-contact textarea {
    min-height: 74px;
    max-height: 90px;
  }
}

@media (min-width: 601px) {
  .page-contact .contact-shell h2 {
    font-size: clamp(1.85rem, 2.6vw, 2.5rem);
    line-height: 1.05;
    letter-spacing: 0.018em;
  }

  .page-contact .contact-copy {
    font-size: clamp(1.02rem, 1.25vw, 1.18rem);
    line-height: 1.22;
    letter-spacing: 0.012em;
  }

  .page-contact label,
  .page-contact legend {
    font-size: 1.06rem;
    line-height: 1.2;
    letter-spacing: 0.012em;
  }

  .page-contact input,
  .page-contact textarea {
    font-size: 1.06rem;
    line-height: 1.3;
    letter-spacing: 0.01em;
    padding: 0.64rem 0.78rem;
  }

  .page-contact textarea {
    min-height: 96px;
    max-height: 130px;
    line-height: 1.32;
  }

  .page-contact input::placeholder,
  .page-contact textarea::placeholder {
    font-size: 0.98rem;
    letter-spacing: 0.01em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .anim-fade {
    opacity: 1;
    transform: none;
    animation: none;
  }

  * {
    transition: none !important;
  }
}
