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

:root {
  --bg: #050505;
  --panel: #0b0b0b;
  --gold: #cba650;
  --gold-soft: #e3cb8f;
  --text: #f5f0e7;
  --muted: #aaa39a;
  --line: rgba(203, 166, 80, 0.25);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.9) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 40%, rgba(255,255,255,.7) 0 1px, transparent 1px);
  background-size: 29px 29px, 37px 37px;
}

.topbar {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100% - 36px));
  height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(5,5,5,.88);
  backdrop-filter: blur(14px);
}

.logo {
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}

.logo span {
  color: var(--text);
  font-size: 20px;
  font-weight: 400;
  margin-left: 8px;
  letter-spacing: 5px;
}

.topbar nav {
  justify-self: center;
  display: flex;
  gap: 32px;
}

.topbar nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.talk-btn {
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 12px 17px;
  font-size: 11px;
  letter-spacing: 1px;
}

.hero {
  position: relative;
  width: min(1240px, calc(100% - 36px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 135px 0 70px;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 34px;
  align-items: center;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 5;
}

.eyebrow,
.section-label {
  color: var(--gold);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 3px;
  font-weight: 700;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  margin: 26px 0;
  font-size: clamp(62px, 7vw, 108px);
  line-height: .94;
  letter-spacing: -5px;
}

h1 span,
h2 span {
  color: var(--gold-soft);
}

.intro {
  max-width: 500px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  transition: .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-gold {
  background: linear-gradient(135deg, #d4ad56, #b88935);
  color: #050505;
  box-shadow: 0 0 28px rgba(203,166,80,.18);
}

.btn-outline {
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.hero-stats {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hero-stats strong {
  display: block;
  color: var(--gold-soft);
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 7px;
}

.hero-stats small {
  color: #77716a;
  font-size: 11px;
}

.hero-photo-wrap {
  position: relative;
  height: 720px;
  align-self: end;
  z-index: 3;
}

.photo-frame {
  position: absolute;
  right: -15px;
  bottom: -35px;
  width: 610px;
  height: 750px;
  overflow: hidden;
  border-radius: 2px;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  filter: saturate(.76) contrast(1.06) brightness(.92);
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 52% 32%, transparent 0 36%, rgba(5,5,5,.08) 58%, rgba(5,5,5,.38) 100%);
}

.photo-fade-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(5,5,5,.72) 8%, transparent 30%);
}

.photo-fade-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, rgba(5,5,5,.72) 7%, transparent 25%);
}

.photo-halo {
  position: absolute;
  right: 35px;
  bottom: 90px;
  width: 520px;
  height: 610px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203,166,80,.24), transparent 67%);
  filter: blur(10px);
}

.monogram {
  position: absolute;
  z-index: 1;
  right: 10px;
  top: 120px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 285px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(203,166,80,.32);
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}

.ambient-one {
  width: 620px;
  height: 620px;
  right: -190px;
  top: 70px;
  background: radial-gradient(circle, rgba(203,166,80,.15), transparent 68%);
}

.ambient-two {
  width: 460px;
  height: 460px;
  left: 20%;
  bottom: -210px;
  background: radial-gradient(circle, rgba(203,166,80,.07), transparent 68%);
}

.hero-lines {
  position: absolute;
  right: -80px;
  bottom: 90px;
  width: 520px;
  height: 260px;
  border-top: 2px solid rgba(227,203,143,.55);
  transform: rotate(-31deg);
  box-shadow: 0 -15px 38px rgba(203,166,80,.22);
  z-index: 4;
}

.gold-streak {
  position: absolute;
  right: -55px;
  width: 420px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(227,203,143,.85), transparent);
  box-shadow: 0 0 22px rgba(203,166,80,.7);
  transform: rotate(-34deg);
  z-index: 6;
}

.streak-one {
  bottom: 160px;
}

.streak-two {
  bottom: 100px;
  right: -95px;
  opacity: .55;
}

.spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 18px rgba(227,203,143,.9);
  z-index: 7;
}

.spark-one { right: 90px; top: 210px; }
.spark-two { right: 260px; top: 330px; width: 3px; height: 3px; }
.spark-three { right: 30px; bottom: 210px; width: 4px; height: 4px; }

.strip {
  min-height: 105px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-family: Georgia, "Times New Roman", serif;
  color: rgba(227,203,143,.26);
  font-size: clamp(25px, 4vw, 50px);
}

.section,
.contact {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 115px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  margin-top: 40px;
}

h2 {
  font-size: clamp(50px, 6vw, 86px);
  line-height: 1;
  letter-spacing: -4px;
}

