.page-home {
  --ph-gold: #F5C518;
  --ph-flame: #FF5E0A;
  --ph-ink: #1F1A17;
  --ph-cream: #FAF3E8;
  --ph-night: #0D0D0D;
  --ph-blue: #00E5FF;
  --ph-border: 3px solid #1F1A17;
  --ph-shadow: 8px 8px 0 #1F1A17;
  --ph-shadow-sm: 4px 4px 0 #1F1A17;
  display: block;
}

.ph-hero {
  position: relative;
  color: var(--ph-cream);
  background: var(--ph-night);
  overflow: hidden;
  padding: clamp(64px, 8vw, 120px) 0 clamp(40px, 6vw, 88px);
}

.ph-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 197, 24, 0.18) 0%, rgba(255, 94, 10, 0.16) 40%, transparent 72%);
  pointer-events: none;
}

.ph-hero__bg::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(180deg, var(--ph-flame), var(--ph-gold));
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.92;
  z-index: 0;
}

.ph-hero__inner {
  position: relative;
  z-index: 2;
}

.ph-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.ph-hero__copy {
  background: var(--ph-night);
  border: var(--ph-border);
  box-shadow: var(--ph-shadow);
  padding: 28px 24px;
  transform: rotate(-0.6deg);
  position: relative;
  z-index: 2;
}

.ph-hero__tag {
  color: var(--ph-blue);
  margin-bottom: 12px;
}

.ph-hero__title {
  font-family: var(--lt-font-title);
  font-size: clamp(2rem, 6.5vw, 4.2rem);
  line-height: 1.1;
  margin: 0 0 16px;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 4px 4px 0 rgba(245, 197, 24, 0.35);
}

.ph-hero__lead {
  font-size: clamp(0.95rem, 1.6vw, 1.125rem);
  line-height: 1.8;
  color: rgba(250, 243, 232, 0.82);
  max-width: 56ch;
  margin-bottom: 24px;
}

.ph-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.ph-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--ph-gold);
  color: var(--ph-ink);
  font-weight: 700;
  border: var(--ph-border);
  box-shadow: var(--ph-shadow-sm);
  text-decoration: none;
  font-size: 1.05rem;
  transition: box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ph-hero__btn:hover {
  background: var(--ph-blue);
  box-shadow: 7px 7px 0 var(--ph-ink);
  transform: translate(-2px, -2px);
}

.ph-hero__btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.ph-hero__btn:hover .ph-hero__btn-arrow {
  transform: translateX(4px);
}

.ph-hero__ghost {
  color: rgba(250, 243, 232, 0.9);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.ph-hero__ghost:hover {
  color: var(--ph-blue);
  border-bottom-color: var(--ph-blue);
}

.ph-hero__stats {
  list-style: none;
  margin: 28px 0 0;
  padding: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid rgba(250, 243, 232, 0.2);
}

.ph-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ph-hero__stat-num {
  font-family: var(--lt-font-mono);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--ph-gold);
  letter-spacing: -0.02em;
}

.ph-hero__stat-unit {
  font-size: 0.8em;
  margin-left: 2px;
}

.ph-hero__stat-label {
  font-size: 0.78rem;
  color: rgba(250, 243, 232, 0.6);
  letter-spacing: 0.04em;
}

.ph-hero__figure {
  position: relative;
  margin: 0;
  border: var(--ph-border);
  box-shadow: var(--ph-shadow);
  background: var(--ph-gold);
  transform: rotate(1.2deg);
  overflow: hidden;
}

.ph-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}

.ph-hero__dragon {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
  background: linear-gradient(90deg, transparent 36%, rgba(245, 197, 24, 0.34) 36.5%, transparent 37%, transparent 60%, rgba(0, 229, 255, 0.22) 60.2%, transparent 61%);
}

.ph-hero__dragon-scale {
  position: absolute;
  width: 18px;
  height: 10px;
  background: var(--ph-gold);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform: rotate(14deg);
}

.ph-hero__dragon-scale:nth-child(1) { top: 18%; left: 8%; }
.ph-hero__dragon-scale:nth-child(2) { top: 28%; left: 24%; transform: rotate(24deg); }
.ph-hero__dragon-scale:nth-child(3) { top: 44%; left: 12%; transform: rotate(6deg); }
.ph-hero__dragon-scale:nth-child(4) { top: 58%; left: 30%; transform: rotate(18deg); }
.ph-hero__dragon-scale:nth-child(5) { top: 70%; left: 16%; transform: rotate(-6deg); }
.ph-hero__dragon-scale:nth-child(6) { top: 82%; left: 34%; transform: rotate(30deg); }

.ph-hero__coord {
  position: absolute;
  font-family: var(--lt-font-mono);
  font-size: 0.68rem;
  color: rgba(250, 243, 232, 0.45);
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  z-index: 3;
}

.ph-hero__coord--a {
  top: 16px;
  right: 16px;
}

.ph-hero__coord--b {
  bottom: 12px;
  left: 20px;
  writing-mode: horizontal-tb;
  font-size: 0.72rem;
  background: var(--ph-ink);
  padding: 6px 10px;
  border: 1px solid rgba(0, 229, 255, 0.4);
}

