@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable-LatinExt.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable-Latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  font-style: normal;
  font-weight: 100 900;
  size-adjust: 106.315%;
  ascent-override: 91.121%;
  descent-override: 22.688%;
  line-gap-override: 0%;
}

:root {
  --green: #62a25d;
  --green-dark: #447a40;
  --orange: #df682d;
  --navy: #191769;
  --yellow: #ffc924;
  --pink: #fdcbdf;
  --blue: #138eff;
  --berry: #b84f8d;
  --paper: #f6f8ef;
  --white: #ffffff;
  --black: #0f1015;
  --muted: #5b5d65;
  --line: rgba(25, 23, 105, 0.18);
  --shadow: 0 18px 55px rgba(25, 23, 105, 0.12);
  --content: 1180px;
  --header-height: 104px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--black);
  font-family: "Inter", "Inter Fallback", Arial, Helvetica, sans-serif;
  font-feature-settings: "liga" 1, "calt" 1;
  font-size: 18px;
  line-height: 1.45;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

.dt-responsive-picture {
  display: contents;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h1,
h2 {
  font-weight: 800;
}

p,
li {
  text-wrap: pretty;
}

[hidden] {
  display: none !important;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 28px);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  background: var(--navy);
  color: var(--paper);
}

.site-header__inner {
  display: flex;
  align-items: center;
  width: min(var(--content), calc(100% - 40px));
  min-height: var(--header-height);
  margin: 0 auto;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--yellow);
  font-size: 19px;
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.wordmark__logo {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.main-nav a {
  display: grid;
  min-height: 54px;
  padding: 0 20px;
  place-items: center;
  border-radius: 16px;
  background: var(--paper);
  color: var(--black);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.main-nav a:hover {
  transform: translateY(-2px);
  background: var(--white);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.menu-toggle__label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  display: block;
  width: 27px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle__icon {
  position: relative;
  margin-left: 11px;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-toggle__icon::before {
  top: -8px;
}

.menu-toggle__icon::after {
  top: 8px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  transform: translateY(-8px) rotate(-45deg);
}

main {
  min-height: 70vh;
}

.site-page {
  width: min(var(--content), 100%);
  margin: 0 auto;
  overflow: clip;
  background: var(--white);
}

.section-block {
  padding: clamp(72px, 8vw, 128px) clamp(24px, 6vw, 82px);
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 890px;
  margin-bottom: clamp(44px, 6vw, 78px);
}

.section-heading h2 {
  max-width: 850px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(48px, 7vw, 94px);
}

.section-heading > p:last-child {
  max-width: 790px;
  margin-bottom: 0;
  font-size: clamp(18px, 2.1vw, 25px);
}

.section-heading--light h2,
.section-heading--light {
  color: var(--paper);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 25px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(15, 16, 21, 0.18);
}

.button--large {
  min-width: min(100%, 320px);
  min-height: 62px;
  padding-inline: 34px;
  font-size: 16px;
}

.button--navy {
  background: var(--navy);
  color: var(--paper);
}

.button--yellow {
  background: var(--yellow);
  color: var(--navy);
}

.button--paper {
  background: var(--paper);
  color: var(--navy);
}

.hero {
  display: grid;
  min-height: 700px;
  grid-template-areas:
    "one brand two"
    "yellow three orange";
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: 1.1fr 0.9fr;
  background: var(--navy);
}

.hero > * {
  min-width: 0;
  margin: 0;
}

.hero img,
.welcome img,
.page-hero img,
.belief-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .hero__logo {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.hero__photo {
  overflow: hidden;
}

.hero__photo--one {
  grid-area: one;
}

.hero__photo--one img {
  object-position: 45% center;
}

.hero__photo--two {
  grid-area: two;
}

.hero__photo--three {
  grid-area: three;
}

.hero__photo--three img {
  object-position: center 35%;
}

.hero__brand {
  display: grid;
  grid-area: brand;
  align-content: center;
  justify-items: center;
  padding: 28px;
  background: var(--navy);
  color: var(--yellow);
  text-align: center;
}

.hero__brand h1 {
  max-width: 100%;
  margin: 18px 0 0;
  font-size: clamp(38px, 3.5vw, 48px);
}

.hero__claim {
  display: grid;
  padding: 28px;
  place-items: center;
  color: var(--white);
  font-size: clamp(30px, 3.25vw, 47px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-align: center;
}

.hero__claim--yellow {
  grid-area: yellow;
  background: var(--yellow);
}

.hero__claim--orange {
  grid-area: orange;
  background: var(--orange);
}

.welcome {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  padding: 0;
  background: var(--green);
}

.welcome__copy {
  display: flex;
  min-height: 700px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(62px, 8vw, 110px);
}

.welcome__copy h2 {
  margin-bottom: 38px;
  font-size: clamp(58px, 7vw, 104px);
}

.welcome__copy h2 span {
  display: block;
  font-size: 0.58em;
}

.welcome__copy h2 strong {
  display: block;
  color: var(--paper);
  font-size: 0.54em;
  font-weight: 700;
}

.welcome__body {
  max-width: 590px;
}

.welcome__body p {
  margin-bottom: 22px;
  font-size: clamp(18px, 2vw, 23px);
}

.welcome__body .signature {
  margin-top: 40px;
  margin-bottom: 0;
  font-weight: 800;
}

.welcome__contacts {
  display: flex;
  max-width: 390px;
  align-items: flex-start;
  flex-direction: column;
  margin-top: 20px;
  gap: 14px;
}

.welcome__email {
  color: var(--paper);
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.welcome__group-link {
  max-width: 100%;
  padding-inline: 22px;
  font-size: 13px;
}

.welcome__photo {
  min-height: 700px;
  margin: 0;
}

.welcome__photo img {
  object-position: 48% center;
}

.audience {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(390px, 1.5fr) minmax(250px, 1fr);
  padding: 0;
  background: var(--paper);
}

.feature-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(32px, 4vw, 52px);
}

.feature-card__number {
  margin-bottom: auto;
  font-size: 14px;
  font-weight: 800;
}

.feature-card h3 {
  margin: 50px 0 18px;
  overflow-wrap: break-word;
  font-size: clamp(32px, 3vw, 44px);
  hyphens: auto;
}

.feature-card p {
  margin-bottom: 0;
  font-size: clamp(17px, 1.7vw, 21px);
}

.feature-card--yellow {
  background: var(--yellow);
  color: var(--navy);
}

.feature-card--pink {
  background: var(--pink);
  color: var(--navy);
}

.feature-card--navy {
  background: var(--navy);
  color: var(--paper);
}

.audience__main {
  display: flex;
  min-height: 720px;
  grid-row: span 2;
  flex-direction: column;
  justify-content: center;
  padding: clamp(50px, 5vw, 65px);
}

.audience__main h2 {
  margin-bottom: 25px;
  color: var(--navy);
  font-size: clamp(58px, 7vw, 94px);
}

.audience__lead {
  max-width: 610px;
  margin-bottom: 30px;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
}

.check-list {
  display: grid;
  margin: 0 0 45px;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.steps {
  background: var(--white);
}

.steps__grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: 14px;
  list-style: none;
}

.steps__grid li {
  display: grid;
  min-width: 0;
  min-height: 440px;
  height: 100%;
  grid-template-rows: 46px 100px 1fr;
  align-content: start;
  padding: 30px 22px 38px;
  border: 2px solid var(--navy);
  border-radius: 24px;
  row-gap: 20px;
}

.steps__grid li > * {
  min-width: 0;
  max-width: 100%;
}

.steps__grid li:nth-child(1),
.steps__grid li:nth-child(4) {
  background: var(--yellow);
}

.steps__grid li:nth-child(2),
.steps__grid li:nth-child(5) {
  background: var(--paper);
}

.steps__grid li:nth-child(3) {
  background: var(--pink);
}

.steps__grid span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  font-weight: 900;
}

.steps__grid h3 {
  margin: 0;
  color: var(--navy);
  overflow-wrap: normal;
  font-size: clamp(21px, 1.65vw, 25px);
  hyphens: none;
  line-height: 1;
}

.steps__grid p {
  align-self: start;
  margin: 0;
  overflow-wrap: normal;
  font-size: 16px;
  hyphens: none;
  line-height: 1.35;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

.beliefs {
  background: var(--navy);
  color: var(--paper);
}

.beliefs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.belief-card {
  overflow: hidden;
  border-radius: 28px;
  color: var(--navy);
}

.belief-card img {
  aspect-ratio: 4 / 3;
}

.belief-card > div {
  padding: 34px;
}

.belief-card h3 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3vw, 43px);
}

.belief-card p {
  margin-bottom: 0;
}

.belief-card--yellow {
  background: var(--yellow);
}

.belief-card--blue {
  background: var(--blue);
}

.belief-card--green {
  background: var(--green);
}

.numbers {
  background: var(--berry);
  color: var(--navy);
}

.numbers .section-heading h2 {
  color: var(--navy);
}

.numbers__grid {
  display: grid;
  margin-bottom: 40px;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.numbers__grid article {
  padding-top: 28px;
  border-top: 3px solid var(--navy);
}

.numbers__grid strong {
  display: block;
  margin-bottom: 22px;
  color: var(--paper);
  font-size: clamp(58px, 5.2vw, 76px);
  font-variant-numeric: tabular-nums;
  line-height: 0.8;
  white-space: nowrap;
}

.numbers__grid h3 {
  min-height: 2.2em;
  margin-bottom: 17px;
  font-size: clamp(23px, 2.4vw, 32px);
}

.numbers__grid p {
  margin-bottom: 0;
  font-size: 16px;
}

.numbers__note {
  margin: 0 0 28px;
  font-size: 14px;
  font-weight: 800;
}

.home-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  background: var(--berry);
  color: var(--paper);
}

.home-cta h2 {
  margin: 0;
  font-size: clamp(64px, 8vw, 112px);
}

.home-cta__buttons {
  display: grid;
  flex: 0 0 min(380px, 100%);
  gap: 18px;
}

.page-hero {
  display: grid;
  min-height: 620px;
  grid-template-columns: 1.16fr 0.84fr;
}

.page-hero > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 9vw, 125px);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 34px;
  font-size: clamp(72px, 9vw, 136px);
}

.page-hero--compact {
  min-height: 520px;
  grid-template-columns: 1fr auto;
}

.page-hero--compact > div:first-child {
  padding-right: 40px;
}

.page-hero--compact h1 {
  font-size: clamp(68px, 8vw, 118px);
}

.founder-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(440px, 1.2fr);
  gap: clamp(40px, 7vw, 95px);
  background: var(--green);
  color: var(--paper);
}

.founder-story__heading {
  align-self: start;
}

.founder-story__heading h2 {
  margin-bottom: 28px;
  overflow-wrap: break-word;
  font-size: clamp(58px, 5.5vw, 80px);
  hyphens: auto;
}

.founder-story__photo {
  width: 100%;
  margin: 0 0 34px;
  overflow: hidden;
  border-radius: 28px;
}

.founder-story__photo img {
  width: 100%;
  aspect-ratio: 7 / 9;
  object-fit: cover;
}

.founder-story__lead {
  font-size: clamp(23px, 2.8vw, 36px);
}

.founder-story__lead strong,
.founder-story__body strong {
  color: var(--navy);
}

.founder-story__body {
  max-width: 730px;
}

.founder-story__body p {
  margin-bottom: 27px;
  font-size: clamp(18px, 1.75vw, 22px);
}

.founder-story__closing {
  margin-top: 52px;
  color: var(--navy);
  font-size: clamp(25px, 3vw, 39px) !important;
  font-weight: 800;
}

.founder-story__body .button {
  margin-top: 22px;
}

.team {
  background: var(--paper);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.team-card {
  min-height: 410px;
  padding: 36px;
  border-radius: 26px;
}

.team-card > span {
  font-size: 14px;
  font-weight: 900;
}

.team-card h3 {
  margin: 86px 0 14px;
  font-size: clamp(34px, 3.7vw, 52px);
}

.team-card__role {
  font-weight: 800;
}

.team-card--yellow {
  background: var(--yellow);
}

.team-card--pink {
  background: var(--pink);
}

.team-card--blue {
  background: var(--blue);
}

.recruitment {
  background: var(--white);
}

.recruitment__intro {
  max-width: 850px;
  margin-bottom: 70px;
}

.recruitment__intro h2 {
  margin-bottom: 28px;
  color: var(--navy);
  font-size: clamp(52px, 7vw, 92px);
}

.recruitment__intro > p:last-child {
  max-width: 650px;
  font-size: clamp(20px, 2vw, 26px);
}

.recruitment__roles {
  display: grid;
  gap: 28px;
}

.role-card {
  padding: clamp(32px, 5vw, 66px);
  border-radius: 34px;
}

.role-card--yellow {
  background: var(--yellow);
}

.role-card--green {
  background: var(--green);
}

.role-card__head {
  max-width: 850px;
  margin-bottom: 52px;
}

.role-card__head > p:first-child {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.role-card__head h3 {
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(45px, 6vw, 78px);
}

.role-card__head > p:last-child {
  font-size: clamp(18px, 2vw, 24px);
}

.role-card__columns,
.role-card__footer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 6vw, 72px);
}

.role-card__columns h4,
.role-card__footer h4 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 24px;
}

