/* About: a wide editorial layout, using the site's navy and gold palette. */
.about-page {
    --about-ink: #243247;
    --about-muted: #637288;
    --about-surface: #fff;
    --about-subtle: #f5f7fa;
    --about-border: #e0e6ee;
    --about-accent: #94702d;
    --about-gold: #efc465;
    background: #f3f5f8;
    color: var(--about-ink);
}
[data-theme="dark"] .about-page {
    --about-ink: #e6edf7;
    --about-muted: #a0aec1;
    --about-surface: #16212f;
    --about-subtle: #111c2b;
    --about-border: #2a394b;
    --about-accent: #dfbe79;
    background: #0e1724;
    color: var(--about-ink);
}
.about-page main { position: relative; isolation: isolate; }
.about-container, .about-container *, .about-container *::before, .about-container *::after { box-sizing: border-box; }
.about-page .about-container {
    width: 100%;
    max-width: 1600px;
    min-width: 0;
    margin-inline: auto;
    padding-inline: clamp(16px, 3vw, 48px) !important;
    padding-top: 32px !important;
    padding-bottom: 64px !important;
}
.about-container > * { min-width: 0; max-width: 100%; }
.about-container img { max-width: 100%; }
.about-container :is(h1, h2, h3, p, dt, dd) { overflow-wrap: anywhere; }
.about-icon { display: inline-block; width: 22px; height: 22px; flex: 0 0 auto; vertical-align: middle; }
.about-ambient {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse at 5% 20%, #dcc49113, transparent 35%),
                radial-gradient(ellipse at 95% 65%, #6a9da914, transparent 40%);
}
.about-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    align-items: center;
    gap: clamp(32px, 4vw, 72px);
    padding: clamp(28px, 3.2vw, 52px);
    overflow: hidden;
    isolation: isolate;
    border: 1px solid #2b4054;
    border-radius: 24px;
    background: #122135;
    color: #edf3fc;
}
.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at 95% 10%, #839b9b20, transparent 50%),
                radial-gradient(ellipse at 0 100%, #d9b5660c, transparent 50%),
                linear-gradient(120deg, #14253a, #101e2e);
}
.about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .26;
    background-image: linear-gradient(#a5c5d31a 1px, transparent 1px), linear-gradient(90deg, #a5c5d31a 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(90deg, transparent 35%, #000);
}
.about-hero-copy { min-width: 0; animation: about-enter .6s ease both; }
.about-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    color: #a9bacd;
    font-size: .68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .15em;
}
.about-eyebrow > span:first-child { width: 6px; height: 6px; border-radius: 50%; background: #d7b576; box-shadow: 0 0 0 4px #d7b57613; }
.about-identity { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.about-identity img { width: 48px; height: 48px; object-fit: contain; }
.about-identity > span { color: #b8c7d9; font-size: .8rem; }
.about-hero h1 { margin: 0 0 17px; font-size: clamp(2.6rem, 4.5vw, 4.8rem); line-height: 1.1; font-weight: 750; letter-spacing: -.055em; }
.about-hero h1 > span { display: inline-block; color: var(--about-gold); }
.about-intro { max-width: 38em; margin: 0 0 28px; color: #c3d0e1; font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.65; }
.about-story { max-width: 45em; }
.about-story h2 { margin-bottom: 10px; color: #c2b18a; font-size: .67rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.about-story p { margin: 0; color: #a9bace; font-size: .89rem; line-height: 1.9; }
.about-story b { color: #e2eaf5; font-weight: 600; }
.about-connect { margin-top: 28px; padding-top: 22px; border-top: 1px solid #afc5d321; }
.about-connect-label { display: block; margin-bottom: 12px; color: #a9bacd; font-size: .66rem; }
.about-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.about-socials a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 10px 12px; border: 1px solid #8ea8c02e; border-radius: 8px; background: #a9c5df06; color: #cfdae8; font-size: .68rem; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.about-socials a:hover { border-color: #dfbe7966; background: #dfbe7912; color: #f5dba6; transform: translateY(-2px); }
.about-socials img { width: 14px; height: 14px; filter: invert(1); opacity: .8; }
.about-socials .about-icon { width: 10px; height: 10px; color: #a5b8cb; }
.about-youtube { display: block; margin-top: 12px; font-size: .65rem; color: #8da2b9; }

/* The gallery stays beside the introduction on desktop. */
.about-photos { min-width: 0; width: 100%; max-width: 400px; justify-self: end; animation: about-enter .7s .1s ease both; }
.about-photo-viewer { width: 100%; min-width: 0; }
.about-gallery-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.about-gallery-heading h2 { margin: 0; color: #acbdd0; font-size: .67rem; font-weight: 500; }
.about-gallery-heading > span { color: #849bb3; font-family: Consolas, monospace; font-size: .63rem; }
#about-photo-number { color: #dfc591; }
.about-photo-featured { position: relative; height: clamp(300px, 25vw, 400px); margin: 0; overflow: hidden; border: 1px solid #b7c8d23d; border-radius: 14px; background: #233347; }
.about-photo-featured::after { content: ""; position: absolute; inset: 50% 0 0; pointer-events: none; background: linear-gradient(transparent, #0d182bc7); }
.about-photo-featured > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.about-photo-featured figcaption { position: absolute; bottom: 18px; left: 20px; right: 20px; z-index: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: #fff; }
.about-photo-featured figcaption > span:first-child { font-size: 1.1rem; font-weight: 600; letter-spacing: -.03em; }
.about-photo-featured figcaption > span:last-child { font-size: .5rem; letter-spacing: .12em; color: #d8e1e9; }
.about-photo-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 10px; margin-top: 12px; }
.about-photo-thumb { position: relative; display: block; width: 100%; min-width: 0; min-height: 0; aspect-ratio: 8 / 5; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 8px; background: #24364a; opacity: .6; cursor: pointer; transition: opacity .2s, border-color .2s; }
.about-photo-thumb img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.about-photo-thumb:hover, .about-photo-thumb.is-active { opacity: 1; border-color: #e3be73; }
.about-thumb-number { position: absolute; right: 5px; bottom: 4px; padding: 1px 4px; border-radius: 3px; background: #101e2dcc; color: #e5ecf5; font: .55rem Consolas, monospace; }

/* Facts and content use the available desktop width, without long text lines. */
.about-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0 28px; border: 1px solid var(--about-border); border-radius: 15px; background: var(--about-surface); }
.about-facts > div { min-width: 0; margin: 22px 0; padding: 0 26px; }
.about-facts > div + div { border-left: 1px solid var(--about-border); }
.about-facts dt { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; color: var(--about-muted); font-size: .65rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.about-facts .about-icon { width: 15px; height: 15px; color: var(--about-accent); }
.about-facts dd { margin: 0; color: var(--about-ink); font-size: .86rem; font-weight: 600; line-height: 1.6; }
.about-content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.about-panel { min-width: 0; padding: clamp(24px, 2.4vw, 36px); border: 1px solid var(--about-border); border-radius: 18px; background: var(--about-surface); color: var(--about-ink); box-shadow: 0 6px 26px #172b4605; }
.about-kicker { display: block; margin-bottom: 10px; color: var(--about-accent); font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.about-section-heading { margin-bottom: 22px; }
.about-section-heading h2, .about-dog h2 { margin: 0; color: var(--about-ink); font-size: clamp(1.3rem, 1.7vw, 1.75rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.25; }
.about-panel p { color: var(--about-muted); font-size: .89rem; line-height: 1.85; }
.about-section-heading > p { margin: 12px 0 0; font-size: .83rem; }
.about-heading-dot { color: var(--about-accent); }
.about-project { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.about-project::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #c7a562, #c7a56200); }
.about-project .about-section-heading h2 { font-size: clamp(1.7rem, 2.4vw, 2.35rem); }
.about-project > p { max-width: 43em; margin-bottom: 0; }
.about-project-tools { display: flex; align-items: center; gap: 18px; max-width: 450px; width: 100%; margin: 26px 0; padding: 20px 25px; border: 1px solid var(--about-border); border-radius: 12px; background: var(--about-subtle); }
.about-project-tools > div { display: grid; justify-items: center; gap: 9px; color: var(--about-accent); }
.about-project-tools > div > span { color: var(--about-muted); font-size: .49rem; letter-spacing: .15em; }
.about-project-line { height: 1px; flex: 1; background: var(--about-border); }
.about-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.about-tags > span { padding: 6px 10px; border: 1px solid var(--about-border); border-radius: 6px; background: var(--about-subtle); color: var(--about-muted); font-size: .65rem; }
.about-project-link { display: inline-flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--about-border); color: var(--about-accent); font-size: .8rem; font-weight: 600; text-decoration: none; }
.about-project-link:hover { color: var(--about-ink); }
.about-project-link .about-icon { width: 19px; height: 19px; transition: transform .2s; }
.about-project-link:hover .about-icon { transform: translateX(4px); }
.about-focus-grid { display: grid; gap: 18px; }
.about-focus-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: start; gap: 14px; }
.about-feature-icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border: 1px solid var(--about-border); border-radius: 10px; background: var(--about-subtle); color: var(--about-accent); }
.about-feature-icon .about-icon { width: 19px; height: 19px; }
.about-focus-card h3 { margin: 0 0 5px; color: var(--about-ink); font-size: .85rem; font-weight: 650; }
.about-focus-card p { margin: 0; font-size: .79rem; line-height: 1.75; }
.about-gaming { display: flex; flex-direction: column; }
.about-gaming > p { max-width: 45em; }
.about-game-list { display: flex; flex-wrap: wrap; gap: 9px; margin: 8px 0 24px; }
.about-game-list > span { padding: 9px 12px; border: 1px solid var(--about-border); border-radius: 8px; background: var(--about-subtle); color: var(--about-ink); font-size: .69rem; font-weight: 600; }
.about-game-list > span:first-child { border-color: #c9ab6f66; background: #c9ab6f0d; color: var(--about-accent); }
.about-text-link { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; margin-top: auto; color: var(--about-accent); font-size: .77rem; text-decoration: none; }
.about-text-link:hover { color: var(--about-ink); }
.about-text-link .about-icon { width: 17px; height: 17px; }
.about-achievement-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.about-achievement-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 16px; padding: 16px 0; }
.about-achievement-list li:first-child { padding-top: 0; }
.about-achievement-list li:last-child { padding-bottom: 0; }
.about-achievement-list li + li { border-top: 1px solid var(--about-border); }
.about-placement { display: grid; place-items: center; width: 44px; height: 48px; border: 1px solid var(--about-border); border-radius: 9px; background: var(--about-subtle); color: var(--about-muted); font: 1.2rem Georgia, serif; }
.placement-01 { border-color: #c5a25f55; color: var(--about-accent); background: #c5a25f0d; }
.placement-02 { color: #718ca8; }
.about-achievement-list h3 { margin: 0 0 4px; color: var(--about-ink); font-size: .83rem; font-weight: 650; }
.about-achievement-list p { margin: 0; font-size: .77rem; line-height: 1.65; }

/* Hardware gets two balanced columns: computer / desk and laptop. */
.about-equipment { margin-top: 24px; }
.about-wide-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.about-section-marker { display: inline-flex; align-items: center; gap: 16px; color: var(--about-muted); font-size: .58rem; letter-spacing: .14em; }
.about-section-marker .about-icon { width: 20px; height: 20px; }
.equipment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.equipment-group { min-width: 0; padding: 24px; border: 1px solid var(--about-border); border-radius: 12px; background: var(--about-subtle); }
.equipment-computer { border-top: 2px solid #ba9b5d; }
.equipment-heading { display: flex; align-items: center; min-width: 0; gap: 11px; margin-bottom: 16px; }
.equipment-heading h3 { margin: 0; color: var(--about-ink); font-size: .89rem; font-weight: 650; }
.equipment-label { margin-left: auto; color: var(--about-muted); font: .56rem Consolas, monospace; letter-spacing: .1em; }
.equipment-group dl { margin: 0; }
.equipment-group dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 22px; padding: 14px 0; border-bottom: 1px solid var(--about-border); font-size: .79rem; line-height: 1.65; }
.equipment-group dl > div:last-child { padding-bottom: 0; border-bottom: 0; }
.equipment-group dt { color: var(--about-muted); font-weight: 400; }
.equipment-group dd { max-width: 68%; margin: 0; color: var(--about-ink); text-align: right; font-weight: 600; }
.equipment-secondary { display: grid; min-width: 0; grid-template-rows: 1fr auto; gap: 18px; }
.equipment-mobile { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.equipment-mobile .equipment-heading { margin-bottom: 0; }
.equipment-mobile p { margin: 0; color: var(--about-ink); font-size: .79rem; font-weight: 600; text-align: right; }
.about-dog { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 40px; margin-top: 24px; }
.about-dog-copy > .about-feature-icon { margin-bottom: 20px; }
.about-dog-copy h2 { margin-bottom: 14px; }
.about-dog-copy p { max-width: 33em; margin-bottom: 0; }
.about-dog-images { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
.about-dog-photo { position: relative; min-width: 0; width: 100%; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; border: 1px solid var(--about-border); border-radius: 12px; background: var(--about-subtle); }
.about-dog-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.about-page :is(a, button):focus-visible { outline: 3px solid #c5a05d; outline-offset: 4px; }
@keyframes about-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1600px) {
    .about-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
    .about-photo-featured { height: 410px; }
    .about-hero-copy { max-width: 850px; }
}
@media (max-width: 1199.98px) {
    .about-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 280px); gap: 32px; }
    .about-eyebrow { margin-bottom: 22px; }
    .about-socials a { padding: 9px 10px; font-size: .63rem; }
    .about-socials .about-icon { display: none; }
    .about-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-facts > div:nth-child(3) { border-left: 0; }
    .about-facts > div:nth-child(n + 3) { margin-top: 0; padding-top: 18px; border-top: 1px solid var(--about-border); }
    .about-content-grid { gap: 20px; }
    .equipment-group { padding: 20px; }
    .equipment-group dl > div { gap: 15px; font-size: .75rem; }
    .equipment-mobile { align-items: flex-start; flex-direction: column; gap: 12px; }
    .equipment-mobile p { padding-left: 49px; text-align: left; }
    .about-dog { gap: 24px; }
}
@media (max-width: 991.98px) {
    .about-page .about-container { padding-inline: 24px !important; padding-top: 24px !important; }
    .about-hero { grid-template-columns: 1fr; gap: 26px; padding: 28px; }
    .about-photos { width: 100%; max-width: 440px; justify-self: center; }
    .about-hero h1 { font-size: 2.7rem; }
    .about-intro { font-size: .95rem; }
    .about-story p { font-size: .81rem; }
    .about-socials { gap: 6px; }
    .about-content-grid { grid-template-columns: 1fr; }
    .about-project-tools { max-width: 100%; }
    .about-project > p, .about-gaming > p { max-width: none; }
    .about-project-link { margin-top: 0; }
    .about-focus-grid { grid-template-columns: 1fr; gap: 22px; }
    .about-focus-card { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; }
    .about-dog { grid-template-columns: 1fr; }
    .about-dog-copy { max-width: 600px; }
    .about-dog-copy > .about-feature-icon { margin-bottom: 16px; }
}
@media (max-width: 767.98px) {
    .about-hero { grid-template-columns: 1fr; gap: 32px; }
    .about-hero h1 { font-size: clamp(2.6rem, 7vw, 3.5rem); }
    .about-photos { max-width: 440px; width: 100%; justify-self: center; }
    .about-photo-featured { height: 380px; }
    .about-socials a { padding: 10px 12px; font-size: .68rem; }
    .about-socials .about-icon { display: block; }
    .equipment-grid { grid-template-columns: 1fr; }
    .equipment-mobile { flex-direction: row; align-items: center; }
    .equipment-mobile p { padding-left: 0; text-align: right; }
    .equipment-group dl > div { font-size: .8rem; }
    .about-focus-grid { grid-template-columns: 1fr; }
    .about-focus-card { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 479.98px) {
    .about-page .about-container { padding-inline: 12px !important; padding-top: 14px !important; padding-bottom: 32px !important; }
    .about-hero { padding: 25px 21px; border-radius: 18px; }
    .about-eyebrow { font-size: .57rem; letter-spacing: .12em; }
    .about-identity { margin-bottom: 16px; }
    .about-identity img { width: 38px; height: 38px; }
    .about-identity > span { font-size: .7rem; }
    .about-hero h1 { font-size: clamp(2.2rem, 8vw, 2.9rem); }
    .about-intro { font-size: .9rem; margin-bottom: 24px; }
    .about-story p { font-size: .81rem; }
    .about-connect { margin-top: 22px; }
    .about-socials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .about-socials a { min-height: 42px; padding: 9px 5px; font-size: .6rem; gap: 5px; }
    .about-socials img { width: 12px; height: 12px; }
    .about-socials .about-icon { display: none; }
    .about-photo-featured { height: 340px; }
    .about-facts { grid-template-columns: 1fr; margin: 18px 0; }
    .about-facts > div, .about-facts > div:nth-child(n + 3) { margin: 0; padding: 18px 21px; border: 0; }
    .about-facts > div + div { border-left: 0; border-top: 1px solid var(--about-border); }
    .about-facts dd { font-size: .82rem; }
    .about-content-grid { gap: 18px; }
    .about-panel { padding: 24px 21px; border-radius: 15px; }
    .about-section-heading { margin-bottom: 20px; }
    .about-panel p { font-size: .83rem; }
    .about-focus-card p, .about-achievement-list p { font-size: .77rem; }
    .about-project-tools { padding: 18px; gap: 14px; }
    .about-project-link { font-size: .74rem; }
    .about-game-list { gap: 7px; }
    .about-game-list > span { font-size: .64rem; padding: 8px 10px; }
    .about-achievement-list li { gap: 12px; }
    .about-wide-heading { gap: 12px; }
    .about-section-marker { display: none; }
    .equipment-group { padding: 18px; }
    .equipment-group dl > div { display: block; padding: 12px 0; }
    .equipment-group dd { max-width: none; margin-top: 3px; text-align: left; }
    .equipment-group dt { font-size: .71rem; }
    .equipment-mobile { flex-direction: column; align-items: flex-start; }
    .equipment-mobile p { padding-left: 49px; text-align: left; }
    .about-dog, .about-equipment { margin-top: 18px; }
    .about-dog-images { gap: 10px; }
    .about-dog-photo { aspect-ratio: 4 / 5; border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .about-page *, .about-page *::before, .about-page *::after { animation: none !important; transition: none !important; }
    .about-socials a:hover, .about-project-link:hover .about-icon { transform: none; }
}
