/*
Theme Name: ARIS xAI Studio
Author: ARIS xAI STUDIO
Description: V2.11 refines project pages with optional facts, centered reading and spacious uncropped imagery; preserves project-linked articles and existing content.
Version: 2.11.0
Requires at least: 6.0
Requires PHP: 7.4
*/

@font-face {
    font-family: "ARIS Serif";
    src: url("assets/fonts/noto-serif-display.woff") format("woff");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "ARIS Sans";
    src: url("assets/fonts/be-vietnam-pro-regular.woff") format("woff");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "ARIS Sans";
    src: url("assets/fonts/be-vietnam-pro-medium.woff") format("woff");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "ARIS Sans";
    src: url("assets/fonts/be-vietnam-pro-semibold.woff") format("woff");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

:root {
    --ink: #19191b;
    --paper: #f8f8f6;
    --soft: #e9e9e6;
    --muted: #616163;
    --line: #d7d7d4;
    --white: #ffffff;
    --accent: #753c49;
    --accent-light: #e3b9c3;
    --serif: "ARIS Serif", Georgia, "Times New Roman", serif;
    --sans: "ARIS Sans", Arial, Helvetica, sans-serif;
    --max: 1440px;
}
* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 15px/1.7 var(--sans);
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
}
::selection { color: var(--white); background: var(--accent); }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
section[id] { scroll-margin-top: 24px; }
.wrap { width: min(calc(100% - 96px), var(--max)); margin: auto; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; }