.role-card__columns ul {
  display: grid;
  margin: 0;
  padding-left: 22px;
  gap: 12px;
}

.role-card__footer {
  margin: 50px 0;
  padding-top: 42px;
  border-top: 2px solid rgba(25, 23, 105, 0.35);
}

.role-card__footer p {
  margin-bottom: 0;
}

.code {
  background: var(--navy);
  color: var(--paper);
}

.code__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.code__grid article {
  min-height: 330px;
  padding: 30px;
  border: 1px solid rgba(246, 248, 239, 0.35);
  border-radius: 24px;
}

.code__grid article:nth-child(4n + 1) {
  background: var(--yellow);
  color: var(--navy);
}

.code__grid article:nth-child(4n + 2) {
  background: var(--green);
  color: var(--navy);
}

.code__grid article:nth-child(4n + 3) {
  background: var(--pink);
  color: var(--navy);
}

.code__grid span {
  font-size: 14px;
  font-weight: 900;
}

.code__grid h3 {
  margin: 55px 0 18px;
  font-size: clamp(26px, 2.8vw, 37px);
}

.code__grid p {
  margin-bottom: 0;
  font-size: 16px;
}

.faq-group {
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 1fr);
  border-top: 3px solid var(--navy);
}

.faq-group > h2 {
  margin: 0;
  padding: 32px 42px 32px 0;
  color: var(--navy);
  overflow-wrap: break-word;
  font-size: clamp(34px, 3.2vw, 44px);
  hyphens: auto;
}

