/* =========================
   John Maczko for Mayor
   Preview / staging stylesheet
   ========================= */

:root {
    --navy: #171717;
    --navy-dark: #0d0d0d;
    --blue: #e5cd59;
    --blue-light: #f5edbd;
    --red: #e5cd59;
    --red-dark: #d2b93e;
    --white: #ffffff;
    --off-white: #f7f8fa;
    --gray-100: #eef1f4;
    --gray-300: #cfd6dd;
    --gray-600: #58636e;
    --gray-800: #27313a;
    --text: #202a33;
    --shadow: 0 14px 40px rgba(15, 36, 58, 0.10);
    --radius: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
}

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

a {
    color: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 13, 13, 0.97);
    color: var(--white);
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.15);
}

.nav-wrap {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.campaign-mark {
    display: inline-flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
}

.mark-name {
    font-family: "Playfair Display", serif;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.mark-office {
    margin-top: 7px;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    font-weight: 700;
    color: #f2c230;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
}

.main-nav a:hover {
    color: #e5cd59;
    text-decoration: underline;
    text-underline-offset: 7px;
}

.nav-toggle {
    display: none;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 20%, rgba(229, 205, 89, 0.18), transparent 32%),
        linear-gradient(135deg, #0d0d0d, #1b1b1b);
    color: var(--white);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -110px 45%;
    height: 240px;
    background: rgba(255,255,255,0.035);
    transform: rotate(-8deg);
}

.hero-inner {
    position: relative;
    z-index: 2;
    min-height: 640px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 70px;
    padding-block: 80px;
}

.eyebrow {
    margin-bottom: 14px;
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
}

.hero .eyebrow {
    color: #e5cd59;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(3.6rem, 7vw, 6.8rem);
    line-height: 0.92;
    letter-spacing: -0.035em;
}

.hero h1 span {
    display: inline-block;
    margin-top: 14px;
    font-family: "Montserrat", sans-serif;
    font-size: 0.35em;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: #f2c230;
}

.hero-tagline {
    margin-top: 34px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.035em;
}

.hero-intro {
    max-width: 620px;
    margin-top: 14px;
    color: #e7e7e7;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-photo {
    display: flex;
    justify-content: center;
}

.hero-photo-img {
    width: min(100%, 430px);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

/* Placeholder images */
.photo-placeholder {
    width: min(100%, 430px);
    aspect-ratio: 4 / 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.28);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.045));
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
    color: rgba(255,255,255,0.82);
    text-align: center;
}

.photo-placeholder span {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.photo-placeholder small {
    margin-top: 10px;
    opacity: 0.72;
}

.photo-placeholder.portrait {
    color: var(--gray-600);
    border-color: var(--gray-300);
    background:
        linear-gradient(145deg, #e8edf2, #f8fafb);
    box-shadow: none;
}

.meet-photo {
    width: 100%;
    max-width: 380px;
    justify-self: center;
    overflow: hidden;
    border-radius: 16px;
}

.meet-photo.portrait {
    min-height: 0;
    height: auto;
}

.meet-photo img {
    display: block;
    width: 100%;
	height: auto;
}

.photo-caption {
    margin-top: 8px;
    font-size: 0.82rem;
    line-height: 1.4;
    color: #6b7280;
    font-style: italic;
	white-space: normal;
	text-align: center;
}

.family-photo {
    margin: 0;
}

.family-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.family-photo figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #666;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform .15s ease, background .15s ease, color .15s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--blue);
    color: #111111;
}

.btn-primary:hover {
    background: var(--red-dark);
	color: #111111;
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.52);
    color: var(--white);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.10);
}

.btn-secondary.light {
    border-color: rgba(255,255,255,0.7);
}

.btn-outline {
    border: 1px solid #171717;
    color: #171717;
}

.btn-outline:hover {
    background: #171717;
    color: #e5cd59;
}

/* Generic sections */
.section {
    padding-block: 96px;
}

.section-light {
    background: var(--off-white);
}

.split {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 72px;
    align-items: center;
}

.section-copy h2,
.section-heading h2,
.contact-inner h2 {
    font-family: "Playfair Display", serif;
    color: var(--navy-dark);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.1;
}

.section-copy p {
    margin-top: 18px;
    color: var(--gray-600);
    font-size: 1.03rem;
}

.text-link {
    display: inline-block;
    margin-top: 26px;
    color: var(--navy);
    font-weight: 700;
    text-decoration: none;
}

.text-link span {
    padding-left: 4px;
}

.centered {
    text-align: center;
}

.section-heading {
    margin-bottom: 46px;
}

.section-heading.narrow {
    max-width: 790px;
    margin-inline: auto;
}

.section-heading > p:last-child {
    margin-top: 18px;
    color: var(--gray-600);
}

/* Credentials */
.credentials {
    background: var(--navy);
    color: var(--white);
}

.credentials .eyebrow {
    color: #e5cd59;
}

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

.credentials .section-heading p:last-child {
    color: #dddddd;
}

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

.credential-card {
    min-height: 280px;
    padding: 34px;
    background: rgba(255,255,255,0.075);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
}

.credential-number {
    font-family: "Playfair Display", serif;
    font-size: 3.4rem;
    line-height: 1;
    color: #e5cd59;
}