.site-header {
    position: absolute;
    z-index: 20;
    inset: 0 0 auto;
    color: var(--white);
    padding: 28px 0;
    background: rgba(25, 25, 27, 0.55);
}
.admin-bar .site-header { top: 32px; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.brand { font-weight: 600; font-size: 14px; white-space: nowrap; }
.nav-links, .nav-links .menu {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-links a { font-size: 11px; font-weight: 500; text-transform: uppercase; text-underline-offset: 7px; }
.nav-links a:hover { text-decoration: underline; }

.hero, .profile-hero {
    min-height: 760px;
    min-height: 88svh;
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
}
.hero::after, .profile-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(25, 25, 27, 0.08) 30%, rgba(25, 25, 27, 0.76));
}
.hero-media, .profile-media { position: absolute; inset: 0; }
.hero-media img, .profile-media img { height: 100%; object-fit: cover; }
.hero-fallback { position: absolute; inset: 0; background: var(--ink); }
.hero-inner, .profile-copy { position: relative; z-index: 2; padding: 180px 0 88px; }
.eyebrow { font-size: 11px; font-weight: 500; line-height: 1.7; margin-bottom: 20px; text-transform: uppercase; color: var(--accent); }
.hero .eyebrow, .profile-hero .eyebrow, .page-hero .eyebrow, .ceo-section .eyebrow, .cta .eyebrow { color: var(--accent-light); }
.hero h1, .profile-copy h1 { max-width: 1000px; font-size: 108px; line-height: 1.12; text-wrap: balance; }
.hero p, .profile-copy p { max-width: 640px; margin: 24px 0 0; color: #ededeb; font-size: 18px; }
.hero { min-height: 620px; min-height: clamp(580px, 78svh, 900px); }
.hero-inner { padding: 180px 0 72px; }

/* Portraits retain their original composition instead of filling a wide banner. */
.person-hero { min-height: 0; display: block; padding: 160px 0 72px; }
.person-hero::after { display: none; }
.person-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.person-hero .profile-copy { min-width: 0; padding: 0; }
.person-hero .profile-copy h1 { max-width: 680px; font-size: clamp(44px, 5.2vw, 80px); line-height: 1.22; }
.person-hero .profile-copy p { max-width: 480px; font-size: 16px; line-height: 1.85; color: #d4d4d2; }
.person-hero .eyebrow { max-width: 440px; font-size: 10px; line-height: 1.85; letter-spacing: 0.06em; margin-bottom: 24px; }
.person-portrait { position: relative; min-width: 0; background: #343437; }
.person-portrait img { width: 100%; height: auto; }
.person-portrait .empty-media { position: relative; aspect-ratio: 1; }

.section { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 40px; margin-bottom: 40px; }
.section-head > *, .split > *, .detail-layout > *, .visual-layout > *, .ceo-layout > * { min-width: 0; }
.section h2, .page-hero h1 { max-width: 760px; font-size: 56px; line-height: 1.22; text-wrap: balance; }
.section-intro, .archive-description { max-width: 450px; color: var(--muted); }
.split, .detail-layout { display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr); gap: 64px; }
.lead-copy, .practice-list, .entry-content { font-size: 17px; }
.lead-copy p:first-child, .practice-list p:first-child, .entry-content p:first-child { margin-top: 0; }
.visual-section, .people-section { background: var(--white); }
.real-estate-section, .people-section { border-top: 1px solid var(--line); }
.visual-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.system-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.system-grid article { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); }
.system-grid span { display: block; margin-bottom: 34px; color: var(--accent); font-weight: 600; }
.system-grid h3 { font-size: 32px; line-height: 1.3; }
.system-grid p { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; width: 100%; min-width: 0; min-height: 420px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--soft); }
.card img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.card:hover img, .card:focus-visible img { transform: scale(1.025); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 32%, rgba(25, 25, 27, 0.88)); }
.card-copy { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; color: var(--white); }
.card .eyebrow { color: var(--white); margin-bottom: 12px; }
.card-copy h3 { margin-bottom: 8px; font-size: 32px; line-height: 1.3; }
.card-copy p { max-width: 520px; margin: 0; color: #ededeb; font-size: 14px; }
.project-card { grid-column: span 6; }
.visual-card { grid-column: span 4; min-height: 320px; }
.visual-card .card-copy h3 { font-size: clamp(24px, 2vw, 30px); }
.visual-card .eyebrow { font-size: 9px; }
.visual-groups { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.visual-groups a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 2px; font-size: 12px; color: var(--muted); }
.visual-groups a:hover { border-color: var(--accent); color: var(--accent); }
.visual-cover { padding: 48px 0 0; background: var(--white); }
.visual-cover img { width: 100%; height: auto; }
.visual-entry .wp-block-gallery { gap: 20px; }
.visual-entry figure { max-width: 100%; margin-left: 0; margin-right: 0; }
.visual-entry .alignwide, .visual-entry .alignfull { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
.person-card, .story-card { grid-column: span 4; min-height: 400px; aspect-ratio: 3 / 4; }
.people-section .person-card { grid-column: span 4; min-height: 360px; }
.person-card img { object-position: center top; }
.person-card::after { background: linear-gradient(180deg, transparent 48%, rgba(25, 25, 27, 0.28) 65%, rgba(25, 25, 27, 0.92)); }
.person-card .card-copy { left: 24px; right: 24px; bottom: 24px; }
.person-card .eyebrow { font-size: 9px; font-weight: 500; line-height: 1.75; letter-spacing: 0.04em; margin-bottom: 12px; }
.person-card .card-copy h3 { font-size: clamp(24px, 2vw, 30px); line-height: 1.25; margin-bottom: 12px; text-wrap: balance; }
.person-card .card-copy p { font-size: 12px; line-height: 1.7; color: #ededeb; }
.placeholder-card::after { background: none; }
.placeholder-media { position: absolute; inset: 0; background: #343437; }
.empty-media { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; color: var(--white); background: #343437; font-size: 12px; font-weight: 500; text-align: center; text-transform: uppercase; }
.empty-panel { grid-column: 1 / -1; padding: 32px; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); background: var(--white); }

.text-link, .button { display: inline-flex; width: fit-content; border-bottom: 1px solid currentColor; padding: 10px 0; color: var(--accent); font-size: 12px; font-weight: 600; text-transform: uppercase; transition: color 180ms ease; }
.text-link:hover, .button:hover { color: var(--ink); }
.button, .section-link { margin-top: 28px; }
.visual-layout, .ceo-layout { display: grid; grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.visual-copy { max-width: 760px; color: var(--muted); font-size: 16px; }
.visual-copy p:first-child { margin-top: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0 12px; }
.service-card { min-height: 144px; padding: 18px 8px 0 0; border-top: 1px solid var(--line); color: var(--ink); }
.service-card span { display: block; margin-bottom: 24px; color: var(--accent); font-size: 11px; font-weight: 500; }
.service-card strong { display: block; font: 400 22px/1.4 var(--serif); }
.ceo-section { background: var(--ink); color: var(--white); }
.ceo-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--soft); }
.ceo-media img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.ceo-copy h2 { max-width: 820px; font-size: 64px; line-height: 1.3; }
.ceo-role { margin-top: 22px; color: var(--accent-light); font-size: 15px; font-weight: 500; }
.ceo-copy p { max-width: 640px; color: #d4d4d2; font-size: 16px; }
.ceo-copy .button, .cta .button { color: var(--white); }
.ceo-copy .button:hover, .cta .button:hover { color: var(--accent-light); }
.contact-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 32px; font-style: normal; }
.contact-links a { display: flex; align-items: center; gap: 12px; min-height: 52px; min-width: 0; max-width: 100%; font-size: 15px; overflow-wrap: anywhere; }
.contact-email { grid-column: 1 / -1; }
.contact-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid #555; border-radius: 50%; color: var(--accent-light); }
.contact-icon svg { width: 21px; height: 21px; }
.contact-text { min-width: 0; }
.contact-label { display: block; font-size: 10px; color: #c4c4c2; }
.contact-value { display: block; font-size: 14px; }
.contact-links a:hover { color: var(--accent-light); }
.portrait-fallback { position: absolute; inset: 0; background: var(--soft); }

.page-hero { padding: 170px 0 72px; background: var(--ink); color: var(--white); }
.page-hero .archive-description { margin-top: 22px; color: #d4d4d2; font-size: 17px; }
.content { padding: 84px 0 110px; }
.detail-section { background: var(--white); }
.detail-meta { position: sticky; top: 28px; align-self: start; border-top: 1px solid var(--line); }
.meta-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.meta-item span { display: block; color: var(--muted); font-size: 11px; font-weight: 500; text-transform: uppercase; }
.meta-item strong { display: block; margin-top: 4px; font-weight: 400; }
.entry-content { max-width: 840px; }
.entry-content img { border-radius: 2px; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cta { padding: 120px 0; background: var(--ink); color: var(--white); }
.cta h2 { max-width: 900px; font-size: 64px; line-height: 1.25; }
.site-footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-row { display: block; }
.footer-row strong, .footer-row span { display: block; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.site-header a:focus-visible, .ceo-section a:focus-visible, .cta a:focus-visible, .page-hero a:focus-visible, .card:focus-visible { outline-color: var(--accent-light); }

@media (max-width: 1200px) {
    .wrap { width: min(calc(100% - 64px), var(--max)); }
    .nav-links, .nav-links .menu { gap: 14px; }
    .hero h1, .profile-copy h1 { font-size: 88px; }
    .person-card .card-copy h3 { min-height: 2.5em; }
}
@media (max-width: 980px) {
    .nav { flex-wrap: wrap; gap: 18px; }
    .nav-links { width: 100%; flex-wrap: wrap; gap: 12px 20px; }
    .nav-links .menu { flex-wrap: wrap; gap: 12px 20px; }
    .hero h1, .profile-copy h1 { font-size: 72px; }
    .split, .detail-layout, .system-grid, .visual-layout, .ceo-layout, .service-grid { grid-template-columns: 1fr; }
    .section-head { display: block; }
    .section-intro { margin-top: 22px; }
    .project-card, .person-card, .story-card, .people-section .person-card { grid-column: span 6; min-height: 340px; }
    .visual-card { grid-column: span 6; }
    .detail-meta { position: static; }
    .footer-row { grid-template-columns: 1fr; }
    .person-hero { padding-top: 210px; }
    .person-hero-layout { gap: 32px; }
    .person-hero .profile-copy h1 { font-size: 48px; }
    .people-section .person-card { grid-column: span 4; }
    .person-card .card-copy { left: 18px; right: 18px; }
}
@media (max-width: 640px) {
    .wrap { width: min(calc(100% - 40px), var(--max)); }
    .site-header { padding: 20px 0; }
    .nav-links a { font-size: 10px; }
    .hero, .profile-hero { min-height: 640px; min-height: max(640px, 82svh); }
    .hero-inner, .profile-copy { padding: 240px 0 56px; }
    .hero h1, .profile-copy h1 { font-size: 46px; line-height: 1.24; }
    .hero p, .profile-copy p { font-size: 15px; }
    .hero { min-height: 540px; min-height: clamp(500px, 72svh, 660px); }
    .hero-inner { padding: 176px 0 48px; }
    .section h2, .page-hero h1, .ceo-copy h2, .cta h2 { font-size: 36px; line-height: 1.35; }
    .section { padding: 62px 0; }
    .content { padding: 64px 0 84px; }
    .card, .people-section .person-card { grid-column: 1 / -1; min-height: 360px; }
    .visual-card { min-height: 300px; }
    .contact-links { gap: 16px 10px; }
    .contact-icon { width: 36px; height: 36px; flex-basis: 36px; }
    .contact-value { font-size: 12px; }
    .card-copy, .person-card .card-copy { left: 20px; right: 20px; bottom: 20px; }
    .card-copy h3 { font-size: 28px; }
    .visual-layout, .ceo-layout { gap: 32px; }
    .service-card { min-height: 0; padding: 16px 0; }
    .service-card span { margin-bottom: 12px; }
    .page-hero { padding-top: 230px; }
    .portrait-fallback { font-size: 28px; }
    .person-hero { min-height: 0; padding: 220px 0 40px; }
    .person-hero-layout { grid-template-columns: 1fr; gap: 32px; }
    .person-hero .profile-copy { padding: 0; }
    .person-hero .profile-copy h1 { font-size: clamp(36px, 10vw, 46px); }
    .person-hero .profile-copy p { font-size: 15px; margin-top: 20px; }
    .person-card .card-copy h3 { min-height: 0; font-size: 28px; }
}
@media (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .card img, .text-link, .button { transition: none; }
    .card:hover img, .card:focus-visible img { transform: none; }
}

/* Homepage only: keep brand copy on the stone/water side of the photograph. */
.home .hero { min-height: 0; aspect-ratio: 16 / 9; align-items: center; }
.home .hero::after {
    background: linear-gradient(90deg, rgba(25, 25, 27, 0.68), rgba(25, 25, 27, 0.36) 43%, rgba(25, 25, 27, 0.02) 62%);
}
.home .hero-inner { padding: 120px 0 64px; }
.hero-text { width: 43%; max-width: 560px; }
.home .hero h1 { font-size: clamp(40px, 5.4vw, 84px); line-height: 1.12; }
.hero-text h1 span { display: block; }

/* V2.11: project detail only. People, Visual and the homepage keep their layouts. */
.project-cover-credit { padding: 14px 0; background: var(--white); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.8; }
.project-cover-credit a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.project-detail-wrap { min-width: 0; }
.project-facts { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px 40px; margin: 0 0 56px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-facts-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); flex: 1 1 700px; gap: 24px 32px; min-width: 0; margin: 0; }
.project-fact { min-width: 0; }
.project-fact dt { color: var(--muted); font-size: 11px; font-weight: 500; text-transform: uppercase; }
.project-fact dd { margin: 8px 0 0; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.project-facts .project-facts-cta { min-height: 44px; max-width: 100%; margin: 0; overflow-wrap: anywhere; }
.project-entry { display: flow-root; width: 100%; max-width: none; font-size: 17px; line-height: 1.95; }
.project-entry > * { min-width: 0; max-width: 760px; margin-left: auto; margin-right: auto; }
.project-entry > :first-child { margin-top: 0; }
.project-entry > :last-child { margin-bottom: 0; }
.project-entry h2 { margin-top: 48px; margin-bottom: 20px; font-size: clamp(28px, 3vw, 40px); line-height: 1.4; }
.project-entry h3 { margin-top: 32px; margin-bottom: 16px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.4; }
.project-entry > figure, .project-entry > .wp-caption { float: none; width: 100%; max-width: 1120px; margin-top: 40px; margin-bottom: 40px; }
.project-entry > .wp-block-image, .project-entry > .wp-caption { display: block; }
.project-entry > .wp-block-image:not(.is-resized) img,
.project-entry > .wp-caption > img,
.project-entry > p > img,
.project-entry > img { display: block; width: auto; max-width: 100%; height: auto; max-height: 100svh; margin-left: auto; margin-right: auto; object-fit: contain; }
/* Classic-editor image paragraphs also escape the text column in modern browsers. */
.project-entry > p:has(> img) { max-width: 1120px; }
.project-entry > :is(.wp-block-gallery, .gallery, .wp-block-columns, .wp-block-group, .wp-block-cover, .wp-block-media-text, .alignwide, .alignfull) { max-width: 100%; }
.project-entry .alignwide, .project-entry .alignfull { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
.project-entry > .alignwide, .project-entry > .alignfull { margin-left: auto; margin-right: auto; }
.project-entry > .wp-block-image img, .project-entry > .wp-caption img { margin-left: auto; margin-right: auto; }
.project-entry .wp-block-gallery { gap: 20px; }
.project-entry figcaption, .project-entry .wp-caption-text { max-width: 760px; margin: 12px auto 0; color: var(--muted); font-size: 12px; line-height: 1.85; text-align: center; }
.project-entry iframe, .project-entry video { max-width: 100%; }
.project-entry > .wp-block-table { max-width: 100%; overflow-x: auto; }
.project-entry table { width: 100%; border-collapse: collapse; font-size: 14px; }
.project-entry th, .project-entry td { padding: 12px; border: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
.project-entry blockquote { border-left: 3px solid var(--accent); padding-left: 24px; color: var(--muted); }
.project-content-pages { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 640px) {
    .project-facts { margin-bottom: 36px; gap: 24px; }
    .project-facts-list { grid-template-columns: 1fr; gap: 20px; }
    .project-entry { font-size: 16px; }
    .project-entry > figure, .project-entry > .wp-caption { margin-top: 28px; margin-bottom: 28px; }
    .project-entry .wp-block-gallery { gap: 12px; }
}

/* V2.10: scoped editorial components. */
.project-journal, .journal-related { border-top: 1px solid var(--line); }
.journal-topics { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.journal-topics a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.journal-topics a:hover, .journal-topics a[aria-current="page"] { color: var(--white); border-color: var(--accent); background: var(--accent); }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
.journal-card { display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid var(--line); }
.journal-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.journal-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 220ms ease; }
.journal-card:hover .journal-card-media img { transform: scale(1.025); }
.journal-card-placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; color: var(--muted); font-size: 11px; }
.journal-card-copy { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.journal-card-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; color: var(--muted); font-size: 10px; }
.journal-card-meta > span { color: var(--accent); }
.journal-card h3 { font-size: clamp(24px, 2.1vw, 32px); line-height: 1.35; }
.journal-card p { margin: 16px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.journal-read-more { margin-top: auto; padding-top: 20px; font-size: 11px; font-weight: 600; color: var(--accent); }
.journal-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 30px; color: #d4d4d2; font-size: 12px; }
.journal-breadcrumb a, .journal-byline a { text-decoration: underline; text-underline-offset: 4px; }
.journal-reading-width { max-width: 840px; }
.journal-article-hero h1 { max-width: none; font-size: clamp(36px, 4.5vw, 64px); line-height: 1.25; }
.journal-article-hero .journal-deck { max-width: none; line-height: 1.9; }
.journal-byline { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; color: #d4d4d2; font-size: 12px; }
.journal-cover { margin-top: 40px; margin-bottom: 0; }
.journal-cover img { width: 100%; height: auto; max-height: 85svh; object-fit: contain; background: var(--soft); }
.journal-cover figcaption, .journal-entry figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); }
.journal-entry { max-width: none; font-size: 17px; line-height: 1.95; }
.journal-entry h2 { margin: 48px 0 20px; font-size: clamp(28px, 3vw, 40px); line-height: 1.35; }
.journal-entry h3 { margin: 32px 0 16px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.4; }
.journal-entry > :first-child { margin-top: 0; }
.journal-entry figure { margin: 32px 0; max-width: 100%; }
.journal-entry .alignfull, .journal-entry .alignwide { width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
.journal-entry iframe, .journal-entry video { max-width: 100%; }
.journal-entry table { width: 100%; border-collapse: collapse; font-size: 14px; }
.journal-entry th, .journal-entry td { padding: 12px; border: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
.journal-entry .wp-block-table { overflow-x: auto; }
.journal-entry blockquote { margin: 32px 0; border-left: 3px solid var(--accent); padding-left: 24px; color: var(--muted); }
.journal-image-note { padding: 18px 20px; margin-bottom: 32px; border-left: 3px solid var(--accent); background: var(--white); color: var(--muted); font-size: 13px; }
.journal-sources, .journal-project-return { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.journal-sources h2 { font-size: 28px; }
.journal-sources li { margin: 12px 0; font-size: 13px; overflow-wrap: anywhere; }
.journal-sources a { text-decoration: underline; text-underline-offset: 3px; color: var(--accent); }
.journal-project-return p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.journal-pagination ul { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 40px 0 0; }
.journal-pagination .page-numbers a, .journal-pagination .page-numbers span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); }
.journal-pagination .page-numbers .current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.ceo-copy .founder-profile-link { color: var(--accent-light); }
@media (max-width: 980px) {
    .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .journal-article-hero { padding-top: 205px; }
}
@media (max-width: 640px) {
    .journal-grid { grid-template-columns: 1fr; gap: 24px; }
    .journal-card-copy { padding: 22px; }
    .journal-card h3 { font-size: 28px; }
    .journal-article-hero { padding-top: 200px; }
    .journal-topics { gap: 8px; }
    .journal-topics a { padding: 9px 12px; }
    .journal-breadcrumb { margin-bottom: 24px; }
    .journal-cover { margin-top: 24px; }
    .journal-entry { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .journal-card-media img { transition: none; }
    .journal-card:hover .journal-card-media img { transform: none; }
}
.home .hero p { max-width: 460px; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.85; margin-top: 26px; }

/* Tablet/mobile: the complete photograph above the copy, not behind it. */
@media (max-width: 980px) {
    .home .site-header, .home.admin-bar .site-header { position: relative; inset: auto; background: var(--ink); }
    .home .hero { display: block; aspect-ratio: auto; min-height: 0; }
    .home .hero::after { display: none; }
    .home .hero-media { position: relative; inset: auto; }
    .home .hero-media img { width: 100%; height: auto; object-fit: contain; }
    .home .hero-fallback { position: relative; height: 120px; }
    .home .hero-inner { padding: 40px 0 48px; }
    .hero-text { width: 100%; max-width: 680px; }
    .home .hero h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.2; }
    .hero-text h1 span { display: inline; }
    .home .hero p { max-width: 600px; margin-top: 22px; font-size: 15px; }
}
