@charset "UTF-8";

/* =========================================
   studio76 media – Homepage CSS
   ========================================= */

/* ---------- Design Tokens ---------- */
:root {
  --nav: #1a1d2f;
  --bg: #394551;
  --bg-soft: #1e233e;
  --bg-card: rgba(30, 35, 62, 0.88);
  --text: #1a1d2f;
  --text2: #f2f1e0;
  --text-soft: rgba(242, 241, 224, 0.78);
  --line: rgba(242, 241, 224, 0.14);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);

  --max-width: 1360px;
  --radius: 14px;

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;

  --font-display: "Arima", serif;
  --font-heading: "Arima", serif;
  --font-body: "Fahkwang", sans-serif;
}

/* ---------- Reset ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  min-height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
    url("images/background.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text2);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* ---------- Links ---------- */
a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

a:hover {
  opacity: 0.82;
}

/* ---------- Header ---------- */
.site-header {
  width: 100%;
  background: rgba(26, 29, 47, 0.95);
  backdrop-filter: blur(6px);
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

/* ---------- Main ---------- */
main {
  width: 100%;
}

/* ---------- Hero ---------- */
.hero-picture {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  margin-bottom: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--bg-soft);
}

.hero-picture {
  position: relative;
  width: 100%;
  min-height: 60vh;
  max-height: 720px;
  overflow: hidden;
}

/* ---------- Hero Slider ---------- */
.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.18)
  );
  z-index: 1;
}
.hero-announcement {
    position: absolute;
    left: 50%;
    bottom: 84px;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 340px;

    padding: 14px 18px;

    text-align: center;
    font-size: 1.05rem;
    line-height: 1.45;

    background: rgba(22, 24, 34, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border-radius: 14px;
    box-sizing: border-box;
  }

/* ---------- Back Link ---------- */
.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 241, 224, 0.82);
}

.back-link:hover {
  color: var(--text2);
  opacity: 1;
}

/* =========================================
   Legal Page
   ========================================= */


body.legal {
  min-height: 100vh;
}

main.legal-page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 24px 5rem;
  color: var(--text2);
}

.legal-page-inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.legal-card {
  width: 100%;
  padding: 2.6rem 2.4rem;
  background: rgba(10, 14, 24, 0.42);
  border: 1px solid rgba(242, 241, 224, 0.08);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.legal-page h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text2);
}

.legal-page h2 {
  margin: 2.1rem 0 0.8rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text2);
}

.legal-page h3 {
  margin: 1.2rem 0 0.45rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text2);
}

.legal-page p {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(242, 241, 224, 0.9);
}

.legal-intro {
  margin-bottom: 2rem;
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(242, 241, 224, 0.78);
}

.legal-section {
  padding-bottom: 1.3rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid rgba(242, 241, 224, 0.08);
}

.legal-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.inline-link {
  color: var(--text2);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.inline-link:hover {
  opacity: 0.75;
}


/* ---------- Footer ---------- */

.site-footer {
  width: 100%;
  padding: 1.5rem 40px 2rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-4);
  align-items: center;
  background: #1a1d2f;
  color: var(--text-soft);
  box-sizing: border-box;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.footer-links a:hover {
  color: var(--text2);
  opacity: 1;
}

.footer-copyright {
  font-size: 0.9rem;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .hero-picture {
    min-height: 380px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 820px) {

  .site-header {
    padding: 18px 18px 10px;
  }

  .logo img {
    width: 78px;
    height: auto;
  }

  main {
    padding: 0;
  }

  /* HERO IMAGE */

  .hero-picture {
    width: 100%;
    height: 60vh;
    min-height: 320px;
    border-radius: 0 0 18px 18px;
    overflow: hidden;
  }

  .hero-slides,
  .hero-slide {
    width: 100%;
    height: 100%;
  }

  .hero-slide {
    object-fit: cover;
  }

  /* ANNOUNCEMENT BOX */

  .hero-announcement {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 340px;

    padding: 14px 18px;

    text-align: center;
    font-size: 0.95rem;
    line-height: 1.45;

    background: rgba(22, 24, 34, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border-radius: 14px;
    box-sizing: border-box;
  }

  /* LEGAL PAGES */

  .legal-page {
    padding: 2rem 16px 3.5rem;
  }

  .legal-page-inner {
    max-width: 100%;
  }

  .legal-card {
    padding: 1.6rem 1.2rem;
    border-radius: 14px;
  }

  .legal-page p {
    line-height: 1.7;
  }

  .footer-links {
    justify-content: center;
  }

}
