@charset "UTF-8";
/* ------------------------------------------------------------------------------- */
/* Reset */
/* ------------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color: #000;
}

body {
  text-rendering: optimizeSpeed;
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
  min-height: 100vh;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

ul,
ol {
  list-style: none;
}

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

table {
  border-collapse: collapse;
  width: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  letter-spacing: -0.5px;
  font-style: normal;
  font-weight: 400;
}

.bio-section, .site-footer, section, .top {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 600px) {
  .bio-section, .site-footer, section, .top {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.bio-section, .site-footer, div.boxed, .eyebrow, .top {
  width: 100%;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1100px) {
  .bio-section, .site-footer, div.boxed, .eyebrow, .top {
    width: calc(100% - 80px);
  }
}
.overview {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial, div.boxed blockquote, div.boxed p,
div.boxed h2 {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------------------------- */
/* Global styles */
/* ------------------------------------------------------------------------------- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  box-sizing: border-box;
}
@media (max-width: 600px) {
  html {
    font-size: 14px;
  }
}

body {
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.no-scroll {
  overflow: hidden;
}

*, *::before, *::after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

a img {
  vertical-align: top;
}

p {
  margin: 0 0 10px 0;
}

li {
  list-style: none;
}

*:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

hr {
  border: none;
  height: 1px;
  display: block;
  margin: 40px 0;
  border-bottom: 2px dotted;
}

b, strong {
  font-style: normal;
  font-weight: 600;
}

del {
  text-decoration: line-through;
}

blockquote {
  margin: 40px 0 40px 0;
  padding: 0 20px 0 20px;
  border-left: 1px solid;
}
blockquote a {
  text-decoration: underline;
}

i, em {
  font-style: italic;
}

pre code {
  display: block;
  padding: 20px;
  overflow: hidden;
  margin-bottom: 20px;
}

textarea,
input,
button,
select {
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* ------------------------------------------------------------------------------- */
/* Header (logo + nav) */
/* ------------------------------------------------------------------------------- */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top__left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
@media (max-width: 600px) {
  .top__avatar {
    width: 40px;
    height: 40px;
  }
}
.top__brand {
  font-size: 1.25rem;
  font-weight: bold;
}
.top__right {
  display: flex;
  align-items: center;
  gap: 40px;
}
@media (max-width: 600px) {
  .top__right {
    gap: 20px;
  }
}
.top .links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.top__link {
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s ease-in, border-color 0.2s ease-in;
}
.top__link:hover {
  transition: color 0.1s ease-out, border-color 0.1s ease-out;
}
.top__cta {
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  transition: color 0.3s;
}
.top__cta .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  margin-left: 0.25em;
}
.top__cta:hover .arrow {
  transform: translateX(3px);
}

/* ------------------------------------------------------------------------------- */
/* Intros with big type */
/* ------------------------------------------------------------------------------- */
.eyebrow {
  display: block;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  text-align: center;
}
@media (max-width: 600px) {
  .eyebrow {
    text-align: left;
    margin-left: 0;
  }
}

.overview {
  font-size: 4rem;
  letter-spacing: -0.1875rem;
  line-height: 4.4rem;
  text-align: center;
}
@media (max-width: 600px) {
  .overview {
    text-align: left;
    font-size: 3.2rem;
    letter-spacing: -0.0375rem;
    line-height: 3.52rem;
  }
}

/* ------------------------------------------------------------------------------- */
/* Page sections */
/* ------------------------------------------------------------------------------- */
section {
  width: 100%;
  margin: 0;
}
section p {
  margin-bottom: 40px;
}
section p a {
  text-decoration: underline;
}
section hr {
  border: none;
  height: 160px;
}
@media (max-width: 600px) {
  section hr {
    height: 80px;
  }
}

div.boxed img {
  width: 100%;
  max-width: 1020px;
  border-radius: 12px;
}
div.boxed p,
div.boxed h2 {
  font-size: 1.25rem;
  letter-spacing: -0.05rem;
  line-height: 2rem;
}
div.boxed h2 {
  margin-top: 40px;
  margin-bottom: 40px;
}
div.boxed blockquote {
  font-size: 1rem;
  line-height: 1.5rem;
}
div.boxed blockquote p {
  font-size: 1rem;
  line-height: 1.5rem;
}
div.boxed p a {
  transition: color 0.2s ease-in, border-color 0.2s ease-in;
}
div.boxed p a:hover {
  transition: color 0.1s ease-out, border-color 0.1s ease-out;
}

