/* About page (/ettevottest/) — Hero + Story + Timeline.
   Loaded only when is_page('ettevottest'), gated in inc/enqueue.php.
   Composes on main.css tokens + .container; everything is scoped under .nh-about. */

/* BREADCRUMB ------------------------------------------------------ */
/* Mirrors .nh-cat-crumbs in category.css / .nh-blog .nh-cat-crumbs in blog.css.
   Same markup contract: <div class="container nh-cat-crumbs"><nav class="woocommerce-breadcrumb">...</nav></div>.
   Ported here because about.css is loaded standalone (no shop.css / blog.css). */
.nh-about .woocommerce-breadcrumb {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    color: var(--ink-500);
    letter-spacing: 0.04em;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}
.nh-about .woocommerce-breadcrumb a {
    color: var(--ink-500);
    background: transparent;
    border: 0;
    padding: 0;
}
.nh-about .woocommerce-breadcrumb a:hover { color: var(--green-800); }
.nh-about .nh-cat-crumbs {
    padding-top: 24px;
    padding-bottom: 20px;
    position: relative;
}
.nh-about .nh-cat-crumbs::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(50% - 50vw);
    right: calc(50% - 50vw);
    height: 1px;
    background: var(--bone-300);
    pointer-events: none;
}

/* HERO ------------------------------------------------------------ */
.nh-about .about-hero {
    padding: 64px 0 56px;
    background: var(--bone-100);
    border-bottom: 1px solid var(--bone-300);
}
.nh-about .about-hero h1 {
    font-size: clamp(44px, 6vw, 84px);
    line-height: 0.98;
    letter-spacing: -0.03em;
    font-weight: 800;
    margin: 0 0 24px;
    color: var(--ink-900);
    text-wrap: balance;
    max-width: 980px;
}
.nh-about .about-hero h1 em {
    font-style: normal;
    color: var(--terra-600);
    font-weight: 800;
}
.nh-about .about-hero .dek {
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink-700);
    max-width: 720px;
    margin: 0 0 40px;
    text-wrap: pretty;
}
.nh-about .about-hero .meta-line {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid var(--bone-300);
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--ink-500);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.nh-about .about-hero .meta-line strong {
    color: var(--ink-900);
    font-weight: 700;
}

/* STORY ----------------------------------------------------------- */
.nh-about .story-wrap {
    padding: 96px 0;
    background: #fff;
}
.nh-about .story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 80px;
    align-items: start;
}
.nh-about .story h2 {
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 800;
    margin: 0 0 24px;
    color: var(--ink-900);
    display: flex;
    gap: 18px;
    align-items: baseline;
}
.nh-about .story h2 .num {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--terra-600);
    font-weight: 500;
    letter-spacing: 0;
    flex-shrink: 0;
}
.nh-about .story p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-700);
    margin: 0 0 20px;
    max-width: 680px;
    text-wrap: pretty;
}
.nh-about .story p strong {
    color: var(--ink-900);
    font-weight: 700;
}
.nh-about .story .lead {
    font-size: 22px;
    line-height: 1.5;
    color: var(--ink-900);
    margin: 0 0 32px;
    font-weight: 400;
    max-width: 700px;
}
.nh-about .story .lead em {
    font-style: italic;
    color: var(--terra-600);
    font-weight: 500;
}

.nh-about .facts {
    position: sticky;
    top: 24px;
    background: var(--bone-100);
    border: 1px solid var(--bone-300);
    border-radius: 4px;
    padding: 28px;
}
.nh-about .facts .lbl {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-500);
    font-weight: 600;
    margin-bottom: 18px;
}
.nh-about .facts dl { margin: 0; padding: 0; }
.nh-about .facts dt {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-500);
    font-weight: 600;
    margin-bottom: 6px;
}
.nh-about .facts dd {
    font-size: 15px;
    line-height: 1.4;
    color: var(--ink-900);
    margin: 0 0 18px;
    font-weight: 600;
}
.nh-about .facts dd:last-child { margin-bottom: 0; }
.nh-about .facts dd small {
    display: block;
    font-size: 12px;
    color: var(--ink-500);
    font-weight: 400;
    margin-top: 3px;
    letter-spacing: 0;
    text-transform: none;
}

/* TIMELINE -------------------------------------------------------- */
.nh-about .timeline-wrap {
    padding: 88px 0;
    background: var(--bone-100);
    border-top: 1px solid var(--bone-300);
    border-bottom: 1px solid var(--bone-300);
}
.nh-about .timeline-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 48px;
    gap: 32px;
    flex-wrap: wrap;
}
.nh-about .timeline-head .eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terra-600);
    margin-bottom: 12px;
    font-weight: 600;
}
.nh-about .timeline-head h2 {
    font-size: 44px;
    line-height: 1;
    letter-spacing: -0.025em;
    font-weight: 800;
    margin: 0;
    color: var(--ink-900);
    max-width: 540px;
    text-wrap: balance;
}
.nh-about .timeline-head .desc {
    font-size: 15px;
    color: var(--ink-700);
    max-width: 360px;
    line-height: 1.55;
    margin: 0;
}

