*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #1a2a24;
  --text: #d8d8d8;
  --text-muted: #a8a8a8;
  --divider: #4a5a54;
  --link: #d8d8d8;
  --max-width: 720px;
  --side-padding: clamp(1.5rem, 5vw, 4rem);
}

html {
  font-size: 14px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "Roboto Mono", "Courier New", Courier, monospace;
  line-height: 1.6;
  min-height: 100vh;
  text-align: center;
  text-transform: uppercase;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.8;
}

/* Navigation */
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  justify-content: center;
  padding: 2rem var(--side-padding) 0;
}

nav a {
  color: var(--text);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover,
nav a.active {
  text-decoration: underline;
}

/* Layout */
main {
  margin-inline: auto;
  max-width: var(--max-width);
  padding: 2.5rem var(--side-padding) 4rem;
}

.page-title {
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 2.5rem;
}

.page-title .subtitle {
  font-size: 0.85rem;
  font-weight: 400;
  margin-left: 0.5rem;
}

.coming-soon {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Home */
.profile-photo {
  display: block;
  height: auto;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  max-width: 200px;
  width: 100%;
}

.profile-name {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.profile-location {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.divider {
  background-color: var(--divider);
  border: none;
  height: 1px;
  margin: 2rem 0;
  width: 100%;
}

section {
  margin-bottom: 2rem;
}

section h2 {
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

section p {
  font-size: 0.85rem;
  line-height: 1.7;
  text-transform: uppercase;
}

.contact-links {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-links a {
  font-size: 0.85rem;
}

.lockinspo-sub {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

/* Work */
.work-project {
  margin-bottom: 3.5rem;
}

.work-project h2 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.work-project .project-link {
  display: inline-block;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.work-project img {
  display: block;
  margin-inline: auto;
  margin-bottom: 1rem;
  max-width: 280px;
  width: 100%;
}

.work-project p {
  font-size: 0.85rem;
  line-height: 1.7;
}

/* Gallery */
.gallery-section {
  margin-bottom: 4rem;
}

.gallery-section h2 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.carousel {
  position: relative;
  width: 100%;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.35s ease;
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.carousel-slide img {
  display: block;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  width: 100%;
}

.carousel-controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.carousel-btn {
  background: none;
  border: 1px solid var(--text-muted);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  text-transform: uppercase;
}

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

.carousel-btn:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.carousel-counter {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

.carousel-loading,
.carousel-empty {
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 2rem 0;
}

.carousel-error {
  color: #c88;
  font-size: 0.8rem;
}
