/* ═══════════════════════════════════════════════════════════
   PORTFOLIO STYLES — Te Kete Ako
   Light, premium, readable. Hard-coded colours — does NOT
   rely on CSS variables that vary per-context.
   ═══════════════════════════════════════════════════════════ */

/* ── Colour palette (all hardcoded) ──
   Forest:   #1a6b3c  (dark green)
   Sage:     #2d8653  (mid green)
   Mint:     #52b788  (accent green)
   Sand:     #fdf8f0  (warm off-white bg)
   Paper:    #ffffff  (pure white for cards)
   Ink:      #1a1f2e  (near-black for headings)
   Body:     #374151  (dark grey for body text)
   Muted:    #6b7280  (lighter grey for secondary text)
   Border:   #e5e7eb  (subtle border)
   Teal-bg:  #f0fdf4  (light green tint)
*/

/* ── Layout ── */
.portfolio-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
    gap: 0;
    padding-top: 80px;
    background: #fdf8f0;
}

/* ── Sidebar ── */
.portfolio-sidebar {
    background: #1a1f2e;
    border-right: none;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    width: 260px;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 1.75rem 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-header h2 {
    color: #ffffff;
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.user-email {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    word-break: break-word;
}

/* Sidebar Nav */
.sidebar-nav {
    flex: 1;
    padding: 0.5rem 0;
}

.sidebar-link,
.sidebar-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.15s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 0.875rem;
    font-family: inherit;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.95);
}

.sidebar-link.active {
    background: rgba(82, 183, 136, 0.15);
    color: #74c69d;
    font-weight: 600;
    border-right: 3px solid #52b788;
}

.sidebar-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.sidebar-label {
    flex: 1;
}

.sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin: 0.4rem 1.25rem;
}

.sidebar-section-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.25);
    padding: 0.6rem 1.25rem 0.2rem;
}

.sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* ════════════════════════════════════════════════════════════
   MAIN CONTENT — always a light background, dark readable text
   ════════════════════════════════════════════════════════════ */
.portfolio-content {
    background: #fdf8f0;
    min-height: calc(100vh - 80px);
    overflow-x: hidden;
}

/* ════════════════════════════════════════════════════════════
   HERO — rich dark forest, white text. Hardcoded.
   ════════════════════════════════════════════════════════════ */