.faq-item {
  grid-column: 2;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.faq-item--key {
  background: var(--yellow);
}

.faq-item summary {
  position: relative;
  padding: 28px 78px 28px 30px;
  color: var(--navy);
  cursor: pointer;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.18;
  list-style: none;
}

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

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 28px;
  width: 38px;
  height: 38px;
  content: "+";
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 28px;
  font-weight: 500;
  line-height: 35px;
  text-align: center;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item > div {
  max-width: 850px;
  padding: 0 78px 30px 30px;
}

.faq-item > div p {
  margin-bottom: 15px;
}

.faq-item > div p:last-child {
  margin-bottom: 0;
}

.contacts {
  background: var(--navy);
  color: var(--paper);
}

.contacts .section-heading h2 {
  color: var(--paper);
}

.contact-card {
  display: flex;
  min-height: 400px;
  grid-column: span 2;
  flex-direction: column;
  padding: 30px;
  border: 1px solid rgba(246, 248, 239, 0.22);
  border-radius: 26px;
  background: rgba(246, 248, 239, 0.08);
}

.contact-card > span {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

.contact-card h3 {
  margin: 60px 0 20px;
  font-size: clamp(30px, 3vw, 42px);
}

.contact-card p {
  margin-bottom: 28px;
  font-size: 16px;
}

.contact-card__links {
  display: grid;
  margin-top: auto;
  gap: 8px;
}

.contact-card__links a {
  overflow-wrap: anywhere;
  color: var(--yellow);
  font-size: 15px;
  font-weight: 800;
}

.contact-card--newsletter,
.contact-card--recruitment {
  grid-column: span 3;
  min-height: 340px;
}

.contact-card--newsletter {
  background: var(--yellow);
  color: var(--navy);
}

.contact-card--newsletter > span {
  color: var(--navy);
}

.contact-card--recruitment {
  background: var(--green);
  color: var(--navy);
}

.contact-card > .button {
  align-self: flex-start;
  margin-top: auto;
}

.newsletter-page {
  background: var(--yellow);
  color: var(--navy);
}

.newsletter-form-shell {
  width: min(100%, 480px);
  min-height: 150px;
  flex: 0 1 480px;
  padding: 24px;
  border-radius: 26px;
  background: var(--paper);
  color: var(--navy);
  box-shadow: 0 18px 50px rgba(15, 16, 21, 0.18);
}

.newsletter-form-shell getresponse-form {
  display: block;
  width: 100%;
  min-height: 102px;
}

.site-footer {
  display: flex;
  width: min(var(--content), 100%);
  min-height: 90px;
  align-items: center;
  margin: 0 auto;
  padding: 22px clamp(24px, 6vw, 82px);
  gap: 22px;
  background: var(--black);
  color: var(--paper);
  font-size: 13px;
}

.site-footer p {
  margin: 0 auto 0 0;
}

.site-footer a {
  color: var(--yellow);
  font-weight: 800;
}

.site-footer a,
.site-footer a:hover,
.site-footer a:focus,
.site-footer a:focus-visible,
.site-footer a:active {
  text-decoration: none;
}

@media (max-width: 1100px) {
  :root {
    --header-height: 84px;
  }

  .site-header__inner {
    width: min(var(--content), calc(100% - 28px));
    gap: 14px;
  }

  .wordmark {
    font-size: 16px;
  }

  .wordmark__logo {
    width: 46px;
    height: 46px;
  }

  .main-nav ul {
    gap: 8px;
  }

  .main-nav a {
    min-height: 48px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .steps__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps__grid li {
    min-height: 390px;
    grid-template-rows: 46px 72px 1fr;
  }

  .numbers__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .code__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 74px;
  }

  body {
    font-size: 17px;
  }

  .site-header__inner {
    min-height: var(--header-height);
  }

  .menu-toggle {
    display: flex;
    align-items: center;
  }

  .main-nav {
    position: fixed;
    z-index: 99;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    transform: translateX(105%);
    background: var(--navy);
    transition: transform 220ms ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .main-nav ul {
    display: grid;
    padding: 28px 20px 70px;
    gap: 12px;
  }

  .main-nav a {
    min-height: 68px;
    padding: 14px 24px;
    border-radius: 20px;
    font-size: 18px;
  }

  .hero {
    min-height: 870px;
    grid-template-areas:
      "one brand"
      "yellow three"
      "two orange";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 260px 230px 380px;
  }

  .welcome,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .welcome__copy,
  .welcome__photo {
    min-height: auto;
  }

  .welcome__photo {
    height: 600px;
  }

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

  .audience__main {
    min-height: auto;
    grid-column: 1 / -1;
    grid-row: auto;
    order: -1;
  }

  .feature-card {
    min-height: 330px;
  }

  .beliefs__grid,
  .team__grid {
    grid-template-columns: 1fr;
  }

  .belief-card {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
  }

  .belief-card img {
    min-height: 100%;
    aspect-ratio: auto;
  }

  .home-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .newsletter-form-shell {
    width: 100%;
    flex-basis: auto;
  }

  .home-cta__buttons {
    width: 100%;
  }

  .page-hero {
    min-height: auto;
  }

  .page-hero > div:first-child {
    min-height: 520px;
  }

  .page-hero img {
    height: 560px;
  }

  .page-hero--compact {
    grid-template-columns: 1fr;
  }

  .page-hero--compact > div:first-child {
    padding-right: clamp(24px, 6vw, 82px);
  }

  .founder-story {
    grid-template-columns: 1fr;
  }

  .founder-story__heading {
    position: static;
  }

  .contact-card,
  .contact-card--newsletter,
  .contact-card--recruitment {
    grid-column: span 1;
  }

  .faq-group {
    grid-template-columns: 1fr;
  }

  .faq-group > h2,
  .faq-item {
    grid-column: 1;
  }

  .faq-group > h2 {
    padding-right: 0;
  }
}

@media (max-width: 660px) {
  .site-header__inner {
    width: calc(100% - 24px);
  }

  .section-block {
    padding: 68px 20px;
  }

  .wordmark__logo {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 740px;
    grid-template-areas:
      "one brand"
      "yellow three"
      "two orange";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 220px 220px 300px;
  }

  .hero__brand {
    padding: 18px 10px;
  }

  .hero__brand h1 {
    font-size: clamp(25px, 7vw, 32px);
  }

  .hero .hero__logo {
    width: 82px;
    height: 82px;
  }

  .hero__claim {
    padding: 18px 10px;
    font-size: clamp(22px, 7vw, 32px);
  }

  .welcome__copy {
    min-height: 620px;
    padding: 66px 22px;
  }

  .welcome__copy h2 {
    font-size: clamp(59px, 20vw, 86px);
  }

  .welcome__photo {
    height: 470px;
  }

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

  .audience__main,
  .feature-card {
    padding: 58px 22px;
  }

  .audience__main h2 {
    font-size: clamp(56px, 18vw, 80px);
  }

  .feature-card {
    min-height: 300px;
  }

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

  .steps__grid li {
    min-height: 340px;
    grid-template-rows: 46px 72px 1fr;
  }

  .belief-card {
    display: block;
  }

  .belief-card img {
    aspect-ratio: 4 / 3;
  }

  .numbers__grid,
  .team__grid,
  .code__grid,
  .role-card__columns,
  .role-card__footer {
    grid-template-columns: 1fr;
  }

  .numbers__grid h3 {
    min-height: auto;
  }

  .home-cta h2 {
    font-size: clamp(61px, 19vw, 88px);
  }

  .page-hero > div:first-child {
    min-height: 470px;
    padding: 70px 22px;
  }

  .page-hero h1,
  .page-hero--compact h1 {
    font-size: clamp(61px, 18vw, 92px);
  }

  .page-hero img {
    height: 430px;
  }

  .founder-story {
    gap: 28px;
  }

  .founder-story__heading h2 {
    font-size: clamp(59px, 18vw, 88px);
  }

  .founder-story__body p {
    font-size: 18px;
  }

  .team-card {
    min-height: 360px;
    padding: 28px;
  }

  .role-card {
    border-radius: 24px;
  }

  .role-card__footer {
    gap: 26px;
  }

  .code__grid article {
    min-height: auto;
  }

  .faq-group > h2 {
    padding: 26px 0;
  }

  .faq-item summary {
    padding: 24px 66px 24px 20px;
  }

  .faq-item summary::after {
    right: 18px;
  }

  .faq-item > div {
    padding: 0 20px 26px;
  }

  .contact-card,
  .contact-card--newsletter,
  .contact-card--recruitment {
    min-height: 340px;
  }

  .site-footer {
    flex-wrap: wrap;
    padding: 24px 20px;
  }

  .site-footer p {
    width: 100%;
  }

  .button,
  .button--large {
    width: 100%;
    min-width: 0;
  }

  .contact-card > .button {
    align-self: stretch;
  }
}

@media (max-width: 390px) {
  .wordmark {
    font-size: 14px;
  }

  .menu-toggle__label {
    display: none;
  }

  .hero {
    grid-template-areas:
      "one brand"
      "yellow three"
      "two orange";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 205px 200px 270px;
    min-height: 675px;
  }

  .hero__claim {
    font-size: 22px;
  }
}

/* Układy dopasowane do zatwierdzonych screenshotów referencyjnych. */
.hero .hero__logo {
  width: 82px;
  height: 82px;
  padding: 7px;
  background: var(--paper);
}

.hero__claim--yellow {
  color: var(--navy);
}

.welcome {
  grid-template-columns: 0.94fr 1.06fr;
}

.welcome__copy {
  min-height: 650px;
  padding: clamp(34px, 5vw, 62px);
}

.welcome__copy > .eyebrow {
  display: none;
}

.welcome__copy h2 {
  margin-bottom: 28px;
  color: var(--navy);
  font-size: clamp(54px, 6.3vw, 78px);
  line-height: 1.08;
}

.welcome__copy h2 span {
  font-size: 1em;
}

.welcome__copy h2 strong {
  color: var(--navy);
  font-size: 0.42em;
}

.welcome__body {
  max-width: 390px;
}

.welcome__body p {
  color: var(--yellow);
  font-size: clamp(16px, 1.55vw, 19px);
}

.welcome__body .signature {
  margin-top: 28px;
}

.welcome__photo {
  min-height: 570px;
  margin: 42px 34px 42px 0;
  overflow: hidden;
  border-radius: 26px;
}

.audience {
  min-height: 650px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  background: var(--green);
}

.feature-card {
  min-height: 0;
  justify-content: center;
  padding: clamp(24px, 3vw, 38px);
  text-align: center;
}

.feature-card__number {
  display: none;
}

.feature-card h3 {
  margin: 0 0 28px;
  font-size: clamp(24px, 2.4vw, 31px);
  line-height: 1;
}

.feature-card p {
  font-size: clamp(19px, 2.2vw, 28px);
  line-height: 1.08;
}

.feature-card--yellow {
  grid-column: 2;
  grid-row: 1;
}

.feature-card--pink {
  grid-column: 1;
  grid-row: 2;
}

.feature-card--navy {
  grid-column: 2;
  grid-row: 2;
}

.audience__main {
  min-height: 650px;
  grid-column: 3 / 5;
  grid-row: 1 / 3;
  justify-content: center;
  padding: clamp(34px, 4vw, 54px);
  background: var(--orange);
  color: var(--paper);
}

.audience__main > .eyebrow {
  display: none;
}

.audience__main h2 {
  margin-bottom: 28px;
  color: var(--paper);
  font-size: clamp(62px, 7vw, 92px);
}

.audience__lead {
  margin-bottom: 34px;
  font-size: 18px;
  font-weight: 800;
}

.audience .check-list {
  margin-bottom: 34px;
  gap: 8px;
}

.audience .check-list li {
  padding-left: 20px;
  font-size: 17px;
  font-weight: 700;
}

.audience .check-list li::before {
  color: var(--paper);
}

.audience__main .button {
  align-self: stretch;
  background: var(--paper);
  color: var(--navy);
}

.steps {
  padding: 32px 24px 22px;
  background: var(--blue);
  color: var(--paper);
}

.steps .section-heading {
  max-width: none;
  margin-bottom: 24px;
}

.steps .section-heading > .eyebrow {
  display: none;
}

.steps .section-heading h2 {
  margin-bottom: 18px;
  color: var(--paper);
  font-size: clamp(54px, 6vw, 78px);
}

.steps .section-heading > p {
  max-width: none;
  margin-bottom: 16px;
  color: var(--paper);
  font-size: 17px;
  font-weight: 800;
}

.steps .section-heading > .steps__intro {
  margin-bottom: 0;
}

.steps__grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.steps__grid li {
  min-height: 285px;
  grid-template-rows: 40px 54px 1fr;
  padding: 10px 18px 22px;
  border: 0;
  border-radius: 20px;
  background: var(--paper) !important;
  row-gap: 12px;
}

.steps__grid span {
  width: 40px;
  height: 40px;
  background: var(--yellow);
  color: var(--black);
  font-size: 21px;
}

.steps__grid h3 {
  color: var(--black);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}

.steps__grid p {
  color: var(--black);
  font-size: 16px;
  line-height: 1.25;
}

.steps .section-cta {
  justify-content: flex-end;
  margin-top: 28px;
}

.steps .section-cta .button {
  min-width: 330px;
}

.beliefs {
  position: relative;
  padding: 0 0 56px;
  background: var(--blue);
  color: var(--paper);
}

.beliefs > .section-heading {
  position: absolute;
  z-index: 2;
  top: 6px;
  right: 28px;
  width: 34%;
  margin: 0;
  text-align: center;
}

.beliefs > .section-heading .eyebrow {
  display: none;
}

.beliefs > .section-heading h2 {
  color: var(--paper);
  font-size: clamp(58px, 7vw, 86px);
}

.beliefs__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.belief-card {
  overflow: visible;
  border-radius: 0;
  background: var(--blue);
  color: var(--paper);
}

.belief-card--yellow {
  background: var(--yellow);
  color: var(--navy);
}

.belief-card--blue,
.belief-card--green {
  background: var(--blue);
  color: var(--paper);
}

.belief-card img {
  width: 66%;
  height: auto;
  margin: 40px auto 10px;
  aspect-ratio: 0.86 / 1;
  object-fit: cover;
}

.belief-card > div {
  padding: 0 42px 48px;
}

.belief-card h3 {
  margin-bottom: 20px;
  color: inherit;
  font-size: clamp(22px, 2.2vw, 29px);
  text-decoration: underline;
}

.belief-card p {
  font-size: 16px;
  line-height: 1.18;
}

.belief-card--green > div {
  position: relative;
  padding-top: clamp(250px, 24vw, 330px);
}

.belief-card__about-button {
  position: static;
  width: 100%;
  min-width: 0;
  min-height: 64px;
  margin-bottom: 28px;
  padding: 16px 20px;
  font-size: clamp(13px, 1.25vw, 17px);
  line-height: 1.15;
  text-align: center;
}

.numbers {
  padding: 42px 38px 30px;
  background: #c7448f;
}

.numbers > .section-heading,
.numbers__note {
  display: none;
}

.numbers__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  gap: 28px 42px;
}

.numbers__grid article {
  padding: 0;
  border: 0;
}

.numbers__grid article:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}

.numbers__grid strong {
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.95;
}

.numbers__grid h3 {
  min-height: 0;
  margin-bottom: 15px;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1;
}

.numbers__grid p {
  max-width: 300px;
  font-size: 16px;
  line-height: 1.12;
}

.numbers__cta {
  display: flex;
  grid-column: 3;
  grid-row: 2;
  align-items: center;
  justify-content: center;
}

.closing-photo {
  width: 100%;
  margin: 0;
}

.closing-photo img {
  width: 100%;
  aspect-ratio: 2.65 / 1;
  object-fit: cover;
  object-position: center 42%;
}

#strona-glowna .home-cta,
#poznaj-nas .home-cta {
  min-height: 210px;
  align-items: center;
  padding: 34px 30px;
  background: #c7448f;
}

