/*
Theme Name: shk_h
Theme URI: https://h.shk.lu/
Description: Haruka Teramoto portfolio
Version: 3.0
Author: hrktrmt
Author URI: https://h.shk.lu/
*/

/* =====================================================
   Reset & base
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; }

::selection      { background: var(--accent); color: var(--accent-text); }
::-moz-selection { background: var(--accent); color: var(--accent-text); }

html, body, p, ul, ol, li, h1, h2, h3, h4, h5, h6, a, blockquote, figure, figcaption {
    margin: 0;
    padding: 0;
}

html { font-size: 62.5%; }

body {
    background: #faf9f7;
    color: #252321;
    font-family:
        'Hiragino Kaku Gothic ProN',
        'Hiragino Kaku Gothic Pro',
        'Yu Gothic Medium',
        'Yu Gothic',
        'Meiryo',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        'Helvetica Neue',
        Arial,
        sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    word-wrap: break-word;
}

img { width: 100%; height: auto; display: block; border: none; }

iframe { width: 100%; border: none; display: block; }

a { color: inherit; text-decoration: none; }

li { list-style: none; }

hr { border: none; border-top: 1px solid rgba(37, 35, 33, 0.1); margin: 0; }

/* =====================================================
   Custom fonts
   ===================================================== */

@font-face {
    font-family: playgnd;
    src: url(https://shk.lu/wp-content/themes/shk/fonts/playgnd.woff) format("woff"),
         url(https://shk.lu/wp-content/themes/shk/fonts/playgnd.ttf)  format("opentype");
}

@font-face {
    font-family: tsubureji;
    src: url(https://shk.lu/wp-content/themes/shk/fonts/tsu-bu-re-ji_font.ttf) format("opentype");
}

.pg        { font-family: playgnd; font-style: normal; font-weight: normal; }
.tsubureji { font-family: tsubureji; font-style: normal; font-weight: normal; font-size: 4rem; }

/* =====================================================
   Design tokens
   ===================================================== */

:root {
    --bg:           #faf9f7;
    --surface:      #edeae5;
    --text:         #252321;
    --muted:        #928f88;
    --border:       rgba(37, 35, 33, 0.1);
    --hdr:          52px;
    --pad:          clamp(2rem, 4.5vw, 6.4rem);
    --accent:       #c8ff00;   /* fluorescent yellow-green — Selected/All active */
    --accent-text:  #162000;   /* dark text on yellow-green */
}

/* =====================================================
   Site header
   ===================================================== */

.h-site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--hdr);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--pad);
    background: var(--bg);
    z-index: 200;
}

.h-site-name {
    font-size: 1.15rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text);
    font-weight: 400;
}

.h-site-nav a {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s;
}

.h-site-nav a:hover { color: var(--text); }

/* =====================================================
   Layout
   ===================================================== */

.h-main {
    padding-top: var(--hdr);
    min-height: 100vh;
}

.h-container {
    max-width: 1480px;
    margin: 0 auto;
    padding-left:  var(--pad);
    padding-right: var(--pad);
}

/* =====================================================
   Typography helpers
   ===================================================== */

.h-section-label {
    font-size: 1.0rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 400;
}

.h-card-title {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text);
    display: block;
}

.h-card-meta {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.4;
    display: block;
}

/* 1行目: 日付 + モード(タイプ) / 2行目: ロール — 常にこの位置で改行し体裁を揃える */
.h-card-meta-line { display: block; }
.h-card-meta-part { white-space: nowrap; }
.h-card-meta-sep  { white-space: normal; }

.h-list-work-type {
    opacity: 0.7;
    font-size: 0.95em;
}

/* =====================================================
   Hero carousel
   ===================================================== */

/* Hero image starts immediately below the fixed header bar — no extra gap */
.h-hero { padding-top: 0; }

.h-hero-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    background: var(--surface);
}

@media (max-width: 700px) { .h-hero-stage { aspect-ratio: 3 / 2; } }

.h-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.85s ease;
    pointer-events: none;
}

.h-hero-slide.active { opacity: 1; pointer-events: auto; }

.h-hero-slide-link { display: block; width: 100%; height: 100%; position: relative; }