.portfolio-hero {
    background:
        linear-gradient(135deg, rgba(13,40,24,0.88) 0%, rgba(26,107,60,0.82) 60%, rgba(15,61,34,0.88) 100%),
        url('/assets/commendation-wall.jpg') center/cover no-repeat;
    padding: 3.5rem 3.5rem 3rem;
    position: relative;
    overflow: hidden;
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 10% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 90% 80%, rgba(82, 183, 136, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.portfolio-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #52b788, #2d8653, #52b788);
}

.hero-inner {
    max-width: 860px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.3rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #d1fae5;
    margin-bottom: 1.25rem;
}

.hero-name {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.5rem;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-name .accent {
    color: #86efac;
}

.hero-tagline {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 2rem;
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.5;
}

.hero-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.hero-meta-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.hero-meta-value {
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.hero-btn-primary {
    background: #ffffff;
    color: #1a6b3c;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.hero-btn-primary:hover {
    background: #f0fdf4;
    color: #0d4f2b;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

/* ════════════════════════════════════════════════════════════
   STATS STRIP — white strip, dark numbers
   ════════════════════════════════════════════════════════════ */
.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #ffffff;
    border-bottom: 2px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.portfolio-stat-item {
    padding: 1.5rem 1rem;
    text-align: center;
    border-right: 1px solid #e5e7eb;
    transition: background 0.2s;
}

.portfolio-stat-item:last-child {
    border-right: none;
}

.portfolio-stat-item:hover {
    background: #f0fdf4;
}

.portfolio-stat-number {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    color: #1a6b3c;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.portfolio-stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* ════════════════════════════════════════════════════════════
   SECTIONS
   ════════════════════════════════════════════════════════════ */
.portfolio-section {
    padding: 2.5rem 3.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.portfolio-section:last-child {
    border-bottom: none;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1.75rem;
}

.section-heading h2 {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a6b3c;
    margin: 0;
    white-space: nowrap;
}

.section-heading-line {
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* ════════════════════════════════════════════════════════════
   PORTFOLIO CARDS — white, clean, bold hover
   ════════════════════════════════════════════════════════════ */
.portfolio-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.25rem;
}

.portfolio-card {
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.5rem;
    transition: all 0.22s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #52b788, #2d8653);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
    border-radius: 14px 14px 0 0;
}

.portfolio-card:hover {
    border-color: #52b788;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 107, 60, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    color: inherit;
}

.portfolio-card:hover::before {
    transform: scaleX(1);
}

.portfolio-card-icon {
    font-size: 1.75rem;
    display: block;
}

.portfolio-card h3 {
    color: #1a1f2e;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.portfolio-card p {
    color: #6b7280;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.6;
    flex: 1;
}

.card-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    background: #f0fdf4;
    color: #1a6b3c;
    border: 1px solid #bbf7d0;
    align-self: flex-start;
}

.card-grade {
    display: inline-block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    border-radius: 20px;
    padding: 0.15rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    align-self: flex-start;
    margin-top: auto;
}

.card-arrow {
    color: #d1d5db;
    font-size: 1.1rem;
    align-self: flex-end;
    transition: all 0.2s ease;
    font-weight: bold;
}

.portfolio-card:hover .card-arrow {
    color: #52b788;
    transform: translateX(4px);
}

/* Featured cards */
.portfolio-card.featured {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border-color: #86efac;
}

.portfolio-card.featured::before {
    transform: scaleX(1);
}

/* ════════════════════════════════════════════════════════════
   ABOUT BLOCK
   ════════════════════════════════════════════════════════════ */
.portfolio-about {
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-left: 4px solid #52b788;
    border-radius: 12px;
    padding: 2rem 2rem 2rem 2rem;
    color: #374151;
    font-size: 0.975rem;
    line-height: 1.8;
    font-family: Georgia, 'Times New Roman', serif;
}

.portfolio-about strong {
    color: #1a1f2e;
    font-family: inherit;
    font-weight: 700;
}

.portfolio-about p {
    margin: 0 0 1rem;
}

.portfolio-about p:last-child {
    margin-bottom: 0;
}

/* ════════════════════════════════════════════════════════════
   INNER PAGE HEADERS (goals, evidence etc)
   ════════════════════════════════════════════════════════════ */
.portfolio-header {
    padding: 2.5rem 3.5rem 0;
}

.portfolio-header h1 {
    color: #1a1f2e;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
}

.portfolio-header p {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
}

/* ════════════════════════════════════════════════════════════
   PLD / LEARNING PAGE CARDS
   ════════════════════════════════════════════════════════════ */
.learning-section {
    margin-bottom: 2rem;
}

.learning-section h2 {
    color: #1a1f2e;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.pd-card {
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-left: 4px solid #d1d5db;
    border-radius: 12px;
    padding: 1.25rem 1.25rem 1.25rem 1.25rem;
    transition: all 0.22s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.pd-card.workshop {
    border-left-color: #3B82F6;
}

.pd-card.cultural {
    border-left-color: #EF4444;
}

.pd-card.self-study {
    border-left-color: #10B981;
}

.pd-card.collab {
    border-left-color: #8B5CF6;
}

.pd-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: inherit;
}

.pd-card h4 {
    color: #1a1f2e;
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.pd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    color: #6b7280;
}

.pd-tag {
    padding: 0.15rem 0.55rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: #f3f4f6;
    color: #374151;
}

.pd-card.workshop .pd-tag {
    color: #1D4ED8;
    background: #EFF6FF;
}

.pd-card.cultural .pd-tag {
    color: #B91C1C;
    background: #FEF2F2;
}

.pd-card.self-study .pd-tag {
    color: #047857;
    background: #ECFDF5;
}

.pd-card.collab .pd-tag {
    color: #6D28D9;
    background: #F5F3FF;
}

.pd-content {
    flex: 1;
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.65;
}

.pd-content ul {
    margin: 0.5rem 0;
    padding-left: 1.25rem;
}

.pd-content li {
    margin-bottom: 0.25rem;
}

.pd-progress {
    margin-top: 1rem;
    background: #f3f4f6;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.pd-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #52b788, #2d8653);
    border-radius: 3px;
    transition: width 1s ease-out;
}

.pd-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.3rem;
    font-weight: 500;
}

/* Reflection grid */
.reflection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.reflection-column {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1.5px solid #e5e7eb;
}

.reflection-column.worked {
    border-top: 4px solid #10B981;
}

.reflection-column.didnt-work {
    border-top: 4px solid #EF4444;
}

.reflection-column h3 {
    margin-top: 0;
    color: #1a1f2e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
}

.key-learning-box {
    background: linear-gradient(135deg, #1a6b3c 0%, #2d8653 100%);
    color: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(26, 107, 60, 0.2);
}

.key-learning-box h3 {
    color: #ffffff;
    margin-top: 0;
    font-size: 1.25rem;
}

.key-learning-box p {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    color: #ffffff;
}

/* Observation / impact */
.observation-card {
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-left: 4px solid #52b788;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.observation-card h3 {
    color: #1a1f2e;
    margin-top: 0;
    font-weight: 700;
}

.observation-meta {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.feedback-box {
    background: #f9fafb;
    border-left: 3px solid #d1d5db;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
    color: #374151;
    font-size: 0.9rem;
}

.action-items {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    color: #166534;
    font-size: 0.9rem;
}

/* Impact */
.impact-section {
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.impact-section h2 {
    color: #1a1f2e;
    margin-top: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 1.1rem;
    font-weight: 700;
}

.sample-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.sample-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.25rem;
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.6;
}

.sample-card h4 {
    color: #1a1f2e;
    margin-top: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

/* ════════════════════════════════════════════════════════════
   GOALS PAGE SPECIFIC TABLES
   ════════════════════════════════════════════════════════════ */
.pld-container {
    padding: 2rem 3.5rem;
}

.pld-page-header {
    margin-bottom: 2rem;
}

.pld-page-header h1 {
    color: #1a1f2e;
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
}

.pld-page-header p {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: #1a6b3c;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    margin-bottom: 2rem;
    text-decoration: none;
}

.download-btn:hover {
    background: #0d4f2b;
    color: #ffffff;
}

.goal-card {
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #52b788, #1a6b3c);
}

.goal-card h2 {
    color: #1a6b3c;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.goal-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.goal-table th {
    background: #f9fafb;
    color: #6b7280;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.75rem 1rem;
    text-align: left;
    width: 20%;
    border: 1px solid #e5e7eb;
    vertical-align: top;
}

.goal-table td {
    padding: 0.75rem 1rem;
    color: #374151;
    border: 1px solid #e5e7eb;
    vertical-align: top;
    line-height: 1.65;
}

.goal-table ul {
    margin: 0.25rem 0;
    padding-left: 1.25rem;
}

.goal-table li {
    margin-bottom: 0.25rem;
}

.reflection-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    border-radius: 8px;
    overflow: hidden;
}

.reflection-table thead th {
    background: #1a6b3c;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.85rem 1rem;
    text-align: left;
}

.reflection-table tbody td {
    padding: 0.85rem 1rem;
    color: #374151;
    border: 1px solid #e5e7eb;
    vertical-align: top;
    line-height: 1.7;
    background: #ffffff;
}

.reflection-table tbody tr:nth-child(even) td {
    background: #fafafa;
}

.reflection-table tbody tr:hover td {
    background: #f0fdf4;
}

.evaluation-row td {
    background: #f0fdf4 !important;
    border-left: 3px solid #52b788 !important;
    color: #166534 !important;
}

.reflection-table strong {
    color: #1a1f2e;
    font-weight: 700;
}

.pld-footer-note {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 2rem;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .portfolio-layout {
        grid-template-columns: 1fr;
    }

    .portfolio-sidebar {
        position: static;
        height: auto;
        width: 100%;
        border-right: none;
        border-bottom: 3px solid #52b788;
    }

    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        padding: 0.5rem;
        gap: 0.25rem;
    }

    .sidebar-link {
        flex-direction: row;
        padding: 0.5rem 0.75rem;
        border-radius: 8px;
        font-size: 0.8rem;
    }

    .portfolio-hero {
        padding: 2rem 1.5rem;
    }

    .portfolio-section {
        padding: 2rem 1.5rem;
    }

    .pld-container {
        padding: 1.5rem;
    }

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

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

    .portfolio-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2rem;
    }

    .hero-meta-strip {
        gap: 1.25rem;
    }

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

    .pld-container {
        padding: 1rem;
    }
}
