/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #fff;
}

body {
  font-family: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  display: block;
  max-width: 100%;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Page wrapper: full width. The headline spans across; the lower section is split. */
.page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
}

/* Masthead */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.logo img {
  height: 32px;
  width: auto;
  display: block;
}

.location {
  font-family: "Andale Mono", "Courier New", Courier, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1;
  display: flex;
  gap: 14px;
  text-transform: uppercase;
  color: #828282;
}

/* Hero — spans full width */
.hero h1 {
  font-size: clamp(28px, 2.92vw, 58px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin: 0 0 60px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

/* Info section — left half only, image floats on right */
.info {
  width: 50%;
  padding-right: 48px;
  flex: 1;
}

.info dl {
  margin: 0;
  display: grid;
  grid-template-columns: 130px 1fr;
  column-gap: 24px;
  row-gap: 24px;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.info dt {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #000;
}

.info dd {
  margin: 0;
  color: #828282;
}

.info dd ul li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 14px;
  text-align: justify;
  text-justify: inter-word;
}

.info dd ul li:last-child {
  margin-bottom: 0;
}

.info dd ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #828282;
}

.info dd strong {
  color: #000;
  font-weight: 700;
}

.info dd:not(:has(ul)) {
  text-align: justify;
  text-justify: inter-word;
}

.apply {
  color: #1a4dff;
  font-weight: 700;
  margin-left: 4px;
}

.apply:hover {
  text-decoration: underline;
}

/* Footer — sits at bottom of left column */
.colophon {
  font-family: "Andale Mono", "Courier New", Courier, monospace;
  display: flex;
  gap: 24px;
  margin-top: 48px;
  font-size: 10px;
  letter-spacing: 0.04em;
  font-weight: 400;
  color: #828282;
  text-transform: uppercase;
}

/* Right-side media — fixed at bottom-right, never above the headline area */
.media {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 50%;
  max-height: calc(100vh - var(--info-top, 0px));
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center bottom;
}

/* Responsive: stack on narrow screens */
@media (max-width: 900px) {
  .hero h1 {
    font-size: clamp(24px, 7vw, 44px);
    margin-bottom: 32px;
  }

  .info {
    width: 100%;
    padding-right: 0;
    order: 3;
  }

  .colophon {
    order: 4;
  }

  .info dl {
    grid-template-columns: 100px 1fr;
    column-gap: 16px;
    row-gap: 22px;
    font-size: 13px;
  }

  .media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 40px;
    order: 2;
  }

  .media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
