:root {
  --bg: #0c0d0f;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(16, 19, 24, 0.82);
  --text: #f5f4ef;
  --muted: #c9cbcf;
  --accent: #ff6f00;
  --accent-soft: #ff9340;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.42);
  --maxw: 1200px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  background: radial-gradient(circle at 8% 6%, #2e3237 0%, #0e1013 40%, #07080a 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 44px), var(--maxw));
  margin-inline: auto;
}

.page-shell {
  overflow: clip;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 25;
  padding-top: 12px;
  background: linear-gradient(to bottom, rgba(4, 5, 6, 0.82) 0%, rgba(4, 5, 6, 0.42) 58%, transparent 100%);
  backdrop-filter: blur(8px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.brand-area {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: min(330px, 44vw);
  min-width: 210px;
  height: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(100%);
}

.lang-switch {
  width: 68px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-inline: 8px;
  backdrop-filter: blur(6px);
}

.lang-switch:focus-visible {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(255, 148, 72, 0.22);
}

.lang-switch option {
  color: #111;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent-soft);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: 130px 0 74px;
  background-image: linear-gradient(112deg, rgba(2, 4, 6, 0.92) 8%, rgba(5, 8, 12, 0.7) 36%, rgba(6, 9, 12, 0.3) 60%, rgba(7, 9, 12, 0.66) 100%), url("IMG_5898_SnapseedCopy.jpeg"), url("image_4.jpeg");
  background-size: cover, 72% auto, 50% auto;
  background-repeat: no-repeat;
  background-position: center center, right -110px top -10px, right -210px top 34%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 126, 0, 0.12), transparent 44%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.36));
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  width: min(980px, 100%);
  margin-inline: auto;
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 16px;
  grid-template-columns: minmax(440px, 560px) minmax(280px, 330px);
}

.glass-panel {
  border: 1px solid var(--line);
  background: linear-gradient(136deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(24px, 4vw, 38px);
  max-width: none;
  animation: fade-up 800ms ease both;
}

.hero-logo {
  width: min(100%, 520px);
  margin: 0 0 16px;
  margin-left: 0;
  margin-right: auto;
  display: block;
  transform: translateX(-28px);
  transform-origin: left center;
  filter: brightness(0) saturate(100%) invert(48%) sepia(95%) saturate(2407%) hue-rotate(5deg) brightness(102%) contrast(103%);
}

.hero-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 12px;
}

.social-link {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(0.78rem, 0.9vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  line-height: 1.1;
}

strong {
  font-weight: 500;
}

h1 {
  font-size: clamp(2.15rem, 5.4vw, 4.65rem);
  color: var(--accent);
  letter-spacing: -0.015em;
  text-transform: capitalize;
  margin-bottom: 14px;
}

.hero-description {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.22vw, 1.1rem);
  max-width: 56ch;
  line-height: 1.72;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(126deg, #ff6b00, #ff8a2a);
  box-shadow: 0 8px 20px rgba(255, 110, 13, 0.45);
}

.btn-secondary {
  color: #151515;
  background: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.resume-action {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
}

.resume-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(1, 3, 7, 0.58);
  backdrop-filter: blur(4px);
}

.resume-modal {
  width: min(360px, calc(100vw - 36px));
  padding: 16px;
  background: rgba(9, 12, 18, 0.94);
  display: grid;
  gap: 12px;
}

.resume-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.resume-modal-title {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4f5f7;
}

.resume-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.resume-modal-actions {
  display: grid;
  gap: 8px;
}

.resume-option {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #f3f4f6;
  border-radius: 10px;
  min-height: 40px;
  padding: 9px 12px;
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.resume-option:hover,
.resume-option:focus-visible {
  border-color: var(--accent-soft);
  background: rgba(255, 146, 68, 0.14);
  outline: none;
}

.hero-badges {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #f7f7f7;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  background: rgba(0, 0, 0, 0.2);
}

.hero-visual {
  min-height: 510px;
  max-width: 330px;
  justify-self: start;
  align-self: stretch;
  padding: 16px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 10px;
  animation: fade-up 900ms 110ms ease both;
  background: linear-gradient(146deg, rgba(17, 21, 27, 0.95), rgba(12, 14, 18, 0.74));
}

.portrait-frame {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  overflow: hidden;
  min-height: 335px;
  position: relative;
  background: #111;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.04) brightness(1.04);
  transform: scale(1.03);
}

.portrait-glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(to top, rgba(255, 112, 0, 0.22), transparent);
}

.floating-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  gap: 2px;
  background: rgba(0, 0, 0, 0.36);
}