.about-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-copy .lead {
  color: var(--text);
  font-size: 21px;
}

.projects {
  border-top: 1px solid var(--line);
}

.projects h2 {
  margin: 38px 0 55px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cards article {
  min-height: 220px;
  padding: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(203,166,80,.045), transparent);
}

.cards small {
  color: var(--gold);
  letter-spacing: 2px;
}

.cards h3 {
  margin: 34px 0 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
}

.cards p {
  color: var(--muted);
  line-height: 1.7;
}

.contact {
  border-top: 1px solid var(--line);
  padding-bottom: 130px;
}

.contact h2 {
  max-width: 900px;
  margin-top: 35px;
}

footer {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: #6f6962;
  font-size: 10px;
  letter-spacing: 2px;
}

@media (max-width: 920px) {
  .topbar nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 115px;
  }

  .hero-photo-wrap {
    height: 560px;
  }

  .photo-frame {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 520px;
    height: 620px;
  }

  .monogram {
    top: 570px;
    right: -10px;
    font-size: 180px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .topbar,
  .hero,
  .section,
  .contact,
  footer {
    width: calc(100% - 28px);
  }

  .logo {
    font-size: 23px;
  }

  .logo span {
    font-size: 14px;
    letter-spacing: 3px;
  }

  .talk-btn {
    padding: 10px 11px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
  }

  h1 {
    font-size: clamp(52px, 16vw, 74px);
    letter-spacing: -3px;
  }

  .intro {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-stats small {
    display: none;
  }

  .hero-photo-wrap {
    height: 500px;
  }

  .photo-frame {
    width: 450px;
    height: 540px;
    bottom: -20px;
  }

  .photo-frame img {
    object-position: 50% 22%;
  }

  .strip {
    font-size: 19px;
  }

  .section,
  .contact {
    padding: 85px 0;
  }

  h2 {
    font-size: clamp(44px, 14vw, 66px);
    letter-spacing: -3px;
  }
}

@media (max-width: 600px) {
  .topbar {
    width: calc(100% - 24px);
    height: 72px;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }
  .topbar nav { display: none; }
  .logo { font-size: 23px; letter-spacing: 1px; }
  .logo span { font-size: 14px; letter-spacing: 3px; margin-left: 6px; }
  .talk-btn { padding: 11px 13px; font-size: 10px; }
  .strip { min-height: 86px; padding: 0 14px; gap: 12px; font-size: 18px; }
  .section, .contact, footer { width: calc(100% - 32px); }
  .section, .contact { padding: 84px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 35px; }
  .cards { grid-template-columns: 1fr; }
  .cards article { min-height: 190px; padding: 24px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; }
}


/* ===== v5.2 Ultimate Mobile Overrides ===== */
@media (max-width: 600px) {
  body {
    background: #050505;
  }

  .topbar {
    width: calc(100% - 24px);
    height: 70px;
    grid-template-columns: 1fr auto;
    gap: 8px;
    border-bottom-color: rgba(203,166,80,.20);
  }

  .logo {
    font-size: 22px;
    letter-spacing: 1px;
  }

  .logo span {
    font-size: 13px;
    letter-spacing: 3px;
    margin-left: 5px;
  }

  .talk-btn {
    min-height: 42px;
    padding: 0 12px;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
  }

  .hero-final {
    padding-top: 70px;
    min-height: auto;
  }

  .hero-final-inner {
    min-height: 650px;
    background-size: auto 114%;
    background-position: 72% 54%;
  }

  .hero-final-inner::before {
    background:
      linear-gradient(to bottom,
        rgba(5,5,5,.94) 0%,
        rgba(5,5,5,.76) 20%,
        rgba(5,5,5,.28) 43%,
        transparent 58%),
      linear-gradient(to top,
        rgba(5,5,5,.97) 0%,
        rgba(5,5,5,.62) 13%,
        transparent 30%);
  }

  .mobile-hero-copy {
    top: 26px;
    left: 22px;
    right: 22px;
  }

  .mobile-eyebrow {
    font-size: 8.5px;
    letter-spacing: 1.8px;
    line-height: 1.7;
  }

  .mobile-hero-copy h1 {
    margin-top: 14px;
    max-width: 320px;
    font-size: clamp(43px, 12.5vw, 58px);
    line-height: .94;
    letter-spacing: -2.7px;
  }

  .mobile-intro {
    max-width: 280px;
    margin-top: 14px;
    font-size: 12.5px;
    line-height: 1.65;
  }

  .mobile-cta {
    left: 22px;
    right: 22px;
    bottom: 18px;
    gap: 10px;
  }

  .mobile-cta a {
    min-height: 48px;
    font-size: 11.5px;
  }

  .mobile-cta .ig {
    border-color: rgba(203,166,80,.36);
    background: rgba(5,5,5,.74);
  }

  .strip {
    min-height: 78px;
    padding: 0 16px;
    gap: 10px;
    font-size: 17px;
    letter-spacing: .3px;
  }

  .section,
  .contact {
    padding: 78px 0;
  }

  .about-section-mobile {
    position: relative;
    padding-top: 94px;
  }

  .about-section-mobile::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(203,166,80,.62), rgba(203,166,80,.08));
  }

  .about-section-mobile .section-label {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 14px;
    margin-bottom: 34px;
    font-size: 10px;
    letter-spacing: 2.7px;
  }

  .about-section-mobile .section-label::before {
    content: "01";
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    letter-spacing: 0;
    color: rgba(227,203,143,.35);
  }

  .about-section-mobile .section-label {
    font-size: 0;
  }

  .about-section-mobile .section-label::after {
    content: "ABOUT ME";
    font-size: 10px;
    letter-spacing: 2.7px;
    color: var(--gold);
    font-family: Arial, Helvetica, sans-serif;
  }

  .about-grid {
    gap: 30px;
    margin-top: 0;
  }

  h2 {
    font-size: clamp(42px, 12.5vw, 58px);
    line-height: .98;
    letter-spacing: -2.8px;
  }

  .about-copy .lead {
    font-size: 17px;
    line-height: 1.75;
  }

  .about-copy p {
    font-size: 14px;
    line-height: 1.8;
  }

  .projects h2 {
    margin: 30px 0 42px;
  }

  .cards {
    gap: 14px;
  }

  .cards article {
    min-height: 178px;
    padding: 22px;
  }

  .cards h3 {
    margin: 26px 0 12px;
    font-size: 23px;
  }

  .contact h2 {
    margin-top: 28px;
  }

  footer {
    padding-bottom: 34px;
  }
}

