:root {
  --phd-bg: #09090d;
  --phd-bg-soft: #11121a;
  --phd-card: rgba(255,255,255,.075);
  --phd-card-strong: rgba(255,255,255,.12);
  --phd-text: #f5f5f7;
  --phd-muted: #b6b8c5;
  --phd-line: rgba(255,255,255,.14);
  --phd-red: #e40f1f;
  --phd-red-dark: #a80d18;
  --phd-radius: 24px;
  --phd-shadow: 0 24px 80px rgba(0,0,0,.42);
  --phd-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.projekthd-site {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(228,15,31,.24), transparent 34rem),
    radial-gradient(circle at 80% 5%, rgba(255,255,255,.10), transparent 28rem),
    linear-gradient(180deg, #08080d 0%, #0b0c12 48%, #08080d 100%);
  color: var(--phd-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
body.projekthd-site img { max-width: 100%; height: auto; display: block; }
body.projekthd-site a { color: inherit; }
body.projekthd-site .phd-skip {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 999;
  background: #fff;
  color: #000;
  padding: .75rem 1rem;
  border-radius: .75rem;
}
body.projekthd-site .phd-skip:focus { top: 1rem; }

.com-content-article,
.blog,
.item-page,
.projekthd-site main {
  width: 100%;
}
.com-content-article__body { margin: 0; }
.com-content-article > h1,
.com-content-article .page-header,
.item-page > .page-header { display: none; }

.phd-page {
  min-height: 100vh;
  overflow: hidden;
}
.phd-shell {
  width: min(var(--phd-max), calc(100% - 40px));
  margin: 0 auto;
}
.phd-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(9,9,13,.74);
  border-bottom: 1px solid var(--phd-line);
}
.phd-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}
.phd-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.phd-brand img {
  width: 120px;
  height: auto;
}
.phd-brand span { font-size: .82rem; color: var(--phd-muted); }
.phd-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.phd-nav a {
  text-decoration: none;
  color: var(--phd-muted);
  padding: .6rem .78rem;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
  font-weight: 650;
  font-size: .95rem;
}
.phd-nav a:hover,
.phd-nav a:focus-visible {
  color: var(--phd-text);
  background: rgba(255,255,255,.08);
}
.phd-btn,
.phd-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: .78rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--phd-red), var(--phd-red-dark));
  color: white;
  border: 1px solid rgba(255,255,255,.15);
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(228,15,31,.25);
}
.phd-btn--ghost {
  background: rgba(255,255,255,.08);
  box-shadow: none;
}
.phd-hero {
  position: relative;
  padding: 78px 0 52px;
}
.phd-hero::before {
  content: "";
  position: absolute;
  inset: -16% -18% auto auto;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(228,15,31,.26), transparent 62%);
  pointer-events: none;
}
.phd-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 42px;
  align-items: center;
}
.phd-kicker {
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  color: #fff;
  background: rgba(228,15,31,.16);
  border: 1px solid rgba(228,15,31,.42);
  border-radius: 999px;
  padding: .42rem .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
}
.phd-kicker::before {
  content: "";
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--phd-red);
  box-shadow: 0 0 0 6px rgba(228,15,31,.16);
}
.phd-hero h1 {
  margin: 24px 0 18px;
  max-width: 760px;
  font-size: clamp(2.4rem, 7vw, 5.9rem);
  line-height: .9;
  letter-spacing: -.075em;
}
.phd-hero h1 strong {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.86);
  text-stroke: 1px rgba(255,255,255,.86);
}
.phd-lead {
  max-width: 650px;
  margin: 0 0 28px;
  color: var(--phd-muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
}
.phd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.phd-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
  max-width: 620px;
}
.phd-stat {
  border: 1px solid var(--phd-line);
  background: rgba(255,255,255,.055);
  padding: 16px;
  border-radius: 18px;
}
.phd-stat b { display: block; font-size: 1.55rem; line-height: 1; }
.phd-stat span { color: var(--phd-muted); font-size: .9rem; }
.phd-video-frame {
  border-radius: var(--phd-radius);
  overflow: hidden;
  box-shadow: var(--phd-shadow);
  background: #000;
  border: 1px solid rgba(255,255,255,.18);
  transform: rotate(1deg);
}
.phd-video-frame iframe,
.phd-video-frame .phd-video-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.phd-video-placeholder {
  background:
    linear-gradient(135deg, rgba(0,0,0,.18), rgba(0,0,0,.68)),
    url('../images/ania-kamil.jpg') center/cover;
}
.phd-section {
  padding: 72px 0;
}
.phd-section--soft {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  border-top: 1px solid var(--phd-line);
  border-bottom: 1px solid var(--phd-line);
}
.phd-section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}
.phd-eyebrow {
  margin: 0 0 8px;
  color: var(--phd-red);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 900;
  font-size: .78rem;
}
.phd-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -.045em;
  line-height: 1;
}
.phd-section__head p {
  max-width: 420px;
  color: var(--phd-muted);
  margin: 0;
}
.phd-film-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.phd-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--phd-radius);
  background: var(--phd-card);
  border: 1px solid var(--phd-line);
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
}
.phd-card--wide { grid-column: span 2; }
.phd-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .76;
  transform: scale(1.02);
  transition: transform .35s ease, opacity .35s ease;
}
.phd-card:hover .phd-card__image { transform: scale(1.08); opacity: .92; }
.phd-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.92));
}
.phd-card__body {
  position: absolute;
  z-index: 2;
  inset: auto 0 0 0;
  padding: 24px;
}
.phd-pill {
  display: inline-flex;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  padding: .28rem .55rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  font-size: .78rem;
  margin-bottom: 10px;
}
.phd-card h3 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.05;
}
.phd-card p { margin: 0 0 16px; color: rgba(255,255,255,.82); }
.phd-card__link { min-height: 40px; padding: .62rem .9rem; font-size: .92rem; }
.phd-offer-grid,
.phd-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.phd-offer {
  border: 1px solid var(--phd-line);
  background: rgba(255,255,255,.055);
  border-radius: var(--phd-radius);
  padding: 26px;
}
.phd-offer b {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: rgba(228,15,31,.18);
  color: #fff;
  margin-bottom: 20px;
}
.phd-offer h3 { margin: 0 0 10px; font-size: 1.25rem; }
.phd-offer p { margin: 0; color: var(--phd-muted); }
.phd-about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: start;
}
.phd-about__text {
  border-radius: var(--phd-radius);
  border: 1px solid var(--phd-line);
  background: rgba(255,255,255,.055);
  padding: 30px;
}
.phd-about__text p { color: var(--phd-muted); }
.phd-about__text p:last-child { margin-bottom: 0; }
.phd-contact {
  border-radius: calc(var(--phd-radius) + 8px);
  background:
    radial-gradient(circle at 18% 0%, rgba(228,15,31,.35), transparent 26rem),
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.18);
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--phd-shadow);
}
.phd-contact-grid {
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
}
.phd-contact h2 { margin: 0 0 14px; }
.phd-contact p { color: var(--phd-muted); max-width: 650px; }
.phd-contact-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.phd-contact-list a,
.phd-contact-list span {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-weight: 750;
}
.phd-contact-list small { color: var(--phd-muted); font-weight: 650; }
.phd-footer {
  padding: 28px 0 42px;
  color: var(--phd-muted);
  border-top: 1px solid var(--phd-line);
  font-size: .92rem;
}
.phd-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .phd-hero__grid,
  .phd-about,
  .phd-contact-grid { grid-template-columns: 1fr; }
  .phd-film-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phd-card--wide { grid-column: span 1; }
  .phd-video-frame { transform: none; }
  .phd-section__head { align-items: start; flex-direction: column; }
}
@media (max-width: 720px) {
  .phd-shell { width: min(100% - 28px, var(--phd-max)); }
  .phd-topbar__inner { min-height: auto; padding: 14px 0; align-items: flex-start; }
  .phd-brand img { width: 98px; }
  .phd-brand span { display: none; }
  .phd-nav { gap: 2px; }
  .phd-nav a { padding: .45rem .55rem; font-size: .86rem; }
  .phd-hero { padding: 44px 0 36px; }
  .phd-hero h1 { font-size: clamp(2.55rem, 15vw, 4.3rem); }
  .phd-actions { flex-direction: column; align-items: stretch; }
  .phd-stats { grid-template-columns: 1fr; }
  .phd-section { padding: 52px 0; }
  .phd-film-grid,
  .phd-offer-grid { grid-template-columns: 1fr; }
  .phd-card { min-height: 315px; }
  .phd-card__body { padding: 20px; }
  .phd-contact { padding: 26px; }
  .phd-footer__inner { display: grid; }
}
