:root {
    --color-bg: #f8f9fa; /* Very light subtle grey/white for page bg */
    --color-surface: #ffffff;
    --color-text-primary: #111111;
    --color-text-secondary: #666666;
    --color-accent-blue: #0066cc; /* Minimalist blue */
    --color-border: #eef0f2;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-md: 16px;
    --radius-sm: 12px;
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.5;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 390px;
    padding: var(--spacing-lg) var(--spacing-md);
    background-color: var(--color-surface); /* Keep content area white */
    min-height: 100vh;
}

/* Profile Section */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    text-align: center;
}

.profile-photo-container {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    border: 0.5px solid var(--color-border); /* 0.5px border */
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 4px;
    color: var(--color-text-primary);
}

.profile-profession {
    font-size: 14px;
    color: var(--color-text-secondary);
    font-weight: 400;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    gap: var(--spacing-sm);
    margin-bottom: 40px;
}

.bento-item {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border); /* Minimalist border */
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    /* Height depends on content but let's make them roughly square-ish or rectangular */
    min-height: 140px; 
    justify-content: space-between;
}

/* Specific item adjustments for layout */
.resume-block {
    grid-column: span 2; /* Full width */
    flex-direction: row;
    align-items: center;
    min-height: 80px;
}

.portfolio-block {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    min-height: 70px;
}


/* Icons */
.icon-container {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-xs);
}
.resume-block .icon-container,
.portfolio-block .icon-container {
    margin-bottom: 0;
    margin-right: var(--spacing-md);
}

.bento-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px; /* Slight radius for icons */
}

.bento-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bento-title {
    font-weight: 600;
    font-size: 15px;
    color: var(--color-text-primary);
}

.bento-subtitle {
    font-size: 13px;
    color: var(--color-text-secondary);
}

.arrow-icon {
    color: var(--color-accent-blue);
    opacity: 0.6;
    transition: opacity 0.2s;
    align-self: flex-start; /* For square items */
}
.resume-block .arrow-icon,
.portfolio-block .arrow-icon {
    align-self: center;
}

/* Hover States */
.bento-item:hover {
    border-color: var(--color-accent-blue);
    background-color: #f8fbff; /* Very subtle blue tint */
}
.bento-item:hover .arrow-icon {
    opacity: 1;
}


/* Section Title */
.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    padding-left: 4px;
}

/* Experimental Grid */
.experimental-grid {
    grid-template-columns: 1fr; /* Stacked layout for experimental or maybe 2x2 */
    gap: var(--spacing-sm);
}
.experimental-item {
    min-height: 60px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.arrow-icon-small {
    color: var(--color-text-secondary);
}