.credential-card h3 {
    margin-top: 24px;
    font-size: 1.28rem;
}

.credential-card p {
    margin-top: 12px;
    color: #dddddd;
}

/* Priorities */
.section-light .eyebrow {
    color: #171717;
}

.priority-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.priority-card {
    position: relative;
    padding: 34px;
    background: var(--white);
    border: 1px solid #e2e7ec;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.priority-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f5edbd;
    color: #171717;
    font-size: 0.78rem;
    font-weight: 800;
}

.priority-card h3 {
    margin-top: 22px;
    color: var(--navy-dark);
    font-size: 1.25rem;
}

.priority-card p {
    margin-top: 10px;
    color: var(--gray-600);
}

/* Timeline */
.timeline-section {
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 860px;
    margin: 0 auto 46px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 124px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: #eadb8b;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 52px;
    padding: 0 0 36px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 117px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 6px var(--white);
}

.timeline-year {
    text-align: right;
    font-weight: 800;
    color: var(--navy);
}

.timeline-content h3 {
    color: var(--navy-dark);
    font-size: 1.15rem;
}

.timeline-content p {
    margin-top: 5px;
    color: var(--gray-600);
}

/* Endorsement */
.endorsement {
    padding-block: 80px;
    background: var(--navy-dark);
    color: var(--white);
}

.endorsement-inner {
    max-width: 900px;
    text-align: center;
}

.quote-mark {
    font-family: "Playfair Display", serif;
    font-size: 5rem;
    line-height: 0.7;
    color: #e5cd59;
}

blockquote {
    font-family: "Playfair Display", serif;
    font-size: clamp(1.45rem, 2.5vw, 2.1rem);
    line-height: 1.45;
}

.quote-attribution {
    margin-top: 24px;
    color: #dddddd;
    font-weight: 600;
}

/* Contact */
.contact-section {
    background: #e5cd59;
    color: #171717;
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.contact-section .eyebrow {
    color: #171717;
}

.contact-inner h2 {
    color: #171717;
}

.contact-inner p:last-child {
    margin-top: 12px;
    color: #303030;
}

.contact-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Footer */
.site-footer {
    padding-block: 38px 24px;
    background: #0d0d0d;
    color: #dddddd;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.footer-grid > div:first-child {
    display: flex;
    flex-direction: column;
}

.footer-grid strong {
    color: var(--white);
}

.footer-grid span {
    margin-top: 4px;
    font-size: 0.88rem;
    color: #bcbcbc;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
	color: #ffffff;
	text-decoration: none;
}

.kdn-credit a {
    color: #dbe5ed;
    text-decoration: none;
}

.footer-links a:hover,
.kdn-credit a:hover {
    color: var(--white);
    text-decoration: underline;
}

.kdn-credit {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    text-align: right;
    font-size: 0.88rem;
}

.kdn-credit a {
    display: flex;
    align-items: center;
	gap: 12px;
    font-weight: 700;
    line-height: 1;
}

.kdn-credit img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

.disclaimer {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
    text-align: center;
    font-size: 0.76rem;
    color: #999999;
}

/* Responsive */
@media (max-width: 900px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 86px;
        left: 0;
        right: 0;
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
        background: var(--navy-dark);
    }

    .main-nav.open {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
        border: 1px solid rgba(255,255,255,0.35);
        background: transparent;
        color: var(--white);
        padding: 9px 14px;
        border-radius: 999px;
        font: inherit;
        font-weight: 600;
    }

    .hero-inner,
    .split {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        padding-block: 72px;
    }

    .hero-photo {
        justify-content: flex-start;
    }

    .hero-photo .photo-placeholder {
        max-width: 360px;
    }

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

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

    .contact-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-grid > div:first-child {
        align-items: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .kdn-credit {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .nav-wrap {
        min-height: 74px;
    }

    .main-nav {
        top: 74px;
    }

    .hero-inner {
        min-height: auto;
        gap: 44px;
    }

    .hero h1 {
        font-size: clamp(3rem, 15vw, 4.8rem);
    }

    .hero-actions,
    .contact-actions {
        width: 100%;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section {
        padding-block: 72px;
    }

    .split {
        gap: 42px;
    }

    .timeline::before {
        left: 14px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 6px;
        padding-left: 44px;
    }

    .timeline-item::before {
        left: 7px;
    }

    .timeline-year {
        text-align: left;
    }
}

/* Conatact John */

.btn-dark {
    background: #111;
    color: #fff;
    border: 2px solid #111;
}

.btn-dark:hover {
    background: transparent;
    color: #111;
}

/* Yard Sign CTA */
.yard-sign {
    background: var(--navy);
    color: #ffffff;
    padding: 85px 24px;
    text-align: center;
}


.yard-sign-content {
    max-width: 760px;
    margin: 0 auto;
}

.yard-sign .section-label {
    display: block;
    margin-bottom: 18px;
    color: #e5cd59;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.yard-sign h2 {
    color: #ffffff;
    margin-bottom: 20px;
}

.yard-sign p {
    max-width: 650px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.8;
}

.yard-sign .btn {
    margin-top: 5px;
}

