:root {
  --ink: #080706;
  --ivory: #f0dfc5;
  --gold: #c79b54;
  --gold-soft: #ddbd83;
  --line: rgba(199, 155, 84, 0.38);
  --muted: rgba(240, 223, 197, 0.66);
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--ink); scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

.landing {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #050505;
}

.hero-media,
.shade,
.grain {
  position: absolute;
  inset: 0;
}

.hero-media { z-index: -4; }

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(.78) contrast(1.06) brightness(.76);
  animation: image-in 1.8s cubic-bezier(.2,.75,.2,1) both;
}

.shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(5,5,5,.98) 0%, rgba(5,5,5,.93) 19%, rgba(5,5,5,.54) 47%, rgba(5,5,5,.08) 74%, rgba(5,5,5,.4) 100%),
    linear-gradient(180deg, rgba(4,4,4,.58) 0%, transparent 31%, transparent 68%, rgba(4,4,4,.8) 100%);
}

.grain {
  z-index: -2;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.masthead {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(24px, 4.6vw, 68px) clamp(22px, 7.15vw, 110px);
  animation: fade-down .9s .3s ease both;
}

.wordmark { display: inline-flex; flex-direction: column; gap: 4px; }

.wordmark strong {
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1;
  letter-spacing: -.015em;
}

.wordmark span {
  color: rgba(240,223,197,.72);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .055em;
}

.contact-link {
  position: relative;
  padding: 6px 0 8px;
  color: rgba(240,223,197,.82);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.contact-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right .35s ease;
}

.contact-link:hover::after,
.contact-link:focus-visible::after { right: 0; }

.hero-content {
  width: min(590px, 42vw);
  margin-left: clamp(22px, 7.15vw, 110px);
  padding-top: clamp(170px, 20vh, 220px);
  padding-bottom: 115px;
  animation: copy-in 1.1s .15s cubic-bezier(.2,.75,.2,1) both;
}

.eyebrow {
  margin: 0 0 17px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .34em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(70px, 8vw, 124px);
  font-weight: 400;
  line-height: .74;
  letter-spacing: -.065em;
  text-transform: uppercase;
  text-shadow: 0 8px 32px rgba(0,0,0,.25);
}

h1 span { display: block; }

.roles {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 27px 0 0;
  color: rgba(240,223,197,.88);
  font-size: clamp(11px, 1.05vw, 15px);
  letter-spacing: .02em;
}

.roles i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 330px;
  max-width: 68%;
  margin: 34px 0 26px;
  color: var(--gold);
}

.divider span { height: 1px; flex: 1; background: linear-gradient(90deg, var(--gold), transparent); }
.divider span:last-child { background: linear-gradient(90deg, transparent, var(--gold)); }
.divider b { font-size: 9px; font-weight: 400; }

.tagline {
  margin: 0 0 31px;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.55vw, 40px);
  font-style: italic;
  letter-spacing: .04em;
}

.language-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: min(100%, 570px);
}

.language-picker a {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr 18px;
  align-items: center;
  min-height: 64px;
  padding: 0 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(8,7,6,.46);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: border-color .28s ease, background .28s ease, transform .28s ease, color .28s ease;
}

.language-picker a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: translateY(102%);
  transition: transform .36s cubic-bezier(.2,.75,.2,1);
}

.language-picker a:hover,
.language-picker a:focus-visible {
  color: #171008;
  border-color: var(--gold);
  transform: translateY(-3px);
  outline: none;
}

.language-picker a:hover::before,
.language-picker a:focus-visible::before { transform: translateY(0); }

.language-picker strong {
  justify-self: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 600;
}

.language-code {
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  transition: color .28s ease;
}

.language-picker a:hover .language-code,
.language-picker a:focus-visible .language-code { color: #171008; }

.language-picker svg {
  justify-self: end;
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .28s ease;
}

.language-picker a:hover svg,
.language-picker a:focus-visible svg { transform: translateX(3px); }

.landing-footer {
  position: absolute;
  left: clamp(22px, 7.15vw, 110px);
  right: clamp(22px, 7.15vw, 110px);
  bottom: max(26px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(240,223,197,.38);
  font-size: 9px;
  letter-spacing: .08em;
  animation: fade-up .9s .8s ease both;
}

.landing-footer a { transition: color .25s ease; }
.landing-footer a:hover { color: var(--gold-soft); }
.footer-line { width: 38px; height: 1px; background: rgba(199,155,84,.4); }

@keyframes image-in { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
@keyframes copy-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .hero-content { width: min(610px, 54vw); }
  h1 { font-size: clamp(66px, 9.4vw, 94px); }
  .language-picker { grid-template-columns: 1fr; width: min(290px, 100%); }
  .language-picker a { min-height: 50px; }
}

@media (max-width: 760px) {
  .landing { min-height: max(100svh, 720px); overflow: hidden; }

  .hero-media img {
    object-position: 48% center;
    filter: saturate(.72) contrast(1.06) brightness(.63);
  }

  .shade {
    background:
      linear-gradient(180deg, rgba(5,5,5,.97) 0%, rgba(5,5,5,.74) 24%, rgba(5,5,5,.18) 47%, rgba(5,5,5,.76) 73%, rgba(5,5,5,.98) 100%),
      linear-gradient(90deg, rgba(5,5,5,.5), transparent 65%);
  }

  .masthead { padding: 22px 20px; }
  .wordmark span { display: none; }
  .contact-link { font-size: 9px; }

  .hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: auto;
    margin: 0;
    padding: 112px 20px 94px;
  }

  .eyebrow { margin-bottom: 11px; font-size: 8px; }
  h1 { font-size: clamp(54px, 17vw, 76px); line-height: .78; }
  .roles { margin-top: 18px; gap: 8px; font-size: 10px; }
  .divider { width: 210px; margin: 20px 0 15px; }
  .tagline { margin-bottom: 20px; font-size: 23px; }

  .language-picker {
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }

  .language-picker a {
    grid-template-columns: 28px 1fr 20px;
    min-height: 48px;
    padding: 0 15px;
    background: rgba(8,7,6,.68);
  }

  .language-picker strong { justify-self: start; font-size: 15px; }

  .landing-footer {
    left: 20px;
    right: 20px;
    bottom: max(18px, env(safe-area-inset-bottom));
    justify-content: space-between;
    font-size: 8px;
  }

  .footer-line { display: none; }
}

@media (max-width: 370px), (max-height: 720px) and (max-width: 760px) {
  .landing { min-height: 650px; }
  .hero-content { padding-bottom: 72px; }
  .eyebrow, .divider { display: none; }
  .roles { margin-bottom: 12px; }
  .tagline { font-size: 20px; margin-bottom: 14px; }
  .language-picker a { min-height: 44px; }
}

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