/* ------------------------------------------------------------------------------- */
/* Footers */
/* ------------------------------------------------------------------------------- */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  font-size: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  text-decoration: underline;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-left,
.footer-right {
  margin: 0.5rem 0;
}

/* ------------------------------------------------------------------------------- */
/* Portfolios */
/* ------------------------------------------------------------------------------- */
.siema-wrapper {
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}

.siema {
  margin: 0;
  display: flex;
}
.siema > div {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
}
.siema img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0 !important;
}

.slider-controls {
  font-size: 1rem;
  letter-spacing: -0.1rem;
  line-height: 1.5rem;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  margin-top: 16px;
}
.slider-controls button {
  cursor: pointer;
  border-bottom: 1px solid;
}

div.boxed .slider-heading {
  margin-top: 0;
}

a.cta-project {
  font-size: 1rem;
  line-height: 1rem;
  text-decoration: none;
  border: 1px solid;
  border-radius: 999px;
  padding: 2px 8px;
  transition: color 0.2s ease-in, border-color 0.2s ease-in;
}
a.cta-project:hover {
  transition: color 0.1s ease-out, border-color 0.1s ease-out;
}

/* ------------------------------------------------------------------------------- */
/* Testimonials */
/* ------------------------------------------------------------------------------- */
.testimonial {
  border-radius: 12px;
  padding: 80px 40px;
  text-align: center;
  margin-bottom: 40px;
}
.testimonial blockquote {
  border-left: none;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 1rem;
  line-height: 2rem;
  margin: 0 0 2rem;
  font-style: normal;
  quotes: "“" "”" "‘" "’";
}
.testimonial blockquote p {
  font-size: 1rem;
  line-height: 1.5rem;
}
.testimonial blockquote p::before {
  content: open-quote;
}
.testimonial blockquote p::after {
  content: close-quote;
}
.testimonial figcaption {
  font-size: 1rem;
}
.testimonial figcaption strong {
  font-weight: normal;
}
/* ------------------------------------------------------------------------------- */
/* Bios, Info, About section */
/* ------------------------------------------------------------------------------- */
.bio-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.bio-image {
  width: 100%;
}
@media (min-width: 1100px) {
  .bio-image {
    width: 48%;
  }
}
.bio-image img {
  width: 100%;
  border-radius: 12px;
}

.bio-text {
  width: 100%;
  font-size: 1.6875rem;
  line-height: 2rem;
}
@media (min-width: 1100px) {
  .bio-text {
    width: 48%;
  }
}

.highlight {
  text-decoration: underline;
}

.bio-links {
  display: flex;
  gap: 3rem;
  font-size: 1.25rem;
  line-height: 2rem;
  flex-wrap: wrap;
}
.bio-links ul {
  list-style: none;
  padding: 0;
}
.bio-links ul li {
  margin-bottom: 8px;
}
.bio-links a {
  text-decoration: none;
  position: relative;
}
.bio-links a::before {
  content: "→";
  margin-right: 0.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
}
.bio-links a:hover {
  text-decoration: none;
}
.bio-links a:hover::before {
  transform: translateX(3px);
}

/* ------------------------------------------------------------------------------- */
/* Tabs Navigation */
/* ------------------------------------------------------------------------------- */
.tabs-container {
  margin-bottom: 40px;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: var(--text);
  opacity: 0.7;
}

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

.tab-btn.active {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  opacity: 1;
  font-weight: 600;
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(var(--accent-rgb, 255, 165, 0), 0.3);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ------------------------------------------------------------------------------- */
/* Peek Carousel (Card Slider) */
/* ------------------------------------------------------------------------------- */
.peek-carousel-container {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0 8%;
  overflow: hidden;
}

.peek-carousel {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 20px 0;
}

.project-card {
  flex: 0 0 calc(38% - 12px);
  min-width: 320px;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
}

.project-card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
}

.project-card__content {
  padding: 24px;
}

.project-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-card__desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  opacity: 0.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.project-card__meta {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-bottom: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-card__btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.project-card__btn:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Carousel Navigation */
.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  padding: 0 20px;
}

