/* Standalone content pages (privacy.html): page base, header + menu, footer.
 * Same classes and values as the homepage (index.html), with tokens from theme.css.
 * Content styles live in content.css. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--yt-bg);
  color: rgb(var(--yt-white-rgb) / .92);
  font-family: var(--yt-font-sans);
  -webkit-font-smoothing: antialiased;
}
body.yt-menu-open { overflow: hidden; }
::selection { background: var(--yt-cyan); color: var(--yt-bg); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--yt-cyan); outline-offset: 3px; }
@keyframes ytFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------------- header (homepage header, sticky instead of over the hero) ---------------- */
.yt-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(34px, 4vw, 52px) clamp(28px, 3.4vw, 48px);
  background: linear-gradient(to bottom, rgb(var(--yt-bg-rgb) / .95) 0%, rgb(var(--yt-bg-rgb) / .75) 60%, rgb(var(--yt-bg-rgb) / 0) 100%);
}
.yt-header-logo { height: clamp(30px, 2.9vw, 42px); width: auto; display: block; }
.yt-header-right {
  position: absolute;
  right: clamp(28px, 3.4vw, 48px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 34px);
}
.yt-lang { display: flex; align-items: center; gap: 9px; font-size: clamp(14px, 1.3vw, 16px); letter-spacing: .12em; font-weight: 600; }
.yt-lang-opt { padding: 0; border: none; background: none; font: inherit; letter-spacing: inherit; cursor: pointer; color: var(--yt-peach); opacity: .45; transition: opacity .3s; }
.yt-lang-opt[aria-pressed="true"] { opacity: 1; }
.yt-lang-sep { color: var(--yt-peach); opacity: .4; }

/* hamburger (same SVG + animation as the homepage) */
.yt-menu-btn { background: none; border: none; cursor: pointer; padding: 6px; display: flex; align-items: center; }
.yt-ham { display: block; overflow: visible; }
.yt-ham-bar { fill: var(--yt-peach); transform-box: fill-box; transform-origin: center; }
.yt-ham-tb { transition: transform .42s cubic-bezier(.4, 0, .2, 1); }
.yt-ham-mid { transition: transform .3s ease, opacity .3s ease; }
.yt-menu-open #ham-top { transform: translateY(20.3px) rotate(45deg); }
.yt-menu-open #ham-bot { transform: translateY(-20.3px) rotate(-45deg); }
.yt-menu-open #ham-mid { opacity: 0; transform: scaleX(0); }

/* menu overlay */
.yt-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgb(var(--yt-bg-rgb) / .96);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vh, 30px);
  animation: ytFade .35s ease both;
}
.yt-menu-link { font-family: var(--yt-font-serif); font-size: clamp(34px, 5.75vw, 65px); color: var(--yt-cream); text-decoration: none; }

/* ---------------- footer (identical to the homepage) ---------------- */
.yt-footer {
  position: relative;
  background: var(--yt-bg-2);
  border-radius: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 36px) 0 0;
  padding: clamp(50px, 8vh, 90px) clamp(28px, 7vw, 110px) 46px;
}
.yt-footer-inner { max-width: 1320px; margin: 0 auto; }
.yt-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.yt-footer-logo { height: clamp(30px, 3.4vw, 46px); width: auto; display: block; }
.yt-footer-li { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; text-decoration: none; }
.yt-footer-li-img { width: 46px; height: 46px; display: block; }
.yt-footer-rule { height: 1px; background: rgb(var(--yt-cream-rgb) / .2); margin: clamp(26px, 4vh, 42px) 0; }
.yt-footer-legal { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--yt-font-sans); font-size: 12px; letter-spacing: .06em; color: rgb(var(--yt-white-rgb) / .55); }
.yt-footer-legal a { color: inherit; text-decoration: none; }

/* ---------------- mobile (same breakpoint + values as the homepage) ---------------- */
@media (max-width: 720px) {
  .yt-header { justify-content: flex-start; }
  .yt-header-logo { height: 26px; }
  .yt-ham { width: 34px; height: 30px; }
}
