/*
Theme Name: Josef Hanus Portfolio
Theme URI: https://josefhanus.cz
Author: Josef Hanus & OpenAI
Description: Moderní osobní portfolio a rozšířené CV pro Josefa Hanuse.
Version: 0.28.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: josef-hanus
*/

:root {
  --jh-green: #6df7b5;
  --jh-green-dark: #246a59;
  --jh-blue: #dff3eb;
  --jh-yellow: #eff8f4;
  --jh-ink: #111111;
  --jh-body: #2c2c2c;
  --jh-muted: #5c5c5c;
  --jh-bg: #ffffff;
  --jh-soft: #f7f7f7;
  --jh-line: #e0e0e0;
  --jh-mint: #6df7b5;
  --jh-radius: 28px;
  --jh-shadow: 0 18px 60px rgba(20, 21, 20, 0.10);
  --jh-container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--jh-body);
  background: var(--jh-bg);
  font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  word-spacing: .03em;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4 { letter-spacing: -.025em; }
::selection { color: var(--jh-ink); background: var(--jh-yellow); }

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
}
.screen-reader-text:focus {
  clip: auto !important; clip-path: none; height: auto; width: auto; left: 12px; top: 12px;
  padding: 12px 18px; background: var(--jh-bg); border-radius: 8px; z-index: 99999;
}
.jh-container { width: min(calc(100% - 64px), var(--jh-container)); margin-inline: auto; }
.jh-section { padding: 104px 0; border-bottom: 1px solid var(--jh-line); }
.jh-section--no-border { border-bottom: 0; }
.jh-eyebrow {
  margin: 0 0 12px; color: var(--jh-green-dark); font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .14em;
}
.jh-section-title {
  margin: 0; max-width: 840px; color: var(--jh-ink); font-size: clamp(38px, 5vw, 66px); line-height: 1.04;
  letter-spacing: -.035em; font-weight: 800;
}
.jh-section-head { display: flex; align-items: end; justify-content: space-between; gap: 44px; margin-bottom: 46px; }
.jh-section-intro { max-width: 430px; margin: 0; color: var(--jh-muted); font-size: 16px; }
.jh-kicker { color: var(--jh-muted); font-weight: 650; font-size: 14px; }
.jh-kicker::before {
  content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 12px;
  border-radius: 50%; background: var(--jh-green); box-shadow: 0 0 0 5px rgba(26, 173, 100, .15);
}
.jh-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px;
  padding: 12px 21px; border: 1px solid var(--jh-line); border-radius: 999px; color: var(--jh-ink);
  background: var(--jh-bg); text-decoration: none; font-size: 14px; font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.jh-button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(20,21,20,.10); }
.jh-button--primary { color: #fff; border-color: var(--jh-ink); background: var(--jh-ink); }
.jh-button--dark { color: #fff; border-color: var(--jh-ink); background: var(--jh-ink); }
.jh-button--yellow { color: var(--jh-ink); border-color: var(--jh-green); background: var(--jh-green); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.90);
  border-bottom: 1px solid rgba(223,225,219,.9); backdrop-filter: blur(18px);
}
.site-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-branding { color: var(--jh-ink); text-decoration: none; font-size: 20px; font-weight: 850; letter-spacing: -.04em; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 700; }
.site-nav a:hover { color: var(--jh-green-dark); }
.site-nav .menu-item--cta a, .site-nav li:last-child a {
  display: inline-flex; padding: 11px 17px; color: #fff; border-radius: 999px; background: var(--jh-ink);
}
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; font-weight: 750; }

/* Hero */
.jh-hero { padding: 78px 0 68px; }
.jh-hero__grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 72px; }
.jh-hero h1 {
  margin: 20px 0 0; font-size: clamp(60px, 7.7vw, 104px); line-height: .95;
  letter-spacing: -.052em; font-weight: 850;
}
.jh-type-line { display: block; width: max-content; max-width: 100%; min-height: 1.08em; color: var(--jh-green-dark); font-size: .76em; white-space: nowrap; }
.jh-type-word { display: inline-block; text-decoration: underline; text-decoration-thickness: .065em; text-underline-offset: .13em; }
.jh-hero__lead { max-width: 650px; margin: 31px 0 30px; color: var(--jh-muted); font-size: clamp(17px, 1.55vw, 20px); }
.jh-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.jh-hero__photo { position: relative; isolation: isolate; }
.jh-hero__photo::before {
  content: ""; position: absolute; z-index: -1; inset: -18px 25px 22px -20px;
  border-radius: 34px; background: var(--jh-yellow); transform: rotate(-2.4deg);
}
.jh-hero__photo img { width: 100%; height: 560px; display: block; object-fit: cover; object-position: 42% center; border-radius: 32px; filter: saturate(.9); }
.jh-hero__sticker {
  position: absolute; right: -22px; bottom: 28px; padding: 15px 19px; color: #fff;
  border-radius: 18px; background: var(--jh-ink); box-shadow: var(--jh-shadow); transform: rotate(3deg);
  font-size: 13px; font-weight: 780; line-height: 1.45;
}

