/*
Theme Name: Alex Karner
Description: Personal site for Alex Karner, based on Twenty Twenty-Five.
Author: Alex Karner
Template: twentytwentyfive
Version: 0.6.1
Text Domain: alex-karner
*/

@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/dm-sans-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/dm-sans-latin-ext.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('assets/fonts/source-serif4-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('assets/fonts/source-serif4-latin-ext.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* The body class scopes the editorial design to this child theme. */
.ak-site { margin:0; color-scheme:light; font-optical-sizing:auto; }
.ak-site .wp-site-blocks { padding:0; }
.ak-site .wp-site-blocks > * { margin-block:0; }
.ak-site .ak-main,
.ak-site .ak-main > .wp-block-post-content { margin:0; padding:0; max-width:none; width:100%; }
.ak-site .ak-main > .wp-block-post-content > .ak-wrap { max-width:1080px; }
.ak-site a:focus-visible,
.ak-site button:focus-visible,
.ak-site summary:focus-visible { outline:2px solid currentColor; outline-offset:5px; border-radius:2px; }
.ak-site img { max-width:100%; height:auto; }
.ak-site .ak-fallback { padding-block:55px 75px; min-height:50vh; }
.ak-site .ak-fallback h1 { font-size:clamp(36px,6vw,56px); line-height:1.2; margin-bottom:24px; }
.ak-site .ak-fallback p + p { margin-top:16px; }
.ak-site .ak-cv-section details[open] > summary { margin-bottom:16px; }
.ak-site .ak-cv-section details > p + p { margin-top:8px; }
.ak-site .ak-archive ul { padding-left:18px; }
.ak-site .ak-archive li { margin-block:0 14px; font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.ak-site .ak-archive li p + p { margin-top:5px; }
.ak-site .ak-footer .ak-nav a[aria-current="page"] { color:#f1f1e6; }

.ak-site { --ak-paper:#f7f4ed; --ak-ink:#182b25; --ak-muted:#53645b; --ak-green:#075b4c; --ak-wash:#e8eee5; --ak-line:#d3d9ce; --ak-footer:#142e24; --ak-accent:#995035; --ak-serif:'Source Serif 4',Georgia,serif; --ak-space:48px; color:var(--ak-ink); background:var(--ak-paper); font:16px/1.6 'DM Sans',Arial,sans-serif; width:100%; text-align:left; }
.ak-site *,.ak-site *::before,.ak-site *::after { box-sizing:border-box; }
.ak-site [hidden] { display:none !important; }
.ak-site a { color:inherit; text-decoration-color:var(--ak-line); text-underline-offset:4px; }
.ak-site a:hover { color:var(--ak-green); text-decoration-color:currentColor; }
.ak-site button,.ak-site summary { cursor:pointer; font:inherit; }
.ak-site h1,.ak-site h2,.ak-site h3,.ak-site p { margin:0; }
.ak-site h1,.ak-site h2 { font-family:var(--ak-serif); font-weight:400; letter-spacing:-.035em; }
.ak-site h2 { font-size:32px; line-height:1.2; }
.ak-site h3 { font-size:20px; font-weight:500; line-height:1.35; letter-spacing:-.02em; }
.ak-site .ak-wrap { width:min(100% - 80px,1080px); margin-inline:auto; }
.ak-site .ak-header { border-bottom:1px solid var(--ak-line); }
.ak-site .ak-header-inner { display:flex; justify-content:space-between; align-items:center; min-height:78px; gap:20px; }
.ak-site .ak-brand { display:flex; align-items:center; gap:10px; text-decoration:none; font-weight:600; white-space:nowrap; }
.ak-site .ak-brand img { width:29px; height:29px; }
.ak-site .ak-nav { display:flex; align-items:center; gap:23px; font-size:13px; line-height:1.5; }
.ak-site .ak-nav a { padding-block:10px; text-decoration:none; }
.ak-site .ak-nav a[aria-current="page"] { color:var(--ak-green); text-decoration:underline; text-decoration-thickness:2px; }
.ak-site .ak-menu { display:none; border:1px solid var(--ak-line); background:transparent; color:var(--ak-ink); padding:8px 12px; border-radius:4px; }
.ak-site .ak-hero { padding:58px 0 38px; }
.ak-site .ak-eyebrow { color:var(--ak-green); text-transform:uppercase; letter-spacing:.12em; font-size:11px; font-weight:600; margin-bottom:15px; }
.ak-site .ak-name { white-space:nowrap; font-size:clamp(32px,6.2vw,72px); line-height:1.12; margin-bottom:12px; }
.ak-site .ak-role { font-size:15px; color:var(--ak-muted); }
.ak-site .ak-intro { max-width:730px; margin-top:23px; font-size:22px; line-height:1.48; letter-spacing:-.02em; }
.ak-site .ak-actions { display:flex; flex-wrap:wrap; align-items:center; gap:25px; margin-top:26px; font-size:14px; }
.ak-site .ak-primary { display:inline-block; border:1px solid var(--ak-green); border-radius:4px; padding:9px 17px; background:var(--ak-green); color:var(--ak-paper); text-decoration:none; font-weight:500; }
.ak-site .ak-primary:hover { color:var(--ak-paper); filter:brightness(.9); }
.ak-site .ak-now { display:grid; grid-template-columns:123px 1fr; gap:25px; background:var(--ak-wash); padding:23px 27px; border-left:3px solid var(--ak-green); margin-bottom:4px; }
.ak-site .ak-now-date { font-size:13px; line-height:1.55; color:var(--ak-green); font-weight:500; }
.ak-site .ak-now-date span { display:block; text-transform:uppercase; font-size:10px; letter-spacing:.13em; margin-bottom:4px; }
.ak-site .ak-now h2 { font:500 18px/1.3 'DM Sans',Arial,sans-serif; letter-spacing:-.02em; }
.ak-site .ak-now p { margin-top:6px; font-size:14px; color:var(--ak-muted); }
.ak-site details { margin-top:12px; }
.ak-site summary { width:fit-content; font-size:13px; font-weight:500; color:var(--ak-green); text-decoration:underline; text-underline-offset:4px; }
.ak-site summary:hover { text-decoration-thickness:2px; }
.ak-site .ak-events { list-style:none; margin:14px 0 0; padding:0; }
.ak-site .ak-events li { padding:13px 0; border-top:1px solid var(--ak-line); font-size:13px; line-height:1.55; }
.ak-site .ak-events strong { font-weight:500; }
.ak-site .ak-events span { display:block; color:var(--ak-muted); font-size:12px; }
.ak-site .ak-section { padding-block:var(--ak-space); border-bottom:1px solid var(--ak-line); }
.ak-site .ak-section-top { display:flex; align-items:baseline; gap:25px; justify-content:space-between; margin-bottom:22px; }
.ak-site .ak-section-top p { color:var(--ak-muted); font-size:13px; max-width:350px; }
.ak-site .ak-research { display:grid; grid-template-columns:1fr 1fr; border-top:1px solid var(--ak-line); }
.ak-site .ak-research a { display:flex; flex-direction:column; padding:24px 25px 25px 0; border-bottom:1px solid var(--ak-line); text-decoration:none; }
.ak-site .ak-research a:nth-child(even) { padding-left:25px; padding-right:0; border-left:1px solid var(--ak-line); }
.ak-site .ak-research a:nth-last-child(-n+2) { border-bottom:0; padding-bottom:0; }
.ak-site .ak-research a:hover h3 { text-decoration:underline; text-underline-offset:4px; }
.ak-site .ak-research p { color:var(--ak-muted); font-size:14px; line-height:1.65; margin-block:10px 15px; max-width:420px; }
.ak-site .ak-work-link { color:var(--ak-green); font-size:12px; font-weight:500; margin-top:auto; }
.ak-site .ak-projects article { display:grid; grid-template-columns:260px minmax(0,1fr); gap:30px; padding-block:22px; border-top:1px solid var(--ak-line); }
.ak-site .ak-projects article:last-child { padding-bottom:0; }
.ak-site .ak-projects p { font-size:14px; line-height:1.65; color:var(--ak-muted); }
.ak-site .ak-projects .ak-project-meta { margin-top:9px; font-size:12px; }
.ak-site .ak-project-link { display:inline-block; margin-top:8px; color:var(--ak-green); font-size:13px; }
.ak-site .ak-papers { padding:0; margin:0; list-style:none; }
.ak-site .ak-papers li { display:grid; grid-template-columns:52px 1fr; gap:13px; border-top:1px solid var(--ak-line); padding-block:17px; }
.ak-site .ak-year { font-size:12px; color:var(--ak-muted); padding-top:4px; }
.ak-site .ak-paper-title { text-decoration:none; font-size:18px; font-weight:500; line-height:1.4; display:block; }
.ak-site .ak-paper-title:hover { text-decoration:underline; }
.ak-site .ak-paper-meta { display:block; font-size:12px; color:var(--ak-muted); margin-top:5px; }
.ak-site .ak-text-link { color:var(--ak-green); font-size:13px; white-space:nowrap; }
.ak-site .ak-lower { display:grid; grid-template-columns:1.15fr .85fr; gap:50px; padding-block:var(--ak-space); }
.ak-site .ak-lower h2 { margin-bottom:18px; }
.ak-site .ak-bio { display:flex; align-items:flex-start; gap:16px; }
.ak-site .ak-bio img { width:64px; height:80px; flex-shrink:0; object-fit:cover; border-radius:5px; }
.ak-site .ak-bio p,.ak-site .ak-writing p { font-size:14px; color:var(--ak-muted); }
.ak-site .ak-writing a { font-size:14px; font-weight:500; }
.ak-site .ak-writing p + a { display:inline-block; margin-top:15px; }
.ak-site .ak-students { margin-bottom:var(--ak-space); border-top:1px solid var(--ak-line); padding-top:24px; display:flex; gap:35px; justify-content:space-between; align-items:center; }
.ak-site .ak-students h2 { font-size:24px; margin-bottom:6px; }
.ak-site .ak-students p { font-size:13px; color:var(--ak-muted); max-width:610px; }
.ak-site .ak-footer { background:var(--ak-footer); color:#f1f1e6; padding:30px 0; }
.ak-site .ak-footer-top { display:flex; gap:20px; align-items:center; justify-content:space-between; }
.ak-site .ak-footer .ak-nav { gap:20px; font-size:12px; flex-wrap:wrap; }
.ak-site .ak-footer a:hover { color:#b8dfca; }
.ak-site .ak-fine { color:#bbcbbf; font-size:11px; max-width:750px; margin-top:18px; }
.ak-site .ak-cv-head { padding:44px 0 28px; }
.ak-site .ak-cv-head h1 { font-size:48px; margin-bottom:12px; }
.ak-site .ak-cv-head p { max-width:620px; color:var(--ak-muted); font-size:15px; }
.ak-site .ak-cv-body { display:grid; grid-template-columns:135px 1fr; gap:35px; padding-bottom:45px; }
.ak-site .ak-cv-nav { display:flex; flex-direction:column; gap:7px; font-size:13px; align-items:flex-start; padding-top:5px; }
.ak-site .ak-cv-nav a { padding-block:4px; }
.ak-site .ak-cv-section { border-top:1px solid var(--ak-line); padding-block:25px; scroll-margin-top:20px; }
.ak-site .ak-cv-section h2 { font-size:28px; margin-bottom:18px; }
.ak-site .ak-cv-section h3 { font-size:17px; margin-block:16px 8px; }
.ak-site .ak-cv-section p,.ak-site .ak-cv-section li { font-size:14px; }
.ak-site .ak-appointment { display:grid; grid-template-columns:102px 1fr; gap:15px; margin:0 0 14px; font-size:14px; }
.ak-site .ak-appointment time { color:var(--ak-muted); font-size:12px; padding-top:2px; }
.ak-site .ak-appointment small { display:block; color:var(--ak-muted); font-size:12px; }
.ak-site .ak-cv-section ul { padding-left:18px; }
.ak-site .ak-cv-section li { padding-left:2px; margin-block:0 14px; overflow-wrap:anywhere; }
.ak-site .ak-cv-section em { color:var(--ak-muted); }
.ak-site .ak-cv-section strong { font-weight:500; }
.ak-site .ak-contact-main { padding-block:60px 80px; min-height:440px; }
.ak-site .ak-contact-main h1 { font-size:48px; margin-bottom:18px; }
.ak-site .ak-contact-main p { max-width:520px; color:var(--ak-muted); }
.ak-site .ak-contact-main .ak-actions { margin-bottom:26px; }
@media(max-width:760px) {
  .ak-site .ak-wrap { width:calc(100% - 40px); }
  .ak-site .ak-header-inner { flex-wrap:wrap; min-height:68px; padding-block:14px; gap:12px; }
  .ak-site.ak-js .ak-menu { display:block; min-height:40px; }
  .ak-site .ak-header .ak-nav { width:100%; flex-wrap:wrap; gap:10px 24px; }
  .ak-site.ak-js .ak-header .ak-nav { display:none; }
  .ak-site.ak-js .ak-header .ak-nav[data-open="true"] { display:flex; }
  .ak-site .ak-hero { padding-top:38px; }
  .ak-site .ak-name { font-size:clamp(30px,8.1vw,56px); }
  .ak-site .ak-intro { font-size:20px; }
  .ak-site .ak-section-top { align-items:flex-start; flex-direction:column; gap:8px; }
  .ak-site .ak-projects article { grid-template-columns:1fr; gap:10px; }
  .ak-site .ak-now { grid-template-columns:1fr; gap:12px; padding:20px; }
  .ak-site .ak-now-date { display:flex; gap:12px; align-items:center; }
  .ak-site .ak-now-date span { margin:0; }
  .ak-site .ak-lower { grid-template-columns:1fr; gap:30px; }
  .ak-site .ak-footer-top { align-items:flex-start; flex-direction:column; gap:14px; }
  .ak-site .ak-cv-body { grid-template-columns:1fr; gap:24px; }
  .ak-site .ak-cv-nav { flex-direction:row; flex-wrap:wrap; gap:8px 20px; }
}
@media(max-width:540px) {
  .ak-site h2 { font-size:28px; }
  .ak-site .ak-role { font-size:13px; }
  .ak-site .ak-eyebrow { font-size:10px; letter-spacing:.09em; }
  .ak-site .ak-research { grid-template-columns:1fr; }
  .ak-site .ak-research a,.ak-site .ak-research a:nth-child(even),.ak-site .ak-research a:nth-last-child(-n+2) { border-left:0; border-bottom:1px solid var(--ak-line); padding:21px 0; }
  .ak-site .ak-research a:last-child { border-bottom:0; padding-bottom:0; }
  .ak-site .ak-papers li { grid-template-columns:1fr; gap:5px; }
  .ak-site .ak-paper-title { font-size:17px; }
  .ak-site .ak-year { padding:0; }
  .ak-site .ak-lower { grid-template-columns:1fr; }
  .ak-site .ak-students { flex-direction:column; align-items:flex-start; gap:16px; }
  .ak-site .ak-footer .ak-nav { gap:10px 18px; }
  .ak-site .ak-cv-head h1,.ak-site .ak-contact-main h1 { font-size:39px; }
  .ak-site .ak-appointment { grid-template-columns:85px 1fr; gap:10px; }
}
