/* Portfolio page styles. Shared tokens, base, layout, controls, and emblem
 * components are loaded before this file. */

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.8;
  cursor: url("../../images/icons/dagger-9e1426.png") 2 2, auto;
}

a,
a:link,
a:visited,
a:hover,
a:active,
a:focus,
button {
  cursor: url("../../images/icons/dagger-9e1426.png") 2 2, pointer;
}

body.dark-mode,
body.dark-mode a,
body.dark-mode a:link,
body.dark-mode a:visited,
body.dark-mode a:hover,
body.dark-mode a:active,
body.dark-mode a:focus,
body.dark-mode button {
  cursor: url("../../images/icons/dagger-b32438.png") 2 2, pointer;
}

p,
.project-desc,
.experience-desc,
.article-subheading,
.seal-motto {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.2;
}

p {
  padding-bottom: 12px;
}

/* QUIRKY STYLES */
#cube-toggle {
  color: var(--text-subtle);
  text-decoration: none;
  transition: color 0.3s;
  display: inline-block;
}

#cube-toggle:hover {
  color: var(--burgundy-hover);
}

#matrix-toggle {
  color: var(--text-subtle);
  text-decoration: none;
  transition: color 0.3s;
  display: inline-block;
}

#matrix-toggle:hover {
  color: var(--burgundy-hover);
}

.built-link {
  color: var(--text-subtle);
  text-decoration: none;
  transition: color 0.3s;
  display: inline-block;
}

.built-link:hover {
  color: var(--burgundy-hover);
}

/* HEADER */
.site-header {
  text-align: center;
  border-bottom: 3px double var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.dateline {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 6px;
  margin-bottom: 20px;
}

.site-title {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.tagline {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--burgundy);
  margin-bottom: 0px;
}

/* EMBLEM */
.header-emblems {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 5px 0 20px 0;
}

.header-emblem-rule {
  height: 1px;
  background-color: var(--border-color);
  flex-grow: 1;
  max-width: 150px;
}

.header-seal {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  color: var(--burgundy);
}

.masthead-monogram {
  font-family: var(--font-hiero);
  font-size: 2rem;
  letter-spacing: 3px;
  line-height: 1;
}

.masthead-ornament {
  font-family: var(--font-serif);
  font-size: 1rem;
  opacity: 0.8;
}

/* MAIN NAVEGATION */
.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  margin-bottom: 25px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.site-nav a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--burgundy);
}

.nav-sep {
  font-family: var(--font-symbol);
  color: var(--burgundy);
  font-size: 0.6rem;
}

/* FLOATING ICONS: THEME + LANGUAGE — positioning lives in
 * floating-controls.css (shared with the blog); keep the hover color here. */
.ctrl-button:hover {
  color: var(--text-color);
}

.header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-headers);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.header-meta-secondary {
  opacity: 0.8;
}

/* BODY */
.site-main {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 35px;
}

.content-column {
  border-right: 1px solid var(--light-border);
  padding-right: 35px;
}

.page-section {
  margin-bottom: 0;
}

/* LINE OF ORNAMENTATION */
.section-divider {
  font-family: var(--font-symbol);
  text-align: center;
  font-size: 1.1rem;
  color: var(--burgundy);
  margin: 25px 0 30px 0;
  letter-spacing: 5px;
}

/* LATERAL COLUMN */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.panel-title {
  font-family: var(--font-headers);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  margin-bottom: 10px;
}

.panel-rule {
  height: 2px;
  background-color: var(--burgundy);
  width: 40px;
  margin: 0 auto 15px auto;
}

/* FOOTER */
.site-footer {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 35px;
  padding-bottom: 0;
}

.site-footer p {
  margin-top: 0;
  padding-bottom: 0;
}

.footer-divider {
  font-family: var(--font-symbol);
  color: var(--burgundy);
  font-size: 0.6rem;
  margin-bottom: 10px;
  margin-top: 0;
  padding-bottom: 0;
}

.copyright {
  font-style: italic;
  margin-top: 0;
  padding-bottom: 0;
  font-size: 0.75rem;
}

/* MOBILE */
@media (max-width: 768px) {
  .site-title {
    font-size: 2.5rem;
  }

  .site-main {
    grid-template-columns: 1fr;
  }

  .content-column {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--light-border);
    padding-bottom: 25px;
  }

  .dateline {
    font-size: 0.62rem;
    letter-spacing: 1px;
  }
}