.h-hero-slide-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h-hero-slide-title {
    position: absolute;
    right: 0.9rem;
    bottom: 0.7rem;
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

/* Hero navigation dots */
.h-hero-dots {
    position: absolute;
    bottom: 1.8rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.55rem;
    align-items: center;
    z-index: 10;
}

.h-hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: width 0.25s ease, height 0.25s ease, background 0.25s ease;
}

.h-hero-dot.active {
    width: 11px;
    height: 11px;
    background: rgba(255, 255, 255, 0.95);
}

/* Progress bar at bottom of stage */
.h-hero-progress-track {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 5;
}

.h-hero-progress-fill {
    height: 100%;
    width: 0;
    background: rgba(255, 255, 255, 0.7);
}

/* (Hero info row and thumbnail strip removed — hero shows image only) */

/* =====================================================
   Filter bar
   ===================================================== */

.h-filter {
    padding: 2.8rem 0 2rem;
    scroll-margin-top: var(--hdr);
    position: sticky;
    top: var(--hdr);
    z-index: 90;
    background: var(--bg);
    transition: padding 0.25s ease;
}

/* スクロールで張り付いたときのみ padding を詰める（JS が .h-filter--stuck を付与） */
.h-filter--stuck {
    padding-top: 0.2rem !important;
    padding-bottom: 1.4rem !important;
}

/* ── 1行フィルターバー: Selected/All + Format + Role + Display ── */
.h-filter-bar {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    flex-wrap: wrap;
    row-gap: 0.8rem;
}

/* Selected / All: segmented toggle */
.h-curation-tabs {
    display: inline-flex;
    border: 1px solid rgba(37, 35, 33, 0.18);
    border-radius: 3px;
    overflow: hidden;
    gap: 0;
    flex-shrink: 0;
}

.h-curation-tab {
    font-size: 1.3rem;
    font-family: inherit;
    font-weight: 400;
    letter-spacing: 0.04em;
    padding: 0.6rem 1.6rem;
    background: none;
    border: none;
    border-right: 1px solid rgba(37, 35, 33, 0.18);
    cursor: pointer;
    color: var(--muted);
    line-height: 1.4;
    transition: background 0.14s, color 0.14s;
}

.h-curation-tab:last-child { border-right: none; }

.h-curation-tab.active {
    background: var(--text);
    color: #fff;
}

.h-curation-tab:hover:not(.active) {
    background: rgba(37, 35, 33, 0.04);
    color: var(--text);
}

/* format / role をひとかたまりで管理するグループ */
.h-format-group {
    display: inline-flex;
    align-items: center;
    gap: 1.6rem;
    margin-left: 2.4rem;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.h-format-group.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Video + role inline をくっつける */
.h-format-video-group {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Role ボタン群: Video の右に括弧付きで表示 */
.h-role-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88em;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.h-role-inline.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-width: 400px;
}

.h-role-bracket { opacity: 0.38; }

/* Grid / List display toggle (右端に押し出し) */
.h-display-toggle { display: flex; gap: 0.4rem; margin-left: auto; }

.h-display-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 3px;
    cursor: pointer;
    color: var(--muted);
    padding: 0.55rem 0.7rem;
    display: flex;
    align-items: center;
    transition: color 0.16s, border-color 0.16s;
}

.h-display-btn.active { color: var(--text); border-color: var(--text); }
.h-display-btn:hover  { color: var(--text); }

/* Filter buttons: format / role */
.h-filter-btn {
    font-size: 1.1rem;
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    opacity: 0.6;
    padding: 0.12em 0.44em;
    margin: 0 -0.44em;
    border-radius: 2px;
    letter-spacing: 0.02em;
    line-height: 1.7;
    transition: opacity 0.14s, background 0.14s, color 0.14s;
}

.h-filter-btn.active {
    opacity: 1;
    background: var(--text);
    color: var(--bg);
}

.h-filter-btn:hover:not(.active) { opacity: 0.85; }
.h-filter-btn.active:hover { background: rgba(37, 35, 33, 0.55); }

