/* ==========================================================================
   Press Kits — journalist-first pages at /press/ and /press/{slug}/
   Imported from screen.css. Reuses brand variables (--glass-bg, gradients, etc.)
   ========================================================================== */

/* Fraunces (editorial serif for press quotes) is preloaded in default.hbs */

/* --------------------------------------------------------------------------
   Layout containers
   -------------------------------------------------------------------------- */
.press-hub,
.press-kit {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem 1rem;
}

.press-section-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.press-hub-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin: 0 0 0.5rem;
}
.press-hub-eyebrow a { color: inherit; text-decoration: none; }
.press-hub-eyebrow a:hover { color: var(--link-color); }

/* --------------------------------------------------------------------------
   Studio hub hero
   "Press Kit" is the H1 — the site header already shows the Pixelfolio logo,
   so we lead with the page's purpose.
   -------------------------------------------------------------------------- */
.press-hub-hero {
    text-align: center;
    padding: 0 1rem 2.5rem;
    margin-bottom: 1rem;
}

/* Same banner above per-app press pages — title links back to /press/. */
.press-hub-hero--app {
    padding-bottom: 1.75rem;
}
.press-hub-hero--app .press-hub-title a {
    color: inherit;
    text-decoration: none;
}
.press-hub-hero--app .press-hub-title a:hover {
    color: var(--link-color);
}

/* Tighten gap between the site logo and the press hero on press pages */
body:has(.press-hub) .site-main,
body:has(.press-kit) .site-main {
    padding-top: 0.5rem;
}
body:has(.press-hub) .site-header,
body:has(.press-kit) .site-header {
    padding-bottom: 0;
}

.press-hub-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.press-hub-tagline {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 auto 0.75rem;
    max-width: 620px;
    line-height: 1.5;
    opacity: 0.85;
    text-wrap: balance;
}
@media (max-width: 600px) {
    .press-hub-tagline { display: none; }
    .press-hub-hero { padding-bottom: 0.5rem; margin-bottom: 0; }
    .press-hub-hero--app { padding-bottom: 0.5rem; }
    .press-hero { padding-top: 1rem; }
    .press-kit > section:last-child,
    .press-hub > section:last-child,
    .press-contact { margin-bottom: 0.5rem; }
}

.press-hub-location {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.press-hub-location i { margin-right: 0.25rem; color: var(--accent-orange); }

/* Hide the site header's title + description on press pages — the site logo
   still renders, so "Pixelfolio" is visible without the duplication. */
body:has(.press-hub) .site-title-group,
body:has(.press-kit) .site-title-group {
    display: none;
}

/* --------------------------------------------------------------------------
   Portfolio grid (used on /press/ and at the bottom of per-app pages)
   -------------------------------------------------------------------------- */
.press-portfolio {
    margin: 0 0 3rem;
}

.press-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.press-portfolio-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(6px) saturate(130%);
    -webkit-backdrop-filter: blur(6px) saturate(130%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    text-decoration: none;
    color: inherit;
}

.press-portfolio-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 22.37%;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.press-portfolio-body { flex: 1; min-width: 0; }
.press-portfolio-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.15rem;
    color: var(--text-primary);
}
.press-portfolio-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.press-portfolio-arrow {
    color: var(--text-secondary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Per-app hero — 3-column layout: icon | text | fact sheet
   -------------------------------------------------------------------------- */
.press-hero {
    padding: 2.25rem 0 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--section-border);
}

.press-hero-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.75rem;
    align-items: center;
}
@media (max-width: 960px) {
    .press-hero-inner {
        grid-template-columns: auto 1fr;
    }
    .press-hero-facts {
        grid-column: 1 / -1;
    }
}
@media (max-width: 600px) {
    .press-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .press-hero-actions {
        justify-content: center;
    }
}

/* Wrapper handles clipping (img's border-radius leaves corner artefacts in Safari
   when the source PNG has edge-to-edge opaque pixels). 22.37% matches the
   Apple squircle ratio — PNG + CSS rounding align rather than double-clip. */
