article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}
audio,
canvas,
video {
  display: inline-block;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
[hidden] {
  display: none;
}
html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0;
}
a:focus {
  outline: thin dotted;
}
a:active,
a:hover {
  outline: 0;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
abbr[title] {
  border-bottom: 1px dotted;
}
b,
strong {
  font-weight: bold;
}
dfn {
  font-style: italic;
}
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}
mark {
  background: #ff0;
  color: #000;
}
code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em;
}
pre {
  white-space: pre-wrap;
}
q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
img {
  border: 0;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 0;
}
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
legend {
  border: 0;
  padding: 0;
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
}
button,
input {
  line-height: normal;
}
button,
select {
  text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
textarea {
  overflow: auto;
  vertical-align: top;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 1.5em;
}
::-moz-selection {
  background-color: #dadada;
  color: #343434;
  text-shadow: none;
}
::selection {
  background-color: #dadada;
  color: #343434;
  text-shadow: none;
}
.all-caps {
  text-transform: uppercase;
}
.pull-left {
  float: left;
}
.pull-right {
  float: right;
}
.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both;
}
.unstyled-list {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
.unstyled-list li {
  list-style-type: none;
}
@font-face {
  font-family: "Ampersand";
  src:
    local("Georgia"), local("Garamond"), local("Palatino"),
    local("Book Antiqua");
  unicode-range: U+270C;
}
@font-face {
  font-family: "Ampersand";
  src: local("Georgia");
  unicode-range: U+270C;
}
.ampersand-placeholder {
  font-family: Verdana, sans-serif;
}
.breakword {
  word-wrap: break-word;
}
.normal-wrap {
  word-wrap: normal;
}
.inherit-wrap {
  word-wrap: auto;
}
.drop-cap:first-letter {
  float: left;
  margin: inherit;
  padding: inherit;
  font-size: 4em;
  font-family: inherit;
  line-height: 1;
  text-indent: 0;
  background: transparent;
  color: inherit;
}
html {
  font: normal 112.5%/1.65 serif;
}
body {
  word-wrap: normal;
  color: #5A4635;
}
.tera {
  font-size: 117px;
  font-size: 6.5rem;
  margin-bottom: 0.25384615384615383rem;
}
.giga {
  font-size: 90px;
  font-size: 5rem;
  margin-bottom: 0.33rem;
}
.mega {
  font-size: 72px;
  font-size: 4rem;
  margin-bottom: 0.4125rem;
}
.alpha {
  font-size: 60px;
  font-size: 3.3333333333333335rem;
  margin-bottom: 0.495rem;
}
.beta {
  font-size: 48px;
  font-size: 2.6666666666666665rem;
  margin-bottom: 0.61875rem;
}
.gamma {
  font-size: 36px;
  font-size: 2rem;
  margin-bottom: 0.825rem;
}
.delta {
  font-size: 24px;
  font-size: 1.3333333333333333rem;
  margin-bottom: 1.2375rem;
}
.epsilon {
  font-size: 21px;
  font-size: 1.1666666666666667rem;
  margin-bottom: 1.4142857142857141rem;
}
.zeta {
  font-size: 18px;
  font-size: 1rem;
  margin-bottom: 1.65rem;
}
h1 {
  font-size: 60px;
  font-size: 3.3333333333333335rem;
  margin-bottom: 0.495rem;
  text-rendering: optimizeLegibility;
  line-height: 1;
  margin-top: 0;
}
h2 {
  font-size: 48px;
  font-size: 2.6666666666666665rem;
  margin-bottom: 0.61875rem;
  text-rendering: optimizeLegibility;
  line-height: 1;
  margin-top: 0;
}
h3 {
  font-size: 36px;
  font-size: 2rem;
  margin-bottom: 0.825rem;
  text-rendering: optimizeLegibility;
  line-height: 1;
  margin-top: 0;
}
h4 {
  font-size: 24px;
  font-size: 1.3333333333333333rem;
  margin-bottom: 1.2375rem;
  text-rendering: optimizeLegibility;
  line-height: 1;
  margin-top: 0;
}
h5 {
  font-size: 21px;
  font-size: 1.1666666666666667rem;
  margin-bottom: 1.4142857142857141rem;
  text-rendering: optimizeLegibility;
  line-height: 1;
  margin-top: 0;
}
h6 {
  font-size: 18px;
  font-size: 1rem;
  margin-bottom: 1.65rem;
  text-rendering: optimizeLegibility;
  line-height: 1;
  margin-top: 0;
}
p {
  margin: 0 0 2.5em;
}
p + p {
  text-indent: 0em;
  margin-top: -1.5em;
}
abbr,
acronym,
blockquote,
code,
dir,
kbd,
listing,
plaintext,
q,
samp,
tt,
var,
xmp {
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  -o-hyphens: none;
  hyphens: none;
}
pre code {
  word-wrap: normal;
  white-space: -moz-pre-wrap;
  white-space: pre-wrap;
}
pre {
  white-space: pre;
}
code {
  white-space: pre;
  font-family: monospace;
}
abbr {
  font-variant: small-caps;
  font-weight: 400;
  text-transform: lowercase;
  color: #5A4635;
}
abbr:hover {
  cursor: help;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #5A4635;
}
.lining dt,
.lining dd {
  display: inline;
  margin: 0;
}
.lining dt + dt:before,
.lining dd + dt:before {
  content: "\A";
  white-space: pre;
}
.lining dd + dd:before {
  content: ", ";
}
.lining dd:before {
  content: ": ";
  margin-left: -0.2rem;
}
.dictionary-style dt {
  display: inline;
  counter-reset: definitions;
}
.dictionary-style dt + dt:before {
  content: ", ";
  margin-left: -0.2rem;
}
.dictionary-style dd {
  display: block;
  counter-increment: definitions;
}
.dictionary-style dd:before {
  content: counter(definitions, decimal) ". ";
}
.stats-tabs {
  padding: 0;
}
.stats-tabs li {
  display: inline-block;
  margin: 0 0.625rem 0 0;
  padding: 0 0.625rem 0 0;
  border-right: 0.125rem solid #cccccc;
}
.stats-tabs li:last-child {
  margin: 0;
  padding: 0;
  border: none;
}
.stats-tabs li a {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: bold;
}
.stats-tabs li a b {
  display: block;
  margin: 0.125rem 0 0 0;
  font-size: 0.875rem;
  font-weight: normal;
}
.cite {
  display: block;
  font-size: 0.875em;
  text-align: right;
}
.pull-quote {
  position: relative;
  padding: 1em;
}
.pull-quote:before,
.pull-quote:after {
  height: 1em;
  opacity: 0.15;
  position: absolute;
  font-size: 4em;
}
.pull-quote:before {
  content: "“";
  top: 0em;
  left: 0em;
}
.pull-quote:after {
  content: "”";
  bottom: 0em;
  right: 0em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h6 {
  font-weight: 400;
}
a {
  text-decoration: none;
  color: #343434;
}
a:visited {
  color: #4e4e4e;
}
a:hover {
  color: #1a1a1a;
}
a:focus {
  outline: thin dotted;
  color: #343434;
}
a:hover,
a:active {
  outline: 0;
}
b,
strong {
  font-weight: 700;
}
ul li {
  list-style-type: square;
}
ol li {
  list-style-type: upper-roman;
}
p > a,
li > a,
em > a,
a > em,
footer a {
  text-decoration: none;
  border-bottom: 1px dotted #b3b3b1;
}
p > a:hover,
li > a:hover,
em > a:hover,
footer a:hover {
  text-decoration: none;
  border-bottom: 1px solid #b3b3b1;
}
figcaption {
  margin-top: 0.75em;
  line-height: 1.25;
  font-size: 18px;
  font-size: 1rem;
  margin-bottom: 1.65rem;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  counter-increment: captions;
}
figcaption:before {
  font-weight: 700;
  text-transform: uppercase;
  content: "Figure " counter(captions) ": ";
}
.notice {
  margin-top: 1.5em;
  padding: 0.5em 1em;
  text-indent: 0;
  font-size: 90%;
  background-color: #ddd;
  border-left: 10px solid #ccc;
}
blockquote {
  font-style: italic;
  margin-left: 0;
  padding-left: 1em;
  border-left: 10px solid #ccc;
}
blockquote p + p {
  text-indent: 0;
  margin-top: 0;
}
.footnotes {
  font-size: 90%;
}
tt,
code,
kbd,
samp,
pre {
  font-family:
    Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono",
    monospace;
}
p code {
  font-size: 80%;
  white-space: nowrap;
  margin: 0 2px;
  padding: 0 5px;
  border: 1px solid #e6e6e6;
  background-color: #f2f2f2;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.highlight {
  background-color: #efefef;
  font-family:
    Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono",
    monospace;
  font-size: 80%;
  color: #5A4635;
  margin-bottom: 1.5em;
}
.highlight pre {
  margin: 0px;
  padding: 1em;
}
.hll {
  background-color: #ffffcc;
}
.c {
  color: #999988;
  font-style: italic;
}
.err {
  color: #a61717;
  background-color: #e3d2d2;
}
.k {
  color: #000000;
  font-weight: bold;
}
.o {
  color: #000000;
  font-weight: bold;
}
.cm {
  color: #999988;
  font-style: italic;
}
.cp {
  color: #999999;
  font-weight: bold;
  font-style: italic;
}
.c1 {
  color: #999988;
  font-style: italic;
}
.cs {
  color: #999999;
  font-weight: bold;
  font-style: italic;
}
.gd {
  color: #000000;
  background-color: #ffdddd;
}
.ge {
  color: #000000;
  font-style: italic;
}
.gr {
  color: #aa0000;
}
.gh {
  color: #999999;
}
.gi {
  color: #000000;
  background-color: #ddffdd;
}
.go {
  color: #888888;
}
.gp {
  color: #555555;
}
.gs {
  font-weight: bold;
}
.gu {
  color: #aaaaaa;
}
.gt {
  color: #aa0000;
}
.kc {
  color: #000000;
  font-weight: bold;
}
.kd {
  color: #000000;
  font-weight: bold;
}
.kn {
  color: #000000;
  font-weight: bold;
}
.kp {
  color: #000000;
  font-weight: bold;
}
.kr {
  color: #000000;
  font-weight: bold;
}
.kt {
  color: #445588;
  font-weight: bold;
}
.m {
  color: #009999;
}
.s {
  color: #d01040;
}
.na {
  color: #008080;
}
.nb {
  color: #0086b3;
}
.nc {
  color: #445588;
  font-weight: bold;
}
.no {
  color: #008080;
}
.nd {
  color: #3c5d5d;
  font-weight: bold;
}
.ni {
  color: #800080;
}
.ne {
  color: #6A8A64;
  font-weight: bold;
}
.nf {
  color: #6A8A64;
  font-weight: bold;
}
.nl {
  color: #6A8A64;
  font-weight: bold;
}
.nn {
  color: #555555;
}
.nt {
  color: #000080;
}
.nv {
  color: #008080;
}
.ow {
  color: #000000;
  font-weight: bold;
}
.w {
  color: #bbbbbb;
}
.mf {
  color: #009999;
}
.mh {
  color: #009999;
}
.mi {
  color: #009999;
}
.mo {
  color: #009999;
}
.sb {
  color: #d01040;
}
.sc {
  color: #d01040;
}
.sd {
  color: #d01040;
}
.s2 {
  color: #d01040;
}
.se {
  color: #d01040;
}
.sh {
  color: #d01040;
}
.si {
  color: #d01040;
}
.sx {
  color: #d01040;
}
.sr {
  color: #009926;
}
.s1 {
  color: #d01040;
}
.ss {
  color: #990073;
}
.bp {
  color: #999999;
}
.vc {
  color: #008080;
}
.vg {
  color: #008080;
}
.vi {
  color: #008080;
}
.il {
  color: #009999;
}
.hidden {
  display: none;
  visibility: hidden;
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  position: static;
  clip: auto;
  height: auto;
  width: auto;
  margin: 0;
  overflow: visible;
}
.visible-phone {
  display: none !important;
}
.visible-tablet {
  display: none !important;
}
.hidden-desktop {
  display: none !important;
}
/*@media (max-width:767px){.visible-phone{display:inherit !important;} .hidden-phone{display:none !important;} .hidden-desktop{display:inherit !important;} .visible-desktop{display:none !important;}}@media (min-width:768px) and (max-width:979px){.visible-tablet{display:inherit !important;} .hidden-tablet{display:none !important;} .hidden-desktop{display:inherit !important;} .visible-desktop{display:none !important ;}}hr{display:block;margin:1em 0;padding:0;height:1px;border:0;border-top:1px solid #ccc;border-bottom:1px solid #fff;}*/
@media (max-width: 1100px) {
  .visible-phone {
    display: inherit !important;
  }
  .hidden-phone {
    display: none !important;
  }
  .hidden-desktop {
    display: inherit !important;
  }
  .visible-desktop {
    display: none !important;
  }
}
@media (min-width: 1100px) and (max-width: 1300px) {
  .visible-tablet {
    display: inherit !important;
  }
  .hidden-tablet {
    display: none !important;
  }
  .hidden-desktop {
    display: inherit !important;
  }
  .visible-desktop {
    display: none !important ;
  }
}
hr {
  display: block;
  margin: 1em 0;
  padding: 0;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #fff;
}
article img {
  max-width: 100%;
  height: auto;
  border-width: 0;
  vertical-align: middle;
  -ms-interpolation-mode: bicubic;
}
svg:not(:root) {
  overflow: hidden;
}
.half {
  margin: 0 auto;
  width: 100%;
  *zoom: 1;
}
.half:before,
.half:after {
  display: table;
  content: "";
}
.half:after {
  clear: both;
}
.half:before,
.half:after {
  content: "";
  display: table;
}
.half:after {
  clear: both;
}
.half img {
  display: inline;
  float: left;
  width: 50%;
}
.half figcaption {
  display: inline;
  float: left;
  width: 100%;
}
/* .third class is now defined in the HOBBY PAGE STYLES section below (line ~553) with CSS Grid layout */
img.floatpic {
  float: right;
  margin-left: 1em;
  width: 25%;
}

/* Responsive image in 'About Me' page */
@media only screen and (max-width: 480px) {
  img.floatpic {
    width: 35%;
  }
}
.btn {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  padding: 12px 24px;
  margin-bottom: 2em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
  border: 4px double #5A4635;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  cursor: pointer;
  *margin-left: 0.3em;
  -webkit-transition: 0.4s linear;
  -moz-transition: 0.4s linear;
  -ms-transition: 0.4s linear;
  -o-transition: 0.4s linear;
  transition: 0.4s linear;
}
.btn:visited {
  border: 4px double #4e4e4e;
}
.btn:hover {
  border: 4px double #1a1a1a;
}
.btn:first-child {
  *margin-left: 0;
}
.btn-inverse {
  border: 4px double #ffffff;
  color: #ffffff;
  background-color: #000000;
}
.btn-inverse:visited {
  color: #ffffff;
  border-color: #ffffff;
}
.btn-inverse:hover {
  color: #ffffff;
  border-color: #ffffff;
}
.btn-small {
  font-size: 60%;
  padding: 6px 12px;
}
.well {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot");
  src:
    url("../fonts/icomoon.eot?#iefix") format("embedded-opentype"),
    url("../fonts/icomoon.woff") format("woff"),
    url("../fonts/icomoon.ttf") format("truetype"),
    url("../fonts/icomoon.svg#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}
[data-icon]:before {
  font-family: "icomoon";
  content: attr(data-icon);
  speak: none;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}
.icon-instagram,
.icon-facebook,
.icon-twitter,
.icon-google-plus,
.icon-feed,
.icon-feed-2,
.icon-linkedin,
.icon-tumblr,
.icon-lastfm,
.icon-mail,
.icon-github {
  font-family: "icomoon";
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}
.icon-instagram:before {
  content: "\e004";
}
.icon-facebook:before {
  content: "\e003";
}
.icon-twitter:before {
  content: "\e007";
}
.icon-google-plus:before {
  content: "\e00a";
}
.icon-feed:before {
  content: "\e00b";
}
.icon-feed-2:before {
  content: "\e00c";
}
.icon-linkedin:before {
  content: "\e001";
}
.icon-tumblr:before {
  content: "\e002";
}
.icon-lastfm:before {
  content: "\e005";
}
.icon-mail:before {
  content: "\e006";
}
.icon-github:before {
  content: "\e000";
}
form {
  margin: 0 0 5px 0;
}
form fieldset {
  margin-bottom: 5px;
  padding: 0;
  border-width: 0;
}
form legend {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  *margin-left: -7px;
  padding: 0;
  color: #5A4635;
  border: 0;
  border-bottom: 1px solid #cccccc;
  white-space: normal;
}
form p {
  margin-bottom: 2.5px;
}
form ul {
  list-style-type: none;
  margin: 0 0 5px 0;
  padding: 0;
}
form br {
  display: none;
}
label,
input,
button,
select,
textarea {
  vertical-align: baseline;
  *vertical-align: middle;
}
input,
button,
select,
textarea {
  font-family: "PT Serif", serif;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
label {
  display: block;
  margin-bottom: 1.25px;
  font-weight: bold;
  color: #5A4635;
  cursor: pointer;
}
label input,
label textarea,
label select {
  display: block;
}
input,
textarea,
select {
  display: inline-block;
  width: 100%;
  padding: 4px;
  margin-bottom: 1.25px;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  color: #5A4635;
}
input:hover,
textarea:hover,
select:hover {
  border-color: #808080;
}
.input-mini {
  width: 60px;
}
.input-small {
  width: 90px;
}
input[type="image"],
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  height: auto;
  padding: 0;
  margin: 3px 0;
  *margin-top: 0;
  line-height: normal;
  cursor: pointer;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  border: 0 \9;
}
input[type="checkbox"],
input[type="radio"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  *width: 13px;
  *height: 13px;
}
input[type="image"] {
  border: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
input[type="file"] {
  width: auto;
  padding: initial;
  line-height: initial;
  border: initial;
  background-color: transparent;
  background-color: initial;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
input[type="button"],
input[type="reset"],
input[type="submit"] {
  width: auto;
  height: auto;
  cursor: pointer;
  *overflow: visible;
}
select,
input[type="file"] {
  *margin-top: 4px;
}
select {
  width: auto;
  background-color: #ffffff;
}
select[multiple],
select[size] {
  height: auto;
}
textarea {
  resize: vertical;
  height: auto;
  overflow: auto;
  vertical-align: top;
}
input[type="hidden"] {
  display: none;
}
.radio,
.checkbox {
  padding-left: 18px;
  font-weight: normal;
}
.radio input[type="radio"],
.checkbox input[type="checkbox"] {
  float: left;
  margin-left: -18px;
}
.radio.inline,
.checkbox.inline {
  display: inline-block;
  padding-top: 5px;
  margin-bottom: 0;
  vertical-align: middle;
}
.radio.inline + .radio.inline,
.checkbox.inline + .checkbox.inline {
  margin-left: 10px;
}
input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
  -webkit-opacity: 0.5;
  -moz-opacity: 0.5;
  opacity: 0.5;
  cursor: not-allowed;
}
input:focus,
textarea:focus {
  border-color: #000000;
  outline: 0;
  outline: thin dotted \9;
}
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus,
select:focus {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.help-block,
.help-inline {
  color: #808080;
}
.help-block {
  display: block;
  margin-bottom: 1em;
  line-height: 1em;
}
.help-inline {
  display: inline-block;
  vertical-align: middle;
  padding-left: 5px;
}
.form-inline input,
.form-inline textarea,
.form-inline select {
  display: inline-block;
  margin-bottom: 0;
}
.form-inline label {
  display: inline-block;
}
.form-inline .radio,
.form-inline .checkbox,
.form-inline .radio {
  padding-left: 0;
  margin-bottom: 0;
  vertical-align: middle;
}
.form-inline .radio input[type="radio"],
.form-inline .checkbox input[type="checkbox"] {
  float: left;
  margin-left: 0;
  margin-right: 3px;
}
.form-search input,
.form-search textarea,
.form-search select {
  display: inline-block;
  margin-bottom: 0;
}
.form-search .search-query {
  padding-left: 14px;
  padding-right: 14px;
  margin-bottom: 0;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  border-radius: 14px;
}
.form-search label {
  display: inline-block;
}
.form-search .radio,
.form-search .checkbox,
.form-inline .radio {
  padding-left: 0;
  margin-bottom: 0;
  vertical-align: middle;
}
.form-search .radio input[type="radio"],
.form-search .checkbox input[type="checkbox"] {
  float: left;
  margin-left: 0;
  margin-right: 3px;
}
html {
  background-color: #ffffff;
  font-family: "PT Serif", serif;
  font-color: #5A4635;
  font-size: 90%;
}
.navigation-wrapper {
  margin: 0 auto;
  width: 100%;
  padding: 0;
  overflow: hidden;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.site-name {
  margin: 0 auto;
  width: 100%;
  display: inline;
  float: left;
  width: 83.33333333333334%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
  margin-bottom: 0;
}
.top-navigation {
  margin: 0 auto;
  width: 100%;
  display: inline;
  float: left;
  width: 83.33333333333334%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
  margin-bottom: 0;
}
.top-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.top-navigation li {
  list-style-type: none;
  display: inline;
  margin-right: 25px;
}
.top-navigation li a {
  decoration: none;
  border-bottom: 0 solid transparent;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}
.top-navigation-current {
  text-decoration: overline;
}
#main {
  counter-reset: captions;
  margin: 0 auto;
  width: 100%;
  *zoom: 1;
  clear: both;
  margin-top: 1em;
}
#main:before,
#main:after {
  display: table;
  content: "";
}
#main:after {
  clear: both;
}
#main:before,
#main:after {
  content: "";
  display: table;
}
#main:after {
  clear: both;
}

.wide {
  width: 90% !important;
}
#main article {
  margin: 0 auto;
  width: 100%;
  display: inline;
  float: left;
  width: 90%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
  margin-bottom: 2em;
}
#index {
  margin: 0 auto;
  width: 100%;
  display: inline;
  float: left;
  width: 90%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
  margin-bottom: 2em;
}
#index article h2 {
  font-size: 24px;
  font-size: 1.3333333333333333rem;
  margin-bottom: 1.2375rem;
  margin-bottom: 0;
}
#index article p + p {
  text-indent: 0;
}

