/* Pál Krisztina – integrál tanácsadó */

:root {
  --cream: #f5f2ee;
  --cream-deep: #ece7e0;
  --white: #fffcf8;
  --ink: #3c4030;
  --ink-soft: #454836;
  --sage: #6c7054;
  --sage-hover: #5a5e46;
  --peach: #d8b09c;
  --tan: #c5c4bb;
  --muted: #6b6d5d;
  --line: #e3dfd9;
  --shadow-sm: 0 1px 3px rgba(60, 64, 48, 0.07);
  --shadow-md: 0 8px 28px rgba(60, 64, 48, 0.09);
  --radius: 10px;
  --radius-pill: 999px;
  --container: 1120px;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

p {
  font-size: 1.2rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.header > .container {
  padding-left: 24px;
}

.hero__title,
.section-title,
.page-hero__title,
.work-card__title,
.audience-card__title,
.footer__brand-text strong,
.logo__name,
.success-panel .section-title {
  font-family: var(--font-display);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn--primary {
  background: var(--sage);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--sage-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(108, 112, 84, 0.28);
}

.btn--secondary {
  background: transparent;
  color: var(--sage);
  border: 1.5px solid var(--sage);
}

.btn--secondary:hover {
  background: var(--sage);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1.2rem;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.text-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color 0.2s;
}

.text-link:hover {
  color: var(--ink);
}

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-header--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-lead {
  margin: 14px auto 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.275rem;
}

.section-header--left .section-lead {
  margin-left: 0;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 242, 238, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__img {
  width: 62.4px;
  height: 62.4px;
  object-fit: contain;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__name {
  font-size: 1.26rem;
  font-weight: 600;
  color: var(--ink);
}

.logo__role {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  gap: 22px;
}

.nav__link {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--sage);
}

.nav__link--adatkezeles,
a.nav__link--adatkezeles {
  display: none;
}

.header__cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 78vh, 780px);
  padding: 72px 0 80px;
  overflow: hidden;
  background: var(--cream);
}

.hero__picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(245, 242, 238, 0.55) 0%,
    rgba(245, 242, 238, 0.28) 38%,
    rgba(245, 242, 238, 0) 62%
  );
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 520px;
}

.hero__title {
  font-size: clamp(2.6rem, 6vw, 3.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.hero__role {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--sage);
  letter-spacing: 0.04em;
}

.hero__rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--peach);
  margin: 18px 0 22px;
  border-radius: 2px;
}

.hero__belief {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.44rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 16px;
}

