/* Wspólny motyw premium/cinematic strony głównej, podstron i strony 404. */

.home-cinematic {
  --cinematic-gold: #f0c766;
  --cinematic-gold-2: #a77422;
  --cinematic-deep: #030303;
  background:
    linear-gradient(180deg, #030303 0%, #070604 44%, #030303 100%);
}

.home-page .container {
  width: min(100% - 56px, 1320px);
}

.home-cinematic::before {
  opacity: 0.32;
}

.home-cinematic .site-header {
  position: sticky;
  background: rgba(1, 1, 1, 0.58);
  border-bottom: 1px solid rgba(240, 199, 102, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(18px);
}

.home-page .nav {
  min-height: 64px;
}

.home-page .site-header {
  background: rgba(1, 1, 1, 0.78);
}

.home-cinematic .cinematic-logo {
  color: var(--cinematic-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  text-shadow: 0 0 22px rgba(240, 199, 102, 0.18);
}

.home-cinematic .nav-links {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  color: rgba(245, 242, 234, 0.84);
}

.home-cinematic .nav-links a:hover,
.home-cinematic .nav-links a[aria-current="page"] {
  color: var(--cinematic-gold);
  text-shadow: 0 0 18px rgba(240, 199, 102, 0.38);
}

.cinematic-hero {
  position: relative;
  min-height: calc(100vh - 82px);
  min-height: calc(100svh - 82px);
  padding: 78px 0 52px;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.03) 0%,
      rgba(0, 0, 0, 0.12) 30%,
      rgba(0, 0, 0, 0.26) 50%,
      rgba(0, 0, 0, 0.11) 70%,
      rgba(0, 0, 0, 0.02) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.01), rgba(5,4,2,0.42) 100%),
    url("../img/home-cinematic-bg.webp") center center / cover no-repeat;
  overflow: hidden;
}

.cinematic-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 48%, rgba(0,0,0,0.24) 0%, rgba(0,0,0,0.12) 34%, rgba(0,0,0,0.00) 62%);
  pointer-events: none;
}

.cinematic-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent, #050505 88%);
  pointer-events: none;
}

.home-page .cinematic-hero {
  min-height: 500px;
  height: clamp(500px, 35vw, 570px);
  padding: 24px 0 76px;
  background-position: center center;
}

.cinematic-hero-inner {
  max-width: 940px;
  z-index: 2;
  padding-top: 0;
}

.home-page .cinematic-hero-inner {
  max-width: 900px;
  padding-top: 24px;
}

.cinematic-hero-inner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(920px, 96vw);
  height: 430px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.16), rgba(0,0,0,0.06) 48%, transparent 74%);
  filter: blur(6px);
  pointer-events: none;
  z-index: -1;
}

.home-cinematic h1 {
  color: #f8f6f0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 8vw, 106px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-shadow:
    0 1px 0 #ffffff,
    0 8px 28px rgba(0,0,0,0.88),
    0 0 34px rgba(240, 199, 102, 0.10);
}

.home-page h1 {
  position: relative;
  margin-bottom: 12px;
}

.home-page h1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: min(340px, 52vw);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #d99a24 18%, #fff1b0 50%, #d99a24 82%, transparent);
  box-shadow: 0 0 14px rgba(255, 191, 55, 0.9);
}

.home-cinematic .headline {
  color: var(--cinematic-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 4.2vw, 52px);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 0 28px rgba(240, 199, 102, 0.23);
}

.home-page .headline {
  margin-bottom: 10px;
  font-size: clamp(30px, 3.55vw, 48px);
  line-height: 1.15;
}

.home-cinematic .lead {
  max-width: 690px;
  color: rgba(245, 242, 234, 0.78);
  font-size: clamp(17px, 2vw, 22px);
  text-shadow: 0 3px 18px rgba(0,0,0,0.76);
}

.home-page .lead {
  max-width: 690px;
  line-height: 1.48;
}

.home-page .cta-row {
  margin-top: 24px;
  gap: 30px;
}

