:root {
  --bg: #020202;
  --text: #f5f5f5;
  --muted: #c7c7c7;
  --accent: #f6e58d;
  --border: rgba(255, 255, 255, 0.1);
}

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

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

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

.page {
  min-height: 100vh;
  padding: 2rem clamp(1.5rem, 4vw, 4rem) 3rem;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
}

.brand {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  transition: color 200ms ease;
}

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

.socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2a2a2a;
  background: transparent;
  color: var(--accent);
  transition: border-color 200ms ease;
}

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

.social-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 1.8;
}

.btn:focus-visible,
.contact-btn:focus-visible,
.social-icon:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.contact-btn {
  margin-left: 1rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: #000000 !important;
  background-color: var(--accent);
  font-weight: 600;
  transition: background-color 200ms ease;
}

.contact-btn:hover {
  background-color: #e9d878;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: clamp(2rem, 4vw, 3rem);
  padding: 2rem 6vw;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-content {
  max-width: 600px;
  justify-self: center;
  animation: fadeInUp 800ms ease both;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin: 0;
  line-height: 1.1;
}

.title {
  font-size: 1.2rem;
  margin-top: 0.8rem;
  color: var(--accent);
}

.description {
  margin: 2rem 0;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  padding: 0.95rem 2.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, color 200ms ease;
}

.btn.primary {
  background-color: var(--accent);
  color: #000;
  box-shadow: 0 18px 45px rgba(246, 229, 141, 0.4);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 60px rgba(246, 229, 141, 0.35);
}

.btn.secondary {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

.btn.secondary:hover {
  background-color: rgba(246, 229, 141, 0.08);
  transform: translateY(-3px);
}

.hero-visual {
  width: 100%;
  display: flex;
  justify-content: center;
  justify-self: center;
  animation: fadeIn 900ms ease both 150ms;
}

.portrait {
  width: min(380px, 68vw);
  aspect-ratio: 1 / 1;
  border-radius: 34%;
  background: radial-gradient(circle at 30% 30%, rgba(246, 229, 141, 0.35), rgba(246, 229, 141, 0.05));
  border: 1px solid var(--border);
  position: relative;
  filter: drop-shadow(0 35px 70px rgba(0, 0, 0, 0.85));
  box-shadow: 0 0 60px rgba(246, 229, 141, 0.08);
  overflow: hidden;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
}

.portrait::before {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(246, 229, 141, 0.25);
}

.portrait::after {
  content: '';
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.6);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 960px) {
  .nav-links {
    gap: 1rem;
  }

  .socials {
    padding-left: 0.6rem;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 0;
  }

  .hero-content,
  .description {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 1rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    justify-self: start;
  }

  .hero-visual {
    justify-self: end;
  }
}

.content-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 3rem 0 4rem;
}

.content-hero {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.content-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 0 0 1rem;
}

.content-hero p {
  margin: 0;
  color: #e0e0e0;
  font-size: 1.15rem;
  line-height: 1.7;
}

.content-section {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--text);
}

.section-heading p {
  margin: 0.4rem 0 0;
  color: #e2e2e2;
  font-size: 1.05rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.9rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.project-card {
  border: 1px solid #2a2a2a;
  border-radius: 30px;
  padding: 1.75rem;
  background: #070707;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

.project-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.project-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #2a2a2a;
  background: #0f0f0f;
  flex-shrink: 0;
}

.project-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.project-meta {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-card h3 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 670;
  color: #f2f2f2;
}

.project-card p {
  margin: 0;
  color: #d8d8d8;
  line-height: 1.6;
}

.project-card .btn {
  align-self: flex-start;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #000;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 0 0 rgba(246, 229, 141, 0.32);
}

.project-card .btn:hover {
  box-shadow: 0 0 22px rgba(246, 229, 141, 0.32);
}

.content-card {
  border: 1px solid #2a2a2a;
  border-radius: 28px;
  padding: 1.6rem;
  background: #080808;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.content-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.45);
}


.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid #2a2a2a;
  background: #0e0e0e;
  flex-shrink: 0;
}

.card-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.card-meta {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.content-card h3 {
  margin: 0;
  font-size: 1.32rem;
  font-weight: 660;
  color: #f2f2f2;
}

.content-card p {
  margin: 0;
  color: #eaeaea;
  line-height: 1.6;
}

.content-card .btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background-color: var(--accent);
  color: #000;
  font-weight: 600;
  box-shadow: 0 0 0 rgba(246, 229, 141, 0.25);
}

.content-card .btn:hover {
  background-color: #e9d878;
  box-shadow: 0 0 18px rgba(246, 229, 141, 0.25);
  transform: translateY(-2px);
}

.external-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
}

.gallery-section {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.gallery-strip {
  position: relative;
  overflow: hidden;
  padding: 0 48px;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
}

.gallery-strip.is-dragging {
  cursor: grabbing;
}

.filmstrip {
  display: flex;
  gap: 12px;
  will-change: transform;
}

.filmstrip img {
  height: clamp(140px, 22vw, 260px);
  width: auto;
  border-radius: 32px;
  object-fit: cover;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55);
  margin-right: -8px;
}

.filmstrip img:last-child {
  margin-right: 0;
}