.hero__lead {
  max-width: 28em;
  margin-bottom: 32px;
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.hero__note {
  font-size: 1rem;
  font-weight: 500;
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}

.hero__note:hover {
  color: var(--ink);
}

/* About */

.about {
  padding: 96px 0;
  background: var(--white);
}

.about--teaser {
  padding: 80px 0;
  background: var(--cream);
}

.about--teaser .about__lead {
  margin-bottom: 28px;
}

.about--page {
  padding: 8px 0 48px;
}

.about--page-end {
  padding: 48px 0 96px;
}

.about-studies {
  padding: 3rem 0;
  background: var(--cream-deep);
}

.about-studies .about__content {
  max-width: var(--container);
}

.about-studies .about__split {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
}

.about-studies .about__split-photo {
  width: 280px;
  max-width: 100%;
  margin-left: 0;
  justify-self: start;
}

.about-intro {
  padding: 48px 0 28px;
  background: var(--white);
}

.about-intro__inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.about-intro .profile__photo {
  flex: 0 0 280px;
  width: 280px;
  max-width: 42%;
  margin: 0;
}

.about-intro__text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.about-intro .page-hero__title {
  margin-bottom: 10px;
}

.about-intro .about__lead {
  margin: 0;
  text-align: left;
}

.about-intro__bio {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 1.275rem;
  line-height: 1.7;
}

.about-intro .about__quote-kicker {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1.275rem;
  line-height: 1.7;
}

.about-intro .about__quote {
  margin: 8px 0 0;
  max-width: none;
  text-align: left;
}

.profile__photo {
  width: 220px;
  margin: 0 auto 32px;
  border-radius: 20px 80px 20px 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.page-about .profile__photo img {
  width: 100%;
  max-width: none;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center 28%;
}

.about__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about--page .about__content {
  max-width: var(--container);
}

.about__lead {
  font-size: 1.425rem;
  line-height: 1.7;
  margin: 18px 0 16px;
  color: var(--ink);
}

.about__quote {
  margin: 22px auto 8px;
  max-width: 38em;
}

.about__content p {
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 1.275rem;
}

.container.about__content > p {
  text-align: left;
}

.about__content p.about__lead {
  font-size: 1.425rem;
  color: var(--ink);
}

.about__quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.44rem;
  line-height: 1.55;
  color: var(--ink);
}

.about__sub {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 28px 0 14px;
  color: var(--ink);
}

.about__studies {
  text-align: left;
  max-width: 36em;
  margin: 0 auto 20px;
}

.about__studies li {
  display: grid;
  grid-template-columns: 7.2em 1fr;
  gap: 10px 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.about__studies span {
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.about__note {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 8px 0 28px;
}

.about__content p.about__note {
  font-size: 1.125rem;
}

/* Fit */

.fit {
  padding: 96px 0;
  background: var(--cream);
}

/* Work */

.work {
  padding: 96px 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.work__split {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 32px;
  margin-bottom: 48px;
  align-items: start;
}

.work__photo {
  margin: 0;
  border-radius: 20px 72px 20px 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.work__photo img {
  width: 100%;
  aspect-ratio: 1080 / 711;
  object-fit: cover;
  object-position: center;
}

.work-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.work-card--solo {
  max-width: none;
  margin: 0;
}

.work-card--group {
  background: #f8f5f0;
}

.work-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.work-card__desc {
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.work-card__list {
  margin-bottom: 0;
}

.work-card__list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.work-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 2px;
  background: var(--peach);
}

.work-prose {
  max-width: 760px;
  margin: 0 auto;
}

/* Themes */

.themes-section {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.themes-section .themes li {
  background: var(--cream);
}

.work-prose p {
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 1.275rem;
  line-height: 1.7;
}

.work-prose p:last-child {
  margin-bottom: 0;
}

.work-prose strong {
  font-weight: 700;
  color: var(--ink);
}

.themes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0;
}

.themes li {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--sage);
}

.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.audience-card {
  padding: 28px 26px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
}

.audience-card__title {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.audience-card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--ink-soft);
}

.audience-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 2px;
  background: var(--sage);
}

.audience-card--no ul li::before {
  background: var(--peach);
}

/* Groups */

.groups {
  padding: 96px 0;
  background: var(--white);
}

.groups .section-header {
  margin-bottom: unset;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  list-style: none;
  margin: 36px auto 0;
  padding: 0;
  max-width: 960px;
}

.gallery__item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--cream-deep);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.04);
}

.about__split {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  gap: 36px 48px;
  align-items: start;
  text-align: left;
  margin: 0;
}

.about__split-photo {
  margin: 0;
  border-radius: 20px 72px 20px 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about__split-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.about__split-text {
  text-align: center;
}

.about__split-text .about__sub {
  margin-top: 3rem;
  text-align: center;
}

.about__split-text .about__studies {
  margin-left: auto;
  margin-right: auto;
}

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 94vw;
  max-height: 94vh;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(40, 42, 32, 0.86);
}

.lightbox__img {
  display: block;
  max-width: min(88vw, 1200px);
  max-height: 84vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.lightbox__close,
.lightbox__nav {
  position: fixed;
  border: 0;
  background: rgba(255, 252, 248, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}

.lightbox__close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.7rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2rem;
}

.lightbox__nav--prev {
  left: 16px;
}

.lightbox__nav--next {
  right: 16px;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--white);
}

/* Contact */