#strona-glowna .home-cta .eyebrow {
  display: none;
}

#strona-glowna .home-cta h2,
#poznaj-nas .home-cta h2 {
  font-size: clamp(54px, 6vw, 76px);
}

#strona-glowna .home-cta__buttons,
#poznaj-nas .home-cta__buttons {
  flex-basis: min(340px, 100%);
  gap: 24px;
}

.recruitment {
  padding: clamp(46px, 4.2vw, 64px) clamp(38px, 5vw, 72px) clamp(42px, 4vw, 58px);
  background: #c7448f;
  color: var(--black);
}

.recruitment__intro {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 2.1fr) minmax(240px, 0.9fr);
  align-items: start;
  margin-bottom: 36px;
  gap: clamp(32px, 3.5vw, 50px);
}

.recruitment__intro > .eyebrow {
  display: none;
}

.recruitment__intro h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(54px, 5.4vw, 68px);
  line-height: 0.92;
}

.recruitment__intro > p:last-child {
  max-width: 320px;
  margin: 12px 0 0;
  color: var(--paper);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.12;
}

.recruitment__roles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 38px;
}

.role-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--black);
}

.role-card__body {
  flex: 1;
  padding: 22px 28px 20px;
  border-radius: 20px;
  background: var(--white);
}

.role-card__head {
  max-width: none;
  margin: 0;
}

.role-card__head > p:first-child {
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
}

.role-card__head h3 {
  margin-bottom: 26px;
  color: var(--black);
  font-size: 21px;
  line-height: 1;
  text-transform: uppercase;
}

.role-card__head > p:last-child {
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.25;
}

.role-card__columns,
.role-card__footer {
  display: block;
}

.role-card__columns > div,
.role-card__footer > div {
  margin-top: 24px;
}

.role-card__columns h4,
.role-card__footer h4 {
  margin-bottom: 14px;
  color: var(--black);
  font-size: 16px;
}

.role-card__columns ul {
  display: block;
  margin: 0;
  padding-left: 22px;
}

.role-card__columns li {
  font-size: 15px;
  line-height: 1.08;
}

.role-card__footer {
  margin: 0;
  padding: 0;
  border: 0;
}

.role-card__footer p {
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.2;
}

.role-card__form-note {
  margin: 22px 0 0;
  font-size: 15px;
  font-weight: 900;
}

.role-card > .button {
  width: calc(100% - 12px);
  min-height: 48px;
  align-self: center;
  margin-top: 10px;
  background: var(--navy);
  color: var(--paper);
}