#index article p + p {
  text-indent: 0;
}
.image-wrap {
  position: relative;
  margin-bottom: 2em;
}
.image-wrap:after {
  content: " ";
  display: block;
  position: absolute;
  bottom: -1px;
  left: 8%;
  width: 0;
  height: 0;
  border: 20px solid transparent;
  border-bottom-color: #ffffff;
}
.image-wrap img {
  width: 100%;
  height: auto;
  -ms-interpolation-mode: bicubic;
}
.image-wrap .headline-wrap {
  position: absolute;
  bottom: 25px;
  margin-left: 8.333333333333334%;
}
.image-wrap .headline-wrap h1,
.image-wrap .headline-wrap h2 {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.headline-wrap h1 {
  font-size: 48px;
  font-size: 2.6666666666666665rem;
  margin-bottom: 0.61875rem;
}
.headline-wrap h2 {
  font-size: 24px;
  font-size: 1.3333333333333333rem;
  margin-bottom: 1.2375rem;
  text-transform: uppercase;
}
.article-wrap h2 {
  font-size: 36px;
  font-size: 2rem;
  margin-bottom: 0.825rem;
}
.article-wrap h3 {
  font-size: 24px;
  font-size: 1.3333333333333333rem;
  margin-bottom: 1.2375rem;
}
.byline {
  clear: both;
  font-size: 80%;
}
.article-author-top h4,
.article-author-bottom h4 {
  margin-bottom: 0.5em;
}
.article-author-top p,
.article-author-bottom p {
  font-size: 80%;
  font-style: italic;
}
.article-author-top a,
.article-author-bottom a,
.article-author-top a:hover,
.article-author-bottom a:hover {
  border-bottom: 0 solid transparent;
}
.article-author-top img.bio-photo,
.article-author-bottom img.bio-photo {
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;
}
.article-author-top {
  display: none;
}
.article-author-bottom .bio-photo {
  float: left;
  margin-right: 25px;
}
.toc {
  display: none;
  font-size: 95%;
  -webkit-opacity: 0.7;
  -moz-opacity: 0.7;
  opacity: 0.7;
  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
}
.toc:hover {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
.toc header {
  background: #1a1a1a;
}
.toc h3 {
  margin: 0;
  padding: 5px 10px;
  color: #ffffff;
}
.toc h3:hover {
  cursor: pointer;
}
.toc ul {
  margin: 2px 0 0;
  padding: 0;
  background: #4d4d4d;
  line-height: 1;
}
.toc li {
  display: block;
  margin: 0;
  padding: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  border-bottom: 1px solid #808080;
}
.toc li:last-child {
  border-bottom: 0 solid transparent;
}
.toc li a,
.toc li a:hover {
  color: #ffffff;
  border-bottom: 0 solid transparent;
}
.toc li a {
  padding: 10px;
  display: block;
}
.toc li ul {
  margin: 0;
  border-top: 1px solid #808080;
}
.image-grid {
  *zoom: 1;
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
}
.image-grid:before,
.image-grid:after {
  display: table;
  content: "";
}
.image-grid:after {
  clear: both;
}
.image-grid:before,
.image-grid:after {
  content: "";
  display: table;
}
.image-grid:after {
  clear: both;
}
.image-grid li {
  display: inline;
  float: left;
  width: 50%;
}
.recent-grid {
  *zoom: 1;
  list-style: none;
  margin: 1em 0;
}
.recent-grid:before,
.recent-grid:after {
  display: table;
  content: "";
}
.recent-grid:after {
  clear: both;
}
.recent-grid:before,
.recent-grid:after {
  content: "";
  display: table;
}
.recent-grid:after {
  clear: both;
}
.recent-grid li {
  display: inline;
}
.recent-grid li a {
  border-bottom: 0 solid transparent;
}
.recent-grid li a:hover {
  border-bottom: 0 solid transparent;
}
.recent-grid img {
  width: 19%;
  margin-bottom: 1%;
}
.holder {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.holder a {
  cursor: pointer;
  margin: 0 5px;
}
.holder a.jp-previous {
  margin-left: 0;
  margin-right: 15px;
}
.holder a.jp-next {
  margin-left: 15px;
  margin-right: 0;
}
.holder a.jp-current {
  font-weight: bold;
}
.holder a.jp-current,
.holder a.jp-current:hover,
.holder a.jp-disabled,
.holder a.jp-disabled:hover {
  cursor: default;
  background: none;
}
.holder span {
  margin: 0 5px;
}
.footer-wrap {
  margin: 0 auto;
  width: 100%;
  *zoom: 1;
  clear: both;
  margin-top: 1em;
  padding-top: 2em;
  padding-bottom: 3em;
  background-color: #000000;
}
.footer-wrap:before,
.footer-wrap:after {
  display: table;
  content: "";
}
.footer-wrap:after {
  clear: both;
}
.footer-wrap:before,
.footer-wrap:after {
  content: "";
  display: table;
}
.footer-wrap:after {
  clear: both;
}
.footer-wrap a,
.footer-wrap a:active,
.footer-wrap a:visited,
.footer-wrap p,
.footer-wrap h4,
.footer-wrap h5,
.footer-wrap h6 {
  color: #bfbfbf;
}
.footer-wrap a {
  border-bottom: 0 solid transparent;
}
.footer-wrap a:hover {
  color: #ffffff;
  border-bottom: 0 solid transparent;
}
.footer-wrap footer {
  display: inline;
  float: left;
  width: 83.33333333333334%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
}
.related-articles {
  display: inline;
  float: left;
  width: 83.33333333333334%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
}
.related-articles h4 {
  font-size: 21px;
  font-size: 1.1666666666666667rem;
  margin-bottom: 1.4142857142857141rem;
  text-transform: uppercase;
  margin-bottom: 0;
}
.related-articles li {
  margin-bottom: 0;
  color: #ffffff;
}
.footer-icons li {
  display: inline-block;
  padding-right: 5px;
}
.footer-icons li a {
  font-size: 24px;
  font-size: 1.3333333333333333rem;
  margin-bottom: 1.2375rem;
  color: #9a9a9a;
  -webkit-transition: 0.4s linear;
  -moz-transition: 0.4s linear;
  -ms-transition: 0.4s linear;
  -o-transition: 0.4s linear;
  transition: 0.4s linear;
}
.footer-icons li a:hover {
  text-decoration: none;
  border-bottom: none;
}
.footer-icons li a:hover .icon-twitter,
.footer-icons li a:hover .icon-twitter-sign {
  color: #2aa9df;
}
.footer-icons li a:hover .icon-facebook,
.footer-icons li a:hover .icon-facebook-sign {
  color: #3a5a98;
}
.footer-icons li a:hover .icon-instagram,
.footer-icons li a:hover .icon-instagram-sign {
  color: #306088;
}
.footer-icons li a:hover .icon-google-plus,
.footer-icons li a:hover .icon-google-plus-sign {
  color: #b63324;
}
.footer-icons li a:hover .icon-lastfm,
.footer-icons li a:hover .icon-lastfm-sign {
  color: #d80049;
}
.footer-icons li a:hover .icon-github {
  color: #4183c4;
}
.chrome-frame {
  background: #000;
  margin: 0 0 2em 0;
  padding: 10px;
  text-align: center;
  color: #ffffff;
}
.chrome-frame a {
  color: #ffffff;
  border-bottom: 1px dotted #ffffff;
  text-decoration: none;
}
.chrome-frame a:hover {
  border-bottom: 1px solid #ffffff;
}
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 502;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80);
}
.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 503;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}
.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.mfp-container:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.mfp-align-top .mfp-container:before {
  display: none;
}
.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 505;
}
.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}
.mfp-inline-holder .mfp-content:after,
.mfp-ajax-holder .mfp-content:after {
  content: "";
  display: block;
  width: auto;
  height: auto;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}
