:root {
  --bg: #070706;
  --text: #f2eee7;
  --muted: rgba(242, 238, 231, .76);
  --soft: rgba(242, 238, 231, .54);
  --gold: #d5a562;
  --gold-soft: rgba(213, 165, 98, .28);
  --line: rgba(213, 165, 98, .52);
  --shadow: rgba(0, 0, 0, .72);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(22px, 3vw, 42px);
  background: linear-gradient(180deg, rgba(7,7,6,.82), rgba(7,7,6,.36) 62%, rgba(7,7,6,0));
  backdrop-filter: blur(10px);
}

.brand {
  font-size: .82rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: .52em;
  text-transform: lowercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(242, 238, 231, .74);
  transition: color .22s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  background-image:
    radial-gradient(circle at 72% 40%, rgba(213,165,98,.16), rgba(213,165,98,0) 34%),
    linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.70) 32%, rgba(0,0,0,.36) 66%, rgba(0,0,0,.50) 100%),
    linear-gradient(0deg, rgba(7,7,6,.92) 0%, rgba(7,7,6,.18) 45%, rgba(7,7,6,.58) 100%),
    url('images/hero.webp');
  background-size: cover;
  background-position: center center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7,7,6,.74), rgba(7,7,6,0) 42%, rgba(7,7,6,.42));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 44px));
  margin-left: clamp(28px, 22vw, 460px);
  padding-top: 78px;
  padding-bottom: 72px;
}

.kicker {
  margin: 0 0 24px;
  color: var(--gold);
  font-weight: 800;
  font-size: clamp(.72rem, .9vw, .95rem);
  letter-spacing: .48em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-family: Optima, Didot, Georgia, serif;
  font-size: clamp(3.05rem, 8.3vw, 7.9rem);
  line-height: .94;
  font-weight: 300;
  letter-spacing: .03em;
  text-wrap: balance;
  overflow-wrap: normal;
  text-shadow: 0 22px 48px var(--shadow);
}

.hero-line {
  width: 86px;
  height: 1px;
  margin: clamp(30px, 4vw, 52px) 0 28px;
  background: linear-gradient(90deg, var(--gold), rgba(213,165,98,0));
}

.hero-copy {
  max-width: 770px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.34vw, 1.42rem);
  line-height: 1.58;
  letter-spacing: .01em;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(34px, 4vw, 48px);
}

.cta-center {
  max-width: 770px;
  justify-content: center;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  color: rgba(242,238,231,.84);
  background: rgba(7,7,6,.30);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}

.btn.primary {
  color: #120d08;
  background: linear-gradient(135deg, #f1c77e, #c9914d);
  border-color: rgba(241,199,126,.82);
  text-transform: none;
  letter-spacing: .08em;
}

.appointment-btn {
  text-transform: none;
  letter-spacing: .10em;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(241,199,126,.82);
  color: var(--text);
  background: rgba(213,165,98,.12);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  color: #090706;
  background: linear-gradient(135deg, #ffd894, #d9a35b);
}

.linkedin-row {
  max-width: 770px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 76px;
  padding: 22px;
  border-top: 1px solid rgba(213,165,98,.12);
  background: #050504;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  opacity: .82;
  transition: transform .22s ease, opacity .22s ease;
}

.linkedin-link:hover,
.linkedin-link:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.linkedin-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-linkedin {
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .hero-inner { margin-left: clamp(24px, 10vw, 150px); }
}

@media (max-width: 760px) {
  .site-header {
    padding: 16px 18px;
    gap: 18px;
  }

  .brand {
    letter-spacing: .34em;
    font-size: .74rem;
  }

  .nav a {
    font-size: .68rem;
    letter-spacing: .24em;
  }

  .hero {
    align-items: end;
    background-image:
      linear-gradient(0deg, rgba(7,7,6,.98) 0%, rgba(7,7,6,.78) 44%, rgba(7,7,6,.38) 78%, rgba(7,7,6,.70) 100%),
      url('images/hero.webp');
    background-position: 58% center;
  }

  .hero::before { display: none; }

  .hero-inner {
    width: min(100%, calc(100% - 36px));
    margin: 0 auto;
    padding-top: 112px;
    padding-bottom: 52px;
  }

  .kicker {
    letter-spacing: .31em;
    font-size: .68rem;
    margin-bottom: 20px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.72rem, 13.4vw, 4.55rem);
    line-height: .96;
    letter-spacing: .018em;
  }

  .hero-copy {
    font-size: 1.02rem;
    line-height: 1.62;
  }

  .cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .btn {
    width: 100%;
    padding-inline: 20px;
    min-height: 54px;
  }
}

@media (max-width: 430px) {
  .hero-inner {
    width: min(100%, calc(100% - 32px));
    padding-top: 104px;
    padding-bottom: 44px;
  }

  h1 {
    font-size: clamp(2.38rem, 12.2vw, 3.28rem);
    line-height: .98;
    letter-spacing: .012em;
  }

  .hero-copy {
    font-size: .98rem;
    line-height: 1.66;
  }
}

@media (max-width: 380px) {
  .brand {
    letter-spacing: .26em;
  }

  .linkedin-link {
    width: 30px;
    height: 30px;
  }

  h1 {
    font-size: clamp(2.2rem, 11.4vw, 2.9rem);
  }
}

@media (max-height: 620px) and (orientation: landscape) {
  .hero {
    align-items: center;
  }

  .hero-inner {
    padding-top: 96px;
    padding-bottom: 34px;
  }

  h1 {
    font-size: clamp(2.5rem, 8.5vw, 4.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