@media (max-width: 600px) {
    .h-curation-tab { font-size: 1.15rem; padding: 0.45rem 1.2rem; }
    .h-filter-bar   { gap: 1.0rem; }
    /* モバイル: format/role を常に2行目・左寄せで */
    .h-format-group {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        margin-left: 0.44em; /* filter-btn の負マージン分を補正して selected と左端を揃える */
    }
    /* モバイル: リストビュー切り替えUIを非表示、リストセクションは強制非表示 */
    .h-display-toggle { display: none; }
    #h-works-list-section { display: none !important; }
}

/* =====================================================
   Works grid
   ===================================================== */

.h-works { padding: 0.8rem 0 9rem; min-height: 100vh; }

.h-works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem 1.6rem;
    transition: opacity 0.2s ease;
}

@media (max-width: 1280px) { .h-works-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px)  { .h-works-grid { grid-template-columns: repeat(2, 1fr); gap: 3.2rem 1.2rem; } }
@media (max-width: 480px)  { .h-works-grid { grid-template-columns: 1fr; } }

.h-work-card { display: block; color: var(--text); }
.h-work-card:hover .h-work-card-img img { opacity: 0.8; }
.h-work-card.h-hidden { display: none; }

.h-work-card-img {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: var(--surface);
}

.h-work-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.22s ease;
}

.h-work-card-info {
    padding: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.h-no-results {
    padding: 5rem 0;
    color: var(--muted);
    font-size: 1.3rem;
}

/* =====================================================
   Works list view (text table)
   ===================================================== */

.h-works-list {
    border-top: 1px solid var(--border);
}

.h-list-header {
    display: grid;
    grid-template-columns: 6rem 1fr 8rem 9rem 11rem;
    gap: 0 1.6rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

@media (max-width: 700px) {
    .h-list-header { grid-template-columns: 5.5rem 1fr; }
    .h-list-col--format, .h-list-col--type, .h-list-col--role { display: none; }
}

.h-list-header .h-list-col {
    font-size: 1.0rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.h-list-row {
    display: grid;
    grid-template-columns: 6rem 1fr 8rem 9rem 11rem;
    gap: 0 1.6rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    align-items: baseline;
    transition: background 0.12s;
}

@media (max-width: 700px) {
    .h-list-row { grid-template-columns: 5.5rem 1fr; }
}

.h-list-row:hover { background: rgba(37, 35, 33, 0.03); }

.h-list-col--year {
    font-size: 1.15rem;
    color: var(--muted);
    font-feature-settings: "tnum";
    letter-spacing: 0.02em;
}

.h-list-col--title {
    font-size: 1.35rem;
    line-height: 1.4;
}

.h-list-col--format,
.h-list-col--type,
.h-list-col--role {
    font-size: 1.1rem;
    color: var(--muted);
    letter-spacing: 0.02em;
}

/* =====================================================
   Single work page
   ===================================================== */

.h-single { padding-bottom: 10rem; }

/* Narrow header: title + meta + description */
.h-single-header {
    padding-top: 3.6rem;
    max-width: 780px;
    margin-bottom: 0;
}

.h-single-title {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1.3;
    margin-bottom: 0.7rem;
}

.h-single-meta {
    font-size: 1.2rem;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.h-single-description {
    margin-top: 2.4rem;
    padding-bottom: 0;
    border-bottom: none;
    font-size: 1.4rem;
    line-height: 1.9;
    color: var(--text);
}

/* Video embed (full-width, above description) */
.h-single-video {
    padding: 3.2rem var(--pad) 0;
    max-width: 1480px;
    margin: 0 auto;
}

.h-single-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
}

/* Wide gallery content area */
.h-single-content {
    padding: 3.2rem var(--pad) 0;
    max-width: 1480px;
    margin: 0 auto;
}

/* Text content readable width */
.h-single-content p,
.h-single-content li,
.h-single-content blockquote {
    font-size: 1.4rem;
    line-height: 1.85;
    margin-bottom: 1.4rem;
    max-width: 680px;
}

.h-single-content a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-color: rgba(37, 35, 33, 0.3);
    transition: text-decoration-color 0.2s;
}

.h-single-content a:hover { text-decoration-color: var(--text); }

/* Video embeds: full width, aspect-ratio 16:9 */
.h-single-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin-bottom: 2.4rem;
    max-width: none;
}

/* Gallery: clean grid layout */
.h-single-content .gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 4px;
    margin: 3.2rem 0;
}