.mfp-ajax-cur {
  cursor: progress;
}
.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}
.mfp-zoom,
.image-popup {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}
.mfp-auto-cursor .mfp-content {
  cursor: auto;
}
.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.mfp-loading.mfp-figure {
  display: none;
}
.mfp-hide {
  display: none !important;
}
.mfp-preloader {
  color: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 504;
}
.mfp-preloader a {
  color: #cccccc;
}
.mfp-preloader a:hover {
  color: white;
}
.mfp-s-ready .mfp-preloader {
  display: none;
}
.mfp-s-error .mfp-content {
  display: none;
}
button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  border: 0;
  -webkit-appearance: none;
  display: block;
  padding: 0;
  z-index: 506;
}
button.mfp-close {
  background: transparent;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: white;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
}
.mfp-close:hover,
.mfp-close:focus {
  opacity: 1;
}
.mfp-close:active {
  top: 1px;
}
.mfp-close-btn-in .mfp-close {
  color: #333333;
}
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: white;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}
.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #cccccc;
  font-size: 12px;
  line-height: 18px;
}
.mfp-arrow {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  top: 0;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  background-color: #000000;
  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.mfp-arrow:active {
  margin-top: -54px;
}
.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1;
}
.mfp-arrow:before,
.mfp-arrow:after,
.mfp-arrow .mfp-b,
.mfp-arrow .mfp-a {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: solid transparent;
}
.mfp-arrow:after,
.mfp-arrow .mfp-a {
  opacity: 0.8;
  border-top-width: 12px;
  border-bottom-width: 12px;
  top: 8px;
}
.mfp-arrow:before,
.mfp-arrow .mfp-b {
  border-top-width: 20px;
  border-bottom-width: 20px;
}
.mfp-arrow-left {
  left: 0;
  -webkit-border-top-right-radius: 5px;
  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 0;
  -webkit-border-top-left-radius: 0;
  -moz-border-radius-topright: 5px;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 0;
  -moz-border-radius-topleft: 0;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
}
.mfp-arrow-left:after,
.mfp-arrow-left .mfp-a {
  border-right: 12px solid #fff;
  left: 5px;
}
.mfp-arrow-left:before,
.mfp-arrow-left .mfp-b {
  border-right: 20px solid #fff;
}
.mfp-arrow-right {
  right: 0;
  -webkit-border-top-right-radius: 0;
  -webkit-border-bottom-right-radius: 0;
  -webkit-border-bottom-left-radius: 5px;
  -webkit-border-top-left-radius: 5px;
  -moz-border-radius-topright: 0;
  -moz-border-radius-bottomright: 0;
  -moz-border-radius-bottomleft: 5px;
  -moz-border-radius-topleft: 5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
}
.mfp-arrow-right:after,
.mfp-arrow-right .mfp-a {
  border-left: 12px solid #fff;
  left: 3px;
}
.mfp-arrow-right:before,
.mfp-arrow-right .mfp-b {
  border-left: 20px solid #fff;
}
.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}
.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}
.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}
.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: black;
}
.mfp-iframe-holder .mfp-close {
  top: -40px;
}
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}
.mfp-figure:after {
  content: "";
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}
.mfp-figure {
  line-height: 0;
}
.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}
.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
}
.mfp-figure small {
  color: #bdbdbd;
  display: block;
  font-size: 12px;
  line-height: 14px;
}
.mfp-image-holder .mfp-content {
  max-width: 100%;
}
.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}
@media screen and (max-width: 800px) and (orientation: landscape),
  screen and (max-height: 300px) {
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }
  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }
}
@media all and (max-width: 800px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0;
  }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
  }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}