.ph-block {
  padding: clamp(56px, 9vw, 110px) 0;
  max-width: var(--lt-container-w);
  margin: 0 auto;
}

.ph-block-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 768px) {
  .ph-block-layout {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.ph-block-title {
  font-family: var(--lt-font-title);
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--ph-ink);
}

.ph-block-lead {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(31, 26, 23, 0.75);
  max-width: 58ch;
}

.ph-content {
  background: var(--ph-cream);
  padding: clamp(56px, 9vw, 110px) 0;
  border-bottom: 3px solid var(--ph-ink);
}

.ph-content .lt-container {
  max-width: var(--lt-container-w);
  margin: 0 auto;
  padding-inline: 20px;
}

.ph-content__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 40px;
}

.ph-content__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.ph-content__card {
  position: relative;
  background: var(--ph-cream);
  border: var(--ph-border);
  box-shadow: var(--ph-shadow-sm);
  padding: 24px 22px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ph-content__card:hover {
  box-shadow: 6px 6px 0 var(--ph-ink);
  border-color: var(--ph-gold);
  transform: translate(-2px, -2px);
}

.ph-content__card--feature {
  background: var(--ph-ink);
  color: var(--ph-cream);
  border-color: var(--ph-ink);
  box-shadow: 8px 8px 0 var(--ph-gold);
  grid-row: span 2;
}

.ph-content__card--feature .ph-content__card-text {
  color: rgba(250, 243, 232, 0.8);
}

.ph-content__card--feature .ph-content__card-title {
  color: var(--ph-gold);
}

.ph-content__card--feature:hover {
  box-shadow: 8px 8px 0 var(--ph-flame);
}

.ph-content__num {
  font-family: var(--lt-font-mono);
  font-size: 0.82rem;
  color: var(--ph-blue);
  margin: 0 0 6px;
  letter-spacing: 0.1em;
}

.ph-content__card-title {
  font-family: var(--lt-font-title);
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--ph-ink);
}

.ph-content__card-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(31, 26, 23, 0.7);
  margin: 0;
}

.ph-content__link {
  display: inline-block;
  margin-top: 14px;
  color: var(--ph-flame);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ph-content__link:hover {
  color: var(--ph-blue);
  border-bottom-color: var(--ph-blue);
}

.ph-content__media {
  margin-top: 18px;
  border: 2px solid rgba(250, 243, 232, 0.3);
  overflow: hidden;
}

.ph-content__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.ph-content__more {
  display: inline-block;
  width: fit-content;
  padding: 12px 22px;
  background: var(--ph-flame);
  color: #fff;
  font-weight: 700;
  border: var(--ph-border);
  box-shadow: var(--ph-shadow-sm);
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ph-content__more:hover {
  background: var(--ph-blue);
  color: var(--ph-ink);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ph-ink);
}

.ph-activity {
  background: var(--ph-night);
  color: var(--ph-cream);
  border-bottom: 3px solid var(--ph-ink);
}

.ph-activity__inner {
  max-width: var(--lt-container-w);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 110px) 20px;
}

.ph-activity__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 44px;
}

.ph-activity__tag {
  color: var(--ph-gold);
}

.ph-activity__title {
  font-family: var(--lt-font-title);
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  line-height: 1.2;
  margin: 0;
  color: #fff;
}

.ph-activity__lead {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(250, 243, 232, 0.7);
  max-width: 60ch;
}

.ph-activity__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.ph-activity__card {
  position: relative;
  background: rgba(250, 243, 232, 0.04);
  border: 2px solid rgba(250, 243, 232, 0.24);
  padding: 22px 20px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.ph-activity__card:hover {
  border-color: var(--ph-gold);
  background: rgba(245, 197, 24, 0.08);
  transform: rotate(-0.4deg);
}

.ph-activity__card--latest {
  background: rgba(245, 197, 24, 0.12);
  border-color: var(--ph-gold);
  border-width: 3px;
  transition: box-shadow 0.2s ease;
}

.ph-activity__card--latest:hover {
  box-shadow: 6px 6px 0 rgba(245, 197, 24, 0.5);
}

.ph-activity__period {
  font-family: var(--lt-font-mono);
  font-size: 1.2rem;
  margin: 0;
  color: var(--ph-flame);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.ph-activity__period-label {
  font-size: 0.7rem;
  color: rgba(250, 243, 232, 0.55);
  letter-spacing: 0.08em;
}

.ph-activity__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--ph-flame);
  color: #fff;
  padding: 4px 10px;
  border: 2px solid var(--ph-ink);
  box-shadow: 2px 2px 0 var(--ph-ink);
}

.ph-activity__name {
  font-family: var(--lt-font-title);
  font-size: 1.25rem;
  margin: 10px 0 6px;
  color: var(--ph-gold);
}

.ph-activity__desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(250, 243, 232, 0.68);
  margin: 0;
}

