:root {
  --black: #070707;
  --panel: #101010;
  --panel-2: #171717;
  --gold: #d9a93c;
  --gold-light: #f3d27a;
  --cream: #f2eee5;
  --muted: #a3a09a;
  --line: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 96px;
  padding: 0 clamp(24px, 6vw, 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font-weight: 700; letter-spacing: .08em; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand b { color: var(--gold-light); font-weight: 500; }
nav { display: flex; gap: 36px; }
nav a { color: #d2cec5; text-decoration: none; font-size: .9rem; transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--gold-light); }

.hero {
  position: relative;
  min-height: 820px;
  height: 100vh;
  max-height: 980px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  align-items: center;
  gap: 40px;
  padding: 130px clamp(24px, 7vw, 120px) 90px;
  overflow: hidden;
  background: radial-gradient(circle at 82% 48%, rgba(196, 143, 28, .13), transparent 32%), linear-gradient(140deg, #080808 40%, #11100d 100%);
}
.market-grid {
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, black 25%, black 75%, transparent);
}
.hero-copy { position: relative; z-index: 2; max-width: 840px; }
.eyebrow, .section-number { color: var(--gold-light); text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 600; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.eyebrow span { width: 42px; height: 1px; background: var(--gold); }
h1, h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; line-height: 1.08; font-weight: 600; }
h1 { font-size: clamp(3.2rem, 6.4vw, 7.2rem); letter-spacing: -.04em; }
h1 em { color: var(--gold-light); font-weight: 600; }
.intro { max-width: 630px; margin: 34px 0 0; color: #c5c1b9; font-size: clamp(1rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 46px; }
.scope-note { margin: 25px 0 0; color: #8f8b83; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .11em; }
.button { display: inline-flex; padding: 14px 24px; background: var(--gold); color: #090909; border: 1px solid var(--gold); text-decoration: none; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--gold-light); }
.text-link { text-decoration: none; font-size: .92rem; }
.text-link span { color: var(--gold-light); margin-left: 8px; }
.hero-mark { position: relative; z-index: 1; display: grid; place-items: center; }
.hero-mark img { position: relative; width: min(34vw, 440px); filter: drop-shadow(0 25px 55px rgba(0,0,0,.45)); animation: settle .9s ease-out both; }
.halo { position: absolute; width: 78%; aspect-ratio: 1; border: 1px solid rgba(217,169,60,.32); border-radius: 50%; box-shadow: 0 0 90px rgba(217,169,60,.08), inset 0 0 90px rgba(217,169,60,.05); }
.hero-foot { position: absolute; left: clamp(24px, 7vw, 120px); right: clamp(24px, 7vw, 120px); bottom: 28px; display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); color: #77736c; font-size: .77rem; text-transform: uppercase; letter-spacing: .12em; }

.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 130px 0; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
h2 { font-size: clamp(2.7rem, 5vw, 5.1rem); letter-spacing: -.035em; }
.about-copy { padding-top: 58px; }
.about-copy p { max-width: 560px; margin: 0 0 24px; color: #bdb9b0; font-size: 1.08rem; }
.trader-profile { display: flex; align-items: center; gap: 24px; max-width: 560px; margin-bottom: 34px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.trader-profile img { width: 148px; height: 148px; flex: 0 0 148px; object-fit: cover; border: 1px solid rgba(217,169,60,.45); filter: saturate(.82) contrast(1.04); }
.trader-profile div { display: flex; flex-direction: column; }
.trader-profile span { margin-bottom: 8px; color: var(--gold-light); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.trader-profile strong { font-family: "Playfair Display", Georgia, serif; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.1; font-weight: 600; }
.trader-profile small { margin-top: 7px; color: var(--muted); font-size: .9rem; }
.principles { border-top: 1px solid var(--line); }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 42px; background: var(--line); border: 1px solid var(--line); }
.principle-grid article { min-height: 320px; padding: 38px; background: var(--panel); }
.principle-grid article > span { color: var(--gold); font-size: .8rem; }
.principle-grid h3 { margin: 76px 0 18px; font-family: "Playfair Display", Georgia, serif; font-size: 2rem; }
.principle-grid p { margin: 0; color: var(--muted); }

.achievements { border-top: 1px solid var(--line); }
.achievements-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 56px; }
.achievements-heading > p { max-width: 560px; margin: 0 0 8px; color: #bdb9b0; font-size: 1.08rem; }
.certificate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.certificate-card { display: block; overflow: hidden; border: 1px solid var(--line); background: var(--panel); color: inherit; text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.certificate-card:hover, .certificate-card:focus-visible { transform: translateY(-4px); border-color: rgba(217,169,60,.62); outline: none; }
.certificate-image { aspect-ratio: 16 / 10; overflow: hidden; background: #050505; }
.certificate-image img { width: 100%; height: 100%; display: block; object-fit: contain; transition: transform .35s ease; }
.certificate-card:hover .certificate-image img { transform: scale(1.015); }
.certificate-meta { display: grid; grid-template-columns: 1fr auto; gap: 5px 24px; padding: 21px 24px 23px; border-top: 1px solid var(--line); }
.certificate-meta span { color: var(--gold-light); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.certificate-meta strong { grid-column: 1; font-family: "Playfair Display", Georgia, serif; font-size: 1.55rem; font-weight: 600; }
.certificate-meta small { grid-column: 2; grid-row: 1 / span 2; align-self: end; color: var(--muted); font-size: .76rem; }
.achievement-note { max-width: 850px; margin: 28px 0 0; color: #77736c; font-size: .78rem; }

.contact { display: grid; grid-template-columns: 1.35fr .65fr; align-items: end; gap: 70px; border-top: 1px solid var(--line); }
.contact h2 { margin-bottom: 34px; }
.email { color: var(--gold-light); font-size: clamp(1.15rem, 2.2vw, 1.75rem); text-decoration: none; border-bottom: 1px solid rgba(243,210,122,.45); padding-bottom: 5px; }
.email span { margin-left: 10px; }
address { display: flex; flex-direction: column; color: var(--muted); font-style: normal; }
address strong { color: var(--cream); margin-bottom: 12px; }

footer { padding: 30px clamp(24px, 6vw, 96px); display: flex; align-items: center; justify-content: space-between; gap: 28px; border-top: 1px solid var(--line); color: #7c7972; font-size: .78rem; }
.compact img { width: 36px; height: 36px; }
.compact { color: #bdb9b0; font-size: .78rem; }
footer a:last-child { text-decoration: none; }

@keyframes settle { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-mark img { animation: none; } }

@media (max-width: 820px) {
  .site-header { height: 78px; padding: 0 20px; }
  .brand img { width: 40px; height: 40px; }
  nav { gap: 18px; }
  nav a:nth-child(2) { display: none; }
  .hero { min-height: 780px; height: auto; max-height: none; grid-template-columns: 1fr; align-content: center; padding: 125px 24px 92px; }
  .hero-copy { order: 2; }
  .hero-mark { order: 1; margin-bottom: -15px; }
  .hero-mark img { width: min(58vw, 270px); }
  h1 { font-size: clamp(2.8rem, 12vw, 4.8rem); }
  .intro { margin-top: 24px; }
  .hero-actions { margin-top: 34px; flex-wrap: wrap; }
  .scope-note { line-height: 1.8; }
  .hero-foot { left: 24px; right: 24px; }
  .hero-foot span:last-child { display: none; }
  .section { padding: 90px 0; }
  .about, .contact, .achievements-heading { grid-template-columns: 1fr; gap: 35px; }
  .about-copy { padding-top: 0; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: 245px; }
  .principle-grid h3 { margin-top: 50px; }
  .certificate-grid { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  nav { gap: 14px; }
  nav a { font-size: .8rem; }
  nav a:nth-child(3) { display: none; }
  .brand span { font-size: .88rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; justify-content: center; }
  .certificate-meta { grid-template-columns: 1fr; }
  .certificate-meta small { grid-column: 1; grid-row: auto; }
  .trader-profile { align-items: flex-start; }
  .trader-profile img { width: 112px; height: 112px; flex-basis: 112px; }
}