.carousel-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-weight: 300;
}

.carousel-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: scale(1.1);
}

.carousel-arrow:disabled {
  opacity: 0.2;
  cursor: not-allowed;
  transform: none;
}

.carousel-arrow:disabled:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text);
}

.carousel-dots {
  display: flex;
  gap: 12px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.25;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.carousel-dot:hover {
  opacity: 0.5;
  transform: scale(1.1);
}

.carousel-dot.active {
  opacity: 1;
  background: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(var(--accent-rgb, 255, 165, 0), 0.5);
}

/* Responsive Carousel */
@media (max-width: 1200px) {
  .project-card {
    flex: 0 0 calc(45% - 12px);
  }
}

@media (max-width: 900px) {
  .project-card {
    flex: 0 0 calc(70% - 12px);
    max-width: none;
  }
  
  .peek-carousel-container {
    padding: 0 10%;
  }
}

@media (max-width: 600px) {
  .project-card {
    flex: 0 0 calc(85% - 12px);
    min-width: 280px;
  }
  
  .peek-carousel-container {
    padding: 0 7.5%;
  }
  
  .carousel-arrow {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }
  
  .carousel-nav {
    gap: 16px;
  }
  
  .carousel-dots {
    gap: 10px;
  }
  
  .tabs-nav {
    gap: 8px;
  }
  
  .tab-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 40px;
}

/* ------------------------------------------------------------------------------- */
/* Project Detail Modal */
/* ------------------------------------------------------------------------------- */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.project-modal--active {
  display: block;
}

.project-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.project-modal__dialog {
  width: 100%;
  max-width: 960px;
  background: rgba(15, 15, 20, 0.98);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}

.project-modal__body {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.project-modal__media {
  width: 100%;
  flex: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: 30vh;
  min-height: 200px;
}

.project-modal__image {
  width: 100%;
  height: auto;
  max-height: 30vh;
  max-width: 100%;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.2);
  display: block;
  cursor: pointer;
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

.project-modal__image:hover:not(.project-modal__image--zoomed):not(.project-modal__image--zooming-out) {
  opacity: 0.9;
  transform: scale(1.02);
}

.project-modal__image--zoomed {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  transform-origin: center center;
  width: 70%;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1001;
  cursor: zoom-out;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.9);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.95);
  padding: 20px;
  object-fit: contain;
  opacity: 1;
}

.project-modal__image--zoomed:hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.project-modal__image--zooming-in {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(0.8) !important;
  transform-origin: center center !important;
  opacity: 0 !important;
  width: 70% !important;
  max-width: 90vw !important;
  max-height: 90vh !important;
  z-index: 1001 !important;
  pointer-events: none !important;
}

.project-modal__image--zooming-out {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(0.8) !important;
  transform-origin: center center !important;
  opacity: 0;
  visibility: hidden;
  width: 70%;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1001;
}

.project-modal__content {
  width: 100%;
  padding: 32px 36px 36px;
  flex: 8;
  overflow-y: auto;
}

.project-modal__title {
  font-size: 1.6rem;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.project-modal__meta {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 16px;
}

.project-modal__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.project-modal__desc ul {
  list-style: none;
  padding-left: 0;
  margin: 16px 0;
}

.project-modal__desc li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  line-height: 1.8;
}

.project-modal__desc li::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 0.1em;
  color: var(--accent);
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1;
}

.project-modal__desc li strong {
  color: var(--accent);
  font-weight: 600;
  margin-right: 4px;
}

.project-modal__btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.project-modal__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.project-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.4);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.project-modal__close:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--accent);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .project-modal__overlay {
    padding: 12px;
  }

  .project-modal__dialog {
    border-radius: 16px;
    max-height: 95vh;
  }

  .project-modal__media {
    flex: 2;
    max-height: 25vh;
    min-height: 150px;
  }

  .project-modal__image {
    max-height: 25vh;
  }

  .project-modal__image--zoomed {
    width: 95%;
    max-width: 95vw;
    max-height: 85vh;
    padding: 10px;
  }

  .project-modal__content {
    flex: 8;
    padding: 20px 20px 24px;
  }

  .project-modal__title {
    font-size: 1.4rem;
  }

  .project-modal__desc {
    font-size: 0.9rem;
  }
}
