@charset "UTF-8";
/* CSS Document */ :root {
  --paper: url("crumpled-craft-paper-bg.jpg");
  --papercolor: #F5EFE2;
  --ink: #211D17;
  --magenta: #B23A5C;
  --printblue: #35618C;
  --term-bg: #12140F;
  --term-fg: #E7E4D9;
  --amber: #FFB020;
  --syntax-green: #7FB069;
  --font-display: 'Abril Fatface', serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-ui: 'Space Grotesk', sans-serif;
}
html, body {
  height: 100%;
  margin: 0;
}
a.ref-form {
	color: inherit;
	text-decoration: underline;
}
body {
  font-family: var(--font-ui);
  background: #0b0b0b;
  overflow-x: hidden;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a {
  text-decoration: none;
}
.stage {
  width: 100%;
  height: 100vh;
  perspective: 2400px;
  overflow: hidden;
  flex: 1;
}
.card {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .9s cubic-bezier(.65, 0, .35, 1);
}
.card.flip-right {
  transform: rotateY(180deg);
}
.card.flip-left {
  transform: rotateY(-180deg);
}
.card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.card-back {
  transform: rotateY(180deg);
  overflow-y: auto;
}
@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }
}
/* ---------- chooser (front face) ---------- */
.chooser {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}
.panel {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  transition: flex .55s ease;
  padding: 2rem;
  text-align: center;
}
.panel:hover, .panel:focus-visible {
  flex: 1.12;
}
.panel:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: -6px;
}
.panel-design {
  background: var(--paper);
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--ink);
}
.panel-dev {
  background: var(--term-bg);
  color: var(--term-fg);
  background-image:
    repeating-linear-gradient(0deg, rgba(231, 228, 217, .06) 0px, rgba(231, 228, 217, .06) 1px, transparent 1px, transparent 64px), repeating-linear-gradient(90deg, rgba(231, 228, 217, .06) 0px, rgba(231, 228, 217, .06) 1px, transparent 1px, transparent 64px);
}
.panel-eyebrow {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  opacity: .8;
}
.panel-design .panel-eyebrow {
  color: var(--magenta);
}
.panel-dev .panel-eyebrow {
  color: var(--amber);
}
.panel-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: .95;
  margin: 0;
}
.panel-dev .panel-label {
  font-family: var(--font-mono);
  font-weight: 700;
}
.panel-sub {
  max-width: 32ch;
  margin-top: 1rem;
  font-size: .95rem;
  opacity: .85;
}
.panel-dev .panel-sub {
  font-family: var(--font-mono);
  font-size: .85rem;
}
.panel-tap {
  margin-top: 2rem;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .6;
}
/* crop marks framing the whole chooser */
.crop {
  position: absolute;
  width: 22px;
  height: 22px;
  pointer-events: none;
  z-index: 3;
}
.crop::before, .crop::after {
  content: "";
  position: absolute;
  background: var(--ink);
}
.crop::before {
  width: 100%;
  height: 1.5px;
  top: 50%;
}
.crop::after {
  width: 1.5px;
  height: 100%;
  left: 50%;
}
.crop-tl {
  top: 18px;
  left: 18px;
}
.crop-br {
  bottom: 18px;
  right: 18px;
}
.crop-br::before, .crop-br::after {
  background: var(--term-fg);
}
/* seam */
.seam {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, .15);
  z-index: 2;
  pointer-events: none;
}
.seam-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}
.reg-mark {
  width: 34px;
  height: 34px;
}
.reg-mark circle {
  fill: none;
  stroke: #fff;
  stroke-width: 1.2;
  opacity: .9;
}
.reg-mark line {
  stroke: #fff;
  stroke-width: 1.2;
  opacity: .9;
}
.seam-name {
  font-family: var(--font-ui);
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #fff;
  writing-mode: vertical-rl;
  opacity: .85;
}

/* ---------- show hides for links ---------- */

.hidden-content {display:none;}