.ph-activity__poster {
  margin-top: 16px;
  border: 2px solid rgba(245, 197, 24, 0.4);
  overflow: hidden;
}

.ph-activity__poster img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ph-activity__archive {
  display: inline-block;
  width: fit-content;
  padding: 12px 22px;
  background: transparent;
  color: var(--ph-cream);
  font-weight: 700;
  border: 2px solid rgba(250, 243, 232, 0.5);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.ph-activity__archive:hover {
  border-color: var(--ph-blue);
  color: var(--ph-blue);
  background: rgba(0, 229, 255, 0.08);
}

.ph-query {
  background: var(--ph-cream);
  padding: clamp(56px, 9vw, 110px) 0;
  border-bottom: 3px solid var(--ph-ink);
}

.ph-query__grid {
  max-width: var(--lt-container-w);
  margin: 0 auto;
  padding-inline: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.ph-query__figure {
  margin: 0;
  position: relative;
  background: var(--ph-night);
  border: var(--ph-border);
  box-shadow: var(--ph-shadow);
  transform: rotate(-1.4deg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ph-query__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--ph-blue);
  pointer-events: none;
  opacity: 0.3;
  mix-blend-mode: overlay;
}

.ph-query__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.ph-query__content {
  padding: 8px 0;
}

.ph-query__lead {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(16, 16, 16, 0.82);
  max-width: 58ch;
  margin: 16px 0 22px;
}

.ph-query__list {
  list-style-type: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ph-query__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(31, 26, 23, 0.8);
}

.ph-query__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  background: var(--ph-flame);
  border: 2px solid var(--ph-ink);
  transform: rotate(45deg);
}

.ph-query__btn {
  display: inline-block;
  background: var(--ph-ink);
  color: var(--ph-cream);
  font-weight: 700;
  padding: 13px 26px;
  border: 2px solid var(--ph-ink);
  box-shadow: var(--ph-shadow-sm);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ph-query__btn:hover {
  background: var(--ph-blue);
  color: var(--ph-ink);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 229, 255, 0.4);
}

.ph-service {
  background: var(--ph-gold);
  padding: clamp(56px, 9vw, 110px) 0;
  border-bottom: 3px solid var(--ph-ink);
}

.ph-service .lt-container {
  max-width: var(--lt-container-w);
  margin: 0 auto;
  padding-inline: 20px;
}

.ph-service__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 44px;
}

.ph-service__head .ph-block-title {
  color: var(--ph-ink);
}

.ph-service__head .ph-block-lead {
  color: rgba(31, 26, 23, 0.75);
}

.ph-service__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.ph-service__card {
  display: block;
  background: var(--ph-cream);
  border: var(--ph-border);
  box-shadow: var(--ph-shadow-sm);
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ph-service__card:hover {
  transform: rotate(-0.6deg) scale(1.01);
  box-shadow: var(--ph-shadow);
  border-color: var(--ph-flame);
}

.ph-service__code {
  font-family: var(--lt-font-mono);
  font-size: 0.78rem;
  color: var(--ph-flame);
  margin: 0 0 8px;
  letter-spacing: 0.08em;
}

.ph-service__label {
  display: block;
  font-family: var(--lt-font-title);
  font-size: 1.15rem;
  color: var(--ph-ink);
  margin-bottom: 6px;
}

.ph-service__text {
  font-family: var(--lt-font-body);
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(31, 26, 23, 0.7);
  margin: 0;
}

.ph-brief {
  background: var(--ph-cream);
  padding: clamp(32px, 4vw, 56px) 0;
}

.ph-brief__inner {
  max-width: var(--lt-container-w);
  margin: 0 auto;
  padding-inline: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ph-brief__inner p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(31, 26, 23, 0.7);
  max-width: 68ch;
  margin: 0;
}

.ph-brief__inner a {
  display: inline-block;
  width: fit-content;
  color: var(--ph-ink);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 3px solid var(--ph-flame);
  transition: border-color 0.2s ease, color 0.2s ease, letter-spacing 0.2s ease;
}

.ph-brief__inner a:hover {
  color: var(--ph-flame);
  border-bottom-color: var(--ph-blue);
  letter-spacing: 0.02em;
}

@media (min-width: 640px) {
  .ph-content__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .ph-activity__card--latest {
    grid-column: span 2;
  }

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

  .ph-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 520px;
  }
}

@media (min-width: 992px) {
  .ph-hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .ph-hero__copy {
    padding: 44px 40px;
    transform: rotate(-0.8deg);
    z-index: 3;
    margin-right: -40px;
    box-shadow: 10px 10px 0 rgba(0, 229, 255, 0.35);
  }

  .ph-hero__figure {
    z-index: 2;
    margin-left: -20px;
  }

  .ph-content__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .ph-content__card--feature {
    grid-column: span 1;
    grid-row: span 2;
  }

  .ph-content__more {
    align-self: start;
  }

  .ph-query__grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .ph-service__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .ph-brief__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .ph-hero__copy {
    padding: 50px;
  }

  .ph-content__grid {
    gap: 28px;
  }

  .ph-service__grid {
    gap: 28px;
  }
}