/* gallery-columns-N クラスでカラム数を上書き */
.h-single-content .gallery.gallery-columns-1 { grid-template-columns: 1fr; }
.h-single-content .gallery.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.h-single-content .gallery.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.h-single-content .gallery.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.h-single-content .gallery.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.h-single-content .gallery.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.h-single-content .gallery.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.h-single-content .gallery.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.h-single-content .gallery.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }

.h-single-content .gallery-item {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: none !important;
}

.h-single-content .gallery-item a,
.h-single-content .gallery-item dt,
.h-single-content .gallery-item figure {
    display: block;
    width: 100%;
    height: 100%;
    border: none !important;
}

.h-single-content .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
    transition: opacity 0.2s;
    max-width: none;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.h-single-content .gallery-item:hover img { opacity: 0.8; }

.h-single-content .gallery br { display: none; }

/* Gutenberg gallery */
.h-single-content .wp-block-gallery {
    gap: 4px;
    margin: 3.2rem 0;
}

.h-single-content .wp-block-gallery figure img,
.h-single-content .blocks-gallery-item img {
    cursor: zoom-in;
    transition: opacity 0.2s;
}

.h-single-content .wp-block-gallery figure:hover img { opacity: 0.8; }

/* Narrow details */
.h-single-details {
    max-width: 880px;
    padding-top: 5.6rem;
    padding-bottom: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Each detail section separated by subtle rule */
.h-single-section {
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 0 4.8rem;
    align-items: start;
    padding: 3.6rem 0;
    border-top: 1px solid var(--border);
}

.h-single-section:last-child { border-bottom: 1px solid var(--border); }

@media (max-width: 600px) {
    .h-single-section { grid-template-columns: 1fr; gap: 0.6rem 0; padding: 2.4rem 0; }
}

.h-single-section-label {
    font-size: 1.0rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 400;
    padding-top: 0.15em;
    line-height: 1.85;
    white-space: nowrap;
}

.h-single-section-body {
    font-size: 1.3rem;
    line-height: 1.85;
    color: var(--text);
}

/* Credit: 行間を少し詰める（空白行が大きく見えすぎないように） */
.h-single-section-body--credit {
    line-height: 1.55;
}

/* Specs */
.h-single-specs {
    font-size: 1.2rem;
    color: var(--text);
    letter-spacing: 0.02em;
}

/* 本文・bio・note などの section body 内リンク */
.h-single-section-body a {
    color: rgba(37, 35, 33, 0.62);
    text-decoration: underline;
    text-underline-offset: 0.22em;
    text-decoration-color: rgba(37, 35, 33, 0.32);
    transition: color 0.2s, text-decoration-color 0.2s;
}

.h-single-section-body a:hover {
    color: var(--text);
    text-decoration-color: rgba(37, 35, 33, 0.65);
}

.h-single-related-link {
    display: inline-block;
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-color: rgba(37, 35, 33, 0.28);
    transition: text-decoration-color 0.2s;
    margin-bottom: 0.4rem;
}

.h-single-related-link:hover { text-decoration-color: var(--text); }

/* =====================================================
   Custom lightbox
   ===================================================== */

.h-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 900;
    align-items: center;
    justify-content: center;
}

.h-lightbox.active { display: flex; }

body.h-lb-open { overflow: hidden; }

.h-lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.94);
    cursor: zoom-out;
}

.h-lb-img {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    cursor: zoom-out;
}

.h-lb-btn {
    position: fixed;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    background: rgba(20, 20, 20, 0.45);
    border: none;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    padding: 0;
    transition: color 0.18s, background-color 0.18s;
    font-family: inherit;
    line-height: 1;
}

.h-lb-btn svg { width: 1.1rem; height: 1.1rem; display: block; }

.h-lb-btn:hover { color: #fff; background: rgba(20, 20, 20, 0.7); }

.h-lb-close { top: 1.4rem; right: 1.4rem; font-size: 1.3rem; }

/* prev/next の位置は画像の実寸に応じて JS が top/left を直接設定する */
.h-lb-prev, .h-lb-next { top: 50%; }

/* 画像の左右1/8 + その外側の領域をクリック/タップで前後移動 */
.h-lb-zone {
    position: fixed;
    z-index: 2;
    cursor: pointer;
}

@media (max-width: 700px) {
    .h-lb-btn { width: 2.3rem; height: 2.3rem; }
    .h-lb-btn svg { width: 0.95rem; height: 0.95rem; }
    .h-lb-close { top: 0.8rem; right: 0.8rem; }
    .h-lb-counter { bottom: 0.7rem; }
}

.h-lb-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.1em;
    z-index: 2;
}