/* ---------- front pages (back face) ---------- */
.content {
  min-height: 100%;
  display: none;
  flex-direction: column;
}
.content.is-active {
  display: flex;
}
.theme-design {
  background: var(--paper);
	background-repeat: no-repeat;
	background-size: cover;
  color: var(--ink);
  font-family: var(--font-ui);
}
.theme-dev {
  background: var(--term-bg);
  color: var(--term-fg);
  font-family: var(--font-mono);
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
}
.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .01em;
}
.theme-dev .brand-mark {
  font-family: var(--font-mono);
}
.nav-links {
  display: flex;
  gap: 1.75rem;
  font-size: .9rem;
  align-items: center;
}
.theme-design .nav-links a {
  color: var(--ink);
}
.theme-dev .nav-links a {
  color: var(--term-fg);
}
.switch-btn {
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: .35rem .9rem;
  background: none;
  cursor: pointer;
}
.theme-design .switch-btn {
  color: var(--magenta);
  border-color: var(--magenta);
}
.theme-dev .switch-btn {
  color: var(--amber);
  border-color: var(--amber);
}
.hero {
  padding: 5rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  flex: 1 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.theme-design .eyebrow {
  color: var(--magenta);
}
.theme-dev .eyebrow {
  color: var(--syntax-green);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin: .75rem 0 1.25rem;
}
.theme-dev h1 {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}
.cursor {
  display: inline-block;
  width: .55ch;
  background: var(--amber);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.hero p.lead {
  max-width: 60ch;
  font-size: 1.05rem;
  opacity: .9;
}
.theme-dev .hero p.lead {
  font-size: .95rem;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.75rem 0;
}
.chip {
  font-size: .82rem;
  padding: .4rem .85rem;
  border-radius: 999px;
}
.theme-design .chip {
  background: rgba(178, 58, 92, .08);
  color: var(--printblue);
  border: 1px solid rgba(53, 97, 138, .25);
}
.theme-dev .chip {
  background: rgba(255, 176, 32, .08);
  color: var(--amber);
  border: 1px solid rgba(255, 176, 32, .3);
  border-radius: 4px;
  font-size: .78rem;
}
.cta-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.btn-primary-custom {
  padding: .7rem 1.4rem;
  border-radius: 4px;
  font-size: .9rem;
  border: 1px solid transparent;
}
.theme-design .btn-primary-custom {
  background: var(--ink);
  color: var(--papercolor);
}
.theme-design .btn-secondary-custom {
  padding: .7rem 1.4rem;
  border-radius: 4px;
  font-size: .9rem;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.theme-dev .btn-primary-custom {
  background: var(--amber);
  color: #1a1400;
  font-family: var(--font-mono);
}
.theme-dev .btn-secondary-custom {
  padding: .7rem 1.4rem;
  border-radius: 4px;
  font-size: .9rem;
  border: 1px solid var(--term-fg);
  color: var(--term-fg);
  font-family: var(--font-mono);
}
.site-footer {
  padding: 2rem;
  text-align: center;
  font-size: .8rem;
  opacity: .65;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  margin-top: auto;
}
.theme-dev .site-footer {
  font-family: var(--font-mono);
}
.mso-egg {
  position: fixed;
  bottom: 1rem;
  right: 1.25rem;
  font-size: .7rem;
  opacity: .35;
  font-family: var(--font-mono);
  pointer-events: none;
}

/* ---------- modals (Work / About / Contact) ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 1.5rem;
  background: rgba(10, 9, 7, .68);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-box {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 10px;
  padding: 2.75rem 2.5rem;
  transform: translateY(14px);
  transition: transform .25s ease;
  box-sizing: border-box;
}
.modal-overlay.is-open .modal-box {
  transform: translateY(0);
}
.modal-design .modal-box {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.modal-design .modal-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
  color: var(--ink);
}
.modal-design .modal-body img {
  max-width: 100%;
  border-radius: 6px;
  display: block;
  margin: 1rem 0;
}
.modal-dev .modal-box {
  background: var(--term-bg);
  color: var(--term-fg);
  font-family: var(--font-mono);
  border: 1px solid rgba(231, 228, 217, .15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}
.modal-dev .modal-body h2 {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin: 0 0 1rem;
  color: var(--amber);
}
.modal-dev .modal-body img {
  max-width: 100%;
  border-radius: 4px;
  display: block;
  margin: 1rem 0;
  border: 1px solid rgba(231, 228, 217, .15);
}
.modal-body {
  font-size: .95rem;
  line-height: 1.6;
}
.modal-body p {
  margin: 0 0 1rem;
}
.modal-close {
  position: absolute;
  top: .9rem;
  right: .9rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: none;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  opacity: .7;
}
.modal-close:hover {
  opacity: 1;
}
.modal-design .modal-close {
  color: var(--ink);
}
.modal-dev .modal-close {
  color: var(--term-fg);
}
body.modal-open {
  overflow: hidden;
}
.gray-font {
	color:#403d3e;
}
.red-font {
	color:#7a1416;
}

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .chooser {
    flex-direction: column;
  }
  .row {
    flex-direction: column; /* stacks into a single vertical column on mobile */
  }
  .panel:hover, .panel:focus-visible {
    flex: 1;
  }
  .seam {
    left: 0;
    top: 50%;
    bottom: auto;
    width: 100%;
    height: 1px;
  }
  .seam-mark {
    flex-direction: row;
  }
  .seam-name {
    writing-mode: horizontal-tb;
  }
  .site-nav {
    flex-wrap: wrap;
    row-gap: .75rem;
    padding: 1.25rem 1.25rem;
  }
  .nav-links {
    flex-wrap: wrap;
    row-gap: .6rem;
    width: 100%;
  }
  .hero {
    padding: 3rem 1.25rem 2.5rem;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .modal-box {
    padding: 2.25rem 1.5rem;
  }
}