/* Proof */
.jh-proof { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--jh-line); border-bottom: 1px solid var(--jh-line); }
.jh-proof--three { grid-template-columns: repeat(3, 1fr); }
.jh-proof__item { padding: 30px 22px; border-right: 1px solid var(--jh-line); }
.jh-proof__item:first-child { padding-left: 0; }
.jh-proof__item:last-child { border-right: 0; }
.jh-proof__value { display: block; margin-bottom: 6px; font-size: 32px; line-height: 1; letter-spacing: -.055em; font-weight: 850; }
.jh-proof__label { color: var(--jh-muted); font-size: 12px; line-height: 1.45; }

/* Projects */
.jh-projects { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.jh-project-card {
  min-height: 370px; position: relative; display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; padding: 32px; border-radius: var(--jh-radius); text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.jh-project-card:hover { transform: translateY(-4px); box-shadow: var(--jh-shadow); }
.jh-project-card--green { color: #fff; background: var(--jh-ink); }
.jh-project-card--blue { color: var(--jh-ink); background: var(--jh-blue); }
.jh-project-card--yellow { color: var(--jh-ink); background: var(--jh-soft); }
.jh-project-card--wide { grid-column: 1 / -1; min-height: 300px; }
.jh-project-card__tag { font-size: 12px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; opacity: .82; }
.jh-project-card__arrow { position: absolute; top: 26px; right: 28px; font-size: 30px; line-height: 1; }
.jh-project-card h3 { max-width: 720px; margin: 0 0 14px; font-size: clamp(29px, 3.6vw, 48px); line-height: 1.06; letter-spacing: -.03em; }
.jh-project-card p { max-width: 620px; margin: 0; font-size: 14px; opacity: .9; }
.jh-project-card__number { position: absolute; right: -2%; bottom: -20%; font-size: clamp(120px, 18vw, 220px); line-height: 1; font-weight: 850; letter-spacing: -.07em; opacity: .22; }
.jh-project-card__icon { position: absolute; right: -2%; bottom: -14%; width: clamp(170px, 18vw, 220px); height: clamp(170px, 18vw, 220px); opacity: .22; }
.jh-project-card__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.3; }

/* Split expertise */
.jh-expertise { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.jh-expertise-card { padding: 34px; border-radius: var(--jh-radius); background: var(--jh-soft); }
.jh-expertise-card__icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 15px; color: #fff; font-weight: 850; }
.jh-expertise-card:first-child .jh-expertise-card__icon { color: #fff; background: var(--jh-ink); }
.jh-expertise-card:last-child .jh-expertise-card__icon { color: var(--jh-ink); background: var(--jh-green); }
.jh-expertise-card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.jh-expertise-card h3 { margin: 0 0 12px; font-size: 29px; line-height: 1.2; letter-spacing: -.025em; }
.jh-expertise-card p { margin: 0 0 24px; color: var(--jh-muted); font-size: 14px; }
.jh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jh-chip { padding: 8px 12px; border: 1px solid var(--jh-line); border-radius: 999px; background: var(--jh-bg); font-size: 12px; font-weight: 700; }

/* About */
.jh-about { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; }
.jh-about__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.jh-about__photos img { width: 100%; height: 460px; object-fit: cover; border-radius: 24px; }
.jh-about__photos img:last-child { margin-top: 54px; }
.jh-about__text { font-size: 18px; }
.jh-about__text p { color: var(--jh-muted); }
.jh-about__text p:first-of-type { color: var(--jh-ink); font-size: 22px; font-weight: 650; }

/* Improv video */
.jh-video {
  display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 58px;
  padding: 58px; border-radius: 32px; color: #fff; background: var(--jh-ink);
}
.jh-video .jh-eyebrow { color: var(--jh-mint); }
.jh-video h2 { margin: 0 0 18px; color: #fff; font-size: clamp(35px, 4.7vw, 62px); line-height: 1.05; letter-spacing: -.035em; }
.jh-video p { margin: 0; color: #d7d7d7; }
.jh-video__frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 22px; background: #000; }
.jh-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Career */
.jh-career { display: grid; grid-template-columns: 180px 1fr; }
.jh-career__date, .jh-career__role { padding: 28px 0; border-bottom: 1px solid var(--jh-line); }
.jh-career__date { color: var(--jh-muted); font-size: 13px; }
.jh-career__role strong { display: block; margin-bottom: 6px; font-size: 20px; }
.jh-career__role span { color: var(--jh-muted); font-size: 14px; }
.jh-career__logo { width: 70px; height: 70px; float: right; object-fit: contain; margin-left: 20px; border-radius: 14px; }

/* Dedicated pages */
.jh-subhero { padding: 96px 0 74px; border-bottom: 1px solid var(--jh-line); }
.jh-subhero__grid { display: grid; grid-template-columns: 1fr .72fr; gap: 70px; align-items: end; }
.jh-subhero h1 { max-width: 900px; margin: 0; color: var(--jh-ink); font-size: clamp(52px, 7vw, 94px); line-height: .98; letter-spacing: -.045em; }
.jh-subhero__lead { margin: 0; color: var(--jh-muted); font-size: 19px; }
.jh-profile-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.jh-profile-grid img { width: 100%; max-height: 720px; object-fit: cover; border-radius: 28px; }
.jh-prose { max-width: 790px; }
.jh-prose p { color: var(--jh-muted); font-size: 18px; }
.jh-prose p:first-of-type { color: var(--jh-ink); font-size: 23px; font-weight: 650; }
.jh-detail-stack { display: grid; gap: 22px; }
.jh-project-detail { scroll-margin-top: 110px; padding: 44px; border-radius: 28px; background: var(--jh-soft); }
.jh-project-detail--accent { background: var(--jh-blue); }
.jh-project-detail__head { display: flex; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.jh-project-detail h2 { margin: 0; color: var(--jh-ink); font-size: clamp(34px, 4vw, 54px); line-height: 1.08; letter-spacing: -.035em; }
.jh-project-detail__date { flex: 0 0 auto; color: var(--jh-muted); font-size: 13px; }
.jh-project-detail p, .jh-project-detail li { color: var(--jh-muted); }
.jh-project-detail__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.jh-project-detail h3 { margin: 0 0 10px; font-size: 18px; }
.jh-anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.jh-anchor-nav a {
  padding: 9px 14px; border: 1px solid var(--jh-line); border-radius: 999px; color: var(--jh-ink);
  background: var(--jh-bg); text-decoration: none; font-size: 12px; font-weight: 750;
}
.jh-anchor-nav a:hover { border-color: var(--jh-green-dark); color: var(--jh-green-dark); }
.jh-cv-download {
  display: flex; align-items: center; justify-content: space-between; gap: 34px; margin-top: 24px;
  padding: 25px 28px; border-radius: 22px; background: var(--jh-blue);
}
.jh-cv-download span { display: block; margin-bottom: 4px; color: var(--jh-green-dark); font-size: 11px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.jh-cv-download p { max-width: 620px; margin: 0; color: var(--jh-muted); font-size: 14px; }
.jh-cv-download__actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 9px; }
.jh-project-detail__overline {
  margin: 0 0 8px; color: var(--jh-green-dark) !important; font-size: 11px; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
}
.jh-project-detail__intro { max-width: 920px; margin-bottom: 34px; }
.jh-project-detail__intro > p { margin-top: 0; font-size: 18px; }
.jh-project-detail__intro--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.jh-skill-list { display: flex; flex-wrap: wrap; align-items: flex-start; align-content: flex-start; align-self: start; gap: 8px; }
.jh-skill-list span {
  flex: 0 0 auto; padding: 7px 11px; border: 1px solid rgba(36,106,89,.20); border-radius: 999px;
  color: var(--jh-ink); background: rgba(255,255,255,.58); font-size: 11px; font-weight: 720;
  line-height: 1.35; white-space: nowrap;
}
.jh-role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.jh-role-card { padding: 26px; border-radius: 20px; background: rgba(255,255,255,.72); }
.jh-role-card__date { display: block; margin-bottom: 16px; color: var(--jh-green-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.jh-role-card h3 { font-size: 23px; }
.jh-role-card p { margin-bottom: 0; font-size: 14px; }
.jh-case-section { margin-top: 58px; padding-top: 48px; border-top: 1px solid rgba(36,106,89,.17); }
.jh-case-section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 42px; margin-bottom: 30px; }
.jh-case-section__head .jh-eyebrow { grid-column: 1 / -1; }
.jh-case-section__head h3 { margin: 0; font-size: clamp(28px,3.5vw,44px); line-height: 1.05; letter-spacing: -.03em; }
.jh-case-section__head > p:last-child { margin: 0; }
.jh-case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.jh-case-card { overflow: hidden; border-radius: 22px; background: var(--jh-bg); }
.jh-video-embed { position: relative; aspect-ratio: 16 / 9; background: var(--jh-ink); }
.jh-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.jh-case-card__body { position: relative; padding: 26px; }
.jh-case-card__number { position: absolute; top: 19px; right: 23px; color: var(--jh-green-dark); font-size: 12px; font-weight: 850; }
.jh-case-card h4 { max-width: calc(100% - 34px); margin: 0 0 10px; color: var(--jh-ink); font-size: 21px; line-height: 1.2; letter-spacing: -.015em; }
.jh-case-card p { margin: 0; font-size: 13px; }
.jh-experience-timeline { border-top: 1px solid var(--jh-line); }
.jh-experience-row { display: grid; grid-template-columns: .68fr 1fr 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--jh-line); }
.jh-experience-row > div:first-child span { display: block; margin-bottom: 6px; color: var(--jh-green-dark); font-size: 11px; font-weight: 800; }
.jh-experience-row > div:first-child strong { display: block; color: var(--jh-ink); font-size: 18px; line-height: 1.25; }
.jh-experience-row > p { margin: 0; font-size: 14px; }
.jh-reference {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 30px;
  padding: 24px 26px; border: 1px solid rgba(36,106,89,.18); border-radius: 20px; background: var(--jh-bg);
}
.jh-reference span { display: block; margin-bottom: 5px; color: var(--jh-green-dark); font-size: 11px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.jh-reference p { max-width: 680px; margin: 0; font-size: 13px; }
.jh-reference .jh-button { flex: 0 0 auto; }
.jh-education-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.jh-education-item { padding: 28px; border-top: 1px solid var(--jh-line); }
.jh-education-item strong { display: block; margin-bottom: 8px; color: var(--jh-ink); font-size: 18px; }
.jh-education-item span { color: var(--jh-muted); font-size: 14px; }
.jh-education-link { color: inherit; text-decoration: none; }
.jh-education-link:hover strong { color: var(--jh-green-dark); }
.jh-improv-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.jh-improv-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.jh-improv-point { padding: 28px; border-radius: 22px; background: var(--jh-soft); }
.jh-improv-point strong { display: block; margin-bottom: 8px; color: var(--jh-ink); font-size: 18px; }
.jh-improv-point p { margin: 0; color: var(--jh-muted); font-size: 14px; }

/* Contact */
.jh-contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: start; }
.jh-contact-details { padding: 32px; border-radius: 24px; background: var(--jh-soft); }
.jh-contact-details a { display: block; margin-top: 10px; color: var(--jh-ink); font-weight: 700; text-decoration: none; }
.jh-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.jh-form__full { grid-column: 1 / -1; }
.jh-form label { display: block; margin-bottom: 7px; color: var(--jh-ink); font-size: 13px; font-weight: 750; }
.jh-form input, .jh-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--jh-line); border-radius: 12px;
  color: var(--jh-ink); background: var(--jh-bg); outline: none;
}
.jh-form input:focus, .jh-form textarea:focus { border-color: var(--jh-green-dark); box-shadow: 0 0 0 3px rgba(109,247,181,.22); }
.jh-form textarea { min-height: 190px; resize: vertical; }
.jh-form__check { display: flex; gap: 10px; align-items: flex-start; color: var(--jh-muted); font-size: 13px; }
.jh-form__check input { width: auto; margin-top: 4px; }
.jh-form__honeypot { position: absolute; left: -9999px; }
.jh-notice { margin-bottom: 24px; padding: 15px 18px; border-radius: 12px; background: var(--jh-blue); }
.jh-notice--error { background: #f8eaea; }

/* Content pages */
.jh-page-hero { padding: 80px 0 50px; }
.jh-page-hero h1 { max-width: 930px; margin: 0; font-size: clamp(48px, 7vw, 88px); line-height: .98; letter-spacing: -.045em; }
.jh-content { width: min(calc(100% - 64px), 850px); margin: 0 auto; padding: 30px 0 100px; }
.jh-content h2 { margin-top: 2.2em; font-size: 36px; line-height: 1.15; letter-spacing: -.025em; }
.jh-content h3 { margin-top: 1.8em; font-size: 25px; line-height: 1.25; letter-spacing: -.015em; }
.jh-content p, .jh-content li { color: #3f433f; }
.jh-content a { color: var(--jh-green-dark); }
.jh-content img { border-radius: 22px; }
.jh-post-meta { margin-top: 18px; color: var(--jh-muted); font-size: 14px; }
.jh-post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-bottom: 100px; }
.jh-post-card { padding: 28px; border-radius: 22px; background: var(--jh-soft); }
.jh-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.jh-blog-grid .jh-post-card { display: flex; min-height: 290px; flex-direction: column; align-items: flex-start; }
.jh-blog-grid .jh-post-card .jh-button { margin-top: auto; }
.jh-post-card h2 { margin: 0 0 10px; font-size: 25px; line-height: 1.2; letter-spacing: -.02em; }
.jh-post-card a { text-decoration: none; }
.jh-post-card p { color: var(--jh-muted); font-size: 14px; }

/* CTA + footer */
.jh-cta {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between;
  gap: 38px; margin: 104px 0; padding: 60px; color: #fff; border-radius: 32px; background: var(--jh-ink);
}
.jh-cta h2 { position: relative; z-index: 1; max-width: 700px; margin: 0; font-size: clamp(34px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -.035em; }
.jh-cta .jh-button { position: relative; z-index: 1; flex: 0 0 auto; }
.site-footer { padding: 42px 0; border-top: 1px solid var(--jh-line); }
.site-footer__inner { display: flex; align-items: start; justify-content: space-between; gap: 40px; }
.site-footer__brand { font-size: 20px; font-weight: 850; letter-spacing: -.04em; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--jh-muted); text-decoration: none; font-size: 13px; }
.site-footer__copyright { margin-top: 36px; color: var(--jh-muted); font-size: 12px; }

@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .jh-container { width: min(calc(100% - 40px), var(--jh-container)); }
  .jh-section { padding: 78px 0; }
  .menu-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 82px; left: 0; right: 0; padding: 20px;
    border-bottom: 1px solid var(--jh-line); background: var(--jh-bg);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; gap: 8px; }
  .site-nav a { display: block; padding: 12px; }
  .jh-hero__grid { grid-template-columns: 1fr; gap: 60px; }
  .jh-hero__photo { max-width: 670px; }
  .jh-section-head { align-items: start; flex-direction: column; }
  .jh-section-intro { max-width: 600px; }
  .jh-about { grid-template-columns: 1fr; }
  .jh-video { grid-template-columns: 1fr; }
  .jh-blog-grid { grid-template-columns: 1fr 1fr; }
  .jh-subhero__grid, .jh-profile-grid, .jh-contact-grid, .jh-improv-intro, .jh-experience-row { grid-template-columns: 1fr; }
  .jh-improv-points { grid-template-columns: 1fr 1fr; }
  .jh-post-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .jh-container, .jh-content { width: min(calc(100% - 32px), var(--jh-container)); }
  .jh-hero { padding-top: 50px; }
  .jh-hero h1 { font-size: clamp(54px, 16vw, 78px); }
  .jh-hero__photo img { height: 430px; }
  .jh-hero__sticker { right: -8px; }
  .jh-proof { grid-template-columns: 1fr 1fr; }
  .jh-proof--three { grid-template-columns: 1fr; }
  .jh-proof--three .jh-proof__item { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--jh-line); }
  .jh-proof__item:nth-child(2) { border-right: 0; }
  .jh-proof__item:nth-child(-n+2) { border-bottom: 1px solid var(--jh-line); }
  .jh-proof__item:nth-child(3) { padding-left: 0; }
  .jh-projects, .jh-expertise { grid-template-columns: 1fr; }
  .jh-project-card--wide { grid-column: auto; }
  .jh-project-card { min-height: 325px; padding: 27px; }
  .jh-project-card__number, .jh-project-card__icon { opacity: .28; }
  .jh-about__photos img { height: 350px; }
  .jh-video { padding: 34px 24px; }
  .jh-blog-grid { grid-template-columns: 1fr; }
  .jh-project-detail { padding: 28px 22px; }
  .jh-project-detail__head { display: block; }
  .jh-project-detail__date { margin-top: 10px; }
  .jh-project-detail__columns, .jh-project-detail__intro--split, .jh-role-grid, .jh-case-section__head, .jh-case-grid, .jh-education-grid, .jh-improv-points, .jh-form { grid-template-columns: 1fr; }
  .jh-case-section__head .jh-eyebrow { grid-column: auto; }
  .jh-reference { align-items: flex-start; flex-direction: column; }
  .jh-cv-download { align-items: flex-start; flex-direction: column; }
  .jh-cv-download__actions { width: 100%; }
  .jh-form__full { grid-column: auto; }
  .jh-career { grid-template-columns: 96px 1fr; }
  .jh-career__logo { display: none; }
  .jh-cta { display: block; margin: 78px 0; padding: 38px 26px; }
  .jh-cta .jh-button { margin-top: 28px; }
  .site-footer__inner { flex-direction: column; }
  .jh-post-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
