/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

1.0 Variables & Reset
2.0 Header
3.0 Projects
4.0 Project detail (inner)
5.0 Contact
6.0 Footer
7.0 Misc (code blocks, forms)

--------------------------------------------------------------*/
/*--------------------------------------------------------------
  1.0 Variables & Reset
--------------------------------------------------------------*/
:root {
  --bg: #0b0c0f;
  --bg-elevated: #16181d;
  --border: #2a2d34;
  --text: #edf0f3;
  --text-muted: #8b909c;
  --accent: #ff9478;
  --accent-contrast: #1a0b06;
  --max-width: 880px;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease-in-out;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.7em 1.4em;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95em;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-contrast);
}

.btn-primary:hover {
  color: var(--accent-contrast);
  opacity: 0.9;
}

/*--------------------------------------------------------------
  2.0 Header
--------------------------------------------------------------*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 12, 15, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-header__brand {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-header__nav {
  display: flex;
  gap: 1.5em;
}

.site-header__nav a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95em;
}

.site-header__nav a:hover {
  color: var(--accent);
}

/*--------------------------------------------------------------
  3.0 Projects
--------------------------------------------------------------*/
#portfolio {
  padding: 3.5em 0 2em;
}

.section-title {
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 3em;
}

.project-row {
  display: flex;
  align-items: center;
  gap: 3em;
  margin-bottom: 5em;
}

.project-media,
.project-body {
  flex: 1 1 0;
  min-width: 0;
}

.project-media img {
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: opacity 0.15s ease-in-out;
}

.project-media a {
  display: block;
}

.project-media a:hover img {
  opacity: 0.85;
}

.project-body .title {
  font-size: 1.5em;
  margin-bottom: 0.4em;
}

.project-body .excerpt {
  color: var(--text-muted);
  margin-bottom: 1.2em;
}

.project-body .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-bottom: 1.4em;
}

.project-body .tags span {
  font-family: var(--font-mono);
  font-size: 0.75em;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35em 0.9em;
}

.project-body .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75em;
  margin-bottom: 1.6em;
}

.play-btn {
  width: 168px;
}

.pagination-wrap {
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  gap: 0.5em;
}

.pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4em;
  height: 2.4em;
  padding: 0 0.6em;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 600;
}

.pagination li a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination li.active a {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 720px) {
  .project-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5em;
    margin-bottom: 3.5em;
  }
  .project-media {
    order: -1;
  }
}
/*--------------------------------------------------------------
  4.0 Project detail (inner)
--------------------------------------------------------------*/
.project-detail {
  padding: 3em 0 4em;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9em;
  margin-bottom: 2.5em;
}

.back-link:hover {
  color: var(--accent);
}

.project-detail .project-media img {
  margin-bottom: 2em;
}

/*--------------------------------------------------------------
  5.0 Contact
--------------------------------------------------------------*/
#contact {
  border-top: 1px solid var(--border);
  padding: 4em 0;
}

#contact .signature {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 0.2em;
}

#contact h2 {
  font-size: 1.1em;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.5em;
}

.contact-layout {
  display: flex;
  gap: 4em;
}

.contact-form {
  flex: 1 1 60%;
}

.contact-form .form-row {
  display: flex;
  gap: 1em;
  margin-bottom: 1em;
}

.contact-form .form-row > * {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9em 1em;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95em;
  margin-bottom: 1em;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-links {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  align-self: flex-start;
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 0.75em;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-links a:hover {
  color: var(--accent);
}

.contact-links svg {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .contact-layout {
    flex-direction: column;
    gap: 2em;
  }
  .contact-form .form-row {
    flex-direction: column;
    gap: 0;
  }
}
/*--------------------------------------------------------------
  6.0 Footer
--------------------------------------------------------------*/
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5em 0;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
  font-size: 0.85em;
  color: var(--text-muted);
}

.section-jump {
  color: var(--text-muted);
  display: inline-flex;
  transition: color 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.section-jump:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

.section-jump svg {
  width: 1.3em;
  height: 1.3em;
}

/*--------------------------------------------------------------
  7.0 Misc
--------------------------------------------------------------*/
pre,
code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
}

code {
  padding: 0.15em 0.4em;
}

pre {
  padding: 1em;
  overflow-x: auto;
}

pre > code {
  border: 0;
  padding: 0;
  background: none;
}

/*# sourceMappingURL=style.css.map */