.mfp-ie7 .mfp-img {
  padding: 0;
}
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px;
}
.mfp-ie7 .mfp-container {
  padding: 0;
}
.mfp-ie7 .mfp-content {
  padding-top: 44px;
}
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0;
}
.mfp-fade .zoom-anim-dialog {
  opacity: 0;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
}
.mfp-fade.mfp-ready .zoom-anim-dialog {
  opacity: 1;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}
.mfp-fade.mfp-removing .zoom-anim-dialog {
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
  opacity: 0;
}
.mfp-fade.mfp-bg {
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-out;
  -moz-transition: opacity 0.3s ease-out;
  -ms-transition: opacity 0.3s ease-out;
  -o-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}
.mfp-fade.mfp-ready.mfp-bg {
  opacity: 0.8;
}
.mfp-fade.mfp-removing.mfp-bg {
  opacity: 0;
}
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    -ms-filter: none !important;
    position: static !important;
  }
  @page {
    margin: 0.5cm;
  }
  h2,
  h3 {
    orphans: 3;
    widows: 3;
    page-break-after: avoid;
  }
  p {
    orphans: 3;
    widows: 3;
  }
  pre,
  blockquote {
    border: 1px solid #333;
    page-break-inside: avoid;
    padding: 1em;
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr {
    page-break-inside: avoid;
  }
}
@media only screen and (min-width: 30em) {
  .image-grid li {
    width: 33.333333%;
  }
}
@media only screen and (min-width: 37.5em) {
  html {
    font-size: 95%;
  }
  .site-name {
    display: inline;
    float: left;
    width: 16.666666666666668%;
    margin-left: 4.166666666666667%;
    margin-right: 4.166666666666667%;
  }
  .top-navigation {
    display: inline;
    float: left;
    width: 75%;
    margin-left: 0%;
    margin-right: 0%;
  }
  .image-wrap .headline-wrap,
  .image-wrap:after {
    left: 25%;
  }
  .image-wrap .headline-wrap {
    margin-left: 0;
  }
  #main article {
    display: inline;
    float: left;
    width: 50%;
    margin-left: 0%;
    margin-right: 0%;
  }
  #index {
    display: inline;
    float: left;
    width: 50%;
    margin-left: 0%;
    margin-right: 0%;
  }
  .footer-wrap footer {
    display: inline;
    float: left;
    width: 50%;
    margin-left: 25%;
    margin-right: 25%;
  }
  .article-author-top {
    display: block;
    display: inline;
    float: left;
    width: 16.666666666666668%;
    margin-left: 4.166666666666667%;
    margin-right: 4.166666666666667%;
  }
  .article-author-bottom {
    display: none;
  }
  .toc {
    display: block;
    display: inline;
    float: left;
    width: 16.666666666666668%;
    margin-left: 4.166666666666667%;
    margin-right: 4.166666666666667%;
    position: fixed;
    top: 120px;
    right: 0;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  }
  .image-grid li {
    width: 25%;
  }
  .related-articles {
    display: inline;
    float: left;
    width: 50%;
    margin-left: 25%;
    margin-right: 25%;
  }
}
@media only screen and (min-width: 48em) {
  html {
    font-size: 100%;
  }
  .image-grid li {
    width: 20%;
  }
}
@media only screen and (min-width: 62em) {
  html {
    font-size: 112.5%;
  }
  .image-grid li {
    width: 16.666666666%;
  }
}
@media only screen and (min-width: 86.375em) {
  .site-name {
    display: inline;
    float: left;
    width: 12.5%;
    margin-left: 16.666666666666668%;
  }
  .top-navigation {
    display: inline;
    float: left;
    width: 66.66666666666667%;
  }
  .image-wrap:after {
    left: 33.333333333%;
  }
  .image-wrap .headline-wrap {
    margin-left: 8.333333333333334%;
  }
  #main article {
    display: inline;
    float: left;
    width: 50%;
  }
  #index {
    display: inline;
    float: left;
    width: 50%;
  }
  .related-articles {
    display: inline;
    float: left;
    width: 50%;
    margin-left: 25%;
    margin-right: 25%;
  }
  .footer-wrap footer {
    display: inline;
    float: left;
    width: 50%;
    margin-left: 25%;
    margin-right: 25%;
  }
  .article-author-top {
    display: inline;
    float: left;
    width: 12.5%;
    margin-left: 16.666666666666668%;
  }
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
}

/* ============================================
   NEWS AND UPDATES - NEWSROOM STYLE
   ============================================ */

.news-grid {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-top: 1.5em;
}

.news-card {
  position: relative;
  background: #fbfbfd;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 1.4em 1.6em 1.3em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  cursor: default;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition:
    transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

/* 入场动画 */
@keyframes newsCardEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.news-card.animate-in {
  animation: newsCardEnter 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.news-card:nth-child(1).animate-in {
  animation-delay: 0s;
}
.news-card:nth-child(2).animate-in {
  animation-delay: 0.12s;
}
.news-card:nth-child(3).animate-in {
  animation-delay: 0.24s;
}

/* Hover */
.news-card.animate-in:hover {
  transform: translateY(-2px);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.06),
    0 1px 2px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
}

/* Meta row */
.news-meta {
  display: flex;
  align-items: center;
  gap: 0.75em;
  margin-bottom: 0.65em;
}

/* 日期 */
.news-date {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #86868b;
}

/* 标签（带圆点指示器） */
.news-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.7em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.news-tag::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.news-tag--publication {
  color: #2563eb;
}
.news-tag--publication::before {
  background: #2563eb;
}
.news-tag--milestone {
  color: #059669;
}
.news-tag--milestone::before {
  background: #059669;
}

/* 正文 */
.news-card p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.7;
  color: #1d1d1f;
}
.news-card a {
  text-decoration: none;
  border-bottom: 1px dotted #b3b3b1;
}
.news-card a:hover {
  border-bottom-style: solid;
}

/* 无障碍 */
@media (prefers-reduced-motion: reduce) {
  .news-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .news-card.animate-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .news-card.animate-in:hover {
    transform: none;
  }
}