.cinematic-btn {
  min-width: 224px;
  border-radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  min-height: 58px;
}

.cinematic-btn.btn-primary {
  background:
    linear-gradient(180deg, #ffe18c 0%, #e0aa39 42%, #9c681b 100%);
  color: #160f04;
  border: 1px solid rgba(255, 229, 142, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 0 28px rgba(240, 199, 102, 0.22),
    0 20px 52px rgba(0,0,0,0.55);
}

.cinematic-btn.ghost {
  color: var(--cinematic-gold);
  background: rgba(0,0,0,0.36);
  border-color: rgba(240, 199, 102, 0.74);
  box-shadow: inset 0 0 24px rgba(240, 199, 102, 0.05);
}

.project-stage {
  position: relative;
  padding: 0 0 64px;
  margin-top: -34px;
  z-index: 4;
  background: linear-gradient(180deg, rgba(3,3,3,0.02), #030303 18%, #050505 100%);
}

.project-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  max-width: 560px;
  margin: 0 auto 12px;
}

.project-heading span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 199, 102, 0.88));
  filter: drop-shadow(0 0 7px rgba(240, 199, 102, 0.55));
}

.project-heading span:last-child {
  background: linear-gradient(90deg, rgba(240, 199, 102, 0.88), transparent);
}

.project-heading .section-kicker {
  margin: 0;
  color: var(--cinematic-gold);
  font-family: Georgia, "Times New Roman", serif;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: clamp(24px, 2.4vw, 32px);
}

.cinematic-projects {
  gap: 34px;
  margin-top: 10px;
}

.cinematic-projects .project-card {
  min-height: 402px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 26px 78px;
  border-radius: 15px;
  border-color: rgba(240, 199, 102, 0.55);
  background:
    linear-gradient(180deg, rgba(240, 199, 102, 0.08), rgba(255,255,255,0.02) 46%, rgba(0,0,0,0.18)),
    rgba(2,3,3,0.9);
  box-shadow:
    inset 0 0 32px rgba(255,255,255,0.025),
    0 26px 90px rgba(0,0,0,0.72);
}

.cinematic-projects .project-card.running {
  border-color: rgba(240, 199, 102, 0.76);
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.02) 0%,
      rgba(0,0,0,0.02) 40%,
      rgba(0,0,0,0.34) 57%,
      rgba(0,0,0,0.80) 76%,
      rgba(0,0,0,0.94) 100%),
    url("../img/running-card-bg-v2.jpg") center top / cover no-repeat;
  box-shadow:
    inset 0 0 36px rgba(240, 199, 102, 0.04),
    0 26px 90px rgba(0,0,0,0.76),
    0 0 28px rgba(240, 199, 102, 0.08);
}

.cinematic-projects .project-card.forex {
  border-color: rgba(46, 204, 113, 0.72);
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.02) 0%,
      rgba(0,0,0,0.02) 40%,
      rgba(0,0,0,0.34) 57%,
      rgba(0,0,0,0.80) 76%,
      rgba(0,0,0,0.94) 100%),
    url("../img/forex-card-bg-v2.jpg") center top / cover no-repeat;
  box-shadow:
    inset 0 0 36px rgba(46, 204, 113, 0.05),
    0 26px 90px rgba(0,0,0,0.76),
    0 0 28px rgba(46, 204, 113, 0.09);
}

.cinematic-projects .project-card.ai {
  border-color: rgba(42, 139, 255, 0.72);
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.02) 0%,
      rgba(0,0,0,0.02) 40%,
      rgba(0,0,0,0.34) 57%,
      rgba(0,0,0,0.80) 76%,
      rgba(0,0,0,0.94) 100%),
    url("../img/ai-card-bg-v2.jpg") center top / cover no-repeat;
  box-shadow:
    inset 0 0 36px rgba(42, 139, 255, 0.05),
    0 26px 90px rgba(0,0,0,0.76),
    0 0 28px rgba(42, 139, 255, 0.10);
}

