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

html {
    scroll-behavior: smooth;
    background: var(--pd-black);
}

body {
    margin: 0;
    background: var(--pd-dark);
    color: var(--pd-white);
    font-family: var(--pd-font-body);
    font-size: 16px;
    line-height: 1.7;
}

body.is-menu-open {
    overflow: hidden;
}

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

a {
    color: var(--pd-yellow-soft);
}

p {
    max-width: 68ch;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--pd-white);
    font-family: var(--pd-font-display);
    line-height: 1;
}

.pd-container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

.screen-reader-text,
.pd-skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.pd-skip-link:focus {
    z-index: 999;
    width: auto;
    height: auto;
    padding: 12px 16px;
    clip: auto;
    background: var(--pd-yellow);
    color: var(--pd-black);
}

.pd-site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid var(--pd-border);
    background: var(--pd-black);
    transition: transform var(--pd-transition-slow), box-shadow var(--pd-transition);
}

.pd-site-header.is-scrolled {
    box-shadow: var(--pd-shadow-md);
}

.pd-site-header.is-topbar-hidden .pd-topbar {
    display: none;
}

.pd-topbar {
    border-bottom: 1px solid var(--pd-border);
    background: var(--pd-black);
    color: var(--pd-muted-l);
    font-family: var(--pd-font-heading);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pd-topbar__inner {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.pd-nav-wrap {
    background: var(--pd-dark);
}

.pd-nav {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.pd-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--pd-white);
    font-family: var(--pd-font-heading);
    text-decoration: none;
    text-transform: uppercase;
}

.pd-logo-circle {
    display: inline-flex;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--pd-yellow);
    border-radius: 50%;
    background: #ffffff;
    box-shadow: var(--pd-shadow-sm);
}

.pd-logo-circle img {
    display: block;
    width: 82%;
    height: 82%;
    object-fit: contain;
}

.pd-brand__tagline {
    color: var(--pd-muted-l);
    font-size: 12px;
    letter-spacing: 0.1em;
}

.pd-primary-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.pd-menu,
.pd-footer-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pd-menu a,
.pd-footer-menu a {
    color: var(--pd-white);
    font-family: var(--pd-font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.pd-menu a:hover,
.pd-menu .current-menu-item > a {
    color: var(--pd-yellow-soft);
}

.pd-theme-toggle {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-sm);
    background: var(--pd-surface);
    color: var(--pd-white);
    cursor: pointer;
    font-family: var(--pd-font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pd-theme-toggle__icon {
    position: relative;
    width: 18px;
    height: 18px;
    border: 2px solid var(--pd-yellow);
    border-radius: 50%;
}

.pd-theme-toggle__icon::after {
    position: absolute;
    inset: 2px 0 2px 8px;
    background: var(--pd-yellow);
    content: "";
}

html[data-pd-theme="light"] .pd-theme-toggle__icon::after {
    inset: 2px 8px 2px 0;
}

.pd-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-sm);
    background: var(--pd-surface);
    color: var(--pd-white);
}

.pd-menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    background: var(--pd-white);
}

.pd-menu-close {
    display: none;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-sm);
    background: var(--pd-surface);
    color: var(--pd-white);
    cursor: pointer;
}

.pd-menu-close span:not(.screen-reader-text) {
    grid-area: 1 / 1;
    display: block;
    width: 24px;
    height: 2px;
    background: var(--pd-white);
}

.pd-menu-close span:first-child {
    transform: rotate(45deg);
}

.pd-menu-close span:nth-child(2) {
    transform: rotate(-45deg);
}

.pd-site-main {
    min-height: 60vh;
}

.pd-page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 10vw, 136px) 0 clamp(44px, 7vw, 80px);
    border-bottom: 1px solid var(--pd-border);
    background: var(--pd-black);
}

.pd-page-hero::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, var(--pd-black), transparent),
        linear-gradient(180deg, transparent, var(--pd-dark));
    opacity: 0.72;
    content: "";
}

.pd-page-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 42%);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}

.pd-page-hero__content {
    min-width: 0;
}

.pd-page-hero h1 {
    max-width: 980px;
    margin: 8px 0 0;
    font-size: clamp(44px, 7vw, 88px);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.pd-page-hero p {
    color: var(--pd-muted-l);
}

.pd-page-hero__media {
    position: relative;
    min-height: clamp(300px, 38vw, 520px);
    overflow: hidden;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius);
    background: var(--pd-surface);
    box-shadow: var(--pd-shadow-lg);
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.pd-page-hero__media::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-left: 4px solid var(--pd-yellow);
    background: linear-gradient(90deg, var(--pd-black), transparent);
    opacity: 0.38;
    content: "";
}

.pd-page-hero__media img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.82) contrast(1.08);
}

html[data-pd-theme="light"] .pd-page-hero__media img {
    filter: saturate(0.96) contrast(1.02);
}

.pd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    color: var(--pd-muted-l);
    font-family: var(--pd-font-heading);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pd-breadcrumb a {
    color: var(--pd-yellow-soft);
    text-decoration: none;
}

.pd-archive-list,
.pd-search-list {
    padding: clamp(56px, 8vw, 104px) 0;
    background: var(--pd-dark);
}

.pd-loop-card h2 {
    margin: 0;
    font-family: var(--pd-font-heading);
    font-size: 24px;
    text-transform: uppercase;
}

.pd-loop-card h2 a {
    color: inherit;
    text-decoration: none;
}

.pd-pagination {
    margin-top: 36px;
}

.pd-single__grid {
    display: block;
    padding: clamp(48px, 7vw, 88px) 0;
}

.pd-single__content {
    width: 100%;
    color: var(--pd-muted-l);
}

.pd-single__content > * {
    max-width: none;
}

.pd-single__content p,
.pd-single__content ul,
.pd-single__content ol,
.pd-single__content blockquote {
    max-width: 82ch;
}

.pd-single__content .pd-shortcode-section p,
.pd-single__content .pd-hero p,
.pd-single__content .pd-cta p,
.pd-single__content .pd-card p {
    max-width: 68ch;
}

.pd-single__content h2,
.pd-single__content h3 {
    margin-top: 40px;
    color: var(--pd-white);
    font-family: var(--pd-font-heading);
    text-transform: uppercase;
}

.pd-single__image {
    width: 100%;
    max-width: none;
    margin-bottom: 32px;
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius);
}

.pd-search-result {
    padding: 24px 0;
    border-bottom: 1px solid var(--pd-border);
}

.pd-search-result h2 {
    margin: 0;
    font-family: var(--pd-font-heading);
    text-transform: uppercase;
}

.pd-empty {
    padding: clamp(72px, 10vw, 120px) 0;
    text-align: center;
}

.pd-empty p {
    margin-inline: auto;
}

.pd-site-footer {
    border-top: 1px solid var(--pd-border);
    background: var(--pd-black);
}

.pd-footer-widgets {
    padding: 56px 0;
}

.pd-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 32px;
}

.pd-footer-grid h3 {
    margin-top: 0;
    font-family: var(--pd-font-heading);
    text-transform: uppercase;
}

.pd-footer-grid p,
.pd-footer-grid a {
    color: var(--pd-muted-l);
}

.pd-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--pd-white);
    font-family: var(--pd-font-heading);
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.pd-logo-circle--footer {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
}

.pd-footer-bottom {
    border-top: 1px solid var(--pd-border);
    color: var(--pd-muted-l);
}

.pd-footer-bottom__inner {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.pd-footer-bottom p {
    margin: 0;
}

.pd-comments {
    width: min(760px, calc(100% - 32px));
    margin: 0 auto 80px;
}
