/*
  Manfred Honeck Onepager
  ----------------------
*/
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-v40-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-v40-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-v24-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-v24-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-v24-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-v24-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --violet: #6e2047;
  --white: #ffffff;
  --beige: #dccdae;
  --ink: #111111;
  --hero-dark: #06212a;

  --container: 1400px;
  --gutter: clamp(22px, 4vw, 64px);
  --section-space: clamp(76px, 8vw, 132px);
  --radius-pill: 999px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.46;
  color: var(--violet);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--violet);
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section-space); }
.section--violet { background: var(--violet); color: var(--beige); }
.section--white { background: var(--white); color: var(--violet); }
.section--beige { background: var(--beige); color: var(--violet); }

.section-title,
.hero__title {
  margin: 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5vw, 60px);
  line-height: .92;
  font-weight: 700;
  letter-spacing: -.025em;
}
.hero__title {
  font-size: clamp(55px, 5.75vw, 69px);
}
.section-title--beige { color: var(--beige); }
.section-title--violet { color: var(--violet); }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 13px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .28s var(--ease), background-color .28s ease, color .28s ease, border-color .28s ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }

.button--violet { background: var(--violet); color: var(--beige); }
.button--beige { background: var(--beige); color: var(--violet); }
.button--outline { background: transparent; color: var(--violet); border-color: var(--violet); }
.button--outline:hover { background: var(--violet); color: var(--white); }

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  color: var(--beige);
  background: var(--hero-dark);
}

.hero__background {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(2,18,24,.18) 0%, rgba(2,18,24,.03) 55%, rgba(2,18,24,.35) 100%),
    url("../images/manfred_honecker_hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  animation: heroZoom 12s ease-out both;
}

.hero__inner {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(360px, .75fr);
  justify-content: space-between;
  align-items: start;
  gap: clamp(48px, 8vw, 160px);
  padding-block: 40px clamp(54px, 8vh, 100px);
}

.hero__title {
  align-self: start;
  max-width: 420px;
  color: var(--beige);
  text-shadow: 0 3px 26px rgba(0,0,0,.15);
}

.hero__side {
  min-height: calc(100svh - 80px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hero__side .button { margin-left: auto; }

.hero-quote {
  width: min(100%, 560px);
  margin: auto 0 0;
  padding-bottom: clamp(24px, 5vh, 66px);
  text-align: left;
}

.hero-quote p {
  margin: 0 0 24px;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -.02em;
}

.hero-quote footer { font-size: 15px; line-height: 1.3; }
.hero-quote footer strong { font-weight: 700; }
.hero-quote footer span { font-weight: 400; }

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1.02); }
}

/* QUOTES */
.quotes__grid {
  display: grid;
  grid-template-columns: minmax(220px, .45fr) minmax(0, 1.55fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

.quotes__stage { min-width: 0; position: relative; }

.quotes__toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--beige);
}

.slider-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color .25s ease, transform .25s ease;
}
.slider-button:hover { background: rgba(255,255,255,.08); transform: translateY(-1px); }
.slider-button:focus-visible { outline: 2px solid var(--beige); outline-offset: 2px; }

.quotes__counter { min-width: 48px; text-align: center; font-size: 17px; font-weight: 600; }

.quotes__viewport { overflow: hidden; touch-action: pan-y; cursor: grab; }
.quotes__viewport:active { cursor: grabbing; }
.quotes__track { display: flex; transition: transform .7s var(--ease); will-change: transform; }
.quote-slide { flex: 0 0 100%; min-width: 0; }
.quote-slide blockquote { margin: 0; }
.quote-slide p { margin: 0; font-size: 20px; line-height: 1.5; font-weight: 500; }
.quote-slide footer { margin-top: 26px; text-align: right; font-size: 15px; line-height: 1.3; }
.quote-slide footer strong { font-weight: 700; }
.quote-slide footer span { font-weight: 400; }

/* VITA */
.vita__grid {
  display: grid;
  grid-template-columns: minmax(340px, .85fr) minmax(420px, 1.15fr);
  gap: clamp(56px, 8vw, 140px);
  align-items: center;
}
.vita__media img { aspect-ratio: 4 / 5; object-fit: cover; }
.vita__downloads { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.vita__content .section-title { margin-bottom: 34px; }
.vita__content p { margin: 0 0 24px; font-size: 20px; }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .55s var(--ease), opacity .35s ease;
}
.accordion__panel-inner { overflow: hidden; }
.accordion.is-open .accordion__panel { grid-template-rows: 1fr; opacity: 1; }
.accordion__button { margin-top: 10px; }
.accordion__icon { transition: transform .4s var(--ease); }
.accordion.is-open .accordion__icon { transform: rotate(180deg); }