.press-hero-icon {
    display: inline-block;
    width: 112px;
    height: 112px;
    flex-shrink: 0;
    border-radius: 22.37%;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.press-hero-icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.press-hero-text {
    min-width: 0;
}
.press-hero-text .press-hub-eyebrow {
    margin: 0 0 0.35rem;
}

.press-hero-name {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.45rem;
    line-height: 1.1;
}

.press-hero-tagline {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin: 0 0 1.25rem;
    line-height: 1.45;
    text-wrap: balance;
}

.press-hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Fact-sheet column in hero */
.press-hero-facts {
    padding: 1rem 1.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(6px) saturate(130%);
    -webkit-backdrop-filter: blur(6px) saturate(130%);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    box-shadow: var(--glass-shadow);
    width: 260px;
    align-self: center;
}
.press-hero-facts dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
    margin: 0;
}
.press-hero-facts dl > div {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.press-hero-facts dt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.press-hero-facts dd {
    font-size: 0.85rem;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.35;
}
.press-fact-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted var(--text-secondary);
    transition: color 0.15s ease, border-color 0.15s ease;
}
.press-fact-link:hover {
    color: var(--link-color);
    border-bottom-color: currentColor;
}
html { scroll-behavior: smooth; }
@media (max-width: 960px) {
    .press-hero-facts { width: auto; }
    .press-hero-facts dl {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 0.75rem 1.25rem;
    }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.press-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
}

.press-btn-primary {
    background: #0A0A0A;
    color: #fff;
    border-color: #0A0A0A;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
[data-theme="dark"] .press-btn-primary {
    background: #ffffff;
    color: #0A0A0A;
    border-color: #ffffff;
}
@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .press-btn-primary {
        background: #ffffff;
        color: #0A0A0A;
        border-color: #ffffff;
    }
}

.press-btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border-color: var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.press-btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1rem;
}


/* --------------------------------------------------------------------------
   Single-column body layout
   -------------------------------------------------------------------------- */
.press-kit > section { margin-bottom: 3rem; }

/* Fact sheet is now rendered inside the hero — see .press-hero-facts above. */

/* Brand-accent section removed — app brand identity now comes from the
   hero icon + App Store CTA. */

/* --------------------------------------------------------------------------
   Elevator pitch — pull-quote style with Fraunces serif
   -------------------------------------------------------------------------- */
.press-pitch-quote {
    position: relative;
    margin: 0 0 1rem;
    padding: 0.5rem 3.5rem 0.5rem 3.5rem;
    max-width: 820px;
}
.press-pitch-quote::before,
.press-pitch-quote::after {
    position: absolute;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 5.5rem;
    line-height: 1;
    color: var(--accent-orange);
    opacity: 0.7;
    font-weight: 600;
}
.press-pitch-quote::before {
    content: "\201C"; /* “ */
    top: 0.5rem;
    left: 0;
}
.press-pitch-quote::after {
    content: "\201D"; /* ” */
    bottom: -1.5rem;
    right: 0.5rem;
}
@media (max-width: 600px) {
    .press-pitch-quote {
        padding: 0.5rem 1.75rem 0.5rem 1.75rem;
    }
    .press-pitch-quote::before,
    .press-pitch-quote::after {
        font-size: 3rem;
    }
    .press-pitch-quote::after {
        bottom: -0.75rem;
    }
}
.press-pitch-quote p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.005em;
}

/* --------------------------------------------------------------------------
   Subtle text-style copy link (used for Copy pitch / Copy as Markdown)
   -------------------------------------------------------------------------- */
.press-copy-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.15s ease;
}
.press-copy-link i { font-size: 0.85rem; }
.press-copy-link { opacity: 0.55; transition: opacity 0.15s ease, color 0.15s ease; }
.press-copy-link:hover { opacity: 1; color: var(--link-color); }
.press-copy-link.is-copied { opacity: 1; color: #10b981; }


/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */
.press-features-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 0.25rem;
}
.press-features-header .press-section-title { margin: 0; }

.press-features-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.press-feature-item {
    padding: 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}
.press-feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.4rem;
}
/* Icon sits above the title so title + description both flush-left at card
   padding — no ragged indent when titles wrap to a second line. */
.press-feature-title i {
    display: block;
    font-size: 1.35rem;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
    line-height: 1;
}
.press-feature-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Screenshots gallery
   -------------------------------------------------------------------------- */
.press-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}
.press-gallery-header .press-section-title { margin: 0; }