@media (max-width: 1100px) {
  .recruitment__roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .welcome {
    grid-template-columns: 1fr;
  }

  .welcome__photo {
    height: 520px;
    margin: 0 24px 34px;
  }

  .audience {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .audience__main {
    min-height: 580px;
    grid-column: 1 / -1;
    grid-row: auto;
    order: -1;
  }

  .feature-card--yellow,
  .feature-card--pink,
  .feature-card--navy {
    min-height: 300px;
    grid-column: auto;
    grid-row: auto;
  }

  .feature-card--navy {
    grid-column: 1 / -1;
  }

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

  .steps__grid li {
    min-height: 260px;
    grid-template-rows: 40px 54px 1fr;
  }

  .steps .section-cta .button {
    min-width: 0;
  }

  .beliefs > .section-heading {
    position: static;
    width: auto;
    padding: 20px;
    text-align: left;
  }

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

  .belief-card img {
    width: min(70%, 360px);
  }

  .belief-card__about-button {
    position: static;
    width: 100%;
    margin-bottom: 28px;
  }

  .belief-card--green > div {
    padding-top: 40px;
  }

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

  .numbers__grid article:nth-child(4),
  .numbers__cta {
    grid-column: auto;
    grid-row: auto;
  }

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

  .recruitment__intro > p:last-child {
    max-width: 520px;
  }

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

@media (max-width: 660px) {
  .beliefs {
    overflow: visible;
    padding-bottom: 32px;
  }

  .beliefs > .section-heading {
    position: relative;
    z-index: auto;
    top: auto;
    right: auto;
    width: 100%;
    padding: 40px 20px 24px;
  }

  .beliefs__grid {
    display: flex;
    flex-direction: column;
  }

  .belief-card {
    display: flex;
    min-height: 0;
    flex-direction: column;
    overflow: visible;
  }

  .belief-card img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    aspect-ratio: 4 / 3;
  }

  .belief-card > div {
    position: relative;
    z-index: 1;
    padding: 30px 24px 42px;
    background: inherit;
  }

  .belief-card h3,
  .belief-card p {
    position: relative;
    z-index: 1;
    overflow: visible;
  }

  .welcome__copy {
    min-height: 560px;
  }

  .welcome__copy h2 {
    font-size: clamp(49px, 15vw, 66px);
  }

  .welcome__photo {
    height: 420px;
    margin-inline: 20px;
  }

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

  .feature-card--navy {
    grid-column: auto;
  }

  .audience__main {
    min-height: auto;
  }

  .steps {
    padding-inline: 20px;
  }

  .steps__grid {
    grid-auto-rows: auto;
    align-items: start;
  }

  .steps__grid li {
    min-height: 0;
    height: auto;
    grid-template-rows: auto auto auto;
  }

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

  .closing-photo img {
    aspect-ratio: 1.25 / 1;
  }

  .recruitment {
    padding-inline: 20px;
  }

  .recruitment__intro h2 {
    font-size: clamp(48px, 14vw, 58px);
  }

  .role-card__body {
    padding-inline: 22px;
  }
}

/* Pełna szerokość strony oraz przywrócony układ FAQ i kontaktu z wersji old. */
.site-page,
.hero,
.site-footer {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.hero .hero__logo {
  padding: 0;
  background: transparent;
}

.subpage {
  background: var(--paper);
}

.subpage-kicker {
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.faq-layout {
  display: grid;
  min-height: 760px;
  grid-template-columns: 1.08fr 0.92fr;
}

.faq-list,
.contacts-panel {
  min-width: 0;
  padding: clamp(48px, 6vw, 100px);
}

.faq-list {
  background: var(--paper);
}

.faq-list > .section-heading h2,
.contacts-panel .section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(38px, 4.5vw, 72px);
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.faq-group {
  display: block;
  margin-bottom: clamp(42px, 5vw, 70px);
  border-top: 0;
}

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-group > h2 {
  margin: 0 0 16px;
  padding: 0;
  color: var(--navy);
  font-size: clamp(25px, 2.2vw, 34px);
  hyphens: none;
  letter-spacing: -0.035em;
}

.faq-item {
  display: block;
  border-top: 2px solid var(--navy);
  border-bottom: 0;
  background: transparent;
}

.faq-group .faq-item:last-child {
  border-bottom: 2px solid var(--navy);
}

.faq-item--key {
  background: var(--yellow);
}

.faq-item summary {
  padding: 22px 54px 22px 18px;
  color: var(--navy);
  font-size: clamp(15px, 1.25vw, 20px);
  font-weight: 800;
  line-height: 1.25;
}

.faq-item--key summary {
  padding-left: 18px;
}

.faq-item summary::after {
  right: 8px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
}

.faq-item > div {
  max-width: none;
  padding: 0 50px 22px 18px;
}

.faq-item--key > div {
  padding-left: 18px;
}

.faq-item > div p {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.contacts-panel {
  background: var(--navy);
  color: var(--white);
}

.contacts-panel .section-heading h2 {
  color: var(--white);
}

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

.contact-grid .contact-card {
  min-height: 190px;
  grid-column: auto;
  padding: 24px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  background: transparent;
  color: var(--white);
}

.contact-grid .contact-card > span {
  color: var(--yellow);
  font-size: 12px;
}

.contact-grid .contact-card h3 {
  margin: 20px 0 14px;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1;
}

.contact-grid .contact-card p {
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1.45;
}

.contact-grid .contact-card__links {
  margin-top: auto;
}

.contact-grid .contact-card__links a {
  color: var(--yellow);
  font-size: 12px;
}

.contact-grid .contact-card--newsletter {
  background: var(--yellow);
  color: var(--navy);
}

.contact-grid .contact-card--newsletter > span {
  color: var(--navy);
}

.contact-grid .contact-card--recruitment {
  min-height: 180px;
  grid-column: 1 / -1;
}

.contact-grid .contact-card--shirts {
  min-height: 180px;
  grid-column: 1 / -1;
  background: var(--orange);
  color: var(--white);
}

.contact-grid .contact-card--recruitment .button,
.contact-grid .contact-card--shirts .button {
  background: var(--yellow);
  color: var(--navy);
}

.contact-grid .contact-card > .button {
  width: fit-content;
  min-width: 0;
  min-height: 44px;
  align-self: flex-start;
  padding: 10px 16px;
  margin-top: auto;
  font-size: 12px;
}

@media (max-width: 900px) {

  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-list,
  .contacts-panel {
    padding: 54px 24px;
  }

  .faq-item summary {
    font-size: 17px;
  }
}

@media (max-width: 660px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid .contact-card--recruitment {
    grid-column: auto;
  }

  .contact-grid .contact-card {
    min-height: 0;
  }
}

/* Plakatowy układ newslettera według przekazanej referencji. */
.newsletter-page {
  min-height: calc(100svh - var(--header-height));
  background: var(--yellow);
  color: var(--navy);
}

.newsletter-board {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  grid-template-areas:
    "intro form art-one"
    "topics art-two art-three";
  grid-template-columns: minmax(0, 2.6fr) minmax(400px, 1.35fr) minmax(240px, 0.95fr);
  grid-template-rows: auto minmax(460px, 1fr);
}

.newsletter-board__intro,
.newsletter-board__form {
  background: var(--navy);
  color: var(--paper);
}

.newsletter-board__intro {
  display: flex;
  grid-area: intro;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3.5vw, 54px);
}

.newsletter-board__intro h1 {
  margin-bottom: 10px;
  font-size: clamp(66px, 7vw, 104px);
  line-height: 0.82;
}

.newsletter-board__intro p {
  max-width: 800px;
  margin-bottom: 0;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 700;
  line-height: 1.45;
}

.newsletter-board__intro .newsletter-board__frequency {
  margin-bottom: 18px;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.15;
}

.newsletter-board__form {
  display: flex;
  grid-area: form;
  align-items: center;
  justify-content: center;
  padding: clamp(22px, 2vw, 30px);
}

.newsletter-board__form .newsletter-form-shell {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 142px;
  padding: clamp(12px, 1.35vw, 20px);
  border-radius: 20px;
  background: var(--paper);
  color: var(--navy);
  box-shadow: 0 18px 50px rgba(15, 16, 21, 0.24);
}

.newsletter-board__form getresponse-form {
  position: relative;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 142px !important;
  box-sizing: border-box !important;
}

.newsletter-form-help {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.newsletter-form-help a {
  color: inherit;
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.newsletter-board__form noscript {
  display: block;
  padding: 16px;
  border: 2px dashed var(--navy);
  border-radius: 12px;
  font-weight: 800;
}

.newsletter-board__topics {
  grid-area: topics;
  padding: clamp(24px, 3.3vw, 50px);
  background: var(--yellow);
  color: var(--navy);
}

.newsletter-board__topics h2 {
  margin-bottom: 22px;
  font-size: clamp(19px, 1.7vw, 25px);
}

.newsletter-board__topics ul {
  display: grid;
  margin: 0;
  padding-left: 26px;
  gap: clamp(13px, 1.55vw, 22px);
}

.newsletter-board__topics li {
  padding-left: 2px;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 700;
  line-height: 1.35;
}

.newsletter-board__art {
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.newsletter-board__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.newsletter-board__art--one {
  grid-area: art-one;
}

.newsletter-board__art--two {
  grid-area: art-two;
}

.newsletter-board__art-stack {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-area: art-three;
  grid-template-rows: 1fr 1.08fr;
}

.newsletter-board__art-stack > div {
  background: var(--green);
}

.newsletter-board__art--three {
  height: 100%;
}

@media (max-width: 1020px) {
  .newsletter-board {
    grid-template-areas:
      "intro intro"
      "form form"
      "art-one art-three"
      "topics topics"
      "art-two art-two";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto 320px auto 520px;
  }

  .newsletter-board__intro {
    padding: 44px 24px 34px;
  }

  .newsletter-board__intro h1 {
    font-size: clamp(62px, 15vw, 92px);
  }

  .newsletter-board__form {
    padding: 26px 24px 34px;
  }

  .newsletter-board__form .newsletter-form-shell {
    max-width: 520px;
  }

  .newsletter-board__topics {
    padding: 38px 24px 44px;
  }
}

@media (max-width: 660px) {
  .newsletter-board {
    grid-template-areas:
      "intro"
      "form"
      "art-one"
      "topics"
      "art-two"
      "art-three";
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 360px auto 520px 430px;
  }

  .newsletter-board__art-stack {
    grid-template-rows: 120px 310px;
  }
}

/* Delikatne granatowe marginesy na szerokich monitorach. */
@media (min-width: 1600px) {
  body {
    background: var(--navy);
  }

  .site-page,
  .site-footer {
    width: calc(100% - clamp(128px, 14vw, 320px));
    max-width: 1440px;
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* WordPress: wspólna rama i treść edytowalna. */
.site-page {
  min-height: 65vh;
  background: var(--paper);
}

.dt-section {
  width: min(var(--content), calc(100% - 40px));
  margin-inline: auto;
  padding-block: clamp(54px, 7vw, 104px);
}

.dt-page-content > :where(:not(.alignfull, .alignwide, .dt-section, .dt-support-board, .section-block, .faq-layout, .newsletter-board)) {
  width: min(780px, calc(100% - 40px));
  margin-inline: auto;
}

.dt-page-content > .alignwide {
  width: min(var(--content), calc(100% - 40px));
  margin-inline: auto;
}

.dt-page-content > .alignfull {
  width: 100%;
}

.dt-eyebrow,
.dt-state {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.dt-lead {
  font-size: clamp(21px, 2.2vw, 31px);
  line-height: 1.18;
}

.dt-bg-yellow { background: var(--yellow) !important; color: var(--navy); }
.dt-bg-pink { background: var(--berry) !important; color: var(--white); }
.dt-bg-blue { background: var(--blue) !important; color: var(--white); }
.dt-bg-orange { background: var(--orange) !important; color: var(--white); }

.wp-block-button__link,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.wp-block-button__link:hover,
.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.button--orange { background: #ff4b0b; }
.button--navy { background: var(--navy); color: var(--white); }
.button--large { width: 100%; min-height: 54px; font-size: 16px; }

.is-style-outline .wp-block-button__link {
  border: 2px solid currentColor;
  background: transparent;
  color: var(--navy);
}

.dt-text-link {
  color: var(--navy);
  font-weight: 900;
  text-underline-offset: 4px;
}

.dt-small { font-size: 14px; }

.dt-breadcrumbs {
  font-size: 14px;
}

.dt-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.dt-breadcrumbs li:not(:last-child)::after {
  margin-left: 8px;
  content: "/";
  opacity: .45;
}

.dt-prose {
  font-size: 18px;
  line-height: 1.62;
}

.dt-prose > * {
  max-width: 760px;
}

.dt-prose h2 {
  margin-top: 52px;
  font-size: clamp(34px, 4vw, 58px);
}

.dt-prose h3 {
  margin-top: 36px;
  font-size: clamp(25px, 2.7vw, 37px);
}

.dt-prose a:not(.button) {
  color: var(--navy);
  font-weight: 700;
  text-underline-offset: 3px;
}

.dt-legal-copy {
  padding-bottom: clamp(56px, 7vw, 96px);
  color: #262626;
  font-size: 18px;
  line-height: 1.72;
}

.dt-legal-copy h2 {
  margin: clamp(44px, 6vw, 72px) 0 20px;
  color: var(--navy);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
}

.dt-legal-copy > h2:first-child {
  margin-top: 0;
  padding: 22px 26px;
  border-left: 8px solid var(--yellow);
  background: rgba(255, 201, 36, .18);
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.25;
}

.dt-legal-copy h3 {
  margin: 38px 0 14px;
  color: var(--navy);
  font-size: clamp(22px, 2.5vw, 31px);
  line-height: 1.15;
}

.dt-legal-copy p,
.dt-legal-copy ol,
.dt-legal-copy ul {
  margin-top: 0;
  margin-bottom: 22px;
}

.dt-legal-copy ol,
.dt-legal-copy ul {
  padding-left: 30px;
}

.dt-legal-copy li {
  margin-bottom: 12px;
  padding-left: 5px;
}

.dt-legal-copy .dt-alpha-list {
  margin: 14px 0 5px;
}

.dt-legal-copy .dt-legal-meta {
  padding: 24px 26px;
  border-radius: 18px;
  background: var(--navy);
  color: var(--paper);
  line-height: 1.65;
}

.dt-legal-copy .dt-legal-meta a {
  color: var(--yellow);
}

.dt-legal-copy a,
.dt-source-event-copy a {
  overflow-wrap: anywhere;
  font-weight: 800;
  text-underline-offset: 3px;
}

.dt-source-event-copy > h2:first-child {
  margin-top: 0;
}

.dt-source-event-copy p {
  margin-bottom: 20px;
}

.dt-source-event-copy ol,
.dt-source-event-copy ul {
  margin: 0 0 28px;
  padding-left: 28px;
}

.dt-source-event-copy li {
  margin-bottom: 11px;
  padding-left: 4px;
}

.main-nav .menu-item:nth-child(2) a {
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
}

/* Aktywna pozycja menu WordPress. Reguła jest po specjalnym stylu
   „Wydarzeń”, aby wybrana strona zawsze miała ten sam czytelny stan. */
.main-nav .menu-item.current-menu-item > a,
.main-nav .menu-item.current-menu-ancestor > a,
.post-type-archive-dt_event_format .main-nav a[href*="/wydarzenia/"],
.single-dt_event_format .main-nav a[href*="/wydarzenia/"],
.single-dt_event_occurrence .main-nav a[href*="/wydarzenia/"],
.post-type-archive-dt_archive_entry .main-nav a[href*="/archiwum/"],
.single-dt_archive_entry .main-nav a[href*="/archiwum/"] {
  background: var(--green);
  color: var(--white);
}

.site-footer__grid {
  display: grid;
  width: min(var(--content), calc(100% - 40px));
  margin-inline: auto;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}

.site-footer {
  display: block;
  min-height: 0;
  padding: clamp(46px, 6vw, 76px) 0 26px;
}

.site-footer__brand {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: 28px;
  font-weight: 900;
  line-height: .95;
}

.site-footer__intro p {
  max-width: 430px;
  color: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  opacity: .88;
}

.site-footer h2 {
  margin: 2px 0 18px;
  color: var(--paper);
  font-size: 17px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 10px;
}

.site-footer__nav a,
.site-footer__contact a {
  line-height: 1.4;
}

.site-footer__meta {
  display: flex;
  width: min(var(--content), calc(100% - 40px));
  margin: 48px auto 0 !important;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.22);
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  font-size: 13px;
  opacity: .75;
}

.site-footer__meta p {
  margin: 0;
}

.site-footer__credits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.site-footer__author {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.site-footer__heart {
  display: inline-flex;
  width: 1.15em;
  height: 1.15em;
  color: var(--pink);
}

.site-footer__heart svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.site-footer__legal a {
  white-space: nowrap;
}

.site-footer__social {
  display: flex;
  width: min(var(--content), calc(100% - 40px));
  margin: 22px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.site-footer__social span {
  margin-right: 4px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  opacity: .72;
}

.site-footer__social a {
  display: inline-flex;
  min-height: 42px;
  padding: 10px 18px;
  border: 2px solid var(--yellow);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.site-footer__social a:hover,
.site-footer__social a:focus-visible {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-2px);
}

.founder-story__heading h1 {
  margin-bottom: 28px;
  overflow-wrap: break-word;
  font-size: clamp(58px, 5.5vw, 80px);
  hyphens: auto;
}

.faq-list > .section-heading h1 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(38px, 4.5vw, 72px);
  letter-spacing: -0.055em;
  line-height: 0.9;
}

/* Wydarzenia: hero, daty i formaty. */
.dt-events-hero {
  display: grid;
  min-height: 570px;
  grid-template-columns: .9fr .9fr 1.2fr;
  grid-template-rows: 1fr;
  background: #a7cff2;
}

.dt-events-hero > * { min-width: 0; }
.dt-events-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.dt-events-hero__claim { display: grid; place-content: center; padding: clamp(30px, 5vw, 70px); background: var(--navy); color: var(--white); }
.dt-events-hero__claim p { margin: 0; font-size: clamp(31px, 4vw, 58px); font-weight: 900; line-height: .98; text-align: center; }
.dt-events-hero__copy { padding: clamp(38px, 6vw, 80px); background: var(--blue); color: var(--white); }
.dt-events-hero__copy h1 { margin-bottom: 28px; color: var(--navy); font-size: clamp(52px, 5.2vw, 86px); }

.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 18px; font-size: clamp(44px, 6vw, 82px); }
.section-heading > p:last-child { color: var(--muted); }

.dt-upcoming { background: var(--paper); }
.dt-occurrence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.dt-occurrence-card { display: grid; min-width: 0; overflow: hidden; border: 2px solid var(--navy); border-radius: 22px; background: var(--white); grid-template-columns: 92px 1fr; }
.dt-occurrence-card__date { display: grid; place-items: center; background: var(--yellow); color: var(--navy); text-align: center; }
.dt-occurrence-card__date time { display: grid; }
.dt-occurrence-card__date strong { font-size: 48px; line-height: .9; }
.dt-occurrence-card__date span { font-size: 14px; font-weight: 900; }
.dt-occurrence-card__body { padding: 24px 22px; }
.dt-occurrence-card__body h3 { margin-bottom: 12px; font-size: 29px; }
.dt-occurrence-card__body h3 a { text-decoration: none; }
.dt-occurrence-card__body p { margin-bottom: 16px; font-size: 15px; }

.dt-state {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--green);
  color: var(--white);
  letter-spacing: .04em;
}
.dt-state--coming_soon,
.dt-state--closed,
.dt-state--ended { background: var(--navy); }
.dt-state--full,
.dt-state--cancelled { background: #b92d29; }
.dt-state--waitlist { background: var(--orange); }
.dt-state--free_entry { background: var(--yellow); color: var(--navy); }

.dt-formats { width: 100%; padding-inline: max(20px, calc((100% - var(--content)) / 2)); background: var(--green); }
.dt-formats .section-heading { color: var(--white); }
.dt-formats .dt-eyebrow { color: var(--yellow); }
.dt-formats .section-heading > p:last-child { color: var(--white); }
.dt-format-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 20px; }
.dt-format-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--white); }
.dt-format-card--yellow { background: var(--yellow); color: var(--navy); }
.dt-format-card--blue { background: var(--blue); color: var(--white); }
.dt-format-card__image { position: relative; display: block; margin: 16px 16px 0; overflow: hidden; border-radius: 17px; aspect-ratio: 16 / 8.7; }
.dt-format-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.dt-format-card:hover .dt-format-card__image img { transform: scale(1.025); }
.dt-format-card__image::after { position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(0,0,0,.62)); content: ""; }
.dt-format-card__image span { position: absolute; z-index: 1; right: 14px; bottom: 16px; left: 14px; color: var(--white); font-size: clamp(27px, 3vw, 46px); font-weight: 900; line-height: .88; letter-spacing: -.045em; text-align: center; text-transform: uppercase; }
.dt-format-card__body { display: flex; min-height: 205px; flex: 1; flex-direction: column; align-items: center; padding: 18px 22px 14px; text-align: center; }
.dt-format-card__body p { margin-bottom: 17px; font-size: 16px; }
.dt-format-card__body .button { width: 100%; margin-top: auto; }
.dt-format-card__soon { margin: auto 0 20px; font-size: 15px; line-height: 1.2; }

.dt-empty-state { padding: clamp(36px, 6vw, 72px); border-radius: 24px; }
.dt-empty-state h1,
.dt-empty-state h2,
.dt-empty-state h3 { max-width: 780px; font-size: clamp(37px, 5vw, 68px); }

/* Format i konkretny termin. */
.single-dt_event_format .dt-section:first-child,
.single-dt_event_occurrence .dt-section:first-child,
.single-dt_archive_entry .dt-section:first-child { padding-block: 20px; }

.dt-format-hero,
.dt-occurrence-hero,
.dt-archive-entry-hero {
  display: grid;
  min-height: 590px;
  grid-template-columns: 1.08fr .92fr;
}

.dt-format-hero__copy,
.dt-occurrence-hero > div,
.dt-archive-entry-hero > div {
  display: grid;
  align-content: center;
  padding: clamp(40px, 7vw, 104px);
  background: var(--orange);
  color: var(--white);
}

.dt-format-hero h1,
.dt-occurrence-hero h1,
.dt-archive-entry-hero h1 { margin-bottom: 28px; font-size: clamp(62px, 9vw, 132px); }
.dt-format-hero__image img,
.dt-occurrence-hero > img,
.dt-archive-entry-hero > img,
.dt-occurrence-hero > .dt-responsive-picture > img,
.dt-archive-entry-hero > .dt-responsive-picture > img { width: 100%; height: 100%; object-fit: cover; }
.dt-quick-facts { margin: 18px 0 0; padding: 0; list-style: none; }
.dt-quick-facts li { margin-top: 8px; }
.dt-format-content { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(290px, .7fr); align-items: start; gap: clamp(36px, 6vw, 82px); }
.dt-community-box { margin-top: 38px; padding: clamp(28px, 4vw, 48px); border-radius: 22px; }
.dt-format-content > .dt-community-box { position: sticky; top: calc(var(--header-height) + 24px); margin: 0; }
.dt-community-box h2 { font-size: clamp(30px, 3vw, 45px); }

.dt-occurrence-hero > div { background: var(--blue); }
.dt-occurrence-hero__date { font-size: clamp(25px, 3vw, 39px); font-weight: 900; }
.dt-occurrence-layout { display: grid; grid-template-areas: "content summary"; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr); align-items: start; gap: clamp(38px, 7vw, 96px); }
.dt-occurrence-layout > .dt-prose { grid-area: content; }
.dt-event-summary { grid-area: summary; position: sticky; top: calc(var(--header-height) + 24px); padding: 34px; border: 3px solid var(--navy); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.dt-event-summary h2 { font-size: 44px; }
.dt-event-summary dl { margin: 0 0 28px; }
.dt-event-summary dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.dt-event-summary dt { margin-bottom: 4px; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.dt-event-summary dd { margin: 0; font-weight: 700; }
.dt-occurrence-note { margin-bottom: 32px; padding: 24px 28px; border-left: 8px solid var(--orange); border-radius: 14px; background: var(--yellow); color: var(--navy); }
.dt-occurrence-note h2 { margin-bottom: 10px; font-size: clamp(28px, 3vw, 40px); }
.dt-occurrence-note p:last-child { margin-bottom: 0; }
.dt-facebook-event-box { margin-bottom: 32px; padding: clamp(28px, 4vw, 44px); border: 3px solid var(--navy); border-radius: 22px; background: var(--blue); color: var(--white); box-shadow: 10px 10px 0 var(--navy); }
.dt-facebook-event-box h2 { margin-bottom: 12px; font-size: clamp(30px, 3vw, 44px); }
.dt-facebook-event-box p { max-width: 650px; margin-bottom: 24px; }
.dt-facebook-event-box .button { width: fit-content; max-width: 100%; line-height: 1.25; }
.dt-registration-note { padding: 14px; border-radius: 12px; background: var(--yellow); color: var(--navy); font-weight: 800; }
.dt-registration-note--free-entry { background: var(--green); color: var(--white); }

/* Archiwum. */
.dt-archive-hero {
  display: grid;
  min-height: 520px;
  grid-template-columns: 1.2fr .8fr;
  background: var(--navy);
  color: var(--white);
}
.dt-archive-hero > div:first-child { display: grid; align-content: center; padding: clamp(40px, 8vw, 110px); }
.dt-archive-hero h1 { margin-bottom: 24px; color: var(--yellow); font-size: clamp(72px, 11vw, 150px); }
.dt-archive-hero__tiles { display: grid; grid-template: repeat(2,1fr) / repeat(2,1fr); }
.dt-archive-hero__tiles span:nth-child(1) { background: var(--blue); }
.dt-archive-hero__tiles span:nth-child(2) { background: var(--yellow); }
.dt-archive-hero__tiles span:nth-child(3) { background: var(--orange); }
.dt-archive-hero__tiles span:nth-child(4) { background: var(--green); }
.dt-archive-filters { display: flex; align-items: end; margin-bottom: 42px; padding: 24px; border-radius: 20px; background: var(--white); gap: 18px; }
.dt-archive-filters label { display: grid; flex: 1; color: var(--navy); font-size: 13px; font-weight: 900; gap: 6px; text-transform: uppercase; }
.dt-archive-filters select { width: 100%; min-height: 48px; border: 2px solid var(--navy); border-radius: 10px; padding: 8px 12px; background: var(--paper); color: var(--black); text-transform: none; }
.dt-archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.dt-archive-card { overflow: hidden; border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.dt-archive-card__image { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.dt-archive-card__image img { width: 100%; height: 100%; object-fit: cover; }
.dt-archive-card > div { padding: 28px; }
.dt-archive-card h2 { font-size: clamp(30px, 3vw, 45px); }
.dt-archive-card h2 a { text-decoration: none; }
.dt-archive-entry-hero > div { background: var(--green); }
.dt-feature-quote { margin: 0 0 48px; padding: 36px; border: 0; background: var(--yellow); color: var(--navy); font-size: clamp(28px, 4vw, 48px); font-weight: 900; line-height: 1.05; }
.dt-entry-links { display: flex; flex-wrap: wrap; align-items: center; margin-top: 56px; gap: 24px; }

/* Strona wsparcia. */
.dt-support-board {
  display: grid;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  grid-template-columns: 1fr 1fr 1.75fr;
}
.dt-support-tile,
.dt-support-copy,
.dt-support-quote { min-height: 310px; padding: clamp(28px, 4vw, 56px); }
.dt-support-photo { padding: 0; }
.dt-support-photo img,
.dt-support-tile.dt-bg-orange img { width: 100%; height: 100%; object-fit: cover; }
.dt-support-copy { grid-area: 1 / 3 / 3 / 4; }
.dt-support-copy h1 { font-size: clamp(55px, 7vw, 94px); }
.dt-support-tile .dt-display { font-size: clamp(27px, 3vw, 43px); font-weight: 900; line-height: 1.02; }
.dt-support-quote { grid-column: 2 / 4; min-height: 510px; }
.dt-support-quote blockquote { margin: 0 0 30px; font-size: clamp(43px, 6vw, 84px); font-weight: 900; line-height: .95; }
.dt-support-merch {
  display: grid;
  min-height: 520px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.75fr);
  scroll-margin-top: calc(var(--header-height) + 24px);
  background: var(--blue);
  color: var(--white);
}
.dt-support-merch__photo { min-height: 520px; overflow: hidden; line-height: 0; }
.dt-support-merch__photo img { width: 100%; height: 100%; object-fit: cover; }
.dt-support-merch__copy { display: flex; justify-content: center; flex-direction: column; padding: clamp(38px, 6vw, 82px); }
.dt-support-merch__kicker { margin-bottom: 18px; color: var(--yellow); font-size: 12px; font-weight: 900; letter-spacing: .13em; }
.dt-support-merch__copy h2 { margin-bottom: 26px; color: var(--yellow); font-size: clamp(46px, 6vw, 84px); line-height: .92; }
.dt-support-merch__copy p { max-width: 690px; }
.dt-support-merch__copy a:not(.button) { color: var(--yellow); font-weight: 900; }
.dt-support-merch__actions { display: flex; flex-wrap: wrap; margin-top: 14px; gap: 14px; }
.dt-support-merch .button--yellow { background: var(--yellow); color: var(--navy); }
.dt-support-merch .button--paper { background: var(--paper); color: var(--navy); }

@media (min-width: 1021px) {
  @supports (grid-template-columns: subgrid) {
    .dt-support-merch { grid-template-columns: subgrid; }
    .dt-support-merch__photo { grid-column: 1 / 3; }
    .dt-support-merch__copy { grid-column: 3 / 4; }
  }
}


.dt-prose-card { margin-bottom: 24px; padding: 28px; border-radius: 20px; background: var(--white); }

@media (max-width: 1020px) {
  .dt-occurrence-grid { grid-template-columns: 1fr 1fr; }
  .dt-format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dt-events-hero { grid-template: 360px auto / 1fr 1fr; }
  .dt-events-hero__copy { grid-area: 2 / 1 / 3 / 3; }
  .dt-support-board { grid-template-columns: 1fr 1fr; }
  .dt-support-copy { grid-area: auto; }
  .dt-support-quote { grid-column: 1 / 3; }
}

@media (max-width: 760px) {
  :root { --header-height: 78px; }
  body { font-size: 17px; }
  .site-header__inner { width: calc(100% - 28px); }
  .wordmark { font-size: 16px; }
  .wordmark__logo { width: 44px; height: 44px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer__meta { align-items: flex-start; flex-direction: column; }
  .site-footer__legal { width: 100%; }
  .site-footer__social { flex-wrap: wrap; justify-content: flex-start; }
  .site-footer__social span { width: 100%; margin-bottom: 4px; }
  .dt-section { width: calc(100% - 28px); }
  .dt-format-content,
  .dt-occurrence-layout { grid-template-areas: "summary" "content"; grid-template-columns: 1fr; }
  .dt-events-hero { grid-template: 280px auto / 1fr 1fr; }
  .dt-events-hero__claim p { font-size: 29px; }
  .dt-occurrence-grid,
  .dt-format-grid,
  .dt-archive-grid { grid-template-columns: 1fr; }
  .dt-occurrence-card { grid-template-columns: 76px 1fr; }
  .dt-format-hero,
  .dt-occurrence-hero,
  .dt-archive-entry-hero { grid-template-columns: 1fr; }
  .dt-format-hero__copy,
  .dt-occurrence-hero > div,
  .dt-archive-entry-hero > div { min-height: 430px; }
  .dt-format-hero__image,
  .dt-occurrence-hero > img,
  .dt-archive-entry-hero > img,
  .dt-occurrence-hero > .dt-responsive-picture > img,
  .dt-archive-entry-hero > .dt-responsive-picture > img { height: 420px; }
  .dt-format-content > .dt-community-box,
  .dt-event-summary { position: static; }
  .dt-archive-hero { grid-template-columns: 1fr; }
  .dt-archive-hero__tiles { min-height: 260px; }
  .dt-archive-filters { align-items: stretch; flex-direction: column; }
  .dt-support-board { grid-template-columns: 1fr; }
  .dt-support-quote { grid-column: auto; }
  .dt-support-copy { grid-row: auto; }
  .dt-support-merch { min-height: 0; grid-column: auto; grid-template-columns: 1fr; }
  .dt-support-merch__photo { min-height: 0; aspect-ratio: 5 / 4; }
}

@media (max-width: 520px) {
  .dt-events-hero { display: block; }
  .dt-events-hero__photo { height: 330px; }
  .dt-events-hero__claim { min-height: 280px; }
  .dt-format-card__body { min-height: 190px; }
}
/* Audyt kadrów 2026-08: proporcje obrazu są kontraktem panelu mediów. */
.hero {
  min-height: 0;
  grid-template-rows: auto auto;
}

.hero__photo img {
  height: auto;
}

/* wpautop potrafi dopisać pusty wiersz po obrazku wewnątrz figure. */
.hero__photo > br,
.welcome__photo > br,
.closing-photo > br {
  display: none;
}

.hero__photo--one img,
.hero__photo--two img {
  aspect-ratio: 10 / 9;
}

.hero__photo--three img {
  aspect-ratio: 4 / 3;
}

.welcome__photo {
  height: auto;
  min-height: 0;
  align-self: center;
  aspect-ratio: 6 / 7;
}

.welcome__photo img {
  height: 100%;
}

.founder-story__photo img,
.closing-photo img {
  height: auto;
}

.dt-support-tile.dt-bg-orange img[data-dt-image-slot="support_3"] {
  height: auto;
  aspect-ratio: 4 / 5;
}

.dt-format-hero,
.dt-occurrence-hero,
.dt-archive-entry-hero {
  min-height: 0;
}

.dt-format-hero__image {
  align-self: start;
  overflow: hidden;
  aspect-ratio: 16 / 15;
}

.dt-format-hero__image img {
  height: 100%;
}

.dt-occurrence-hero > img,
.dt-archive-entry-hero > img,
.dt-occurrence-hero > .dt-responsive-picture > img,
.dt-archive-entry-hero > .dt-responsive-picture > img {
  height: auto;
  align-self: start;
  aspect-ratio: 16 / 15;
}

@media (max-width: 900px) {
  .hero {
    grid-template-rows: auto auto auto;
  }
}

@media (max-width: 760px) {
  .hero__photo--one img,
  .hero__photo--two img,
  .hero__photo--three img {
    aspect-ratio: 8 / 9;
  }

  .welcome__photo {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .dt-events-hero {
    grid-template: auto auto / 1fr 1fr;
  }

  .dt-events-hero__photo {
    height: auto;
  }

  .dt-events-hero__photo img {
    height: auto;
    aspect-ratio: 6 / 5;
  }

  .newsletter-board__art--one {
    align-self: center;
    aspect-ratio: 10 / 9;
  }

  .newsletter-board__art--two {
    align-self: center;
    aspect-ratio: 3 / 4;
  }

  .newsletter-board__art--three {
    height: auto;
    align-self: center;
    aspect-ratio: 5 / 4;
  }

  .newsletter-board__art-stack {
    grid-template-rows: 120px auto;
  }

  .dt-support-photo {
    min-height: 0;
  }

  .dt-support-photo img,
  .dt-support-tile.dt-bg-orange img[data-dt-image-slot="support_3"] {
    height: auto;
    aspect-ratio: 5 / 4;
  }

  .dt-format-hero__image {
    height: auto;
    aspect-ratio: 9 / 10;
  }

  .dt-occurrence-hero > img,
  .dt-archive-entry-hero > img,
  .dt-occurrence-hero > .dt-responsive-picture > img,
  .dt-archive-entry-hero > .dt-responsive-picture > img {
    height: auto;
    aspect-ratio: 9 / 10;
  }
}
