/*
 * about.css — About page components
 * Loaded only on page-about.php (see functions.php).
 * Relies on the design tokens (--color-*, --font-*, --space-*) declared
 * in style.css, which is enqueued as a dependency before this file.
 */

/* ==========================================================================
   1. Hero (title + lead, no full-bleed image)
   ========================================================================== */
.nico-about-hero {
    padding-top: 128px;
    padding-bottom: 96px;
}

.nico-about-hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-gutter);
    align-items: flex-end;
}

@media (min-width: 768px) {
    .nico-about-hero__grid { grid-template-columns: repeat(12, 1fr); }
}

.nico-about-hero__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 40px;
    letter-spacing: -0.01em;
    color: var(--color-primary);
    margin-bottom: 32px;
    grid-column: span 12;
}

@media (min-width: 768px) {
    .nico-about-hero__title { grid-column: span 8; font-size: 64px; line-height: 1.1; letter-spacing: -0.02em; }
}

.nico-about-hero__desc {
    color: var(--color-on-surface-variant);
    line-height: 1.8;
    font-size: 18px;
    max-width: 42rem;
    grid-column: span 12;
}

@media (min-width: 768px) {
    .nico-about-hero__desc { grid-column: span 8; }
}

/* ==========================================================================
   2. Full-bleed image
   ========================================================================== */
.nico-about-image {
    padding-bottom: 96px;
}

.nico-about-image__frame {
    width: 100%;
    height: 320px;
    border: 1px solid var(--color-outline-variant);
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    .nico-about-image__frame { height: 600px; }
}

.nico-about-image__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
}

/* ==========================================================================
   3. Labeled row (eyebrow label + line, used by Philosophy/Strengths/Team)
   ========================================================================== */
.nico-about-row {
    padding-top: 64px;
    padding-bottom: 64px;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-gutter);
}

@media (min-width: 768px) {
    .nico-about-row { grid-template-columns: repeat(12, 1fr); }
}

.nico-about-row__label-col {
    grid-column: span 12;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .nico-about-row__label-col { grid-column: span 4; margin-bottom: 0; }
}

.nico-about-row__eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-on-surface-variant);
    margin-bottom: 16px;
}

.nico-about-row__rule {
    width: 48px;
    height: 1px;
    background-color: var(--color-outline-variant);
}

.nico-about-row__content {
    grid-column: span 12;
}

@media (min-width: 768px) {
    .nico-about-row__content { grid-column: span 8; }
}

/* Philosophy quote line */
.nico-about-philosophy {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 24px;
    line-height: 1.6;
    color: var(--color-primary);
}

@media (min-width: 768px) {
    .nico-about-philosophy { font-size: 32px; }
}

/* ==========================================================================
   4. Vision statement (centered, large)
   ========================================================================== */
.nico-about-vision {
    padding-top: 64px;
    padding-bottom: 64px;
    text-align: center;
}

.nico-about-vision__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--color-primary);
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .nico-about-vision__title { font-size: 40px; }
}

.nico-about-vision__desc {
    color: var(--color-on-surface-variant);
    line-height: 1.8;
    font-size: 18px;
    max-width: 48rem;
    margin: 0 auto;
}

/* ==========================================================================
   5. Strengths grid (2 columns within the content column)
   ========================================================================== */
.nico-about-strengths {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px 48px;
}

@media (min-width: 768px) {
    .nico-about-strengths { grid-template-columns: repeat(2, 1fr); }
}

.nico-about-strengths h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.nico-about-strengths p {
    color: var(--color-on-surface-variant);
    line-height: 1.8;
}

/* ==========================================================================
   6. Team members
   ========================================================================== */
.nico-team-list {
    display: flex;
    flex-direction: column;
    gap: 96px;
}

.nico-team-member {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--color-outline-variant);
}

.nico-team-member:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

@media (min-width: 768px) {
    .nico-team-member { flex-direction: row; }
}

.nico-team-member__photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    border: 1px solid var(--color-outline-variant);
    padding: 8px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .nico-team-member__photo { width: 33.333%; }
}

.nico-team-member__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nico-team-member__body {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .nico-team-member__body { width: 66.667%; }
}

.nico-team-member__role-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-on-surface-variant);
    margin-bottom: 8px;
}

.nico-team-member__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 32px;
}

.nico-team-member__fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.nico-team-member__field-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-on-surface-variant);
    font-weight: 600;
    margin-bottom: 8px;
}

.nico-team-member__field-value {
    color: var(--color-on-surface);
    line-height: 1.8;
    font-size: 15px;
}