.contact {
  padding: 96px 0 112px;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.contact__list {
  display: grid;
  gap: 18px;
  font-size: 1.2rem;
}

.contact__k {
  display: block;
  font-size: 0.864rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact__list a:hover {
  color: var(--sage);
}

/* Footer */

.footer {
  padding: 48px 0 28px;
  background: var(--ink);
  color: #e8e4dc;
}

.footer > .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px 48px;
}

.footer a {
  color: #e8e4dc;
}

.footer a:hover {
  color: var(--peach);
}

.footer__brand {
  flex: 1 1 340px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__logo {
  width: 67.2px;
  height: 67.2px;
  margin-left: -19px;
  object-fit: contain;
  filter: invert(1) sepia(0.15) brightness(1.2);
}

.footer__brand-text {
  font-size: 1.14rem;
  line-height: 1.55;
  color: #cfcabe;
}

.footer__brand-text strong {
  color: var(--white);
  font-size: 1.1rem;
}

.footer__nav {
  flex: 1 1 340px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: flex-start;
  gap: 12px 22px;
  font-size: 0.9rem;
}

.footer__bottom {
  flex: 0 0 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  color: #b7b3a8;
}

.footer__bottom-end {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px 20px;
  margin-left: auto;
}

.footer__sitebuild {
  color: #b7b3a8;
}

/* Legal / success */

.page-hero {
  padding: 64px 0 24px;
  background: var(--white);
}

.page-hero__title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}

.page-hero__desc {
  max-width: 40em;
  color: var(--muted);
}

.section-legal {
  padding: 24px 0 96px;
  background: var(--white);
}

.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 28px 0 10px;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.legal-content ul {
  padding-left: 1.1em;
  list-style: disc;
}

.legal-content a {
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content__back {
  margin-top: 36px;
}

.section-success {
  padding: 96px 0 120px;
  background: var(--white);
}

/* Soon */

.page-soon {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-soon main {
  flex: 1;
}

.header--soon .header__inner {
  justify-content: flex-start;
}

.hero--soon {
  min-height: 0;
  flex: 1;
  padding-bottom: 64px;
}

.hero--soon .hero__picture {
  inset: 0 auto 0 0;
  width: min(62%, 720px);
}

.hero--soon .hero__bg {
  object-position: left center;
}

.soon__content {
  max-width: 36em;
}

.soon__kicker {
  margin-bottom: 12px;
  font-size: 0.864rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 700;
}

.soon__contact {
  margin-top: 24px;
}

.footer--soon > .container {
  flex-direction: column;
  align-items: stretch;
}

.footer__bottom--soon {
  width: 100%;
  margin-top: 8px;
}

.success-panel {
  max-width: 560px;
  text-align: center;
}

.success-message {
  margin: 16px 0 28px;
  color: var(--ink-soft);
  font-size: 1.35rem;
}

.nav__link--active {
  color: var(--sage);
}

/* Events */

.events-list {
  padding: 8px 0 72px;
  background: var(--cream);
}

.events-list--past {
  padding-bottom: 112px;
}

.events-list__heading {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.events-list__note {
  max-width: 40em;
  color: var(--muted);
  margin-bottom: 8px;
}

.event-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-width: 760px;
}

.event-card + .event-card {
  margin-top: 28px;
}

.event-card--past .event-card__cover img {
  filter: grayscale(0.08);
}

.event-card__cover {
  display: block;
  position: relative;
  background: var(--cream-deep);
}

.event-card__cover img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.event-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(60, 64, 48, 0.78);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-card__body {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px 18px;
  padding: 22px 24px 26px;
}

.event-card__date {
  text-align: center;
  padding-top: 4px;
}

.event-card__month {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--sage);
}

.event-card__day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
}

.event-card__kicker {
  font-size: 0.936rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 4px;
}

.event-card__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 6px;
}

.event-card__slogan {
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.event-card__meta {
  margin-bottom: 14px;
}

.event-card__meta li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.95rem;
}

.event-card__meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 2px;
  background: var(--peach);
}

.event-card__excerpt {
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.65;
}

.event-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.page-hero a {
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mobile nav */

@media (max-width: 900px) {
  .header__cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px 0 16px;
  }

  .nav--open {
    display: flex;
  }

  .nav__link {
    padding: 12px 24px;
  }

  .work__split,
  .audience,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .work__photo {
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    min-height: 0;
    padding: 36px 0 0;
  }

  .hero::before {
    display: none;
  }

  .hero__picture {
    position: relative;
    order: 2;
    height: 420px;
    margin-top: 28px;
  }

  .hero__bg {
    object-position: center 18%;
  }

  .hero .container {
    order: 1;
  }

  .hero__content {
    max-width: none;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .about__studies li {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 10px 0;
  }

  .about,
  .fit,
  .work,
  .themes-section,
  .groups,
  .contact {
    padding: 64px 0;
  }

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

  .lightbox__nav--prev {
    left: 8px;
  }

  .lightbox__nav--next {
    right: 8px;
  }

  .about--page {
    padding-top: 16px;
  }

  .about--page-end {
    padding: 40px 0 64px;
  }

  .about-intro__inner {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .about-intro .profile__photo {
    width: 220px;
    max-width: 70%;
    flex: none;
  }

  .about-intro__text,
  .about-intro .about__lead,
  .about-intro__bio,
  .about-intro .about__quote-kicker,
  .about-intro .about__quote {
    text-align: center;
  }

  .about__split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about__split-photo {
    max-width: 280px;
    margin: 0 auto;
  }

  .logo__role {
    display: none;
  }

  .event-card__body {
    grid-template-columns: 56px 1fr;
    padding: 18px 16px 22px;
  }

  .footer__nav {
    justify-content: flex-start;
  }
}