.floating-card strong {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: #fff;
  text-transform: uppercase;
}

.floating-card span {
  color: #cdced3;
  font-size: 0.72rem;
  line-height: 1.4;
}

.content-section {
  padding: clamp(60px, 8vw, 94px) 0;
  position: relative;
}

.content-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent 25%, transparent 75%, rgba(255, 255, 255, 0.02));
}

.alt-section {
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.section-grid,
.split-layout,
.contact-layout,
.contact-grid {
  display: grid;
  gap: 24px;
}

.section-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
}

.section-heading {
  display: grid;
  gap: 14px;
  align-content: start;
}

.centered {
  text-align: center;
  justify-items: center;
  margin-bottom: 30px;
}

.portfolio-subtitle {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.section-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--accent-soft);
  font-size: 0.76rem;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  max-width: 24ch;
}

.section-card {
  padding: clamp(20px, 3vw, 32px);
  background: var(--surface-strong);
}

.section-card p,
.media-copy p,
.quote-card p,
.contact-note {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.about-card {
  display: grid;
  gap: 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.stat-card {
  padding: 18px 16px;
  display: grid;
  gap: 8px;
  text-align: center;
  background: rgba(19, 23, 28, 0.82);
}

.stat-label {
  color: #b7bdc4;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
}

.stat-card strong {
  font-size: 1.1rem;
  color: #fff;
}

.language-row {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(12, 15, 20, 0.8);
}

.language-label {
  color: #c7cdd4;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.73rem;
}

.split-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.accent-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  color: #eceef1;
}

.accent-list li {
  border-left: 3px solid var(--accent-soft);
  padding-left: 12px;
  font-size: 0.96rem;
}

.featured-video-wrap {
  display: flex;
  justify-content: center;
}

.featured-video-card {
  width: min(100%, 400px);
  padding: 12px;
  background: rgba(11, 14, 20, 0.9);
}

.featured-video {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9 / 16;
  display: block;
  border: 0;
  margin-inline: auto;
  border-radius: 20px;
  background: #050608;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  object-fit: cover;
}

.video-fallback-note {
  margin: 10px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.video-fallback-note a {
  color: #fff;
}

.contact-layout {
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
}

.contact-form,
.contact-details {
  padding: 22px;
  background: rgba(12, 15, 20, 0.82);
  display: grid;
  gap: 16px;
  align-content: start;
}

.form-row {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 400;
  color: #e8eaef;
  font-size: 0.88rem;
}

input,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(216, 219, 223, 0.76);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(255, 141, 63, 0.2);
}

.contact-details h3 {
  font-size: 1.2rem;
}

.contact-details p {
  margin: 0;
  color: #e9eaec;
}

.contact-details a {
  color: #f2f4f7;
  text-decoration-color: rgba(255, 255, 255, 0.44);
}

.contact-note {
  font-size: 0.92rem;
  margin-top: 4px;
}

.site-footer {
  padding: 10px 22px 44px;
  text-align: center;
}

.footer-line {
  margin: 0;
  color: #d5d8de;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-credit {
  margin-top: 4px;
  color: #f0f1f4;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .navbar {
    min-height: 58px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-visual {
    justify-self: stretch;
    max-width: 100%;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    grid-template-rows: auto auto;
  }

  .portrait-frame {
    min-height: 280px;
    grid-row: 1 / span 2;
  }

  .section-grid,
  .split-layout,
  .stats-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .centered h2 {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .brand-logo {
    min-width: 170px;
  }

  .brand-area {
    gap: 8px;
  }

  .lang-switch {
    width: 60px;
    height: 38px;
    border-radius: 12px;
    font-size: 0.74rem;
  }

  .site-header {
    background: linear-gradient(to bottom, rgba(3, 4, 6, 0.92) 0%, rgba(3, 4, 6, 0.72) 64%, transparent 100%);
  }

  .nav-links {
    display: none;
  }

  .hero-section {
    min-height: 100svh;
    background-size: cover, cover, 88% auto;
    background-position: center center, center top, center 84%;
  }

  .container {
    width: min(calc(100% - 28px), var(--maxw));
  }

  .hero-copy,
  .hero-visual,
  .section-card,
  .contact-form,
  .contact-details {
    padding: 18px;
  }

  .hero-actions {
    gap: 10px;
  }

  .resume-action {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .hero-badges {
    gap: 8px;
  }

  .hero-badges span {
    font-size: 0.72rem;
  }
}