/* Mobile */
@media only screen and (max-width: 480px) {
  .news-grid {
    gap: 0.8em;
  }
  .news-card {
    padding: 1.15em 1.2em 1.05em;
    border-radius: 10px;
  }
  .news-date {
    font-size: 0.74em;
  }
  .news-tag {
    font-size: 0.66em;
  }
  .news-card p {
    font-size: 0.9em;
    line-height: 1.65;
  }
  .news-card.animate-in:hover {
    transform: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  }
}

/* Tablet */
@media only screen and (min-width: 481px) and (max-width: 768px) {
  .news-card {
    padding: 1.3em 1.4em 1.2em;
    border-radius: 11px;
  }
}

/* ============================================
   Work Experience Timeline Styles
   ============================================ */

/* Timeline container */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 1.5em 0 2em;
  padding-left: 60px;
}

/* Timeline vertical line (background) */
.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: #e0e0e0;
  z-index: 0;
}

/* Timeline scroll progress bar */
.timeline-progress {
  position: absolute;
  left: 27px;
  top: 30px;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, #2563eb, #7c3aed);
  transition: height 0.1s linear;
  z-index: 0;
}

/* Timeline item */
.timeline-item {
  position: relative;
  margin-bottom: 20px;
  z-index: 2;
  opacity: 0;
  transform: translateX(-20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Animate in when visible */
.timeline-item.in-view {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered animation delays */
.timeline-item:nth-child(2) {
  transition-delay: 0.1s;
}
.timeline-item:nth-child(3) {
  transition-delay: 0.2s;
}
.timeline-item:nth-child(4) {
  transition-delay: 0.3s;
}
.timeline-item:nth-child(5) {
  transition-delay: 0.15s;
}

/* Logo dot on the timeline */
.timeline-dot {
  position: absolute;
  left: -58px;
  top: 12px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #343434;
  border: 3px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}

.timeline-dot img {
  max-width: 28px;
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Glow effect when in view */
.timeline-item.in-view .timeline-dot {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

/* Card */
.timeline-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 16px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
}

/* Quiet hover: nothing moves — the border picks up a faint
   Penn-blue tint and a soft cool shadow blooms underneath.
   (The transition lives in the PENN PALETTE block, which owns
   the final `transition` list for this element.) */
.timeline-card:hover {
  border-color: rgba(1, 31, 91, 0.22);
  box-shadow: 0 12px 28px -14px rgba(1, 31, 91, 0.2);
}

/* Card header: role + time */
.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.timeline-role {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #2d2d3a;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.timeline-time {
  font-size: 0.85rem;
  color: #9a9ab5;
  font-family: "Courier New", monospace;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.4;
  padding-top: 1px;
}

.timeline-sep {
  color: #ccc;
  font-weight: 400;
  margin: 0 2px;
}

.timeline-company {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 0.95rem;
  color: #4a90d9;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

.timeline-company a {
  color: #4a90d9;
  text-decoration: none;
}

.timeline-company a:hover {
  color: #6366f1;
  text-decoration: underline;
}

.timeline-details {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 0.9rem;
  color: #6c6c80;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.timeline-details a {
  color: #4a90d9;
}

/* Responsive: Mobile (≤480px) */
@media only screen and (max-width: 480px) {
  .timeline {
    padding-left: 46px;
    padding-right: 16px;
  }

  .timeline::before {
    left: 18px;
    top: 24px;
    bottom: 24px;
  }

  .timeline-progress {
    left: 18px;
    top: 24px;
  }

  .timeline-dot {
    left: -46px;
    width: 34px;
    height: 34px;
    border-width: 2px;
  }

  .timeline-dot img {
    max-width: 20px;
    max-height: 20px;
  }

  .timeline-item {
    opacity: 1;
    transform: none;
    margin-bottom: 16px;
  }

  .timeline-card {
    padding: 14px 16px;
    border-radius: 8px;
  }

  .timeline-role {
    font-size: 1em;
  }

  .timeline-header {
    flex-direction: column;
    gap: 2px;
  }
}

/* Responsive: Tablet (481px-768px) */
@media only screen and (min-width: 481px) and (max-width: 768px) {
  .timeline {
    padding-left: 50px;
  }

  .timeline::before,
  .timeline-progress {
    left: 22px;
  }

  .timeline-dot {
    left: -50px;
    width: 42px;
    height: 42px;
    font-size: 0.6em;
  }

  .timeline-dot img {
    width: 26px;
    height: 26px;
  }

  .timeline-card {
    padding: 18px 20px;
  }
}

/* Responsive: Large desktop (≥1100px) */
@media only screen and (min-width: 1100px) {
  .timeline {
    padding-left: 70px;
  }

  .timeline::before,
  .timeline-progress {
    left: 30px;
    top: 32px;
  }

  .timeline-dot {
    left: -70px;
    width: 56px;
    height: 56px;
    font-size: 0.75em;
  }

  .timeline-dot img {
    width: 36px;
    height: 36px;
  }
}

/* ============================================
   PUBLICATIONS CARD STYLES
   ============================================ */

.publications-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 1.5em 0 0;
  max-width: 100%;
  box-sizing: border-box;
}

.publication-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.publication-card.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    box-shadow 0.3s ease;
}

.publication-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.publication-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #e8f0fe 0%, #f0e8fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.publication-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.publication-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.88),
    rgba(99, 102, 241, 0.88)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-decoration: none;
  border-bottom: none !important;
}

.publication-overlay span {
  color: #ffffff;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.publication-thumb:hover img {
  transform: scale(1.08);
}

.publication-thumb:hover .publication-overlay {
  opacity: 1;
}

.publication-info {
  padding: 18px 20px;
}

.publication-title {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.publication-title a {
  color: #2d2d3a;
  text-decoration: none;
  border-bottom: none !important;
}

.publication-title a:hover {
  color: #2563eb;
}

.publication-authors {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 0.82rem;
  color: #6c6c80;
  margin-bottom: 6px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.author-highlight {
  color: #2563eb;
  font-weight: 600;
  font-style: normal;
}

.publication-conference {
  margin-bottom: 6px;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 0.8rem;
  color: #6c6c80;
  -webkit-font-smoothing: antialiased;
}

.publication-conference .pub-venue {
  font-style: italic;
}

.publication-conference a {
  display: inline-block;
  padding: 2px 8px;
  background: #e8f0fe;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
  border-bottom: none !important;
  transition: all 0.3s ease;
}

.publication-conference a:hover {
  background: #2563eb;
  color: #ffffff;
}

.publication-details {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 0.8rem;
  color: #9a9ab5;
  -webkit-font-smoothing: antialiased;
}

/* Publications responsive: mobile */
@media only screen and (max-width: 480px) {
  .publications-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .publication-info {
    padding: 14px 16px;
  }

  .publication-title {
    font-size: 0.88rem;
  }
}

/* Publications responsive: tablet */
@media only screen and (min-width: 481px) and (max-width: 768px) {
  .publications-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================
   HOBBY PAGE STYLES
   ============================================ */

/* Hobby Section Container - Cohesive Spacing System */
.hobby-section {
  position: relative;
  margin-bottom: 0;
}

/* First section (Personal Photos) - compact spacing to text below */
.hobby-section:first-of-type {
  margin-bottom: 3.5em;
}

/* Second section (Blues text) - minimal spacing to guitar */
.hobby-section:nth-of-type(2) {
  margin-bottom: 1.5em;
}

/* Guitar showcase flows naturally from quote */
.guitar-showcase {
  margin-top: 0;
  margin-bottom: 0;
}

/* Heading spacing - TIGHT connection to content */
.hobby-section h2 {
  padding-left: 0.3em;
  position: relative;
  margin-bottom: 0.6em;
  margin-top: 0;
  font-size: 1.8em;
  line-height: 1.3;
}

.hobby-section h2::before {
  content: "♪ ";
  color: #808080;
  margin-right: 0.5em;
  font-size: 0.9em;
}

/* Personal Photos heading - same tight spacing */
.hobby-section:first-of-type h2 {
  font-size: 1.8em;
  padding-left: 0.3em;
  margin-bottom: 1.2em;
}

.hobby-section:first-of-type h2::before {
  content: "📸 ";
  color: #808080;
  margin-right: 0.5em;
  font-size: 0.9em;
}

/* Paragraph spacing - controlled rhythm */
.hobby-section p {
  margin-bottom: 1.2em;
  margin-top: 0;
}

.hobby-section p:last-of-type {
  margin-bottom: 0;
}

/* Enhanced Image Grid with Hover Effects - 3 images in a row */
.third {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  margin: 1.2em 0 0 0;
}

/* Personal Photos Gallery - Asymmetric Layout */
.photo-gallery {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.5em;
  margin: 1.2em 0 0 0;
  min-height: 500px;
}

.photo-featured {
  grid-row: 1 / 3;
  grid-column: 1;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.photo-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.photo-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-featured:hover img {
  transform: scale(1.03);
}

.photo-grid {
  display: contents;
}

.photo-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out backwards;
}

.photo-item:nth-child(1) {
  grid-row: 1;
  grid-column: 2;
  animation-delay: 0.2s;
}

.photo-item:nth-child(2) {
  grid-row: 2;
  grid-column: 2;
  animation-delay: 0.3s;
}

.photo-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-item:hover img {
  transform: scale(1.03);
}

.image-container {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out;
}

.image-container:nth-child(1) {
  animation-delay: 0.1s;
}

.image-container:nth-child(2) {
  animation-delay: 0.2s;
}

.image-container:nth-child(3) {
  animation-delay: 0.3s;
}

.image-container:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-container:hover img {
  transform: scale(1.03);
}

/* Image Caption Overlays */
.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #ffffff;
  padding: 1.5em 1em 1em;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.image-container:hover .image-caption {
  transform: translateY(0);
}

.caption-title {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 0.3em;
  letter-spacing: 0.5px;
}

.caption-description {
  font-size: 0.9em;
  opacity: 0.9;
}

/* Guitar Showcase Section */
.guitar-showcase {
  padding: 2em 0;
  animation: fadeInUp 0.6s ease-out;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.guitar-showcase h2::before {
  content: "🎸 ";
  margin-right: 0.5em;
}

.guitar-tagline {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: italic;
  font-weight: normal;
  color: #666666;
  margin: 0 0 1.5em 0;
  font-size: 1.1em;
  letter-spacing: 1px;
}

.guitar-image-container {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.guitar-image-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.guitar-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.guitar-image-container:hover img {
  transform: scale(1.02);
}

/* ============================================
   COOKING SECTION - Asymmetric Editorial Layout
   ============================================ */

.cooking-section {
  margin-top: 4em;
  animation: fadeInUp 0.6s ease-out;
}

.cooking-section h2::before {
  content: "🍳 ";
  margin-right: 0.5em;
}

.cooking-section p,
.cooking-text-card {
  max-width: 500px;
  margin: 0 auto 2em;
  padding: 20px 24px;
  background: linear-gradient(135deg, #fafafa, #ffffff);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  font-style: italic;
  font-size: 0.95em;
  line-height: 1.6;
  color: #666;
}

/* Asymmetric Gallery Layout - Desktop */
.cooking-gallery {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.5em;
  margin: 2em 0;
  min-height: 500px;
}

.cooking-featured {
  grid-row: 1 / 3;
  grid-column: 1;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.cooking-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.cooking-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cooking-featured:hover img {
  transform: scale(1.05);
}

.cooking-grid {
  display: contents;
}

.cooking-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out backwards;
}

.cooking-item:nth-child(1) {
  grid-row: 1;
  grid-column: 2;
  animation-delay: 0.2s;
}

.cooking-item:nth-child(2) {
  grid-row: 2;
  grid-column: 2;
  animation-delay: 0.3s;
}

.cooking-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cooking-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cooking-item:hover img {
  transform: scale(1.04);
}

/* Typography Enhancements */
.artist-name {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.hobby-quote {
  font-style: italic;
  font-size: 1.15em;
  line-height: 1.7;
  color: #666666;
  text-align: center;
  margin: 2em auto 0;
  padding: 0 2em;
  max-width: 700px;
  position: relative;
}

.hobby-quote::before {
  content: '"';
  font-size: 3em;
  color: #e0e0e0;
  position: absolute;
  left: -0.2em;
  top: -0.3em;
  font-family: Georgia, serif;
}

.hobby-quote::after {
  content: '"';
  font-size: 3em;
  color: #e0e0e0;
  position: absolute;
  right: -0.2em;
  bottom: -0.6em;
  font-family: Georgia, serif;
}

/* This rule is now moved up with the other hobby-section styles */

/* Scroll Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hobby-section {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Responsive: Tablet (481px - 768px) */
@media only screen and (min-width: 481px) and (max-width: 768px) {
  .third {
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
  }

  .hobby-section {
    margin-bottom: 3em;
  }

  .guitar-showcase {
    padding: 2em;
  }
}

/* Responsive: Mobile (≤480px) - Pinterest-Style Masonry Board */
@media only screen and (max-width: 480px) {
  /* Prevent horizontal scroll on mobile */
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  body {
    width: 100%;
  }

  /* Ensure navigation doesn't cause overflow */
  /* clip, not hidden: hidden makes overflow-y compute to auto, turning #main
     into a scroll container that swallows the first touch scroll on mobile */
  .header-container,
  .navigation-wrapper,
  .top-navigation,
  #main {
    max-width: 100%;
    overflow-x: clip;
  }

  /* ONLY apply Pinterest to Beyond Research page with unique wrapper */
  .hobbies-pinterest-container {
    column-count: 2;
    column-gap: 12px;
    padding: 0 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .hobbies-pinterest-container .hobby-section {
    display: contents;
  }

  /* Hide section headers on mobile - Pinterest style */
  .hobbies-pinterest-container .hobby-section h2 {
    display: none;
  }

  /* Ensure all images and content fit within columns */
  .hobbies-pinterest-container img {
    max-width: 100%;
    height: auto;
  }

  .hobbies-pinterest-container * {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* All content becomes Pinterest cards */
  .hobby-section:first-of-type,
  .hobby-section:nth-of-type(2) {
    margin-bottom: 0;
  }

  /* Hide Blues Guitar verbose paragraphs - too much text */
  .hobby-section:nth-of-type(3) p {
    display: none;
  }

  /* Cooking text - COMPACT quote-style card */
  .cooking-text-card {
    display: block !important;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 16px;
    margin-bottom: 20px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-size: 0.8em;
    line-height: 1.4;
    text-align: center;
    font-style: italic;
    color: #666;
    max-width: 100%;
  }

  /* Quote card - elegant and centered */
  .hobby-quote {
    display: block;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    background: linear-gradient(135deg, #fafafa, #ffffff);
    border-radius: 16px;
    padding: 24px 20px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 0.85em;
    line-height: 1.5;
    text-align: center;
    border-left: none;
    max-width: 100%;
    font-style: italic;
    color: #555;
  }

  .hobby-quote::before,
  .hobby-quote::after {
    display: none;
  }

  /* Hide guitar tagline on mobile - too much text */
  .guitar-tagline {
    display: none;
  }

  /* All grids become masonry-compatible */
  .third,
  .photo-gallery,
  .cooking-gallery,
  .cooking-grid,
  .photo-grid {
    display: contents;
  }

  /* Universal Pinterest image card style */
  .image-container,
  .photo-item,
  .cooking-item {
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
  }

  /* Featured images - LARGER for visual hierarchy */
  .photo-featured,
  .cooking-featured {
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }

  /* Guitar image - medium emphasis */
  .guitar-image-container {
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.11);
  }

  /* Subtle tap feedback */
  .image-container:active,
  .photo-item:active,
  .cooking-item:active {
    transform: scale(0.98);
  }

  .photo-featured:active,
  .cooking-featured:active,
  .guitar-image-container:active {
    transform: scale(0.99);
  }

  /* Images fill card naturally - no forced aspect ratio */
  .image-container img,
  .photo-featured img,
  .photo-item img,
  .cooking-featured img,
  .cooking-item img,
  .guitar-image-container img {
    width: 100%;
    height: auto;
    display: block;
  }

  /* Disable all lightbox on mobile */
  .image-container a,
  .photo-featured a,
  .photo-item a,
  .cooking-featured a,
  .cooking-item a,
  .guitar-image-container a {
    cursor: default !important;
    pointer-events: none !important;
    display: block;
  }

  /* Minimal, elegant captions */
  .image-caption {
    position: static;
    transform: translateY(0);
    background: transparent;
    padding: 10px 14px 12px;
    margin: 0;
  }

  .caption-title {
    color: #666;
    font-size: 0.75em;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.3px;
  }

  /* Hide caption description if exists */
  .caption-description {
    display: none;
  }

  /* Remove section containers - everything flows */
  .guitar-showcase {
    padding: 0;
    margin: 0;
    text-align: left;
    max-width: 100%;
    background: transparent;
  }

  /* Artist names styled within text cards */
  .artist-name {
    font-size: 1em;
    font-weight: 600;
    color: #343434;
  }

  /* Cooking gallery flows into masonry */
  .cooking-section {
    margin: 0;
    padding: 0;
  }

  .cooking-gallery {
    display: contents;
  }

  .cooking-grid {
    display: contents;
  }
}

/* Accessibility: Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .image-container,
  .hobby-section,
  .guitar-showcase,
  .cooking-section,
  .cooking-featured,
  .cooking-item,
  .photo-featured,
  .photo-item {
    animation: none;
  }

  .image-container:hover,
  .guitar-image-container:hover,
  .cooking-featured:hover,
  .cooking-item:hover,
  .photo-featured:hover,
  .photo-item:hover {
    transform: none;
  }

  .image-container:hover img,
  .cooking-featured:hover img,
  .cooking-item:hover img,
  .photo-featured:hover img,
  .photo-item:hover img {
    transform: none;
  }
}

/* ============================================
   DARK MODE — TOGGLE SWITCH (header widget)
   ============================================ */

.theme-toggle-wrapper {
  --trans-dur: 0.5s;
  --trans-timing: cubic-bezier(0.65, 0, 0.35, 1);
  font-size: 30px;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 14px;
  margin-left: 12px;
}

.switch,
input.switch__input {
  display: block;
  -webkit-tap-highlight-color: transparent;
}

.switch {
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.switch__icon {
  color: rgba(1, 31, 91, 0.3);
  pointer-events: none;
  position: absolute;
  top: 0.375em;
  left: 0.375em;
  width: 0.75em;
  height: 0.75em;
  transition:
    color var(--trans-dur),
    transform var(--trans-dur) var(--trans-timing);
}

.switch__icon:nth-of-type(2) {
  right: 0.375em;
  left: auto;
}

.switch__inner,
.switch__inner-icons {
  border-radius: 0.5em;
  display: block;
  overflow: hidden;
  position: absolute;
  top: 0.25em;
  left: 0.25em;
  width: 2.25em;
  height: 1em;
}

.switch__inner:before,
.switch__inner-icons {
  transition:
    background-color var(--trans-dur),
    transform var(--trans-dur) var(--trans-timing);
  transform: translateX(-1.25em);
}

.switch__inner:before {
  background-color: #011f5b;
  border-radius: inherit;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
}

.switch__inner-icons {
  pointer-events: none;
}

.switch__inner-icons .switch__icon {
  color: hsl(0, 0%, 100%);
  top: 0.125em;
  left: 0.125em;
  transform: translateX(1.25em);
}

.switch__inner-icons .switch__icon:nth-child(2) {
  right: 0.125em;
  left: auto;
}

input.switch__input {
  background-color: hsl(0, 0%, 100%);
  border-radius: 0.75em;
  box-shadow:
    0 0 0 0.0625em rgba(153, 0, 0, 0),
    0 0.125em 0.5em rgba(1, 31, 91, 0.15);
  outline: transparent;
  width: 2.75em;
  height: 1.5em;
  margin: 0;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition:
    background-color var(--trans-dur),
    box-shadow var(--trans-dur);
}

input.switch__input:checked {
  background-color: #011f5b;
}

input.switch__input:checked ~ .switch__icon {
  color: rgba(110, 168, 255, 0.55);
}

input.switch__input:checked ~ .switch__inner:before {
  background-color: #6ea8ff;
}

input.switch__input:checked ~ .switch__inner-icons .switch__icon {
  color: #011f5b;
}

input.switch__input:checked ~ .switch__inner:before,
input.switch__input:checked ~ .switch__inner-icons {
  transform: translateX(1.25em);
}

input.switch__input:not(:checked) ~ .switch__icon:first-of-type,
input.switch__input:checked ~ .switch__icon:nth-of-type(2) {
  transform: rotate(360deg);
}

input.switch__input:checked ~ .switch__inner-icons .switch__icon:first-of-type {
  transform: translateX(-1.25em) rotate(-360deg);
}

input.switch__input:checked ~ .switch__inner-icons .switch__icon:nth-of-type(2) {
  transform: translateX(-1.25em) rotate(360deg);
}

input.switch__input:focus-visible {
  box-shadow:
    0 0 0 0.0625em #6A8A64,
    0 0.125em 0.5em rgba(1, 31, 91, 0.15);
}

.switch__sr {
  overflow: hidden;
  position: absolute;
  width: 1px;
  height: 1px;
}

/* Header toggle: hide on mobile (use the in-panel toggle instead) */
@media only screen and (max-width: 768px) {
  .theme-toggle-wrapper--header {
    display: none !important;
  }
}

/* In-panel toggle (mobile contact panel): always visible there */
.theme-toggle-wrapper--panel {
  font-size: 14px;
  margin: 0;
  margin-left: auto;
}

/* Divider between contact links and the theme row */
.mobile-contact-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
  margin: 4px 14px;
}

/* The Dark Mode row inside the mobile contact panel */
.mobile-theme-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 12px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #5A4635;
}

.mobile-theme-row .contact-icon-svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #666;
}

.mobile-theme-row > span {
  color: #5A4635;
}

/* ============================================
   DARK MODE — GLOBAL THEME OVERRIDES
   ============================================ */

/* Smooth color transitions when toggling */
html,
body,
.header-sticky-wrapper,
.header-container,
.timeline-card,
.publication-card,
.news-card,
.cooking-text-card,
.mobile-contact-panel {
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease;
}

/* --- Base surfaces & typography --- */
[data-theme="dark"] html,
[data-theme="dark"] body {
  background-color: #14141a;
  color: #d4d4dc;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: #f5f5f7;
}

[data-theme="dark"] strong,
[data-theme="dark"] b {
  color: #f5f5f7;
}

[data-theme="dark"] a {
  color: #d4d4dc;
}

[data-theme="dark"] a:visited {
  color: #b8b8c4;
}

[data-theme="dark"] a:hover,
[data-theme="dark"] a:focus {
  color: #6ea8ff;
}

[data-theme="dark"] hr {
  border-color: rgba(255, 255, 255, 0.08);
  background-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] blockquote {
  color: #a8a8b4;
  border-left-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] code,
[data-theme="dark"] kbd,
[data-theme="dark"] samp {
  background-color: #1c1c22;
  color: #f0c674;
}

/* --- Sticky header (dark liquid glass) --- */
/* Dark values for the --glass-* material tokens declared in the page layout.
   :root[data-theme="dark"] outranks the layout's plain :root, which loads
   after this sheet. */
:root[data-theme="dark"] {
  --glass-blur-xs: blur(4px) saturate(150%);
  --glass-blur-sm: blur(10px) saturate(140%) brightness(1.05);
  --glass-blur-md: blur(16px) saturate(150%);
  --glass-blur-lg: blur(20px) saturate(150%);
  --glass-blur-xl: blur(40px) saturate(120%);

  --glass-fill-clear:  rgba(255, 255, 255, 0.06);
  --glass-fill-light:  rgba(28, 28, 30, 0.45);
  --glass-fill:        rgba(44, 44, 46, 0.55);
  --glass-fill-strong: rgba(28, 28, 30, 0.72);
  --glass-fill-solid:  rgba(44, 44, 46, 0.92);

  --glass-border:    rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.2);
  --glass-hairline:  rgba(255, 255, 255, 0.08);
  --glass-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .header-sticky-wrapper {
  --lg-bg-color: rgba(20, 24, 36, 0.55);
  --lg-highlight: rgba(255, 255, 255, 0.22);
}

/* On the full-bleed dark bar the popover-style specular (top+left line plus
   an all-around inner glow) reads as light leaking from the left and bottom
   edges — keep only the top rim catch-light. */
[data-theme="dark"] .header-sticky-wrapper > .glass-specular {
  box-shadow: inset 0 1px 0 var(--lg-highlight);
}

[data-theme="dark"] .header-container {
  background: transparent;
}

/* Swap to the reverse (white) Penn lockup in dark mode */
[data-theme="dark"] .logo--light {
  display: none;
}
[data-theme="dark"] .logo--dark {
  display: block;
}

[data-theme="dark"] .header-nav a {
  color: #e8e8ec;
}

[data-theme="dark"] .header-nav a:hover,
[data-theme="dark"] .header-nav a.is-current {
  color: #6ea8ff;
}

[data-theme="dark"] .header-nav a:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.28);
}

[data-theme="dark"] .header-social__link {
  color: #b6b6c0;
}

[data-theme="dark"] .header-social__link:hover {
  color: #6ea8ff;
}

[data-theme="dark"] .header-bottom {
  border-top-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .site-name a,
[data-theme="dark"] .top-navigation a {
  color: #e8e8ec;
}

[data-theme="dark"] .top-navigation a:hover,
[data-theme="dark"] .top-navigation-current {
  color: #6ea8ff;
}

[data-theme="dark"] .top-navigation-current {
  text-decoration-color: #6ea8ff;
}

/* Mobile avatar button border in dark mode */
[data-theme="dark"] .mobile-avatar-btn::after {
  border-color: #14141a;
}

/* --- Timeline --- */
[data-theme="dark"] .timeline::before {
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .timeline-card {
  background: #1c1c22;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .timeline-card:hover {
  border-color: rgba(110, 168, 255, 0.32);
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .timeline-role {
  color: #f5f5f7;
}

[data-theme="dark"] .timeline-time {
  color: #8c8c9a;
}

[data-theme="dark"] .timeline-details {
  color: #a8a8b4;
}

[data-theme="dark"] .timeline-details a,
[data-theme="dark"] .timeline-company,
[data-theme="dark"] .timeline-company a {
  color: #6ea8ff;
}

[data-theme="dark"] .timeline-company a:hover {
  color: #8b95ff;
}

[data-theme="dark"] .timeline-sep {
  color: rgba(255, 255, 255, 0.18);
}

[data-theme="dark"] .timeline-dot {
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .timeline-item.in-view .timeline-dot {
  border-color: #6ea8ff;
  box-shadow: 0 0 0 4px rgba(110, 168, 255, 0.18);
}

/* --- Publications cards --- */
[data-theme="dark"] .publication-card {
  background: #1c1c22;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .publication-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

[data-theme="dark"] .publication-thumb {
  background: linear-gradient(135deg, #1a2640 0%, #2a1a40 100%);
}

[data-theme="dark"] .publication-title a {
  color: #f5f5f7;
}

[data-theme="dark"] .publication-title a:hover {
  color: #6ea8ff;
}

[data-theme="dark"] .publication-authors,
[data-theme="dark"] .publication-conference {
  color: #a8a8b4;
}

[data-theme="dark"] .author-highlight {
  color: #6ea8ff;
}

[data-theme="dark"] .publication-conference a {
  background: rgba(110, 168, 255, 0.15);
  color: #6ea8ff;
}

[data-theme="dark"] .publication-conference a:hover {
  background: #6ea8ff;
  color: #14141a;
}

[data-theme="dark"] .publication-details {
  color: #8c8c9a;
}

/* --- News cards --- */
[data-theme="dark"] .news-card {
  background: #1c1c22;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .news-card.animate-in:hover {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.5),
    0 1px 2px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .news-card p {
  color: #e8e8ec;
}

[data-theme="dark"] .news-card a {
  color: #e8e8ec;
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

[data-theme="dark"] .news-date {
  color: #8c8c9a;
}

[data-theme="dark"] .news-tag--publication {
  color: #6ea8ff;
}

[data-theme="dark"] .news-tag--publication::before {
  background: #6ea8ff;
}

[data-theme="dark"] .news-tag--milestone {
  color: #34d399;
}

[data-theme="dark"] .news-tag--milestone::before {
  background: #34d399;
}

/* --- Hobbies / Cooking / Guitar --- */
[data-theme="dark"] .cooking-text-card {
  background: linear-gradient(135deg, #1c1c22, #24242c);
  color: #a8a8b4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .hobby-quote {
  color: #a8a8b4;
}

[data-theme="dark"] .hobby-quote::before,
[data-theme="dark"] .hobby-quote::after {
  color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .guitar-tagline {
  color: #a8a8b4;
}

[data-theme="dark"] .artist-name {
  color: #f0f0f4;
}

[data-theme="dark"] .hobby-section h2::before {
  color: #6c6c78;
}

[data-theme="dark"] .image-container,
[data-theme="dark"] .photo-featured,
[data-theme="dark"] .photo-item,
[data-theme="dark"] .cooking-featured,
[data-theme="dark"] .cooking-item,
[data-theme="dark"] .guitar-image-container {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .image-container:hover,
[data-theme="dark"] .photo-featured:hover,
[data-theme="dark"] .photo-item:hover,
[data-theme="dark"] .cooking-featured:hover,
[data-theme="dark"] .cooking-item:hover,
[data-theme="dark"] .guitar-image-container:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

/* --- Mobile contact panel --- */
[data-theme="dark"] .mobile-contact-panel {
  background: #1c1c22;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.6),
    0 1px 4px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .mobile-contact-arrow {
  background: #1c1c22;
}

[data-theme="dark"] .mobile-contact-header {
  color: #8c8c9a;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .mobile-contact-item {
  color: #e8e8ec;
}

[data-theme="dark"] .mobile-contact-item i,
[data-theme="dark"] .mobile-contact-item .contact-icon-svg {
  color: #8c8c9a;
}

[data-theme="dark"] .mobile-contact-item:active {
  background-color: rgba(110, 168, 255, 0.1);
}

[data-theme="dark"] .mobile-contact-item:active i,
[data-theme="dark"] .mobile-contact-item:active .contact-icon-svg,
[data-theme="dark"] .mobile-contact-item:active span {
  color: #6ea8ff;
}

[data-theme="dark"] .mobile-contact-divider {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .mobile-theme-row,
[data-theme="dark"] .mobile-theme-row > span {
  color: #e8e8ec;
}

[data-theme="dark"] .mobile-theme-row .contact-icon-svg {
  color: #8c8c9a;
}

/* --- Author bio sidebar (desktop only) --- */
[data-theme="dark"] .article-author-top p,
[data-theme="dark"] .article-author-bottom p {
  color: #a8a8b4;
}

[data-theme="dark"] .article-author-top a,
[data-theme="dark"] .article-author-bottom a {
  color: #d4d4dc;
}

[data-theme="dark"] .article-author-top a:hover,
[data-theme="dark"] .article-author-bottom a:hover {
  color: #6ea8ff;
}

/* --- Footer stays dark; reduce contrast bump on dark theme --- */
[data-theme="dark"] .footer-wrap {
  background-color: #0c0c10;
}

/* --- Toggle switch: dark-theme polish --- */
[data-theme="dark"] input.switch__input {
  background-color: #2a2a32;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 0.0625em rgba(255, 255, 255, 0.04),
    0 0.125em 0.5em rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] input.switch__input:checked {
  background-color: #011f5b;
}

[data-theme="dark"] input.switch__input:checked ~ .switch__icon {
  color: rgba(110, 168, 255, 0.55);
}

[data-theme="dark"] .switch__inner:before {
  background-color: #6ea8ff;
}

[data-theme="dark"] .switch__inner-icons .switch__icon {
  color: #011f5b;
}

[data-theme="dark"] input.switch__input:focus-visible {
  box-shadow:
    0 0 0 0.0625em #e5484d,
    0 0.125em 0.5em rgba(0, 0, 0, 0.4);
}

/* ============================================
   Single centered content column
   (author-bio links relocated into the header)
   ============================================ */
.article-author-top,
.article-author-bottom {
  display: none;
}
#main article {
  display: block;
  float: none;
  width: auto;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

[data-theme="dark"] .header-avatar {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Type system: EB Garamond display headings
   + clean Apple/system sans for reading text.
   (Header nav keeps its own Roboto declaration.)
   ============================================ */
h1, h2, h3, h4, h5, h6,
.article-wrap h1, .article-wrap h2, .article-wrap h3,
.article-wrap h4, .article-wrap h5, .article-wrap h6 {
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  color: #011f5b; /* Penn blue */
}
/* Penn blue is too dark on the dark background — keep dark headings readable */
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
[data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6,
[data-theme="dark"] .article-wrap h1, [data-theme="dark"] .article-wrap h2,
[data-theme="dark"] .article-wrap h3, [data-theme="dark"] .article-wrap h4,
[data-theme="dark"] .article-wrap h5, [data-theme="dark"] .article-wrap h6 {
  color: #eef1f7;
}
body,
.article-wrap,
.article-wrap p,
.article-wrap li,
.article-wrap td,
.article-wrap blockquote {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Helvetica Neue", "Segoe UI", Inter, Arial, sans-serif;
}

/* ============================================
   PENN PALETTE
   Blue #011f5b = structure (links, lines, tags)
   Red  #6A8A64 = sparing accents (hover, marks)
   Dark-mode tints: blue #6ea8ff / red #e5484d
   ============================================ */

/* --- Section headings: short Penn-red underline bar --- */
.article-wrap h1::after,
.article-wrap h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: #6A8A64;
}
[data-theme="dark"] .article-wrap h1::after,
[data-theme="dark"] .article-wrap h2::after {
  background: #e5484d;
}

/* --- Prose links: Penn blue at rest, Penn red on hover --- */
.article-wrap p > a,
.article-wrap li > a {
  color: #011f5b;
  border-bottom: 1px solid rgba(1, 31, 91, 0.28);
}
.article-wrap p > a:hover,
.article-wrap li > a:hover {
  color: #6A8A64;
  border-bottom: 1px solid rgba(153, 0, 0, 0.45);
}
[data-theme="dark"] .article-wrap p > a,
[data-theme="dark"] .article-wrap li > a {
  color: #6ea8ff;
  border-bottom: 1px solid rgba(110, 168, 255, 0.35);
}
[data-theme="dark"] .article-wrap p > a:hover,
[data-theme="dark"] .article-wrap li > a:hover {
  color: #e5484d;
  border-bottom: 1px solid rgba(229, 72, 77, 0.5);
}
/* Dark mode paints <strong> near-white; bold text inside a link
   must keep the link color (e.g. paper titles in News cards) */
[data-theme="dark"] .article-wrap p > a strong,
[data-theme="dark"] .article-wrap li > a strong {
  color: inherit;
}

/* --- Horizontal rules: faint Penn-blue tint (light only) --- */
hr {
  border-top-color: rgba(1, 31, 91, 0.18);
}

/* --- Timeline: keep the original "light-up" glow language,
       recolored into the Penn family. Ring lights up in a
       brighter Penn-blue tone; the progress line runs Penn red
       (current, at the top) into Penn blue (the past). --- */
.timeline-progress {
  background: linear-gradient(to bottom, #6A8A64, #011f5b 140px);
}
/* This element's `transition` is contested earlier in the file
   (the dark-mode theme block overrides the component one), so the
   authoritative list lives here: theme swap + quiet hover. */
.timeline-card {
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* Lit ring: a close halo plus a soft downward glow, so the ring
   reads as light rather than a flat outline */
.timeline-item.in-view .timeline-dot {
  border-color: #1552b4;
  box-shadow:
    0 0 0 4px rgba(21, 82, 180, 0.14),
    0 2px 14px rgba(21, 82, 180, 0.22);
}
/* Hovering a row makes its node's halo breathe outward
   (the current node keeps its own heartbeat instead) */
.timeline-item.in-view:not(.timeline-item--current):hover .timeline-dot {
  box-shadow:
    0 0 0 7px rgba(21, 82, 180, 0.1),
    0 2px 18px rgba(21, 82, 180, 0.26);
}
.timeline-company,
.timeline-company a,
.timeline-details a {
  color: #011f5b;
}
.timeline-company a:hover,
.timeline-details a:hover {
  color: #6A8A64;
}
/* Current role: a slow heartbeat — one red ripple every 2.8s,
   with a rest beat. The only continuously-moving element on the
   page, marking "Present". */
@keyframes penn-dot-pulse {
  0% {
    box-shadow:
      0 0 0 4px rgba(220, 38, 38, 0.15),
      0 0 0 4px rgba(220, 38, 38, 0.3);
  }
  70%,
  100% {
    box-shadow:
      0 0 0 4px rgba(220, 38, 38, 0.15),
      0 0 0 15px rgba(220, 38, 38, 0);
  }
}
.timeline-item--current.in-view .timeline-dot {
  border-color: #6A8A64;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15);
  animation: penn-dot-pulse 2.8s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}
[data-theme="dark"] .timeline-progress {
  background: linear-gradient(to bottom, #e5484d, #6ea8ff 140px);
}
[data-theme="dark"] .timeline-item.in-view .timeline-dot {
  box-shadow:
    0 0 0 4px rgba(110, 168, 255, 0.14),
    0 2px 14px rgba(110, 168, 255, 0.2);
}
[data-theme="dark"]
  .timeline-item.in-view:not(.timeline-item--current):hover
  .timeline-dot {
  box-shadow:
    0 0 0 7px rgba(110, 168, 255, 0.1),
    0 2px 18px rgba(110, 168, 255, 0.24);
}
[data-theme="dark"] .timeline-company a:hover,
[data-theme="dark"] .timeline-details a:hover {
  color: #e5484d;
}
@keyframes penn-dot-pulse-dark {
  0% {
    box-shadow:
      0 0 0 4px rgba(229, 72, 77, 0.18),
      0 0 0 4px rgba(229, 72, 77, 0.32);
  }
  70%,
  100% {
    box-shadow:
      0 0 0 4px rgba(229, 72, 77, 0.18),
      0 0 0 15px rgba(229, 72, 77, 0);
  }
}
[data-theme="dark"] .timeline-item--current.in-view .timeline-dot {
  border-color: #e5484d;
  box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.18);
  animation: penn-dot-pulse-dark 2.8s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .timeline-item--current.in-view .timeline-dot,
  [data-theme="dark"] .timeline-item--current.in-view .timeline-dot {
    animation: none;
  }
}

/* --- News tags: publication blue, milestone red --- */
.news-tag--publication {
  color: #011f5b;
}
.news-tag--publication::before {
  background: #011f5b;
}
.news-tag--milestone {
  color: #6A8A64;
}
.news-tag--milestone::before {
  background: #6A8A64;
}
[data-theme="dark"] .news-tag--milestone {
  color: #e5484d;
}
[data-theme="dark"] .news-tag--milestone::before {
  background: #e5484d;
}

/* --- Publications: blue identity, red hover --- */
.publication-title a:hover {
  color: #6A8A64;
}
.author-highlight {
  color: #011f5b;
}
.publication-conference a {
  background: #e9eef7;
  color: #011f5b;
}
.publication-conference a:hover {
  background: #011f5b;
  color: #ffffff;
}
[data-theme="dark"] .publication-title a:hover {
  color: #e5484d;
}

/* --- Header (dark): hover/current match light-mode Penn red --- */
[data-theme="dark"] .header-nav a:hover,
[data-theme="dark"] .header-nav a.is-current {
  color: #e5484d;
}
[data-theme="dark"] .header-social__link:hover {
  color: #e5484d;
}

/* --- Recruiting banner: #6A8A64 is unreadable on dark --- */
[data-theme="dark"] .article-wrap font[color="#6A8A64"] {
  color: #e5484d;
}
