/* ========== Ula minimal static styles ========== */

/* Brand-ish palette (approximate to original feel) */
:root {
  --ula-ink: #1d1e22;
  --ula-bg: #ffffff;
  --ula-green: #4ac78c;
  --ula-white: #ffffff;

  --container-max: 1100px;
}

/* Reset-ish, minimal */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

h1,
h2,
h3,
h4,
p {
  margin: 0 0 0.6rem;
}

body {
  font-family: "Montserrat Alternates", sans-serif, ui-sans-serif, system-ui,
    -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
    "Liberation Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background: var(--ula-bg);
  line-height: 1.5;
}

/* Layout */
.container {
  width: min(var(--container-max), 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid #eee;
}
.site-header .container {
  display: flex;
  align-items: center;
  min-height: 68px;
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(52vh, 60vh, 72vh);
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  background: #000; /* fallback if no poster/video */
  border: 0;
  pointer-events: none;
}

@media (max-aspect-ratio: 16/9) {
  .hero-video {
    width: 100%;
    height: 177.78%;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: clamp(2rem, 6vw, 4rem);
}

.hero h1 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.story {
  padding-block: clamp(2rem, 6vw, 4rem);
}

.story .letter {
  border-radius: 18px;
  border: 1px solid rgba(20, 21, 24, 0.08);
  box-shadow: 0 18px 35px rgba(17, 24, 39, 0.08);
  margin-inline: auto;
  padding: clamp(1.75rem, 5vw, 3rem);
  max-width: max(70ch, 65vw);
  line-height: 1.6;
  text-align: justify;
  background-image: linear-gradient(
    135deg,
    rgba(94, 44, 237, 0.05),
    rgba(0, 184, 241, 0.05)
  );
}

.letter-signoff {
  margin-top: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
}

@media (max-width: 720px) {
  .story .letter {
    padding: clamp(1.25rem, 6vw, 2rem);
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.07);
  }
}
.story h2 {
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  margin-bottom: 0.25rem;
}
.story p {
  color: var(--ula-ink);
  font-size: clamp(1rem, 2.3vw, 1.1rem);
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  background: var(--ula-green);
}

.footer-top {
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.contact {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.contact-contents {
  display: flex;
  flex-direction: column;
}

.contact-contents p,
.contact-contents a {
  font-size: 0.8rem;
  margin: 0; /* eliminate vertical spacing between lines */
  color: var(--ula-white);
  text-decoration: none;
}

.copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 1.25rem 2rem;
  border-top: 1px solid var(--ula-white);
}

.copyright p {
  font-size: 0.8rem;
  margin: 0; /* eliminate vertical spacing between lines */
  color: var(--ula-white);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    min-height: 52vh;
  }
}