.press-frame-toggle {
    display: inline-flex;
    padding: 0.2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border, rgba(148, 163, 184, 0.2));
    border-radius: 999px;
    gap: 0.15rem;
}
.press-frame-option {
    appearance: none;
    border: none;
    background: transparent;
    padding: 0.35rem 0.9rem;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.press-frame-option i { font-size: 0.95rem; }
.press-frame-option:hover:not(:disabled) { color: var(--text-primary); }
.press-frame-option:disabled { opacity: 0.4; cursor: not-allowed; }
.press-frame-option[aria-pressed="true"] {
    background: var(--background);
    color: var(--text-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.press-gallery-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 1rem;
}
.press-gallery-note a { color: var(--link-color); text-decoration: none; }
.press-gallery-note a:hover { text-decoration: underline; }

.press-platform-tabs {
    display: inline-flex;
    gap: 0.2rem;
    padding: 0.2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border, rgba(148, 163, 184, 0.2));
    border-radius: 999px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.press-platform-tab {
    appearance: none;
    border: none;
    background: transparent;
    padding: 0.35rem 0.9rem;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.press-platform-tab i { font-size: 0.95rem; }
.press-platform-tab:hover { color: var(--text-primary); }
.press-platform-tab[aria-selected="true"] {
    background: var(--background);
    color: var(--text-primary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.press-platform-tab-count {
    font-size: 0.7rem;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    background: var(--glass-bg);
    color: var(--text-secondary);
    min-width: 1.4rem;
    text-align: center;
}
.press-platform-tab[aria-selected="true"] .press-platform-tab-count {
    background: var(--glass-bg);
    color: var(--text-primary);
}
@media (max-width: 600px) {
    .press-platform-tabs {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
    }
    .press-platform-tab {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
        padding: 0.4rem 0.5rem;
        gap: 0.3rem;
    }
}
.press-gallery-panel[hidden] { display: none; }
.press-gallery-panel:not([hidden]) {
    animation: pressPanelFade 0.28s ease both;
}
@keyframes pressPanelFade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .press-gallery-panel:not([hidden]) { animation: none; }
}

.press-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}
.press-gallery-grid--landscape {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}

.press-screenshot {
    margin: 0;
    padding: 0;
    position: relative;
    /* Lock the cell to the unframed screenshot's aspect ratio. Prevents a
       reflow flash when swapping to the framed variant (which has different
       aspect due to transparent bezel padding). Framed image renders
       centered inside via object-fit: contain. */
    aspect-ratio: 9 / 19.5;
    width: 100%;
}
.press-screenshot--ipad { aspect-ratio: 3 / 4.3; grid-column: span 2; }
.press-screenshot--ipad-landscape { aspect-ratio: 4.3 / 3; grid-column: span 2; }
.press-screenshot--desktop { aspect-ratio: 16 / 10; grid-column: span 2; }

/* Single img with morph-style swap: scale down + fade out, swap src, scale up + fade in.
   Avoids the double-opacity flash that stacked images produce when the framed
   image has transparent padding. */
.press-screenshot-img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    will-change: opacity, transform;
}
/* Morph mid-flight: shrink + fade while src is swapped. */
.press-screenshot-img.is-swapping {
    opacity: 0;
    transform: scale(0.92);
}
/* Mac (desktop) unframed: raw window captures already have their own chrome —
   drop the card radius/shadow so they don't look wrapped in a second frame. */
.press-screenshot--desktop .press-screenshot-img {
    border-radius: 0;
    box-shadow: none;
}

/* Framed images already have bezel + drop-shadow baked in — flatten container chrome. */
[data-press-gallery].is-framed .press-screenshot-img {
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.18));
}

/* Frosted overlay covering the whole screenshot on hover, with a large
   centered download icon. Reveals the "click anywhere to download" affordance. */
.press-download-btn {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.38);
    color: #fff;
    font-size: 2.5rem;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
}
.press-download-btn i {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}
.press-screenshot:hover .press-download-btn,
.press-download-btn:focus-visible {
    opacity: 1;
}
.press-download-btn:hover i {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.28);
}
/* Framed images are a phone-shaped cutout inside transparent padding — a
   rectangular frost doesn't fit. Drop the frost entirely and just show the
   centered circular download button, now with a stronger dark chip so it
   stays legible against any screenshot content. */
[data-press-gallery].is-framed .press-download-btn {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
[data-press-gallery].is-framed .press-download-btn i {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
}

/* --------------------------------------------------------------------------
   Pricing section — tier list in USD with a regional-pricing note
   -------------------------------------------------------------------------- */
.press-pricing-headline {
    font-size: 1rem;
    line-height: 1.55;
    color: var(--text-primary);
    margin: 0 0 1rem;
    max-width: 720px;
}
.press-pricing-fallback {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0 0 1rem;
    max-width: 720px;
}
.press-pricing-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 0.25rem;
}
.press-pricing-header .press-section-title { margin: 0; }

.press-pricing-table {
    width: 100%;
    max-width: 620px;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0 0 1rem;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(17, 24, 39, 0.04);
}
[data-theme="dark"] .press-pricing-table {
    background: rgba(31, 41, 55, 0.55);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}
@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .press-pricing-table {
        background: rgba(31, 41, 55, 0.55);
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
    }
}
.press-pricing-table thead th {
    text-align: left;
    padding: 0.55rem 1rem;
    background: rgba(17, 24, 39, 0.04);
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}
[data-theme="dark"] .press-pricing-table thead th {
    background: rgba(255, 255, 255, 0.04);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}
