@font-face {
  font-family: "TyeMono";
  src: url("./assets/fonts/b536e780daa1a714-s.p.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TyeMono";
  src: url("./assets/fonts/64de9aa6ddbcb01d-s.p.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TyeMono";
  src: url("./assets/fonts/7905c5aad4b16e01-s.p.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "TyeMono";
  src: url("./assets/fonts/1e073b4cee94ae63-s.p.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "TyeAccent";
  src: url("./assets/fonts/e11418ac562b8ac1-s.p.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --panel: #06110e;
  --ink: #9bb8a9;
  --ink-soft: #6f8f80;
  --line: #173327;
  --glow: #75a08b;
  --brass: #7a5c2e;
  --brass-soft: #5f4724;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: #000000;
  color: var(--ink);
  font-family: "TyeMono", "Space Mono", monospace;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-text,
.section-title {
  font-family: "TyeAccent", "TyeMono", monospace;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  border: none;
  background: #000000;
  box-shadow: 0 0 0 1px rgba(23, 51, 39, 0.35), 0 0 25px rgba(63, 103, 85, 0.15);
  display: flex;
  flex-direction: column;
}

.page-wrap {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: clamp(0.6rem, 1.4vw, 1rem);
  transition: min-height 180ms ease, padding 180ms ease;
}

.page-wrap > section:last-of-type {
  flex: 1;
}

.home-pin-zone {
  min-height: auto;
  margin-bottom: 0.75rem;
}

.home-pin-sticky {
  position: static;
}

.top-nav {
  border: 1px solid var(--line);
  background: rgba(4, 12, 10, 0.85);
}

.top-header {
  border: none;
  background: transparent;
}

.top-footer {
  border: none;
  background: transparent;
}

.site-nav a {
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--brass);
}

.site-nav a.active {
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

.top-header h1 a {
  transition: color 0.15s ease;
}

.top-header h1 a:hover {
  color: var(--brass);
}

.top-header h1 a.active {
  color: var(--brass);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

.tile {
  border: 1px solid var(--line);
  background-color: var(--panel);
  min-height: 170px;
  transition: min-height 180ms ease, transform 180ms ease;
}

.top-row-tile {
  min-height: 204px;
}

.home-grid .middle-highlight,
.home-grid .home-brass-tile {
  box-shadow: inset 0 0 0 1px rgba(122, 92, 46, 0.22);
}

.home-brass-tile {
  background-color: rgba(95, 71, 36, 0.38);
  border-color: rgba(122, 92, 46, 0.65);
  color: #d8c6a2;
}

@media (min-width: 768px) {
  .home-pin-zone {
    flex: 1;
    display: flex;
    margin-bottom: 0;
    min-height: 0;
  }

  .home-pin-sticky {
    flex: 1;
    display: flex;
    min-height: 0;
  }

  .home-grid {
    flex: 1;
    min-height: 0;
    grid-auto-rows: minmax(0, 1fr);
  }

  .home-grid .tile,
  .home-grid .top-row-tile {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .home-pin-zone {
    min-height: auto;
    margin-bottom: 0;
  }

  .home-pin-sticky {
    position: static;
  }
}

.photo-tile img,
.video-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.subtle-photo {
  filter: none;
}

.hero-text {
  letter-spacing: 0.5px;
  line-height: 0.92;
}

.faint {
  color: var(--ink-soft);
}

.brass-text {
  color: var(--brass);
}

strong {
  color: var(--brass);
  font-weight: 700;
}

.section-title {
  letter-spacing: 1.5px;
  font-size: clamp(1.7rem, 2.7vw, 2.5rem);
  color: var(--brass);
}

.project-card {
  border: 1px solid var(--line);
  background: #030c0a;
}

.project-card p {
  color: var(--ink-soft);
}

.footer-links a {
  color: var(--ink-soft);
}

.footer-links a:hover {
  color: var(--brass);
}

.project-card h3 {
  color: var(--brass);
}

a[href^="mailto:"] {
  color: var(--brass);
}

a[href$="resume.pdf"] {
  border-color: var(--brass) !important;
  color: var(--brass);
}

a[href$="resume.pdf"]:hover {
  background: rgba(122, 92, 46, 0.12);
}