.cinematic-projects .project-card::before {
  background:
    radial-gradient(circle at 50% 21%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 23%),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 5%, transparent), transparent 62%);
  opacity: 1;
}

.cinematic-projects .project-card::after {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 44%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 28px);
  border-radius: 14px;
  opacity: 0.76;
  z-index: 0;
}

.cinematic-projects .project-card.running::after {
  background: linear-gradient(180deg, transparent 0 45%, rgba(0,0,0,0.08) 52%, rgba(0,0,0,0.34) 72%, rgba(0,0,0,0.54) 100%);
  opacity: 1;
}

.cinematic-projects .project-card.forex::after {
  background: linear-gradient(180deg, transparent 0 45%, rgba(0,0,0,0.08) 52%, rgba(0,0,0,0.34) 72%, rgba(0,0,0,0.54) 100%);
  opacity: 1;
}

.cinematic-projects .project-card.ai::after {
  background: linear-gradient(180deg, transparent 0 45%, rgba(0,0,0,0.08) 52%, rgba(0,0,0,0.34) 72%, rgba(0,0,0,0.54) 100%);
  opacity: 1;
}

.card-visual {
  position: relative;
  width: 100%;
  min-height: 176px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}

.cinematic-projects .project-card.running .card-visual,
.cinematic-projects .project-card.forex .card-visual,
.cinematic-projects .project-card.ai .card-visual {
  min-height: 210px;
  margin-bottom: 0;
}

.running-emblem {
  width: 136px;
  height: 136px;
  object-fit: contain;
  transform: translate(-3px, -26px);
  filter:
    drop-shadow(0 8px 14px rgba(0,0,0,0.64))
    drop-shadow(0 0 9px rgba(240,199,102,0.24));
}

.forex-emblem {
  width: 152px;
  height: 152px;
  object-fit: contain;
  transform: translate(-5px, -25px);
  filter:
    drop-shadow(0 8px 14px rgba(0,0,0,0.64))
    drop-shadow(0 0 9px rgba(46,204,113,0.28));
}

.ai-emblem {
  width: 128px;
  height: 128px;
  object-fit: contain;
  transform: translate(0, -20px);
  filter:
    drop-shadow(0 8px 14px rgba(0,0,0,0.64))
    drop-shadow(0 0 10px rgba(42,139,255,0.30));
}

.card-visual::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 92px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent);
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 11%, transparent), transparent 64%);
  transform: perspective(260px) rotateX(64deg);
  bottom: 3px;
  filter: drop-shadow(0 0 16px color-mix(in srgb, var(--accent) 28%, transparent));
}

.project-card .premium-card-art::before {
  display: none;
}

.icon-orb {
  position: relative;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border: 2px solid color-mix(in srgb, var(--accent) 78%, white 8%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,0.08), transparent 34%),
    rgba(0,0,0,0.38);
  box-shadow:
    0 0 22px color-mix(in srgb, var(--accent) 64%, transparent),
    inset 0 0 26px color-mix(in srgb, var(--accent) 18%, transparent);
  z-index: 2;
}

.icon-orb::before,
.icon-orb::after {
  content: "";
  position: absolute;
  inset: -11px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, transparent);
  opacity: 0.8;
}

.icon-orb::after {
  inset: -20px;
  opacity: 0.28;
}

.icon-orb img {
  width: 74px;
  height: 74px;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--accent) 60%, transparent));
}

.cinematic-projects .card-visual,
.cinematic-projects .project-card h3,
.cinematic-projects .project-card p,
.cinematic-projects .card-action {
  position: relative;
  z-index: 1;
}

.cinematic-projects .project-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 3.2vw, 48px);
  font-weight: 700;
  letter-spacing: 0;
  color: #f7f5ee;
  text-shadow: 0 0 22px rgba(0,0,0,0.8);
}

.cinematic-projects .project-card p {
  max-width: 310px;
  color: rgba(245, 242, 234, 0.73);
  min-height: 54px;
  font-size: 17px;
  line-height: 1.48;
}