@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .press-pricing-table thead th {
        background: rgba(255, 255, 255, 0.04);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
}
.press-pricing-table tbody tr + tr th,
.press-pricing-table tbody tr + tr td {
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}
[data-theme="dark"] .press-pricing-table tbody tr + tr th,
[data-theme="dark"] .press-pricing-table tbody tr + tr td {
    border-top-color: rgba(255, 255, 255, 0.06);
}
@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .press-pricing-table tbody tr + tr th,
    html:not([data-theme="light"]) .press-pricing-table tbody tr + tr td {
        border-top-color: rgba(255, 255, 255, 0.06);
    }
}
.press-pricing-table tbody th,
.press-pricing-table tbody td {
    padding: 0.75rem 1rem;
    text-align: left;
    vertical-align: baseline;
}
.press-pricing-table tbody th {
    color: var(--text-primary);
    font-weight: 500;
}
.press-pricing-table .press-pricing-price {
    color: var(--text-primary);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    width: 120px;
}
.press-pricing-table .press-pricing-term {
    color: var(--text-secondary);
    font-size: 0.85rem;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .press-pricing-table thead th,
    .press-pricing-table tbody th,
    .press-pricing-table tbody td {
        padding: 0.55rem 0.6rem;
    }
    .press-pricing-table .press-pricing-price {
        width: auto;
    }
    .press-pricing-table .press-pricing-term {
        white-space: normal;
    }
}

.press-pricing-note {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 0;
    max-width: 720px;
}

/* --------------------------------------------------------------------------
   History section — founding story, press quotes, and awards in one block
   -------------------------------------------------------------------------- */
.press-history-story {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-primary);
    margin: 0 0 1.5rem;
    max-width: 720px;
}
.press-history-subheading {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin: 2rem 0 1.5rem;
}
.press-quotes-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.press-quote {
    margin: 0;
    padding: 1.25rem 1.5rem;
    border-left: 3px solid var(--press-quote-accent, var(--primary-purple));
    background: var(--blockquote-bg);
    border-radius: 0 14px 14px 0;
}
.press-quote cite a { color: var(--press-quote-accent, inherit); }