/* =====================================================
   Bio page
   ===================================================== */

.h-bio { padding-bottom: 10rem; }

.h-bio-container { max-width: 900px; }

/* bio の詳細セクションは横に広がりすぎないよう制限 */
.h-bio-details { max-width: 900px; }

/* h-single-details 内の先頭に置くことで Bio/Education/Awards ラベル列と常に揃う */
.h-bio-top {
    display: grid;
    grid-template-columns: 9rem 1fr;
    gap: 0 4.8rem;
    align-items: center;
    padding-bottom: 3.6rem;
}

.h-bio-top-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.h-bio-social {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.h-bio-social-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 1.25rem;
    color: var(--muted);
    opacity: 0.85;
    transition: opacity 0.2s, color 0.2s;
    text-decoration: none;
}

.h-bio-social-row:hover {
    opacity: 1;
    color: var(--text);
}

.h-bio-social-icon {
    width: 15px !important;
    height: 15px !important;
    flex-shrink: 0;
    display: block !important;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.h-bio-social-row:hover .h-bio-social-icon { opacity: 1; }

@media (max-width: 600px) {
    /* モバイルでも写真とアイコンは横並びを維持。列幅を auto に縮小 */
    .h-bio-top {
        grid-template-columns: auto 1fr;
        gap: 0 3.2rem;
    }
}

.h-bio-photo {
    width: 72px;
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.h-bio-photo img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
}

.h-bio-name {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.h-bio-statement {
    font-size: 1.75rem;
    line-height: 1.85;
    color: var(--text);
    max-width: 740px;
    padding-left: calc(72px + 2.4rem);
    margin-bottom: 6.4rem;
}

.h-bio-career {
    max-width: 560px;
    padding-left: calc(72px + 2.4rem);
}

.h-bio-career p {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 0.8rem;
}

.h-bio-career h2,
.h-bio-career h3 {
    font-size: 1.0rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 400;
    margin-top: 3.2rem;
    margin-bottom: 1rem;
}

.h-bio-career a {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-color: rgba(146, 143, 136, 0.3);
    transition: color 0.2s, text-decoration-color 0.2s;
}

.h-bio-career a:hover { color: var(--text); text-decoration-color: var(--text); }

@media (max-width: 700px) {
    .h-bio-statement,
    .h-bio-career { padding-left: 0; }
    .h-bio-statement { font-size: 1.55rem; }
}

/* =====================================================
   Static pages
   ===================================================== */

.h-page-content { padding-bottom: 10rem; }

.h-page-inner {
    padding-top: 5.6rem;
    max-width: 660px;
}

.h-page-title {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 3.2rem;
}

.h-page-body { font-size: 1.45rem; line-height: 1.9; }
.h-page-body p { margin-bottom: 1.8rem; }
.h-page-body p:last-child { margin-bottom: 0; }

.h-page-body a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-color: rgba(37, 35, 33, 0.28);
    transition: text-decoration-color 0.2s;
}

.h-page-body a:hover { text-decoration-color: var(--text); }

/* =====================================================
   Site footer
   ===================================================== */

.h-site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5rem var(--pad);
}

.h-footer-copy {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.3;
}

.h-footer-copy-name {
    font-size: 1.05rem;
    color: var(--text);
    opacity: 0.85;
    letter-spacing: 0.06em;
}

.h-footer-copy-note {
    font-size: 0.9rem;
    color: var(--text);
    opacity: 0.55;
    letter-spacing: 0.04em;
}

.h-footer-links { display: flex; gap: 1.6rem; align-items: center; }

.h-footer-icon {
    width: 16px !important;
    height: 16px !important;
    opacity: 0.85;
    transition: opacity 0.22s;
    display: block !important;
}

.h-footer-links a:hover .h-footer-icon { opacity: 1; }