.cinematic-projects .card-action {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 64px;
  display: grid;
  place-items: center;
  transform: none;
  border-top: 1px solid rgba(240, 199, 102, 0.17);
  background: rgba(0, 0, 0, 0.34);
  font-size: 18px;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.cinematic-projects .project-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: color-mix(in srgb, var(--accent) 72%, white 10%);
  box-shadow:
    inset 0 0 42px color-mix(in srgb, var(--accent) 7%, transparent),
    0 34px 100px rgba(0,0,0,0.78),
    0 0 34px color-mix(in srgb, var(--accent) 22%, transparent);
}

.cinematic-projects .project-card.is-disabled {
  pointer-events: none;
  cursor: default;
}

.cinematic-projects .project-card.is-disabled .card-action {
  opacity: 0.68;
}

.home-about {
  padding-top: 64px;
}

.home-cinematic .about-card {
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: stretch;
  gap: clamp(30px, 4vw, 58px);
  border-color: rgba(240, 199, 102, 0.24);
  background: linear-gradient(180deg, rgba(240, 199, 102, 0.055), rgba(255,255,255,0.022));
}

.home-about .about-copy {
  align-self: start;
  max-width: 920px;
}

.about-portrait-frame {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 4 / 5;
  min-height: 420px;
  align-self: start;
  justify-self: end;
  border: 1px solid rgba(240, 199, 102, 0.34);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(240, 199, 102, 0.045), rgba(255,255,255,0.012));
  box-shadow:
    inset 0 0 36px rgba(240, 199, 102, 0.025),
    0 22px 60px rgba(0,0,0,0.34);
  overflow: hidden;
}

.about-portrait-frame::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(240, 199, 102, 0.12);
  border-radius: 16px;
}

.about-socials {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1.68fr);
  gap: 22px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(240, 199, 102, 0.16);
}

.about-socials-label {
  color: #e5bd58;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-profiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.social-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 12px;
  color: rgba(245, 242, 234, 0.66);
  background: rgba(255,255,255,0.018);
  cursor: default;
}

.social-profile-mark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 199, 102, 0.52);
  border-radius: 9px;
  color: #e5bd58;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
}

.social-profile strong,
.social-profile small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-profile strong {
  color: rgba(245, 242, 234, 0.76);
  font-size: 13px;
  font-weight: 600;
}

.social-profile small {
  color: rgba(245, 242, 234, 0.40);
  font-size: 11px;
  margin-top: 2px;
}

.cinematic-footer {
  position: relative;
  text-align: center;
  border-top-color: transparent;
  background-image: linear-gradient(
    90deg,
    rgba(240, 199, 102, 0.22) 0 calc(50% - 42px),
    transparent calc(50% - 42px) calc(50% + 42px),
    rgba(240, 199, 102, 0.22) calc(50% + 42px) 100%
  );
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 1px;
}

.home-page .cinematic-footer .footer-inner {
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.footer-projects {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.running-label {
  color: var(--cinematic-gold);
}

.forex-label {
  color: var(--green);
}

.ai-label {
  color: #42a0ff;
}

.cinematic-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -30px;
  width: 60px;
  height: 60px;
  transform: translateX(-50%);
  background: url("../img/site-logo-mark.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 12px rgba(240, 199, 102, 0.20));
  pointer-events: none;
}

.project-page {
  --page-accent: var(--cinematic-gold);
}

.project-page.project-forex {
  --page-accent: var(--green);
}

.project-page.project-tipmetry {
  --page-accent: var(--blue);
}

.project-page.project-ai {
  --page-accent: var(--blue);
}

.project-page .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(82px, 10vw, 124px);
}

.project-page .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 10%, color-mix(in srgb, var(--page-accent) 14%, transparent), transparent 54%);
  pointer-events: none;
  z-index: -1;
}

.project-page h1 {
  font-size: clamp(50px, 8vw, 84px);
}

.project-page .headline {
  color: var(--page-accent);
  font-size: clamp(27px, 3.6vw, 43px);
  text-shadow: 0 0 28px color-mix(in srgb, var(--page-accent) 24%, transparent);
}

