@font-face {
  font-family: "Art Nuvo";
  src: url("art-nuvo.otf") format("opentype");
  font-display: swap;
}

:root {
  --bg: #000;
  --text: #ffffff;
  --nav-bg: #000;
  --nav-text: #fff;
  --nav-h: 45px;

  --logo-bold: 200;
  --logo-spacing: -300px;
}

html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Sora", system-ui, sans-serif;
}
.home { overflow: hidden; }

.video-link {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.video-link:focus-visible { outline: 4px solid #ffffff; outline-offset: -4px; }

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg);
  pointer-events: none;
}

.welcome {
  position: fixed;
  top: -30px; left: 0; right: 0;
  z-index: 2;
  margin: 0;
  text-align: center;
  white-space: nowrap;
  line-height: 1.3;
  padding: clamp(16px, 3vw, 36px) 16px;
  font-family: "Art Nuvo", serif;
  font-size: clamp(1.4rem, 4vw, 3.25rem);
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.welcome .brand {
  font-size: 7rem;
  letter-spacing: -0.08em;
  -webkit-text-stroke: 1.5px currentColor;
  text-align: center;
}

.logo { height: 1.6em; width: auto; overflow: visible; }

@media (max-width: 800px) {
  .welcome {
    display: block;
    white-space: normal;
    text-align: center;
    line-height: 1;
    font-size: 8vw;
    padding-top: 40px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .welcome .welcome-text,
  .welcome .brand {
    display: block;
    padding-top: 20px;
  }
  .welcome .brand {
    font-size: 7rem;
    line-height: 0.9;
    margin-top: -30px; 
    padding-top: px;
  }

  .contact .welcome {
    padding-top: -5px;
  }
}

.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: var(--nav-bg);
}
.bottom-nav a {
  color: var(--nav-text);
  text-decoration: none;
  font-size: clamp(0.8rem, 2.4vw, 1rem);
  padding: 10px 12px;
}
.bottom-nav a:hover { opacity: 0.6; }

.bottom-nav.top-nav {
  top: 0; bottom: auto;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: 0;
}

.nav-white { --nav-bg: #ffffff; --nav-text: #000000; }

.nav-top .welcome { top: 25px; }
.nav-top #mute-btn { bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); }

.light { --bg: #ffffff; --text: #000000; --nav-bg: #ffffff; --nav-text: #000000; }
.light .bottom-nav { border-top: 1px solid #dddddd; }
.light .bottom-nav.top-nav { border-top: 0; border-bottom: 1px solid #dddddd; }

.contact {
  --contact-font: "Sora", system-ui, sans-serif;
  --field-radius: 0px;
  --field-border: 1px solid #000000;
  --field-bg: #f3f3f3;
  --field-pad: 8px;
  --field-text: 0.95rem;

  --btn-bg: #000000;
  --btn-text: #ffffff;
  --btn-radius: 0px;
  --btn-pad: 14px 36px;
  --btn-border: 0;

  max-width: 1000px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 12px + env(safe-area-inset-top, 0px)) 20px 48px;
  font-family: var(--contact-font);
}

.contact .welcome {
  position: static;
  text-shadow: none;
  pointer-events: auto;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 10px;
  margin-bottom: 0;
  line-height: 1;
}

.contact h2 { font-size: 1.3rem; margin: 0 0 8px; }
.contact a { color: var(--text); }
.contact figure { margin: 0; height: 100%; }
.contact img { display: block; width: 100%; height: 100%; object-fit: cover; background: #dddddd; }
.contact figcaption { margin-top: 8px; font-size: 0.85rem; font-style: italic; opacity: 0.7; }
.contact label { display: block; margin: 18px 0 6px; font-size: 0.9rem; }

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
@media (max-width: 800px) {
  .columns { grid-template-columns: 1fr; gap: 48px; }
}

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; } }

.contact section { display: flex; flex-direction: column; }
.contact form { display: flex; flex-direction: column; flex: 1; }

.contact input,
.contact textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: var(--field-pad);
  border: var(--field-border);
  border-radius: var(--field-radius);
  background: var(--field-bg);
  color: #000000;
  font-family: var(--contact-font);
  font-size: var(--field-text);
}
.contact textarea { flex: 1; min-height: 120px; resize: none; }

.contact button {
  width: 100%;
  box-sizing: border-box;
  margin-top: 24px;
  padding: var(--btn-pad);
  border: var(--btn-border);
  border-radius: var(--btn-radius);
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: var(--contact-font);
  font-size: 1rem;
  cursor: pointer;
}
.contact button:hover { opacity: 0.8; }

#mute-btn {
  position: fixed;
  right: 16px;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 16px);
  z-index: 4;
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
#mute-btn:hover { transform: scale(1.08); }
#mute-btn:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }
#mute-btn .icon-sound { display: none; }
#mute-btn.is-unmuted .icon-muted { display: none; }
#mute-btn.is-unmuted .icon-sound { display: block; }

#play-btn {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 72px;
  height: 72px;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  cursor: pointer;
}
#play-btn svg { margin-left: 4px; }
.needs-play #play-btn { display: flex; }

.needs-play .video-link { pointer-events: none; }