/* Publication-branded accent colours. */
.press-quote--macstories   { --press-quote-accent: #B83E3E; }   /* MacStories deep red */
.press-quote--techcrunch   { --press-quote-accent: #0A9E44; }   /* TechCrunch green */
.press-quote--9to5mac      { --press-quote-accent: #E89A1A; }   /* 9to5Mac gold */
.press-quote--sixcolors    { --press-quote-accent: #1E7EC2; }   /* Six Colors blue */
.press-quote--appleinsider { --press-quote-accent: #0C6BB3; }   /* AppleInsider blue */
.press-quote--imore        { --press-quote-accent: #0088CC; }   /* iMore blue */
.press-quote--petapixel    { --press-quote-accent: #E74C3C; }   /* PetaPixel red */
.press-quote--cultofmac    { --press-quote-accent: #D6294F; }   /* Cult of Mac red */
.press-quote--iphonejd     { --press-quote-accent: #1C4E7A; }   /* iPhone J.D. navy */
.press-quote--sweetsetup   { --press-quote-accent: #7B5CA8; }   /* The Sweet Setup purple */
.press-quote--wirecutter   { --press-quote-accent: #0072CE; }   /* Wirecutter blue */
.press-quote p {
    font-family: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.45;
    color: var(--text-primary);
    margin: 0 0 0.6rem;
    letter-spacing: -0.005em;
}
.press-quote cite {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-style: normal;
    color: var(--text-secondary);
}
.press-quote cite a {
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    transition: color 0.15s ease;
}
.press-quote cite a:hover {
    color: var(--link-color);
}
.press-awards-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.press-awards-list li {
    padding: 0.6rem 0.85rem;
    background: var(--blockquote-bg);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Apple-featured award: laurel wreaths flanking an eyebrow + headline.
   No card chrome — sits open on the page. */
.press-awards-list li.press-award--featured {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    padding: 1rem 0;
    text-align: center;
    background: transparent;
    border: none;
    max-width: 560px;
    margin: 0 auto;
}
.press-award-body {
    /* text container */
}
.press-award-laurel {
    flex-shrink: 0;
    display: inline-flex;
    color: rgba(220, 145, 55, 0.95);
    position: relative;
    z-index: 1;
}
.press-award-laurel .press-laurel {
    width: 48px;
    height: 96px;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(180, 100, 40, 0.15));
}
.press-award-laurel--right { transform: scaleX(-1); }
.press-award-eyebrow {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(210, 140, 50, 1);
    margin-bottom: 0.4rem;
}
.press-award-text {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.02rem;
    line-height: 1.4;
    letter-spacing: 0.005em;
    max-width: 34ch;
    display: block;
}

[data-theme="dark"] .press-award-eyebrow,
[data-theme="dark"] .press-award-laurel {
    color: rgba(255, 195, 120, 0.95);
}

@media (max-width: 480px) {
    .press-awards-list li.press-award--featured { gap: 0.6rem; padding: 1.15rem 0.85rem; }
    .press-award-laurel .press-laurel { width: 34px; height: 68px; }
    .press-award-text { font-size: 0.95rem; }
}

/* --------------------------------------------------------------------------
   About Pixelfolio (studio block, reused)
   -------------------------------------------------------------------------- */
.press-about {
    margin: 4rem 0;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}
@media (max-width: 700px) {
    .press-about { grid-template-columns: 1fr; }
}
.press-about-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin: 0 0 1rem;
    line-height: 1.65;
}

.press-about-dateline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: -0.5rem 0 1.25rem;
}
.press-about-dateline i {
    margin-right: 0.25rem;
    color: var(--accent-orange);
}
.press-about-flag {
    margin-right: 0.35rem;
    font-size: 1rem;
    vertical-align: -0.05em;
}

.press-founder {
    margin: 0;
    text-align: center;
    padding: 0;
}
.press-founder-avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
}
.press-founder figcaption {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.press-founder strong { font-size: 1.1rem; color: var(--text-primary); }
.press-founder-role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--accent-orange);
}
.press-founder-location {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Contact block
   -------------------------------------------------------------------------- */
.press-contact {
    margin: 3rem 0 0;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}
.press-contact-lead {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0 0 1.5rem;
}
.press-contact-list {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0.5rem 1rem;
    font-size: 0.95rem;
    margin: 0;
}
.press-contact-list dt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    align-self: center;
}
.press-contact-list dd {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    /* Long handles/emails must wrap rather than overflow the card on narrow screens. */
    min-width: 0;
    overflow-wrap: anywhere;
}
.press-contact-list a {
    color: var(--link-color);
    text-decoration: none;
    overflow-wrap: anywhere;
}
.press-contact-list a:hover { text-decoration: underline; }

.press-contact-newsletter {
    margin: 1.5rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.press-contact-newsletter a { color: var(--link-color); text-decoration: none; }
.press-contact-newsletter a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Studio assets grid (on /press/ hub)
   -------------------------------------------------------------------------- */
.press-assets { margin: 4rem 0; }
.press-assets-lead {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0 0 1.5rem;
}
.press-assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}
.press-asset-card {
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-shadow: var(--glass-shadow);
}
.press-asset-card h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin: 0 0 0.75rem;
}
.press-palette,
.press-typography {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.press-palette li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}
.press-palette code {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.press-swatch {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.press-typography li { font-size: 0.9rem; color: var(--text-primary); }
.press-typography strong { font-weight: 600; }

/* --------------------------------------------------------------------------
   Newsletter CTA on press page
   -------------------------------------------------------------------------- */
.press-newsletter-cta {
    margin: 4rem 0;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    text-align: center;
}
.press-newsletter-cta p {
    color: var(--text-secondary);
    margin: 0 auto 1rem;
    max-width: 600px;
}
.press-newsletter-form { max-width: 420px; margin: 0 auto; }

/* --------------------------------------------------------------------------
   Dark mode — inherits all variables; only override where the
   default doesn't land right.
   -------------------------------------------------------------------------- */
[data-theme="dark"] .press-hero-icon,
[data-theme="dark"] .press-portfolio-icon {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}
[data-theme="dark"] .press-founder-avatar {
    opacity: 0.95;
}
@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .press-hero-icon,
    html:not([data-theme="light"]) .press-portfolio-icon {
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
    }
}

/* --------------------------------------------------------------------------
   Mobile / narrow viewport
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
    /* Contact: stack label/value so long emails and handles never overflow. */
    .press-contact { padding: 1.5rem; }
    .press-contact-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .press-contact-list dt {
        margin-bottom: -0.25rem;
    }

    /* Gallery: 2 iPhone shots per row; iPad/Mac shots span full width. */
    .press-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .press-screenshot--ipad,
    .press-screenshot--ipad-landscape,
    .press-screenshot--desktop {
        grid-column: 1 / -1;
    }
    /* Feature cards: tighten padding, keep description indent aligned. */
    .press-feature-item { padding: 1rem; }
}