.project-page .eyebrow {
  border-color: color-mix(in srgb, var(--page-accent) 42%, transparent);
  background: color-mix(in srgb, var(--page-accent) 8%, rgba(0, 0, 0, 0.7));
}

.project-page .eyebrow-dot,
.project-page .list-clean li::before {
  background: var(--page-accent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--page-accent) 62%, transparent);
}

.project-page .section-title {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

.project-page .content-card {
  border-color: color-mix(in srgb, var(--page-accent) 20%, var(--border));
}

.error-page .cinematic-hero {
  min-height: calc(100vh - 82px);
  min-height: calc(100svh - 82px);
}

.error-page .cinematic-hero-inner {
  max-width: 840px;
}

.error-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--cinematic-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(72px, 12vw, 148px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-shadow:
    0 2px 0 rgba(255,255,255,0.18),
    0 16px 42px rgba(0,0,0,0.92),
    0 0 36px rgba(240, 199, 102, 0.2);
}

.error-page h1 {
  margin-bottom: 20px;
  font-size: clamp(44px, 6.3vw, 82px);
}

.error-page .lead {
  max-width: 620px;
}

.error-card {
  position: relative;
  width: min(100%, 760px);
  margin: 38px auto 0;
  padding: 18px 22px;
  border: 1px solid rgba(240, 199, 102, 0.24);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(245, 242, 234, 0.68);
  box-shadow:
    inset 0 0 24px rgba(240, 199, 102, 0.035),
    0 24px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.error-card strong {
  color: var(--cinematic-gold);
  font-weight: 700;
}

.error-page .cinematic-footer {
  margin-top: 0;
}

@media (max-width: 900px) {
  .home-page .container {
    width: min(100% - 36px, 720px);
  }

  .home-cinematic .cinematic-logo {
    font-size: 26px;
  }

  .cinematic-hero {
    min-height: auto;
    padding-top: 78px;
    background-position: center center;
  }

  .home-page .cinematic-hero {
    height: auto;
    min-height: 540px;
    padding: 48px 0 82px;
    background-position: 57% center;
  }

  .home-page .cinematic-hero-inner {
    padding-top: 18px;
  }

  .home-page .cta-row {
    gap: 16px;
  }

  .project-stage {
    margin-top: -28px;
  }

  .cinematic-projects {
    gap: 18px;
  }

  .cinematic-projects .project-card {
    min-height: 402px;
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .home-cinematic .about-card {
    grid-template-columns: 1fr;
  }

  .about-portrait-frame {
    width: min(100%, 320px);
    min-height: 400px;
    justify-self: center;
  }

  .about-socials {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .social-profiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .home-page .container {
    width: min(100% - 28px, 720px);
  }

  .home-page .nav {
    min-height: 62px;
  }

  .home-page .cinematic-hero {
    min-height: 520px;
    padding: 40px 0 74px;
    background-position: 63% center;
  }

  .home-page .cinematic-hero-inner {
    padding-top: 12px;
  }

  .home-cinematic h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .home-cinematic .headline {
    font-size: clamp(28px, 9vw, 36px);
  }

  .home-page .lead {
    font-size: 16px;
    line-height: 1.55;
  }

  .home-page .cta-row {
    margin-top: 22px;
    gap: 12px;
  }

  .cinematic-btn {
    min-width: 100%;
  }

  .project-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-heading span {
    display: none;
  }

  .project-stage {
    margin-top: -18px;
    padding-bottom: 48px;
  }

  .cinematic-projects {
    gap: 18px;
  }

  .cinematic-projects .project-card {
    min-height: 410px;
    padding-inline: 20px;
  }

  .card-visual {
    min-height: 166px;
  }

  .icon-orb {
    width: 138px;
    height: 138px;
  }

  .cinematic-projects .project-card p {
    min-height: auto;
  }

  .social-profiles {
    grid-template-columns: 1fr;
  }

  .about-portrait-frame {
    min-height: 360px;
  }

  .footer-projects {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
}