.nh-about .timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    position: relative;
}
/* Border-top sits on each step (not on .timeline) so dots have a backing
   line at every breakpoint — desktop's 4 cells merge it into one continuous
   line via gap: 0; tablet's 2x2 and mobile's 1x4 each get their own line. */
.nh-about .tl-step {
    padding: 32px 28px 32px 0;
    border-top: 1px solid var(--ink-900);
    position: relative;
}
.nh-about .tl-step:last-child {
    padding-right: 0;
}
.nh-about .tl-step::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 0;
    width: 13px;
    height: 13px;
    background: var(--bone-100);
    border: 2px solid var(--ink-900);
    border-radius: 50%;
}
.nh-about .tl-step.now::before {
    background: var(--terra-500);
    border-color: var(--terra-500);
}
.nh-about .tl-step .yr {
    font-family: var(--font-sans);
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: var(--ink-900);
    margin-bottom: 10px;
    line-height: 1;
}
.nh-about .tl-step.now .yr { color: var(--terra-600); }
.nh-about .tl-step h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
    color: var(--ink-900);
    letter-spacing: -0.01em;
}
.nh-about .tl-step p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-700);
    margin: 0;
}
.nh-about .tl-step .tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terra-600);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

/* RESPONSIVE — tablet 640–1023 ------------------------------------ */
@media (max-width: 1023px) {
    .nh-about .nh-cat-crumbs { padding-top: 18px; padding-bottom: 16px; }

    .nh-about .about-hero { padding: 56px 0 44px; }
    .nh-about .about-hero .dek { font-size: 18px; margin-bottom: 32px; }
    .nh-about .about-hero .meta-line {
        gap: 14px 22px;
        padding-top: 24px;
    }

    .nh-about .story-wrap { padding: 72px 0; }
    .nh-about .story-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }
    .nh-about .story h2 { gap: 14px; }
    .nh-about .story p { font-size: 16.5px; }
    .nh-about .story .lead { font-size: 20px; margin-bottom: 28px; }
    .nh-about .facts {
        position: static;
        top: auto;
        max-width: 560px;
    }

    .nh-about .timeline-wrap { padding: 72px 0; }
    .nh-about .timeline-head { margin-bottom: 36px; gap: 24px; }
    .nh-about .timeline-head h2 { font-size: 36px; }
    .nh-about .timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .nh-about .tl-step {
        padding: 28px 24px 28px 0;
    }
    .nh-about .tl-step:nth-child(2n) {
        padding-right: 0;
    }
    .nh-about .tl-step .yr { font-size: 32px; }
}

/* RESPONSIVE — mobile <640 ---------------------------------------- */
@media (max-width: 639px) {
    .nh-about .nh-cat-crumbs { padding-top: 14px; padding-bottom: 12px; }
    .nh-about .woocommerce-breadcrumb { font-size: 11px; }

    .nh-about .about-hero { padding: 36px 0 32px; }
    .nh-about .about-hero h1 { margin-bottom: 20px; letter-spacing: -0.02em; line-height: 1.02; }
    .nh-about .about-hero .dek { font-size: 17px; margin-bottom: 28px; }
    .nh-about .about-hero .meta-line {
        gap: 12px 22px;
        padding-top: 22px;
    }

    .nh-about .story-wrap { padding: 56px 0; }
    .nh-about .story h2 { gap: 12px; margin-bottom: 20px; }
    .nh-about .story p { font-size: 16px; line-height: 1.65; }
    .nh-about .story .lead { font-size: 19px; margin-bottom: 26px; }
    .nh-about .facts { padding: 22px; max-width: none; }
    .nh-about .facts dd { font-size: 14.5px; }

    .nh-about .timeline-wrap { padding: 48px 0 56px; }
    .nh-about .timeline-head {
        margin-bottom: 28px;
        gap: 16px;
        flex-direction: column;
        align-items: start;
    }
    .nh-about .timeline-head h2 { font-size: 28px; }
    .nh-about .timeline-head .desc { max-width: none; }
    .nh-about .timeline {
        grid-template-columns: minmax(0, 1fr);
    }
    .nh-about .tl-step {
        padding: 26px 0 28px;
    }
    .nh-about .tl-step:last-child {
        padding-bottom: 0;
    }
    .nh-about .tl-step .yr { font-size: 30px; }
}