/* ===== v5.3 MOBILE HERO REBUILD ===== */
@media (max-width: 600px) {
  .hero-final {
    padding-top: 70px !important;
    min-height: auto !important;
    background: #050505 !important;
  }

  .hero-final-inner {
    width: 100% !important;
    min-height: 690px !important;
    aspect-ratio: auto !important;
    background-image: url('./hero-final.png') !important;
    background-repeat: no-repeat !important;
    background-size: 820px auto !important;
    background-position: 66% 145px !important;
    background-color: #050505 !important;
  }

  .hero-final-inner::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    background:
      linear-gradient(to bottom,
        #050505 0%,
        rgba(5,5,5,.98) 13%,
        rgba(5,5,5,.76) 27%,
        rgba(5,5,5,.12) 48%,
        transparent 61%),
      linear-gradient(to top,
        #050505 0%,
        rgba(5,5,5,.88) 12%,
        rgba(5,5,5,.18) 30%,
        transparent 42%) !important;
  }

  .mobile-hero-copy {
    display: block !important;
    position: absolute !important;
    z-index: 5 !important;
    top: 30px !important;
    left: 22px !important;
    right: 22px !important;
  }

  .mobile-eyebrow {
    font-size: 8px !important;
    line-height: 1.7 !important;
    letter-spacing: 1.7px !important;
  }

  .mobile-hero-copy h1 {
    margin-top: 13px !important;
    max-width: 305px !important;
    font-size: clamp(40px, 11.7vw, 53px) !important;
    line-height: .94 !important;
    letter-spacing: -2.5px !important;
  }

  .mobile-intro {
    max-width: 270px !important;
    margin-top: 13px !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
  }

  .mobile-cta {
    display: grid !important;
    left: 24px !important;
    right: 24px !important;
    bottom: 20px !important;
    gap: 9px !important;
    z-index: 6 !important;
  }

  .mobile-cta a {
    min-height: 46px !important;
    font-size: 11px !important;
  }

  .strip {
    min-height: 72px !important;
    font-size: 16px !important;
  }
}

/* ===== v5.4 Social Links ===== */
.btn-telegram,
.btn-discord {
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-telegram:hover,
.btn-discord:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

@media (max-width: 600px) {
  .mobile-cta {
    bottom: 16px !important;
    gap: 8px !important;
  }

  .mobile-cta a {
    min-height: 44px !important;
  }

  .mobile-cta .tg,
  .mobile-cta .dc {
    border: 1px solid rgba(203,166,80,.30);
    color: #f5f0e7;
    background: rgba(5,5,5,.78);
  }

  .hero-final-inner {
    min-height: 790px !important;
  }

  .contact .hero-actions {
    gap: 10px;
  }
}