/* MEDIA */
.media__container { position: relative; }
.media__container > .section-title { margin-bottom: 46px; }
.media-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(96px, 8vw);
  gap: 12px;
}

.media-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: #10272b;
}
.media-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .35s ease; }
.media-card:hover img { transform: scale(1.025); filter: brightness(1.03); }
.media-card__download {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--beige);
  filter: drop-shadow(0 2px 5px rgba(0,0,0,.35));
  transition: transform .25s ease;
}
.media-card:hover .media-card__download { transform: translateY(-3px); }

.media-card--a { grid-column: 1 / span 4; grid-row: 3 / span 5; }
.media-card--b { grid-column: 5 / span 4; grid-row: 1 / span 4; }
.media-card--c { grid-column: 9 / span 4; grid-row: 2 / span 3; }
.media-card--d { grid-column: 5 / span 5; grid-row: 5 / span 3; }
.media-card--e { grid-column: 10 / span 3; grid-row: 5 / span 5; }

.media__note { margin: 40px 0 0; max-width: 700px; color: var(--violet); font-size: 17px; line-height: 1.45; }

/* PRESS */
.press__container > .section-title { margin-bottom: 34px; }
.press__downloads { display: flex; flex-wrap: wrap; gap: 14px; }

section.press.section.section--beige {
  padding-top: 0;
}
/* CONTACT */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(420px, .85fr);
  gap: clamp(56px, 9vw, 150px);
  align-items: start;
}
.contact__intro .section-title { margin-bottom: 32px; }
.contact__details { font-style: normal; font-size: 18px; line-height: 1.48; color: var(--beige); }
.contact__details p { margin: 0 0 28px; }
.contact__details strong { font-weight: 600; }
.contact__details a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact__details a:hover { text-decoration-style: double; }

/* REVEAL / MOTION */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .9s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal--left { transform: translateX(-26px); }
.reveal--right { transform: translateX(26px); }
.reveal--down { transform: translateY(-20px); }
.reveal--up { transform: translateY(28px) scale(.992); }
.reveal.is-visible { opacity: 1; transform: none; }

.footer-mh{
  text-align: center;
  font-size: 14px;
  background-color: var(--beige);
}
.footer-mh p{
  margin: 0;
  padding: 20px 0;
}
.social-links{
  margin-top: 40px;
  display: flex;
  gap: 10px;
}
.social-links img{
  width: 30px;

}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .quotes__grid,
  .vita__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .quotes__grid { gap: 42px; }
  .quotes__toolbar { margin-top: -72px; }
  .vita__media { max-width: 660px; }
  .contact__details { max-width: 620px; }
}

@media (max-width: 760px) {
  body { font-size: 18px; }
  .hero { min-height: 860px; }
  .hero__background {
    background-position: 42% center;
    opacity: .88;
  }
  .hero__inner {
    min-height: 860px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    padding-top: 28px;
  }
  .hero__title { max-width: 260px; }
  .hero__side {
    min-height: auto;
    height: 100%;
    margin-top: -90px;
  }
  .hero-quote {
    width: 100%;
    max-width: 520px;
    margin-top: auto;
    padding: 0 0 34px;
    background: linear-gradient(180deg, rgba(4,24,31,0), rgba(4,24,31,.58));
  }
  .hero-quote p { font-size: 24px; }

  .quotes__toolbar { margin-top: 0; }
  .quote-slide p, .vita__content p { font-size: 18px; }

  .media-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 10px;
  }
  .media-card { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4 / 5; }
  .media-card--c, .media-card--d { aspect-ratio: 4 / 3; }
  .media-card--e { grid-column: 1 / -1 !important; aspect-ratio: 16 / 9; }

  .button { font-size: 16px; min-height: 50px; padding-inline: 20px; }
}

@media (max-width: 480px) {
  :root { --gutter: 20px; }
  .section-title, .hero__title { font-size: 46px; }
  .hero__side .button { padding-inline: 18px; }
  .hero-quote p { font-size: 22px; }
  .vita__downloads { flex-direction: column; align-items: stretch; }
  .vita__downloads .button { width: 100%; }
  .press__downloads { flex-direction: column; align-items: stretch; }
  .press__downloads .button { width: 100%; }
  .media-grid { grid-template-columns: 1fr; }
  .media-card, .media-card--c, .media-card--d, .media-card--e { grid-column: auto !important; aspect-ratio: 4 / 5; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
